]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Avoid the type error on f10 when lookup-key returns an number.
[gnu-emacs] / lisp / ChangeLog
1 2014-06-02 Sam Steingold <sds@gnu.org>
2
3 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
4 (popup-menu): ...here.
5 (menu-bar-open): Use it to avoid an error when `lookup-key'
6 returns a number.
7
8 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9
10 * net/tramp.el (tramp-call-process): Add traces.
11 (tramp-handle-unhandled-file-name-directory): Return "/".
12
13 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
14
15 Sync with upstream verilog-mode revision 3cd8144.
16 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
17 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
18 (verilog-type-font-keywords): Add nor.
19 (verilog-batch-execute-func): Force reading of Local Variables.
20 Fix printing "no changes to be saved" with verilog-batch.
21 (verilog-auto-arg-ports): Doc fix.
22 Add verilog-auto-arg-format to support newlines in AUTOARG.
23 (verilog-auto-arg): Doc fix.
24
25 2014-06-02 Glenn Morris <rgm@gnu.org>
26
27 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
28 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
29 * emulation/ws-mode.el: Move to obsolete/.
30 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
31
32 2014-06-02 Eli Zaretskii <eliz@gnu.org>
33
34 * simple.el (keyboard-quit): Force update of mode lines, to remove
35 the "Def" indicator, if we were defining a macro. (Bug#17615)
36
37 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * minibuffer.el (minibuffer-force-complete-and-exit):
40 Obey minibuffer-default (bug#17545).
41
42 * progmodes/js.el (js-indent-line): Don't mix columns and chars
43 (bug#17619).
44
45 * subr.el (set-transient-map): Don't wait for some "nested"
46 transient-map to finish if we're only supposed to be active for
47 the next command (bug#17642).
48
49 2014-06-02 Leo Liu <sdl.web@gmail.com>
50
51 * emacs-lisp/gv.el (window-buffer, window-display-table)
52 (window-dedicated-p, window-hscroll, window-point, window-start):
53 Fix gv-expander. (Bug#17630)
54
55 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
58 clicks (bug#17633).
59
60 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
61 for the single comma, since ", " is *very* common in normal French text
62 (bug#17643).
63
64 2014-06-02 Glenn Morris <rgm@gnu.org>
65
66 * emacs-lisp/package.el (package-check-signature)
67 (package-unsigned-archives): Fix :version.
68
69 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * subr.el (sit-for): Don't run input-methods (bug#15614).
72
73 2014-06-02 Glenn Morris <rgm@gnu.org>
74
75 * cus-start.el: Fix some :version numbers.
76
77 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * simple.el (deactivate-mark): Set mark-active to nil even if
80 deactivation is done via setting transient-mark-mode to nil,
81 since one is buffer-local and the other is global.
82
83 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
84 there can't be more than 2 arguments (bug#17584).
85
86 2014-06-02 Glenn Morris <rgm@gnu.org>
87
88 * simple.el (filter-buffer-substring-functions)
89 (filter-buffer-substring-function, buffer-substring-filters)
90 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
91
92 * minibuffer.el (completion-in-region-functions, completion-in-region)
93 (completion--in-region): Doc fixes.
94
95 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
96 (expand-abbrev, abbrev--default-expand): Doc fixes.
97
98 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
99
100 Include sources used to create macuvs.h.
101 * international/README: Refer to the Unicode Terms of Use rather
102 than copying it bodily here, as that simplifies maintenance.
103
104 2014-06-01 Glenn Morris <rgm@gnu.org>
105
106 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
107
108 2014-05-31 Glenn Morris <rgm@gnu.org>
109
110 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
111
112 2014-05-30 Glenn Morris <rgm@gnu.org>
113
114 * loadup.el: Treat `command-line-args' more flexibly.
115
116 2014-05-30 Alan Mackenzie <acm@muc.de>
117
118 Guard (looking-at "\\s!") from XEmacs.
119 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
120
121 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
122
123 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
124 argument COUNT is now optional, to be more backward-compatible.
125 Doc fix. (Bug#17560)
126
127 2014-05-29 Reuben Thomas <rrt@sc3d.org>
128
129 * whitespace.el (whitespace-report-region): Simplify
130 documentation.
131 (whitespace-report-region): Allow report-if-bogus to take the
132 value `never', for non-interactive use.
133 (whitespace-report): Refer to whitespace-report-region's
134 documentation.
135
136 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * whitespace.el: Use font-lock-flush. Minimize refontifications.
139 Side benefit: it works without jit-lock.
140 (whitespace-point--used): New buffer-local var.
141 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
142 (whitespace-color-off): Use font-lock-flush.
143 (whitespace-point--used, whitespace-point--flush-used): New functions.
144 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
145 (whitespace-empty-at-eob-regexp): Use them.
146 (whitespace-post-command-hook): Rewrite.
147
148 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
149 (font-lock-fontify-buffer): Mark interactive-only.
150 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
151 Make buffer-local.
152 (font-lock-specified-p): Remove redundant boundp check.
153 (font-lock-flush-function, font-lock-ensure-function): New vars.
154 (font-lock-turn-on-thing-lock): Set them.
155 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
156 (font-lock-after-change-function): Make `old-len' optional.
157 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
158 Call font-lock-flush, just in case.
159 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
160 recent Emacsen.
161 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
162 (vera-mode-map, vera-mode-menu): Remove bindings to it.
163 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
164 and with-syntax-table.
165 * textmodes/conf-mode.el (conf-quote-normal):
166 * progmodes/sh-script.el (sh-set-shell):
167 * progmodes/prog-mode.el (prettify-symbols-mode):
168 * progmodes/f90.el (f90-font-lock-n):
169 * progmodes/cwarn.el (cwarn-mode):
170 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
171 * progmodes/compile.el (compilation-setup, compilation--unsetup):
172 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
173 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
174 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
175 font-lock-fontify-buffer-function and
176 font-lock-unfontify-buffer-function.
177 (rmail-unfontify-buffer-function, rmail-fontify-message):
178 Use with-silent-modifications.
179 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
180 and font-lock-ensure.
181 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
182
183 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
184
185 * emacs-lisp/package.el (package-generate-autoloads):
186 Inhibit backup files.
187
188 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
191 (bug#17608).
192
193 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
194
195 * textmodes/tildify.el (tildify-buffer, tildify-region):
196 Add dont-ask option.
197
198 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
201 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
202
203 * subr.el (internal--funcall-interactively): New.
204 (internal--call-interactively): Remove.
205 (called-interactively-p): Detect funcall-interactively instead of
206 call-interactively.
207 * simple.el (repeat-complex-command): Use funcall-interactively.
208 (repeat-complex-command--called-interactively-skip): Remove.
209
210 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * register.el (register-read-with-preview): Don't burp on
213 frame switches (e.g. due to the frame we just popped).
214
215 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
216 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
217
218 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
219
220 * cus-face.el (custom-face-attributes): Add :distant-foreground.
221
222 2014-05-26 Martin Rudalics <rudalics@gmx.at>
223
224 * window.el (window--dump-frame): Remove interactive specification.
225
226 2014-05-26 Glenn Morris <rgm@gnu.org>
227
228 * hippie-exp.el (he-line-search-regexp):
229 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
230
231 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
232
233 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
234 to avoid errors when trying to create or visit a file foo.todo
235 located outside to todo-directory, and to allow having such files
236 without them being tied to Todo mode (bug#17482).
237 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
238 (todo-archive-done-item, todo-find-filtered-items-file)
239 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
240 (todo-category-completions, todo-read-category): When visiting a
241 Todo file, make sure we're in the right mode and the buffer local
242 variables are set.
243 (todo-make-categories-list, todo-reset-nondiary-marker)
244 (todo-reset-done-string, todo-reset-comment-string):
245 After processing all Todo files, kill the buffers of those files that
246 weren't being visited before the processing.
247 (todo-display-as-todo-file, todo-add-to-buffer-list)
248 (todo-visit-files-commands): Comment out.
249 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
250 (auto-mode-alist): Remove add-to-list calls making Todo file
251 extensions unrestrictedly tied to Todo modes.
252
253 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
256 (advice-function-member-p): Tell it to check both names and functions
257 (bug#17531).
258 (advice--add-function): Adjust call accordingly.
259
260 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
261
262 * calendar/todo-mode.el: Miscellaneous bug fixes.
263 (todo-delete-file): When deleting an archive but not its todo
264 file, make sure to update the todo file's category sexp.
265 (todo-move-category): Keep the moved category's name unless the
266 file moved to already has a category with that name. If the
267 numerically last category of the source file was moved, make the
268 first category current to avoid selecting a nonexisting category.
269 (todo-merge-category): Fix implementation to make merging to a
270 category in another file work as documented. Eliminate now
271 insufficient and unnecessary renaming of archive category, correct
272 document string accordingly, and clarify it. If the numerically
273 last category of the source file was merged, make the first
274 category current to avoid selecting a nonexisting category.
275 (todo-archive-done-item): When there are marked items and point
276 happens to be on an unmarked item, ignore the latter. Don't leave
277 point below last item after archiving marked items.
278 (todo-unarchive-items): Fix logic to ensure unarchiving an item
279 from an archive with only one category deletes the archive only
280 when the category is empty after unarchiving. Make sure the todo
281 file's category sexp is updated.
282 (todo-read-file-name): Allow an existing file name even when it is
283 not required (todo-move-category needs this to work as documented).
284 (todo-add-file): Call todo-validate-name to reject the name of an
285 existing todo file (needed due to fix in todo-read-file-name).
286 (todo-reset-nondiary-marker): Also reset in filtered items files.
287 (todo-reset-done-string, todo-reset-comment-string): Also reset in
288 regexp filtered items files.
289 (todo-reset-highlight-item): Also reset in filtered items files.
290 Fix incorrect variable reference in document string.
291
292 2014-05-26 Glenn Morris <rgm@gnu.org>
293
294 * window.el (window--dump-frame): Avoid error in --without-x builds.
295
296 2014-05-26 Glenn Morris <rgm@gnu.org>
297
298 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
299
300 2014-05-26 Eli Zaretskii <eliz@gnu.org>
301
302 * frame.el (set-frame-font): Doc fix.
303
304 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
305
306 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
307
308 * emacs-lisp/package.el (package--download-one-archive):
309 Use `write-region' instead of `save-buffer' to avoid running various
310 hooks. (Bug#17155)
311 (describe-package-1): Same. Insert newline at the end of the
312 buffer if appropriate.
313
314 2014-05-26 Juri Linkov <juri@jurta.org>
315
316 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
317 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
318 Add more modifiers: meta, control, shift, hyper, super, alt.
319 (Bug#17439)
320
321 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
322 to allow changing its value with `set-variable'.
323
324 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
327 #; comments.
328 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
329 New functions.
330 (scheme-mode-variables): Set syntax-propertize-function instead of
331 font-lock-syntactic-face-function.
332 (scheme-font-lock-syntactic-face-function): Delete.
333
334 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
335
336 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
337 (bug#17392).
338
339 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
340
341 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
342 for a temporary file name.
343
344 2014-05-26 Eli Zaretskii <eliz@gnu.org>
345
346 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
347
348 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
349
350 * net/dbus.el (dbus-init-bus, dbus-call-method)
351 (dbus-call-method-asynchronously, dbus-send-signal)
352 (dbus-method-return-internal, dbus-method-error-internal):
353 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
354
355 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
356
357 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
358 methods which do not have a doc string. (Bug#17490)
359
360 2014-05-25 Tassilo Horn <tsdh@gnu.org>
361
362 * textmodes/reftex-ref.el (reftex-format-special): Make it work
363 also for AMS Math's \eqref macro.
364
365 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
366
367 Arrange to never byte-compile the generated -pkg.el file.
368
369 * emacs-lisp/package.el (package-generate-description-file):
370 Output first-line comment to set buffer-local var `no-byte-compile'.
371 Suggested by Dmitry Gutov:
372 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
373
374 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
375
376 Fix bug: Properly quote args to generated -pkg.el `define-package'.
377
378 * emacs-lisp/package.el (package-generate-description-file):
379 Inline `package--alist-to-plist'; rewrite to selectively
380 quote alist values that are not self-quoting.
381 (package--alist-to-plist): Delete func.
382
383 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
384
385 * term/xterm.el (xterm-function-map): Add mapping for shifted
386 keypad keys.
387
388 2014-05-24 Daniel Colascione <dancol@dancol.org>
389
390 * progmodes/subword.el (subword-find-word-boundary): Move point to
391 correct spot before search. (Bug#17580)
392
393 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
394 breaking the build.
395
396 2014-05-24 Leo Liu <sdl.web@gmail.com>
397
398 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
399
400 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * minibuffer.el (completion--sreverse): Remove.
403 (completion--common-suffix): Use `reverse' instead.
404 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
405
406 2014-05-22 Glenn Morris <rgm@gnu.org>
407
408 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
409
410 2014-05-21 Daniel Colascione <dancol@dancol.org>
411
412 * files.el (interpreter-mode-alist): Add mksh.
413
414 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
415 derivative.
416 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
417 mksh. Improve custom spec; allow regular expressions.
418 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
419 (sh-after-hack-local-variables): New function.
420 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
421 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
422 the normalization.
423 (sh-canonicalize-shell): Rewrite to support regexes.
424
425 2014-05-21 Leo Liu <sdl.web@gmail.com>
426
427 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
428
429 2014-05-19 Leo Liu <sdl.web@gmail.com>
430
431 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
432
433 2014-05-18 Glenn Morris <rgm@gnu.org>
434
435 * loadup.el:
436 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
437
438 2014-05-14 Sam Steingold <sds@gnu.org>
439
440 * progmodes/python.el (python-shell-get-or-create-process):
441 Do not bind `current-prefix-arg' so that C-c C-z does not talk
442 back unless requested.
443
444 2014-05-14 Glenn Morris <rgm@gnu.org>
445
446 * subr.el (with-file-modes): New macro.
447 * printing.el (pr-save-file-modes): Make obsolete.
448 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
449 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
450 Add with-file-modes.
451 * doc-view.el (doc-view-make-safe-dir):
452 * epg.el (epg--start):
453 * files.el (locate-user-emacs-file, make-temp-file)
454 (backup-buffer-copy, move-file-to-trash):
455 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
456 * eshell/esh-util.el (eshell-with-private-file-modes)
457 (eshell-make-private-directory):
458 * net/browse-url.el (browse-url-mosaic):
459 * obsolete/mailpost.el (post-mail-send-it):
460 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
461 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
462 Use with-file-modes.
463
464 * vc/emerge.el (emerge-make-temp-file): Simplify.
465
466 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
467 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
470 suffix (bug#15419).
471
472 2014-05-14 Glenn Morris <rgm@gnu.org>
473
474 * vc/emerge.el (emerge-temp-file-prefix):
475 Make pointless option obsolete.
476 (emerge-temp-file-mode): Make non-functional option obsolete.
477
478 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/browse-url.el (browse-url):
481 Use `unhandled-file-name-directory' when setting `default-directory',
482 in order to circumvent stalled remote connections. (Bug#17425)
483
484 2014-05-14 Glenn Morris <rgm@gnu.org>
485
486 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
487 Optimize on Emacs, which has the relevant functions for ages.
488
489 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * simple.el (undo-make-selective-list): Obey undo-no-redo.
492
493 2014-05-12 Sam Steingold <sds@gnu.org>
494
495 * calendar/time-date.el (seconds-to-string): New function to
496 pretty print time delay in seconds.
497
498 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * mpc.el (mpc-format): Trim Date to the year.
501 (mpc-songs-hashcons): Shorten the Date field.
502
503 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
504 into autoloading just because of a silly indirection.
505
506 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
507
508 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
509
510 2014-05-12 Glenn Morris <rgm@gnu.org>
511
512 * emacs-lisp/find-gc.el: Move to ../admin.
513
514 * printing.el (pr-version):
515 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
516
517 * net/browse-url.el (browse-url-mosaic):
518 Create /tmp/Mosaic.PID as a private file.
519
520 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
523 (advice--member-p): If name is given, only compare the name.
524 (advice--remove-function): Don't stop at the first match.
525 (advice--normalize-place): New function.
526 (add-function, remove-function): Use it.
527 (advice--add-function): Pass the name, if any, to
528 advice--remove-function.
529
530 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
531
532 * electric.el (electric-indent-post-self-insert-function): Don't use
533 `pos' after modifying the buffer (bug#17449).
534
535 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
536
537 * calendar/todo-mode.el (todo-insert-item-from-calendar):
538 Correct argument list to conform to todo-insert-item--basic.
539
540 2014-05-12 Glenn Morris <rgm@gnu.org>
541
542 * files.el (cd-absolute): Test if directory is accessible
543 rather than executable. (Bug#17330)
544
545 * progmodes/compile.el (recompile):
546 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
547
548 * net/browse-url.el (browse-url-mosaic):
549 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
550 This is CVE-2014-3423.
551
552 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * mouse.el: Use the normal toplevel loop while dragging.
555 (mouse-set-point): Handle multi-clicks.
556 (mouse-set-region): Handle multi-clicks for drags.
557 (mouse-drag-region): Update call accordingly.
558 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
559 Use the normal event loop instead of a local while/read-event loop.
560 (global-map): Remove redundant bindings for double/triple-mouse-1.
561 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
562 Generate synthetic down events when the protocol only sends up events.
563 (xterm-mouse-last): Remove.
564 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
565 terminal parameter instead.
566 (xterm-mouse--set-click-count): New function.
567 (xterm-mouse-event): Detect/generate double/triple clicks.
568 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
569
570 * info.el (Info-quoted): New face.
571 (Info-mode-font-lock-keywords): New var.
572 (Info-mode): Use it.
573
574 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
575 are a hindrance for C-x C-e.
576
577 2014-05-11 Leo Liu <sdl.web@gmail.com>
578
579 * net/rcirc.el (rcirc-sentinel): Fix last change.
580
581 2014-05-08 Sam Steingold <sds@gnu.org>
582
583 * net/rcirc.el (rcirc-reconnect-delay): New user option.
584 (rcirc-sentinel): Auto-reconnect to the server if
585 `rcirc-reconnect-delay' is non-0 (but not more often than its
586 value in case the host is off-line).
587
588 2014-05-09 Eli Zaretskii <eliz@gnu.org>
589
590 * progmodes/grep.el (lgrep): Fix a typo in last commit.
591
592 2014-05-09 Glenn Morris <rgm@gnu.org>
593
594 * files.el (file-expand-wildcards):
595 * man.el (Man-support-local-filenames):
596 * printing.el (pr-i-directory, pr-interface-directory):
597 * progmodes/grep.el (lgrep, rgrep):
598 * textmodes/ispell.el (ispell-call-process)
599 (ispell-call-process-region, ispell-start-process)
600 (ispell-init-process): Use file-accessible-directory-p.
601
602 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
605 (xterm-mouse--read-event-sequence-1000): Return nil if something
606 looks fishy.
607 (xterm-mouse-event): Propagate it.
608 (xterm-mouse-translate-1): Handle it.
609
610 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
611
612 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
613 four slots of the parameter list are filled, make sure to pass it
614 to the argument list of todo-insert-item--basic.
615
616 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
619 Add optional `seen' argument to detect and break infinite loops.
620
621 2014-05-08 Eli Zaretskii <eliz@gnu.org>
622
623 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
624 (trace-unsafe, trace-use-tree): Make parentheses style be
625 according to Emacs style.
626
627 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
628
629 * net/tramp-sh.el (tramp-remote-process-environment):
630 Remove HISTFILE and HISTSIZE; it's too late to set them here.
631 Add :version entry.
632 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
633 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
634 extra "PSx=..." commands.
635 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
636 (Bug#17295)
637
638 (tramp-uudecode): Replace the hard-coded temporary file name by a
639 format specifier.
640 (tramp-remote-coding-commands): Enhance docstring.
641 (tramp-find-inline-encoding): Replace "%t" by a temporary file
642 name. (Bug#17415)
643 This is CVE-2014-3424.
644
645 2014-05-08 Glenn Morris <rgm@gnu.org>
646
647 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
648 (find-gc-source-files): Update some names.
649 (trace-call-tree): Simplify and update.
650 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
651 This is CVE-2014-3422.
652
653 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * minibuffer.el (completion--try-word-completion): Revert fix for
656 Bug#15980 (bug#17375).
657
658 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
659 Always store button numbers in the same way in xterm-mouse-last;
660 Don't burp is xterm-mouse-last is not set as expected.
661 Never return negative indices.
662
663 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
664
665 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
666 Backtrack one char if the global/char-literal var matcher hits
667 inside a string. The next char could be the beginning of an
668 expression expansion.
669
670 2014-05-08 Glenn Morris <rgm@gnu.org>
671
672 * help-fns.el (describe-function-1): Test for an autoload before a
673 macro, since `macrop' works on autoloads. (Bug#17410)
674
675 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * electric.el (electric-indent-functions-without-reindent): Add yaml.
678
679 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
680 Make sure the new point we return is within the new string (bug#17239).
681
682 2014-05-05 Daniel Colascione <dancol@dancol.org>
683
684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
685 Port `gnu' pattern to rx.
686
687 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
688
689 Remove unneeded prompt when closing a buffer with active
690 emacsclient ("Buffer ... still has clients"), #16548.
691 * server.el (server-start): Remove the only call to:
692 (server-kill-buffer-query-function): Remove.
693
694 2014-05-04 Leo Liu <sdl.web@gmail.com>
695
696 * calendar/diary-lib.el (calendar-chinese-month-name-array):
697 Defvar to pacify compiler.
698
699 2014-05-04 Eli Zaretskii <eliz@gnu.org>
700
701 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
702
703 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
706 Use nil rather than `default' for the "default" appearance (bug#17388).
707 * vc/ediff-util.el (ediff-inferior-compare-regions)
708 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
709 a misleading `default' value when it's really a boolean.
710 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
711 overlay is not visible.
712
713 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
714
715 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
716 (todo-menu): Uncomment and update.
717
718 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
719
720 * calendar/todo-mode.el: Reimplement item editing to have the same
721 basic user interface as item insertion, and make small UI and
722 larger internal improvements to the latter.
723 (todo-insert-item): Add reference to the Todo mode user manual to
724 the documentation string.
725 (todo-insert-item--basic): Rename from todo-basic-insert-item and
726 adjust all callers. Change signature to combine diary and
727 nonmarking arguments. Incorporate functionality of deleted item
728 copying command and add error checking. Remove detailed
729 descriptions of the arguments from the documentation string, since
730 this is treated in the Todo mode user manual.
731 (todo-copy-item, todo-edit-multiline-item)
732 (todo-edit-done-item-comment, todo-edit-item-header)
733 (todo-edit-item-time, todo-edit-item-date-from-calendar)
734 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
735 (todo-edit-item-date-year, todo-edit-item-date-month)
736 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
737 Remove.
738 (todo-edit-item): Reimplement as wrapper command for
739 todo-edit-item--next-key and make it distinguish done and not done
740 todo items.
741 (todo-edit-item--text): New function, replacing old command
742 todo-edit-item and incorporating deleted commands
743 todo-edit-multiline-item and todo-edit-done-item-comment.
744 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
745 Use only numeric value of prefix argument. Remove detailed
746 descriptions of the arguments from the documentation string, since
747 this is treated in the Todo mode user manual.
748 (todo-edit-item--diary-inclusion): New function, replacing old
749 command todo-edit-item-diary-inclusion and incorporating and fixing
750 functionality of deleted command todo-edit-item-diary-nonmarking,
751 making sure to remove todo-nondiary-marker when adding
752 diary-nonmarking-symbol.
753 (todo-edit-category-diary-inclusion): Make sure to delete
754 diary-nonmarking-symbol when adding todo-nondiary-marker.
755 (todo-edit-category-diary-nonmarking): Fix indentation.
756 (todo-insert-item--parameters): Group diary and nonmarking
757 parameters together.
758 (todo-insert-item--apply-args): Adjust to signature of
759 todo-insert-item--basic and incorporate copy parameter.
760 Make small code improvements.
761 (todo-insert-item--next-param): Improve prompt and adjust it to
762 new parameter grouping. Remove obsolete code.
763 (todo-edit-item--param-key-alist)
764 (todo-edit-item--date-param-key-alist)
765 (todo-edit-done-item--param-key-alist): New defconsts.
766 (todo-edit-item--prompt): New variable.
767 (todo-edit-item--next-key): New function.
768 (todo-key-bindings-t): Bind "e" to todo-edit-item.
769 Remove bindings of deleted commands.
770
771 2014-05-04 Leo Liu <sdl.web@gmail.com>
772
773 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
774
775 2014-05-04 Glenn Morris <rgm@gnu.org>
776
777 * allout-widgets.el (allout-widgets-tally)
778 (allout-decorate-item-guides):
779 * menu-bar.el (menu-bar-positive-p):
780 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
781 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
782 * progmodes/js.el (js--inside-param-list-p)
783 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
784 * progmodes/prolog.el (region-exists-p):
785 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
786 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
787 Doc fixes (replace `iff').
788
789 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
792
793 2014-05-04 Leo Liu <sdl.web@gmail.com>
794
795 Support Chinese diary entries in calendar and diary. (Bug#17393)
796 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
797 (calendar-chinese-from-absolute-for-diary)
798 (calendar-chinese-to-absolute-for-diary)
799 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
800 (diary-chinese-list-entries): New functions to list and mark
801 Chinese diary entries in the calendar window.
802 (diary-chinese-anniversary)
803 (diary-chinese-insert-anniversary-entry)
804 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
805 (diary-chinese-insert-yearly-entry): New commands to insert
806 Chinese diary entries.
807
808 * calendar/diary-lib.el (diary-font-lock-keywords):
809 Support font-locking Chinese dates.
810
811 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
812 inserting Chinese diary entries.
813
814 * calendar/calendar.el (diary-chinese-entry-symbol):
815 New customizable variable.
816 (calendar-mode-map): Add bindings for inserting Chinese diary
817 entries.
818
819 2014-05-03 Juri Linkov <juri@jurta.org>
820
821 * dired.el (dired-check-switches, dired-switches-recursive-p):
822 New functions. (Bug#17218)
823 (dired-switches-escape-p, dired-move-to-end-of-filename):
824 Use `dired-check-switches'.
825 (dired-insert-old-subdirs, dired-build-subdir-alist)
826 (dired-sort-R-check): Use `dired-switches-recursive-p'.
827
828 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
829
830 * simple.el (undo-make-selective-list): New algorithm fixes
831 incorrectness of position adjustments when undoing in region.
832 (Bug#17235)
833 (undo-elt-crosses-region): Make obsolete.
834 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
835 New functions to adjust positions using undo-deltas.
836
837 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
840 the last consecutive closing paren (bug#17345).
841
842 2014-04-30 Reuben Thomas <rrt@sc3d.org>
843
844 * dired.el (dired-mode): make terminology for eXpunge command
845 consistent. (Bug#17276)
846
847 2014-04-30 Eli Zaretskii <eliz@gnu.org>
848
849 * dired.el (dired-initial-position-hook, dired-initial-position):
850 Doc string fixes.
851
852 2014-04-30 Glenn Morris <rgm@gnu.org>
853
854 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
855
856 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
857
858 * faces.el (face-spec-recalc): Apply X resources only after the
859 defface spec has been applied. Thus, X resources are no longer
860 overriden by the defface spec which also fixes issues on win32 where
861 the toolbar coloring was wrong because it is set through X resources
862 and was (wrongfully) overriden. (Bug#16694)
863
864 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * textmodes/rst.el (electric-pair-pairs): Declare.
867 (rst-mode): Set it (bug#17131).
868
869 2014-04-30 Juri Linkov <juri@jurta.org>
870
871 * desktop.el (desktop-value-to-string): Let-bind `print-length'
872 and `print-level' to nil. (Bug#17351)
873
874 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
875
876 * battery.el (battery-update): Handle the case where battery
877 status is "N/A" (bug#17319).
878
879 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
882 to syntax-propertize.
883 (ps-mode-auto-indent): Mark as obsolete.
884 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
885 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
886 word regexp operators.
887 (ps-mode-map): Move initialization into declaration. Remove binding
888 for TAB, RET, >, ], and }.
889 (ps-mode-syntax-table): Move initialization into declaration.
890 Don't give word syntax to non-word chars.
891 (ps-run-mode-map): Move initialization into declaration.
892 (ps-mode-menu-main): Remove auto-indent entry.
893 (ps-mode-smie-rules): New function.
894 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
895 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
896 (ps-mode--string-syntax-table): New const.
897 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
898 New functions.
899 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
900 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
901
902 2014-04-27 Daniel Colascione <dancol@dancol.org>
903
904 * term/xterm.el (xterm-paste): Use large finite timeout when
905 reading event to avoid putting keys in this-command-keys.
906
907 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
910 (perl-syntax-propertize-function): Use it. Extend handling of
911 here-docs to the unquoted case.
912
913 2014-04-25 Eli Zaretskii <eliz@gnu.org>
914
915 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
916 Use equal-including-properties to compare help-echo strings (bug#17331).
917
918 2014-04-25 Leo Liu <sdl.web@gmail.com>
919
920 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
921 Fix syntax for @. (Bug#17325)
922
923 2014-04-25 Daniel Colascione <dancol@dancol.org>
924
925 * emacs-lisp/cl.el (gv): Require gv early to break eager
926 macro-expansion cycles.
927
928 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * simple.el (region-active-p): Check there's a mark (bug#17324).
931
932 * simple.el (completion-list-mode-map): Use choose-completion for the
933 mouse binding as well (bug#17302).
934 (completion-list-mode, completion-setup-function): Adjust docstring and
935 echo area message accordingly.
936 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
937 calling convention of choose-completion.
938 * comint.el (comint-dynamic-list-completions):
939 * term.el (term-dynamic-list-completions): Accept choose-completion.
940
941 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
942 &, |, +, - and * can't be a division (bug#17317).
943
944 * term/xterm.el (xterm--version-handler): Don't use modern xterm
945 features on gnome-terminal (bug#16988).
946
947 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
948
949 Improve Scheme font-locking for (define ((foo ...) ...) ...).
950
951 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
952 the declared object, ignore zero or more parens, not zero or one.
953
954 2014-04-24 Leo Liu <sdl.web@gmail.com>
955
956 * progmodes/xscheme.el (xscheme-expressions-ring)
957 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
958 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
959 (xscheme-allow-output-p, xscheme-prompt)
960 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
961
962 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
963 Comment out unused functions.
964
965 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * info.el: Use lexical-binding and cl-lib.
968 Use defvar-local and setq-local instead of make-local-variable.
969 (Info-apropos-matches): Avoid add-to-list.
970 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
971
972 2014-04-24 Daniel Colascione <dancol@dancol.org>
973
974 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
975
976 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
979
980 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
981
982 * dired.el (dired-insert-set-properties): Do not consider
983 subdirectory headings and empty lines to be information that
984 `dired-hide-details-mode' should hide. (Bug#17228)
985
986 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
989 Remove test messages.
990 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
991 and `target' twice.
992
993 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
996 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
997
998 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
999
1000 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1003 Set "IFS=" when using read builtin, in order to preserve spaces in
1004 the file name. Add test messages for hunting a bug on hydra.
1005 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1006
1007 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1010 Don't prettify a word within a symbol.
1011
1012 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1013
1014 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1015 possible.
1016
1017 2014-04-22 Daniel Colascione <dancol@dancol.org>
1018
1019 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1020 use defun to define `function-put'.
1021
1022 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1025 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1026 (lisp-mode-variables): Set font-lock-extra-managed-props.
1027
1028 * emacs-lisp/byte-run.el (function-put): New function.
1029 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1030 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1031 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1032 Use them.
1033
1034 2014-04-22 Daniel Colascione <dancol@dancol.org>
1035
1036 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1037 Add `full-p' parameter; when nil, call `macroexpand' instead of
1038 `macroexpand-all'.
1039
1040 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1041 Improve docstrings.
1042
1043 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1044 Use lambda function values, not quoted lambdas.
1045 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1046
1047 * emacs-lisp/cl-macs.el
1048 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1049 (cl-struct-slot-value): Conditionally use aref or nth so that the
1050 compiler produces optimal code.
1051
1052 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1055 (inline): Don't inline cl--set-elt.
1056 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1057 Define as inlinable instead.
1058 (cl-struct-set-slot-value): Remove.
1059
1060 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1061 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1062 Use setf instead.
1063
1064 2014-04-21 Daniel Colascione <dancol@dancol.org>
1065
1066 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1067 last two parameters after all.
1068 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1069 (cl--compiler-macro-assoc,cl-struct-slot-value)
1070 (cl-struct-set-slot-value): Stop using them.
1071
1072 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1075 entry in image-mode-winprops-alist.
1076
1077 2014-04-21 Daniel Colascione <dancol@dancol.org>
1078
1079 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1080 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1081 (byte-compile-toplevel-file-form): Use it.
1082
1083 * emacs-lisp/cl-macs.el:
1084 (cl--loop-let): Properly destructure `while' clauses.
1085
1086 2014-04-20 Daniel Colascione <dancol@dancol.org>
1087
1088 * vc/vc.el (vc-root-dir): New public autoloaded function for
1089 generically finding the current VC root.
1090 * vc/vc-hooks.el (vc-not-supported): New error.
1091 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1092
1093 2014-04-20 Daniel Colascione <dancol@dancol.org>
1094
1095 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1096 argument.
1097 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1098 argument in case we're inside a symbol-macrolet.
1099 (cl--do-arglist, cl--compiler-macro-typep)
1100 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1101 environment to `cl--const-expr-val'.
1102 (cl-struct-sequence-type,cl-struct-slot-info)
1103 (cl-struct-slot-offset, cl-struct-slot-value)
1104 (cl-struct-set-slot-value): New functions.
1105
1106 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1109 assignments such as "case=hello" (bug#17297).
1110
1111 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1114 Do not autoload.
1115 (tramp-file-name-handler, tramp-completion-file-name-handler):
1116 Revert patch from 2014-04-10, it isn't necessary anymore.
1117 (tramp-autoload-file-name-handler)
1118 (tramp-register-autoload-file-name-handlers): New defuns.
1119 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1120 (tramp-register-file-name-handlers): Remove also
1121 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1122 Do not autoload its invocation, but eval it after loading of 'tramp.
1123
1124 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1125
1126 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1127
1128 2014-04-17 Daniel Colascione <dancol@dancol.org>
1129
1130 Add support for bracketed paste mode; add infrastructure for
1131 managing terminal mode enabling and disabling automatically.
1132
1133 * xt-mouse.el:
1134 (xterm-mouse-mode): Simplify.
1135 (xterm-mouse-tracking-enable-sequence)
1136 (xterm-mouse-tracking-disable-sequence): New constants.
1137 (turn-on-xterm-mouse-tracking-on-terminal)
1138 (turn-off-xterm-mouse-tracking-on-terminal):
1139 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1140 parameters instead of random hooks.
1141 (turn-on-xterm-mouse-tracking)
1142 (turn-off-xterm-mouse-tracking): Delete.
1143
1144 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1145 (xterm-paste-ending-sequence): New constant.
1146 (xterm-paste): New command used for bracketed paste support.
1147
1148 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1149 (terminal-init-xterm-bracketed-paste-mode): New function.
1150 (terminal-init-xterm): Call it.
1151 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1152 and tty-mode-reset-strings instead of random hooks.
1153 (xterm-turn-on-modify-other-keys)
1154 (xterm-turn-off-modify-other-keys)
1155 (xterm-remove-modify-other-keys): Delete obsolete functions.
1156
1157 * term/screen.el: Rewrite to just use the xterm code.
1158 Add copyright notice. Mention tmux.
1159
1160 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1161
1162 * image-mode.el (image-mode-window-put): Also update the property of
1163 the "default window".
1164 * doc-view.el (doc-view-new-window-function): If no window
1165 exists, move to the last known page.
1166
1167 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1170 here-documents (bug#17262).
1171
1172 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1173
1174 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1175 Provide doc strings, as required by snarf-documentation.
1176
1177 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1180 arg of overlays-at. Use `invisible-p'.
1181
1182 * obsolete/lucid.el (extent-at):
1183 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1184 overlays-at.
1185 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1186
1187 2014-04-16 João Távora <joaotavora@gmail.com>
1188
1189 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1190 links. (Bug#17217).
1191
1192 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1193
1194 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1195 Use mapc to loop over a vector. (Bug#17257).
1196
1197 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1198
1199 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1200 patch, there are new problems with file names containing spaces.
1201 Get rid of backticks. (Bug#17238)
1202
1203 2014-04-16 João Távora <joaotavora@gmail.com>
1204
1205 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1206 possible bug.
1207
1208 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1209
1210 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1211 (blink-cursor-mode): Mention customization variables and the
1212 effect of 'blink-cursor-blinks'.
1213
1214 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1215
1216 * simple.el (undo): Prevent insertion of identity mapping into
1217 undo-equiv-table so as undo-only does not inf loop in the presence
1218 of consecutive nils in undo list.
1219
1220 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1221
1222 * faces.el (make-face): Deprecate optional argument as it is no
1223 longer needed/used since the conditional X resources handling
1224 has been pushed down to make-face-x-resource-internal itself.
1225 (make-empty-face): Don't pass optional argument to make-face.
1226
1227 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1228
1229 * savehist.el (savehist-save): Remove workaround for a read-passwd
1230 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1231 noticing that the shim was still present.
1232
1233 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1236
1237 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1238
1239 * faces.el (face-set-after-frame-default): Remove unused local variable.
1240
1241 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * progmodes/grep.el: Use lexical-binding.
1244 (grep-expand-template): Pass explicit lexical env to `eval'.
1245 (zrgrep): Let-bind grep-find-template explicitly.
1246
1247 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1248 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1249
1250 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1251
1252 * international/characters.el <standard-case-table>: Add entries
1253 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1254 Set category of Coptic characters be 'g' (Greek).
1255
1256 2014-04-12 Leo Liu <sdl.web@gmail.com>
1257
1258 * progmodes/octave.el (completion-table-with-cache):
1259 Define if not available.
1260 (octave-goto-function-definition, octave-sync-function-file-names)
1261 (octave-find-definition-default-filename):
1262 Backquote upattern for compatibility.
1263
1264 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1265
1266 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1267 name twice due to backticks. (Bug#17238)
1268
1269 2014-04-12 Glenn Morris <rgm@gnu.org>
1270
1271 * term/w32-win.el (x-win-suspend-error):
1272 * term/x-win.el (x-win-suspend-error): Sync docs.
1273
1274 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1275
1276 * faces.el (make-face): Remove deprecated optional argument.
1277 The conditional application of X resources is handled directly by
1278 make-face-x-resource-internal since Emacs 24.4.
1279 (make-empty-face): Don't pass optional argument to make-face.
1280
1281 2014-04-11 Glenn Morris <rgm@gnu.org>
1282
1283 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1284
1285 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 Ediff's overlay priorities cause more trouble than they solve.
1288 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1289 (ediff-highest-priority): Remove function (bug#17234).
1290 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1291 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1292 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1293 overlay priorities.
1294
1295 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1296
1297 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1298 entry; use symbol boundaries to avoid mis-matches.
1299
1300 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1301
1302 * net/tramp.el (tramp-file-name-handler)
1303 (tramp-completion-file-name-handler): Avoid recursive loading.
1304
1305 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1306 Quote result also locally.
1307
1308 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1311 Remove left-over code.
1312
1313 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1314 Reuse the previous comment's indentation unconditionally if it's on its
1315 own line.
1316
1317 2014-04-09 Daniel Colascione <dancol@dancol.org>
1318
1319 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1320 `no-syntax-crossing' arguments. Forward to `up-list'.
1321 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1322 Implement logic for escaping from strings. Use narrowing to deal
1323 with corner cases.
1324
1325 2014-04-09 Leo Liu <sdl.web@gmail.com>
1326
1327 * net/rcirc.el (rcirc-connection-info): New variable.
1328 (rcirc-connect): Use it to store connection info.
1329 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1330 for killed process.
1331 (rcirc-cmd-reconnect): New command. (Bug#17045)
1332 (rcirc-mode, set-rcirc-encode-coding-system)
1333 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1334
1335 2014-04-09 Daniel Colascione <dancol@dancol.org>
1336
1337 * emacs-lisp/cl-indent.el: Add comment claiming
1338 facility is also good for elisp.
1339 (lisp-indent-find-method): New function.
1340 (common-lisp-indent-function): Recognize cl-loop.
1341 (common-lisp-indent-function-1): Recognize cl constructs; use
1342 `lisp-indent-find-method' instead of `get' directly.
1343 (if): Use else-body style for elisp.
1344
1345 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1346
1347 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1348 Module methods. (Bug#17216)
1349
1350 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1351
1352 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1353 (describe-bindings-internal): Mark obsolete.
1354
1355 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1358 buffer-file-name, and buffer-file-truename any more.
1359
1360 2014-04-08 Leo Liu <sdl.web@gmail.com>
1361
1362 Use lexical-binding and require cl-lib.
1363 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1364 (rcirc-handler-generic, rcirc-fill-paragraph)
1365 (rcirc-format-response-string, rcirc-target-buffer)
1366 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1367 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1368 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1369 (rcirc-markup-timestamp, rcirc-markup-attributes)
1370 (rcirc-markup-my-nick, rcirc-markup-urls)
1371 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1372 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1373 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1374 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1375 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1376 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1377 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1378 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1379 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1380 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1381 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1382 use cl-lib.
1383
1384 2014-04-07 João Távora <joaotavora@gmail.com>
1385
1386 * elec-pair.el (electric-pair--syntax-ppss):
1387 When inside comments parse from comment beginning.
1388 (electric-pair--balance-info): Fix typo in comment.
1389 (electric-pair--in-unterminated-string-p): Delete.
1390 (electric-pair--unbalanced-strings-p): New function.
1391 (electric-pair-string-bound-function): New var.
1392 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1393 according to `electric-pair--in-unterminated-string-p'
1394
1395 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1396 Inhibit quote pairing if point-max is inside an unterminated string.
1397 (electric-pair--looking-at-unterminated-string-p): Delete.
1398 (electric-pair--in-unterminated-string-p): New function.
1399
1400 2014-04-07 Glenn Morris <rgm@gnu.org>
1401
1402 * shell.el (shell-directory-tracker):
1403 Go back to just ignoring failures. (Bug#17159)
1404
1405 2014-04-07 João Távora <joaotavora@gmail.com>
1406
1407 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1408 backspace. (bug#16981)
1409 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1410 (electric-pair-backward-delete-char-untabify): Delete.
1411 (electric-pair-mode-map): Bind backspace to a menu item filtering
1412 a new `electric-pair-delete-pair' command.
1413 (electric-pair-delete-pair): New command.
1414
1415 * progmodes/python.el (python-electric-pair-string-delimiter):
1416 Fix triple-quoting electricity. (Bug#17192)
1417
1418 * elec-pair.el (electric-pair-post-self-insert-function):
1419 Don't skip whitespace when `electric-pair-text-pairs' and
1420 `electric-pair-pairs' were used. syntax to
1421 electric-pair--skip-whitespace. (Bug#17183)
1422
1423 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1424
1425 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1426 "<F>". (Bug#17199)
1427
1428 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1431 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1432
1433 2014-04-07 Glenn Morris <rgm@gnu.org>
1434
1435 * help.el (view-lossage): Doc tweak.
1436
1437 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1438
1439 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1440 only when inhibit-x-resources is nil, and do that earlier in the
1441 function. Doc fix. (Bug#16694)
1442 (face-spec-choose): Accept additional optional argument, whose
1443 value is returned if no matching attributes are found.
1444 (face-spec-recalc): Use the new optional argument when calling
1445 face-spec-choose. (Bug#16378)
1446 (make-face-x-resource-internal): Do nothing when
1447 inhibit-x-resources is non-nil. Don't touch the default face if
1448 reversed video is given--as was done in previous versions of Emacs.
1449 (face-set-after-frame-default): Don't call
1450 make-face-x-resource-internal here. (Bug#16434)
1451
1452 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1453
1454 * doc-view.el (doc-view-bookmark-jump):
1455 Use `bookmark-after-jump-hook' to jump to the right page after the
1456 buffer is shown in a window. (bug#16090)
1457
1458 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1459
1460 * international/characters.el (mirroring): Fix last change:
1461 instead of loading uni-mirrored.el explicitly, do that implicitly
1462 by creating the 'mirroring' uniprop table. This avoids announcing
1463 the loading of uni-mirrored.el.
1464
1465 2014-04-07 Glenn Morris <rgm@gnu.org>
1466
1467 * files.el (buffer-stale--default-function)
1468 (buffer-stale-function, revert-buffer--default):
1469 * autorevert.el (auto-revert-buffers): Doc tweaks.
1470
1471 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1472
1473 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1474
1475 2014-04-07 Glenn Morris <rgm@gnu.org>
1476
1477 * files.el (make-backup-file-name-function)
1478 (make-backup-file-name, make-backup-file-name--default-function)
1479 (make-backup-file-name-1, find-backup-file-name)
1480 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1481 (buffer-stale--default-function, buffer-stale-function)
1482 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1483 (revert-buffer, revert-buffer--default)
1484 (revert-buffer-insert-file-contents--default-function):
1485 Doc fixes related to defaults no longer being nil.
1486 (make-backup-file-name-function): Bump :version.
1487 Restore nil as a valid but deprecated custom type.
1488
1489 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1492 Handle $' used as a variable (bug#17174).
1493
1494 * progmodes/perl-mode.el (perl-indent-new-calculate):
1495 Handle forward-sexp failure (bug#16985).
1496 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1497 modifiers introducing expressions (bug#17116).
1498
1499 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1502
1503 2014-04-05 Leo Liu <sdl.web@gmail.com>
1504
1505 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1506 Add define-compilation-mode.
1507
1508 2014-04-04 João Távora <joaotavora@gmail.com>
1509
1510 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1511 parse from comment beginning.
1512 (electric-pair--balance-info): Fix typo in comment.
1513 (electric-pair--in-unterminated-string-p): Delete.
1514 (electric-pair--unbalanced-strings-p): New function.
1515 (electric-pair-string-bound-function): New var.
1516 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1517 according to `electric-pair--in-unterminated-string-p'.
1518
1519 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1522 Move declaration before first use.
1523 (reftex-move-to-next-arg): Silence compiler warning.
1524
1525 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1526
1527 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1528 Use `window-total-width' instead of `window-width'.
1529
1530 2014-04-03 Daniel Colascione <dancol@dancol.org>
1531
1532 * subr.el (set-transient-map): Remove rms's workaround entirely;
1533 use new `suspicious-object' subr to mark our lambda for closer
1534 scrutiny during gc.
1535
1536 2014-04-02 Richard Stallman <rms@gnu.org>
1537
1538 * subr.el (set-transient-map): Comment out previous change.
1539
1540 2014-04-02 Glenn Morris <rgm@gnu.org>
1541
1542 * menu-bar.el (menu-bar-file-menu):
1543 * vc/ediff.el (ediff-current-file):
1544 Update for revert-buffer-function no longer being nil by default.
1545
1546 * simple.el (command-execute): Respect nil disabled-command-function.
1547
1548 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1549
1550 * simple.el (command-execute): Do not execute the command when it
1551 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1552
1553 2014-04-02 Juri Linkov <juri@jurta.org>
1554
1555 * dired-aux.el (dired-compress-file): Don't use string-match-p
1556 because its match data is used afterwards.
1557
1558 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1561 0 like nil.
1562
1563 2014-04-02 João Távora <joaotavora@gmail.com>
1564
1565 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1566 Inhibit quote pairing if point-max is inside an unterminated string.
1567 (electric-pair--looking-at-unterminated-string-p):
1568 Delete.
1569 (electric-pair--in-unterminated-string-p): New function.
1570
1571 2014-04-01 Daniel Colascione <dancol@dancol.org>
1572
1573 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1574 when trying to complete the prompt.
1575
1576 2014-03-31 Leo Liu <sdl.web@gmail.com>
1577
1578 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1579 Refactor out eldoc-documentation-function-default.
1580 (eldoc-documentation-function-default): New function.
1581 (eldoc-documentation-function): Change value.
1582
1583 2014-03-31 Glenn Morris <rgm@gnu.org>
1584
1585 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1586
1587 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1588 (vhdl-compose-components-package, vhdl-compose-configuration):
1589 Abbreviate default-directory (missing from some previous upstream sync).
1590
1591 2014-03-31 Reto Zimmermann <reto@gnu.org>
1592
1593 Sync with upstream vhdl mode v3.35.2.
1594 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1595 (top-level): No longer require assoc.
1596 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1597 New functions. Use throughout to replace aget etc.
1598 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1599 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1600 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1601 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1602 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1603 except `vhdl-compiler'.
1604 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1605 when appropriate.
1606
1607 2014-03-31 Glenn Morris <rgm@gnu.org>
1608
1609 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1610 Revert 2014-03-26 merge goof; go back to using defalias.
1611
1612 2014-03-30 Daniel Colascione <dancol@dancol.org>
1613
1614 * comint.el (comint-send-input):
1615 Deactivate completion-in-region-mode before we send comint input.
1616 (Bug#17139).
1617
1618 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1619 on keyboard-quit.
1620
1621 2014-03-29 Glenn Morris <rgm@gnu.org>
1622
1623 * textmodes/reftex.el: Manage most autoloads automatically.
1624 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1625 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1626 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1627 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1628 * textmodes/reftex-toc.el: Set generated-autoload-file,
1629 and add autoload cookies for reftex.el.
1630 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1631
1632 2014-03-28 Glenn Morris <rgm@gnu.org>
1633
1634 * cus-start.el (report-emacs-bug-address): Set custom properties.
1635 * mail/emacsbug.el (report-emacs-bug-address):
1636 Variable is now defined in emacs.c.
1637
1638 * mail/emacsbug.el (report-emacs-bug):
1639 Include system-configuration-features.
1640
1641 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1642
1643 * simple.el (cycle-spacing): Never delete spaces on first run by
1644 default, but do so in a new 'fast mode and if there are already
1645 N spaces (the previous behavior).
1646 Compare N with its value in previous invocation so that changing
1647 prefix argument restarts `cycle-spacing' sequence.
1648 The idea is that with this change, binding M-SPC to
1649 `cycle-spacing' should not introduce any changes in behavior of
1650 the binding so long as users do not type M-SPC twice in a raw with
1651 the same prefix argument or lack thereof.
1652
1653 2014-03-28 Glenn Morris <rgm@gnu.org>
1654
1655 * faces.el (term-file-aliases): New variable.
1656 (tty-run-terminal-initialization): Respect term-file-aliases.
1657 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1658 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1659 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1660
1661 2014-03-27 Glenn Morris <rgm@gnu.org>
1662
1663 * startup.el (inhibit-startup-hooks): Doc tweak.
1664 (normal-top-level): Simplify running of hooks.
1665 For window-setup-hook, respect inhibit-startup-hooks.
1666 (command-line-1): Don't set window-setup-hook to nil.
1667
1668 Allow selective autoloading from obsolete/ directory.
1669 * Makefile.in (obsolete-autoloads): New rule.
1670 (autoloads): Run obsolete-autoloads.
1671 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1672 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1673
1674 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1675
1676 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1677 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1678
1679 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1680 Don't propertize `?' or `!' as symbol constituent when after
1681 colon. (Bug#17097)
1682
1683 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1684
1685 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1686 which is no longer needed and causes trouble in GTK builds (bug#17046).
1687
1688 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1689 Use url-insert-file-contents; package-handle-response no longer exists.
1690
1691 2014-03-26 Daniel Colascione <dancol@dancol.org>
1692
1693 * simple.el (process-menu-mode-map): New variable.
1694 (process-menu-delete-process): New command.
1695
1696 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1697
1698 * emacs-lisp/package.el: Fix bug#16733 (again).
1699 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1700 (url-http-target-url): Remove unused declarations.
1701 (package-handle-response): Remove.
1702 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1703 (package--download-one-archive): Use current-buffer instead of
1704 dynamic binding of `buffer'.
1705 (describe-package-1): Do not decode readme-string.
1706
1707 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1708
1709 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1710
1711 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1712 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1713 `remote-file-name-inhibit-cache' to nil in the second pass.
1714 (tramp-find-executable): Do not call "which" on SunOS.
1715 (tramp-send-command-and-check): Fix docstring.
1716 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1717 check whether source directory has set the sticky bit.
1718
1719 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1720
1721 * simple.el (primitive-undo): Only process marker adjustments
1722 validated against their corresponding (TEXT . POS). Issue warning
1723 for lone marker adjustments in undo history. (Bug#16818)
1724 (undo-make-selective-list): Add marker adjustments to selective
1725 undo list based on whether their corresponding (TEXT . POS) is in
1726 the region. Remove variable adjusted-markers, which was unused
1727 and only non nil during undo-make-selective-list.
1728 (undo-elt-in-region): Return nil when passed a marker adjustment
1729 and explain in function doc.
1730
1731 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1732
1733 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1734
1735 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1736
1737 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1738 Match special global variables without curlies, too.
1739 (ruby-font-lock-keywords): Simplify the matcher for special global
1740 variables. Don't require a non-word character after the variable.
1741 (Bug#17057)
1742
1743 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1744
1745 * simple.el (redisplay-highlight-region-function): Increase priority of
1746 overlay to make sure boundaries are visible (bug#15899).
1747
1748 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1749
1750 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1751 (frameset-restore): Compare display strings with equal.
1752
1753 * frame.el (make-frame): Don't quote display name in error message,
1754 it is already a string.
1755
1756 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1757
1758 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1759 the password.
1760
1761 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1762
1763 * emacs-lisp/package.el (package--add-to-archive-contents):
1764 Include already installed and built-in packages in
1765 `package-archive-contents'.
1766 (package-install): Don't include already installed packages in the
1767 options during interactive invocation. (Bug#16762)
1768 (package-show-package-list): If the buffer is already displayed in
1769 another window, switch to that window.
1770
1771 2014-03-26 Reto Zimmermann <reto@gnu.org>
1772
1773 Sync with upstream vhdl mode v3.35.1.
1774 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1775 (vhdl-compiler-alist): Doc fix.
1776 (vhdl-goto-line): Remove.
1777 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1778 (vhdl-mode) <paragraph-start>: Fix value.
1779 (vhdl-fix-statement-region): Not `for' in wait-statement.
1780 (vhdl-beautify-region): Also (un)tabify.
1781 (vhdl-get-visible-signals):
1782 Scan declarative part of generate statements.
1783 (vhdl-template-record): Fix indentation for record type declaration.
1784 (vhdl-expand-abbrev, vhdl-expand-paren):
1785 Revert to using fset again rather than defalias.
1786 (vhdl-scan-directory-contents): Tweak.
1787 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1788 (vhdl-compose-components-package):
1789 Replace vhdl-goto-line with forward-line.
1790 (top-level): Tweak speedbar frame selection.
1791 (vhdl-generate-makefile-1): Support for compilers with no
1792 unit-to-file name mapping (create directory with dummy files).
1793
1794 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1795
1796 Sync with upstream verilog-mode revision 702457d.
1797 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1798 (create-lockfiles): Declare.
1799 (verilog-read-decls): Fix module header imports, bug709.
1800 Reported by Victor Lau.
1801 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1802 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1803 interface-only modules, bug721. Reported by Dean Hoyt.
1804
1805 2014-03-26 Glenn Morris <rgm@gnu.org>
1806
1807 * obsolete/gulp.el: Move here from emacs-lisp/.
1808
1809 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1810 Remove fallback aliases, since they are always defined now.
1811
1812 2014-03-24 Daniel Colascione <dancol@dancol.org>
1813
1814 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1815 instead of cl-loop search function.
1816
1817 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1818
1819 * calendar/parse-time.el (parse-time-iso8601-regexp)
1820 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1821 it more generally.
1822
1823 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1824
1825 * net/dns.el (network-interface-list): Define for XEmacs.
1826
1827 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1828
1829 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1830 the network interfaces changed.
1831 (dns-query): Use it to flush the data.
1832
1833 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1834
1835 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1836
1837 2014-03-23 Daniel Colascione <dancol@dancol.org>
1838
1839 Change subword-mode to use `find-word-boundary-function-table' and
1840 replace `capitalized-words-mode'. Also, convert to lexical
1841 binding.
1842
1843 * progmodes/cap-words.el: Delete now-obsolete file.
1844 * progmodes/subword.el: Reimplement using
1845 `find-word-boundary-function-table'.
1846 (subword-mode-map): Hollow out.
1847 (capitalized-words-mode): Define as obsolete alias for
1848 `subword-mode'.
1849 (subword-mode, superword-mode): Tweak documentation to reflect new
1850 implementation; call `subword-setup-buffer'.
1851 (subword-forward, subword-capitalize): Add underscore to indicate
1852 unused variable.
1853 (subword-find-word-boundary-function-table): New constant.
1854 (subword-empty-char-table): New constant.
1855 (subword-setup-buffer): New function.
1856 (subword-find-word-boundary): New function.
1857
1858 2014-03-23 Daniel Colascione <dancol@dancol.org>
1859
1860 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1861 list to look for keyword arguments instead of `memq', fixing
1862 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1863 Please make bootstrap.
1864
1865 2014-03-22 Glenn Morris <rgm@gnu.org>
1866
1867 * dired.el (dired-read-regexp): Make obsolete.
1868 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1869 (dired-flag-files-regexp):
1870 * dired-aux.el (dired-mark-read-regexp):
1871 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1872
1873 * startup.el (fancy-startup-text):
1874 * help.el (describe-gnu-project): Visit online info about GNU project.
1875
1876 * help-fns.el (help-fns--interactive-only): New function.
1877 (help-fns-describe-function-functions): Add the above function.
1878 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1879 (next-line, previous-line): Remove hand-written interactive-only
1880 information from doc strings, it is auto-generated now.
1881 * bookmark.el (bookmark-write):
1882 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1883 (epa-mail-import-keys): Mark interactive-only,
1884 and remove hand-written interactive-only information from doc strings.
1885 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1886 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1887 * files.el (not-modified):
1888 * simple.el (mark-whole-buffer): Mark interactive-only.
1889
1890 * emacs-lisp/byte-run.el (defun-declarations-alist):
1891 Add interactive-only. Doc tweak.
1892 (macro-declarations-alist): Doc tweak.
1893 * subr.el (declare): Doc tweak (add xref to manual).
1894 * comint.el (comint-run):
1895 * files.el (insert-file-literally, insert-file):
1896 * replace.el (replace-string, replace-regexp):
1897 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1898 (delete-forward-char, goto-line, insert-buffer, next-line)
1899 (previous-line): Set interactive-only via declare.
1900
1901 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1902
1903 * emacs-lisp/package.el (package-desc): Use the contents of the
1904 quoted form, not its cdr. (Bug#16873)
1905
1906 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1907
1908 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1909 benefit of doc.c; change parameter profile to match the X function.
1910
1911 2014-03-22 Leo Liu <sdl.web@gmail.com>
1912
1913 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1914 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1915
1916 2014-03-21 Richard Stallman <rms@gnu.org>
1917
1918 * battery.el (battery-linux-sysfs): Search for each field
1919 from the beginning of the buffer.
1920
1921 * subr.el (set-transient-map): Clear out function and value
1922 of the temporary symbol when we're done with it.
1923
1924 * mail/rmailsum.el (rmail-summary-delete-forward):
1925 Optimize case of reaching end and handling count.
1926 (rmail-summary-mark-deleted): Optimize when N is current msg.
1927 Don't create new summary line.
1928 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1929 (rmail-summary-undelete-many): Rewrite for speed.
1930 (rmail-summary-msg-number): New function.
1931
1932 * mail/rmail.el (rmail-delete-message): Update summary.
1933 (rmail-undelete-previous-message): Handle repeat count arg.
1934 (rmail-delete-backward, rmail-delete-forward): Likewise.
1935
1936 2014-03-21 Daniel Colascione <dancol@dancol.org>
1937
1938 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1939 information in bug reports.
1940
1941 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1942
1943 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1944 and `tramp-copy-env'.
1945
1946 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1947 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1948
1949 2014-03-21 Glenn Morris <rgm@gnu.org>
1950
1951 * electric.el (electric-indent-post-self-insert-function): Add doc.
1952
1953 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1954
1955 * emacs-lisp/package.el (package-compute-transaction):
1956 Use `version-list-<=' to compare the requirement version against
1957 the version of package already to be installed. Update the error
1958 message. (Bug#16826)
1959
1960 * progmodes/ruby-mode.el (ruby-smie-rules):
1961 Add indentation rule for ` @ '. (Bug#17050)
1962
1963 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1964
1965 * align.el (align-regexp): Remove superfluous backslash.
1966
1967 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1968 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1969 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1970 Fix docstring typos.
1971 (ffap-next): Use C-u in docstring.
1972 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1973 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1974 Remove superfluous backslashes.
1975 (ffap-string-at-point): Reflow docstring.
1976
1977 * server.el (server-host): Reflow docstring.
1978 (server-unload-function): Fix docstring typo.
1979 (server-eval-at): Remove superfluous backslash.
1980
1981 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1982 (skeleton-insert): Doc fix.
1983 (skeleton-insert): Reflow docstring.
1984
1985 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1986 (tty-color-approximate, tty-color-by-index, tty-color-values)
1987 (tty-color-desc): Remove superfluous backslashes.
1988
1989 2014-03-21 Glenn Morris <rgm@gnu.org>
1990
1991 * cus-start.el (history-length): Bump :version.
1992
1993 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1994 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1995 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1996 Don't set `make-backup-files'.
1997
1998 * info.el (info--prettify-description): New function,
1999 to give info-finder descriptions consistent case, punctuation.
2000 (Info-finder-find-node): Use it. Sort packages.
2001 Refer to "description" rather than "commentary".
2002
2003 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2004
2005 * frameset.el (frameset--print-register): New function.
2006 (frameset-to-register): Use it.
2007
2008 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2009
2010 * progmodes/hideif.el (hif-string-to-number): New function.
2011 (hif-tokenize): Use it to understand non-decimal floats.
2012
2013 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2014
2015 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2016
2017 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * electric.el (electric-newline-and-maybe-indent): New command.
2020 Bind it globally to C-j.
2021 (electric-indent-mode): Don't mess with the global map any more.
2022 Don't drop the post-self-insert-hook is some buffer is still using it
2023 (bug#16770).
2024
2025 * bindings.el (global-map): Remove C-j binding.
2026
2027 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2028 the docstring of functions advised before dumping (bug#16993).
2029
2030 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2031
2032 * ps-print.el (ps-generate-postscript-with-faces):
2033 Explicitly deactivate the mark (bug#16866).
2034 * simple.el (deactivate-mark): Update region highlight.
2035
2036 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2037
2038 * emacs-lisp/package.el (describe-package-1):
2039 Decode commentary (bug#16733).
2040
2041 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2042
2043 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2044 modification of the value argument of :set (bug#16755).
2045
2046 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * simple.el (newline-and-indent): Do autofill (bug#17031).
2049
2050 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2051
2052 * newcomment.el (comment-normalize-vars): Only add escaping check
2053 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2054 (comment-beginning): Use `narrow-to-region' instead of moving back
2055 one character.
2056 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2057 (comment-start-skip): Update the docstring.
2058
2059 2014-03-18 Richard Stallman <rms@gnu.org>
2060
2061 * dired.el (dired-display-file): Force use of other window.
2062
2063 2014-03-18 Daniel Colascione <dancol@dancol.org>
2064
2065 * startup.el (tty-handle-args): Remove debug message from 2007.
2066
2067 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2070 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2071 (advice--make-1, advice-add, advice-remove):
2072 Remove braindead :advice-pending hack.
2073
2074 2014-03-17 Glenn Morris <rgm@gnu.org>
2075
2076 * calendar/calendar.el (calendar-generate-month): Apply weekend
2077 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2078
2079 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2080
2081 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2082 (tramp-call-process): Trace also DESTINATION.
2083
2084 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2085 Quote file names when they are local. Remove superfluous trace.
2086
2087 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2088
2089 * newcomment.el (comment-beginning): If `comment-start-skip'
2090 doesn't match, move back one char and try again. (Bug#16971)
2091
2092 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2093 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2094 Set `comment-start-skip' to a simpler value that doesn't try to
2095 check if the semicolon is escaped (this is handled by
2096 `syntax-ppss' now). (Bug#16971)
2097
2098 * progmodes/scheme.el (scheme-mode-variables): Same.
2099
2100 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2101
2102 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2103 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2104 current (Bug#16816, Bug#17007).
2105 (with-current-buffer-window): New macro doing the same as
2106 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2107 * help.el (help-print-return-message): Warn in doc-string to not
2108 use this in `with-help-window'.
2109 (describe-bindings-internal): Call `describe-buffer-bindings'
2110 from within help buffer. See Juanma's scenario in (Bug#16816).
2111 (with-help-window): Update doc-string.
2112 * dired.el (dired-mark-pop-up):
2113 * files.el (save-buffers-kill-emacs):
2114 * register.el (register-preview): Use `with-current-buffer-window'
2115 instead of `with-temp-buffer-window'.
2116
2117 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2118
2119 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2120 Implement inserting into current buffer, documented in their docstrings.
2121 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2122 (rst-section-tree-point, rst-forward-section, rst-indent)
2123 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2124 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2125 (rst-font-lock-handle-adornment-pre-match-form)
2126 (rst-repeat-last-character): Reflow docstrings.
2127 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2128 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2129 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2130 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2131 Fix docstring typos.
2132 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2133 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2134 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2135
2136 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2137
2138 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2139 for compatibility with other ports.
2140 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2141 from the -xrm command line argument, but in the Nextstep port its value
2142 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2143
2144 * progmodes/python.el (defconst, python-syntax-count-quotes)
2145 (python-indent-region, python-indent-shift-right)
2146 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2147 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2148 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2149 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2150 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2151 (python-shell-buffer-substring, python-shell-send-buffer)
2152 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2153 (python-completion-complete-at-point, python-fill-docstring-style)
2154 (python-eldoc-function, python-imenu-format-item-label)
2155 (python-imenu-format-parent-item-label)
2156 (python-imenu-format-parent-item-jump-label)
2157 (python-imenu--build-tree, python-imenu-create-index)
2158 (python-imenu-create-flat-index): Fix docstring typos.
2159 (python-indent-context, python-shell-prompt-regexp, run-python):
2160 Remove superfluous backslashes.
2161 (python-indent-line, python-nav-beginning-of-defun)
2162 (python-shell-get-buffer, python-shell-get-process)
2163 (python-info-current-defun, python-info-current-line-comment-p)
2164 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2165 (python-indent-post-self-insert-function, python-shell-send-file)
2166 (python-shell-completion-get-completions)
2167 (python-shell-completion-complete-or-indent)
2168 (python-eldoc--get-doc-at-point): Reflow docstrings.
2169
2170 2014-03-14 Glenn Morris <rgm@gnu.org>
2171
2172 * emacs-lisp/package.el (package-menu-mode-map):
2173 Replace use of obsolete function alias. Tweak menu item text.
2174
2175 * info.el (Info-finder-find-node):
2176 Ignore the `emacs' metapackage. (Bug#10813)
2177
2178 * finder.el (finder-list-matches): Include unversioned packages
2179 in the result of a keyword search.
2180
2181 * finder.el (finder--builtins-descriptions): New constant.
2182 (finder-compile-keywords): Use finder--builtins-descriptions.
2183
2184 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2185
2186 * simple.el (blink-matching-paren): Describe the new value,
2187 `jump', enabling the old behavior.
2188 (blink-matching-open): Use that value. (Bug#17008)
2189
2190 2014-03-14 Glenn Morris <rgm@gnu.org>
2191
2192 * finder.el (finder-no-scan-regexp): Add leim-list.
2193 (finder-compile-keywords):
2194 Don't skip files with same basename. (Bug#14010)
2195 * Makefile.in (setwins_finder): New, excluding leim.
2196 (finder-data): Use setwins_finder.
2197
2198 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2199 (help-function-arglist, help-make-usage): Move from here...
2200 * help.el (help-split-fundoc, help-add-fundoc-usage)
2201 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2202 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2203
2204 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2205
2206 * net/socks.el (socks, socks-override-functions)
2207 (socks-find-services-entry):
2208 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2209 (hif-find-ifdef-block):
2210 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2211
2212 * net/tls.el (tls-program): Reflow docstring.
2213
2214 * progmodes/pascal.el (pascal-mode-abbrev-table)
2215 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2216 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2217 (pascal-outline-mode): Fix docstring typos.
2218 (pascal-mode): Let define-derived-mode document mode hook.
2219 (pascal-uncomment-area): Reflow.
2220 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2221
2222 * progmodes/opascal.el (opascal-compound-block-indent)
2223 (opascal-case-label-indent): Fix docstring typos.
2224 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2225
2226 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2227
2228 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2229 Fontify multiple adjacent negation chars. (Bug#17004)
2230
2231 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2232
2233 * emacs-lisp/package.el (package--prepare-dependencies):
2234 Accept requirements without explicit version (bug#14941).
2235
2236 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2237
2238 * register.el (register-separator, copy-to-register): Doc fixes.
2239 (register-preview-default): Remove unnecessary call to concat.
2240
2241 * frameset.el (frameset-restore): When checking for a visible frame,
2242 use the action map instead of calling visible-frame-list.
2243
2244 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2245
2246 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2247
2248 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2249
2250 * window.el (fit-frame-to-buffer): Get maximum width from
2251 display's width instead of height.
2252
2253 2014-03-12 Glenn Morris <rgm@gnu.org>
2254
2255 * desktop.el (desktop-restore-frames)
2256 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2257 (desktop-restore-reuses-frames): Doc tweaks.
2258
2259 * electric.el (electric-indent-mode): Doc fix.
2260
2261 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2262
2263 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2264 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2265 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2266 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2267 (cvs-dired-use-hook): Fix docstring typos.
2268 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2269 Doc fixes.
2270
2271 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2272 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2273 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2274 (cvs-execute-single-dir): Fix docstring typos.
2275
2276 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2277 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2278
2279 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2280
2281 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2282 Fix docstring typos.
2283
2284 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2285
2286 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2287 called from jump-to-register after unloading the frameset package.
2288
2289 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2290
2291 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2292 (bug#16975). Deactivate the mark before setting it to nil.
2293 (activate-mark): Do nothing if region is already active.
2294
2295 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * frameset.el (frameset--target-display): Remove definition; declare.
2298 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2299
2300 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2303 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2304 when the advice is pending.
2305 (advice-remove): Remove this marker when not needed any more.
2306
2307 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2308
2309 * frameset.el: Separate options for reusing frames and cleaning up.
2310 (frameset--reuse-list): Remove definition; declare.
2311 (frameset--action-map): Declare.
2312 (frameset--find-frame-if): Doc fix.
2313 (frameset--restore-frame): Cache frame action.
2314 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2315 how to clean up the frame list after restoring. Remove cleaning
2316 options from REUSE-FRAMES. Change all keyword values to symbols.
2317 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2318
2319 * desktop.el (desktop-restore-forces-onscreen)
2320 (desktop-restore-reuses-frames): Use non-keyword values.
2321 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2322
2323 2014-03-10 Glenn Morris <rgm@gnu.org>
2324
2325 * files.el (find-file): Doc fix: update info node name.
2326
2327 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2328 Doc fix: remove references to deleted info nodes.
2329
2330 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2331
2332 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2333 Do not add `nil' to the environment, when there's no remote `locale'.
2334 (tramp-find-inline-encoding): Check, that the remote host has
2335 installed perl, before sending scripts.
2336
2337 2014-03-10 Leo Liu <sdl.web@gmail.com>
2338
2339 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2340 Clear eldoc-last-message. (Bug#16920)
2341
2342 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2345 (bug#14430).
2346
2347 2014-03-09 Juri Linkov <juri@jurta.org>
2348
2349 * ansi-color.el (ansi-color-names-vector): Copy default colors
2350 from `xterm-standard-colors' that look well on the default white
2351 background (and also on the black background) to avoid illegible
2352 color combinations like yellow-on-white and white-on-white.
2353 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2354
2355 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2356
2357 * frameset.el (frameset-restore): When no frame is visible, do not
2358 generate a list of frames, just make visible the selected one.
2359
2360 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2361
2362 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2363 it only contains the repository root. (Bug#16897)
2364
2365 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2368 only when `remote-file-name-inhibit-cache' is nil.
2369 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2370
2371 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2372
2373 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2374 Fix doc-strings.
2375 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2376 fit-frame-to-buffer variable. Fix doc-string.
2377 (fit-window-to-buffer): Set ONLY argument in call of
2378 fit-frame-to-buffer. Fix doc-string.
2379
2380 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2381
2382 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2383 (tramp-action-password): Clear password cache if needed.
2384 (tramp-read-passwd): Do not clear password cache.
2385
2386 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2387 cache unless it is the first password request.
2388
2389 2014-03-06 Glenn Morris <rgm@gnu.org>
2390
2391 * simple.el (newline): Doc tweak.
2392
2393 * emacs-lisp/shadow.el (load-path-shadows-find):
2394 Ignore dir-locals. (Bug#12357)
2395
2396 2014-03-05 Glenn Morris <rgm@gnu.org>
2397
2398 * files.el (interpreter-mode-alist):
2399 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2400
2401 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2402
2403 * frameset.el (frameset--initial-params): Filter out null entries.
2404
2405 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2406
2407 * window.el (window-min-height, window-min-width):
2408 Rewrite doc-strings.
2409 (window-body-size): Add PIXELWISE argument to make it consistent
2410 with its callees.
2411
2412 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2413
2414 * finder.el (finder-mode-map, finder-mode-syntax-table):
2415 Revert part of 2014-02-28 change.
2416
2417 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2418
2419 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2420 (eww-setup-buffer): Clear next/prev/etc more reliably.
2421 (eww-textarea-map): [tab] doesn't work on tty.
2422 Reported by Mario Lang.
2423
2424 * net/shr.el (shr-map): Ditto.
2425
2426 2014-03-04 Glenn Morris <rgm@gnu.org>
2427
2428 * minibuffer.el (completion-hilit-commonality):
2429 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2430
2431 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2432
2433 * hilit-chg.el (hilit-chg-unload-function): New function.
2434 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2435 (hilit-chg-map-changes): Prefer cardinal number to digit.
2436 (hilit-chg-display-changes): Reflow docstring.
2437 (highlight-changes-rotate-faces): Remove superfluous backslash.
2438
2439 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2442 `tramp-send-command-and-check'.
2443
2444 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * hexl.el (hexl-address-region, hexl-ascii-region)
2447 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2448 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2449 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2450 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2451 (hexl-mode): Doc fix.
2452 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2453 (hexl-mode-ruler): Fix typos in docstrings.
2454
2455 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2456 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2457 Remove superfluous backslashes.
2458 (strokes-last-stroke, strokes-global-map, strokes-mode):
2459 Reflow docstrings.
2460 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2461 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2462 (strokes-distance-squared, strokes-global-set-stroke)
2463 (strokes-global-set-stroke-string): Doc fixes.
2464 (strokes-help): Fix typos; reflow docstring.
2465
2466 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2467
2468 * window.el (window-in-direction): Fix doc-string.
2469
2470 2014-03-04 Glenn Morris <rgm@gnu.org>
2471
2472 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2473 Explicit error if no grammar.
2474 (smie-config-save): Doc fix. Fix quote typo.
2475
2476 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2479 electric-indent-mode-hook if we obey electric-indent-mode.
2480 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2481 decide whether we obey electric-indent-mode.
2482 (c-change-set-fl-decl-start, c-extend-after-change-region):
2483 Silence warnings.
2484 (c-electric-indent-mode-hook): Assume we do want to obey
2485 electric-indent-mode.
2486
2487 * electric.el (electric-indent-mode-has-been-called): Remove.
2488 (electric-indent-mode): Fix accordingly.
2489
2490 * files.el (hack-local-variables): Mention file name in warning.
2491
2492 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2493
2494 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2495
2496 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2497 * simple.el (delete-forward-char): Mark as interactive-only.
2498
2499 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2500
2501 * icomplete.el (icomplete-completions):
2502 Follow-up to 2014-03-01 change.
2503
2504 * icomplete.el: Miscellaneous doc fixes.
2505 Use Icomplete everywhere instead of icomplete for consistency.
2506 (icomplete-max-delay-chars): Fix typo.
2507 (icomplete-mode): Use \[].
2508 (icomplete-tidy, icomplete-exhibit): Reflow.
2509 (icomplete-minibuffer-setup-hook, icomplete-completions):
2510 Remove superfluous backlashes.
2511
2512 * ido.el: Miscellaneous doc fixes.
2513 Use Ido everywhere instead of ido or `ido' for consistency.
2514 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2515 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2516 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2517 (ido-separator): Extract obsolescence info from docstring and declare
2518 with make-obsolete-variable.
2519 (ido-minibuffer-setup-hook): Simplify example.
2520 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2521 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2522 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2523 (ido-everywhere): Reflow docstring.
2524 (ido-toggle-vc): Doc fix.
2525 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2526 of long list of keybindings.
2527
2528 2014-03-03 Glenn Morris <rgm@gnu.org>
2529
2530 * frame.el (display-pixel-height, display-pixel-width)
2531 (display-mm-dimensions-alist, display-mm-height)
2532 (display-mm-width): Doc tweaks.
2533
2534 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2535
2536 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2537 case of undo in region.
2538
2539 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2540
2541 * window.el (fit-window-to-buffer): Fix argument in window-size
2542 call when window is horizontally combined.
2543
2544 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2545
2546 * icomplete.el (icomplete-completions): Use string-width.
2547 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2548
2549 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2550
2551 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2552 Highlight regexp options. (Bug#16914)
2553
2554 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2555
2556 * window.el (window--max-delta-1): Round down when calculating
2557 how many lines/columns we can get from a window.
2558
2559 2014-03-01 Glenn Morris <rgm@gnu.org>
2560
2561 * isearch.el (search-invisible): Doc fix.
2562
2563 * minibuffer.el (completion-hilit-commonality):
2564 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2565 * comint.el (comint-dynamic-list-completions): Doc fix.
2566 * comint.el (comint-dynamic-list-completions):
2567 * filecache.el (file-cache-minibuffer-complete):
2568 * tempo.el (tempo-display-completions):
2569 * eshell/em-hist.el (eshell-list-history):
2570 Replace use of obsolete argument of display-completion-list.
2571
2572 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2573
2574 * icomplete.el (icomplete-completions):
2575 Revert back to using "..." when ?… cannot be displayed.
2576
2577 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2578
2579 * finder.el (finder-unload-function): New function.
2580
2581 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2582
2583 * dframe.el (dframe-detach):
2584 * find-dired.el (find-dired, find-name-dired):
2585 * finder.el (finder-mode-map, finder-mode-syntax-table)
2586 (finder-headmark, finder-select, finder-mouse-select):
2587 Fix docstring typos.
2588
2589 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2590
2591 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2592 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2593 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2594 Fix doc-string based on a suggestion by Nicolas Richard
2595 <theonewiththeevillook@yahoo.fr>.
2596 * help.el (with-help-window): Fix doc-string.
2597
2598 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2599
2600 * net/shr.el (shr-image-animate): New option.
2601 (shr-put-image): Respect shr-image-animate.
2602
2603 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2604
2605 * net/tramp-adb.el (tramp-adb-parse-device-names):
2606 Use `accept-process-output'.
2607 (tramp-adb-handle-file-truename): Cache the localname only.
2608 (tramp-adb-handle-make-directory)
2609 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2610 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2611 modes cannot be changed.
2612
2613 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2614 file properties of symlinks.
2615
2616 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2617
2618 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2619 required/optional fields to match development biblatex. (Bug#16781)
2620
2621 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2622
2623 * saveplace.el (toggle-save-place):
2624 Fix argument handling. (Bug#16673)
2625
2626 2014-02-28 Glenn Morris <rgm@gnu.org>
2627
2628 * minibuffer.el (completions-first-difference)
2629 (completions-common-part, completion-hilit-commonality): Doc fixes.
2630
2631 2014-02-28 Karl Berry <karl@gnu.org>
2632
2633 * info.el (Info-mode-map): Add H for describe-mode,
2634 to synchronize with standalone Info.
2635
2636 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2637
2638 * progmodes/sql.el (sql-interactive-mode):
2639 Avoid setting global comint-input-ring-separator. (Bug#16814)
2640
2641 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2642
2643 * net/dbus.el (dbus--init-bus): Declare function.
2644 (dbus-path-local, dbus-interface-local): New defconst.
2645 (dbus-init-bus): Use them.
2646 (dbus-return-values-table): Extend doc.
2647 (dbus-handle-bus-disconnect): Extend error message.
2648
2649 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2650
2651 * subr.el (y-or-n-p): Fix double space issue in message.
2652
2653 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp.el (tramp-call-process): Improve trace message.
2656 (tramp-handle-insert-file-contents): Trace error case.
2657
2658 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2659 <insert-directory>: Use `tramp-handle-insert-directory'.
2660 (tramp-adb-handle-insert-directory): Remove function.
2661 (tramp-adb-send-command-and-check): New defun, replacing
2662 `tramp-adb-command-exit-status'. Change all callees.
2663 (tramp-adb-handle-file-attributes)
2664 (tramp-adb-handle-directory-files-and-attributes): Use it.
2665 (tramp-adb-ls-output-name-less-p):
2666 Use `directory-listing-before-filename-regexp'.
2667 (tramp-adb-handle-delete-directory): Flush also file properties of
2668 the truename of directory.
2669 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2670 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2671 (tramp-adb-handle-write-region): Implement APPEND.
2672 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2673 properties correctly.
2674 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2675 variables. Check for connected devices only when needed.
2676
2677 2014-02-27 Glenn Morris <rgm@gnu.org>
2678
2679 * minibuffer.el (completion-table-dynamic)
2680 (completion-table-with-cache): Doc fixes.
2681
2682 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2683 (completing-read-multiple): Doc fixes.
2684
2685 2014-02-27 Daniel Colascione <dancol@dancol.org>
2686
2687 * minibuffer.el (completion--nth-completion): Fix indentation.
2688
2689 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2690 explicit tramp path is empty.
2691
2692 2014-02-27 Glenn Morris <rgm@gnu.org>
2693
2694 * emacs-lisp/crm.el (completing-read-multiple):
2695 Empower help-enable-auto-load.
2696
2697 2014-02-26 Glenn Morris <rgm@gnu.org>
2698
2699 * startup.el (command-line): Don't init the tty in daemon mode.
2700
2701 Avoid calling tty-setup-hook twice, eg if a term file
2702 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2703 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2704 (tty-create-frame-with-faces): Use it.
2705 * startup.el (command-line): Pass run-hook argument
2706 to tty-run-terminal-initialization.
2707
2708 * dired.el (dired-restore-desktop-buffer): Demote errors;
2709 eg in case a glob match fails. (Bug#16884)
2710
2711 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2712
2713 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2714 error from `read-from-string'. (Bug#16850)
2715
2716 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2717 result of `completing-read' in the interactive form. (Bug#16854)
2718
2719 2014-02-25 Glenn Morris <rgm@gnu.org>
2720
2721 * image.el (image-animate, image-animate-timeout):
2722 Stop animating images in dead buffers. (Bug#16878)
2723
2724 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2725
2726 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2727 Doc fixes.
2728 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2729 * term/sun.el (sun-raw-prefix-hooks):
2730 Use tty-setup-hook instead of term-setup-hook.
2731 (terminal-init-sun): Construct message from bytecomp plist.
2732 * term/wyse50.el (enable-arrow-keys): Doc fix.
2733
2734 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2735
2736 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2737 Fix docstring typos.
2738
2739 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2740
2741 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2742
2743 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2744
2745 * minibuffer.el (completion--try-word-completion):
2746 Fix error when completing M-x commands (bug#16808).
2747
2748 2014-02-24 Leo Liu <sdl.web@gmail.com>
2749
2750 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2751
2752 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2753
2754 * apropos.el (apropos-print): Avoid formatting error when
2755 apropos-do-all and apropos-compact-layout are both t.
2756
2757 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2758
2759 * apropos.el (apropos-property, apropos-all-words-regexp)
2760 (apropos-true-hit, apropos-variable, apropos-print):
2761 Fix docstring typos, and remove obsolete comment.
2762
2763 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2764
2765 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2766 Preserve trailing "/". (Bug#16851)
2767
2768 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2769
2770 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2771 after `=>' (bug#16811).
2772 (ruby-smie-rules): Handle the inconsistent second element of the
2773 list returned by `smie-indent--parent'.
2774 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2775 method call.
2776
2777 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * elec-pair.el (electric-pair-text-syntax-table)
2780 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2781 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2782 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2783 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2784
2785 2014-02-22 Glenn Morris <rgm@gnu.org>
2786
2787 * imenu.el (imenu--generic-function): Doc fix.
2788
2789 * register.el (frame-configuration-to-register): Make obsolete.
2790
2791 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2792
2793 * desktop.el (desktop-save-buffer-p): Do not fail when
2794 desktop-files-not-to-save is nil. Return t for true result
2795 as the doc says.
2796
2797 2014-02-22 Daniel Colascione <dancol@dancol.org>
2798
2799 * net/secrets.el (secrets-create-item, secrets-search-items):
2800 Check that attribute values are strings, avoiding the construction
2801 of invalid dbus messages.
2802
2803 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2806 defun-declarations-alist.
2807
2808 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2811 (bug#16829).
2812
2813 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2814
2815 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2816 (whitespace-newline, whitespace-trailing, whitespace-line)
2817 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2818 (whitespace-space-after-tab): Fix typo in docstrings.
2819
2820 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2821
2822 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2823
2824 * electric.el (electric-indent-functions-without-reindent):
2825 Add `yaml-indent-line'.
2826
2827 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2828
2829 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2830 It has done nothing for years; should be removed after the release.
2831
2832 * simple.el (choose-completion): Fix docstring typo.
2833 (read-quoted-char-radix): Remove unneeded * in docstring.
2834 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2835 Don't escape parentheses unnecessarily in docstrings.
2836
2837 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2838
2839 Fix handling of window-min-height/-width (Bug#16738).
2840 * window.el (window--dump-window, window--dump-frame):
2841 New functions.
2842 (window--min-size-1): Account for window dividers.
2843 When window-resize-pixelwise is nil, delay rounding till after the
2844 sum of the window components has been calculated.
2845 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2846 nil make sure at least one text line and two text columns remain
2847 fully visible.
2848 (window-resize): Signal an error when window-resize-apply fails.
2849 (window--resize-child-windows): Fix calculation of by how many
2850 pixels a window can still be shrunk via window-new-normal.
2851 (adjust-window-trailing-edge): Call window--resizable with
2852 correct TRAIL argument.
2853
2854 (with-temp-buffer-window): Don't evaluate BODY within
2855 with-current-buffer (Bug#16816).
2856
2857 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * net/tramp.el (tramp-check-cached-permissions):
2860 Call `file-attributes' with `suffix' being a symbol but a string.
2861
2862 2014-02-21 Daniel Colascione <dancol@dancol.org>
2863
2864 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2865 (dbus-init-bus): New function: call into dbus-init-bus-1
2866 and installs a handler for the disconnect signal.
2867 (dbus-call-method): Rewrite to look for result in cons.
2868 (dbus-call-method-handler): Store result in cons.
2869 (dbus-check-event): Recognize events with nil sender as valid.
2870 (dbus-handle-bus-disconnect): New function. React to bus
2871 disconnection signal by synthesizing dbus error for each
2872 pending synchronous or asynchronous call.
2873 (dbus-notice-synchronous-call-errors): New function.
2874 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2875 is true, not all the time.
2876
2877 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2878
2879 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2880 Remove obsolescence declarations, these variables do not exist anymore.
2881
2882 * savehist.el (savehist-save-minibuffer-history)
2883 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2884 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2885 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2886 mostly, refer to "Savehist mode" when talking about the mode,
2887 and not the function.
2888
2889 * saveplace.el (save-place): Remove redundant info in docstring.
2890 (save-place-forget-unreadable-files, toggle-save-place)
2891 (save-place-forget-unreadable-files, save-place-dired-hook):
2892 Fix typos and remove unneeded backslashes.
2893
2894 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2895
2896 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2897 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2898
2899 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2900 <insert-directory>: Use `tramp-handle-insert-directory'.
2901 (tramp-gvfs-handle-insert-directory): Remove function.
2902
2903 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2904 Call `tramp-handle-insert-directory'.
2905
2906 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2907
2908 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2909 before the start of buffer/region (bug#16799).
2910
2911 2014-02-20 Glenn Morris <rgm@gnu.org>
2912
2913 * isearch.el (search-invisible): Doc fix.
2914
2915 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2916
2917 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2918 (bug#16657).
2919
2920 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2921
2922 * frameset.el (frameset-restore): Delay removing an old frame's
2923 duplicate id until the new frame has been correctly created.
2924
2925 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2926
2927 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2928 (tramp-check-cached-permissions): Call `file-attributes' if the
2929 cache is empty.
2930
2931 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2932 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2933
2934 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2935 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2936 (tramp-gvfs-maybe-open-connection): Set always connection
2937 properties, even if target is mounted already.
2938
2939 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2940 Set tramp-autoload cookie.
2941 (tramp-get-remote-touch): New defun.
2942 (tramp-sh-handle-set-file-times): Use it.
2943 (tramp-sh-handle-directory-files-and-attributes):
2944 Use `tramp-handle-directory-files-and-attributes' if neither stat
2945 nor perl are available on the remote host.
2946
2947 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2948 "/". Write long listing only when "l" belongs to the switches.
2949
2950 * net/trampver.el: Update release number.
2951
2952 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2953
2954 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2955
2956 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2957
2958 * window.el (window-state-put): Allow WINDOW to refer to an
2959 internal window (Bug#16793).
2960
2961 2014-02-19 Glenn Morris <rgm@gnu.org>
2962
2963 * textmodes/remember.el: Move provide statement to end.
2964 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2965 (remember-notes): Doc fixes.
2966
2967 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * delsel.el (delete-char): Restore incorrectly erased property
2970 (bug#16795).
2971
2972 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2973
2974 * frameset.el (frameset--restore-frame): When a frame is being reused
2975 and its root window is not alive, delete all the frame's windows before
2976 restoring the window state. This works around the issue in bug#16793.
2977
2978 2014-02-18 Glenn Morris <rgm@gnu.org>
2979
2980 * textmodes/remember.el (remember-data-directory)
2981 (remember-directory-file-name-format, remember-store-in-files)
2982 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2983 (remember-notes-save-and-bury-buffer)
2984 (remember-notes--kill-buffer-query): Doc fixes.
2985
2986 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2987
2988 2014-02-17 Alan Mackenzie <acm@muc.de>
2989
2990 Connect electric-indent-mode up with CC Mode. Bug #15478.
2991 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2992 to electric-indent-{,local-}-mode.
2993 (c-basic-common-init): Set electric-indent-inhibit.
2994 Initialise c-electric-flag from electric-indent-mode.
2995 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2996 New hook functions which propagate electric-indent-mode to CC mode.
2997
2998 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2999 hit, toggle electric-indent-local-mode.
3000
3001 * electric.el (electric-indent-mode-has-been-called):
3002 New variable.
3003
3004 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3005
3006 * frameset.el (frameset-cfg-id): New function.
3007 (frameset--reuse-frame, frameset-restore): Use it.
3008 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3009
3010 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * ido.el (ido-file-internal): Remove unused var `d'.
3013 Use \` for to match BoS. Fit within 80n columns.
3014
3015 2014-02-17 Daniel Colascione <dancol@dancol.org>
3016
3017 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3018 dbus-call-method check for completion using a busy-wait loop with
3019 gradual backoff.
3020
3021 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3022
3023 Sync with Tramp 2.2.9.
3024
3025 * net/trampver.el: Update release number.
3026
3027 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3028
3029 * ido.el (ido-file-internal): Don't add the name of an existing
3030 directory twice. (Bug#16747)
3031
3032 2014-02-16 Glenn Morris <rgm@gnu.org>
3033
3034 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3035 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3036
3037 2014-02-15 Michael R. Mauger <michael@mauger.com>
3038
3039 * progmodes/sql.el: Version 3.4
3040 (sql-oracle-options): New default value ("-L").
3041 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3042 (sql-placeholders-filter): Correct placeholder pattern.
3043 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3044 (sql-login-delay): New variable.
3045 (sql-product-interactive): Use it.
3046
3047 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3048
3049 * frameset.el (frameset--jump-to-register): Check that buffer is live
3050 (bug#16749).
3051
3052 2014-02-15 Glenn Morris <rgm@gnu.org>
3053
3054 * info.el (info-initialize): Revert 2014-01-10 change.
3055
3056 2014-02-14 Glenn Morris <rgm@gnu.org>
3057
3058 * replace.el (map-query-replace-regexp)
3059 (read-regexp-defaults-function, read-regexp): Doc fixes.
3060
3061 * dired.el (dired-read-regexp):
3062 * faces.el (list-faces-display):
3063 * misearch.el (multi-isearch-read-matching-buffers)
3064 (multi-isearch-read-matching-files):
3065 * play/cookie1.el (cookie-apropos):
3066 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3067
3068 * textmodes/remember.el (remember): Use frameset-to-register
3069 rather than frame-configuration-to-register.
3070
3071 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3072
3073 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3074 incorrect keybinding.
3075
3076 2014-02-13 Daniel Colascione <dancol@dancol.org>
3077
3078 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3079 when adding overlays so that line numbers from compiler match line
3080 numbers we use.
3081
3082 2014-02-13 Glenn Morris <rgm@gnu.org>
3083
3084 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3085
3086 * jit-lock.el (jit-lock-mode): Doc fix.
3087
3088 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3089
3090 * apropos.el (apropos-read-pattern): When the user passes an empty
3091 string, give a more helpful error message than "Wrong type
3092 argument: stringp, nil".
3093
3094 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3097
3098 2014-02-13 Glenn Morris <rgm@gnu.org>
3099
3100 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3101
3102 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3105 shift-select commands.
3106
3107 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3108
3109 * progmodes/js.el (js-indent-line): Don't widen.
3110 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3111
3112 2014-02-12 Glenn Morris <rgm@gnu.org>
3113
3114 * icomplete.el (icomplete): Add info-link to defgroup.
3115 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3116 (icomplete-minibuffer-map, icomplete-mode)
3117 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3118
3119 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3120 (package-menu-filter): Rename from package-menu-filter-interactive.
3121 Doc fix.
3122
3123 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3124
3125 * frameset.el (frameset--jump-to-register): Select the required
3126 window and buffer before restoring position (bug#16696).
3127
3128 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3129
3130 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3131
3132 2014-02-10 Glenn Morris <rgm@gnu.org>
3133
3134 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3135
3136 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3137
3138 * w32-common-fns.el (x-get-selection): Doc fix.
3139 * select.el (x-get-selection): Doc fix. (Bug#15109)
3140
3141 * face-remap.el (face-remap-add-relative)
3142 (face-remap-remove-relative, face-remap-reset-base)
3143 (face-remap-set-base): Call force-mode-line-update to redisplay
3144 the current buffer due to potential change in faces. (Bug#16709)
3145
3146 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3147
3148 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3149 script more robustly.
3150
3151 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3152
3153 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3154
3155 * simple.el (choose-completion): Doc fix (bug#14160).
3156
3157 * subr.el (event-start): Say what a nil EVENT value means.
3158
3159 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3160 (bug#14197).
3161
3162 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3163
3164 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3165
3166 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3167
3168 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3169 predicate function (bug#15455).
3170
3171 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3172
3173 * ielm.el (inferior-emacs-lisp-mode): Instead of
3174 `comment-use-global-state', set `comment-use-syntax'.
3175
3176 2014-02-10 Glenn Morris <rgm@gnu.org>
3177
3178 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3179
3180 2014-02-09 Alan Mackenzie <acm@muc.de>
3181
3182 Fix c-invalidate-state-cache on narrowed buffers.
3183 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3184 Widen when setting and clearing the CPP delimiter properties.
3185
3186 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3187
3188 * help.el (describe-bindings): Doc fix (bug#9888).
3189
3190 * files.el (save-buffer): Use ARG as the parameter name for
3191 consistency (bug#10346).
3192 (save-buffer): Clarify the 0 argument (bug#10346).
3193
3194 * cus-edit.el (customize-apropos): Fix error string.
3195 (custom-buffer-create): Doc fix (bug#11122).
3196 (custom-sort-items): Doc fix (bug#11121).
3197
3198 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3199
3200 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3201 (icomplete-simple-completing-p): Mention the previous variable.
3202
3203 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3204 meaning of the parameter (bug#12282).
3205
3206 * files.el (find-file-noselect): Clarify prompt when changing
3207 readedness (bug#13261).
3208 (locate-file): Suffixes aren't returned, so don't say that they
3209 are (bug#12674).
3210 (backup-inhibited): Doc clarification (bug#12525).
3211
3212 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3213 before we actually start to delete things (bug#16331).
3214
3215 * subr.el (event-start): Doc fix (bug#14228).
3216 (event-end): Ditto.
3217
3218 2014-02-09 Glenn Morris <rgm@gnu.org>
3219
3220 * emacs-lisp/warnings.el (lwarn):
3221 Empower help-enable-auto-load. (Bug#15940)
3222
3223 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3224
3225 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3226 (Bug#16690)
3227
3228 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3231 Insert output at end of buffer. (Bug#16120)
3232
3233 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3234
3235 * simple.el (choose-completion-string-functions): Document new
3236 calling convention (bug#14153).
3237 (execute-extended-command): Clarify doc string (bug#13373).
3238
3239 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3240
3241 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3242 (find-grep-dired): Doc fix (bug#14288).
3243
3244 2014-02-08 Juri Linkov <juri@jurta.org>
3245
3246 * isearch.el (isearch-quote-char): Check character validity
3247 like in `quoted-insert' (bug#16677).
3248
3249 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3250
3251 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3252
3253 * isearch.el (isearch-hide-immediately): Doc clarification
3254 (bug#14723).
3255
3256 * simple.el (line-move): Document utility function used many
3257 places in the Emacs sources (bug#14843).
3258
3259 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3260 (dired-prev-marked-file): Doc fix (bug#14855).
3261 (dired-up-directory): Doc fix (bug#14848).
3262
3263 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3264
3265 * files.el (file-relative-name): Doc fix (bug#15159).
3266
3267 * fringe.el (fringe-styles): Doc fix (bug#15239).
3268
3269 * isearch.el (isearch-filter-predicate): Documentation typo fix
3270 (bug#15474).
3271
3272 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3273
3274 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3275
3276 * replace.el (replace-match-maybe-edit): Doc clarification
3277 (bug#15632).
3278
3279 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3280
3281 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3282
3283 2014-02-08 Glenn Morris <rgm@gnu.org>
3284
3285 * help-fns.el (describe-variable):
3286 Check {file,dir}-local-variables-alist, and buffer-file-name,
3287 in the correct buffer.
3288
3289 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3290
3291 * help-fns.el (describe-variable): Fix the case where
3292 a value is directory-local with no dir-locals file. (Bug#16635)
3293
3294 2014-02-08 Glenn Morris <rgm@gnu.org>
3295
3296 * abbrev.el (edit-abbrevs-mode):
3297 Derive from fundamental-mode. (Bug#16682)
3298
3299 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3300
3301 * simple.el (quoted-insert): Check character validity (bug#16677).
3302
3303 2014-02-07 Juri Linkov <juri@jurta.org>
3304
3305 * desktop.el (desktop-read): Claim the lock when the owner is not
3306 the current process. (Bug#16157)
3307
3308 2014-02-07 Juri Linkov <juri@jurta.org>
3309
3310 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3311 to "\\` ". (Bug#16651)
3312
3313 2014-02-07 Juri Linkov <juri@jurta.org>
3314
3315 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3316 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3317 (desktop-auto-save-cancel-timer): New function with some code from
3318 `desktop-auto-save-set-timer'.
3319 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3320 Instead of setting `desktop-save-mode' to nil, call
3321 `desktop-save-mode' with arg 0. (Bug#16630)
3322
3323 2014-02-07 Glenn Morris <rgm@gnu.org>
3324
3325 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3326 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3327 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3328
3329 * obsolete/iswitchb.el: Move to obsolete/.
3330 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3331 since obsolete/ is not scanned for autoloads.
3332 * emacs-lisp/authors.el (authors-valid-file-names):
3333 Add iswitchb.el.
3334
3335 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3336 Disable now non-functional find-file-hook.
3337
3338 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3339
3340 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3341 instead of ";" in order to avoid additional prompts. Let heredoc
3342 scripts read from tty. (Bug#16582)
3343 (tramp-send-command): No special handling of heredocs, it isn't
3344 necessary anymore.
3345
3346 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3349 with a space (bug#16664). Limit the symbols considered to the ones
3350 that are bound or fbound (bug#16646).
3351
3352 2014-02-06 Glenn Morris <rgm@gnu.org>
3353
3354 * epa.el (epa-mail-aliases): Doc fix.
3355
3356 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3357
3358 * emacs-lisp/lisp.el (lisp-completion-at-point):
3359 Use `completion-table-merge' instead of `completion-table-in-turn'
3360 (bug#16604).
3361
3362 * minibuffer.el (completion-table-merge): New function.
3363
3364 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3367 (tramp-sh-handle-set-file-acl)
3368 (tramp-sh-handle-start-file-process)
3369 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3370 (tramp-find-executable, tramp-send-command): Use it.
3371
3372 2014-02-05 Glenn Morris <rgm@gnu.org>
3373
3374 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3375
3376 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3377
3378 * progmodes/python.el (python-shell-send-string)
3379 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3380
3381 2014-02-04 Anders Lindgren <andlind@gmail.com>
3382
3383 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3384 the names (bug#16620).
3385
3386 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3387
3388 * faces.el (window-divider): New default value. Rewrite doc-string.
3389 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3390
3391 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3392
3393 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3394 `protected' and `public' can also be called without arguments.
3395
3396 2014-02-03 Glenn Morris <rgm@gnu.org>
3397
3398 * register.el (window-configuration-to-register)
3399 (frame-configuration-to-register): Unadvertise unused argument.
3400 * frameset.el (frameset-to-register): Remove unused argument.
3401
3402 * frameset.el (frameset-to-register):
3403 * kmacro.el (kmacro-to-register):
3404 * register.el (increment-register):
3405 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3406 (calc-append-to-register, calc-prepend-to-register):
3407 * play/gametree.el (gametree-layout-to-register)
3408 (gametree-apply-register-layout):
3409 * textmodes/picture.el (picture-clear-rectangle-to-register)
3410 (picture-yank-rectangle-from-register):
3411 * vc/emerge.el (emerge-combine-versions-register):
3412 Use register-read-with-preview to read registers.
3413
3414 2014-02-03 João Távora <joaotavora@gmail.com>
3415
3416 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3417 when at beginning of (possibly narrowed) buffer.
3418
3419 2014-02-02 Daniel Colascione <dancol@dancol.org>
3420
3421 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3422 Also try to display local help from just before point.
3423
3424 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3425
3426 c-parse-state. Don't "append-lower-brace-pair" in certain
3427 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3428 recognised as a comment.
3429
3430 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3431 as well as normal comment starter.
3432 (c-parse-state-get-strategy): Extra return possibility
3433 'back-and-forward.
3434 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3435 return value list to indicate replacement of a brace-pair cons
3436 with its car.
3437 (c-parse-state-1): With 'back-and-forward, only call
3438 c-append-lower-brace-pair-to state-cache when cons-separated.
3439
3440 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3441
3442 * term/ns-win.el (ns-suspend-error): New function.
3443 (ns-initialize-window-system): Add ns-suspend-error to
3444 suspend-hook (Bug#16612).
3445
3446 2014-02-02 Daniel Colascione <dancol@dancol.org>
3447
3448 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3449 Make loading cc-mode silent.
3450
3451 2014-02-02 Daniel Colascione <dancol@dancol.org>
3452
3453 * comint.el (comint-prompt-read-only): Change doc to suggest
3454 remap keybinding.
3455
3456 2014-02-02 Glenn Morris <rgm@gnu.org>
3457
3458 * register.el (register-read-with-preview, point-to-register)
3459 (window-configuration-to-register, frame-configuration-to-register)
3460 (jump-to-register, number-to-register, view-register, insert-register)
3461 (copy-to-register, append-to-register, prepend-to-register)
3462 (copy-rectangle-to-register): Doc fixes.
3463
3464 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3467 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3468 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3469 * help-fns.el (describe-function-1): Use it.
3470
3471 2014-02-02 Glenn Morris <rgm@gnu.org>
3472
3473 * register.el (register-preview-default): New function,
3474 split from register-preview.
3475 (register-preview-function): Rename from register-preview-functions,
3476 make it not a hook.
3477 (register-preview): Use register-preview-function.
3478 (register-read-with-preview): Error on non-character event. (Bug#16595)
3479
3480 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3481
3482 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3483 `:' before binary operators (bug#16609). Don't check for `:'
3484 before `[' and `(', or their syntax status. A percent literal
3485 can't end with either.
3486 (ruby-font-lock-keywords): For built-ins that require arguments,
3487 check that they're followed by something that looks like argument
3488 (bug#16610).
3489
3490 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3491
3492 * subr.el (butlast): Document what an omitted N means (bug#13437).
3493 (nbutlast): Ditto.
3494
3495 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3496
3497 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3498 depth shallower (bug#16587).
3499 (shr-tag-svg): Respect `shr-inhibit-images'.
3500 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3501
3502 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3503
3504 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3505 (ruby-smie-grammar): Make "." right-associative. Make its priority
3506 lower than the ternary and all binary operators.
3507 (ruby-smie-rules): Indent "(" relative to the first non-"."
3508 parent, or the first "." parent at indentation.
3509 Use `ruby-align-chained-calls' for indentation of "." tokens.
3510 (Bug#16593)
3511
3512 2014-01-31 Juri Linkov <juri@jurta.org>
3513
3514 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3515 from `make-hash-table'.
3516
3517 * textmodes/ispell.el (ispell-init-process): Change message format
3518 to be consistent with other messages.
3519
3520 2014-01-31 Glenn Morris <rgm@gnu.org>
3521
3522 * delsel.el (delete-selection-mode): Doc fix.
3523
3524 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3525 (trace-function-background): Doc fixes.
3526
3527 * ido.el (ido-use-virtual-buffers): Doc fix.
3528 Reset :version, since the default value has not changed.
3529
3530 * register.el (register-preview-delay, register-read-with-preview):
3531 Doc fixes.
3532
3533 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3534 do not mess with mail-buffer position (fixes 2009-11-03 change).
3535 * progmodes/cc-mode.el (c-submit-bug-report):
3536 Check auto-fill-mode is bound. (Bug#16592)
3537
3538 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3539
3540 * startup.el (fancy-splash-image-file): New function,
3541 split from fancy-splash-head.
3542 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3543 so that we are both using the same image. (Bug#16574)
3544
3545 2014-01-30 Glenn Morris <rgm@gnu.org>
3546
3547 * simple.el (eval-expression): Doc fix.
3548
3549 * hexl.el (hexl-mode-hook):
3550 * ielm.el (ielm-mode-hook):
3551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3552 (lisp-interaction-mode-hook):
3553 * progmodes/cfengine.el (cfengine3-documentation-function):
3554 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3555
3556 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3559 is a symbol (bug#16584).
3560
3561 2014-01-30 Glenn Morris <rgm@gnu.org>
3562
3563 * help.el (help-for-help-internal): Add "P" to text.
3564
3565 2014-01-29 Glenn Morris <rgm@gnu.org>
3566
3567 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3568
3569 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3570
3571 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3572 height constraints.
3573
3574 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3575
3576 * progmodes/hideif.el: Extend to full CPP expression syntax.
3577 (hif-token-alist): Add missing tokens.
3578 (hif-token-regexp): Add support for float/octal/hex immediates.
3579 (hif-string-literal-regexp): New const.
3580 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3581 (hif-exprlist): New function.
3582 (hif-parse-if-exp): Use it.
3583 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3584 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3585 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3586 (hif-logxor, hif-comma): New functions.
3587
3588 2014-01-28 Glenn Morris <rgm@gnu.org>
3589
3590 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3591
3592 * indent.el (tab-stop-list): Doc fix. Add :version.
3593
3594 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3595 (cvs-append-to-ignore): Add compatibility alias.
3596
3597 2014-01-27 Glenn Morris <rgm@gnu.org>
3598
3599 * dired.el (dired-hide-details-mode): Don't autoload it,
3600 since it cannot be used outside Dired buffers anyway.
3601
3602 * emulation/cua-base.el (cua-mode): Doc fix.
3603
3604 * dired.el (dired-hide-details-hide-symlink-targets)
3605 (dired-hide-details-hide-information-lines)
3606 (dired-hide-details-mode): Doc fixes.
3607
3608 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3609 * strokes.el (strokes-file): Doc fix. Bump :version.
3610 (strokes-help): Doc fix.
3611 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3612 * emulation/viper.el (viper): Doc fix for custom group.
3613 (top-level): Remove oh-so-no-longer-relevant text about vip.
3614 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3615
3616 * ido.el (ido-save-directory-list-file):
3617 * saveplace.el (save-place-file):
3618 * calendar/timeclock.el (timeclock-file):
3619 * net/quickurl.el (quickurl-url-file):
3620 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3621 * progmodes/idlwave.el (idlwave-config-directory):
3622 * textmodes/remember.el (remember-data-file):
3623 Bump :version.
3624
3625 2014-01-26 Glenn Morris <rgm@gnu.org>
3626
3627 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3628 Doc fix. Make obsolete.
3629 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3630
3631 * sort.el (delete-duplicate-lines): Doc fix.
3632
3633 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3634
3635 * progmodes/ada-mode.el (ada):
3636 * woman.el (woman): Link to info manual and Commentary section.
3637
3638 * progmodes/flymake.el (flymake):
3639 * nxml/nxml-mode.el (nxml):
3640 * net/eww.el (eww):
3641 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3642 * htmlfontify.el (htmlfontify):
3643 * ses.el (ses):
3644 * epa.el (epa):
3645 * ido.el (ido): Link to info manual.
3646
3647 2014-01-25 Leo Liu <sdl.web@gmail.com>
3648
3649 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3650
3651 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3652
3653 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3654 (bug#16537).
3655
3656 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3657
3658 * net/eww.el (eww-download-callback):
3659 Fix reference to eww-download-directory.
3660
3661 * emacs-lisp/bytecomp.el (byte-compile-file):
3662 Remove unused local variable `file-name'.
3663
3664 2014-01-24 Glenn Morris <rgm@gnu.org>
3665
3666 * woman.el (woman-default-faces, woman-monochrome-faces):
3667 Fix obsolescence specification.
3668
3669 * subr.el (with-demoted-errors): Doc fix.
3670
3671 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3674 (cl--macroexp-fboundp): New function.
3675 (cl--make-type-test): Use it.
3676
3677 2014-01-23 Glenn Morris <rgm@gnu.org>
3678
3679 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3680 * simple.el (eval-expression): Doc fixes.
3681
3682 2014-01-22 Glenn Morris <rgm@gnu.org>
3683
3684 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3685
3686 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * emacs-lisp/package.el: Write files silently.
3689 (package-autoload-ensure-default-file, package--write-file-no-coding)
3690 (package-generate-description-file, package--download-one-archive)
3691 (package-install-from-archive): Tell `write-region' to stay quiet.
3692 (package-menu-mode, package-menu--print-info): Omit the Archive column
3693 if there's only one archive.
3694 (package-all-keywords, package--has-keyword-p): Remove dead code.
3695
3696 2014-01-22 Glenn Morris <rgm@gnu.org>
3697
3698 * version.el (emacs-bzr-version-bzr): Fix typo.
3699
3700 * version.el (emacs-repository-get-version):
3701 Check either .bzr or .git, but not both.
3702 Make the git case actually use the DIR argument, and return nil
3703 rather than the empty string.
3704 Avoid error if .git exists but the git executable is not found.
3705
3706 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3707
3708 Fixes in window size functions around Bug#16430 and Bug#16470.
3709 * window.el (window-total-size, window-size): New argument ROUND.
3710 (window--min-delta-1, window-min-delta, window--max-delta-1):
3711 Be more conservative when calculating the numbers of lines or
3712 columns a window can shrink (Bug#16430).
3713 (fit-window-to-buffer): Simplify code.
3714 * term.el (term-window-width): Call window-body-width again.
3715
3716 2014-01-22 Glenn Morris <rgm@gnu.org>
3717
3718 * image.el (image-format-suffixes): Doc fix.
3719
3720 * international/quail.el (quail-define-package): Doc fix.
3721
3722 * emacs-lisp/authors.el (authors-valid-file-names)
3723 (authors-renamed-files-alist): Additions.
3724
3725 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3726 reverts 2014-01-09 change. (Bug#16422)
3727
3728 * calc/calc-embed.el (thing-at-point-looking-at):
3729 * emacs-lisp/map-ynp.el (x-popup-dialog):
3730 * obsolete/lmenu.el (x-popup-dialog):
3731 * emacs-lisp/package.el (url-recreate-url):
3732 * mail/mailclient.el (clipboard-kill-ring-save):
3733 * subr.el (x-popup-dialog): Update declaration.
3734 * mail/rmail.el (rmail-mime-message-p):
3735 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3736
3737 2014-01-21 Daniel Colascione <dancol@dancol.org>
3738
3739 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3740 Correctly detect when we're inside an arithmetic expansion form
3741 containing nested parenthesis.
3742 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3743 to detect cases where we shouldn't expand "<<" to a heredoc
3744 skeleton.
3745
3746 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3749 (eldoc--message-command-p): New function.
3750 (eldoc-display-message-p): Use it.
3751 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3752 message is not automatically erased for us.
3753 (eldoc-print-current-symbol-info): Erase previous message, if any.
3754
3755 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3756
3757 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3758 specify it's an interactive function.
3759
3760 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3761 Fix regex used for scanning for citation keys which failed for
3762 citations with optional arguments.
3763
3764 2014-01-21 Leo Liu <sdl.web@gmail.com>
3765
3766 * simple.el (read--expression): Don't enable eldoc-mode.
3767
3768 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * simple.el (move-beginning-of-line): Make sure we don't move forward
3771 (bug#16497).
3772
3773 2014-01-20 Juri Linkov <juri@jurta.org>
3774
3775 * saveplace.el (toggle-save-place, save-place-to-alist)
3776 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3777 'dired-mode) before checking for dired-directory. (Bug#16477)
3778
3779 2014-01-20 Juri Linkov <juri@jurta.org>
3780
3781 * indent.el (indent-line-to): Use backward-to-indentation
3782 instead of back-to-indentation. (Bug#16461)
3783
3784 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3785
3786 Revert some of the CANNOT_DUMP fix (Bug#16494).
3787 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3788 but fixing this can wait until after the next release.
3789 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3790
3791 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3792
3793 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3794 Use `password-word-equivalents'.
3795 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3796 to t. (Bug#5664, Bug#13124)
3797
3798 2014-01-19 Alan Mackenzie <acm@muc.de>
3799
3800 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3801 points.
3802 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3803 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3804 * progmodes/cc-mode.el (c-before-change, c-after-change)
3805 (c-font-lock-fontify-region): Bind it here.
3806
3807 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3808
3809 * term.el (term-window-width): Call window-text-width instead of
3810 window-width (Bug#16470).
3811
3812 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3813
3814 * simple.el (password-word-equivalents): Remove duplicates.
3815 Sort, to make this easier next time.
3816 Downcase. Omit ": " after "jelszó".
3817
3818 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3819
3820 * term/common-win.el (saved-region-selection): Defvar it.
3821 (x-select-text): Set saved-region-selection (Bug#16382).
3822
3823 2014-01-18 Glenn Morris <rgm@gnu.org>
3824
3825 * emacs-lisp/authors.el (authors-aliases)
3826 (authors-renamed-files-alist): Add some entries.
3827
3828 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3829
3830 * net/tramp.el (tramp-password-prompt-regexp):
3831 Use `password-word-equivalents' if available.
3832 (tramp-action-password, tramp-process-one-action)
3833 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3834
3835 2014-01-17 Chong Yidong <cyd@gnu.org>
3836
3837 * simple.el (password-word-equivalents): New defcustom.
3838 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3839 to 24.4.
3840 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3841 to t. (Bug#13124)
3842
3843 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3844
3845 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3846 (ruby-align-to-stmt-keywords): Change the default value.
3847 Use `ruby-alignable-keywords' to generate the possible customization
3848 choices.
3849 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3850 keywords, check against the value of `ruby-alignable-keywords'
3851 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3852
3853 2014-01-17 Glenn Morris <rgm@gnu.org>
3854
3855 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3856
3857 Make M-x authors return zero *Authors Errors* from current logs.
3858 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3859 (authors-ignored-files): Add some entries, remove others.
3860 (authors-ambiguous-files, authors-valid-file-names):
3861 Add some entries.
3862 (authors-renamed-files-alist): Add, remove, and adjust entries.
3863 (authors-renamed-files-regexps): Add some entries.
3864 Remove some very broad ones. Make some entries `lax'.
3865 (authors-lax-changelogs): New constant.
3866 (authors-disambiguate-file-name): Treat top-level specially.
3867 (authors-lax-changelog-p): New function.
3868 (authors-canonical-file-name): Check file as written against
3869 authors-valid-file-names. Do not special-case etc/.
3870 Handle `lax' logs and authors-renamed-files-regexps elements.
3871
3872 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3873
3874 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3875 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3876 callers.
3877
3878 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3881 Assume we're already in the proper buffer.
3882 Inspired by Anders Lindgren <andlind@gmail.com>.
3883 (follow-post-command-hook): Call it from the right buffer.
3884 (follow-comint-scroll-to-bottom): Adjust call.
3885 (follow-all-followers): Use get-buffer-window-list.
3886
3887 2014-01-15 Daniel Colascione <dancol@dancol.org>
3888
3889 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3890 `buffer-file-name' in interactive-form so that we don't leave
3891 pathless file names in `file-name-history'.
3892
3893 2014-01-15 Juri Linkov <juri@jurta.org>
3894
3895 * indent.el (indent-rigidly): Set deactivate-mark to nil
3896 in transient indentation mode. (Bug#16438)
3897
3898 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3899
3900 * emacs-lisp/package.el (package-desc-keywords): New function
3901 (Bug#16222).
3902 (describe-package-1, package-all-keywords)
3903 (package--has-keyword-p): Use it.
3904
3905 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3906
3907 * simple.el (define-alternatives): When creating the
3908 COMMAND-alternatives variable, assign COMMAND as its definition
3909 name so that `describe-variable' can relocate it.
3910
3911 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3912
3913 * font-lock.el (font-lock-keywords): Fix typo in docstring
3914 (bug#16307).
3915
3916 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3917
3918 * ispell.el (ispell-region): Reset `in-comment' for new line
3919 instead of wrongly reset `add-coment' (bug#13577).
3920
3921 2014-01-14 Daiki Ueno <ueno@gnu.org>
3922
3923 * epa-file.el (epa-file-write-region): Encode the region according
3924 to `buffer-file-format'. Problem reported at:
3925 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3926
3927 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3930 so it applies in the right buffer (bug#16410).
3931
3932 2014-01-13 Daniel Colascione <dancol@dancol.org>
3933
3934 * textmodes/rst.el (rst-define-key): Provide deprecated
3935 keybindings through named functions instead of anonymous ones so
3936 that "??" doesn't appear in describe-mode output.
3937
3938 2014-01-13 Bastien Guerry <bzg@gnu.org>
3939
3940 * simple.el (define-alternatives): Call the selected command
3941 interactively. When setting `COMMAND--implementation' for the
3942 first time, tell the user how to chose another implementation.
3943 Enhance the docstring.
3944
3945 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3948 (log-edit--match-first-line): New function.
3949 (log-edit-font-lock-keywords): Use it.
3950 (log-edit-mode): Make jit-lock-defer-multiline work.
3951
3952 2014-01-13 Bastien Guerry <bzg@gnu.org>
3953
3954 * rect.el (rectangle-mark-mode): When the region is not active,
3955 display a message saying that the mark as been set and that
3956 rectangle mode is in use.
3957 (rectangle--highlight-for-redisplay): Only put an overlay with a
3958 visible vertical bar when (display-graphic-p) is non-nil.
3959 This partially fixes Bug#16403.
3960
3961 2014-01-13 Juri Linkov <juri@jurta.org>
3962
3963 * info.el (Info-find-file): Go to DIR before displaying the error
3964 about a nonexistent file if no previous Info file is visited.
3965 Use `user-error' instead of `error' for "Info file %s does not exist".
3966 (Info-find-node-2): In case of a nonexistent node in unwind forms
3967 go to the Top node if there is no previous node to revert to.
3968 (Bug#16405)
3969
3970 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3971
3972 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3973 * window.el (fit-frame-to-buffer): Fix doc-string.
3974 Respect window-min-height/-width. Fit pixelwise when
3975 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3976 when avoiding that frame goes partially off-screen.
3977 (fit-window-to-buffer): Respect window-min-height/-width
3978 (Bug#14096).
3979
3980 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3983 after an empty line.
3984
3985 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * net/shr.el (shr-render-region): Autoload.
3988
3989 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3990
3991 * net/eww.el (eww-download-directory): Rename from
3992 `eww-download-path' (Bug#16419).
3993
3994 2014-01-12 Leo Liu <sdl.web@gmail.com>
3995
3996 * dired-x.el (dired-mode-map): Fix last change.
3997
3998 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3999
4000 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4001
4002 Spelling fixes.
4003 * emacs-lisp/generic.el (generic--normalize-comments):
4004 Rename from generic--normalise-comments. All uses changed.
4005 * play/bubbles.el (bubbles--neighborhood-score)
4006 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4007 (bubbles--neighborhood-available)
4008 (bubbles--update-neighborhood-score):
4009 Rename from names with 'neighbourhood'. All uses changed.
4010
4011 2014-01-12 Leo Liu <sdl.web@gmail.com>
4012
4013 Re-implement the feature of showing eldoc info after editing.
4014 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4015 (eldoc-edit-message-commands): New function.
4016 (eldoc-print-after-edit): New variable.
4017 (eldoc-pre-command-refresh-echo-area): Emit message only by
4018 eldoc-message-commands.
4019 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4020 if eldoc-print-after-edit is set. (Bug#16346)
4021 * simple.el (read--expression): Enable eldoc-mode.
4022 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4023
4024 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4025 Eric S. Raymond <esr@thyrsus.com>
4026
4027 * version.el (emacs-repository-get-version): Enhance so the
4028 function works correctly in either a Bazaar or Git repo.
4029
4030 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4031
4032 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4033 Goes with removal of the joke manpages from /etc.
4034
4035 2014-01-10 Kenichi Handa <handa@gnu.org>
4036
4037 * mail/rmail.el (rmail-get-coding-system):
4038 Check rmail-get-coding-function before "funcall"ing it.
4039
4040 2014-01-10 Glenn Morris <rgm@gnu.org>
4041
4042 * emacs-lisp/authors.el (authors-fixed-entries):
4043 Update for files that no longer exist.
4044
4045 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4046
4047 * version.el (emacs-bzr-get-version): Restore compatibilty with
4048 24.3 (Tested).
4049
4050 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4051
4052 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4053 and Podfile.
4054
4055 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4056
4057 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4058
4059 2014-01-10 Chong Yidong <cyd@gnu.org>
4060
4061 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4062
4063 2014-01-10 Anders Lindgren <andlind@gmail.com>
4064
4065 * follow.el (follow-cache-command-list): Include right-char and
4066 left-char.
4067
4068 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4069
4070 Spelling fixes.
4071 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4072 * woman.el (woman-mark-horizontal-position):
4073 Rename from woman-mark-horizonal-position. Use changed.
4074
4075 2014-01-10 Glenn Morris <rgm@gnu.org>
4076
4077 * info.el (info-initialize): If running uninstalled, ensure our
4078 own info files are always found first, even if INFOPATH is set.
4079
4080 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4081
4082 2014-01-09 David Engster <deng@randomsample.de>
4083
4084 * emacs-lisp/eieio-custom.el:
4085 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4086 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4087 * emacs-lisp/eieio.el: Regenerate autoloads.
4088
4089 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4090
4091 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4092 following renames. (Bug#8756)
4093
4094 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4097 (bug#16382).
4098 (activate-mark): Add `no-tmm' argument.
4099 (set-mark, push-mark-command): Use it instead of running
4100 activate-mark-hook by hand.
4101
4102 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4103
4104 In preparation for the move to git, sanitize out some
4105 Bazaar-specific names.
4106
4107 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4108
4109 * version.el (emacs-bzr-version): Name changed to
4110 emacs-repository-version. Obsolete-variable alias made.
4111 * loadup.el: Follow through on this name change.
4112 * mail/emacsbug.el (report-emacs-bug): Factor out any
4113 assumption about the version control system in use.
4114
4115 2014-01-08 David Engster <deng@randomsample.de>
4116
4117 * help-fns.el (help-fns-describe-function-functions):
4118 New variable to call functions for augmenting help buffers.
4119 (describe-function-1): Remove explicit calls to
4120 `help-fns--compiler-macro', `help-fns--parent-mode' and
4121 `help-fns--obsolete'. Put them in above new variable instead, and
4122 call them through `run-hook-with-args'.
4123 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4124 `eieio-describe-class'. Not meant for interactive use anymore,
4125 but to augment existing help buffers. Remove optional second
4126 argument. Create proper button for file location.
4127 Rewrite function to use `insert' instead of `princ' and `prin1' where
4128 possible.
4129 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4130 (eieio-method-def, eieio-class-def): Move further up.
4131 (describe-method, describe-generic, eieio-describe-method):
4132 Remove aliases.
4133 (eieio-help-constructor, eieio-help-generic): Rename from
4134 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4135 Rewrite to use `insert' in the current buffer and use proper help
4136 buttons.
4137 (eieio-help-find-method-definition)
4138 (eieio-help-find-class-definition): Also accept symbols as
4139 arguments.
4140 (eieio-help-mode-augmentation-maybee): Remove.
4141 (eieio-describe-class-sb): Use `describe-function'.
4142 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4143 Add `eieio-help-generic' and `eieio-help-constructor'.
4144
4145 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4146
4147 Spelling fixes.
4148 * language/china-util.el (hz-ascii-designation):
4149 Rename from hz-ascii-designnation.
4150 (hz-ascii-designation): Rename from hz-ascii-designnation.
4151 All uses changed.
4152
4153 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4156 package-alist.
4157
4158 2014-01-08 Bastien Guerry <bzg@gnu.org>
4159
4160 * emacs-lisp/package.el (package-delete):
4161 Correctly delete the package from package-alist.
4162
4163 2014-01-08 Daiki Ueno <ueno@gnu.org>
4164
4165 * emacs-lisp/package.el (url-recreate-url): Declare.
4166 (url-http-target-url): Declare.
4167 (package-handle-response): Include requested URL in the error message.
4168 (package--check-signature): Don't re-signal errors from
4169 package--with-work-buffer. Suggested by Stefan Monnier.
4170
4171 2014-01-07 Bastien Guerry <bzg@gnu.org>
4172
4173 * minibuffer.el (completion--try-word-completion): When both a
4174 hyphen and a space are possible candidates for the character
4175 following a word, display both candidates. (Bug#15980)
4176
4177 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4178
4179 * window.el (balance-windows-2): While rounding don't give a
4180 window more than the remainder. Bug#16351, bug#16383.
4181
4182 2014-01-07 Glenn Morris <rgm@gnu.org>
4183
4184 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4185 (menu-bar-help-menu): Use view-external-packages instead.
4186
4187 2014-01-07 Bastien Guerry <bzg@gnu.org>
4188
4189 * emacs-lisp/package.el (package-delete): Also delete the package
4190 name from `package-alist', not its description only.
4191
4192 2014-01-07 Glenn Morris <rgm@gnu.org>
4193
4194 * help.el (view-external-packages):
4195 * menu-bar.el (menu-bar-help-extra-packages):
4196 Visit efaq.info rather than etc/MORE.STUFF.
4197
4198 2014-01-07 Juri Linkov <juri@jurta.org>
4199
4200 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4201 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4202
4203 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4204 that shadows RET. (Bug#16342)
4205
4206 2014-01-07 Chong Yidong <cyd@gnu.org>
4207
4208 * isearch.el (isearch-yank-char, isearch-yank-word)
4209 (isearch-yank-line): Doc fix.
4210
4211 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4214 * emacs-lisp/elint.el (elint-find-builtins):
4215 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4216 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4217 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4218 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4219 * apropos.el (apropos-safe-documentation):
4220 * subr.el (symbol-file): Remove redundant fboundp.
4221 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4222
4223 2014-01-06 Bastien Guerry <bzg@gnu.org>
4224
4225 * hl-line.el (global-hl-line-overlay): Make a local variable.
4226 (global-hl-line-overlays): New variable to store all overlays.
4227 (global-hl-line-mode): Don't delete overlays from the current
4228 buffer when `global-hl-line-sticky-flag' is non-nil.
4229 (global-hl-line-highlight): Add new overlays to
4230 `global-hl-line-overlays'.
4231 (global-hl-line-unhighlight-all): New function to delete all
4232 overlays when turning off `global-hl-line-mode'.
4233 This fixes Bug#16183.
4234
4235 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * subr.el (set-transient-map): Fix nested case and docstring.
4238
4239 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4240
4241 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4242 `Texinfo' entry.
4243
4244 2014-01-06 Daniel Colascione <dancol@dancol.org>
4245
4246 Fix defun navigation in vc log view.
4247
4248 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4249 like `beginning-of-defun'.
4250 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4251 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4252 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4253 (log-view-extract-comment): Call `log-view-current-entry' directly
4254 instead of relying on broken `log-view-beginning-of-defun' behavior.
4255
4256 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4257
4258 Spelling fixes.
4259 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4260 * emacs-lisp/debug.el (cancel-debug-on-entry):
4261 * epg.el (epg-error-to-string):
4262 * files.el (recover-file):
4263 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4264 * mail/emacsbug.el (report-emacs-bug-hook):
4265 * mail/sendmail.el (mail-recover):
4266 * ses.el (ses-yank-resize):
4267 * term/ns-win.el (ns-print-buffer):
4268 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4269 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4270 All uses changed.
4271 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4272
4273 2014-01-06 Leo Liu <sdl.web@gmail.com>
4274
4275 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4276 to avoid shadowing global key. (Bug#16354)
4277
4278 2014-01-06 Daniel Colascione <dancol@dancol.org>
4279
4280 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4281 rst-mode.
4282
4283 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4284
4285 * window.el (balance-windows): Add mising t to fix Bug#16351.
4286
4287 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4288
4289 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4290 (bug#16285).
4291 (shr-insert): If we have a word that's longer than `shr-width',
4292 break after it anyway. Otherwise we'll do no breaking once we get
4293 such a long word.
4294
4295 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4296
4297 * net/eww.el (eww): Support single/double quote for search.
4298 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4299 (eww-history-quit): Delete and use quit-window.
4300 (eww-history-kill): Delete, because it doesn't work well and
4301 not necessary.
4302 (eww-history-mode-map): Delete some keys and add easy-menu.
4303
4304 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4305
4306 Fix misspelling of 'chinese' in rx (Bug#16237).
4307 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4308 chinese-two-byte.
4309
4310 Change subword regexps back to vars (Bug#16296).
4311 * progmodes/subword.el (subword-forward-regexp)
4312 (subword-backward-regexp): Change these back to variables.
4313
4314 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4317 syntax-begin-function (bug#16247).
4318
4319 2014-01-03 Chong Yidong <cyd@gnu.org>
4320
4321 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4322 (advice--docstring): Delete variable.
4323 (advice--make-1): Leave the docstring empty.
4324 (advice-add): Use function-documentation for advised docstring.
4325
4326 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4327 Ignore function-documentation property when getting documentation.
4328 (ad-activate-advised-definition): Use function-documentation
4329 generate the docstring.
4330 (ad-make-advised-definition): Don't call
4331 ad-make-advised-definition-docstring.
4332 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4333 Delete functions.
4334
4335 * progmodes/sql.el (sql-help): Use function-documentation instead
4336 of dynamic-docstring-function property. No need to autoload now.
4337 (sql--help-docstring): New variable.
4338 (sql--make-help-docstring): Use it.
4339
4340 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * ielm.el (ielm-tab): Retarget.
4343 (ielm-map): Use ielm-tab for tab.
4344 (ielm-complete-filename): Use comint-filename-completion.
4345 (ielm-complete-symbol): Remove.
4346 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4347 remove ielm-tab from completion-at-point-functions (bug#16224).
4348
4349 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4350 Beware signals raised by predicates (bug#16201).
4351
4352 2014-01-02 Richard Stallman <rms@gnu.org>
4353
4354 * dired-aux.el (dired-do-print): Handle printer-name.
4355
4356 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4357 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4358 (rmail-epa-decrypt): Turn off mime processing.
4359
4360 * mail/rmail.el (rmail-make-in-reply-to-field):
4361 Add parens in message-id.
4362
4363 * mail/rmail.el (rmail-get-coding-function): Variable.
4364 (rmail-get-coding-system): Use it.
4365
4366 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4367
4368 * international/mule-conf.el: Unify the charset indian-is13194.
4369 (indian-is13194): Specify unify-map.
4370
4371 2013-12-31 Leo Liu <sdl.web@gmail.com>
4372
4373 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4374
4375 2013-12-30 Daniel Colascione <dancol@dancol.org>
4376
4377 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4378 of printing a useless when we resume from sleep.
4379
4380 * progmodes/sh-script.el
4381 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4382 in indentation code. (Bug#16233)
4383
4384 2013-12-28 João Távora <joaotavora@gmail.com>
4385
4386 * elec-pair.el (electric-pair-post-self-insert-function):
4387 Don't open extra newlines at beginning of buffer. (Bug#16272)
4388
4389 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4390
4391 * frame.el (window-system-for-display): Don't allow to create a
4392 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4393
4394 2013-12-28 Glenn Morris <rgm@gnu.org>
4395
4396 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4397 Update callers.
4398
4399 * apropos.el (apropos-match-face):
4400 * calculator.el (calculator-displayer):
4401 * dabbrev.el (dabbrev-search-these-buffers-only):
4402 * face-remap.el (buffer-face-mode-face):
4403 * simple.el (yank-handled-properties):
4404 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4405 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4406 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4407 (hashcash-double-spend-database):
4408 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4409 (ruby-deep-indent-paren-style):
4410 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4411 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4412 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4413 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4414 Specify custom types.
4415
4416 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4417 * bookmark.el (bookmark-bmenu-use-header-line):
4418 * doc-view.el (doc-view-scale-internally):
4419 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4420 * register.el (register-preview-delay):
4421 * net/shr.el (shr-bullet):
4422 * progmodes/cfengine.el (cfengine-cf-promises)
4423 (cfengine-parameters-indent):
4424 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4425 * textmodes/reftex-vars.el (reftex-label-regexps):
4426 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4427
4428 * net/tls.el (tls-certtool-program): Fix default value.
4429
4430 * desktop.el (desktop-restore-in-current-display):
4431 * newcomment.el (comment-empty-lines):
4432 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4433 (idlwave-pad-keyword):
4434 * progmodes/tcl.el (tcl-tab-always-indent):
4435 * textmodes/reftex-vars.el (reftex-index-default-tag):
4436 * elec-pair.el (electric-pair-skip-whitespace):
4437 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4438
4439 * emacs-lisp/authors.el (authors-ignored-files)
4440 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4441
4442 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4443
4444 * shell.el (shell-dynamic-complete-command): Doc fix.
4445 (shell--command-completion-data): Shell completion now matches
4446 executable filenames from the current buffer's directory, on
4447 systems in which this behavior is the default (windows-nt, ms-dos).
4448
4449 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4450
4451 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4452
4453 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4456 (bug#16251).
4457
4458 * electric.el: Move all electric-pair-* to elec-pair.el.
4459 * elec-pair.el: New file, split from electric.el.
4460
4461 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4462
4463 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4464 indentation level is larger than the width, because that will
4465 infloop.
4466 (shr-insert): Fill repeatedly long texts, so that Japanese is
4467 formatted correctly (bug#16263).
4468 (shr-find-fill-point): Off by one error in comparison with the
4469 indentation.
4470
4471 2013-12-26 João Távora <joaotavora@gmail.com>
4472
4473 * electric.el (electric-pair-mode): More flexible engine for skip-
4474 and inhibit predicates, new options for pairing-related functionality.
4475 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4476 if that keeps or improves their balance in buffers.
4477 (electric-pair-delete-adjacent-pairs): Delete the pair when
4478 backspacing over adjacent matched delimiters.
4479 (electric-pair-open-extra-newline): Open extra newline when
4480 inserting newlines between adjacent matched delimiters.
4481 (electric--sort-post-self-insertion-hook):
4482 Sort post-self-insert-hook according to priority values when
4483 minor-modes are activated.
4484 * simple.el (newline-and-indent): Call newline with interactive
4485 set to t.
4486 (blink-paren-post-self-insert-function): Set priority to 100.
4487 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4488 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4489 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4490 electric-pair-open-newline-between-pairs to nil.
4491
4492 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4493
4494 * progmodes/python.el: Use lexical-binding.
4495 (python-nav-beginning-of-defun): Stop searching ASAP.
4496
4497 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4498
4499 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4500 Fix interactive spec. Doc fix. (Bug#15754)
4501
4502 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4503
4504 * emacs-lisp/byte-run.el (eval-when-compile):
4505 * progmodes/cc-defs.el (cc-eval-when-compile):
4506 Fix edebug spec (bug#16184).
4507
4508 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4509
4510 * net/shr.el (shr-visit-file): Remove debugging function.
4511 (shr-insert): Don't infloop if we can't find a good place to break
4512 the line (bug#16256).
4513
4514 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4515
4516 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4517 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4518 python-nav-lisp-forward-sexp-safe.
4519 (python-nav--forward-sexp): New argument SAFE allows switching
4520 forward sexp movement behavior for parens.
4521 (python-nav-forward-sexp): Throw errors on unterminated parens
4522 (Bug#16191).
4523 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4524 (python-nav-backward-sexp-safe): New functions.
4525 (python-shell-buffer-substring):
4526 Use `python-nav-forward-sexp-safe'.
4527
4528 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4529
4530 * net/shr.el (shr-find-fill-point): Don't break lines before a
4531 quotation mark.
4532 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4533 (shr-find-fill-point): Remove the special checks for the quotation
4534 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4535
4536 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4537
4538 * net/eww.el (eww-form-textarea): Use a different face for
4539 textareas than text input since they have different keymaps
4540 (bug#16142).
4541
4542 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4543
4544 * progmodes/python.el (python-nav-beginning-of-statement):
4545 Speed up (Bug#15295).
4546
4547 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4548
4549 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4550 the window configuration.
4551
4552 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4553
4554 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4555 we run on MS-Windows or MS-DOS.
4556
4557 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4558
4559 * window.el (balance-windows-area): Call window-size instead of
4560 window-height and window-width. Bug#16241.
4561
4562 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4563
4564 * net/eww.el (eww-bookmark-quit): Remove.
4565 (eww-bookmark-browse): Restore the window configuration when you
4566 choose a bookmark (bug#16144).
4567
4568 2013-12-24 Daniel Colascione <dancol@dancol.org>
4569
4570 * icomplete.el: Remove redundant :group arguments to `defcustom'
4571 throughout.
4572 (icomplete-show-matches-on-no-input): New customizable variable.
4573 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4574 we have something to show.
4575 (icomplete-exhibit): Compute completions even if we have no user input.
4576
4577 2013-12-23 Daniel Colascione <dancol@dancol.org>
4578
4579 * icomplete.el: Move `provide' to end of file.
4580
4581 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4582
4583 * net/gnutls.el (gnutls-verify-error): Add version tag.
4584
4585 2013-12-23 Chong Yidong <cyd@gnu.org>
4586
4587 * subr.el (set-transient-map): Rename from
4588 set-temporary-overlay-map. Doc fix.
4589
4590 * face-remap.el (text-scale-adjust):
4591 * indent.el (indent-rigidly):
4592 * kmacro.el (kmacro-call-macro):
4593 * minibuffer.el (minibuffer-force-complete):
4594 * repeat.el (repeat):
4595 * simple.el (universal-argument--mode):
4596 * calendar/todo-mode.el (todo-insert-item--next-param):
4597 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4598
4599 * indent.el (indent-rigidly): Use substitute-command-keys.
4600
4601 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4602
4603 * net/eww.el (eww-tag-select): Add text-property to jump to next
4604 select field.
4605 (eww): Add non-supported ftp error.
4606
4607 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4608
4609 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4610 comments. Handle electric indent after typing `?' and `!'.
4611
4612 2013-12-22 Chong Yidong <cyd@gnu.org>
4613
4614 * faces.el (face-spec-recalc): If the theme specs are not
4615 applicable to a frame, fall back on the defface spec.
4616 This prevents themes from obliterating faces on low-color terminals.
4617
4618 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4619
4620 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4621 after `{'. We need it after block openers, and it doesn't seem
4622 to hurt after hash openers.
4623
4624 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4625
4626 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4627 extracted from `ruby-smie-rules'.
4628 (ruby--electric-indent-chars): New variable.
4629 (ruby--electric-indent-p): New function.
4630 (ruby-mode): Use `electric-indent-functions' instead of
4631 `electric-indent-chars'.
4632
4633 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4634
4635 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4636 docstring.
4637 (ruby-smie-rules): Indent plus one level after `=>'.
4638
4639 2013-12-21 Richard Stallman <rms@gnu.org>
4640
4641 * simple.el (newline): Doc fix.
4642
4643 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4644
4645 * net/eww.el (eww-list-histories, eww-list-histories)
4646 (eww-history-browse, eww-history-quit, eww-history-kill)
4647 (eww-history-mode-map, eww-history-mode): New command and
4648 functions to list browser histories.
4649 (eww-form-text): Support text form with disabled
4650 and readonly attributes.
4651 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4652
4653 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4654
4655 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4656 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4657 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4658 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4659 Use `user-error'.
4660 (eww-bookmark-mode-map): Add menu.
4661 (eww-render, eww-mode): Use `setq-local'.
4662 (eww-tool-bar-map): New variable.
4663 (eww-mode): Set `tool-bar-map'.
4664 (eww-view-source): Check for `html-mode' with `fboundp'.
4665
4666 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4667
4668 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4669 elements with text inside. Also remove debugging.
4670
4671 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4672
4673 * cus-start.el (all): Add ns-use-srgb-colorspace.
4674
4675 2013-12-21 Chong Yidong <cyd@gnu.org>
4676
4677 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4678 undefined. Thus, theme settings for undefined faces do not take
4679 effect until the faces are defined with defface, the same as with
4680 theme variables.
4681
4682 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4683 (face-spec-reset-face): Don't assign extra properties in temacs.
4684 (face-spec-recalc): Apply X resources too.
4685
4686 2013-12-21 Chong Yidong <cyd@gnu.org>
4687
4688 * faces.el (face-spec-set):
4689 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4690 * custom.el (defface): Doc fixes (Bug#16203).
4691
4692 * indent.el (indent-rigidly-map): Add docstring, and move commands
4693 into named functions.
4694 (indent-rigidly-left, indent-rigidly-right)
4695 (indent-rigidly-left-to-tab-stop)
4696 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4697 indentation direction based on bidi direction, and accumulate
4698 sequential commands in a single undo boundary.
4699 (indent-rigidly--pop-undo): New utility function.
4700
4701 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4702
4703 * faces.el (read-face-name): Require crm.el when using crm-separator.
4704
4705 2013-12-20 Daniel Colascione <dancol@dancol.org>
4706
4707 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4708 so that we don't reflow comments into the shebang line.
4709
4710 2013-12-20 Juri Linkov <juri@jurta.org>
4711
4712 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4713 a position when `dired-directory' is non-nil. Check integer
4714 positions with `integerp'.
4715 (toggle-save-place, save-places-to-alist): Add check for
4716 `dired-directory'.
4717 (save-place-find-file-hook): Check integer positions with
4718 `integerp'.
4719 (save-place-dired-hook): Use `dired-goto-file' when
4720 `dired-filename' is found in the assoc list. Check integer
4721 positions with `integerp'.
4722 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4723
4724 * dired.el (dired-initial-position-hook): Rename back from
4725 `dired-initial-point-hook'.
4726 (dired-initial-position): Rename `dired-initial-point-hook' to
4727 `dired-initial-position-hook'.
4728 (dired-file-name-at-point): Doc fix. (Bug#15329)
4729
4730 2013-12-20 Juri Linkov <juri@jurta.org>
4731
4732 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4733 (read-regexp-suggestions): New function.
4734 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4735 Use `read-regexp-suggestions'. Add non-empty default to history
4736 for empty input.
4737 (occur-read-regexp-defaults-function): Remove function.
4738 (occur-read-primary-args): Use `regexp-history-last' instead of
4739 `occur-read-regexp-defaults-function'.
4740
4741 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4742 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4743 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4744 `hi-lock-read-regexp-defaults-function'. Doc fix.
4745 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4746 with `find-tag-default-as-symbol-regexp'. Doc fix.
4747 (hi-lock-read-regexp-defaults): Remove function.
4748 (hi-lock-regexp-okay): Add check for null.
4749
4750 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4751 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4752
4753 * subr.el (find-tag-default-as-symbol-regexp): New function.
4754 (find-tag-default-as-regexp): Move symbol regexp formatting to
4755 `find-tag-default-as-symbol-regexp'.
4756
4757 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4758
4759 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4760 (Bug#14179)
4761
4762 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4763
4764 * calendar/todo-mode.el: New implementation of item insertion
4765 commands and key bindings.
4766 (todo-key-prompt): New face.
4767 (todo-insert-item): New command.
4768 (todo-insert-item--parameters): New defconst, replacing defvar
4769 todo-insertion-commands-args-genlist.
4770 (todo-insert-item--param-key-alist): New defconst, replacing
4771 defvar todo-insertion-commands-arg-key-list.
4772 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4773 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4774 (todo-insert-item--next-param): New functions.
4775 (todo-insert-item--args, todo-insert-item--argleft)
4776 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4777 New variables.
4778 (todo-key-bindings-t): Change binding of "i" from
4779 todo-insertion-map to todo-insert-item.
4780 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4781 (todo-insertion-command-name, todo-insertion-commands-names)
4782 (todo-define-insertion-command, todo-insertion-commands)
4783 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4784
4785 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4786
4787 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4788 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4789 eval-when-compile.
4790 (todo-move-category): Allow choosing a non-existing todo file to
4791 move the category to, and create that file.
4792 (todo-default-priority): New user option.
4793 (todo-set-item-priority): Use it.
4794 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4795 (desktop-restore-file-buffer): Declare.
4796 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4797 (todo-modes-set-2): Locally set desktop-save-buffer to
4798 todo-desktop-save-buffer.
4799 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4800 (auto-mode-alist): Add autoload cookie.
4801
4802 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4803
4804 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4805 helpers.el was a poor choice of name.
4806 (string-remove-prefix): New function.
4807 (string-remove-suffix): New function.
4808
4809 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4810
4811 Fix assignment for new window total sizes.
4812 * window.el (window--pixel-to-size): Remove function.
4813 (window--pixel-to-total-1, window--pixel-to-total):
4814 Fix calculation of new total sizes.
4815
4816 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4817
4818 * comint.el (comint-output-filter): Fix rear-nonsticky property
4819 placement (Bug#16010).
4820
4821 2013-12-20 Chong Yidong <cyd@gnu.org>
4822
4823 * faces.el (read-color): Minor fix for completion function.
4824
4825 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4826
4827 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4828 New option. (Bug#16182)
4829 (ruby-smie--indent-to-stmt-p): Use it.
4830 (ruby-smie-rules): Revert the logic in the handling of `when'.
4831 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4832 (ruby-deep-arglist, ruby-deep-indent-paren)
4833 (ruby-deep-indent-paren-style): Update docstrings to note that the
4834 vars don't have any effect with SMIE.
4835
4836 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4837
4838 * calc/calc.el (calc-enter, calc-pop): Use the variable
4839 `calc-context-sensitive-enter'.
4840
4841 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842
4843 * net/shr.el (shr-insert): Protect against infloops in degenerate
4844 tables.
4845
4846 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4847
4848 * progmodes/octave.el (octave): Add link to manual and octave
4849 homepage.
4850 (octave-mode-menu): Link to octave-mode manual.
4851
4852 2013-12-20 Leo Liu <sdl.web@gmail.com>
4853
4854 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4855 insertion using skeleton-end-newline. (Bug#16138)
4856
4857 2013-12-20 Juri Linkov <juri@jurta.org>
4858
4859 * replace.el (occur-engine): Use `add-face-text-property'
4860 to add the face property to matches and titles. (Bug#14645)
4861
4862 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4863 the palette of other hi-lock colors.
4864 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4865
4866 2013-12-19 Juri Linkov <juri@jurta.org>
4867
4868 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4869 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4870 (minibuffer-history-symbol): Move variable declaration closer to
4871 its usage.
4872
4873 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4874 (Bug#14785)
4875
4876 2013-12-19 Juri Linkov <juri@jurta.org>
4877
4878 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4879 New function.
4880 (log-edit-hook): Add it to :options. (Bug#16170)
4881
4882 2013-12-19 Juri Linkov <juri@jurta.org>
4883
4884 * simple.el (eval-expression-print-format): Don't check for
4885 command names and the last command. Always display additional
4886 formats of the integer result in the echo area, and insert them
4887 to the current buffer only with a zero prefix arg.
4888 Display character when char-displayable-p is non-nil.
4889 (eval-expression): With a zero prefix arg, set `print-length' and
4890 `print-level' to nil, and insert the integer values from
4891 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4892
4893 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4894 `eval-last-sexp-arg-internal'. Doc fix.
4895 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4896 `eval-last-sexp-print-value'. Doc fix.
4897 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4898 Set `print-length' and `print-level' to nil when arg is zero.
4899 (eval-last-sexp): Doc fix.
4900 (eval-defun-2): Print the integer values from
4901 `eval-expression-print-format' at the end.
4902
4903 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4904 values from `eval-expression-print-format' at the end.
4905
4906 * ielm.el (ielm-eval-input): Print the integer
4907 values from `eval-expression-print-format' at the end.
4908
4909 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4910
4911 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4912 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4913
4914 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4917 (hl-line-highlight, global-hl-line-highlight): Use it.
4918 (hl-line-overlay): Use defvar-local.
4919
4920 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4921
4922 * term/ns-win.el: Require dnd.
4923 (global-map): Remove drag items.
4924 (ns-insert-text, ns-set-foreground-at-mouse)
4925 (ns-set-background-at-mouse):
4926 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4927 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4928 New functions.
4929
4930 2013-12-19 Glenn Morris <rgm@gnu.org>
4931
4932 * emacs-lisp/ert.el (ert-select-tests):
4933 Fix string/symbol mixup. (Bug#16121)
4934
4935 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4936
4937 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4938 keywords to their parent.
4939
4940 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4941
4942 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4943 first arg to be a string (fixed dead code), or an operator symbol.
4944 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4945 operator symbols.
4946 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4947 did nothing. Don't respond to `(:after ".")', it will be called
4948 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4949 change anything. Only return indentation for binary operators
4950 when they are hanging. De-dent opening paren when its parent is
4951 `.', otherwise it looks bad when the dot is not at bol or eol
4952 (bug#16182).
4953
4954 2013-12-19 Juri Linkov <juri@jurta.org>
4955
4956 * replace.el (query-replace-read-args): Split a non-negative arg
4957 and a negative arg into separate elements.
4958 (query-replace, query-replace-regexp, replace-string)
4959 (replace-regexp): Add arg `backward'. Doc fix.
4960 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4961 move point to the beginning of the match.
4962 (replace-search, replace-highlight): Use new arg `backward'
4963 to set the value of `isearch-forward'.
4964 (perform-replace): Add arg `backward' and use it to perform
4965 replacement backward. (Bug#14979)
4966
4967 * isearch.el (isearch-query-replace): Use a negative prefix arg
4968 to call `perform-replace' with a non-nil arg `backward'.
4969
4970 2013-12-18 Juri Linkov <juri@jurta.org>
4971
4972 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4973 to the default list. Move `log-edit-show-files' to the end.
4974 Add more available functions to options.
4975 (log-edit): Move default specific settings to
4976 `log-edit-insert-message-template'. Don't move point.
4977 (log-edit-insert-message-template): New function.
4978 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4979 (Bug#16170)
4980
4981 2013-12-18 Juri Linkov <juri@jurta.org>
4982
4983 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4984 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4985
4986 2013-12-18 Leo Liu <sdl.web@gmail.com>
4987
4988 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4989 (Bug#16186)
4990
4991 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4992
4993 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4994 formats for displaying file sizes when the -s switch is given.
4995 Instead, compute a separate format for displaying the size in
4996 blocks, which is displayed in addition to the "regular" size.
4997 When -h is given in addition to -s, produce size in blocks in
4998 human-readable form as well. (Bug#16179)
4999
5000 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5001
5002 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5003 Reference tables with ~\ref{...} instead of only \ref{...}.
5004
5005 2013-12-18 Chong Yidong <cyd@gnu.org>
5006
5007 * cus-edit.el (custom-magic-alist): Fix "themed" description
5008 (Bug#14348).
5009
5010 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5011 is non-nil, do not create a new entry in the symbol's theme-value
5012 or theme-face property; update theme-settings only (Bug#14664).
5013 (custom-available-themes): Doc fix.
5014
5015 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5016 (Bug#15674).
5017
5018 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5019
5020 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5021
5022 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5023 (Bug#13914).
5024
5025 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5026
5027 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5028
5029 2013-12-18 Glenn Morris <rgm@gnu.org>
5030
5031 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5032 * cus-start.el (load-prefer-newer): New option.
5033
5034 2013-12-18 Le Wang <l26wang@gmail.com>
5035
5036 * comint.el (comint-previous-matching-input-from-input):
5037 Retain point (Bug#13404).
5038
5039 2013-12-18 Chong Yidong <cyd@gnu.org>
5040
5041 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5042
5043 2013-12-18 Glenn Morris <rgm@gnu.org>
5044
5045 * mail/emacsbug.el (report-emacs-bug):
5046 Only mention enable-multibyte-characters if non-standard.
5047
5048 2013-12-17 Juri Linkov <juri@jurta.org>
5049
5050 * arc-mode.el (archive-extract-by-file): Check if directory exists
5051 before deletion to not show irrelevant errors if it doesn't exist.
5052
5053 2013-12-17 Juri Linkov <juri@jurta.org>
5054
5055 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5056 (Bug#14751)
5057
5058 * net/eww.el (browse-web): Add alias to `eww'.
5059 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5060 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5061
5062 * net/browse-url.el (browse-url-browser-function): Move `eww'
5063 closer to similar functions.
5064
5065 * startup.el (fancy-startup-screen, fancy-about-screen):
5066 Set browse-url-browser-function to eww-browse-url locally.
5067 (Bug#14751)
5068
5069 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * window.el (window--pixel-to-total): Remove unused `mini' var.
5072 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5073 (split-window): Remove unused `new' var.
5074 (window--display-buffer): Remove unused `frame' and `delta' vars.
5075 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5076 and display-width'.
5077
5078 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5079
5080 * dired.el (dired-mark-pop-up):
5081 * register.el (register-preview): Don't bind
5082 split-height-threshold here since it's now done in
5083 display-buffer-below-selected.
5084
5085 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5086
5087 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5088 xterm-rgb-convert-to-16bit.
5089 (rxvt-register-default-colors): Standardize with
5090 xterm-register-default-colors (Bug#14078).
5091
5092 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5093
5094 * simple.el (kill-region): Pass mark first, then point, so that
5095 kill-append works right (Bug#12819).
5096 (copy-region-as-kill, kill-ring-save): Likewise.
5097
5098 2013-12-17 Leo Liu <sdl.web@gmail.com>
5099
5100 * net/rcirc.el (rcirc-add-face):
5101 * eshell/em-prompt.el (eshell-emit-prompt):
5102 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5103 (Bug#16167)
5104
5105 2013-12-17 Chong Yidong <cyd@gnu.org>
5106
5107 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5108 Suggested by Xue Fuqiao.
5109
5110 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5111
5112 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5113
5114 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * net/shr.el (shr-insert-document): Remove unused var
5117 `shr-preliminary-table-render'.
5118 (shr-rescale-image): Remove unused arg `force'.
5119 (shr-put-image): Update calls accordingly.
5120 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5121
5122 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5123
5124 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5125 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5126 :close-all, to see which indentation method to use (Bug#16116).
5127 (smie-rules-function): Document the method :close-all.
5128
5129 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5130
5131 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5132
5133 * net/eww.el (eww-display-html): If we can't find the anchor we're
5134 looking for, then go to point-min.
5135
5136 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5137
5138 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5139 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5140 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5141 Expand dir too, in case it's relative.
5142
5143 2013-12-16 Juri Linkov <juri@jurta.org>
5144
5145 * desktop.el (desktop-auto-save-timeout): Change default to
5146 `auto-save-timeout'. Doc fix.
5147 (desktop-save): Skip the timestamp in desktop-saved-frameset
5148 when checking for auto-save changes.
5149 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5150 `desktop-auto-save' is called repeatedly by the idle timer.
5151 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5152 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5153 (Bug#15331)
5154
5155 2013-12-16 Juri Linkov <juri@jurta.org>
5156
5157 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5158 (Bug#16035)
5159 (isearch-pre-command-hook): Check `this-command' for symbolp.
5160
5161 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5164
5165 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5166
5167 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5168 (cfengine3--current-function): Bring in the current-function
5169 functionality from `cfengine3--current-word'.
5170 (cfengine3-completion-function): Bring in the
5171 bounds-of-current-word functionality from
5172 `cfengine3--current-word'.
5173
5174 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5175
5176 * window.el (display-buffer-below-selected):
5177 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5178
5179 2013-12-16 Leo Liu <sdl.web@gmail.com>
5180
5181 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5182 Remove NOMSG arg and all uses changed.
5183
5184 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5187 (cua--deactivate-rectangle): Don't deactivate the mark.
5188 (cua-set-rectangle-mark): Don't set mark-active since
5189 cua--activate-rectangle already does it for us.
5190 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5191 non-rectangular region.
5192
5193 * emulation/cua-base.el (cua-repeat-replace-region):
5194 Use with-current-buffer.
5195
5196 * net/gnutls.el: Use cl-lib.
5197 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5198
5199 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5200
5201 * emacs-lisp/package.el (package-built-in-p): Support both
5202 built-in and the package.el converted package descriptions.
5203 (package-show-package-list): Allow keywords.
5204 (package-keyword-button-action): Use it instead of
5205 `finder-list-matches'.
5206 (package-menu-filter-interactive): Interactive filtering (by
5207 keyword) function.
5208 (package-menu--generate): Support keywords and change keymappings
5209 and headers when they are given.
5210 (package--has-keyword-p): Helper function.
5211 (package-menu--refresh): Use it.
5212 (package--mapc): Helper function.
5213 (package-all-keywords): Use it.
5214 (package-menu-mode-map): Set up menu items and keybindings to
5215 provide a filtering UI.
5216
5217 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5218
5219 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5220 the behavior when a certificate fails validation. Defaults to
5221 old behavior: never abort, just warn.
5222 (gnutls-negotiate): Use it.
5223
5224 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5225
5226 * window.el (display-buffer-below-selected): Never split window
5227 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5228
5229 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5230
5231 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5232 (package-buffer-info): Use it (bug#15108).
5233
5234 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * icomplete.el (icomplete-completions): Make sure the prefix is already
5237 displayed elsewhere before hiding it (bug#16219).
5238
5239 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5240
5241 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5242 open-paren tokens when preceded by a open-paren, too.
5243 (ruby-smie-rules): Handle virtual indentation after open-paren
5244 tokens specially. If there is code between it and eol, return the
5245 column where is starts (Bug#16118).
5246
5247 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5248
5249 * progmodes/cfengine.el: Fix `add-hook' doc.
5250 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5251 (cfengine3--current-word): Fix parameters.
5252 (cfengine3-make-syntax-cache): Simplify further.
5253 (cfengine3-completion-function, cfengine3--current-function):
5254 Use `assq' for symbols.
5255 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5256
5257 2013-12-13 Glenn Morris <rgm@gnu.org>
5258
5259 * loadup.el (load-path): Warn if site-load or site-init changes it.
5260 No more need to reset it when bootstrapping.
5261
5262 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5263
5264 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5265 locations for cf-promises.
5266 (cfengine-mode-syntax-functions-regex): New caching variable.
5267 (cfengine3-fallback-syntax): Fallback syntax for cases where
5268 cf-promises doesn't run.
5269 (cfengine3--current-word): Reimplement using
5270 `cfengine-mode-syntax-functions-regex'.
5271 (cfengine3-completion-function, cfengine3--current-function):
5272 Use `cfengine3-make-syntax-cache' directly.
5273 (cfengine3-clear-syntax-cache): New function.
5274 (cfengine3-make-syntax-cache): Simplify and create
5275 `cfengine-mode-syntax-functions-regex' on demand.
5276 (cfengine3-format-function-docstring): Don't call
5277 `cfengine3-make-syntax-cache' explicitly.
5278
5279 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5280
5281 Fix windmove-find-other-window broken after pixelwise resizing
5282 (Bug#16017).
5283 * windmove.el (windmove-other-window-loc): Revert change from
5284 2013-12-04.
5285 (windmove-find-other-window): Call window-in-direction.
5286 * window.el (window-in-direction): New arguments SIGN, WRAP and
5287 MINI to emulate original windmove-find-other-window behavior.
5288
5289 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5290
5291 * simple.el (blink-matching--overlay): New variable.
5292 (blink-matching-open): Instead of moving point, highlight the
5293 matching paren with an overlay
5294 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5295
5296 * faces.el (paren-showing-faces, show-paren-match)
5297 (show-paren-mismatch): Move from paren.el.
5298
5299 2013-12-13 Leo Liu <sdl.web@gmail.com>
5300
5301 * indent.el (indent-region): Disable progress reporter in
5302 minibuffer. (Bug#16108)
5303
5304 * bindings.el (visual-order-cursor-movement): Fix version.
5305
5306 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5307
5308 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5309 Also match after beginning of line.
5310 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5311 files. Thanks to Russell Sim. (Bug#15378)
5312
5313 2013-12-13 Juri Linkov <juri@jurta.org>
5314
5315 * simple.el <Keypad support>: Remove key bindings duplicated
5316 with bindings.el. (Bug#14397)
5317
5318 2013-12-13 Juri Linkov <juri@jurta.org>
5319
5320 * comint.el (comint-mode-map): Replace `delete-char' with
5321 `delete-forward-char'. (Bug#16109)
5322
5323 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5324
5325 * progmodes/python.el (python-indent-calculate-indentation):
5326 Fix de-denters cornercase. (Bug#15731)
5327
5328 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5331 (advice--make): Pay attention to `depth'.
5332 (advice--make-1): Don't autoload commands eagerly.
5333 * emacs-lisp/elp.el (elp-instrument-function):
5334 * emacs-lisp/trace.el (trace-function-internal):
5335 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5336
5337 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5338
5339 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5340
5341 * term/w32-win.el (w32-handle-dropped-file):
5342 * startup.el (normal-top-level):
5343 * net/browse-url.el (browse-url-file-url):
5344 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5345 decode file names using 'utf-8' rather than
5346 file-name-coding-system.
5347
5348 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5349
5350 * progmodes/python.el (python-indent-context)
5351 (python-indent-calculate-indentation): Fix auto-identation
5352 behavior for comment blocks. (Bug#15916)
5353
5354 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5355
5356 * progmodes/python.el (python-indent-calculate-indentation):
5357 When determining indentation, don't treat "return", "pass", etc., as
5358 operators when they are just string constituents. (Bug#15812)
5359
5360 2013-12-12 Juri Linkov <juri@jurta.org>
5361
5362 * uniquify.el (uniquify-buffer-name-style): Change default to
5363 `post-forward-angle-brackets'.
5364
5365 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5366 `uniquify'. Change default to `post-forward-angle-brackets'.
5367
5368 2013-12-11 Glenn Morris <rgm@gnu.org>
5369
5370 * emacs-lisp/package.el (finder-list-matches):
5371 Autoload rather than falsely declaring.
5372
5373 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5374
5375 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5376 (eww-mode-map): Use them.
5377
5378 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5379
5380 * window.el (display-buffer-in-side-window): Fix doc-string
5381 (Bug#16115).
5382
5383 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5384
5385 * vc/vc-git.el: Silence byte-compiler warnings.
5386 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5387 (log-edit-set-header): Declare.
5388
5389 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5390
5391 * Makefile.in (custom-deps, finder-data): Run output file names
5392 through unmsys--file-name. (Bug#16099)
5393
5394 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5397 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5398
5399 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5400 instead of deleting the selection "by hand" (bug#16098).
5401 Rely on insert-for-yank to yank rectangles.
5402 (cua-highlight-region-shift-only): Mark obsolete.
5403 (cua-mode): Don't enable/disable transient-mark-mode,
5404 shift-select-mode (cua-mode works both with and without them), and
5405 pc-selection-mode (obsolete).
5406 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5407 (cua--deactivate-rectangle): Deactivate it.
5408
5409 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5410 (delete-selection-helper): Make sure yank starts at the top of the
5411 deleted region.
5412 (minibuffer-keyboard-quit): Use region-active-p.
5413
5414 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5415
5416 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5417 to `delete' (bug#16109).
5418
5419 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5420
5421 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5422 info manual and show keybindings and set `:group' keyword.
5423
5424 2013-12-11 Juri Linkov <juri@jurta.org>
5425
5426 * delsel.el (delete-active-region): Let-bind `this-command'
5427 to prevent `kill-region' from changing its original value.
5428 (delete-selection-helper): Handle `overwrite-mode' for the type
5429 `kill' exactly the same way as for the type `t'.
5430 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5431 Support more commands. (Bug#13312)
5432
5433 2013-12-11 Juri Linkov <juri@jurta.org>
5434
5435 * bindings.el: Map kp keys to non-kp keys systematically
5436 with basic modifiers control, meta and shift. (Bug#14397)
5437
5438 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5439
5440 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5441 "Close browser" menu items. Fix wrong function of "List
5442 bookmarks".
5443
5444 2013-12-11 Juri Linkov <juri@jurta.org>
5445
5446 * misearch.el (multi-isearch-buffers): Set the value of
5447 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5448 arg of isearch-forward to t.
5449 (multi-isearch-buffers-regexp): Set the value of
5450 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5451 arg of isearch-forward-regexp to t.
5452 (multi-isearch-files): Set the value of
5453 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5454 arg of isearch-forward to t.
5455 (multi-isearch-files-regexp): Set the value of
5456 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5457 arg of isearch-forward-regexp to t. (Bug#16035)
5458
5459 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5460 arg of isearch-forward to t.
5461 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5462 arg of isearch-forward-regexp to t.
5463 (dired-isearch-filter-filenames): Remove unnecessary check for
5464 `dired-isearch-filenames'.
5465
5466 * comint.el (comint-history-isearch-backward):
5467 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5468 (comint-history-isearch-backward-regexp):
5469 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5470
5471 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5472
5473 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5474 unmsys--file-name. (Bug#16099)
5475
5476 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5477
5478 * emacs-lisp/package.el (package-keyword-button-action):
5479 Remove finder.el require dependency.
5480
5481 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5482
5483 * emacs-lisp/package.el: Require finder.el.
5484 (describe-package-1): Add keyword buttons.
5485 (package-make-button): New convenience function.
5486 (package-keyword-button-action): Keyword button action using
5487 `finder-list-matches'.
5488
5489 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5490
5491 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5492 last commit.
5493
5494 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5495
5496 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5497 symlinked files.
5498
5499 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5500
5501 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5502 after the end of a percent literal.
5503
5504 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5505
5506 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5507 Handle caret-delimited strings (Bug#16079).
5508
5509 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5510
5511 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5512 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5513 `ruby-parse-partial' (Bug#16078).
5514
5515 2013-12-09 Leo Liu <sdl.web@gmail.com>
5516
5517 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5518
5519 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5520
5521 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5522 (js-switch-indent-offset): New option.
5523 (js--proper-indentation): Use it. And handle the case when
5524 "default" is actually a key in an object literal.
5525 (js--same-line): New function.
5526 (js--multi-line-declaration-indentation): Use it.
5527 (js--indent-in-array-comp, js--array-comp-indentation):
5528 New functions.
5529 (js--proper-indentation): Use them, to handle array comprehension
5530 continuations.
5531
5532 2013-12-08 Leo Liu <sdl.web@gmail.com>
5533
5534 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5535 (flymake-make-overlay): Remove arg MOUSE-FACE.
5536 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5537
5538 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5541 New function.
5542 (redisplay-highlight-region-function): Use it.
5543
5544 * emulation/cua-base.el (cua--explicit-region-start)
5545 (cua--last-region-shifted): Remove.
5546 (cua--deactivate): Use deactivate-mark.
5547 (cua--pre-command-handler-1): Don't handle shift-selection.
5548 (cua--post-command-handler-1): Don't change transient-mark-mode.
5549 (cua--select-keymaps): Use region-active-p rather than
5550 cua--explicit-region-start or cua--last-region-shifted.
5551 (cua-mode): Enable shift-select-mode.
5552
5553 2013-12-08 Leo Liu <sdl.web@gmail.com>
5554
5555 * progmodes/flymake.el (flymake-popup-current-error-menu):
5556 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5557 (flymake-posn-at-point-as-event, flymake-popup-menu)
5558 (flymake-make-emacs-menu): Remove. (Bug#16077)
5559
5560 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * rect.el (rectangle-mark-mode): Activate mark even if
5563 transient-mark-mode is off (bug#16066).
5564 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5565 is > mark and at bolp.
5566
5567 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5568 (region-extract-function): Use it.
5569 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5570 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5571 Delete functions.
5572 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5573 kill-ring-save, kill-region, delete-char, delete-forward-char.
5574 Ignore self-insert-iso.
5575
5576 * emulation/cua-gmrk.el (cua--init-global-mark):
5577 Ignore `self-insert-iso'.
5578
5579 * emulation/cua-base.el (cua--prefix-copy-handler)
5580 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5581 checking cua--rectangle.
5582 (cua-delete-region): Use region-extract-function.
5583 (cua-replace-region): Delete function.
5584 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5585 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5586 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5587 (cua--init-keymaps): Don't remap delete-selection commands.
5588 (cua-mode): Use delete-selection-mode instead of rolling our own
5589 (bug#16085).
5590
5591 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5592 Obey region-extract-function.
5593
5594 Make registers and delete-selection-mode work on rectangles.
5595 * register.el (describe-register-1): Don't modify the register's value.
5596 (copy-to-register): Obey region-extract-function.
5597 * delsel.el (delete-active-region): Obey region-extract-function.
5598
5599 2013-12-08 Leo Liu <sdl.web@gmail.com>
5600
5601 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5602 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5603 (flymake-compilation-prevents-syntax-check)
5604 (flymake-start-syntax-check-on-newline)
5605 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5606 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5607 (flymake-xml-program, flymake-master-file-dirs)
5608 (flymake-master-file-count-limit)
5609 (flymake-allowed-file-name-masks): Relocate.
5610 (flymake-makehash, flymake-float-time)
5611 (flymake-replace-regexp-in-string, flymake-split-string)
5612 (flymake-get-temp-dir): Remove.
5613 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5614 (flymake-current-row, flymake-selected-frame)
5615 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5616 related functions. (Bug#16077)
5617
5618 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5619
5620 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5621
5622 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5623
5624 * help-fns.el (describe-function-1): Use new advice-* functions
5625 rather than old ad-* functions. Fix function type description and
5626 source links for advised functions and subrs.
5627
5628 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5629
5630 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5631
5632 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5633
5634 * progmodes/compile.el (compilation-start):
5635 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5636
5637 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5638 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5639
5640 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5641
5642 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5643 Touch up the last change.
5644
5645 2013-12-06 Leo Liu <sdl.web@gmail.com>
5646
5647 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5648 (inferior-octave-startup): Always use "octave> " for prompt.
5649 (octave-goto-function-definition)
5650 (octave-sync-function-file-names)
5651 (octave-find-definition-default-filename): Remove redundant backquotes.
5652
5653 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5654
5655 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5656 syntax for `?'.
5657 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5658 where appropriate already.
5659 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5660 end of method names (Bug#15874).
5661
5662 2013-12-06 Juri Linkov <juri@jurta.org>
5663
5664 * isearch.el (isearch--saved-overriding-local-map):
5665 New internal variable.
5666 (isearch-mode): Set it to the initial value of
5667 `overriding-terminal-local-map'.
5668 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5669 with `isearch--saved-overriding-local-map'. (Bug#16035)
5670
5671 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5672
5673 * progmodes/octave.el (inferior-octave-completion-table):
5674 Turn back into function, use `completion-table-with-cache'
5675 (Bug#11906). Update all references.
5676
5677 * minibuffer.el (completion-table-with-cache): New function.
5678
5679 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5680
5681 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5682
5683 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5684
5685 * net/eww.el (eww-current-source): New variable to store page
5686 source.
5687 (eww-display-html, eww-mode, eww-save-history)
5688 (eww-restore-history): Use it.
5689 (eww-view-source): New command to view page source.
5690 Opportunistically uses `html-mode' to highlight the buffer.
5691 (eww-mode-map): Install it.
5692
5693 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5694
5695 * net/dbus.el (dbus-unregister-service)
5696 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5697 Fix docstring.
5698 (dbus-unregister-service): Skip :serial entries in
5699 `dbus-registered-objects-table'.
5700 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5701
5702 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5703
5704 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5705 around keywords with extra `split-string' argument.
5706
5707 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5708
5709 * windmove.el (windmove-other-window-loc): Handle navigation
5710 between windows (excluding the minibuffer window - Bug#16017).
5711
5712 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5713
5714 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5715 in D-Bus type syntax.
5716 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5717 preserve unibyte strings. (Bug#16048)
5718
5719 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5722 Call force-mode-line-update is the proper buffer (bug#16042).
5723
5724 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5725
5726 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5727 `log-edit-remember-comment', make argument optional. Adjust all
5728 callers.
5729 (log-edit-mode): Add `log-edit-remember-comment' to
5730 `kill-buffer-hook' locally.
5731 (log-edit-kill-buffer): Don't remember comment explicitly since
5732 the buffer is killed anyway.
5733
5734 2013-12-04 Juri Linkov <juri@jurta.org>
5735
5736 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5737 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5738
5739 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5740
5741 * notifications.el (notifications-close-notification): Call the
5742 D-Bus method with ID being a `:uint32'. (Bug#16030)
5743
5744 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5745
5746 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5747
5748 2013-12-03 Juri Linkov <juri@jurta.org>
5749
5750 * progmodes/compile.el (compilation-start): Rename window alist
5751 entry `no-display-ok' to `allow-no-window'.
5752
5753 * simple.el (shell-command): Add window alist entry
5754 `allow-no-window' to `display-buffer'.
5755 (async-shell-command): Doc fix.
5756
5757 * window.el (display-buffer-no-window): New action function.
5758 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5759
5760 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5761
5762 * vc/log-edit.el (log-edit-set-header): Extract from
5763 `log-edit-toggle-header'.
5764 (log-edit-extract-headers): Separate the summary, when extracted
5765 from header, from the rest of the message with an empty line.
5766
5767 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5768 line, if present, to the Summary header.
5769
5770 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5773 in current-buffer (bug#16029).
5774
5775 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5776
5777 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5778 (debugger-mode-map): Bind it.
5779 (debugger--backtrace-base): New function.
5780 (debugger-eval-expression): Use it.
5781 (debugger-frame-number): Skip local vars when present.
5782 (debugger--locals-visible-p, debugger--insert-locals)
5783 (debugger--show-locals, debugger--hide-locals): New functions.
5784
5785 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5788 "LC_ALL".
5789 (tramp-get-remote-locale): New defun.
5790 (tramp-open-connection-setup-interactive-shell): Use it.
5791
5792 2013-12-02 Leo Liu <sdl.web@gmail.com>
5793
5794 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5795
5796 * progmodes/sh-script.el (sh-shell-process):
5797 * progmodes/octave.el (inferior-octave-process-live-p):
5798 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5799 (gdb-inferior-io-sentinel):
5800 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5801
5802 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5803
5804 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5805 `save-selected-window' to `log-edit-hide-buf'. This makes
5806 `log-edit-show-files' idempotent.
5807 (log-edit-show-files): Mark the new window as dedicated.
5808
5809 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5810
5811 * vc/log-edit.el (log-edit-mode-map): Add binding for
5812 `log-edit-kill-biffer'.
5813 (log-edit-hide-buf): Add a FIXME comment.
5814 (log-edit-add-new-comment): New function, extracted from
5815 `log-edit-done'.
5816 (log-edit-done, log-edit-add-to-changelog): Use it.
5817 (log-edit-kill-buffer): New command.
5818
5819 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5820
5821 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5822 instead of killing the buffer.
5823
5824 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5827
5828 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5829
5830 * net/eww.el (eww-form-checkbox-selected-symbol)
5831 (eww-form-checkbox-symbol): New customizable variable.
5832 (eww-form-checkbox, eww-toggle-checkbox):
5833 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5834
5835 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5836 (shr--get-media-pref, shr--extract-best-source): New function.
5837 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5838 no :src tag was specified.
5839
5840 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5841 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5842 Use \\` to match beginning of string instead of ^.
5843 (eww-browse-with-external-browser): Provide optional URL parameter.
5844 (eww-render): Set `eww-current-title' back to "".
5845
5846 * net/shr.el (shr-tag-video): Display content for video if no
5847 poster is available.
5848 (shr-tag-audio): Add support for <audio> tag.
5849
5850 * net/eww.el (eww-text-input-types): New const.
5851 (eww-process-text-input): Treat input types in
5852 `eww-text-input-types' as text.
5853
5854 * net/shr.el (shr-tag-table): Fix comment typo.
5855
5856 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857
5858 * net/eww.el (eww-follow-link): New command to avoid reloading
5859 pages when we follow #target links (bug#15243).
5860 (eww-quit): Special mode buffers shouldn't query before exiting.
5861
5862 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5863
5864 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5865 forms.
5866
5867 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5868
5869 * net/eww.el (eww-restore-history): Update the window title after
5870 moving in the history.
5871 (eww-current-dom): New variable used to save the current DOM.
5872
5873 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5874
5875 * vc/log-edit.el (log-edit-mode-map): Add binding for
5876 `log-edit-beginning-of-line'.
5877 (log-edit-setup-add-author): New user option.
5878 (log-edit-beginning-of-line): New command.
5879 (log-edit): Move major mode call above the contents setup so that
5880 the local variable values are already applied.
5881 (log-edit): Only insert "Author: " when
5882 `log-edit-setup-add-author' is non-nil.
5883 (log-edit): When SETUP is non-nil, position point after ": "
5884 instead of point-min.
5885
5886 2013-12-01 Glenn Morris <rgm@gnu.org>
5887
5888 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5889
5890 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5891
5892 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5893 redisplay to make sure the initial frame gets a chance to become
5894 visible. (Bug#16014)
5895
5896 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5897
5898 Support resizing frames and windows pixelwise.
5899 * cus-start.el (frame-resize-pixelwise)
5900 (window-resize-pixelwise): New entries.
5901 * emacs-lisp/debug.el (debug): Use window-total-height instead
5902 of window-total-size.
5903 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5904 * help.el (describe-bindings-internal): Use help-buffer as
5905 argument for with-help-window.
5906 (temp-buffer-max-width): New option.
5907 (resize-temp-buffer-window, help-window-setup)
5908 (with-help-window): Rewrite.
5909 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5910 dragging dividers.
5911 * window.el (frame-char-size, window-min-pixel-height)
5912 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5913 (window-min-pixel-width, window-safe-min-pixel-size)
5914 (window-combination-p, window-safe-min-size)
5915 (window-resizable-p, window--size-to-pixel)
5916 (window--pixel-to-size, window--resize-apply-p): New functions.
5917 (window-safe-min-height): Fix doc-string.
5918 (window-size, window-min-size, window--min-size-1)
5919 (window-sizable, window-sizable-p, window--min-delta-1)
5920 (window-min-delta, window--max-delta-1, window-max-delta)
5921 (window--resizable, window--resizable-p, window-resizable)
5922 (window-full-height-p, window-full-width-p, window-at-side-p)
5923 (window--in-direction-2, window-in-direction)
5924 (window--resize-reset-1, window--resize-mini-window)
5925 (window-resize, window-resize-no-error)
5926 (window--resize-child-windows-normal)
5927 (window--resize-child-windows, window--resize-siblings)
5928 (window--resize-this-window, window--resize-root-window)
5929 (window--resize-root-window-vertically)
5930 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5931 (maximize-window, minimize-window, delete-window)
5932 (quit-restore-window, window-split-min-size, split-window)
5933 (balance-windows-2, balance-windows)
5934 (balance-windows-area-adjust, balance-windows-area)
5935 (window--state-get-1, window-state-get, window--state-put-1)
5936 (window--state-put-2, window-state-put)
5937 (display-buffer-record-window, window--display-buffer):
5938 Make functions handle pixelwise sizing of windows.
5939 (display-buffer--action-function-custom-type)
5940 (display-buffer-fallback-action):
5941 Add display-buffer-in-previous-window.
5942 (display-buffer-use-some-window): Resize window to height it had
5943 before.
5944 (fit-window-to-buffer-horizontally): New option.
5945 (fit-frame-to-buffer): Describe new values.
5946 (fit-frame-to-buffer-bottom-margin): Replace with
5947 fit-frame-to-buffer-margins.
5948 (window--sanitize-margin): New function.
5949 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5950 using window-text-pixel-size.
5951
5952 2013-11-30 Glenn Morris <rgm@gnu.org>
5953
5954 * emacs-lisp/bytecomp.el (byte-compile-form):
5955 Make the `interactive-only' warning like the `obsolete' one.
5956 * comint.el (comint-run):
5957 * files.el (insert-file-literally, insert-file):
5958 * replace.el (replace-string, replace-regexp):
5959 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5960 (goto-line, insert-buffer, next-line, previous-line):
5961 Tweak `interactive-only' spec.
5962
5963 Stop keeping (most) generated cedet grammar files in the repository.
5964 * Makefile.in (semantic): New.
5965 (compile-main): Depend on semantic.
5966
5967 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5970 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5971
5972 * uniquify.el (uniquify-buffer-name-style): Change default.
5973
5974 * loadup.el: Preload "uniquify".
5975
5976 * time.el (display-time-update): Update all mode lines (bug#15999).
5977
5978 * electric.el (electric-indent-mode): Enable by default.
5979 * loadup.el: Preload "electric".
5980
5981 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5982
5983 * emacs-lisp/helpers.el (string-empty-p): New function.
5984 (string-blank-p): New function.
5985
5986 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5987
5988 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5989 (Bug#14029).
5990
5991 2013-11-29 Andreas Politz <politza@fh-trier.de>
5992 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5993 allow non-lambda lists as functions.
5994 (imenu--in-alist): Don't recurse into non-subalists.
5995 (imenu): Don't pass function itself as an argument (Bug#14029).
5996
5997 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * progmodes/python.el (python-mode-map): Remove binding for ":".
6000 (python-indent-electric-colon): Remove command.
6001 (python-indent-post-self-insert-function): Integrate the previous code
6002 of python-indent-electric-colon. Make it conditional on
6003 electric-indent-mode.
6004 (python-mode): Add ?: to electric-indent-chars.
6005 Move python-indent-post-self-insert-function to the end of
6006 post-self-insert-hook.
6007
6008 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * doc-view.el (doc-view-goto-page): Update mode-line.
6011
6012 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6013
6014 2013-11-27 Glenn Morris <rgm@gnu.org>
6015
6016 * international/charprop.el, international/uni-bidi.el:
6017 * international/uni-category.el, international/uni-combining.el:
6018 * international/uni-comment.el, international/uni-decimal.el:
6019 * international/uni-decomposition.el, international/uni-digit.el:
6020 * international/uni-lowercase.el, international/uni-mirrored.el:
6021 * international/uni-name.el, international/uni-numeric.el:
6022 * international/uni-old-name.el, international/uni-titlecase.el:
6023 * international/uni-uppercase.el:
6024 Remove generated files from VCS repository.
6025
6026 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6027
6028 * filenotify.el (file-notify-add-watch): Don't special-case
6029 w32notify when computing the directory to watch.
6030
6031 2013-11-27 Glenn Morris <rgm@gnu.org>
6032
6033 Make bootstrap without generated uni-*.el files possible again.
6034 * loadup.el: Update command-line-args checking for unidata-gen.
6035 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6036 * composite.el, international/characters.el:
6037 Handle unicode tables being undefined.
6038
6039 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6040 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6041 (compile-main): Depend on leim rule.
6042 (leim): New rule.
6043 * loadup.el: Move leim-list.el to leim/ subdirectory.
6044 * startup.el (normal-top-level): No more leim directory.
6045 * international/ja-dic-cnv.el (skkdic-convert):
6046 Disable version-control and autoloads in output files.
6047 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6048 Disable version-control and autoloads in output files.
6049 * leim/quail: Move here from ../leim.
6050 * leim/quail/hangul.el (hangul-input-method-activate):
6051 Add autoload cookie.
6052 (generated-autoload-load-name): Set file-local value.
6053 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6054 (generated-autoload-load-name): Set file-local value.
6055
6056 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6057
6058 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6059 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6060 (eww-quit): Ask confirmation before quitting eww.
6061
6062 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6063
6064 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6065 reading output from Diff on MS-Windows and MS-DOS.
6066
6067 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6068
6069 * emacs-lisp/helpers.el (string-reverse): New function.
6070
6071 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6074 names on MS Windows, like "/[::1]:".
6075
6076 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6077 SWITCHES.
6078
6079 2013-11-26 Glenn Morris <rgm@gnu.org>
6080
6081 * progmodes/python.el (python-indent-guess-indent-offset):
6082 Avoid corner-case error. (Bug#15975)
6083
6084 Preload leim-list.el. (Bug#4789)
6085 * loadup.el: Load leim-list.el when found.
6086 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6087
6088 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6089
6090 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6091
6092 * emacs-lisp/helpers.el (string-join): New function.
6093
6094 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6095
6096 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6097 Mark as obsolete and replace it with a symbol property.
6098 (byte-compile-form): Use new 'interactive-only property.
6099 * comint.el, files.el, replace.el, simple.el:
6100 Apply new 'interactive-only properly.
6101
6102 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (display-buffer-at-bottom): Make sure that
6105 split-window-sensibly creates the new window on bottom
6106 (Bug#15961).
6107
6108 2013-11-23 David Kastrup <dak@gnu.org>
6109
6110 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6111 on the conflict markers when available.
6112 (smerge--get-marker): New function.
6113 (smerge-end-re, smerge-base-re): Add subgroup.
6114
6115 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * frame.el (handle-focus-in, handle-focus-out): Add missing
6118 interactive spec.
6119
6120 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6121
6122 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6123 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6124
6125 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6128 (gomoku--last-pos): New var.
6129 (gomoku--intangible-chars): New const.
6130 (gomoku--intangible): New function.
6131 (gomoku-mode): Use it. Derive from special-mode.
6132 (gomoku-move-up): Adjust line count.
6133 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6134 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6135 Simplify accordingly.
6136
6137 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6138 Remove blink-cursor code.
6139 (blink-cursor-timer-function, blink-cursor-suspend):
6140 Don't special-case GUIs.
6141 (blink-cursor-mode): Use focus-in/out-hook.
6142
6143 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6144
6145 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6146 work when annotation is invisible (Bug#13886).
6147
6148 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6149
6150 * json.el (json-alist-p): Only return non-nil if the alist has
6151 simple keys (Bug#13518).
6152
6153 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6154
6155 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6156 when control-statement is the first statement in a buffer (Bug#15956).
6157
6158 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6159
6160 * imenu.el (imenu-generic-skip-comments-and-strings):
6161 New option (Bug#15560).
6162 (imenu--generic-function): Use it.
6163
6164 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6165
6166 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6167 (Bug#13898)
6168
6169 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6170
6171 * emacs-lisp/helpers.el: Add some string helpers.
6172 (string-trim-left): Removes leading whitespace.
6173 (string-trim-right): Removes trailing whitespace.
6174 (string-trim): Removes leading and trailing whitespace.
6175
6176 * subr.el (string-suffix-p): New function.
6177
6178 2013-11-23 Glenn Morris <rgm@gnu.org>
6179
6180 * progmodes/python.el (python-shell-send-file):
6181 Add option to delete file when done. (Bug#15647)
6182 (python-shell-send-string, python-shell-send-region): Use it.
6183
6184 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6185
6186 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6187 to set buffer-read-only to t, never to nil. (Bug#15938)
6188
6189 * textmodes/tex-mode.el (latex-noindent-environments):
6190 Add safe-local-variable property. (Bug#15936)
6191
6192 2013-11-23 Glenn Morris <rgm@gnu.org>
6193
6194 * textmodes/enriched.el (enriched-mode): Doc fix.
6195 * emacs-lisp/authors.el (authors-renamed-files-alist):
6196 Add enriched.doc -> enriched.txt.
6197
6198 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6199
6200 2013-11-22 Leo Liu <sdl.web@gmail.com>
6201
6202 * progmodes/octave.el (inferior-octave-startup): Spit out error
6203 message.
6204
6205 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6206
6207 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6208 Improve docstring.
6209 Add :version.
6210 (ruby-encoding-magic-comment-style): Add :version.
6211
6212 2013-11-22 Leo Liu <sdl.web@gmail.com>
6213
6214 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6215 (Bug#15076)
6216 (octave-help-mode): Adapt to change to help-mode-finish to use
6217 derived-mode-p on 2013-09-17.
6218 (inferior-octave-prompt): Also match octave-gui.
6219 (octave-kill-process): Don't ask twice. (Bug#10564)
6220
6221 2013-11-22 Leo Liu <sdl.web@gmail.com>
6222
6223 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6224 (inferior-octave-startup, inferior-octave-check-process)
6225 (inferior-octave-track-window-width-change)
6226 (octave-completion-at-point, octave-eldoc-function): Use it.
6227 (octave-kill-process): Provide confirmation. (Bug#10564)
6228
6229 2013-11-21 Leo Liu <sdl.web@gmail.com>
6230
6231 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6232 Fix obsolete variable comment-use-global-state.
6233
6234 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6235
6236 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6237 Add `octave-source-file'.
6238 (octave-source-file): New function. (Bug#15935)
6239
6240 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6241
6242 * net/eww.el (eww-local-regex): New variable.
6243 (eww): Use it to detect localhost and similar.
6244
6245 2013-11-21 Leo Liu <sdl.web@gmail.com>
6246
6247 Add completion for command `ag'.
6248 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6249 (pcomplete/ag): New function.
6250 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6251
6252 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6255 (bug#14646).
6256 (make-obsolete): Remove interactive spec.
6257
6258 2013-11-21 Glenn Morris <rgm@gnu.org>
6259
6260 * startup.el (command-line-1): Use path-separator with -L.
6261
6262 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6263
6264 * emacs-lisp/package.el (describe-package-1): Add package archive
6265 to shown fields.
6266
6267 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6268
6269 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6270 Change default to "# encoding: %s" to differentiate it from the
6271 default Ruby encoding comment template.
6272
6273 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6274
6275 * ses.el (ses-mode): Doc fix. (Bug#14748)
6276
6277 2013-11-20 Leo Liu <sdl.web@gmail.com>
6278
6279 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6280
6281 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6282
6283 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6284 when rebase or bisect are in progress.
6285
6286 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6287
6288 * filenotify.el (file-notify-add-watch): Doc fix.
6289
6290 2013-11-19 Leo Liu <sdl.web@gmail.com>
6291
6292 * obsolete/rcompile.el: Mark obsolete.
6293
6294 * progmodes/compile.el (compilation-start)
6295 (compilation-goto-locus, compilation-find-file):
6296 Pass no-display-ok and handle nil value from display-buffer.
6297 (Bug#13594)
6298
6299 * window.el (display-buffer-alist, display-buffer): Document the
6300 new parameter no-display-ok. Return either a window or nil
6301 but never a non-window value.
6302
6303 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * electric.el (electric-indent-mode-map): Remove.
6306 (electric-indent-mode): Change the global-map instead (bug#15915).
6307
6308 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6309 Use add-function.
6310
6311 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/nadvice.el (remove-function): Align with
6314 add-function's behavior.
6315
6316 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6317 (gdb--string-regexp): New constant.
6318 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6319 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6320 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6321 submatch 1.
6322 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6323 Adjust use accordingly.
6324 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6325
6326 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6327
6328 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6329 interpolation curlies (Bug#15914).
6330
6331 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6332
6333 * calc/calc.el (calc-context-sensitive-enter): New variable.
6334 (calc-enter): Use `calc-context-sensitive-enter'.
6335
6336 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6337
6338 * progmodes/cfengine.el: Version bump.
6339 (cfengine-cf-promises): New defcustom to locate cf-promises.
6340 (cfengine3-vartypes): Add new "data" type.
6341 (cfengine3--current-word): New function to get current name-like
6342 word or its bounds.
6343 (cfengine3--current-function): New function to look up a CFEngine
6344 function's definition.
6345 (cfengine3-format-function-docstring): New function.
6346 (cfengine3-make-syntax-cache): New function.
6347 (cfengine3-documentation-function): New function: ElDoc glue.
6348 (cfengine3-completion-function): New function: completion glue.
6349 (cfengine3-mode): Set `compile-command',
6350 `eldoc-documentation-function', and add to
6351 `completion-at-point-functions'.
6352
6353 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6354
6355 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6356 `tramp-current-connection'.
6357
6358 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6359
6360 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6361 nil/self/true/false with "end of symbol".
6362
6363 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6364
6365 * subr.el (version-regexp-alist): Fix a typo.
6366
6367 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6368
6369 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6370 "en_US.utf8" and "LC_CTYPE" to "".
6371 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6372 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6373
6374 2013-11-15 Leo Liu <sdl.web@gmail.com>
6375
6376 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6377
6378 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * progmodes/gud.el (ctl-x-map):
6381 Remove C-x SPC binding. (Bug#12342)
6382 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6383
6384 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6385
6386 * subr.el (version-regexp-alist):
6387 Recognize hg, svn and darcs versions as snapshot versions.
6388
6389 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6390 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6391 (ruby--encoding-comment-required-p): Extract from
6392 `ruby-mode-set-encoding'.
6393 (ruby-mode-set-encoding): Add the ability to always insert an
6394 utf-8 encoding comment. Fix and simplify coding comment update
6395 logic.
6396
6397 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6398
6399 * net/tramp-gvfs.el (top): Run init code only when
6400 `tramp-gvfs-enabled' is not nil.
6401 (tramp-gvfs-enabled): Check also :system bus.
6402
6403 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 Sync with upstream verilog-mode revision 78e66ba.
6406 * progmodes/verilog-mode.el (verilog-end-of-defun)
6407 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6408 (verilog-get-end-of-defun): Remove unused argument.
6409 (verilog-comment-depth): Remove unused local `e'.
6410 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6411 Don't pass arg to verilog-get-end-of-defun.
6412
6413 2013-11-14 Glenn Morris <rgm@gnu.org>
6414
6415 * obsolete/assoc.el (aget): Prefix dynamic variable.
6416
6417 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6418
6419 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6420
6421 * widget.el, hfy-cmap.el: Remove bogus package version number.
6422
6423 2013-11-13 Glenn Morris <rgm@gnu.org>
6424
6425 * replace.el (replace-eval-replacement):
6426 Try to give more helpful error message. (Bug#15836)
6427
6428 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6429 (archive-7z-update): Avoid custom type mismatches.
6430
6431 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6432
6433 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6434
6435 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6436 address can be empty.
6437
6438 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6439 Accept nil SWITCHES.
6440 (tramp-gvfs-handle-write-region): Implement APPEND.
6441
6442 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6443
6444 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6445 binary "|" operator and closing block args delimiter.
6446 Remove FIXME comment referring to Ruby 1.8-only syntax.
6447 (ruby-smie--implicit-semi-p): Not after "|" operator.
6448 (ruby-smie--closing-pipe-p): New function.
6449 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6450 (ruby-smie-rules): Indent after "|".
6451
6452 2013-11-12 Glenn Morris <rgm@gnu.org>
6453
6454 * ps-print.el (ps-face-attribute-list):
6455 Handle anonymous faces. (Bug#15827)
6456
6457 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6458
6459 * window.el (display-buffer-other-frame): Fix doc-string.
6460 (Bug#15868)
6461
6462 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6465
6466 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6467
6468 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6469 (tramp-sh-handle-file-local-copy): Don't write a message when
6470 saving temporary files.
6471
6472 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6473 both directories are remote.
6474 (tramp-smb-handle-directory-files): Do not return double entries.
6475 Do not expand full file names.
6476 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6477 (tramp-smb-handle-write-region): Implement APPEND.
6478 (tramp-smb-get-stat-capability): Fix a stupid bug.
6479
6480 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6483
6484 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6485
6486 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6487 throwing error over malformed let/let* (bug#15814).
6488
6489 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * iswitchb.el (iswitchb-mode): Mark obsolete.
6492
6493 2013-11-11 Glenn Morris <rgm@gnu.org>
6494
6495 * international/uni-bidi.el, international/uni-category.el:
6496 * international/uni-name.el, international/uni-numeric.el:
6497 Regenerate for Unicode 6.3.0.
6498
6499 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6500
6501 * net/tramp.el (tramp-methods):
6502 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6503 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6504
6505 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6506
6507 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6508 Force highlighting text after Summary keyword in doc face for rpm.
6509
6510 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6511
6512 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6513 available and the word has no wildcards, append one to the grep pattern.
6514 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6515 (ispell-complete-word): Call `ispell-lookup-words' with the value
6516 independent of `ispell-look-p'.
6517
6518 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6519
6520 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6521 Not after "||".
6522 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6523 their parent.
6524
6525 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6528 (ruby-font-lock-keywords): Use backquote.
6529
6530 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6531
6532 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6533 (ruby-smie--backward-token): Only consider full-string matches.
6534
6535 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6536
6537 * faces.el (describe-face): Add distant-foreground.
6538
6539 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6540
6541 * progmodes/ruby-mode.el: Improve encoding comment handling.
6542 (ruby-encoding-magic-comment-style): New option.
6543 (ruby-custom-encoding-magic-comment-template): New option.
6544 (ruby--insert-coding-comment, ruby--detect-encoding):
6545 New functions extracted from `ruby-mode-set-encoding'.
6546 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6547 to control the style of the auto-inserted encoding comment.
6548
6549 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6550
6551 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6552 Use `smie-backward-sexp' with token argument.
6553
6554 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6555
6556 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6557 Remove instrumentation code.
6558
6559 2013-11-08 Glenn Morris <rgm@gnu.org>
6560
6561 * progmodes/autoconf.el (autoconf-mode):
6562 Tweak comment-start-skip. (Bug#15822)
6563
6564 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6567 at bobp (bug#15826).
6568 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6569
6570 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6571
6572 * man.el (Man-start-calling): New macro, extracted from
6573 Man-getpage-in-background.
6574 (Man-getpage-in-background): Use it.
6575 (Man-update-manpage): New command.
6576 (Man-mode-map): Bind it.
6577
6578 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6579
6580 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6581 of "and", "or", "&&" and "||".
6582 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6583 argument. Prohibit opening curly brace because it could only be a
6584 block opener in that position.
6585 (ruby-smie--forward-token, ruby-smie--backward-token):
6586 Separate "|" from "&" or "*" going after it. That can happen in block
6587 arguments.
6588 (ruby-smie--indent-to-stmt): New function, seeks the end of
6589 previous statement or beginning of buffer.
6590 (ruby-smie-rules): Use it.
6591 (ruby-smie-rules): Check if there's a ":" before a curly block
6592 opener candidate; if there is, it's a hash.
6593
6594 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6597 (cl--block-wrapper): Fix last accidental change.
6598
6599 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6600
6601 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6602 Instrument, in order to hunt failure on hydra.
6603
6604 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6605
6606 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6607 malformed bindings form (bug#15814).
6608
6609 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6610
6611 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6612 "." compared to " @ ". This incidentally fixes some indentation
6613 examples with "do".
6614 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6615 (ruby-smie-grammar): New tokens: "and" and "or".
6616 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6617 Exclude "and" and "or". Remove "do" in order to work around token
6618 priorities.
6619 (ruby-smie-rules): Add all infix tokens. Handle the case of
6620 beginning-of-buffer.
6621
6622 2013-11-06 Glenn Morris <rgm@gnu.org>
6623
6624 * Makefile.in (setwins_almost, setwins_for_subdirs):
6625 Avoid accidental matches.
6626
6627 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * menu-bar.el (popup-menu): Use key-binding.
6630
6631 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6632
6633 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6634 menus, support also the menus produced by minor modes.
6635 (Bug#15817)
6636
6637 2013-11-06 Leo Liu <sdl.web@gmail.com>
6638
6639 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6640 DISTANCE to bound the search. All uses changed. (Bug#15808)
6641
6642 2013-11-06 Glenn Morris <rgm@gnu.org>
6643
6644 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6645 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6646 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6647
6648 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * electric.el (electric-indent-just-newline): New command.
6651 (electric-indent-mode-map): New keymap.
6652 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6653 Re-add :group which weren't redundant.
6654
6655 * electric.el (electric-indent-local-mode): New minor mode.
6656 (electric-indent-functions-without-reindent): New var.
6657 (electric-indent-post-self-insert-function): Use it.
6658 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6659
6660 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6661
6662 * international/quail.el (quail-help): Be more explicit about the
6663 meaning of the labels shown on the keys. (Bug#15800)
6664
6665 * startup.el (normal-top-level): Load the subdirs.el files before
6666 setting the locale environment. (Bug#15805)
6667
6668 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6671 via arguments so as to get the right ones (bug#15418).
6672
6673 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6674
6675 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6676
6677 Fix problems found while writing a test suite.
6678
6679 * net/tramp-compat.el (tramp-compat-load): New defun.
6680 * net/tramp.el (tramp-handle-load): Use it.
6681
6682 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6683 "(numberp ok-if-already-exists)" correctly.
6684
6685 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6686
6687 * international/characters.el (glyphless-char-display-control):
6688 Add usage note.
6689
6690 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6691
6692 * progmodes/python.el (python-mode):
6693 * progmodes/scheme.el (scheme-mode):
6694 * progmodes/prolog.el (prolog-mode):
6695 * progmodes/ruby-mode.el (ruby-mode):
6696 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6697 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6698
6699 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * rect.el (rectangle--highlight-for-redisplay):
6702 * emacs-lisp/smie.el (smie--next-indent-change):
6703 Use buffer-chars-modified-tick.
6704
6705 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6706
6707 * electric.el (electric-indent-post-self-insert-function):
6708 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6709
6710 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6711
6712 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6713
6714 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6715
6716 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6717 (bug#15786).
6718
6719 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6722
6723 * progmodes/python.el: Fix up last change.
6724 (python-shell--save-temp-file): New function.
6725 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6726 `string' comes from the current buffer.
6727 (python-shell-send-string-no-output): Remove `msg' arg.
6728 (python--use-fake-loc): New var.
6729 (python-shell-buffer-substring): Obey it. Try to compensate for the
6730 extra coding line added by python-shell--save-temp-file.
6731 (python-shell-send-region): Use python-shell--save-temp-file and
6732 python-shell-send-file directly. Add `nomain' argument.
6733 (python-shell-send-buffer): Use python-shell-send-region.
6734 (python-electric-pair-string-delimiter): New function.
6735 (python-mode): Use it.
6736
6737 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6738
6739 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6740 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6741 environment and decoding all of the default-directory's to here
6742 from command-line.
6743 (command-line): Decode also argv[0].
6744
6745 * loadup.el: Error out if default-directory is a multibyte string
6746 when we are dumping.
6747
6748 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6749
6750 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6751
6752 * emacs-lisp/package.el (package-menu-mode)
6753 (package-menu--print-info, package-menu--archive-predicate):
6754 Add Archive column to package list.
6755
6756 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6757
6758 Fix problems found while writing a test suite.
6759
6760 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6761 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6762 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6763 to nil when running original file name handler. Otherwise,
6764 there are problems with constructs like "$$FOO".
6765
6766 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6767 for `localname'.
6768
6769 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6770
6771 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6772
6773 * subr.el (version<, version<=, version=):
6774 Update docstrings with information for snapshot versions.
6775
6776 * helpers.el: New library for misc helper functions.
6777 (hash-table-keys): New function returning a list of hash keys.
6778 (hash-table-values): New function returning a list of hash values.
6779
6780 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6781
6782 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6783 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6784
6785 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6786
6787 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6788 checking whether point is after a 1-letter word.
6789
6790 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6791
6792 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6793 Don't infloop when expanding region over `multiline' syntax-type that
6794 begins a line (bug#15778).
6795
6796 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6799 Make it into a proper minor mode.
6800 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6801 (rectangle-mark-mode-map): New keymap.
6802 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6803
6804 2013-11-04 Glenn Morris <rgm@gnu.org>
6805
6806 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6807
6808 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6811 (ruby-smie-rules): Use smie-rule-parent instead.
6812
6813 * emacs-lisp/smie.el (smie-rule-parent): Always call
6814 smie-indent-virtual rather than only for hanging tokens.
6815 (smie--next-indent-change): New helper command.
6816
6817 2013-11-03 Glenn Morris <rgm@gnu.org>
6818
6819 * Makefile.in (abs_srcdir): Remove.
6820 (emacs): Unset EMACSLOADPATH.
6821
6822 2013-11-02 Glenn Morris <rgm@gnu.org>
6823
6824 * Makefile.in (EMACS): Use a relative filename.
6825 (abs_top_builddir): Remove.
6826 (custom-deps, finder-data, autoloads): Use --chdir.
6827
6828 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6829
6830 Use relative filenames in TAGS files.
6831 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6832 (lisptagsfiles4, TAGS): Use relative file names.
6833 (TAGS-LISP): Remove.
6834 (maintainer-clean): No more TAGS-LISP file.
6835
6836 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6837 (lisptagsfiles4): Use absolute filenames again.
6838 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6839 Remove all *loaddefs files, not just the first. Remove esh-groups.
6840 (maintainer-clean): Delete TAGS, TAGS-LISP.
6841
6842 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6843
6844 * emacs-lisp/package.el (package-version-join):
6845 Recognize snapshot versions.
6846
6847 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6848
6849 * subr.el (version-regexp-alist): Add support for snapshot versions.
6850
6851 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6852
6853 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6854 New function, replacement for `smie-rule-parent' for when we want to
6855 skip over our direct parent if it's an assignment token..
6856 (ruby-smie-rules): Use it.
6857
6858 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6859
6860 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6861 unconditionally. Remove now unnecessary forward declarations.
6862 Remove XEmacs-specific setup.
6863 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6864 (ruby-font-lock-syntactic-keywords)
6865 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6866 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6867 (ruby-here-doc-end-syntax): Remove.
6868 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6869 defined as function.
6870
6871 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6872
6873 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6874
6875 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6876
6877 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6878 table and abbrev table, `define-derived-mode' does that for us
6879 anyway.
6880
6881 2013-11-01 Glenn Morris <rgm@gnu.org>
6882
6883 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6884 files is atomic for some time, so no parallel compilation issues).
6885
6886 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6887
6888 * faces.el (face-x-resources): Add :distant-foreground.
6889 (region): Use :distant-foreground for gtk and ns.
6890
6891 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6892
6893 Allow multiple bibliographies when BibLaTeX is used rather than
6894 BibTeX.
6895 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6896 (reftex-locate-bibliography-files): Us it.
6897
6898 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6899
6900 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6901 allow comments in pbm files.
6902
6903 * term/w32-win.el (dynamic-library-alist): Support newer versions
6904 of libjpeg starting with v7: look only for the DLL from the
6905 version against which Emacs was built.
6906 Support versions of libpng beyond 1.4.x.
6907 Support libtiff v4.x.
6908
6909 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6910
6911 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6912 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6913 Add property :safe.
6914 (ruby-deep-arglist): Add property :type.
6915
6916 2013-10-31 Glenn Morris <rgm@gnu.org>
6917
6918 * Makefile.in (custom-deps, finder-data): No need to setq the target
6919 variables, we are in the right directory and the defaults work fine.
6920
6921 2013-10-30 Glenn Morris <rgm@gnu.org>
6922
6923 * Makefile.in (autoloads): Do not use abs_lisp.
6924
6925 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6926 `newline' does not respect `standard-output', so use `princ'.
6927
6928 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6929
6930 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6931 * buff-menu.el (Buffer-menu--unmark): New function.
6932 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6933
6934 2013-10-30 Glenn Morris <rgm@gnu.org>
6935
6936 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6937
6938 * emacs-lisp/package.el (lm-homepage): Declare.
6939
6940 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6941 Fix doc typos.
6942
6943 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6944
6945 * Makefile.in (finder-data, autoloads, update-subdirs)
6946 (compile-main, compile-clean, compile-always, bootstrap-clean):
6947 Check return value of cd.
6948 (compile-calc): Remove.
6949
6950 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6953
6954 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6955 (byte-compile-and-folded): New function.
6956 (=, <, >, <=, >=): Use it.
6957
6958 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6959 (path-separator, null-device, buffer-file-coding-system)
6960 (lpr-headers-switches): Check system-type before modifying them.
6961 (find-buffer-file-type-coding-system): Mark obsolete.
6962 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6963 find-file-not-found-set-buffer-file-coding-system.
6964 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6965 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6966 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6967 (w32-direct-print-region-helper, w32-direct-print-region-function)
6968 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6969 * startup.el (normal-top-level-add-subdirs-to-load-path):
6970 * ps-print.el (ps-print-region-function):
6971 * lpr.el (print-region-function): Use new name.
6972
6973 * subr.el (custom-declare-variable-early): Remove function.
6974 (custom-declare-variable-list): Remove var.
6975 (error, user-error): Remove `while' loop.
6976 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6977 (user-emacs-directory-warning, locate-user-emacs-file):
6978 Move to files.el.
6979 * simple.el (read-quoted-char-radix, read-quoted-char):
6980 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6981 Move from subr.el.
6982 * custom.el (custom-declare-variable-list): Don't process
6983 custom-declare-variable-list.
6984
6985 * progmodes/python.el (python-shell-get-buffer): New function.
6986 (python-shell-get-process): Use it.
6987 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6988 Python which encoding was used. Don't split-string since we only care
6989 about the first line. Return the temp-file, if applicable.
6990 (python-shell-send-region): Tell compile.el how to turn locations in
6991 the temp-file into locations in the source buffer.
6992
6993 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6994
6995 * subr.el (undefined): Add missing behavior from the C code for
6996 unbound keys.
6997
6998 * rect.el: Use lexical-binding. Add new rectangular region support.
6999 (rectangle-mark): New command.
7000 (rectangle--region): New var.
7001 (deactivate-mark-hook): Reset rectangle--region.
7002 (rectangle--extract-region, rectangle--insert-for-yank)
7003 (rectangle--highlight-for-redisplay)
7004 (rectangle--unhighlight-for-redisplay): New functions.
7005 (region-extract-function, redisplay-unhighlight-region-function)
7006 (redisplay-highlight-region-function): Use them to handle
7007 rectangular region.
7008 * simple.el (region-extract-function): New var.
7009 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7010 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7011 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7012 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7013 (redisplay-unhighlight-region-function)
7014 (redisplay-highlight-region-function): New vars.
7015 (redisplay--update-region-highlight): New function.
7016 (pre-redisplay-function): Use it.
7017 (exchange-point-and-mark): Don't deactivate the mark before
7018 reactivate-it anyway.
7019 * comint.el (comint-kill-region): Remove yank-handler argument.
7020 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7021 (delete-char): Remove property, since it's now part of their
7022 default behavior.
7023 (self-insert-iso): Remove property since this command doesn't exist.
7024
7025 * emacs-lisp/package.el (package--download-one-archive)
7026 (describe-package-1): Don't query the user about final newline.
7027
7028 2013-10-29 Daniel Colascione <dancol@dancol.org>
7029
7030 * net/tramp.el (tramp-methods): Document new functionality.
7031 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7032 tramp-hostname-checker if method provides one instead of scanning
7033 argument list for "%h" to decide hostname acceptability.
7034
7035 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7036
7037 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7038 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7039 Handle COPY-CONTENTS. (Bug#15737)
7040
7041 2013-10-28 Daiki Ueno <ueno@gnu.org>
7042
7043 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7044 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7045
7046 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7047
7048 * image.el (defimage, image-load-path): Doc fixes.
7049
7050 2013-10-27 Alan Mackenzie <acm@muc.de>
7051
7052 Indent statements in macros following "##" correctly.
7053 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7054 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7055
7056 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7057
7058 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7059
7060 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7061
7062 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7063 after `=' is probably a new expression.
7064
7065 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7066
7067 * man.el (man-imenu-title): New option.
7068 (Man-mode-map): Add menu. (Bug#15722)
7069 (Man-mode): Add imenu to menu.
7070
7071 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7072
7073 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7074 specific in what the first arg can be: a non-keyword word,
7075 string/regexp/percent literal opener, opening paren, or unary
7076 operator followed directly by word.
7077
7078 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7081 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7082 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7083 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7084 Remove vars, they do not apply any more.
7085 (prolog-mode-abbrev-table): Remove redundant declaration.
7086 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7087 (prolog-use-smie): Remove.
7088 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7089 supported by prolog-electric-if-then-else-flag.
7090 (prolog-mode-variables, prolog-menu): Use setq-local.
7091 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7092 Remove binding to `Backspace' since this key doesn't exist anyway.
7093 Remove bindings for electric self-inserting keys.
7094 (prog-mode): Assume it's defined.
7095 (prolog-post-self-insert): New function.
7096 (prolog-mode): Use it.
7097 (prolog-indent-line, prolog-indent-level)
7098 (prolog-find-indent-of-matching-paren)
7099 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7100 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7101 (prolog-goto-next-paren, prolog-in-string-or-comment)
7102 (prolog-tokenize, prolog-inside-mline-comment)
7103 (prolog-find-start-of-mline-comment): Remove functions.
7104 (prolog-find-unmatched-paren, prolog-clause-end)
7105 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7106 (prolog-electric--if-then-else): Rename from
7107 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7108 (prolog-tokenize-searchkey): Remove const.
7109 (prolog-clause-info): Use forward-sexp.
7110 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7111 (prolog-electric-if-then-else): Remove commands.
7112 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7113 for use in post-self-insert-hook.
7114 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7115 for use in post-self-insert-hook.
7116 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7117 for use in post-self-insert-hook.
7118 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7119 adapt it for use in post-self-insert-hook.
7120
7121 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7122
7123 * emacs-lisp/ert.el (ert-run-tests-interactively):
7124 Use `completing-read'. (Bug#9756)
7125
7126 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7127
7128 * simple.el (line-move): Call line-move-1 instead of
7129 line-move-visual when the current window hscroll is zero, but
7130 temporary-goal-column indicates we will need to hscroll as result
7131 of the movement. (Bug#15712)
7132
7133 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7134
7135 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7136 capitalization. Use :visible instead of :active.
7137 Fix `ruby-indent-exp' reference. Add menu items for the generic
7138 commands that are used with SMIE.
7139 (ruby-do-end-to-brace): Insert space after `{'.
7140
7141 2013-10-25 John Anthony <john@jo.hnanthony.com>
7142
7143 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7144
7145 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7146
7147 2013-10-25 Glenn Morris <rgm@gnu.org>
7148
7149 * vc/vc.el (vc-print-log): Don't use a working revision unless
7150 one was explicitly specified. (Bug#15322)
7151
7152 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * subr.el (add-to-list): Preserve return value in compiler-macro
7155 (bug#15692).
7156
7157 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7158
7159 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7160 result. Ask user to retry using '-all' flag. (Bug#15701)
7161
7162 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * emacs-lisp/smie.el: New smie-config system.
7165 (smie-config): New defcustom.
7166 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7167 (smie-config-guess, smie-config-save): New commands.
7168 (smie-config--mode-local, smie-config--buffer-local)
7169 (smie-config--trace, smie-config--modefuns): New vars.
7170 (smie-config--advice, smie-config--mode-hook)
7171 (smie-config--setter, smie-config-local, smie-config--get-trace)
7172 (smie-config--guess-value, smie-config--guess): New functions.
7173 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7174 text properties. Treat "string fence" syntax like string syntax.
7175
7176 * progmodes/sh-script.el (sh-use-smie): Change default.
7177 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7178 (sh-var-value): Simplify by CSE.
7179 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7180 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7181 is used.
7182 (sh-guess-basic-offset): Use cl-incf.
7183 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7184
7185 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7186
7187 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7188 (bug#15699).
7189
7190 2013-10-24 Glenn Morris <rgm@gnu.org>
7191
7192 * Makefile.in (abs_top_srcdir): Remove.
7193 (update-subdirs): Use relative path to update-subdirs.
7194
7195 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7196
7197 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7198 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7199 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7200 Call unmsys--file-name before expand-file-name, not after it.
7201
7202 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7203
7204 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7205 (ert-test-skipped): New error.
7206 (ert-skip, ert-stats-skipped): New defuns.
7207 (ert--skip-unless): New macro.
7208 (ert-test-skipped): New struct.
7209 (ert--run-test-debugger, ert-test-result-type-p)
7210 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7211 (ert--stats-set-test-and-result, ert-char-for-test-result)
7212 (ert-string-for-test-result, ert-run-tests-batch)
7213 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7214 Handle skipped tests. (Bug#9803)
7215
7216 2013-10-24 Glenn Morris <rgm@gnu.org>
7217
7218 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7219
7220 * Makefile.in (abs_top_srcdir): New, set by configure.
7221 (update-subdirs): Correct build-aux location.
7222
7223 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7224
7225 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7226 value, whether we could auto-deduce `backend', or not.
7227
7228 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7229 with parameters" example. Simplify the "is it block or is it
7230 hash" check, but also make it more thorough.
7231
7232 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7233
7234 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7235
7236 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7239 { if it is hanging.
7240
7241 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7242 :before ";".
7243
7244 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7245
7246 * progmodes/compile.el (compilation-directory-matcher)
7247 (compilation-page-delimiter):
7248 Support GNU Make-4.0 directory quoting. (Bug#15678)
7249
7250 2013-10-23 Leo Liu <sdl.web@gmail.com>
7251
7252 * ido.el (ido-tidy): Handle read-only text.
7253
7254 2013-10-23 Glenn Morris <rgm@gnu.org>
7255
7256 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7257 (emacs, compile, compile-always):
7258 Quote entities that might contain whitespace.
7259 (custom-deps, finder-data, autoloads): Use abs_lisp.
7260 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7261 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7262 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7263
7264 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7265
7266 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7267 Use `following-char'.
7268
7269 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7272 * progmodes/ruby-mode.el (ruby-smie-rules):
7273 Remove corresponding workaround. Fix indentation rule of ";" so it
7274 also applies when ";" is the parent.
7275
7276 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7277
7278 * frame.el (display-screens, display-pixel-height)
7279 (display-pixel-width, display-mm-width, display-backing-store)
7280 (display-save-under, display-planes, display-color-cells)
7281 (display-visual-class, display-monitor-attributes-list):
7282 Mention the optional ‘display’ argument in doc strings.
7283
7284 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7285
7286 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7287 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7288
7289 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7290
7291 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7292 TODO. Add "." after " @ ".
7293 (ruby-smie--at-dot-call): New function. Checks if point at method
7294 call with explicit target.
7295 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7296 to the method name tokens when it precedes them.
7297 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7298 (ruby-smie-rules): Add rule for indentation before and after "."
7299 token.
7300
7301 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * textmodes/remember.el (remember-diary-extract-entries):
7304 Avoid add-to-list.
7305
7306 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7307 an instruction.
7308
7309 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7310
7311 * progmodes/ruby-mode.el (ruby-smie-grammar):
7312 Add (almost) all infix operators.
7313 (ruby-smie--implicit-semi-p): Add new operator chars.
7314
7315 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7316 `smie-down-list'.
7317 (ruby-smie--args-separator-p): Check that there's no newline
7318 between method call and its arguments.
7319
7320 2013-10-20 Alan Mackenzie <acm@muc.de>
7321
7322 Allow comma separated lists after Java "implements".
7323
7324 * progmodes/cc-engine.el (c-backward-over-enum-header):
7325 Parse commas.
7326 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7327 from a "disallowed" list in enum fontification.
7328
7329 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7330
7331 * startup.el (default-frame-background-mode): Remove unused defvar.
7332
7333 * progmodes/verilog-mode.el (verilog-mode): Don't set
7334 comment-indent-function globally.
7335
7336 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7337
7338 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7339 Move Info menu item creation to ns-win.el.
7340
7341 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7342 in menu bar.
7343
7344 * menu-bar.el: Move GNUstep specific menus...
7345
7346 * term/ns-win.el (ns-initialize-window-system): ... to here.
7347
7348 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * simple.el (newline): Only run post-self-insert-hook when
7351 called interactively.
7352
7353 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7354
7355 * icomplete.el (icomplete-with-completion-tables): Add :version.
7356
7357 2013-10-19 Alan Mackenzie <acm@muc.de>
7358
7359 Fix fontification bugs with constructors and const.
7360
7361 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7362 CASE 2) Remove the check for the absence of a suffix construct
7363 after a function declaration with only types (no identifiers) in
7364 the parentheses. Also, accept a function declaration with just a
7365 type inside the parentheses, if this type can be positively
7366 recognised as such, or if a prefix keyword like "explicit" nails
7367 down the construct as a declaration.
7368
7369 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7370
7371 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7372 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7373 the problem whereby selecting a menu item that leads to a
7374 minibuffer prompt moves the cursor out of the minibuffer window,
7375 making it hard to type at the prompt. Suggested by Stefan Monnier
7376 <monnier@iro.umontreal.ca>.
7377
7378 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7379
7380 * menu-bar.el: Don't make Services menu.
7381
7382 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7383
7384 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7385 (ffap-alist): Use ffap-c++-mode for c++-mode.
7386 (ffap-c++-path): New variable.
7387 (ffap-c++-mode): New function.
7388
7389 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7390
7391 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7392
7393 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7394
7395 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7396 introduced on 2013-09-08, which results in an infinite loop
7397 requesting a password.
7398
7399 2013-10-18 Glenn Morris <rgm@gnu.org>
7400
7401 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7402
7403 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7404
7405 Sync with upstream verilog-mode revision 1a6ecec7.
7406 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7407 (verilog-mode-release-date): Remove.
7408 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7409 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7410 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7411 (verilog-auto-tieoff-ignore-regexp)
7412 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7413 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7414 (verilog-signals-with, verilog-dir-cache-preserving)
7415 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7416 Doc fixes.
7417 (verilog-case-fold): New option, to control case folding in
7418 regexp searches, bug597.
7419 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7420 (verilog-string-match-fold, verilog-in-paren-count)
7421 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7422 (verilog-at-close-struct-p): New functions.
7423 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7424 (verilog-forward-sexp, verilog-set-auto-endcomments)
7425 (verilog-leap-to-case-head): Handle "unique0" case.
7426 (verilog-in-constraint-re): New constant.
7427 (verilog-keywords, verilog-type-font-keywords):
7428 Add some SystemVerilog 1800-2012 keywords.
7429 (verilog-label-be): Remove unimplemented argument, bug669.
7430 (verilog-batch-execute-func): When batch expanding clear
7431 create-lockfiles to prevent spurious user locks when a file ends
7432 up not changing.
7433 (verilog-calculate-indent, verilog-calc-1)
7434 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7435 (verilog-do-indent): Fix indentation of nested constraints
7436 and structures.
7437 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7438 (verilog-auto-inst-param): Use verilog-string-match-fold.
7439 (verilog-read-inst-module-matcher):
7440 Fix AUTOINST on gate primitives with #1.
7441 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7442 Reads all user-defined typed variables.
7443 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7444 (verilog-signals-matching-regexp)
7445 (verilog-signals-not-matching-regexp, verilog-auto):
7446 Respect verilog-case-fold.
7447 (verilog-diff-report): Fix line count.
7448 (verilog-auto-assign-modport): Remove unused local `modi'.
7449 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7450 better handle multidimensional arrays.
7451 Fix packed array ports misadding bit index in AUTOINST, bug637.
7452 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7453 to not double-declare existing outputs and inputs, respectively.
7454 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7455 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7456 (verilog-sk-uvm-component): New skeleton.
7457 (verilog-submit-bug-report): Add verilog-case-fold,
7458 remove verilog-mode-release-date.
7459
7460 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7461
7462 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7463 as before.
7464
7465 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7466
7467 * textmodes/remember.el (remember): Set buffer-offer-save in
7468 remember buffers (bug#13566).
7469
7470 2013-10-18 Daniel Colascione <dancol@dancol.org>
7471
7472 When evaluating forms in ielm, direct standard output to ielm
7473 buffer. Add new ielm-return-for-effect command. Remove trailing
7474 whitespace throughout.
7475
7476 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7477 (ielm-return-for-effect): New command.
7478 (ielm-send-input): Accept optional `for-effect' parameter.
7479 (ielm-eval-input): Accept optional `for-effect' parameter.
7480 Bind `standard-output' to stream we create using
7481 `ielm-standard-output-impl'. Suppress printing result when
7482 `for-effect'.
7483 (ielm-standard-output-impl): New function.
7484 (inferior-emacs-lisp-mode): Explain new features in documentation.
7485
7486 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7487
7488 Code cleanup.
7489
7490 * net/tramp.el (tramp-debug-message): Do not check for connection
7491 buffer.
7492 (tramp-message): Use "vector" connection property.
7493
7494 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7495 (tramp-equal-remote, tramp-eshell-directory-change)
7496 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7497 (tramp-adb-handle-rename-file)
7498 * net/tramp-cmds.el (tramp-list-remote-buffers)
7499 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7500 * net/tramp-compat.el (tramp-compat-process-running-p)
7501 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7502 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7503 (tramp-gvfs-handle-rename-file)
7504 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7505 (tramp-set-file-uid-gid)
7506 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7507 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7508 of `file-remote-p'.
7509
7510 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7511 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7512 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7513 (tramp-gw-open-network-stream): Suppress unrelated traces.
7514
7515 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7516 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7517 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7518 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7519 connection property.
7520
7521 * net/tramp-cache.el (top): Suppress traces when reading
7522 persistency file.
7523
7524 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7525 Refactor common code. Improve debug message.
7526 (tramp-maybe-open-connection)
7527 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7528 connection buffer too early.
7529
7530 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7531 from `tramp-smb-actions-with-acl'.
7532 (tramp-smb-actions-set-acl): New defconst.
7533 (tramp-smb-handle-copy-directory)
7534 (tramp-smb-action-get-acl): New defun, renamed from
7535 `tramp-smb-action-with-acl'.
7536 (tramp-smb-action-set-acl): New defun.
7537 (tramp-smb-handle-set-file-acl): Rewrite.
7538
7539 2013-10-17 Glenn Morris <rgm@gnu.org>
7540
7541 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7542
7543 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * skeleton.el (skeleton-newline): Remove.
7546 (skeleton-internal-1): Use (insert "\n") instead.
7547
7548 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7549 let-bindings.
7550
7551 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7552 forward-sexp-function while we redo its job (bug#15613).
7553
7554 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7555
7556 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7557 represented by lists.
7558
7559 2013-10-16 Glenn Morris <rgm@gnu.org>
7560
7561 * tmm.el (tmm--history): New dynamic variable.
7562 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7563
7564 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7565
7566 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7567 (tramp-smb-errors): Add error messages.
7568 (tramp-smb-actions-with-acl): New defconst.
7569 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7570 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7571 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7572 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7573 (tramp-smb-get-stat-capability): Fix tests.
7574
7575 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7576
7577 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7578 (bug#15580).
7579
7580 2013-10-16 Glenn Morris <rgm@gnu.org>
7581
7582 * ansi-color.el (ansi-color-drop-regexp):
7583 Add 1J, 1K, 2K. (Bug#15617)
7584
7585 * files.el (hack-local-variables--warned-lexical): New.
7586 (hack-local-variables):
7587 Warn about misplaced lexical-binding. (Bug#15616)
7588
7589 * net/eww.el (eww-render): Always set eww-current-url,
7590 and update header line. (Bug#15622)
7591 (eww-display-html): ... Rather than just doing it here.
7592
7593 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7594
7595 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7596 menu navigations commands.
7597
7598 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7599
7600 * progmodes/subword.el (subword-capitalize): Be careful when
7601 the search for [[:alpha:]] fails (bug#15580).
7602
7603 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7604
7605 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7606 to commands that scroll the menu.
7607
7608 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7609
7610 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7611 Handle methods ending with `?' and `!'.
7612
7613 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7614
7615 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7616 `japanese-cp932' to `cp932' to fix the problem where saving a
7617 source file written in Shift_JIS twice would end up having
7618 `coding: japanese-cp932' which Ruby could not recognize.
7619 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7620 in `ruby-encoding-map'.
7621 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7622 doesn't need to be explicitly declared in magic comment.
7623 (ruby-encoding-map): Add type declaration for better customize UI.
7624
7625 2013-10-13 Glenn Morris <rgm@gnu.org>
7626
7627 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7628 Occur buffers are read-only. http://bugs.debian.org/720775
7629
7630 * emacs-lisp/authors.el (authors-fixed-entries):
7631 Comment out old alpha stuff.
7632
7633 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7634
7635 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7636 to `after-save-hook' instead of `before-save-hook'.
7637 (ruby-mode-set-encoding): Use the value of coding system used to
7638 write the file. Call `basic-save-buffer-1' after modifying the
7639 buffer.
7640
7641 2013-10-13 Alan Mackenzie <acm@muc.de>
7642
7643 Fix indentation/fontification of Java enum with
7644 "implements"/generic.
7645
7646 * progmodes/cc-engine.el (c-backward-over-enum-header):
7647 Extracted from the three other places and enhanced to handle generics.
7648 (c-inside-bracelist-p): Uses new function above.
7649 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7650 function above.
7651 (c-font-lock-enum-tail): Uses new function above.
7652
7653 2013-10-13 Kenichi Handa <handa@gnu.org>
7654
7655 * international/mule-cmds.el (select-safe-coding-system): Remove a
7656 superfluous condition in chekcing whether a coding system is safe
7657 or not.
7658
7659 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7660
7661 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7662
7663 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7664
7665 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7666
7667 2013-10-13 Glenn Morris <rgm@gnu.org>
7668
7669 * menu-bar.el (menu-bar-update-buffers):
7670 Unify Buffers menu prompt string. (Bug#15576)
7671
7672 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7673
7674 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7675 Add some entries.
7676 (authors-fixed-entries): Use accented form of name.
7677
7678 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7681 method calls (bug#15594).
7682 (ruby-smie--args-separator-p): New function.
7683 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7684 recognize paren-free method calls.
7685
7686 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7687 internals of universal-argument.
7688
7689 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7690
7691 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7692 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7693 dropped menu on second mouse click on the menu bar.
7694
7695 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7698 (explicit-shell-file-name): Declare.
7699 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7700 (sh-completion-at-point-function): New function.
7701 (sh-mode): Use it.
7702 (sh-smie--keyword-p): Remove unused argument.
7703 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7704 vars.
7705 (sh-set-shell): Always setup SMIE, even if we use the
7706 old indentation code.
7707
7708 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7709
7710 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7711 cases of ? and =.
7712 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7713 predicate would return nil are almost non-existent.
7714 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7715
7716 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7717 cache also after commands that modify the buffer but don't move
7718 point.
7719
7720 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * env.el (substitute-env-in-file-name): New function.
7723 (substitute-env-vars): Extend the meaning of the optional arg.
7724
7725 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7726
7727 * term/w32-win.el (dynamic-library-alist): Define separate lists
7728 of GIF DLLs for versions before and after 5.0.0 of giflib.
7729 (Bug#15531)
7730
7731 2013-10-10 João Távora <joaotavora@gmail.com>
7732
7733 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7734 not locked, use last revision and current source as
7735 defaults. (Bug#15569)
7736
7737 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7738
7739 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7740 menu-bar is hidden.
7741
7742 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7743
7744 * window.el (pop-to-buffer-same-window): Fix doc-string.
7745 (Bug#15492)
7746
7747 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7748
7749 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7750
7751 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7752
7753 * calendar/icalendar.el (icalendar-import-file):
7754 Fix interactive spec. (Bug#15482)
7755
7756 2013-10-10 Glenn Morris <rgm@gnu.org>
7757
7758 * desktop.el (desktop-save): Default to saving in .emacs.d,
7759 since PWD is no longer in desktop-path by default. (Bug#15319)
7760
7761 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7762 now that text mode has a menu with the same entry.
7763 (menu-bar-text-mode-auto-fill): Remove now unused func.
7764 * textmodes/text-mode.el (text-mode-map):
7765 Use auto-fill help text from menu-bar.el.
7766
7767 2013-10-10 John Anthony <john@jo.hnanthony.com>
7768
7769 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7770
7771 2013-10-09 Juri Linkov <juri@jurta.org>
7772
7773 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7774 instead of this-command-keys. Add universal-argument-more and
7775 universal-argument-minus to the list of prefix commands. (Bug#15568)
7776
7777 2013-10-09 Glenn Morris <rgm@gnu.org>
7778
7779 * vc/vc-svn.el (vc-svn-create-repo):
7780 Expand paths in file://... url. (Bug#15446)
7781
7782 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7783 Add some entries.
7784 (authors): Remove unused local variables.
7785
7786 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * profiler.el: Create a more coherent calltree from partial backtraces.
7789 (profiler-format): Hide the tail with `invisible' so that C-s can still
7790 find the hidden elements.
7791 (profiler-calltree-depth): Don't recurse so enthusiastically.
7792 (profiler-function-equal): New hash-table-test.
7793 (profiler-calltree-build-unified): New function.
7794 (profiler-calltree-build): Use it.
7795 (profiler-report-make-name-part): Indent the calltree less.
7796 (profiler-report-mode): Add visibility specs for profiler-format.
7797 (profiler-report-expand-entry, profiler-report-toggle-entry):
7798 Expand the whole subtree when provided with a prefix arg.
7799
7800 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7801
7802 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7803 iuwu-mod token.
7804 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7805 hanging iuwu-mod token.
7806 (ruby-smie--forward-token): Do not include a dot after a token in
7807 that token.
7808 (ruby-smie--backward-token): Likewise.
7809
7810 2013-10-08 Juri Linkov <juri@jurta.org>
7811
7812 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7813 to isearch-other-control-char.
7814 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7815 and isearch-post-command-hook to post-command-hook.
7816 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7817 and isearch-post-command-hook from post-command-hook.
7818 (isearch-unread-key-sequence)
7819 (isearch-reread-key-sequence-naturally)
7820 (isearch-lookup-scroll-key, isearch-other-control-char)
7821 (isearch-other-meta-char): Remove functions.
7822 (isearch-pre-command-hook, isearch-post-command-hook):
7823 New functions based on isearch-other-meta-char rewritten
7824 relying on the new behavior of overriding-terminal-local-map
7825 that does not replace the local keymaps any more. (Bug#15200)
7826
7827 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7828
7829 Support menus on text-mode terminals.
7830 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7831 functionality.
7832
7833 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7834
7835 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7836 Move here from mouse.el.
7837 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7838 and arrow keys.
7839 (tty-menu-navigation-map): New map for TTY menu navigation.
7840
7841 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7842
7843 * frame.el (display-mouse-p): Report text-mode mouse as available
7844 on w32.
7845 (display-popup-menus-p): Report availability if mouse is
7846 available; don't condition on window-system.
7847
7848 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7849 (tty-menu-selected-face): New faces.
7850
7851 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7854 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7855 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7856 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7857 New constants.
7858 (lisp-mode-variables): New `elisp' argument.
7859 (emacs-lisp-mode): Use it.
7860 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7861 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7862
7863 * indent.el: Use lexical-binding.
7864 (indent-region): Add progress reporter.
7865 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7866 last step.
7867 (indent--next-tab-stop): New function to implement this behavior.
7868 (tab-to-tab-stop, move-to-tab-stop): Use it.
7869
7870 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7871
7872 * indent.el (indent-rigidly--current-indentation): New function.
7873 (indent-rigidly-map): New var.
7874 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7875
7876 2013-10-08 Bastien Guerry <bzg@gnu.org>
7877
7878 * register.el (insert-register): Fix 2013-10-07 change.
7879
7880 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * progmodes/perl-mode.el: Use lexical-binding.
7883 Remove redundant :group args.
7884 (perl-nochange): Change default to be closer to other major modes's
7885 standard behavior.
7886 (perl-indent-line): Don't consider text on current line as a
7887 valid beginning of function from which to indent.
7888
7889 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7890 with more than one argument (bug#15538).
7891
7892 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7893
7894 * vc/pcvs.el: Use lexical-binding.
7895 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7896 environment of `eval'.
7897 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7898 than a list of expressions. Adjust callers.
7899 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7900
7901 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7902
7903 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7904 case of the dot in a chained method call being on the following line.
7905
7906 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7907
7908 * electric.el (electric-indent-inhibit): New var.
7909 (electric-indent-post-self-insert-function): Use it.
7910 * progmodes/python.el (python-mode): Set it.
7911
7912 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7913 open braces.
7914
7915 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7916
7917 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7918 (css-mode): Use electric-indent-chars.
7919
7920 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7921 (font-lock-beg, font-lock-end): Move before first use.
7922 (nxml-mode): Use syntax-propertize-function.
7923 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7924 (nxml-extend-after-change-region): Remove.
7925 * nxml/xmltok.el: Use lexical-binding.
7926 (xmltok-save): Use `declare'.
7927 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7928 * nxml/nxml-util.el: Use lexical-binding.
7929 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7930 Use `declare'.
7931 * nxml/nxml-ns.el: Use lexical-binding.
7932 (nxml-ns-save): Use `declare'.
7933 (nxml-ns-prefixes-for): Avoid add-to-list.
7934 * nxml/rng-match.el: Use lexical-binding.
7935 (rng--ipattern): Use cl-defstruct.
7936 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7937 (rng-cons-group-after, rng-subst-group-after)
7938 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7939 Use closures instead of `(lambda...).
7940
7941 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7942
7943 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7944 of BEG and END.
7945
7946 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7947 Use `tramp-handle-insert-file-contents'.
7948 (tramp-gvfs-handle-insert-file-contents): Remove function.
7949
7950 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7951 Use `save-restriction' in order to keep markers.
7952
7953 * net/trampver.el: Update release number.
7954
7955 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * progmodes/compile.el (compilation-parse-errors):
7958 Use compilation--put-prop.
7959 (compilation--ensure-parse): Check compilation-multiline.
7960
7961 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7962
7963 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7964 lexical-binding.
7965
7966 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7967
7968 * progmodes/ruby-mode.el: Fix recently added tests.
7969 (ruby-smie-grammar): Add - and +.
7970 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7971 (ruby-smie--backward-id): New functions.
7972 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7973 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7974 any more.
7975
7976 2013-10-07 Leo Liu <sdl.web@gmail.com>
7977
7978 * register.el (register-preview-delay)
7979 (register-preview-functions): New variables.
7980 (register-read-with-preview, register-preview)
7981 (register-describe-oneline): New functions.
7982 (point-to-register, window-configuration-to-register)
7983 (frame-configuration-to-register, jump-to-register)
7984 (number-to-register, view-register, insert-register)
7985 (copy-to-register, append-to-register, prepend-to-register)
7986 (copy-rectangle-to-register): Use register-read-with-preview to
7987 read register. (Bug#15525)
7988
7989 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7990
7991 * net/network-stream.el (network-stream-open-starttls): Don't add
7992 --insecure if it's already present, because that gnutls-cli
7993 rejects getting that parameter twice.
7994
7995 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7996
7997 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7998 keyword, too.
7999
8000 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8001
8002 * newcomment.el (comment-use-global-state): Change default value
8003 to t, mark obsolete (Bug#15251).
8004 (comment-beginning): In addition to `comment-to-syntax', check the
8005 value of `comment-use-global-state'.
8006
8007 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8010 (ruby-comment-column): Follow the global default, by default.
8011 (ruby-smie-grammar): Add assignment syntax.
8012 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8013 open-paren, a comma, or a \.
8014 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8015 and line continuations.
8016 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8017 followed by implicit semi-colons. Add rule for string concatenation
8018 and for indentation at BOB.
8019 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8020
8021 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8022 calling next-sexp, since next-token may have skipped chars which
8023 next-sexp doesn't know should be skipped!
8024
8025 2013-10-05 Leo Liu <sdl.web@gmail.com>
8026
8027 * progmodes/octave.el (octave-send-region):
8028 Call compilation-forget-errors.
8029
8030 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8031
8032 * vc/vc-svn.el (vc-svn-find-admin-dir):
8033 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8034 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8035 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8036 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8037
8038 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8041
8042 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * subr.el (read-passwd): Hide chars even when called within a context
8045 where after-change-functions is disabled (bug#15501).
8046 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8047 until we removed ourself from overriding-terminal-local-map.
8048
8049 2013-10-04 Leo Liu <sdl.web@gmail.com>
8050
8051 * progmodes/octave.el (inferior-octave-mode):
8052 Call compilation-forget-errors.
8053
8054 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8055
8056 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8057
8058 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8059
8060 * net/secrets.el (secrets-create-collection): Add optional
8061 argument ALIAS. Use proper Label keyword. Append ALIAS as
8062 dbus-call-method argument. (Bug#15516)
8063
8064 2013-10-04 Leo Liu <sdl.web@gmail.com>
8065
8066 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8067 (inferior-octave-compilation-font-lock-keywords): New variables.
8068 (compilation-error-regexp-alist)
8069 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8070 (inferior-octave-mode): Use compilation-shell-minor-mode.
8071
8072 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8073
8074 * minibuffer.el (completion--replace): Be careful that `end' might be
8075 a marker.
8076
8077 2013-10-03 Daiki Ueno <ueno@gnu.org>
8078
8079 Add support for package signature checking.
8080 * emacs-lisp/package.el (url-http-file-exists-p)
8081 (epg-make-context, epg-context-set-home-directory)
8082 (epg-verify-string, epg-context-result-for)
8083 (epg-signature-status, epg-signature-to-string)
8084 (epg-check-configuration, epg-configuration)
8085 (epg-import-keys-from-file): Declare.
8086 (package-check-signature): New user option.
8087 (package-unsigned-archives): New user option.
8088 (package-desc): Add `signed' field.
8089 (package-load-descriptor): Set `signed' field if .signed file exists.
8090 (package--archive-file-exists-p): New function.
8091 (package--check-signature): New function.
8092 (package-install-from-archive): Check package signature.
8093 (package--download-one-archive): Check archive signature.
8094 (package-delete): Remove .signed file.
8095 (package-import-keyring): New command.
8096 (package-refresh-contents): Import default keyring.
8097 (package-desc-status): Add "unsigned" status.
8098 (describe-package-1, package-menu--print-info)
8099 (package-menu-mark-delete, package-menu--find-upgrades)
8100 (package-menu--status-predicate): Support "unsigned" status.
8101
8102 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8105 the new compilation scheme using the new byte-codes.
8106
8107 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8108 (byte-pophandler): New byte codes.
8109 (byte-goto-ops): Adjust accordingly.
8110 (byte-compile--use-old-handlers): New var.
8111 (byte-compile-catch): Use new byte codes depending on
8112 byte-compile--use-old-handlers.
8113 (byte-compile-condition-case--old): Rename from
8114 byte-compile-condition-case.
8115 (byte-compile-condition-case--new): New function.
8116 (byte-compile-condition-case): New function that dispatches depending
8117 on byte-compile--use-old-handlers.
8118 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8119 when we can.
8120
8121 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8122 Optimize under `condition-case' and `catch' if
8123 byte-compile--use-old-handlers is nil.
8124 (disassemble-offset): Handle new bytecodes.
8125
8126 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * subr.el (error): Use `declare'.
8129 (decode-char, encode-char): Use advertised-calling-convention instead
8130 of the docstring to discourage use of the `restriction' arg.
8131
8132 2013-10-03 Daiki Ueno <ueno@gnu.org>
8133
8134 * epg.el (epg-verify-file): Add a comment saying that it does not
8135 notify verification error as a return value nor a signal.
8136 (epg-verify-string): Ditto.
8137
8138 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8139
8140 * progmodes/compile.el (compilation-start): Try globbing the arg to
8141 `cd' (bug#15417).
8142
8143 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8144
8145 Sync with Tramp 2.2.8.
8146
8147 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8148 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8149 * net/trampver.el: Update release number.
8150
8151 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8152
8153 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8154 and default-process-coding-system for darwin only.
8155
8156 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8159
8160 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8161
8162 * vc/vc-git.el (vc-git-grep): Disable pager.
8163
8164 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8165
8166 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8167 Use :url instead of :homepage, as per
8168 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8169
8170 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8171 non-nil, use `syntax-ppss' (Bug#15251).
8172
8173 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8174
8175 * progmodes/octave.el (inferior-octave-startup-file):
8176 Prefer ~/.emacs.d/init_octave.m.
8177
8178 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8179
8180 * emacs-lisp/package.el (package-desc-from-define):
8181 Accept additional arguments as plist, convert them to an alist and store
8182 them in the `extras' slot.
8183 (package-generate-description-file): Convert extras alist back to
8184 plist and append to the `define-package' form arguments.
8185 (package--alist-to-plist): New function.
8186 (package--ac-desc): Add `extras' slot.
8187 (package--add-to-archive-contents): Check if the archive-contents
8188 vector is long enough, and if it is, pass its `extras' slot value
8189 to `package-desc-create'.
8190 (package-buffer-info): Call `lm-homepage', pass the returned value
8191 to `package-desc-from-define'.
8192 (describe-package-1): Render the homepage button (Bug#13291).
8193
8194 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8195 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8196
8197 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8198
8199 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8200 and default-process-coding-system to utf-8-unix (Bug#15402).
8201
8202 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8203
8204 * subr.el (looking-back): Do not recommend using looking-back.
8205
8206 2013-09-28 Alan Mackenzie <acm@muc.de>
8207
8208 Fix indentation/fontification of Java enum with "implements".
8209
8210 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8211 regexp which matches "implements", etc., in Java.
8212 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8213 specifier clauses coming after "enum".
8214 * progmodes/cc-fonts.el (c-font-lock-declarations)
8215 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8216 after "enum".
8217
8218 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8219
8220 * faces.el (region): Change ns_selection_color to
8221 ns_selection_fg_color, add ns_selection_bg_color.
8222
8223 2013-09-28 Leo Liu <sdl.web@gmail.com>
8224
8225 * progmodes/octave.el (inferior-octave-completion-table)
8226 (inferior-octave-completion-at-point): Minor tweaks.
8227
8228 * textmodes/ispell.el (ispell-lookup-words): Rename from
8229 lookup-words. (Bug#15460)
8230 (lookup-words): Obsolete.
8231 (ispell-complete-word, ispell-command-loop): All uses changed.
8232
8233 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8234
8235 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8236 (octave-mode-menu): Add octave-send-buffer.
8237 (octave-send-buffer): New function.
8238
8239 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8240
8241 * progmodes/octave.el (octave-mode-map): Add key binding for
8242 octave-lookfor.
8243 (octave-mode-menu): Add octave-lookfor.
8244 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8245 octave-lookfor.
8246 (octave-lookfor): New function.
8247
8248 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8251 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8252 its convention.
8253 (cl--loop-set-iterator-function): New function.
8254 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8255 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8256 Bind `it' with `let' instead of substituting it with `cl-subst'.
8257 (cl--unused-var-p): New function.
8258 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8259 Eliminate some unused variable warnings (bug#15326).
8260
8261 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8262
8263 * doc-view.el (doc-view-scale-reset): Rename from
8264 `doc-view-reset-zoom-level'.
8265 (doc-view-scale-adjust): New command.
8266 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8267 `doc-view-scale-adjust'.
8268
8269 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8270
8271 * doc-view.el (doc-view-reset-zoom-level): New command.
8272 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8273 zoom commands (bug#15466).
8274
8275 2013-09-26 Kenichi Handa <handa@gnu.org>
8276
8277 * international/quail.el (quail-help): Make it not a command.
8278
8279 2013-09-26 Leo Liu <sdl.web@gmail.com>
8280
8281 * minibuffer.el (completion-all-sorted-completions): Make args
8282 optional as they are.
8283
8284 2013-09-25 Daniel Colascione <dancol@dancol.org>
8285
8286 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8287 specs are and that they're not evaluated.
8288
8289 2013-09-24 Sam Steingold <sds@gnu.org>
8290
8291 * midnight.el (clean-buffer-list-kill-regexps)
8292 (clean-buffer-list-kill-buffer-names): Update for the new Man
8293 buffer naming which includes the object name.
8294
8295 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8298 (eshell-parse-command, eshell-parse-pipeline): Use it since
8299 eshell-separate-commands requires a dynamic scoped var.
8300 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8301
8302 2013-09-23 Leo Liu <sdl.web@gmail.com>
8303
8304 * autoinsert.el (auto-insert-alist): Make the value of
8305 lexical-binding match its file setting.
8306
8307 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8308
8309 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8310
8311 * autoarg.el (autoarg-kp-digit-argument):
8312 * electric.el (Electric-command-loop):
8313 * kmacro.el (kmacro-step-edit-insert):
8314 Do not set universal-argument-num-events.
8315
8316 2013-09-22 Leo Liu <sdl.web@gmail.com>
8317
8318 * files.el (interpreter-mode-alist): Add octave.
8319
8320 2013-09-21 Alan Mackenzie <acm@muc.de>
8321
8322 C++: fontify identifier in declaration following "public:" correctly.
8323 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8324 to match "public", etc.
8325 (c-decl-prefix-re): Add ":" into the C++ value.
8326 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8327 bit. Add a check for a ":" preceded by "public", etc.
8328
8329 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8330
8331 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8332 recognized by GDB 7.5 and later.
8333
8334 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8335
8336 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8337
8338 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * subr.el (internal--call-interactively): New const.
8341 (called-interactively-p): Use it (bug#3984).
8342
8343 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8344
8345 * vc/pcvs.el (cvs-mode-ignore):
8346 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8347 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8348
8349 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8352 (eshell-ls-orig-insert-directory): Remove.
8353 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8354 (eshell-ls-use-in-dired): Use advice-add/remove.
8355 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8356 Add `orig-fun' arg for use in :around advice.
8357 Make it check (redundantly) eshell-ls-use-in-dired.
8358
8359 2013-09-19 Glenn Morris <rgm@gnu.org>
8360
8361 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8362
8363 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8364
8365 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8366
8367 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8368
8369 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8370 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8371 (tramp-get-remote-python): New defuns.
8372 (tramp-get-remote-uid-with-perl)
8373 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8374 contributed by yary <not.com@gmail.com> (tiny change).
8375 (tramp-get-remote-uid-with-python)
8376 (tramp-get-remote-gid-with-python): New defuns. Python code
8377 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8378 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8379
8380 2013-09-19 Glenn Morris <rgm@gnu.org>
8381
8382 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8383
8384 * eshell/em-unix.el (eshell-remove-entries):
8385 Rename argument to avoid name-clash with global `top-level'.
8386
8387 * eshell/esh-proc.el (eshell-kill-process-function):
8388 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8389 (eshell-reset-after-proc): Remove unused arg `proc'.
8390
8391 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8392 (directory-files-and-attributes): Mark unused arg.
8393
8394 * eshell/em-unix.el (eshell-remove-entries):
8395 Remove unused arg `path'. Update callers.
8396
8397 * eshell/em-hist.el (eshell-hist-parse-arguments):
8398 Remove unused arg `silent'. Update callers.
8399
8400 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8401 Fix (f)boundp mix-up.
8402
8403 * eshell/em-smart.el (eshell-smart-scroll-window)
8404 (eshell-disable-after-change):
8405 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8406
8407 2013-09-18 Alan Mackenzie <acm@muc.de>
8408
8409 Fix fontification of type when followed by "const".
8410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8411 "known" types from fontification.
8412
8413 2013-09-18 Glenn Morris <rgm@gnu.org>
8414
8415 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8416 (chart-face-list): Drop Emacsen without display-color-p.
8417
8418 * net/eww.el (libxml-parse-html-region): Declare.
8419 (eww-display-html): Explicit error if no libxml2 support.
8420
8421 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8422
8423 * image.el (image-type-from-buffer, image-multi-frame-p):
8424 Remove --without-x warning/error.
8425
8426 * mouse.el (mouse-yank-primary):
8427 * term.el (term-mouse-paste):
8428 Reorder to silence --without-x compilation.
8429
8430 * mpc.el (doc-view-mode): Silence --without-x compilation.
8431
8432 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8433 Silence --without-x compilation.
8434
8435 * progmodes/gud.el (gud-find-file, gud-mode):
8436 Silence --without-x compilation.
8437 (tooltip-mode): Declare.
8438
8439 * wdired.el (dired-backup-overwrite): Remove declaration.
8440 (wdired-mode-map): Add doc string.
8441
8442 * custom.el (x-get-resource): Declare.
8443
8444 * eshell/em-glob.el (ange-cache):
8445 * eshell/em-unix.el (ange-cache): Declare.
8446
8447 * faces.el (x-display-list, x-open-connection, x-get-resource):
8448 Declare.
8449
8450 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8451 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8452 Declare.
8453
8454 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8455
8456 * net/gnutls.el (gnutls-log-level): Declare.
8457
8458 * net/shr.el (image-size, image-animate): Declare.
8459
8460 * simple.el (font-info): Declare.
8461
8462 * subr.el (x-popup-dialog): Declare.
8463
8464 * term/common-win.el (x-select-enable-primary)
8465 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8466 Declare.
8467
8468 * term/ns-win.el (x-handle-args): Declare.
8469
8470 * term/x-win.el (x-select-enable-clipboard): Declare.
8471
8472 * term/w32-win.el (create-default-fontset): Declare.
8473
8474 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8475 Declare.
8476
8477 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8478 (fit-frame-to-buffer): Explicit error if --without-x.
8479 (mouse-autoselect-window-select): Silence compiler.
8480
8481 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8482
8483 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8484 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8485 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8486 * eshell/esh-util.el (eshell-sublist):
8487 Remove unused local variables.
8488
8489 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8490
8491 * textmodes/two-column.el: Make 2C-split work for --without-x.
8492 (scroll-bar-columns): Autoload.
8493 (top-level): Require fringe when compiling.
8494
8495 2013-09-18 Leo Liu <sdl.web@gmail.com>
8496
8497 * subr.el (add-hook): Robustify to handle closure as well.
8498
8499 2013-09-17 Glenn Morris <rgm@gnu.org>
8500
8501 * simple.el (messages-buffer-mode-map): Unbind "g".
8502
8503 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * help-mode.el (help-mode-finish): Use derived-mode-p.
8506 Remove obsolete highlighting.
8507
8508 * play/life.el (life-mode): Use define-derived-mode. Derive from
8509 special-mode.
8510 (life): Let-bind inhibit-read-only.
8511 (life-setup): Avoid `setq'. Use `life-mode'.
8512
8513 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8514 which should not be needed any more.
8515 (package-menu-refresh, package-menu-describe-package): Use user-error.
8516
8517 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8518 (eshell-post-rewrite-command-hook): Make obsolete.
8519 (eshell-parse-command): Simplify.
8520 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8521 (eshell--cmd): Declare.
8522 (eshell-parse-pipeline): Remove unused var `final-p'.
8523 Pass a dynvar to eshell-post-rewrite-command-hook.
8524 Implement the new eshell-post-rewrite-command-function.
8525 (eshell-invoke-directly): Remove unused arg `input'.
8526 * eshell/esh-io.el (eshell-io-initialize):
8527 Use eshell-post-rewrite-command-function (bug#15399).
8528 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8529 adjust to new calling convention.
8530 (eshell-create-handles): Rename args to avoid clashing with dynvar
8531 `standard-output'.
8532
8533 2013-09-17 Glenn Morris <rgm@gnu.org>
8534
8535 * simple.el (messages-buffer-mode): New major mode.
8536 (messages-buffer): New function.
8537 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8538 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8539 (ert-run-test): Use `messages-buffer' function.
8540 (ert--force-message-log-buffer-truncation): Ignore read-only.
8541 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8542 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8543
8544 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8547
8548 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8549
8550 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * icomplete.el (icomplete-in-buffer): New var.
8553 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8554 vars and replace them with functions.
8555 (icomplete-minibuffer-setup): Adjust accordingly.
8556 (icomplete--completion-table, icomplete--completion-predicate)
8557 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8558 New functions.
8559 (icomplete-forward-completions, icomplete-backward-completions)
8560 (icomplete-simple-completing-p, icomplete-exhibit)
8561 (icomplete-completions): Use them.
8562 (icomplete--in-region-buffer): New var.
8563 (icomplete--in-region-setup): New function.
8564 (icomplete-mode): Use it.
8565
8566 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8567 (bug#15379).
8568 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8569 return args and options.
8570 (eshell-eval-using-options): Use the new return value of
8571 eshell--do-opts to set the options's vars in their scope.
8572 (eshell--set-option): Rename from eshell-set-option.
8573 Add arg `opt-vals'.
8574 (eshell--process-option): Rename from eshell-process-option.
8575 Add arg `opt-vals'.
8576 (eshell--process-args): Use an `opt-vals' alist to store the options's
8577 values during their processing and return them additionally to the
8578 remaining args.
8579
8580 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8581
8582 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8583 continuation character an operator, as far as indentation is
8584 concerned (Bug#15369).
8585
8586 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8587
8588 * window.el (window--state-put-2): Don't process buffer state
8589 when buffer doesn't exist any more (Bug#15382).
8590
8591 2013-09-15 Glenn Morris <rgm@gnu.org>
8592
8593 * eshell/em-unix.el (eshell/rm):
8594 Make -f ignore missing files. (Bug#15373)
8595
8596 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8597 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8598 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8599
8600 2013-09-14 Glenn Morris <rgm@gnu.org>
8601
8602 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8603
8604 2013-09-13 Glenn Morris <rgm@gnu.org>
8605
8606 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8607 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8608
8609 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8610
8611 * frame.el (x-focus-frame): Mark as declared in frame.c.
8612
8613 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * ls-lisp.el: Use advice-add.
8616 (original-insert-directory): Remove.
8617 (ls-lisp--insert-directory): Rename from insert-directory; add
8618 `orig-fun' argument.
8619 (insert-directory): Advise.
8620
8621 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8622
8623 * term.el (term-emulate-terminal): Decode the command string
8624 before passing it to term-command-hook. (Bug#15337)
8625
8626 2013-09-13 Glenn Morris <rgm@gnu.org>
8627
8628 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8629
8630 * eshell/esh-ext.el (eshell-search-path): Declare.
8631
8632 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8633 Otherwise an error occurs if eshell-dirs module not loaded.
8634
8635 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8636
8637 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8638
8639 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8640 `tramp-check-proper-host'. Check for a valid method name.
8641
8642 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8643 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8644 * net/tramp-sh.el (tramp-maybe-open-connection):
8645 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8646
8647 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8648 also for hash values.
8649
8650 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * term/ns-win.el (parameters): Don't declare as dynamic.
8653 (before-make-frame-hook): Don't add ineffective function.
8654
8655 * eshell/*.el: Use lexical-binding (bug#15231).
8656
8657 2013-09-12 Kenichi Handa <handa@gnu.org>
8658
8659 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8660
8661 2013-09-12 Glenn Morris <rgm@gnu.org>
8662
8663 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8664 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8665
8666 * subr.el (do-after-load-evaluation): Also give compiler warnings
8667 when obsolete files are used (except by obsolete files).
8668
8669 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8670 in the status output, assume `filename' is the first. (Bug#15322)
8671
8672 * vc/vc.el (vc-deduce-fileset): Doc fix.
8673
8674 * calc/calc-help.el (Info-goto-node):
8675 * progmodes/cperl-mode.el (Info-find-node):
8676 * vc/ediff.el (Info-goto-node): Update declarations.
8677
8678 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8679
8680 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8681 (vc-bzr-pull): Require vc-dispatcher.
8682 * vc/vc-git.el (vc-compilation-mode): Declare.
8683 (vc-git-pull): Require vc-dispatcher.
8684
8685 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8686
8687 * progmodes/octave.el (help-button-action): Declare.
8688
8689 * shell.el (shell-directory-tracker): Output error as a message
8690 rather than just returning it as a string.
8691 (shell-process-pushd): Remove useless use of message.
8692
8693 * dframe.el (dframe-timer-fn):
8694 * files.el (dir-locals-read-from-file):
8695 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8696 (mpc-format):
8697 * reveal.el (reveal-post-command):
8698 * saveplace.el (load-save-place-alist-from-file):
8699 * shell.el (shell-resync-dirs):
8700 * w32-common-fns.el (x-get-selection-value):
8701 * emacs-lisp/copyright.el (copyright-find-copyright):
8702 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8703 * emulation/tpu-edt.el (tpu-copy-keyfile):
8704 * play/bubbles.el (bubbles--mark-neighbourhood):
8705 * progmodes/executable.el
8706 (executable-make-buffer-file-executable-if-script-p):
8707 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8708
8709 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 Cleanup Eshell to rely less on dynamic scoping.
8712 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8713 last-value, and ext-command here. Bind `args' closer to `body'.
8714 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8715 (eshell--args): Declare new dynamic var.
8716 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8717 last-value, and ext-command. Pass `args' to `body'.
8718 (eshell-process-args): Bind eshell--args.
8719 (eshell-set-option): Use eshell--args.
8720 * eshell/eshell.el (eshell): Use derived-mode-p.
8721 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8722 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8723 (eshell-glob-function): Declare.
8724 * eshell/esh-util.el: Require cl-lib.
8725 (eshell-read-hosts-file): Avoid add-to-list.
8726 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8727 `err'.
8728 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8729 Declare.
8730 (eshell/diff): Remove unused var `err'.
8731 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8732 `killflag'.
8733 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8734 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8735 first use.
8736 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8737 Move declaration before first use.
8738 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8739 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8740 rely on cl-return.
8741
8742 2013-09-12 Glenn Morris <rgm@gnu.org>
8743
8744 * term/ns-win.el (global-map): Remove binding for ispell-next,
8745 deleted 1999-05-29. (Bug#15357)
8746
8747 2013-09-11 Glenn Morris <rgm@gnu.org>
8748
8749 * echistory.el (electric-command-history): Remove call to deleted func.
8750
8751 * play/landmark.el (landmark-mode): Fix typos.
8752
8753 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8754 Check cvs-sort-ignore-file is bound.
8755
8756 * savehist.el: No need for cl when compiling on Emacs.
8757
8758 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8761 (bug#15338).
8762 (eshell-self-insert-command, eshell-send-invisible):
8763 Remove unused argument.
8764 (eshell-handle-control-codes): Remove unused var `orig'.
8765 Avoid delete-backward-char.
8766
8767 * files.el (set-auto-mode): Simplify a bit further.
8768
8769 2013-09-11 Glenn Morris <rgm@gnu.org>
8770
8771 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8772 (set-auto-mode): Don't regexp-quote elements.
8773 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8774 * progmodes/cc-mode.el (interpreter-mode-alist):
8775 * progmodes/ruby-mode.el (interpreter-mode-alist):
8776 Revert previous change.
8777
8778 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * play/snake.el (snake-mode):
8781 * play/mpuz.el (mpuz-mode):
8782 * play/landmark.el (lm-mode):
8783 * play/blackbox.el (blackbox-mode):
8784 * play/5x5.el (5x5-mode):
8785 * obsolete/options.el (Edit-options-mode):
8786 * net/quickurl.el (quickurl-list-mode):
8787 * net/newst-treeview.el (newsticker-treeview-mode):
8788 * mail/rmailsum.el (rmail-summary-mode):
8789 * mail/mspools.el (mspools-mode):
8790 * locate.el (locate-mode):
8791 * ibuffer.el (ibuffer-mode):
8792 * emulation/ws-mode.el (wordstar-mode):
8793 * emacs-lisp/debug.el (debugger-mode):
8794 * array.el (array-mode):
8795 * net/eudc.el (eudc-mode): Use define-derived-mode.
8796 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8797 Move initialization into declaration.
8798 (mairix-searches-mode): Use define-derived-mode.
8799 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8800 (eudc-edit-hotlist): Use dolist.
8801 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8802 (Man-mode): Use define-derived-mode.
8803 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8804 (Info-edit-mode): Use define-derived-mode.
8805 (Info-cease-edit): Use Info-mode.
8806 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8807 into declaration.
8808 (eshell-mode): Use define-derived-mode.
8809 * chistory.el (command-history-mode-map): Rename from
8810 command-history-map.
8811 (command-history-mode): Use define-derived-mode.
8812 (Command-history-setup): Remove function.
8813 * calc/calc.el (calc-trail-mode-map): New var.
8814 (calc-trail-mode): Use define-derived-mode.
8815 (calc-trail-buffer): Set calc-main-buffer manually.
8816 * bookmark.el (bookmark-insert-annotation): New function.
8817 (bookmark-edit-annotation): Use it.
8818 (bookmark-edit-annotation-mode): Make it a proper major mode.
8819 (bookmark-send-edited-annotation): Use derived-mode-p.
8820 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8821 closer to its ideal place. Use \' to match EOS.
8822
8823 * profiler.el (profiler-calltree-find): Use function-equal.
8824
8825 2013-09-10 Glenn Morris <rgm@gnu.org>
8826
8827 * files.el (interpreter-mode-alist): Convert to regexps.
8828 (set-auto-mode): Adapt for this. (Bug#15306)
8829 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8830 Comment out unused variable.
8831 * progmodes/cc-mode.el (interpreter-mode-alist):
8832 * progmodes/python.el (interpreter-mode-alist):
8833 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8834 * progmodes/sh-script.el (sh-set-shell):
8835 No longer use interpreter-mode-alist to get list of shells.
8836
8837 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8838
8839 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * simple.el: Use set-temporary-overlay-map for universal-argument.
8842 (universal-argument-map): Don't use default-bindings (bug#15317).
8843 Bind switch-frame explicitly. Replace universal-argument-minus with
8844 a conditional binding.
8845 (universal-argument-num-events, saved-overriding-map): Remove.
8846 (restore-overriding-map): Remove.
8847 (universal-argument--mode): Rename from save&set-overriding-map,
8848 and rewrite.
8849 (universal-argument, universal-argument-more, negative-argument)
8850 (digit-argument): Adjust accordingly.
8851 (universal-argument-minus): Remove.
8852 (universal-argument-other-key): Remove.
8853
8854 * subr.el (with-demoted-errors): Add `format' argument.
8855
8856 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8857
8858 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8859 `tramp-cleanup-connection'.
8860
8861 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8862 parameters KEEP-DEBUG and KEEP-PASSWORD.
8863
8864 * net/tramp.el (tramp-file-name-handler):
8865 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8866 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8867 (tramp-maybe-open-connection):
8868 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8869 Use `tramp-cleanup-connection'.
8870
8871 * net/tramp-sh.el (tramp-maybe-open-connection):
8872 Catch 'uname-changed inside the progress reporter.
8873
8874 2013-09-10 Glenn Morris <rgm@gnu.org>
8875
8876 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8877
8878 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8879 returns "alternate access method" in mode (eg "-rw-r--r--.").
8880
8881 2013-09-08 Glenn Morris <rgm@gnu.org>
8882
8883 * saveplace.el (load-save-place-alist-from-file):
8884 Demote errors. (Bug#15305)
8885
8886 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8887
8888 Improve compatibility with older Emacsen, and XEmacs.
8889
8890 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8891 only if it is bound. It isn't for XEmacs.
8892 (with-tramp-progress-reporter): Do not let-bind `result'.
8893 This yields to scoping errors in XEmacs.
8894 (tramp-handle-make-auto-save-file-name): New function, moved from
8895 tramp-sh.el.
8896
8897 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8898 for `make-auto-save-file-name'.
8899 (tramp-adb--gnu-switches-to-ash):
8900 Use `tramp-compat-replace-regexp-in-string'.
8901
8902 * net/tramp-cache.el (tramp-cache-print): Call
8903 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8904
8905 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8906 bound. It isn't for XEmacs.
8907
8908 * net/tramp-compat.el (tramp-compat-copy-file):
8909 Catch `wrong-number-of-arguments' error.
8910 (tramp-compat-replace-regexp-in-string): New defun.
8911
8912 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8913 for `make-auto-save-file-name'.
8914 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8915 `copy-file'.
8916 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8917 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8918 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8919
8920 * net/tramp-gw.el (tramp-gw-open-network-stream):
8921 Use `tramp-compat-replace-regexp-in-string'.
8922
8923 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8924 Call `tramp-handle-make-auto-save-file-name'.
8925 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8926 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8927 (tramp-sh-file-inotifywait-process-filter):
8928 Use `tramp-compat-replace-regexp-in-string'.
8929 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8930
8931 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8932 for `make-auto-save-file-name'.
8933 (tramp-smb-handle-copy-directory):
8934 Call `tramp-compat-replace-regexp-in-string'.
8935 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8936 (tramp-smb-handle-copy-file): Improve error message.
8937 (tramp-smb-handle-rename-file): Rename directly only in case
8938 `newname' does not exist yet. This is a restriction of smbclient.
8939 (tramp-smb-maybe-open-connection): Rerun the function only when
8940 `auth-sources' is non-nil.
8941
8942 2013-09-08 Kenichi Handa <handa@gnu.org>
8943
8944 * international/characters.el: Set category "^" (Combining) for
8945 more characters.
8946
8947 2013-09-07 Alan Mackenzie <acm@muc.de>
8948
8949 Correctly fontify Java class constructors.
8950 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8951 in Java Mode.
8952 (c-recognize-typeless-decls): Set the Java value to t.
8953 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8954 While handling a "(", add a check for, effectively, Java, and handle a
8955 "typeless" declaration there.
8956
8957 2013-09-07 Roland Winkler <winkler@gnu.org>
8958
8959 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8960 field subtitle for entry type book.
8961
8962 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * minibuffer.el: Make minibuffer-complete call completion-in-region
8965 rather than other way around.
8966 (completion--some, completion-pcm--find-all-completions):
8967 Don't delay signals when debugging.
8968 (minibuffer-completion-contents): Beware fields within the
8969 minibuffer contents.
8970 (completion-all-sorted-completions): Use defvar-local.
8971 (completion--do-completion, completion--cache-all-sorted-completions)
8972 (completion-all-sorted-completions, minibuffer-force-complete):
8973 Add args `beg' and `end'.
8974 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8975 (minibuffer-complete): Use completion-in-region.
8976 (completion-complete-and-exit): New fun, extracted from
8977 minibuffer-complete-and-exit.
8978 (minibuffer-complete-and-exit): Use it.
8979 (completion--complete-and-exit): Rename from
8980 minibuffer--complete-and-exit.
8981 (completion-in-region--single-word): New function, extracted from
8982 minibuffer-complete-word.
8983 (minibuffer-complete-word): Use it.
8984 (display-completion-list): Make `common-substring' argument obsolete.
8985 (completion--in-region): Call completion--in-region-1 instead of
8986 minibuffer-complete.
8987 (completion-help-at-point): Pass boundaries to
8988 minibuffer-completion-help as args rather than via an overlay.
8989 (completion-pcm--string->pattern): Use `any-delim'.
8990 (completion-pcm--optimize-pattern): New function.
8991 (completion-pcm--pattern->regex): Handle `any-delim'.
8992 * icomplete.el (icomplete-forward-completions)
8993 (icomplete-backward-completions, icomplete-completions):
8994 Adjust calls to completion-all-sorted-completions and
8995 completion--cache-all-sorted-completions.
8996 (icomplete-with-completion-tables): Default to t.
8997 * emacs-lisp/crm.el (crm--current-element): Rename from
8998 crm--select-current-element. Don't put an overlay but return the
8999 boundaries instead.
9000 (crm--completion-command): Take two new args to bind to the boundaries.
9001 (crm-completion-help): Adjust accordingly.
9002 (crm-complete): Use completion-in-region.
9003 (crm-complete-word): Use completion-in-region--single-word.
9004 (crm-complete-and-exit): Use completion-complete-and-exit.
9005
9006 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9009 than dynamically.
9010
9011 2013-09-06 Juri Linkov <juri@jurta.org>
9012
9013 * info.el (Info-display-images-node): When image file doesn't exist
9014 display text version of the image if it's provided in the Info file.
9015 Otherwise, display the location of missing image from SRC attribute.
9016 Add help-echo text property from ALT attribute. (Bug#15279)
9017
9018 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9021 (edit-abbrevs-mode): Use define-derived-mode.
9022
9023 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9024 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9025 that it's defined.
9026 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9027 Use define-derived-mode.
9028
9029 * epg.el (epg-start-encrypt): Minor CSE simplification.
9030
9031 2013-09-06 William Xu <william.xwl@gmail.com>
9032
9033 * arc-mode.el: Add support for 7za (bug#15264).
9034 (archive-7z-program): New var.
9035 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9036 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9037 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9038
9039 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9040
9041 Remove URL syntax.
9042
9043 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9044 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9045 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9046 (tramp-postfix-host-format, tramp-file-name-regexp)
9047 (tramp-completion-file-name-regexp)
9048 (tramp-completion-dissect-file-name)
9049 (tramp-handle-substitute-in-file-name): Remove 'url case.
9050 (tramp-file-name-regexp-url)
9051 (tramp-completion-file-name-regexp-url): Remove constants.
9052
9053 2013-09-06 Glenn Morris <rgm@gnu.org>
9054
9055 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9056
9057 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9058
9059 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9060 keywords" below "here-doc beginnings" (Bug#15270).
9061
9062 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * subr.el (pop): Use `car-safe'.
9065 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9066 to detect unused `pop' return value.
9067
9068 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9069 var `block-regexp'.
9070 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9071 (python-fill-string): Remove unused var `marker'.
9072 (python-skeleton-add-menu-items): Remove unused var `items'.
9073
9074 * international/mule-cmds.el: Require CL.
9075 (find-coding-systems-for-charsets): Avoid add-to-list.
9076 (sanitize-coding-system-list): New function, extracted from
9077 select-safe-coding-system-interactively.
9078 (select-safe-coding-system-interactively): Use it.
9079 (read-input-method-name): Accept symbols for `default'.
9080
9081 * emacs-lisp/advice.el (defadvice): Add indent rule.
9082
9083 2013-09-05 Daniel Hackney <dan@haxney.org>
9084
9085 * dired-x.el:
9086 * net/ange-ftp.el:
9087 * net/browse-url.el:
9088 * net/dbus.el:
9089 * net/eudc.el:
9090 * net/eudcb-ldap.el:
9091 * net/eww.el:
9092 * net/imap.el:
9093 * printing.el:
9094 * vc/ediff-diff.el:
9095 * vc/ediff-init.el:
9096 * vc/ediff-merg.el:
9097 * vc/ediff-mult.el:
9098 * vc/ediff-util.el:
9099 * vc/ediff-wind.el:
9100 * vc/ediff.el:
9101 * vc/emerge.el:
9102 * vc/pcvs.el:
9103 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9104 byte compiler. Remove some unused let-bound variables.
9105
9106 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9109 a "ref-cell", since it gets better optimized (bug#14883).
9110
9111 2013-09-05 Glenn Morris <rgm@gnu.org>
9112
9113 * progmodes/cc-awk.el (c-forward-sws): Declare.
9114
9115 2013-09-04 Glenn Morris <rgm@gnu.org>
9116
9117 * generic-x.el [rul-generic-mode]: Require cc-mode.
9118 (c++-mode-syntax-table): Declare.
9119 (rul-generic-mode-syntax-table): Init in the defvar.
9120
9121 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9124 (vc-do-command, vc-set-async-update):
9125 * vc/vc-mtn.el (vc-mtn-dir-status):
9126 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9127 (vc-hg-pull, vc-hg-merge-branch):
9128 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9129 (vc-git-merge-branch):
9130 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9131 (vc-cvs-dir-status-files):
9132 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9133 (vc-bzr-dir-status-files):
9134 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9135 * vc/vc-annotate.el: Use lexical-binding.
9136 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9137 (vc-sentinel-movepoint): Declare.
9138 (vc-annotate): Don't use `goto-line'.
9139 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9140 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9141 (vc-sentinel-movepoint): Declare.
9142 * vc/vc-svn.el: Use lexical-binding.
9143 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9144 * vc/vc-sccs.el:
9145 * vc/vc-rcs.el: Use lexical-binding.
9146
9147 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9148 `deleted'. Don't drop errors silently.
9149
9150 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9151
9152 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9153
9154 * vc/vc.el (vc-ignore): Rewrite.
9155 (vc-default-ignore): New function.
9156 (vc-default-ignore-completion-table): Use find-ignore-file.
9157
9158 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9159 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9160 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9161 Remove. Most code moved to vc.el.
9162
9163 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9166 * net/tramp-smb.el (tramp-smb-get-file-entries):
9167 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9168 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9169
9170 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9171 Update call to it.
9172 (eww-change-select): Remove unused var `properties'.
9173 (eww-make-unique-file-name): Remove unused var `base'.
9174
9175 * finder.el (finder-compile-keywords): Don't mess with windows.
9176
9177 * calculator.el (calculator-funcall): Fix typo in last change.
9178
9179 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9180
9181 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9182 <pkg>-autoloads.el file stop us.
9183
9184 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9185 warnings, and factor out common code.
9186
9187 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9188
9189 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9190 two-character operators and whether the character preceding them
9191 changes their meaning (Bug#15208).
9192
9193 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9194
9195 Format code sent to Python shell for robustness.
9196 * progmodes/python.el (python-shell-buffer-substring):
9197 New function.
9198 (python-shell-send-region, python-shell-send-buffer): Use it.
9199
9200 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9203 * net/tramp.el (tramp-user-error): ... here.
9204 (tramp-find-method, tramp-check-proper-host)
9205 (tramp-dissect-file-name, tramp-debug-message)
9206 (tramp-handle-shell-command):
9207 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9209
9210 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9211
9212 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9213
9214 * avoid.el (mouse-avoidance-point-position)
9215 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9216 returns nil.
9217
9218 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9219
9220 * progmodes/python.el (python-shell-completion-get-completions):
9221 Drop use of deleted `comint-last-prompt-overlay'.
9222 (python-nav-if-name-main): New command.
9223
9224 2013-09-01 Glenn Morris <rgm@gnu.org>
9225
9226 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9227 Avoid leading space in $wins. Otherwise the sed command used by
9228 eg compile-main ends up containing "/*.el". (Bug#15170)
9229
9230 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9231
9232 2013-08-30 Glenn Morris <rgm@gnu.org>
9233
9234 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9235 Fix is-this-a-directory logic. (Bug#15220)
9236
9237 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * textmodes/css-mode.el: Use SMIE.
9240 (css-smie-grammar): New var.
9241 (css-smie--forward-token, css-smie--backward-token)
9242 (css-smie-rules): New functions.
9243 (css-mode): Use them.
9244 (css-navigation-syntax-table): Remove var.
9245 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9246 (css-indent-calculate, css-indent-line): Remove functions.
9247
9248 Misc changes to reduce use of `(lambda...); and other cleanups.
9249 * cus-edit.el: Use lexical-binding.
9250 (customize-push-and-save, customize-apropos)
9251 (custom-buffer-create-internal): Use closures.
9252 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9253 * progmodes/ada-xref.el: Use setq.
9254 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9255 * dframe.el: Use lexical-binding.
9256 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9257 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9258 * descr-text.el: Use lexical-binding.
9259 (describe-text-widget, describe-text-sexp, describe-property-list):
9260 Use closures.
9261 * comint.el (comint-history-isearch-push-state): Use a closure.
9262 * calculator.el: Use lexical-binding.
9263 (calculator-number-to-string): Make it work with lexical-binding.
9264 (calculator-funcall): Same and use cl-letf.
9265
9266 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9267 (lisp--company-doc-string, lisp--company-location): New functions.
9268 (lisp-completion-at-point): Use them to improve Company support.
9269
9270 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9271 params of lambda expressions.
9272 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9273 (ruby-smie--opening-pipe-p): New function.
9274 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9275 symbols and matched |...| for formal params.
9276 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9277 from being treated as hanging. Handle "rescue".
9278
9279 2013-08-29 Glenn Morris <rgm@gnu.org>
9280
9281 * progmodes/cc-engine.el (c-pull-open-brace):
9282 Move definition before use.
9283
9284 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9287 are immutable. Don't use `unsafe' any more.
9288 (cl--defsubst-expand): Don't substitute at the same time as keeping
9289 a residual unused let-binding. Don't use `unsafe' any more.
9290
9291 2013-08-29 Glenn Morris <rgm@gnu.org>
9292
9293 * calendar/cal-china.el (calendar-chinese-year-cache):
9294 Recenter on 2015.
9295
9296 * nxml/nxml-util.el (nxml-debug-clear-inside):
9297 Use cl-loop rather than loop.
9298
9299 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9300
9301 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9302
9303 2013-08-28 Glenn Morris <rgm@gnu.org>
9304
9305 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9306
9307 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9308
9309 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9310
9311 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * simple.el (repeat-complex-command--called-interactively-skip):
9314 New function.
9315 (repeat-complex-command): Use it (bug#14136).
9316
9317 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9318 (c-define-abbrev-table): Add `doc' argument.
9319 (c-mode-abbrev-table, c++-mode-abbrev-table)
9320 (objc-mode-abbrev-table, java-mode-abbrev-table)
9321 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9322 (awk-mode-abbrev-table): Use it.
9323 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9324 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9325 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9326 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9327 Move initialization into the declaration; and remove any
9328 autoload cookie.
9329
9330 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9331 and dynamic let binding.
9332
9333 * vc/smerge-mode.el: Remove redundant :group args.
9334
9335 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9336 to load-path.
9337
9338 2013-08-28 Juri Linkov <juri@jurta.org>
9339
9340 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9341 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9342 (isearch-other-meta-char): Handle an undefined shifted printing
9343 character by downshifting it. (Bug#15200)
9344
9345 2013-08-28 Juri Linkov <juri@jurta.org>
9346
9347 * isearch.el (isearch-search): Change regexp error message for
9348 non-regexp searches. (Bug#15166)
9349
9350 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9351
9352 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9353 for portability to hosts where /bin/sh has problems.
9354
9355 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9358
9359 2013-08-27 Juri Linkov <juri@jurta.org>
9360
9361 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9362 in the keyboard macro. (Bug#15126)
9363
9364 2013-08-27 Juri Linkov <juri@jurta.org>
9365
9366 * isearch.el (isearch-quote-char): Comment out converting unibyte
9367 to multibyte, thus syncing with its `quoted-insert' counterpart.
9368 (Bug#15166)
9369
9370 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9371
9372 * window.el (display-buffer-use-some-window): Add missing
9373 argument in call of get-largest-window (Bug#15185).
9374 Reported by Stephen Leake.
9375
9376 2013-08-27 Glenn Morris <rgm@gnu.org>
9377
9378 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9379
9380 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9383 from a matcher-function unless there's no more matches (bug#15161).
9384
9385 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9386
9387 * minibuffer.el: Revert change from 2013-08-20.
9388
9389 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9390 with text property `tramp-default', if appropriate.
9391 (tramp-check-proper-host): New defun.
9392 (tramp-dissect-file-name): Do not check hostname. Revert change
9393 of 2013-03-18.
9394 (tramp-backtrace): Make VEC-OR-PROC optional.
9395
9396 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9397 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9398 * net/tramp-sh.el (tramp-maybe-open-connection):
9399 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9400 Apply `tramp-check-proper-host'.
9401
9402 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9403
9404 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9405 lambda expression in order to have `describe-variable' display it.
9406
9407 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9408
9409 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9410 BUF can be optional. (Bug#15186)
9411
9412 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9413
9414 * progmodes/flymake.el (flymake-get-real-file-name-function):
9415 Fix broken customization. (Bug#15184)
9416
9417 2013-08-25 Alan Mackenzie <acm@muc.de>
9418
9419 Improve indentation of bracelists defined by macros (without "=").
9420
9421 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9422 expansion begins with "{", regard it as bracelist when it doesn't
9423 contain a ";".
9424
9425 Parse C++ inher-intro when there's a template split over 2 lines.
9426
9427 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9428 rigorously the search for "class" etc. followed by ":".
9429
9430 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9431 random languages a regexp which never matches rather than nil.
9432
9433 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9434
9435 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9436 (c-awk-regexp-one-line-possibly-open-char-list-re)
9437 (c-awk-one-line-possibly-open-regexp-re)
9438 (c-awk-one-line-non-syn-ws*-re): Remove.
9439 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9440 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9441 (c-awk-space*-unclosed-regexp-/-re): New constants.
9442 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9443 aren't regexp delimiters.
9444
9445 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9446 handling for a rare situation in AWK Mode involving unterminated
9447 strings/regexps.
9448
9449 2013-08-23 Glenn Morris <rgm@gnu.org>
9450
9451 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9452
9453 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9454
9455 * files.el (create-file-buffer): If the result would begin with
9456 spaces, prepend a "|" instead of removing them. (Bug#15162)
9457
9458 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9461 text-properties (bug#15155).
9462
9463 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9464 exist any more.
9465 (calc-keypad-redraw): Remove unused var `pad'.
9466 (calc-keypad-press): Remove unused var `menu'.
9467
9468 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9469
9470 * window.el (display-buffer-pop-up-frame):
9471 Call pop-up-frame-function with BUFFER current so `make-frame' will
9472 use it as the new frame's buffer (Bug#15133).
9473
9474 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * calendar/timeclock.el: Minor cleanups.
9477 (timeclock-ask-before-exiting, timeclock-use-display-time):
9478 Use `symbol'.
9479 (timeclock-modeline-display): Define as alias before the
9480 actual definition.
9481 (timeclock-mode-line-display): Use define-minor-mode.
9482 (timeclock-day-list-template): Make it a function, add an argument.
9483 (timeclock-day-list-required, timeclock-day-list-length)
9484 (timeclock-day-list-debt, timeclock-day-list-span)
9485 (timeclock-day-list-break): Adjust calls accordingly.
9486
9487 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9490 Use read--expression so that completion works again.
9491
9492 2013-08-21 Sam Steingold <sds@gnu.org>
9493
9494 Add rudimentary inferior shell interaction
9495 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9496 (sh-set-shell): Reset it.
9497 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9498 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9499
9500 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * align.el: Use lexical-binding.
9503 (align-region): Simplify accordingly.
9504
9505 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9508
9509 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9510 `non-essential' up.
9511
9512 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9513
9514 * net/tramp.el:
9515 * net/tramp-adb.el:
9516 * net/tramp-cmds.el:
9517 * net/tramp-ftp.el:
9518 * net/tramp-gvfs.el:
9519 * net/tramp-gw.el:
9520 * net/tramp-sh.el: Don't wrap external variable declarations by
9521 `eval-when-compile'.
9522
9523 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9524
9525 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9526 now that Emacs supports ImageMagick animations.
9527
9528 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9529
9530 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9531 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9532
9533 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9534
9535 * window.el (mouse-autoselect-window-select): Do autoselect when
9536 mouse pointer is on margin.
9537
9538 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9539
9540 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9541
9542 2013-08-16 Glenn Morris <rgm@gnu.org>
9543
9544 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9545 Handle "Remote Directory" response of some clients. (Bug#15058)
9546
9547 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9548 Tweak warning. (Bug#14926)
9549
9550 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9551 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9552
9553 * image-mode.el (image-mode-map): Add menu items to reverse,
9554 increase, decrease, reset animation speed.
9555 (image--set-speed, image-increase-speed, image-decrease-speed)
9556 (image-reverse-speed, image-reset-speed): New functions.
9557 (image-mode-map): Add bindings for speed commands.
9558
9559 * image.el (image-animate-get-speed, image-animate-set-speed):
9560 New functions.
9561 (image-animate-timeout): Respect image :speed property.
9562
9563 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9566 previous line (bug#15101).
9567 (debugger-eval-expression, debugger-record-expression):
9568 Use read--expression (bug#15102).
9569
9570 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9571
9572 Remove byte compiler warnings, visible when compiling with
9573 `byte-compile-force-lexical-warnings' set to t.
9574
9575 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9576 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9577 (tramp-handle-unhandled-file-name-directory)
9578 (tramp-handle-file-notify-add-watch, tramp-action-login)
9579 (tramp-action-succeed, tramp-action-permission-denied)
9580 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9581 arguments with "_".
9582
9583 * net/tramp-adb.el (tramp-adb-parse-device-names)
9584 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9585 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9586 (tramp-adb-handle-file-truename): Remove unused arguments.
9587
9588 * net/tramp-cache.el (tramp-flush-directory-property)
9589 (tramp-flush-connection-property, tramp-list-connections)
9590 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9591
9592 * net/tramp-compat.el (tramp-compat-make-temp-file):
9593 Rename FILENAME to F.
9594
9595 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9596 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9597 (tramp-zeroconf-parse-workstation-device-names)
9598 (tramp-zeroconf-parse-webdav-device-names)
9599 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9600
9601 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9602 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9603
9604 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9605 arguments.
9606 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9607 (tramp-sh-handle-insert-file-contents-literally)
9608 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9609 with "_".
9610 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9611 Remove unused variables.
9612
9613 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9614 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9615 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9616
9617 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9618 Make them a defconst.
9619 (tramp-uuencode-region): Remove unused variable.
9620
9621 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9622
9623 * frameset.el (frameset--prop-setter): New function.
9624 (frameset-prop): Add gv-setter declaration.
9625 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9626 parameter was already set in FILTERED. Doc fix.
9627 (frameset--record-minibuffer-relationships): Allow saving a
9628 minibufferless frame without its corresponding minibuffer frame.
9629 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9630 frame, if the frame id matches.
9631 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9632 frames before orphaned ones.
9633 (frameset-restore): Warn about orphaned windows, instead of error out.
9634
9635 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9636
9637 * window.el (window-make-atom): Don't overwrite parameter
9638 already present.
9639 (display-buffer-in-atom-window): Handle special case where we
9640 split an already atomic window.
9641 (window--major-non-side-window, display-buffer-in-side-window)
9642 (window--side-check): Ignore minibuffer window when walking
9643 window tree.
9644 (window-deletable-p): Return 'frame only if no other frame uses
9645 our minibuffer window.
9646 (record-window-buffer): Run buffer-list-update-hook.
9647 (split-window): Make sure window--check-frame won't destroy an
9648 existing atomic window in case the new window gets nested
9649 inside.
9650 (display-buffer-at-bottom): Ignore minibuffer window when
9651 walking window tree. Don't split a side window.
9652 (pop-to-buffer): Don't set-buffer here, the select-window call
9653 should do that.
9654 (mouse-autoselect-window-select): Autoselect only if we are in the
9655 text portion of the window.
9656
9657 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9658
9659 * net/shr.el (shr-parse-image-data): New function to grab both the
9660 data itself and the Content-Type.
9661 (shr-put-image): Use it.
9662
9663 * net/eww.el (eww-display-image): Ditto.
9664
9665 * image.el (image-content-type-suffixes): New variable.
9666
9667 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9668
9669 * progmodes/python.el (python-imenu--build-tree)
9670 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9671
9672 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9673
9674 * simple.el (backward-word): Mention the optional argument.
9675
9676 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * frameset.el (frameset--make): Rename constructor from make-frameset.
9679 (frameset-p, frameset-valid-p): Don't autoload.
9680 (frameset-valid-p): Use normal accessors.
9681
9682 2013-08-13 Glenn Morris <rgm@gnu.org>
9683
9684 * progmodes/compile.el (compile-command): Tweak example in doc.
9685 * obsolete/scribe.el (scribe-mode):
9686 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9687
9688 * mail/feedmail.el (feedmail-confirm-outgoing)
9689 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9690
9691 * cus-start.el (truncate-partial-width-windows): Fix type.
9692
9693 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9694
9695 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9696
9697 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * emacs-lisp/timer.el (timer--time-setter): New function.
9700 (timer--time): Use it as gv-setter.
9701
9702 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9703 setter is not a symbol.
9704
9705 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9706
9707 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9708 if sending fails. This makes debugging easier.
9709
9710 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9711
9712 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9713 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9714 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9715
9716 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9717
9718 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9719
9720 2013-08-12 Glenn Morris <rgm@gnu.org>
9721
9722 * format.el (format-annotate-function):
9723 Handle read-only text properties in the source. (Bug#14887)
9724
9725 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9726
9727 * net/eww.el (eww-display-html): Ignore coding system errors.
9728 One web site uses "utf-8lias" as the coding system.
9729
9730 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9731
9732 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9733
9734 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9737 (tutorial--detailed-help): Remove unused local variables.
9738 (tutorial--save-tutorial-to): Use ignore-errors.
9739 (help-with-tutorial): Use looking-at-p.
9740
9741 * view.el (view-buffer-other-window, view-buffer-other-frame):
9742 Mark unused arguments.
9743
9744 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9745 (woman-select-symbol-fonts, woman, woman-find-file)
9746 (woman-insert-file-contents, woman-non-underline-faces):
9747 Use string-match-p.
9748 (woman1-unquote): Move declaration.
9749
9750 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9751 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9752 argument. Remove unused local variable.
9753 (xml-parse-elem-type): Use string-match-p.
9754 (xml-substitute-numeric-entities): Use ignore-errors.
9755
9756 * calculator.el (calculator): Mark unused argument.
9757 (calculator-paste, calculator-quit, calculator-integer-p):
9758 Use ignore-errors.
9759 (calculator-string-to-number, calculator-decimal, calculator-exp)
9760 (calculator-op-or-exp): Use string-match-p.
9761
9762 * dired.el (dired-buffer-more-recently-used-p): Declare.
9763 (dired-insert-set-properties, dired-insert-old-subdirs):
9764 Use ignore-errors.
9765
9766 * dired-aux.el (dired-compress): Use ignore-errors.
9767 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9768 (dired-do-async-shell-command, dired-do-shell-command)
9769 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9770 (dired-insert-subdir-validate): Use string-match-p.
9771 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9772 (dired-add-entry): Use string-match-p, looking-at-p.
9773 (dired-insert-subdir-newpos): Remove unused local variable.
9774
9775 * filenotify.el (file-notify-callback): Remove unused local variable.
9776
9777 * filesets.el (filesets-error): Mark unused argument.
9778 (filesets-which-command-p, filesets-filter-dir-names)
9779 (filesets-directory-files, filesets-get-external-viewer)
9780 (filesets-ingroup-get-data): Use string-match-p.
9781
9782 * find-file.el (ff-other-file-name, ff-other-file-name)
9783 (ff-find-the-other-file, ff-cc-hh-converter):
9784 Remove unused local variables.
9785 (ff-get-file-name): Use string-match-p.
9786 (ff-all-dirs-under): Use ignore-errors.
9787
9788 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9789 (follow-select-if-visible): Remove unused local variable.
9790
9791 * forms.el (read-file-filter): Move declaration.
9792 (forms--make-format, forms--make-parser, forms-insert-record):
9793 Quote function with #'.
9794 (forms--update): Use string-match-p. Quote function with #'.
9795
9796 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9797 (help-make-xrefs): Use looking-at-p.
9798 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9799
9800 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9801 (ibuffer-confirm-operation-on): Use string-match-p.
9802
9803 * msb.el (msb-item-handler, msb-dired-item-handler):
9804 Mark unused arguments.
9805
9806 * ses.el (ses-decode-cell-symbol)
9807 (ses-kill-override): Remove unused local variable.
9808 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9809 (ses-load): Use ignore-errors, looking-at-p.
9810 (ses-jump-safe): Use ignore-errors.
9811 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9812
9813 * tabify.el (untabify, tabify): Mark unused arguments.
9814
9815 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9816 Mark unused argument.
9817 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9818 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9819
9820 * emacs-lisp/timer.el (timer--time): Define setter with
9821 gv-define-setter to avoid deprecation warning.
9822
9823 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9824 (*record-cmpl-statistics-p*): Remove (was commented out).
9825 (cmpl-statistics-block): Remove (body was commented out).
9826 All callers changed.
9827 (add-completions-from-buffer, load-completions-from-file):
9828 Remove unused variables.
9829
9830 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * filecache.el (file-cache-delete-file-list):
9833 Print message only when told so.
9834 (file-cache-files-matching): Use #' in mapconcat argument.
9835
9836 * ffap.el (ffap-url-at-point): Fix reference to variable
9837 thing-at-point-default-mail-uri-scheme.
9838
9839 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * subr.el (define-error): New function.
9842 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9843 error-file-not-found and define with define-error.
9844 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9845 and define with define-error.
9846 * userlock.el (file-locked, file-supersession):
9847 * simple.el (mark-inactive):
9848 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9849 * progmodes/ada-mode.el (ada-mode-errors):
9850 * play/life.el (life-extinct):
9851 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9852 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9853 * nxml/rng-util.el (rng-error):
9854 * nxml/rng-uri.el (rng-uri-error):
9855 * nxml/rng-match.el (rng-compile-error):
9856 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9857 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9858 * nxml/nxml-rap.el (nxml-scan-error):
9859 * nxml/nxml-outln.el (nxml-outline-error):
9860 * net/soap-client.el (soap-error):
9861 * net/gnutls.el (gnutls-error):
9862 * net/ange-ftp.el (ftp-error):
9863 * mpc.el (mpc-proc-error):
9864 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9865 (json-number-format, json-string-escape, json-string-format)
9866 (json-key-format, json-object-format):
9867 * jka-compr.el (compression-error):
9868 * international/quail.el (quail-error):
9869 * international/kkc.el (kkc-error):
9870 * emacs-lisp/ert.el (ert-test-failed):
9871 * calc/calc.el (calc-error, inexact-result, math-overflow)
9872 (math-underflow):
9873 * bookmark.el (bookmark-error-no-filename):
9874 * epg.el (epg-error): Define with define-error.
9875
9876 * time.el (display-time-event-handler)
9877 (display-time-next-load-average): Don't call sit-for since it seems
9878 unnecessary (bug#15045).
9879
9880 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9881 Use #' instead of ' to quote functions.
9882 (checkdoc-output-mode): Use setq-local.
9883 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9884 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9885 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9886 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9887 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9888 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9889 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9890 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9891
9892 * ido.el (ido-completion-help): Fix up compiler warning.
9893
9894 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9895
9896 * frameset.el (frameset-p): Add autoload cookie.
9897 (frameset--jump-to-register): New function, based on code moved from
9898 register.el.
9899 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9900
9901 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9902 (frameset-restore, frameset-save, frameset-session-filter-alist):
9903 Remove declarations.
9904 (register-alist): Doc fix.
9905 (frameset-to-register): Move to frameset.el.
9906 (jump-to-register, describe-register-1): Remove frameset-specific code.
9907
9908 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9909
9910 * allout-widgets.el (allout-widgets-pre-command-business)
9911 (allout-widgets-post-command-business)
9912 (allout-widgets-after-change-handler)
9913 (allout-decorate-item-and-context, allout-set-boundary-marker)
9914 (allout-body-modification-handler)
9915 (allout-graphics-modification-handler): Mark ignored arguments.
9916 (allout-widgets-post-command-business)
9917 (allout-widgets-exposure-change-processor)
9918 (allout-widgets-exposure-undo-processor)
9919 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9920 (allout-parse-item-at-point, allout-decorate-item-guides)
9921 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9922 * allout.el (epa-passphrase-callback-function): Declare.
9923 (allout-overlay-insert-in-front-handler)
9924 (allout-overlay-interior-modification-handler)
9925 (allout-isearch-end-handler, allout-chart-siblings)
9926 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9927 (allout-yank-processing, allout-process-exposed)
9928 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9929 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9930 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9931 (lisp-indent-defform): Mark ignored arguments.
9932 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9933 (calculate-lisp-indent): Remove unused variables.
9934 * international/characters.el (indian-2-column, arabic-2-column)
9935 (tibetan): Mark ignored arguments.
9936 (use-cjk-char-width-table): Mark ignored arguments.
9937 Remove unused variables.
9938 * international/fontset.el (build-default-fontset-data)
9939 (x-compose-font-name, create-fontset-from-fontset-spec):
9940 Mark ignored arguments.
9941 (fontset-plain-name): Remove unused variables.
9942 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9943 (keyboard-coding-system): Mark ignored arguments.
9944 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9945 * help.el (resize-temp-buffer-window):
9946 * window.el (display-buffer-in-major-side-window)
9947 (display-buffer-in-side-window, display-buffer-in-previous-window):
9948 Remove unused variables.
9949 * isearch.el (isearch-forward-symbol):
9950 * version.el (emacs-bzr-version-bzr):
9951 * international/mule-cmds.el (current-language-environment):
9952 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9953 (x-handle-display):
9954 * term/pc-win.el (x-list-fonts, x-display-planes)
9955 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9956 (x-server-version, x-display-screens, x-display-mm-height)
9957 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9958 (x-selection-owner-p, x-own-selection-internal)
9959 (x-disown-selection-internal, x-get-selection-internal)
9960 (msdos-initialize-window-system):
9961 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9962 * term/x-win.el (x-handle-no-bitmap-icon):
9963 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9964 (vc-default-find-file-hook, vc-default-extra-menu):
9965 Mark ignored arguments.
9966
9967 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9968
9969 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9970 break-condition in the context of the debugged code (bug#12685).
9971
9972 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9973
9974 * comint.el:
9975 Do not use an overlay to highlight the last prompt. (Bug#14744)
9976 (comint-mode): Make comint-last-prompt buffer local.
9977 (comint-last-prompt): New variable.
9978 (comint-last-prompt-overlay): Remove. Superseded by
9979 comint-last-prompt.
9980 (comint-snapshot-last-prompt, comint-output-filter):
9981 Use comint-last-prompt.
9982
9983 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9986 (frameset-save): Check validity of the resulting frameset.
9987
9988 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9989
9990 * ido.el (ido-record-command): Add doc string.
9991
9992 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * frameset.el (frameset): Do not disable creation of the default
9995 frameset-p predicate. Doc fix.
9996 (frameset-valid-p): New function, copied from the old predicate-p.
9997 Add additional checks.
9998 (frameset-restore): Check with frameset-valid-p.
9999 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10000 (frameset-name, frameset-description, frameset-properties)
10001 (frameset-states): Add docstring.
10002 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10003 (frameset-filter-alist): Doc fixes.
10004
10005 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10006
10007 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10008
10009 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10012 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10013 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10014 (byte-compile-normal-call): Remove obsolescence check.
10015
10016 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10017
10018 * frameset.el (frameset-restore): Doc fix.
10019
10020 * register.el (frameset-frame-id, frameset-frame-with-id)
10021 (frameset-p, frameset-restore, frameset-save): Declare.
10022 (register-alist): Document framesets.
10023 (frameset-session-filter-alist): Declare.
10024 (frameset-to-register): New function.
10025 (jump-to-register): Implement jumping to framesets. Doc fix.
10026 (describe-register-1): Describe framesets.
10027
10028 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10029
10030 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10031
10032 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10033 Use lexical-binding.
10034
10035 * frameset.el (frameset): Use type vector, not list (incompatible
10036 change). Do not declare a new constructor, use the default one.
10037 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10038 `name' and `description', respectively, and add read-only slot
10039 `timestamp'. Doc fixes.
10040 (frameset-copy, frameset-persistent-filter-alist)
10041 (frameset-filter-alist, frameset-switch-to-gui-p)
10042 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10043 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10044 (frameset-filter-iconified, frameset-keep-original-display-p):
10045 Doc fixes.
10046 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10047 Rename from frameset-filter-(save|restore)-param. All callers changed.
10048 Doc fix.
10049 (frameset-p): Adapt to change to vector and be more thorough.
10050 Change arg name to OBJECT. Doc fix.
10051 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10052 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10053 All callers changed.
10054 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10055 All callers changed.
10056 (frameset--record-minibuffer-relationships): Rename from
10057 frameset--process-minibuffer-frames. All callers changed.
10058 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10059 Use new default constructor (again). Doc fix.
10060 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10061 All callers changed.
10062 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10063 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10064 Doc fix.
10065 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10066 PARAMETERS and WINDOW-STATE, respectively.
10067 (frameset-restore): Add new keyword argument PREDICATE.
10068 Reset frameset--target-display to nil. Doc fix.
10069
10070 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10073 (bat-mode): Use it.
10074 (bat-mode-syntax-table): Mark \n as end-of-comment.
10075 (bat-font-lock-keywords): Remove comment rule.
10076
10077 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10078 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10079
10080 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10081 (byte-compile-callargs-warn): Use `push'.
10082 (byte-compile-arglist-warn): Ignore higher-order "calls".
10083 (byte-compile-file-form-autoload): Use `pcase'.
10084 (byte-compile-function-form): If quoting a symbol, check that it exists.
10085
10086 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10087
10088 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10089 and add a few popular commands found in batch files.
10090 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10091 (dos-mode): Doc fixes.
10092
10093 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10096 (dos-mode): Use setq-local. Add space after "rem".
10097 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10098 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10099
10100 2013-08-07 Arni Magnusson <arnima@hafro.is>
10101
10102 * progmodes/dos.el: New file.
10103 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10104 dos-mode.
10105
10106 2013-08-06 Glenn Morris <rgm@gnu.org>
10107
10108 * calendar/calendar.el: Add new faces, and day-header-array.
10109 (calendar-weekday-header, calendar-weekend-header)
10110 (calendar-month-header): New faces.
10111 (calendar-day-header-construct): New function.
10112 (calendar-day-header-width): Also :set calendar-day-header-array.
10113 (calendar-american-month-header, calendar-european-month-header)
10114 (calendar-iso-month-header): Use calendar- faces.
10115 (calendar-generate-month):
10116 Use calendar-day-header-array for day headers; apply faces to them.
10117 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10118 (calendar-abbrev-construct): Add optional maxlen argument.
10119 (calendar-day-name-array): Doc fix.
10120 (calendar-day-name-array, calendar-abbrev-length)
10121 (calendar-day-abbrev-array):
10122 Also :set calendar-day-header-array, and maybe redraw.
10123 (calendar-day-header-array): New option. (Bug#15007)
10124 (calendar-font-lock-keywords): Set to nil and make obsolete.
10125 (calendar-day-name): Add option to use header array.
10126
10127 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10128
10129 * net/shr.el (shr-render-td): Remove debugging.
10130 (shr-render-td): Make width computation consistent by defaulting
10131 all zero-width columns to 10 characters. This may not be optimal,
10132 but it's at least consistent.
10133 (shr-make-table-1): Redo last change to fix the real problem in
10134 colspan handling.
10135
10136 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10137
10138 * files.el (cache-long-line-scans):
10139 Make obsolete alias to `cache-long-scans'.
10140
10141 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * frameset.el (frameset, frameset-filter-alist)
10144 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10145 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10146 (frameset-compute-pos): Rename from frameset--compute-pos,
10147 and add docstring.
10148 (frameset-move-onscreen): Use frameset-compute-pos.
10149 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10150
10151 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10152 Fix typos in docstrings.
10153
10154 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10155
10156 * frame.el (get-other-frame): Tiny cleanup.
10157
10158 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * vc/vc.el (vc-default-ignore-completion-table):
10161 Silence byte-compiler warning.
10162
10163 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10164 slot, which can indeed be nil.
10165 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10166 Move entry for `left' from persistent to live filter alist.
10167 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10168 Doc fixes.
10169 (frameset-filter-params): When restoring a frame, copy items added to
10170 `filtered', to avoid unwittingly modifying the original parameters.
10171 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10172 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10173
10174 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10175 to use looking-at-p instead of looking-at. (Bug#15028)
10176
10177 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 Revert introduction of isearch-filter-predicates (bug#14714).
10180 Rely on add-function instead.
10181 * isearch.el (isearch-filter-predicates): Rename it back to
10182 isearch-filter-predicate.
10183 (isearch-message-prefix): Use advice-function-mapc and advice
10184 properties to get the isearch-message-prefix.
10185 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10186 instead of run-hook-with-args-until-failure.
10187 (isearch-filter-visible): Not obsolete any more.
10188 * loadup.el: Preload nadvice.
10189 * replace.el (perform-replace): Revert to funcall
10190 instead of run-hook-with-args-until-failure.
10191 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10192 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10193 dired-isearch-filenames-toggle; make it into a proper minor mode.
10194 Use add/remove-function.
10195 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10196 Call the minor-mode rather than add/remove-hook.
10197 (dired-isearch-filter-filenames):
10198 Remove isearch-message-prefix property.
10199 * info.el (Info--search-loop): New function, extracted from Info-search.
10200 Funcall isearch-filter-predicate instead of
10201 run-hook-with-args-until-failure isearch-filter-predicates.
10202 (Info-search): Use it.
10203 (Info-mode): Use isearch-filter-predicate instead of
10204 isearch-filter-predicates.
10205
10206 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10207
10208 Do not call to `selected-window' where it is assumed by default.
10209 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10210 `window-hscroll', `window-width', `window-height', `window-buffer',
10211 `window-frame', `window-start', `window-point', `next-window'
10212 and `window-display-table'.
10213 * abbrev.el (abbrev--default-expand):
10214 * bs.el (bs--show-with-configuration):
10215 * buff-menu.el (Buffer-menu-mouse-select):
10216 * calc/calc.el (calc):
10217 * calendar/calendar.el (calendar-generate-window):
10218 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10219 (diary-make-entry):
10220 * comint.el (send-invisible, comint-dynamic-complete-filename)
10221 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10222 * completion.el (complete):
10223 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10224 * disp-table.el (describe-current-display-table):
10225 * doc-view.el (doc-view-insert-image):
10226 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10227 * ehelp.el (with-electric-help):
10228 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10229 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10230 * emacs-lisp/helper.el (Helper-help-scroller):
10231 * emulation/cua-base.el (cua--post-command-handler-1):
10232 * eshell/esh-mode.el (eshell-output-filter):
10233 * ffap.el (ffap-gnus-wrapper):
10234 * help-macro.el (make-help-screen):
10235 * hilit-chg.el (highlight-compare-buffers):
10236 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10237 * hl-line.el (global-hl-line-highlight):
10238 * icomplete.el (icomplete-simple-completing-p):
10239 * isearch.el (isearch-done):
10240 * jit-lock.el (jit-lock-stealth-fontify):
10241 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10242 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10243 * mpc.el (mpc-tagbrowser, mpc):
10244 * net/rcirc.el (rcirc-any-buffer):
10245 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10246 * play/landmark.el (landmark-max-width, landmark-max-height):
10247 * play/zone.el (zone):
10248 * progmodes/compile.el (compilation-goto-locus):
10249 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10250 * progmodes/etags.el (find-tag-other-window):
10251 * progmodes/fortran.el (fortran-column-ruler):
10252 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10253 * progmodes/verilog-mode.el (verilog-point-text):
10254 * reposition.el (reposition-window):
10255 * rot13.el (toggle-rot13-mode):
10256 * server.el (server-switch-buffer):
10257 * shell.el (shell-dynamic-complete-command)
10258 (shell-dynamic-complete-environment-variable):
10259 * simple.el (insert-buffer, set-selective-display)
10260 (delete-completion-window):
10261 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10262 (speedbar-recenter):
10263 * startup.el (fancy-splash-head):
10264 * textmodes/ispell.el (ispell-command-loop):
10265 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10266 * tutorial.el (help-with-tutorial):
10267 * vc/add-log.el (add-change-log-entry):
10268 * vc/compare-w.el (compare-windows):
10269 * vc/ediff-help.el (ediff-indent-help-message):
10270 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10271 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10272 (ediff-setup-control-frame):
10273 * vc/emerge.el (emerge-position-region):
10274 * vc/pcvs-util.el (cvs-bury-buffer):
10275 * window.el (walk-windows, mouse-autoselect-window-select):
10276 * winner.el (winner-set-conf, winner-undo): Related users changed.
10277
10278 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10279
10280 * frameset.el (frameset--set-id): Doc fix.
10281 (frameset-frame-id, frameset-frame-id-equal-p)
10282 (frameset-locate-frame-id): New functions.
10283 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10284 (frameset-restore): Use them.
10285
10286 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10287
10288 Do not call to `selected-frame' where it is assumed by default.
10289 Affected functions are `raise-frame', `redraw-frame',
10290 `frame-first-window', `frame-terminal' and `delete-frame'.
10291 * calendar/appt.el (appt-disp-window):
10292 * epg.el (epg-wait-for-completion):
10293 * follow.el (follow-delete-other-windows-and-split)
10294 (follow-avoid-tail-recenter):
10295 * international/mule.el (set-terminal-coding-system):
10296 * mail/rmail.el (rmail-mail-return):
10297 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10298 * progmodes/f90.el (f90-add-imenu-menu):
10299 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10300 * server.el (server-switch-buffer):
10301 * simple.el (delete-completion-window):
10302 * talk.el (talk):
10303 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10304 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10305 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10306 * vc/ediff.el (ediff-documentation): Related users changed.
10307 * frame.el (selected-terminal): Remove the leftover.
10308
10309 2013-08-05 Glenn Morris <rgm@gnu.org>
10310
10311 * calendar/calendar.el (calendar-generate-month):
10312 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10313 (calendar-generate-month, calendar-font-lock-keywords):
10314 Fix for calendar-day-header-width > length of any day name.
10315
10316 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10317
10318 * desktop.el (desktop-clear): Use new name of sort predicate.
10319
10320 * frameset.el (frameset): Add docstring. Move :version property to its
10321 own `version' slot.
10322 (frameset-copy): Rename from copy-frameset.
10323 (frameset-p): Check more thoroughly.
10324 (frameset-prop): Do not check for :version, which is no longer a prop.
10325 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10326 Use new :never value instead of t.
10327 (frameset-filter-alist): Expand and clarify docstring.
10328 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10329 (frameset-filter-minibuffer, frameset-filter-save-param)
10330 (frameset-filter-restore-param, frameset-filter-iconified):
10331 Add pointer to docstring of frameset-filter-alist.
10332 (frameset-filter-params): Rename filter values to be more meaningful:
10333 :never instead of t, and reverse the meanings of :save and :restore.
10334 (frameset--process-minibuffer-frames): Clarify error message.
10335 (frameset-save): Avoid unnecessary and confusing call to framep.
10336 Use new BOA constructor for framesets.
10337 (frameset--reuse-list): Doc fix.
10338 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10339 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10340 (frameset-minibufferless-first-p): Doc fix.
10341 Rename from frameset-sort-frames-for-deletion.
10342 (frameset-restore): Doc fixes. Use new function names.
10343 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10344
10345 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10346
10347 * desktop.el (desktop-restore-forces-onscreen)
10348 (desktop-restore-reuses-frames): Document :keyword constant values.
10349 (desktop-filter-parameters-alist): Remove, now identical to
10350 frameset-filter-alist.
10351 (desktop--filter-tty*): Remove, moved to frameset.el.
10352 (desktop-save-frameset, desktop-restore-frameset):
10353 Do not pass :filters argument.
10354
10355 * frameset.el (frameset-live-filter-alist)
10356 (frameset-persistent-filter-alist): New variables.
10357 (frameset-filter-alist): Use them. Add autoload cookie.
10358 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10359 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10360 `frameset--id' (it's supposed to be internal to frameset.el).
10361 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10362 (frameset--initial-params): New function.
10363 (frameset--get-frame): Use it. Doc fix.
10364 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10365 Accept :all, not 'all.
10366 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10367 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10368 with fbound symbols. Fix frame id matching, and remove matching ids if
10369 the frame being restored is deleted. Obey :delete.
10370
10371 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * subr.el (macrop): New function.
10374 (text-clone--maintaining): New var.
10375 (text-clone--maintain): Rename from text-clone-maintain. Use it
10376 instead of inhibit-modification-hooks.
10377
10378 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10379 a proxy, so as handle autoloads and redefinitions of the target.
10380 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10381
10382 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10383 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10384 (pcase--mutually-exclusive-p): New function.
10385 (pcase--split-consp): Use it.
10386 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10387 mutually exclusive with the current predicate.
10388
10389 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10390 (edebug-macrop): Remove. Use `macrop' instead.
10391 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10392 (ad-macro-p):
10393 * eshell/esh-cmd.el (eshell-macrop):
10394 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10395
10396 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10397
10398 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10399 (advice-mapc): New function, using it.
10400 (advice-function-member-p): New function.
10401 (advice--normalize): Store the cdr in advice--saved-rewrite since
10402 that's the part that will be changed.
10403 (advice--symbol-function): New function.
10404 (advice-remove): Handle removal before the function is defined.
10405 Adjust to new advice--saved-rewrite.
10406 (advice-member-p): Use advice-function-member-p and
10407 advice--symbol-function.
10408
10409 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10410
10411 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10412 (frameset-filter-minibuffer): Doc fix.
10413 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10414 (frameset--set-id, frameset--process-minibuffer-frames)
10415 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10416 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10417
10418 * desktop.el (desktop-clear): Only delete frames when called
10419 interactively and desktop-restore-frames is non-nil. Doc fix.
10420 (desktop-read): Set desktop-saved-frameset to nil.
10421
10422 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10423
10424 * vc/vc.el (vc-ignore): Rewrite.
10425 (vc-default-ignore-completion-table, vc--read-lines)
10426 (vc--add-line, vc--remove-regexp): New functions.
10427
10428 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10429 (vc-svn-ignore-completion-table): New function.
10430
10431 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10432 (vc-hg-ignore-completion-table)
10433 (vc-hg-find-ignore-file): New functions.
10434
10435 * vc/vc-git.el (vc-git-ignore): Rewrite.
10436 (vc-git-ignore-completion-table)
10437 (vc-git-find-ignore-file): New functions.
10438
10439 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10440
10441 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10442 (vc-bzr-ignore-completion-table)
10443 (vc-bzr-find-ignore-file): New functions.
10444
10445 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10446
10447 * frameset.el (frameset-prop): New function and setter.
10448 (frameset-save): Do not modify frame list passed by the caller.
10449
10450 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10453
10454 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10457 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10458
10459 * custom.el (custom-initialize-default, custom-initialize-set)
10460 (custom-initialize-reset, custom-initialize-changed): Affect the
10461 toplevel-default-value (bug#6275, bug#14586).
10462 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10463 for bug#6275.
10464
10465 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10466
10467 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10468 Add cl-def* expressions.
10469
10470 * frameset.el (frameset-filter-params): Fix order of arguments.
10471
10472 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10473
10474 Move code related to saving frames to frameset.el.
10475 * desktop.el: Require frameset.
10476 (desktop-restore-frames): Doc fix.
10477 (desktop-restore-reuses-frames): Rename from
10478 desktop-restoring-reuses-frames.
10479 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10480 (desktop-clear): Clear frames too.
10481 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10482 (desktop--filter-tty*, desktop-save, desktop-read):
10483 Use frameset functions.
10484 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10485 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10486 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10487 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10488 (desktop--process-minibuffer-frames, desktop-save-frames)
10489 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10490 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10491 (desktop--sort-states, desktop-restoring-frames-p)
10492 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10493 (desktop-restoring-frameset-p, desktop-restore-frameset)
10494 (desktop--check-dont-save, desktop-save-frameset): New functions.
10495 (desktop--app-id): New constant.
10496 (desktop-first-buffer, desktop-buffer-ok-count)
10497 (desktop-buffer-fail-count): Move before first use.
10498 * frameset.el: New file.
10499
10500 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * files.el: Use lexical-binding.
10503 (dir-locals-read-from-file): Remove unused `err' variable.
10504 (hack-dir-local-variables--warned-coding): New var.
10505 (hack-dir-local-variables): Use it to avoid repeated warnings.
10506 (make-backup-file-name--default-function): New function.
10507 (make-backup-file-name-function): Use it as default.
10508 (buffer-stale--default-function): New function.
10509 (buffer-stale-function): Use it as default.
10510 (revert-buffer-insert-file-contents--default-function): New function.
10511 (revert-buffer-insert-file-contents-function): Use it as default.
10512 (insert-directory): Avoid add-to-list.
10513
10514 * autorevert.el (auto-revert-handler): Simplify.
10515 Use buffer-stale--default-function.
10516
10517 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10518
10519 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10520
10521 * whitespace.el (whitespace-ensure-local-variables): New function.
10522 (whitespace-cleanup-region): Call it.
10523 (whitespace-turn-on): Call it.
10524
10525 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10526
10527 Complete file name handlers.
10528
10529 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10530 (tramp-handle-verify-visited-file-modtime)
10531 (tramp-handle-file-notify-rm-watch): New functions.
10532 (tramp-call-process): Do not bind `default-directory'.
10533
10534 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10535 Order alphabetically.
10536 <access-file, add-name-to-file, dired-call-process>:
10537 <dired-compress-file, file-acl, file-notify-rm-watch>:
10538 <file-ownership-preserved-p, file-selinux-context>:
10539 <make-directory-internal, make-symbolic-link, set-file-acl>:
10540 <set-file-selinux-context, set-visited-file-modtime>:
10541 <verify-visited-file-modtime>: Add handler.
10542 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10543
10544 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10545 <file-notify-add-watch, file-notify-rm-watch>:
10546 <set-file-times, set-visited-file-modtime>:
10547 <verify-visited-file-modtime>: Add handler.
10548 (with-tramp-gvfs-error-message)
10549 (tramp-gvfs-handle-set-visited-file-modtime)
10550 (tramp-gvfs-fuse-file-name): Remove.
10551 (tramp-gvfs-handle-file-notify-add-watch)
10552 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10553 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10554
10555 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10556 Order alphabetically.
10557 <file-notify-rm-watch>: Use default Tramp handler.
10558 <executable-find>: Remove private handler.
10559 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10560 `default-directory'.
10561 (tramp-sh-handle-executable-find)
10562 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10563 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10564 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10565 Do not use `format' in `tramp-message'.
10566
10567 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10568 <file-notify-rm-watch, set-visited-file-modtime>:
10569 <verify-visited-file-modtime>: Add handler.
10570 (tramp-smb-call-winexe): Do not bind `default-directory'.
10571
10572 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10573
10574 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10575
10576 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10577
10578 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10579 use it.
10580 (log-view-diff-changeset): Same.
10581 (log-view-diff-common): Call backend command `previous-revision'
10582 to find out the previous revision, in both cases. Swap the
10583 variables `to' and `fr', so that `fr' usually refers to the
10584 earlier revision (Bug#14989).
10585
10586 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10587
10588 * ibuf-ext.el (ibuffer-filter-by-filename):
10589 Make it work with dired buffers too.
10590
10591 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10592
10593 * emacs-lisp/re-builder.el (reb-color-display-p):
10594 * files.el (save-buffers-kill-terminal):
10595 * net/browse-url.el (browse-url):
10596 * server.el (server-save-buffers-kill-terminal):
10597 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10598 Prefer nil to selected-frame for the first arg of frame-parameter.
10599
10600 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10601
10602 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10603
10604 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10605
10606 * minibuffer.el (completion--twq-all): Try and preserve each
10607 completion's case choice (bug#14907).
10608
10609 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10610
10611 * net/network-stream.el (open-network-stream): Mention the new
10612 :nogreeting parameter.
10613 (network-stream-open-starttls): Use the :nogreeting parameter
10614 (bug#14938).
10615
10616 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10617
10618 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10619 more natural than popping.
10620
10621 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10622 (shr-urlify): Highlight under mouse.
10623
10624 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10625
10626 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10627
10628 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10629
10630 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10631 buffer for output.
10632
10633 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10634 point-min==1. Fix search string. Fix parentheses missing.
10635
10636 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10637 assume point-min==1. Fix search string. Fix parentheses missing.
10638
10639 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10640
10641 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10642 buffer for output.
10643
10644 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10645
10646 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10647 initial frame is minibuffer-less. (Bug#14841)
10648
10649 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10650
10651 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10652 option.
10653
10654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10655 (tramp-maybe-open-connection): Use it.
10656
10657 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10658
10659 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10660 minimal set of parameters passed when creating a frame, because
10661 the minibuffer status of a frame cannot be changed later.
10662
10663 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10664
10665 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10666 replace-regexp-in-string and inadvertent omissions in previous change.
10667 (todo-filter-items): Ensure only file names are comma-separated in
10668 name of filtered items buffer.
10669
10670 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10671
10672 * desktop.el: Optionally force offscreen frames back onscreen.
10673 (desktop-restoring-reuses-frames): New option.
10674 (desktop--compute-pos, desktop--move-onscreen): New functions.
10675 (desktop--make-frame): Use desktop--move-onscreen.
10676
10677 2013-07-27 Alan Mackenzie <acm@muc.de>
10678
10679 Fontify a Java generic method as a function.
10680 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10681 value to t.
10682
10683 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10684
10685 * calendar/todo-mode.el: Add command to rename todo files.
10686 (todo-rename-file): New command.
10687 (todo-key-bindings-t): Add key binding for it. Change the
10688 bindings of todo-filter-regexp-items(-multifile) to use `x'
10689 instead of `r', since the latter is better suited to the new
10690 renaming command.
10691
10692 2013-07-27 Alan Mackenzie <acm@muc.de>
10693
10694 Make Java try-with-resources statement parse properly.
10695 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10696 (c-block-stmt-1-2-key): New language constants/variables.
10697 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10698 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10699 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10700 with c-block-stmt-1-2-key.
10701
10702 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * desktop.el (desktop--make-frame): Apply most frame parameters after
10705 creating the frame to force (partially or totally) offscreen frames to
10706 be restored as such.
10707
10708 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10709
10710 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10711 (Bug#14948)
10712
10713 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10716 `base' arg of backtrace-frame.
10717
10718 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10719
10720 * simple.el (list-processes): Doc fix.
10721
10722 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * desktop.el (desktop--select-frame):
10725 Try harder to reuse existing frames.
10726
10727 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10730 (edebug-eval): Use backtrace-eval.
10731 (edebug--display, edebug--recursive-edit): Don't let-bind the
10732 edebug-outer-* vars that keep track of variables we locally let-bind.
10733 (edebug-outside-excursion): Don't restore outside values of locally
10734 let-bound vars.
10735 (edebug--display): Use user-error.
10736 (cl-lexical-debug, cl-debug-env): Remove.
10737
10738 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10739
10740 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10741 are restored to be sure that they are visible before deleting any
10742 remaining ones.
10743
10744 2013-07-26 Matthias Meulien <orontee@gmail.com>
10745
10746 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10747 vc-print-root-log. (Bug#14948)
10748
10749 2013-07-26 Richard Stallman <rms@gnu.org>
10750
10751 Add aliases for encrypting mail.
10752 * epa.el (epa-mail-aliases): New option.
10753 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10754 Bind inhibit-read-only so read-only text doesn't ruin everything.
10755 (epa-mail-default-recipients): New subroutine broken out.
10756 Handle epa-mail-aliases.
10757
10758 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 Add support for lexical variables to the debugger's `e' command.
10761 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10762 vars, except for debugger-outer-match-data.
10763 (debugger-frame-number): Move check for "on a function call" from
10764 callers into it. Add `skip-base' argument.
10765 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10766 (debugger-env-macro): Only reset the state stored in non-variables,
10767 i.e. current-buffer and match-data.
10768 (debugger-eval-expression): Rewrite using backtrace-eval.
10769 * subr.el (internal--called-interactively-p--get-frame): Remove.
10770 (called-interactively-p):
10771 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10772 `base' arg of backtrace-frame instead.
10773
10774 2013-07-26 Glenn Morris <rgm@gnu.org>
10775
10776 * align.el (align-regexp): Doc fix. (Bug#14857)
10777 (align-region): Explicit error if subexpression missing/does not match.
10778
10779 * simple.el (global-visual-line-mode):
10780 Do not duplicate the mode lighter. (Bug#14858)
10781
10782 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10783
10784 * window.el (display-buffer): In display-buffer bind
10785 split-window-keep-point to t, bug#14829.
10786
10787 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10788
10789 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10790 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10791 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10792 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10793 Change accordingly.
10794 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10795 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10796
10797 2013-07-25 Glenn Morris <rgm@gnu.org>
10798
10799 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10800
10801 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10802
10803 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10804 parameter to modify-frame-parameters if the value has not changed;
10805 this is a workaround for bug#14949.
10806 (desktop--make-frame): On cl-delete-if call, check parameter name,
10807 not full parameter.
10808
10809 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10810
10811 * vc/vc.el (vc-ignore): New function.
10812
10813 * vc/vc-svn.el (vc-svn-ignore): New function.
10814
10815 * vc/vc-hg.el (vc-hg-ignore): New function.
10816
10817 * vc/vc-git.el (vc-git-ignore): New function.
10818
10819 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10820 (vc-dir-ignore): New function.
10821
10822 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10823 (cvs-append-to-ignore): Move here from pcvs.el.
10824
10825 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10826
10827 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10828
10829 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10832 (desktop-restore-frames): Warn when deleting an existing frame failed.
10833
10834 2013-07-24 Glenn Morris <rgm@gnu.org>
10835
10836 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10837
10838 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10839
10840 * filenotify.el (file-notify-supported-p):
10841 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10842 Remove functions.
10843
10844 * autorevert.el (auto-revert-use-notify)
10845 (auto-revert-notify-add-watch):
10846 * net/tramp.el (tramp-file-name-for-operation):
10847 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10849 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10850 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10851 Remove `file-notify-supported-p' entry.
10852
10853 2013-07-24 Glenn Morris <rgm@gnu.org>
10854
10855 * printing.el: Replace all uses of deleted ps-windows-system,
10856 ps-lp-system, ps-flatten-list with lpr- versions.
10857
10858 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10861 checked with memq (bug#14935).
10862
10863 * files.el (revert-buffer-function): Use a non-nil default.
10864 (revert-buffer-preserve-modes): Declare var to
10865 provide access to the `preserve-modes' argument.
10866 (revert-buffer): Let-bind it.
10867 (revert-buffer--default): New function, extracted from revert-buffer.
10868
10869 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * lpr.el: Signal print errors more prominently.
10872 (print-region-function): Don't default to nil.
10873 (lpr-print-region): New function, extracted from print-region-1.
10874 Check lpr's return value and signal an error in case of problem.
10875 (print-region-1): Use it.
10876 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10877 versions instead.
10878 (ps-printer-name): Default to nil.
10879 (ps-printer-name-option): Default to lpr-printer-switch.
10880 (ps-print-region-function): Don't default to nil.
10881 (ps-postscript-code-directory): Simplify default.
10882 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10883 (ps-string-list, ps-eval-switch, ps-flatten-list)
10884 (ps-flatten-list-1): Remove.
10885 (ps-multibyte-buffer): Avoid setq.
10886 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10887 (print-region-function, ps-print-region-function): Don't set them here.
10888
10889 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10890
10891 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10892 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10893 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10894 (ido-decorations): Doc fix.
10895
10896 * ansi-color.el: Fix old URL.
10897
10898 2013-07-23 Michael R. Mauger <michael@mauger.com>
10899
10900 * progmodes/sql.el: Version 3.3
10901 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10902 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10903 (sql-interactive-remove-continuation-prompt): Rewrite, use
10904 functions above. Fix continuation prompt and complete output line
10905 handling.
10906 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10907 redirected output buffer.
10908 (sql-mode): Restore deleted code (Bug#13591).
10909
10910 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10911
10912 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10913
10914 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10915
10916 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10917
10918 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10919 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10920 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10921
10922 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10923
10924 * desktop.el (desktop-clear): Simplify; remove useless checks
10925 against invalid buffer names.
10926 (desktop-list*): Use cl-list*.
10927 (desktop-buffer-info, desktop-create-buffer): Simplify.
10928
10929 2013-07-23 Leo Liu <sdl.web@gmail.com>
10930
10931 * bookmark.el (bookmark-make-record): Restore NAME as a default
10932 value. (Bug#14933)
10933
10934 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10937 extracted from autoload--insert-text.
10938 (autoload--insert-text): Remove.
10939 (autoload--print-cookie-text): New function, extracted from
10940 autoload--insert-cookie-text.
10941 (autoload--insert-cookie-text): Remove.
10942 (autoload-generate-file-autoloads): Adjust calls accordingly.
10943
10944 * winner.el (winner-hook-installed-p): Remove.
10945 (winner-mode): Simplify accordingly.
10946
10947 * subr.el (add-to-list): Fix compiler-macro when `append' is
10948 not constant. Don't use `cl-member' for the base case.
10949
10950 * progmodes/subword.el: Fix boundary case (bug#13758).
10951 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10952 own group.
10953 (subword-backward-regexp): Make it a constant.
10954 (subword-forward-internal): Don't treat a trailing capital as the
10955 beginning of a word.
10956
10957 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10958
10959 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10960 global value of tabulated-list-revert-hook (bug#14930).
10961
10962 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * desktop.el: Require 'cl-lib.
10965 (desktop-before-saving-frames-functions): New hook.
10966 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10967 for frames being saved. Rename from desktop--save-minibuffer-frames.
10968 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10969 Do not save frames with non-nil `desktop-dont-save' parameter.
10970 Filter out deleted frames.
10971 (desktop--find-frame): Use cl-find-if.
10972 (desktop--select-frame): Use cl-(first|second|third) to access values
10973 of desktop-mini.
10974 (desktop--make-frame): Use cl-delete-if.
10975 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10976 (desktop-restore-frames): Use cl-(first|second|third) to access values
10977 of desktop-mini. Look for visible frame at the end, not while
10978 restoring frames.
10979
10980 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10981 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10982 Use string-match-p, looking-at-p (bug#14927).
10983
10984 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10985
10986 * desktop.el (desktop-saved-frame-states):
10987 Rename from desktop--saved-states; all users changed.
10988 (desktop-save-frames): Rename from desktop--save-frames.
10989 Do not save state to desktop file.
10990 (desktop-save): Save desktop-saved-frame-states to desktop file
10991 and reset to nil.
10992 (desktop-restoring-frames-p): New function.
10993 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10994 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10995 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10996
10997 * desktop.el: Correctly restore iconified frames.
10998 (desktop--filter-iconified-position): New function.
10999 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11000
11001 2013-07-20 Glenn Morris <rgm@gnu.org>
11002
11003 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11004 Let `message' do the formatting.
11005 (def-gdb-preempt-display-buffer): Add explicit format.
11006
11007 * image-dired.el (image-dired-track-original-file):
11008 Use with-current-buffer.
11009 (image-dired-track-thumbnail): Use with-current-buffer.
11010 Avoid changing point of wrong window.
11011
11012 * image-dired.el (image-dired-track-original-file):
11013 Avoid changing point of wrong window. (Bug#14909)
11014
11015 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11016
11017 * progmodes/gdb-mi.el (gdb-done-or-error):
11018 Guard against "%" in gdb output. (Bug#14127)
11019
11020 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11021
11022 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11023 (Bug#14826)
11024
11025 * international/mule.el (coding-system-iso-2022-flags): Fix last
11026 change.
11027
11028 2013-07-20 Kenichi Handa <handa@gnu.org>
11029
11030 * international/mule.el (coding-system-iso-2022-flags):
11031 Add `8-bit-level-4'. (Bug#8522)
11032
11033 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11034
11035 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11036 (bug#14815).
11037
11038 * net/eww.el (eww-process-text-input): Allow inputting when the
11039 point is at the start of the line, as the properties aren't
11040 front-sticky.
11041
11042 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11043 degenerate widths.
11044
11045 2013-07-19 Richard Stallman <rms@gnu.org>
11046
11047 * epa.el (epa-popup-info-window): Doc fix.
11048
11049 * subr.el (split-string): New arg TRIM.
11050
11051 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11052
11053 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11054 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11055
11056 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11057
11058 * filenotify.el (file-notify--library): Rename from
11059 `file-notify-support'. Do not autoload. Adapt all uses.
11060 (file-notify-supported-p): New defun.
11061
11062 * autorevert.el (auto-revert-use-notify):
11063 Use `file-notify-supported-p' instead of `file-notify-support'.
11064 Adapt docstring.
11065 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11066
11067 * net/tramp.el (tramp-file-name-for-operation):
11068 Add `file-notify-supported-p'.
11069
11070 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11071 New defun.
11072 (tramp-sh-file-name-handler-alist): Add it as handler for
11073 `file-notify-supported-p '.
11074
11075 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11078 Add `ignore' as handler for `file-notify-*' functions.
11079
11080 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11081
11082 * simple.el (line-move-partial, line-move): Don't start vscroll or
11083 scroll-up if the current line is not taller than the window.
11084 (Bug#14881)
11085
11086 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11087
11088 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11089 highlight question marks in the method names as strings.
11090 (ruby-block-beg-keywords): Inline.
11091 (ruby-font-lock-keyword-beg-re): Extract from
11092 `ruby-font-lock-keywords'.
11093
11094 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11095
11096 * frame.el (blink-cursor-blinks): New defcustom.
11097 (blink-cursor-blinks-done): New defvar.
11098 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11099 (blink-cursor-timer-function): Check if number of blinks has been
11100 done on X and NS.
11101 (blink-cursor-suspend, blink-cursor-check): New defuns.
11102
11103 2013-07-15 Glenn Morris <rgm@gnu.org>
11104
11105 * edmacro.el (edmacro-format-keys): Fix previous change.
11106
11107 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11108
11109 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11110 The hack didn't work outside English locales anyway.
11111
11112 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11113
11114 * simple.el (define-alternatives): Rename from alternatives-define,
11115 per RMS' suggestion.
11116
11117 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11118
11119 * desktop.el (desktop-restore-frames): Change default to t.
11120 (desktop-restore-in-current-display): Now offer more options.
11121 (desktop-restoring-reuses-frames): New customization option.
11122 (desktop--saved-states): Doc fix.
11123 (desktop-filter-parameters-alist): New variable, renamed and expanded
11124 from desktop--excluded-frame-parameters.
11125 (desktop--target-display): New variable.
11126 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11127 (desktop--filter-tty*, desktop--filter-*-color)
11128 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11129 (desktop--filter-save-desktop-parm)
11130 (desktop-restore-in-original-display-p): New functions.
11131 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11132 (desktop--save-minibuffer-frames): New function, inspired by a similar
11133 function from Martin Rudalics.
11134 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11135 (desktop--restore-in-this-display-p): Remove.
11136 (desktop--find-frame): Rename from desktop--find-frame-in-display
11137 and add predicate argument.
11138 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11139 (desktop--reuse-list): New variable.
11140 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11141 New functions.
11142 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11143
11144 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11145
11146 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11147
11148 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11149
11150 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11151 Highlight conversion methods on Kernel.
11152
11153 2013-07-13 Alan Mackenzie <acm@muc.de>
11154
11155 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11156 and comment it out. This out-commenting enables certain C++
11157 declarations to be parsed correctly.
11158
11159 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11160
11161 * international/mule.el (define-coding-system): Doc fix.
11162
11163 * simple.el (default-font-height): Don't call font-info if the
11164 frame's default font didn't change since the frame was created.
11165 (Bug#14838)
11166
11167 2013-07-13 Leo Liu <sdl.web@gmail.com>
11168
11169 * ido.el (ido-read-file-name): Guard against non-symbol value.
11170
11171 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11172
11173 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11174 in nested defuns.
11175
11176 2013-07-13 Leo Liu <sdl.web@gmail.com>
11177
11178 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11179 ido-set-matches call. (Bug#6852)
11180
11181 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11182
11183 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11184 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11185 Ruby 2.0.
11186 (ruby-font-lock-keywords): Distinguish calls to functions with
11187 module-like names from module references. Highlight character
11188 literals.
11189
11190 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11191
11192 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11193 (gdb-send): Handle continued commands. (Bug#14847)
11194
11195 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11196
11197 * desktop.el (desktop--v2s): Remove unused local variable.
11198 (desktop-save-buffer): Make defvar-local; adjust docstring.
11199 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11200 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11201
11202 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11203
11204 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11205
11206 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11207
11208 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11209 (Bug#14842)
11210
11211 2013-07-12 Glenn Morris <rgm@gnu.org>
11212
11213 * doc-view.el: Require cl-lib at runtime too.
11214 (doc-view-remove-if): Remove.
11215 (doc-view-search-next-match, doc-view-search-previous-match):
11216 Use cl-remove-if.
11217
11218 * edmacro.el: Require cl-lib at runtime too.
11219 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11220 (edmacro-mismatch, edmacro-subseq): Remove.
11221
11222 * shadowfile.el: Require cl-lib.
11223 (shadow-remove-if): Remove.
11224 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11225 Use cl-remove-if.
11226
11227 * wid-edit.el: Require cl-lib.
11228 (widget-choose): Use cl-remove-if.
11229 (widget-remove-if): Remove.
11230
11231 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11232 (ebrowse-delete-if-not): Remove.
11233 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11234 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11235 Use cl-delete-if-not.
11236
11237 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11238
11239 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11240 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11241
11242 2013-07-12 Leo Liu <sdl.web@gmail.com>
11243
11244 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11245
11246 2013-07-11 Glenn Morris <rgm@gnu.org>
11247
11248 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11249 (edebug-gensym-index, edebug-gensym):
11250 Remove reimplementation of cl-gensym.
11251 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11252
11253 * thumbs.el: Require cl-lib at run-time too.
11254 (thumbs-gensym-counter, thumbs-gensym):
11255 Remove reimplementation of cl-gensym.
11256 (thumbs-temp-file): Use cl-gensym.
11257
11258 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11259 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11260 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11261 (ert--union, ert--gensym-counter, ert--gensym-counter)
11262 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11263 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11264 (ert-make-test-unbound, ert--expand-should-1)
11265 (ert--expand-should, ert--should-error-handle-error)
11266 (should-error, ert--explain-equal-rec)
11267 (ert--plist-difference-explanation, ert-select-tests)
11268 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11269 Use cl-lib functions rather than reimplementations.
11270
11271 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11272
11273 * net/tramp.el (tramp-methods): Extend docstring.
11274 (tramp-connection-timeout): New defcustom.
11275 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11276 (with-tramp-progress-reporter): Simplify.
11277 (tramp-process-actions): Improve messages.
11278
11279 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11280 * net/tramp-sh.el (tramp-maybe-open-connection):
11281 Use `tramp-connection-timeout'.
11282 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11283 (Bug#14808)
11284
11285 2013-07-11 Leo Liu <sdl.web@gmail.com>
11286
11287 * ido.el (ido-read-file-name): Conform to the requirements of
11288 read-file-name. (Bug#11861)
11289 (ido-read-directory-name): Conform to the requirements of
11290 read-directory-name.
11291
11292 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11293
11294 * subr.el (delay-warning): New function.
11295
11296 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11297
11298 * simple.el (default-line-height): New function.
11299 (line-move-partial, line-move): Use it instead of computing the
11300 line height inline.
11301 (line-move-partial): Always compute ROWH. If the last line is
11302 partially-visible, but its text is completely visible, allow
11303 cursor to enter such a partially-visible line.
11304
11305 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11306
11307 Improve error messages. (Bug#14808)
11308
11309 * net/tramp.el (tramp-current-connection): New defvar, moved from
11310 tramp-sh.el.
11311 (tramp-message-show-progress-reporter-message): Remove, not
11312 needed anymore.
11313 (tramp-error-with-buffer): Show message in minibuffer.
11314 Discard input before waiting. Reset connection timestamp.
11315 (with-tramp-progress-reporter): Improve messages.
11316 (tramp-process-actions): Use progress reporter. Delete process in
11317 case of error. Improve messages.
11318
11319 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11320 Call `tramp-error-with-buffer' with vector and buffer.
11321 (tramp-current-connection): Remove.
11322 (tramp-maybe-open-connection): The car of
11323 `tramp-current-connection' are the first 3 slots of the vector.
11324
11325 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11326
11327 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11328 inside continued strings.
11329
11330 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11331
11332 Timestamp fixes for undo (Bug#14824).
11333 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11334
11335 2013-07-10 Leo Liu <sdl.web@gmail.com>
11336
11337 * files.el (require-final-newline): Allow safe local value.
11338 (Bug#14834)
11339
11340 2013-07-09 Leo Liu <sdl.web@gmail.com>
11341
11342 * ido.el (ido-read-directory-name): Handle fallback.
11343 (ido-read-file-name): Update DIR to ido-current-directory.
11344 (Bug#1516)
11345 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11346
11347 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11348
11349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11350 "autoload". Remove "warn lower camel case" section, previously
11351 commented out. Highlight negation char. Do not highlight the
11352 target in singleton method definitions.
11353
11354 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * faces.el (tty-setup-hook): Declare the hook.
11357
11358 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11359 and detect when a guard/pred depends on local vars (bug#14773).
11360 (pcase--u1): Adjust caller.
11361
11362 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11363
11364 * simple.el (line-move-partial, line-move): Account for
11365 line-spacing.
11366 (line-move-partial): Avoid setting vscroll when the last
11367 partially-visible line in window is of default height.
11368
11369 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11370
11371 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11372 been used a while.
11373
11374 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11375
11376 * subr.el (read-quoted-char): Remove unused local variable `char'.
11377
11378 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11379
11380 * ediff.el (ediff-version): Version update.
11381 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11382 (ediff-merge-with-ancestor-command, ediff-directories-command)
11383 (ediff-directories3-command, ediff-merge-directories-command)
11384 (ediff-merge-directories-with-ancestor-command): New functions.
11385 All are command-line interfaces to ediff: to facilitate calling
11386 Emacs with the appropriate ediff functions invoked.
11387
11388 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11389 (viper-save-kill-buffer): Check if buffer is modified.
11390
11391 * viper.el (viper-version): Version update.
11392 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11393
11394 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11397 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11398 (viper-intercept-ESC-key): Simplify.
11399 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11400 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11401 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11402 (viper-setup-ESC-to-escape): New functions.
11403 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11404 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11405
11406 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11407
11408 * simple.el (default-font-height, window-screen-lines):
11409 New functions.
11410 (line-move, line-move-partial): Use them instead of
11411 frame-char-height and window-text-height. This makes scrolling
11412 text smoother when the buffer's default face uses a font that is
11413 different from the frame's default font.
11414
11415 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11416
11417 * files.el (write-file): Do not display confirm dialog for NS,
11418 it does its own dialog, which can't be canceled (Bug#14578).
11419
11420 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11421
11422 * simple.el (line-move-partial): Adjust the row returned by
11423 posn-at-point for the current window-vscroll. (Bug#14567)
11424
11425 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11426
11427 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11428 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11429 spaces.
11430
11431 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11432
11433 * window.el (window-state-put-stale-windows): New variable.
11434 (window--state-put-2): Save list of windows without matching buffer.
11435 (window-state-put): Remove "bufferless" windows if possible.
11436
11437 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * simple.el (alternatives-define): Remove leftover :group keyword.
11440 Tweak docstring.
11441
11442 2013-07-06 Leo Liu <sdl.web@gmail.com>
11443
11444 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11445 (ido-enable-virtual-buffers): New variable.
11446 (ido-buffer-internal, ido-toggle-virtual-buffers)
11447 (ido-make-buffer-list): Use it.
11448 (ido-exhibit): Support turning on and off virtual buffers
11449 automatically.
11450
11451 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11452
11453 * simple.el (alternatives-define): New macro.
11454
11455 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11456
11457 * subr.el (read-quoted-char): Use read-key.
11458 (sit-for): Let read-event decode tty input (bug#14782).
11459
11460 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11461
11462 * calendar/todo-mode.el: Add handling of file deletion, both by
11463 mode command and externally. Fix various related bugs.
11464 Clarify Commentary and improve some documentation strings and code.
11465 (todo-delete-file): New command.
11466 (todo-check-file): New function.
11467 (todo-show): Handle external deletion of the file we're trying to
11468 show (bug#14688). Replace called-interactively-p by an optional
11469 prefix argument to avoid problematic interaction with catch form
11470 when byte compiled (bug#14702).
11471 (todo-quit): Handle external deletion of the archive's todo file.
11472 Make sure the buffer that was visiting the archive file is still
11473 live before trying to bury it.
11474 (todo-category-completions): Handle external deletion of any
11475 category completion files.
11476 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11477 of todo files, in case of external deletion.
11478 (todo-add-file): Replace unnecessary setq by let-binding.
11479 (todo-find-archive): Check whether there are any archives.
11480 Replace unnecessary setq by let-binding.
11481 (todo-archive-done-item): Use find-file-noselect to get the
11482 archive buffer whether or not the archive already exists.
11483 Remove superfluous code. Use file size instead of buffer-file-name to
11484 check if the archive is new; if it is, update list of archives.
11485 (todo-default-todo-file): Allow nil to be a valid value for when
11486 there are no todo files.
11487 (todo-reevaluate-default-file-defcustom): Use corrected definition
11488 of todo-default-todo-file.
11489 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11490 (todo-delete-category, todo-show-categories-table)
11491 (todo-category-number): Clarify comment.
11492 (todo-filter-items): Clarify documentation string.
11493 (todo-show-current-file, todo-display-as-todo-file)
11494 (todo-reset-and-enable-done-separator): Tweak documentation string.
11495 (todo-done-separator): Make separator length window-width, since
11496 bug#2749 is now fixed.
11497
11498 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11499
11500 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11501 Support both "gvfs-monitor-dir" and "inotifywait".
11502 (tramp-sh-file-inotifywait-process-filter): Rename from
11503 `tramp-sh-file-notify-process-filter'.
11504 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11505 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11506
11507 2013-07-05 Leo Liu <sdl.web@gmail.com>
11508
11509 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11510
11511 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11512
11513 * frame.el (display-pixel-height, display-pixel-width)
11514 (display-mm-height, display-mm-width): Mention behavior on
11515 multi-monitor setups in docstrings.
11516 (w32-display-monitor-attributes-list): Declare function.
11517 (display-monitor-attributes-list): Use it.
11518
11519 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11520
11521 * filenotify.el: New package.
11522
11523 * autorevert.el (top): Require filenotify.el.
11524 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11525 instead.
11526 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11527 (auto-revert-notify-handler): Use `file-notify-*' functions.
11528
11529 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11530
11531 * net/tramp.el (tramp-file-name-for-operation):
11532 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11533
11534 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11535 for `file-notify-add-watch' and `file-notify-rm-watch'.
11536 (tramp-process-sentinel): Improve trace.
11537 (tramp-sh-handle-file-notify-add-watch)
11538 (tramp-sh-file-notify-process-filter)
11539 (tramp-sh-handle-file-notify-rm-watch)
11540 (tramp-get-remote-inotifywait): New defuns.
11541
11542 2013-07-03 Juri Linkov <juri@jurta.org>
11543
11544 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11545 call of `occur-read-primary-args' to interactive spec.
11546
11547 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11548 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11549
11550 2013-07-03 Matthias Meulien <orontee@gmail.com>
11551
11552 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11553 `Buffer-menu-multi-occur'. Add it to the menu.
11554 (Buffer-menu-mode): Document it in docstring.
11555 (Buffer-menu-multi-occur): New command. (Bug#14673)
11556
11557 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11558
11559 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11560 keywords and built-ins.
11561
11562 2013-07-03 Glenn Morris <rgm@gnu.org>
11563
11564 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11565
11566 Make info-xref checks case-sensitive by default
11567 * info.el (Info-find-node, Info-find-in-tag-table)
11568 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11569 Add option for exact case matching of nodes.
11570 * info-xref.el (info-xref): New custom group.
11571 (info-xref-case-fold): New option.
11572 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11573
11574 2013-07-03 Leo Liu <sdl.web@gmail.com>
11575
11576 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11577
11578 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11579
11580 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11581 middle of block statement initially, lower the depth. Remove
11582 FIXME comment, not longer valid. Remove middle of block statement
11583 detection, no need to do that anymore since we've been using
11584 `ruby-parse-region' here.
11585
11586 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11587
11588 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11589
11590 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11591
11592 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11593
11594 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11597 (desktop-restore-in-current-display): New customization option.
11598 (desktop--excluded-frame-parameters): Add `font'.
11599 (desktop--save-frames): Rename from desktop--save-windows.
11600 (desktop--restore-in-this-display-p): New function.
11601 (desktop--make-full-frame): Remove unwanted width/height from
11602 full(width|height) frames.
11603 (desktop--restore-frames): Rename from desktop--restore-windows.
11604 Obey desktop-restore-current-display. Do not delete old frames or
11605 select a new frame unless we were able to restore at least one frame.
11606
11607 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11608
11609 * files.el (find-file-noselect): Simplify conditional expression.
11610
11611 * textmodes/remember.el (remember-append-to-file):
11612 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11613
11614 Add `remember-notes' function to store random notes across Emacs
11615 restarts.
11616 * textmodes/remember.el (remember-data-file): Add :set callback to
11617 affect notes buffer (if any).
11618 (remember-notes): New command.
11619 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11620 New defcustoms for the `remember-notes' function.
11621 (remember-notes-save-and-bury-buffer): New command.
11622 (remember-notes-mode-map): New variable.
11623 (remember-mode): New minor mode.
11624 (remember-notes--kill-buffer-query): New function.
11625 * startup.el (initial-buffer-choice): Add notes to custom type.
11626
11627 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11628
11629 * bindings.el (right-char, left-char): Don't call sit-for, this is
11630 no longer needed. Use arithmetic comparison only for numerical
11631 arguments.
11632
11633 * international/mule-cmds.el (select-safe-coding-system):
11634 Handle the case of FROM being a string correctly. (Bug#14755)
11635
11636 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11637
11638 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11639 progression on degenerate tables.
11640 (shr-rescale-image): ImageMagick animated images currently don't work.
11641
11642 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11643
11644 Some fixes and improvements for desktop frame restoration.
11645 It is still experimental and disabled by default.
11646 * desktop.el (desktop--save-windows): Put the selected frame at
11647 the head of the list.
11648 (desktop--make-full-frame): New function.
11649 (desktop--restore-windows): Try to re-select the frame that was
11650 selected upon saving. Do not abort if some frames fail to restore,
11651 just show an error message and continue. Set up maximized frames
11652 so they have default non-maximized dimensions.
11653
11654 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11655
11656 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11657 Don't start heredoc inside a string or comment.
11658
11659 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11660
11661 * bindings.el (visual-order-cursor-movement): New defcustom.
11662 (right-char, left-char): Provide visual-order cursor motion by
11663 calling move-point-visually. Update the doc strings.
11664
11665 2013-06-28 Kenichi Handa <handa@gnu.org>
11666
11667 * international/mule.el (define-coding-system): New coding system
11668 properties :inhibit-null-byte-detection,
11669 :inhibit-iso-escape-detection, and :prefer-utf-8.
11670 (set-buffer-file-coding-system): If :charset-list property of
11671 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11672 appropriate for setting.
11673
11674 * international/mule-cmds.el (select-safe-coding-system):
11675 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11676 multibyte characters, return utf-8 (or one of its siblings).
11677
11678 * international/mule-conf.el (prefer-utf-8): New coding system.
11679 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11680 files.
11681
11682 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11683
11684 * net/shr.el (shr-render-region): New function.
11685
11686 * net/eww.el: Autoload `eww-browse-url'.
11687
11688 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11689
11690 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11691 Adapt to `package-desc-version' being a list.
11692 Use `package--ac-desc-version' to retrieve version from a package
11693 archive element.
11694
11695 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11696
11697 New experimental feature to save&restore window and frame setup.
11698 * desktop.el (desktop-save-windows): New defcustom.
11699 (desktop--saved-states): New var.
11700 (desktop--excluded-frame-parameters): New defconst.
11701 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11702 (desktop--restore-windows, desktop--save-windows): New functions.
11703 (desktop-save): Call `desktop--save-windows'.
11704 (desktop-read): Call `desktop--restore-windows'.
11705
11706 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11707
11708 * net/shr.el (add-face-text-property): Remove compat definition.
11709
11710 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11711
11712 * info.el (Info-try-follow-nearest-node): Move search for footnote
11713 above search for node name to prevent missing a footnote (bug#14717).
11714
11715 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11716
11717 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11718
11719 2013-06-27 Leo Liu <sdl.web@gmail.com>
11720
11721 * net/eww.el (eww-read-bookmarks): Check file size.
11722
11723 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11726 advice--pending if newdef is nil or an autoload (bug#13820).
11727 (advice-mapc): New function.
11728
11729 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11730
11731 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11732 probably.
11733 (eww-mode-map): Add a menu bar.
11734 (eww-add-bookmark): New command.
11735 (eww-bookmark-mode): New mode and commands.
11736 (eww-add-bookmark): Remove newlines from the title.
11737 (eww-bookmark-browse): Don't bug out if it's the only window.
11738
11739 2013-06-26 Glenn Morris <rgm@gnu.org>
11740
11741 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11742 (hfy-size): Handle ttys. (Bug#14668)
11743
11744 * info-xref.el: Update for Texinfo 5 change in *note format.
11745 (info-xref-node-re, info-xref-note-re): New constants.
11746 (info-xref-check-buffer): Use info-xref-note-re.
11747
11748 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11751
11752 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11753 nil terminate the loop (bug#14718).
11754
11755 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11756
11757 * net/eww.el: Rework history traversal. When going forward/back,
11758 put these actions into the history, too, so that they can be
11759 replayed.
11760 (eww-render): Move the history reset to the correct buffer.
11761
11762 2013-06-25 Juri Linkov <juri@jurta.org>
11763
11764 * files-x.el (modify-dir-local-variable): Change the header comment
11765 in the file with directory local variables. (Bug#14692)
11766
11767 * files-x.el (read-file-local-variable-value): Add `default'.
11768 (Bug#14710)
11769
11770 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11771
11772 * net/eww.el (eww-make-unique-file-name): Create a unique file
11773 name before saving to entering `y' accidentally asynchronously.
11774
11775 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11776
11777 * net/eww.el (eww-download): New command and keystroke.
11778
11779 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11780
11781 * net/eww.el (eww-copy-page-url): Change name of command.
11782
11783 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11784 be more consistent with Info and dired.
11785
11786 * net/eww.el (eww-mode-map): Ditto.
11787
11788 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11791 packages from archives.
11792 (package-archive-contents): Change format; include obsolete packages.
11793 (package-desc): Use `dir' to mark builtin packages.
11794 (package--from-builtin): Set the `dir' field to `builtin'.
11795 (generated-autoload-file, version-control): Declare.
11796 (package-compute-transaction): Change first arg and return value to be
11797 lists of package-descs. Adjust to new package-archive-contents format.
11798 (package--add-to-archive-contents): Adjust to new
11799 package-archive-contents format.
11800 (package-download-transaction): Arg is now a list of package-descs.
11801 (package-install): If `pkg' is a package name, pass it as
11802 a requirement, so it is subject to the usual (e.g. disabled) checks.
11803 (describe-package): Accept package-desc as well.
11804 (describe-package-1): Describe a specific package-desc. Add links to
11805 other package-descs for the same package name.
11806 (package-menu-describe-package): Pass the actual package-desc.
11807 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11808 works correctly.
11809 (package-desc-status): New function.
11810 (package-menu--refresh): New function, extracted
11811 from package-menu--generate.
11812 (package-menu--generate): Use it.
11813 (package-delete): Update package-alist.
11814 (package-menu-execute): Don't call package-initialize.
11815
11816 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11817 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11818 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11819 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11820 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11821 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11822
11823 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11824
11825 * window.el (window--state-get-1): Workaround for bug#14527.
11826 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11827
11828 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11829
11830 * net/eww.el (eww-back-url): Implement the history by stashing all
11831 the data into a list.
11832 (eww-forward-url): Allow going forward in the history, too.
11833
11834 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11837 for values and use read--expression for expressions (bug#14710).
11838 (read-file-local-variable): Avoid setq.
11839 (read-file-local-variable-mode): Use minor-mode-list.
11840
11841 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11842
11843 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11844 for DOI URLs.
11845
11846 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11847
11848 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11849 Update imenu-support when dialect changes.
11850
11851 2013-06-25 Leo Liu <sdl.web@gmail.com>
11852
11853 * ido.el (ido-read-internal): Allow forward slash on windows.
11854
11855 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11856
11857 * net/eww.el (eww): Start of strings is \\`, not ^.
11858
11859 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11860
11861 * net/shr.el (shr-browse-url): Fix interactive spec.
11862
11863 * net/eww.el (eww): Add a trailing slash to domain names.
11864
11865 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11868
11869 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11870
11871 * net/shr.el (shr-browse-url): Use an external browser if given a
11872 prefix.
11873
11874 * net/eww.el (eww-external-browser): Move to shr.
11875
11876 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11877
11878 * net/eww.el (eww): Work more correctly for file: URLs.
11879 (eww-detect-charset): Allow quoted charsets.
11880 (eww-yank-page-url): New command and keystroke.
11881
11882 2013-06-24 Daiki Ueno <ueno@gnu.org>
11883
11884 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11885 file name of gpg executable.
11886 (epg-context-program): New function.
11887 (epg-context-home-directory): New function.
11888 (epg-context-set-program): New function.
11889 (epg-context-set-home-directory): New function.
11890 (epg--start): Use `epg-context-program' instead of
11891 'epg-gpg-program'.
11892 (epg--list-keys-1): Likewise.
11893
11894 2013-06-24 Leo Liu <sdl.web@gmail.com>
11895
11896 * ido.el (ido-read-internal): Fix bug#14620.
11897
11898 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11899
11900 * faces.el (face-documentation): Simplify.
11901 (read-face-attribute, tty-find-type, x-resolve-font-name):
11902 Use `string-match-p'.
11903 (list-faces-display): Use `string-match-p'. Simplify.
11904 (face-spec-recalc): Check face to avoid face alias loops.
11905 (read-color): Use `string-match-p' and non-capturing parenthesis.
11906
11907 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11908
11909 * net/shr.el (shr-rescale-image): Use the new
11910 :max-width/:max-height functionality.
11911
11912 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11913
11914 * net/eww.el (eww-search-prefix): New variable.
11915 (eww): Use it.
11916 (eww-external-browser): New variable.
11917 (eww-mode-map): New keystroke.
11918 (eww-browse-with-external-browser): New command.
11919
11920 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11921
11922 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11923
11924 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11925 Don't skip aligning the next header field when padding is 0;
11926 otherwise, field width is not respected unless the title is as
11927 wide as the field.
11928
11929 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * emacs-lisp/package.el (package-el-version): Remove.
11932 (package-process-define-package): Fix inf-loop.
11933 (package-install): Allow symbols as arguments again.
11934
11935 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11936
11937 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11938 add some more keyword-like methods.
11939 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11940
11941 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11942
11943 * bs.el (bs-buffer-show-mark): Make defvar-local.
11944 (bs-mode): Use setq-local.
11945
11946 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11947 (emacs-lock--try-unlocking): Make defvar-local.
11948
11949 2013-06-22 Glenn Morris <rgm@gnu.org>
11950
11951 * play/cookie1.el (cookie-apropos): Minor simplification.
11952
11953 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11954
11955 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11956
11957 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11958 `regexp-opt', it breaks the build during dumping.
11959
11960 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11961
11962 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11963 Highlight keyword-like methods on Kernel and Module with
11964 font-lock-builtin-face.
11965 (auto-mode-alist): Consolidate different entries into one regexp
11966 and add more *file-s.
11967
11968 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11969
11970 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11971
11972 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11973 (diary-entry): Use it in the action of this button type instead of
11974 diary-goto-entry.
11975
11976 * calendar/todo-mode.el: New version.
11977 (todo-add-category): Append new category to end of file and give
11978 it the highest number, instead of putting it at the beginning and
11979 giving it 0. Incorporate noninteractive functionality.
11980 (todo-forward-category): Adapt to 1-based category numbering.
11981 Allow skipping over archived categories.
11982 (todo-backward-category): Derive from todo-forward-category.
11983 (todo-backward-item, todo-forward-item): Make noninteractive and
11984 delegate interactive part to new commands. Make sensitive to done items.
11985 (todo-categories): Make value an alist of category names and
11986 vectors of item counts.
11987 (todo-category-beg): Make a defconst.
11988 (todo-category-number): Use 1 instead of 0 as initial value.
11989 (todo-category-select): Make sensitive to overlays, optional item
11990 highlighting and done items.
11991 (todo-delete-item): Make sensitive to overlays and marked and done items.
11992 (todo-edit-item): Make sensitive to overlays and editing of
11993 date/time header optional. Add format checks.
11994 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11995 no-op if point is not on an item. Advertise using todo-edit-quit.
11996 (todo-edit-mode): Make sensitive to new format, font-locking, and
11997 multiple todo files.
11998 (todo-insert-item, todo-insert-item-here): Derive from
11999 todo-basic-insert-item and extend functionality.
12000 (todo-item-end, todo-item-start): Make sensitive to done items.
12001 (todo-item-string): Don't return text properties. Restore point.
12002 (todo-jump-to-category): Make sensitive to multiple todo files and
12003 todo archives. Use extended category completion.
12004 (todo-lower-item, todo-raise-item): Rename to *-priority and
12005 derive from todo-set-item-priority.
12006 (todo-mode): Derive from special-mode. Make sensitive to new
12007 format, font-locking and multiple todo files. Make read-only.
12008 (todo-mode-map): Don't suppress digit keys, so they can supply
12009 prefix arguments. Add many new key bindings.
12010 (todo-prefix): Insert as an overlay instead of file text.
12011 Change semantics from diary date expression to purely visual mark.
12012 (todo-print): Rename to todo-print-buffer. Make buffer display
12013 features printable. Remove option to restrict number of items
12014 printed. Add option to print to file.
12015 (todo-print-function): Rename to todo-print-buffer-function.
12016 (todo-quit): Extend to handle exiting new todo modes.
12017 (todo-remove-item): Make sensitive to overlays.
12018 (todo-save): Extend to buffers of filtered items.
12019 (todo-show): Make sensitive to done items, multiple todo files and
12020 new todo modes. Offer to convert legacy todo file before creating
12021 first new todo file.
12022 (todo-show-priorities): Rename to todo-top-priorities.
12023 Change semantics of value 0.
12024 (todo-top-priorities): Rename to todo-filter-top-priorities,
12025 derive from todo-filter-items and extend functionality.
12026 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12027 and extend functionality to other types of filtered items.
12028 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12029 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12030 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12031 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12032 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12033 (todo-edit-mode-hook, todo-entry-prefix-function)
12034 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12035 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12036 (todo-initials, todo-insert-threshold, todo-item-string-start)
12037 (todo-line-string, todo-menu, todo-mode-hook)
12038 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12039 (todo-print-priorities, todo-remove-separator)
12040 (todo-save-top-priorities-too, todo-string-count-lines)
12041 (todo-string-multiline-p, todo-time-string-format)
12042 (todo-tmp-buffer-name): Remove.
12043 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12044 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12045 (todo-edit-category-diary-inclusion)
12046 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12047 (todo-edit-file, todo-edit-item-date-day)
12048 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12049 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12050 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12051 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12052 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12053 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12054 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12055 (todo-filter-top-priorities-multifile, todo-find-archive)
12056 (todo-find-filtered-items-file, todo-go-to-source-item)
12057 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12058 (todo-jump-to-archive-category, todo-lower-category)
12059 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12060 (todo-move-category, todo-move-item, todo-next-button)
12061 (todo-next-item, todo-padded-string, todo-powerset)
12062 (todo-previous-button, todo-previous-item)
12063 (todo-print-buffer-to-file, todo-raise-category)
12064 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12065 (todo-set-category-number, todo-set-item-priority)
12066 (todo-set-top-priorities-in-category)
12067 (todo-set-top-priorities-in-file, todo-show-categories-table)
12068 (todo-sort-categories-alphabetically-or-numerically)
12069 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12070 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12071 (todo-toggle-item-header, todo-toggle-item-highlighting)
12072 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12073 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12074 (todo-unarchive-items, todo-unmark-category): New commands.
12075 (todo-absolute-file-name, todo-add-to-buffer-list)
12076 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12077 (todo-basic-insert-item, todo-category-completions)
12078 (todo-category-number, todo-category-string-matcher-1)
12079 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12080 (todo-check-format, todo-clear-matches)
12081 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12082 (todo-current-category, todo-date-string-matcher)
12083 (todo-define-insertion-command, todo-diary-expired-matcher)
12084 (todo-diary-goto-entry, todo-diary-item-p)
12085 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12086 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12087 (todo-done-item-section-p, todo-done-separator)
12088 (todo-done-string-matcher, todo-files, todo-filter-items)
12089 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12090 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12091 (todo-insert-category-line, todo-insert-item-from-calendar)
12092 (todo-insert-sort-button, todo-insert-with-overlays)
12093 (todo-insertion-command-name, todo-insertion-key-bindings)
12094 (todo-label-to-key, todo-longest-category-name-length)
12095 (todo-make-categories-list, todo-mode-external-set)
12096 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12097 (todo-modes-set-3, todo-multiple-filter-files)
12098 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12099 (todo-read-category, todo-read-date, todo-read-dayname)
12100 (todo-read-file-name, todo-read-time)
12101 (todo-reevaluate-category-completions-files-defcustom)
12102 (todo-reevaluate-default-file-defcustom)
12103 (todo-reevaluate-filelist-defcustoms)
12104 (todo-reevaluate-filter-files-defcustom)
12105 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12106 (todo-reset-done-separator, todo-reset-done-separator-string)
12107 (todo-reset-done-string, todo-reset-global-current-todo-file)
12108 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12109 (todo-reset-prefix, todo-set-categories)
12110 (todo-set-date-from-calendar, todo-set-show-current-file)
12111 (todo-set-top-priorities, todo-short-file-name)
12112 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12113 (todo-total-item-counts, todo-update-buffer-list)
12114 (todo-update-categories-display, todo-update-categories-sexp)
12115 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12116 New functions.
12117 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12118 New major modes.
12119 (todo-categories, todo-display, todo-edit, todo-faces)
12120 (todo-filtered): New defgroups.
12121 (todo-archived-only, todo-button, todo-category-string, todo-date)
12122 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12123 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12124 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12125 (todo-add-item-if-new-category, todo-always-add-time-string)
12126 (todo-categories-align, todo-categories-archived-label)
12127 (todo-categories-category-label, todo-categories-diary-label)
12128 (todo-categories-done-label, todo-categories-number-separator)
12129 (todo-categories-todo-label, todo-categories-totals-label)
12130 (todo-category-completions-files, todo-completion-ignore-case)
12131 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12132 (todo-done-separator-string, todo-done-string)
12133 (todo-files-function, todo-filter-done-items, todo-filter-files)
12134 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12135 (todo-initial-category, todo-initial-file, todo-item-mark)
12136 (todo-legacy-date-time-regexp, todo-mode-line-function)
12137 (todo-nondiary-marker, todo-number-prefix)
12138 (todo-print-buffer-function, todo-show-current-file)
12139 (todo-show-done-only, todo-show-first, todo-show-with-done)
12140 (todo-skip-archived-categories, todo-top-priorities-overrides)
12141 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12142 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12143 New defcustoms.
12144 (todo-category-done, todo-date-pattern, todo-date-string-start)
12145 (todo-diary-items-buffer, todo-done-string-start)
12146 (todo-filtered-items-buffer, todo-item-start)
12147 (todo-month-abbrev-array, todo-month-name-array)
12148 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12149 (todo-top-priorities-buffer): New defconsts.
12150 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12151 (todo-categories-with-marks, todo-category-string-face)
12152 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12153 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12154 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12155 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12156 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12157 (todo-font-lock-keywords, todo-global-current-todo-file)
12158 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12159 (todo-insertion-commands-args)
12160 (todo-insertion-commands-args-genlist)
12161 (todo-insertion-commands-names, todo-insertion-map)
12162 (todo-key-bindings-t, todo-key-bindings-t+a)
12163 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12164 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12165 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12166 (todo-visited): New variables.
12167
12168 2013-06-21 Glenn Morris <rgm@gnu.org>
12169
12170 * play/cookie1.el (cookie-apropos): Add optional display argument.
12171 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12172 (psychoanalyze-pinhead): Use cookie-doctor.
12173
12174 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * emacs-lisp/package.el (tar-get-file-descriptor)
12177 (tar--extract): Declare.
12178
12179 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12180
12181 Extend flymake's warning predicate to be a function (bug#14217).
12182 * progmodes/flymake.el (flymake-warning-predicate): New.
12183 (flymake-parse-line): Use it.
12184 (flymake-warning-re): Make obsolete alias to
12185 `flymake-warning-predicate'.
12186
12187 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12190 (package-obsolete-list): Remove.
12191 (package-activate): Remove min-version argument. Add `force' argument.
12192 Adjust to new package-alist format.
12193 (package-mark-obsolete): Remove.
12194 (package-unpack): Force reload of the package's autoloads.
12195 (package-installed-p): Check builtins if the installed package is not
12196 recent enough.
12197 (package-initialize): Don't reset package-obsolete-list.
12198 Don't specify which package version to activate.
12199 (package-process-define-package, describe-package-1)
12200 (package-menu--generate): Adjust to new package-alist format.
12201
12202 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12203
12204 * allout-widgets.el (allout-widgets-mode-off)
12205 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12206 (allout-widgets-post-command-business)
12207 (allout-widgets-after-copy-or-kill-function)
12208 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12209 (allout-decorate-item-and-context)
12210 (allout-graphics-modification-handler): Fix typos in docstrings.
12211 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12212
12213 * cmuscheme.el (scheme-start-file): Doc fix.
12214 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12215 (scheme-input-filter): Use `string-match-p'.
12216
12217 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12218
12219 * dired-x.el: Use Dired consistently in docstrings.
12220
12221 * dired.el: Use Dired consistently in docstrings.
12222 (dired-readin, dired-mode): Use `setq-local'.
12223 (dired-switches-alist): Make defvar-local.
12224 (dired-buffers-for-dir): Use `zerop'.
12225 (dired-safe-switches-p, dired-switches-escape-p)
12226 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12227 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12228 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12229 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12230 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12231 (dired-toggle-marks, dired-mark-files-containing-regexp)
12232 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12233 (dired-flag-auto-save-files, dired-flag-backup-files):
12234 Use `looking-at-p'.
12235 (dired-mark-files-regexp, dired-build-subdir-alist):
12236 Use `string-match-p', `looking-at-p'.
12237
12238 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12239 (direct-print-region-helper): Use `string-match-p'.
12240
12241 2013-06-21 Leo Liu <sdl.web@gmail.com>
12242
12243 * comint.el (comint-redirect-results-list-from-process):
12244 Fix infinite loop.
12245
12246 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12247
12248 * net/eww.el (eww-update-header-line-format): Quote % characters.
12249
12250 2013-06-21 Glenn Morris <rgm@gnu.org>
12251
12252 * play/cookie1.el (cookie): New custom group.
12253 (cookie-file): New option.
12254 (cookie-check-file): New function.
12255 (cookie): Make it interactive. Make start and end messages optional.
12256 Interactively, display the result. Default to cookie-file.
12257 (cookie-insert): Default to cookie-file.
12258 (cookie-snarf): Make start and end messages optional.
12259 Default to cookie-file. Use with-temp-buffer.
12260 (cookie-read): Rename from read-cookie.
12261 Make start and end messages optional. Default to cookie-file.
12262 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12263 Do not autoload it.
12264 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12265 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12266
12267 2013-06-21 Leo Liu <sdl.web@gmail.com>
12268
12269 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12270
12271 2013-06-21 Glenn Morris <rgm@gnu.org>
12272
12273 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12274
12275 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12276 Daniel Hackney <dan@haxney.org>
12277
12278 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12279 Consolidate the single-file vs tarball code.
12280 (package-desc-suffix): New function.
12281 (package-desc-full-name): Don't bother inlining it.
12282 (package-load-descriptor): Return the new package-desc.
12283 (package-mark-obsolete): Remove unused arg `package'.
12284 (package-unpack): Make it work for single files as well.
12285 Make it update package-alist.
12286 (package--make-autoloads-and-stuff): Rename from
12287 package--make-autoloads-and-compile. Don't compile any more.
12288 (package--compile): New function.
12289 (package-generate-description-file): New function, extracted from
12290 package-unpack-single.
12291 (package-unpack-single): Remove.
12292 (package--with-work-buffer): Add indentation and debugging info.
12293 (package-download-single): Remove.
12294 (package-install-from-archive): Rename from package-download-tar, make
12295 it take a pkg-desc, and make it work for single files as well.
12296 (package-download-transaction): Simplify.
12297 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12298 external tar program.
12299 (package-install-from-buffer): Remove `pkg-desc' argument.
12300 Use package-tar-file-info for tar-mode buffers.
12301 (package-install-file): Simplify accordingly.
12302 (package-archive-base): Change to take a pkg-desc.
12303 * tar-mode.el (tar--check-descriptor): New function, extracted from
12304 tar-get-descriptor.
12305 (tar-get-descriptor): Use it.
12306 (tar-get-file-descriptor): New function.
12307 (tar--extract): New function, extracted from tar-extract.
12308 (tar--extract): Use it.
12309 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12310 case the summary uses non-ascii. Adjust to new calling convention of
12311 package-tar-file-info.
12312
12313 2013-06-21 Leo Liu <sdl.web@gmail.com>
12314
12315 * comint.el (comint-redirect-results-list-from-process):
12316 Fix random delay. (Bug#14681)
12317
12318 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * profiler.el (profiler-format-number): Use log, not log10.
12321
12322 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12323
12324 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12325
12326 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12329 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12330 yet available.
12331 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12332 (AUTOGENEL): ... here.
12333 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12334 (cl--defsubst-expand): Use it.
12335
12336 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12337
12338 * subr.el (log10): Move here from C code, and declare as obsolete.
12339 All uses of (log10 X) replaced with (log X 10).
12340
12341 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12342
12343 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12344 Declare with `defvar-local'.
12345 (tabulated-list-use-header-line, tabulated-list-entries)
12346 (tabulated-list-padding, tabulated-list-printer)
12347 (tabulated-list-sort-key): Declare with `defvar-local'.
12348 (tabulated-list-init-header, tabulated-list-print-fake-header):
12349 Use `setq-local'.
12350
12351 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12352
12353 * arc-mode.el (archive-mode): Add `archive-write-file' to
12354 `write-contents-functions' also for remote files. (Bug#14652)
12355
12356 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12357
12358 * cus-edit.el (custom-commands): Fix typos.
12359 (custom-display): Fix tooltip text.
12360 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12361 Fix typos in docstrings.
12362 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12363 (custom-unlispify-menu-entry, custom-magic-value-create)
12364 (custom-add-see-also, custom-group-value-create): Use ?\s.
12365 (custom-guess-type, customize-apropos, editable-field)
12366 (custom-face-value-create): Use `string-match-p'.
12367 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12368
12369 * custom.el (custom-load-symbol): Use `string-match-p'.
12370
12371 * ansi-color.el: Convert to lexical binding.
12372 (ansi-colors): Fix URL.
12373 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12374 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12375 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12376
12377 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12378
12379 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12380
12381 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12382
12383 2013-06-19 Tom Tromey <tromey@redhat.com>
12384
12385 * net/eww.el (eww-top-url): Remove.
12386 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12387 (eww-render): Set new variables. Don't set eww-top-url.
12388 (eww-handle-link): Handle "prev", "home", and "contents".
12389 Downcase the rel text.
12390 (eww-top-url): Choose best top URL.
12391
12392 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12393
12394 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12395 relying in widget.el. Using widget.el leads to too many
12396 user interface inconsistencies.
12397 (eww-self-insert): Implement entering commands in text fields.
12398 (eww-process-text-input): New function to make text input field editing
12399 work.
12400 (eww-submit): Rewrite to use the new-style form methods.
12401 (eww-select-display): Display the correct selected item.
12402 (eww-change-select): Implement changing the select value.
12403 (eww-toggle-checkbox): Implement radio/checkboxes.
12404 (eww-update-field): Fix compilation error.
12405 (eww-tag-textarea): Implement <textarea>.
12406
12407 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12408 we don't shadow mode-specific bindings.
12409
12410 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12411 nothing to push.
12412
12413 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12414
12415 2013-06-19 Glenn Morris <rgm@gnu.org>
12416
12417 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12418
12419 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12420
12421 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12422 not needed.
12423
12424 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12425
12426 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12427
12428 * net/browse-url.el (browse-url-browser-function):
12429 `eww-browse-url' has the right calling signature, `eww' does not.
12430
12431 2013-06-19 Glenn Morris <rgm@gnu.org>
12432
12433 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12434 Only eval autoloaded macros.
12435 (byte-compile-autoload): Only give the macro warning for macros.
12436
12437 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12438 (ps-underlined-faces): Declare.
12439
12440 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12441 (speedbar-add-supported-extension): Declare.
12442
12443 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12444 Don't include a date stamp in the header of the generated file;
12445 it leads to needless differences between output files.
12446
12447 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12448
12449 * net/secrets.el (secrets-struct-secret-content-type):
12450 Replace check of introspection data by a test call of "CreateItem".
12451 Some servers do not offer introspection.
12452
12453 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * electric.el (electric-pair-mode): Improve interaction with
12456 electric-layout-mode.
12457 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12458 (electric-pair-syntax): Use text-mode-syntax-table in comments
12459 and strings.
12460 (electric-pair--insert): New function.
12461 (electric-pair-post-self-insert-function): Use it and
12462 electric--after-char-pos.
12463
12464 2013-06-19 Leo Liu <sdl.web@gmail.com>
12465
12466 * progmodes/octave.el (octave-help): Fix regexp.
12467
12468 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12469
12470 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12471 (shr-table-horizontal-line): Allow nil as a value, and change the
12472 default.
12473 (shr-insert-table-ruler): Respect the nil value.
12474
12475 2013-06-18 Tom Tromey <tromey@barimba>
12476
12477 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12478 New defvars.
12479 (eww-open-file): New defun.
12480 (eww-render): Initialize new variables.
12481 (eww-display-html): Handle "link" and "a".
12482 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12483 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12484 (eww-back-url): Rename from eww-previous-url.
12485 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12486 New defuns.
12487
12488 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12489
12490 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12491 Distinguish ternary operator tokens from slash symbol and slash
12492 char literal.
12493
12494 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12495
12496 Convert symbol prettification into minor mode and global minor mode.
12497
12498 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12499 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12500 (prettify-symbols--keywords): Rename from
12501 `prog-prettify-symbols-alist' and make a local defvar.
12502 (prettify-symbols--compose-symbol): Rename from
12503 `prog--prettify-font-lock-compose-symbol'.
12504 (prettify-symbols--make-keywords): Rename from
12505 `prog-prettify-font-lock-symbols-keywords' and simplify.
12506 (prog-prettify-install): Remove.
12507 (prettify-symbols-mode): New minor mode, based on
12508 `prog-prettify-install'.
12509 (turn-on-prettify-symbols-mode): New function.
12510 (global-prettify-symbols-mode): New globalized minor mode.
12511
12512 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12513 * progmodes/cfengine.el (cfengine3-mode):
12514 * progmodes/perl-mode.el (perl-mode): Don't call
12515 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12516
12517 2013-06-18 Juri Linkov <juri@jurta.org>
12518
12519 * files-x.el (modify-file-local-variable-message): New function.
12520 (modify-file-local-variable)
12521 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12522 and call `modify-file-local-variable-message' when it's non-nil.
12523 (add-file-local-variable, delete-file-local-variable)
12524 (add-file-local-variable-prop-line)
12525 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12526 and use it. (Bug#9820)
12527
12528 2013-06-18 Juri Linkov <juri@jurta.org>
12529
12530 * emulation/vi.el (vi-shell-op):
12531 * emulation/vip.el (vip-execute-com, ex-command):
12532 * emulation/viper-cmd.el (viper-exec-bang):
12533 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12534 the call of `shell-command-on-region'. (Bug#14637)
12535
12536 * simple.el (shell-command-on-region): Doc fix.
12537
12538 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12541 (bug#14633).
12542
12543 2013-06-18 Glenn Morris <rgm@gnu.org>
12544
12545 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12546
12547 * newcomment.el (comment-search-forward, comment-search-backward):
12548 Doc fix. (Bug#14376)
12549
12550 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12551
12552 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12553 (buffer-face-mode-invoke): Doc fix.
12554
12555 2013-06-18 Matthias Meulien <orontee@gmail.com>
12556
12557 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12558 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12559
12560 2013-06-18 Glenn Morris <rgm@gnu.org>
12561
12562 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12563 Replace obsolete function generic-make-keywords with its expansion.
12564
12565 * progmodes/python.el (ffap-alist): Declare.
12566
12567 * textmodes/reftex.el (bibtex-mode-map): Declare.
12568
12569 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12572 (package-unpack, package-unpack-single): Return the pkg-dir.
12573 (package-download-transaction): Use it to update package-alist.
12574
12575 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576
12577 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12578 possible choice.
12579
12580 2013-06-17 Juri Linkov <juri@jurta.org>
12581
12582 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12583
12584 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12585
12586 * emacs-lisp/package.el (package-load-descriptor):
12587 Remove `with-syntax-table' call, `read' doesn't need it.
12588 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12589
12590 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12591
12592 * startup.el (command-line): Expand package name returned by
12593 `package--description-file' (bug#14639).
12594
12595 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12596
12597 * emacs-lisp/package.el (package-load-descriptor): Do not call
12598 `emacs-lisp-mode', just use its syntax table.
12599
12600 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12601
12602 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12603 `font-lock-extra-managed-props' if any prettifying keyword is added.
12604 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12605 (prog-mode): Use `setq-local'.
12606
12607 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * international/characters.el (standard-case-table): Set syntax of ?»
12610 and ?« to punctuation.
12611
12612 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12615 Save relevant match data before calling `syntax-ppss' (bug#14595).
12616
12617 2013-06-15 Juri Linkov <juri@jurta.org>
12618
12619 * files-x.el (modify-file-local-variable-prop-line): Add local
12620 variables to the end of the existing comment on the first line.
12621 Use `file-auto-mode-skip' to skip interpreter magic line,
12622 and also skip XML declaration.
12623
12624 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12625
12626 * startup.el (package--builtin-versions): New var.
12627 (package-subdirectory-regexp): Remove.
12628 (package--description-file): Hard code its value instead.
12629
12630 * emacs-lisp/package.el: Don't activate packages older than builtin.
12631 (package-obsolete-list): Rename from package-obsolete-alist, and make
12632 it into a simple list of package-desc.
12633 (package-strip-version): Remove.
12634 (package-built-in-p): Use package--builtin-versions.
12635 (package-mark-obsolete): Simplify.
12636 (package-process-define-package): Mark it obsolete if older than the
12637 builtin version.
12638 (package-handle-response): Use line-end-position.
12639 (package-read-archive-contents, package--download-one-archive):
12640 Simplify.
12641 (package--add-to-archive-contents): Skip if older than the builtin or
12642 installed version.
12643 (package-menu-describe-package): Fix last change.
12644 (package-list-unversioned): New var.
12645 (package-menu--generate): Use it.
12646
12647 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12648 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12649 (autoload-builtin-package-versions): New variable.
12650 (autoload-generate-file-autoloads): Use them.
12651 Remove the list of autoloaded functions/macros from the
12652 (autoload...) comments.
12653
12654 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12655
12656 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12657
12658 * simple.el (line-move-partial): Don't jump to the next screen
12659 line as soon as it becomes visible. Instead, continue enlarging
12660 the vscroll until the portion of a tall screen line that's left on
12661 display is about the height of the frame's default font.
12662 (Bug#14567)
12663
12664 2013-06-15 Glenn Morris <rgm@gnu.org>
12665
12666 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12667 compilation-error-regexp-alist void, or local while let-bound.
12668
12669 * progmodes/make-mode.el (makefile-mode-syntax-table):
12670 Treat "=" as punctuation. (Bug#14614)
12671
12672 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12673
12674 * help-fns.el (describe-variable):
12675 Add extra line for permanent-local variables.
12676
12677 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12678
12679 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12680 Add export, import, library. (Bug#9164)
12681 (library): Set indent function.
12682
12683 2013-06-14 Glenn Morris <rgm@gnu.org>
12684
12685 * term/xterm.el (xterm--query):
12686 Stop after first matching handler. (Bug#14615)
12687
12688 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12689
12690 Add support for dired in saveplace.
12691 * dired.el (dired-initial-position-hook): New variable.
12692 (dired-initial-position): Call hook to place cursor position.
12693 * saveplace.el (save-place-to-alist): Add dired position.
12694 (save-place-dired-hook): New function.
12695
12696 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12697
12698 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12699 through a symbol rather than letrec.
12700
12701 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12702 (package-desc): Add `dir' field.
12703 (package-desc-full-name): New function.
12704 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12705 (package-maybe-load-descriptor): Remove.
12706 (package-load-all-descriptors): Just call package-load-descriptor.
12707 (package--disabled-p): New function.
12708 (package-desc-vers, package-desc-doc): Remove aliases.
12709 (package--dir): Remove function.
12710 (package-activate): Check if a package is disabled.
12711 (package-process-define-package): New function, extracted from
12712 define-package.
12713 (define-package): Turn into a place holder.
12714 (package-unpack-single, package-tar-file-info):
12715 Use package--description-file.
12716 (package-compute-transaction): Use package--disabled-p.
12717 (package-download-transaction): Don't call
12718 package-maybe-load-descriptor since they're all loaded anyway.
12719 (package-install): Change argument to be a pkg-desc.
12720 (package-delete): Use a single pkg-desc argument.
12721 (describe-package-1): Use package-desc-dir instead of package--dir.
12722 Use package-desc property instead of package-symbol.
12723 (package-install-button-action): Adjust accordingly.
12724 (package--push): Rewrite.
12725 (package-menu--print-info): Adjust accordingly. Change the ID format
12726 to be a pkg-desc.
12727 (package-menu-describe-package, package-menu-get-status)
12728 (package-menu--find-upgrades, package-menu-mark-upgrades)
12729 (package-menu-execute, package-menu--name-predicate):
12730 Adjust accordingly.
12731 * startup.el (package--description-file): New function.
12732 (command-line): Use it.
12733 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12734 Use package-desc-version.
12735
12736 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12737 (byte-compile-preprocess): Use it.
12738 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12739 can't quite recognize.
12740 (byte-compile-add-to-list): Remove.
12741 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12742 (cconv-closure-convert): Add assertion.
12743
12744 * emacs-lisp/map-ynp.el: Use lexical-binding.
12745 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12746 Factor out some repeated code.
12747
12748 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * subr.el (with-eval-after-load): New macro.
12751 (eval-after-load): Allow form to be a function.
12752 take advantage of lexical-binding.
12753 (do-after-load-evaluation): Use dolist and adjust to new format.
12754 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12755
12756 2013-06-13 Juri Linkov <juri@jurta.org>
12757
12758 * replace.el (perform-replace): Display "symbol " and other search
12759 modes from `isearch-message-prefix' in the *Help* buffer.
12760
12761 * isearch.el (isearch-query-replace): Add " symbol" and other
12762 possible search modes from `isearch-message-prefix' to the prompt.
12763 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12764 when reading a regexp to collect.
12765
12766 2013-06-13 Juri Linkov <juri@jurta.org>
12767
12768 * isearch.el (word-search-regexp): Match whitespace if the search
12769 string begins or ends in whitespace. The LAX arg is applied to
12770 both ends of the search string. Use `regexp-quote' and explicit
12771 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12772 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12773 boundaries are replaced with symbol boundaries, and characters
12774 between symbols match non-word non-symbol syntax. (Bug#14602)
12775
12776 2013-06-13 Juri Linkov <juri@jurta.org>
12777
12778 * isearch.el (isearch-del-char): Don't exceed the length of
12779 `isearch-string' by the prefix arg. (Bug#14563)
12780
12781 2013-06-13 Juri Linkov <juri@jurta.org>
12782
12783 * isearch.el (isearch-yank-word, isearch-yank-line)
12784 (isearch-char-by-name, isearch-quote-char)
12785 (isearch-printing-char, isearch-process-search-char):
12786 Add optional count prefix arg. (Bug#14563)
12787
12788 * international/isearch-x.el
12789 (isearch-process-search-multibyte-characters):
12790 Add optional count prefix arg.
12791
12792 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12793
12794 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12795 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12796 lexical-binding.
12797
12798 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12799
12800 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12801
12802 2013-06-13 Glenn Morris <rgm@gnu.org>
12803
12804 * startup.el (tty-handle-args):
12805 Don't just discard "--" and anything after. (Bug#14608)
12806
12807 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12808
12809 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12810
12811 Implement changes in Secret Service API. Make it backward compatible.
12812 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12813 (secrets-create-item): Use it. Prefix properties with interface.
12814
12815 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12816
12817 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12818 (term-emulate-terminal): Respect term-suppress-hard-newline.
12819
12820 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12821
12822 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12823 Only remove a `thumb-file' overlay. (Bug#14548)
12824
12825 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12826
12827 * mail/reporter.el (reporter-submit-bug-report):
12828 Handle missing package-name. (Bug#14600)
12829
12830 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12831
12832 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12833 (reftex-citation-prompt, reftex-default-bibliography)
12834 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12835 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12836 (reftex-bib-sort-author, reftex-bib-sort-year)
12837 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12838 (reftex-extract-bib-entries-from-thebibliography)
12839 (reftex-get-bibkey-default, reftex-get-bib-names)
12840 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12841 (reftex-format-bib-entry, reftex-parse-bibitem)
12842 (reftex-format-bibitem, reftex-do-citation)
12843 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12844 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12845 (reftex-insert-bib-matches, reftex-format-citation)
12846 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12847 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12848 existing comments into docstrings.
12849
12850 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12851
12852 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12853
12854 2013-06-12 Andreas Schwab <schwab@suse.de>
12855
12856 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12857 for auto-save files.
12858
12859 2013-06-12 Glenn Morris <rgm@gnu.org>
12860
12861 * ido.el (ido-delete-ignored-files): Remove.
12862 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12863 Go back to calling ido-ignore-item-p directly.
12864
12865 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12866
12867 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12868
12869 * ido.el (ido-delete-ignored-files): New function,
12870 split from ido-make-file-list-1.
12871 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12872 (ido-make-file-list-1): Use ido-delete-ignored-files.
12873
12874 2013-06-12 Leo Liu <sdl.web@gmail.com>
12875
12876 * progmodes/octave.el (inferior-octave-startup)
12877 (inferior-octave-completion-table)
12878 (inferior-octave-track-window-width-change)
12879 (octave-eldoc-function-signatures, octave-help)
12880 (octave-find-definition): Use single quoted strings.
12881 (inferior-octave-startup-args): Change default value.
12882 (inferior-octave-startup): Do not hard code "-i" and
12883 "--no-line-editing".
12884 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12885 (inferior-octave-directory-tracker): Use it.
12886 (octave-goto-function-definition): Robustify.
12887 (octave-help): Support highlighting operators in 'See also'.
12888 (octave-find-definition): Find subfunctions only in Octave mode.
12889
12890 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * help-fns.el (help-fns--compiler-macro): If the handler function is
12893 named, then put a link to it.
12894 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12895 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12896 (cl-typep): Use it.
12897 (cl-eval-when): Simplify debug spec.
12898 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12899 compiler-macro function instead of setting `compiler-macro-file'.
12900
12901 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12902
12903 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12904 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12905
12906 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12907 Daniel Hackney <dan@haxney.org>
12908
12909 First part of Daniel Hackney's patch to package.el.
12910 * emacs-lisp/package.el: Use defstruct.
12911 (package-desc): New, main struct.
12912 (package--bi-desc, package--ac-desc): New structs, used to describe the
12913 format in external files.
12914 (package-desc-vers): Replace with package-desc-version accessor.
12915 (package-desc-doc): Replace with package-desc-summary accessor.
12916 (package-activate-1): Remove `package' arg since the pkg-vec now
12917 includes the name.
12918 (define-package): Use package-desc-from-define.
12919 (package-unpack-single): Change file-name arg to be a symbol.
12920 (package--add-to-archive-contents): Use package-desc-create and new
12921 accessor functions to package--ac-desc.
12922 (package-buffer-info, package-tar-file-info): Return a package-desc.
12923 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12924 arg to be a package-desc.
12925 (package-install-file): Adjust accordingly. Use \' to match EOS.
12926 (package--from-builtin): New function.
12927 (describe-package-1, package-menu--generate): Use it.
12928 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12929 (package-generate-autoloads): Idem and return the name of the file.
12930 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12931 Change pkg-info arg to be a package-desc.
12932 Use package-make-ac-desc.
12933 (package-upload-file): Use \' to match EOS.
12934 * finder.el (finder-compile-keywords): Use package-make-builtin.
12935
12936 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * vc/vc.el (vc-deduce-fileset): Change error message.
12939 (vc-read-backend): New function.
12940 (vc-next-action): Use it.
12941
12942 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12943
12944 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12945 (prolog-font-lock-keywords): Use regexp-opt instead.
12946 Don't manually highlight strings.
12947 (prolog-mode-variables): Simplify comment-start-skip.
12948 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12949
12950 * emacs-lisp/generic.el (generic--normalise-comments)
12951 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12952 (generic-mode-set-comments): Use them.
12953 (generic-bracket-support): Use setq-local.
12954 (generic-make-keywords-list): Declare obsolete.
12955
12956 2013-06-11 Glenn Morris <rgm@gnu.org>
12957
12958 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12959 Prettify after setting font-lock-defaults. (Bug#14574)
12960
12961 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * replace.el (query-replace, occur-read-regexp-defaults-function)
12964 (replace-search):
12965 * subr.el (declare-function, number-sequence, local-set-key)
12966 (substitute-key-definition, locate-user-emacs-file)
12967 (with-silent-modifications, split-string, eval-after-load):
12968 Fix typos, remove unneeded backslashes and reflow some docstrings.
12969
12970 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12973 default for Elisp files.
12974
12975 2013-06-11 Glenn Morris <rgm@gnu.org>
12976
12977 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12978 although define-derived-mode was doing this anyway. (Bug#14583)
12979
12980 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12981
12982 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12983 Fix make-variable-buffer-local call to refer to the correct variable.
12984
12985 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12986
12987 * eshell/em-term.el (eshell-visual-commands)
12988 (eshell-visual-subcommands, eshell-visual-options):
12989 Add summary line to docstrings. Add cross-references.
12990
12991 2013-06-10 Glenn Morris <rgm@gnu.org>
12992
12993 * epa.el (epa-read-file-name): New function. (Bug#14510)
12994 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12995
12996 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12997
12998 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12999 output redirection to be ignored with visual commands.
13000
13001 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13002
13003 * eshell/em-term.el (eshell-visual-command-p): New function.
13004 (eshell-term-initialize): Move long lambda to separate function
13005 eshell-visual-command-p.
13006 * eshell/em-dirs.el (eshell-dirs-initialize):
13007 * eshell/em-script.el (eshell-script-initialize):
13008 Add missing #' to lambda.
13009
13010 2013-06-08 Leo Liu <sdl.web@gmail.com>
13011
13012 * progmodes/octave.el (octave-add-log-current-defun): New function.
13013 (octave-mode): Set add-log-current-defun-function.
13014 (octave-goto-function-definition): Do not move point if not found.
13015 (octave-find-definition): Enhance to try subfunctions first.
13016
13017 2013-06-08 Glenn Morris <rgm@gnu.org>
13018
13019 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13020 (byte-compile-backward-char, byte-compile-backward-word):
13021 Improve previous change, to handle non-explicit nil.
13022
13023 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13026 (smie--opener/closer-at-point): New function.
13027 (smie--matching-block-data): Use it. Don't match from right after an
13028 opener or right before a closer. Obey smie-blink-matching-inners.
13029 Don't signal a mismatch for repeated inners like "switch..case..case".
13030
13031 2013-06-07 Leo Liu <sdl.web@gmail.com>
13032
13033 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13034 to t. (Bug#14303)
13035 (octave-function-header-regexp): Fix. (Bug#14570)
13036 (octave-help-mode-finish-hook, octave-help-mode-finish):
13037 Remove. Just use temp-buffer-show-hook.
13038
13039 * newcomment.el (comment-search-backward): Revert last change.
13040 (Bug#14434)
13041
13042 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13043
13044 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13045
13046 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13047 through xargs, to avoid failure due to MS-Windows limitations on
13048 command-line length.
13049
13050 2013-06-06 Glenn Morris <rgm@gnu.org>
13051
13052 * font-lock.el (lisp-font-lock-keywords-2):
13053 Treat user-error like error.
13054
13055 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13056 (byte-compile-backward-char, byte-compile-backward-word):
13057 Handle explicit nil arguments. (Bug#14565)
13058
13059 2013-06-05 Alan Mackenzie <acm@muc.de>
13060
13061 * isearch.el (isearch-allow-prefix): New user option.
13062 (isearch-other-meta-char): Don't exit isearch when a prefix
13063 argument is typed whilst `isearch-allow-prefix' is non-nil.
13064 (Bug#9706)
13065
13066 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * autorevert.el (auto-revert-notify-handler): Use memq.
13069 Hide assertion failure.
13070
13071 * skeleton.el: Use cl-lib.
13072 (skeleton-further-elements): Use defvar-local.
13073 (skeleton-insert): Use cl-progv.
13074
13075 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13076
13077 * progmodes/prog-mode.el (prog-prettify-symbols)
13078 (prog-prettify-install): Update docstrings.
13079
13080 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * simple.el: Move all the prog-mode code to prog-mode.el.
13083 * progmodes/prog-mode.el: New file.
13084 * loadup.el: Add prog-mode.el.
13085
13086 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13087
13088 * simple.el (prog-prettify-symbols): Add version.
13089 (prog-prettify-install): Add convenience function to prettify symbols.
13090
13091 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13092 (perl--augmented-font-lock-keywords-1)
13093 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13094 variables and use it.
13095
13096 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13097 (cfengine3-mode): Remove unneeded variable and use it.
13098
13099 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13100 (lisp--augmented-font-lock-keywords-1)
13101 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13102 Remove unneeded variables and use it.
13103
13104 2013-06-05 João Távora <joaotavora@gmail.com>
13105
13106 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13107 to point when opening the connection. (Bug#14380)
13108
13109 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13110
13111 * subr.el (load-history-regexp, load-history-filename-element)
13112 (eval-after-load, after-load-functions, do-after-load-evaluation)
13113 (eval-next-after-load, display-delayed-warnings)
13114 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13115 definition of save-match-data.
13116 (overriding-local-map): Remove accidental obsolescence declaration.
13117
13118 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13119
13120 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13121
13122 Generalize symbol prettify support to prog-mode and implement it
13123 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13124 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13125 (prog--prettify-font-lock-compose-symbol)
13126 (prog-prettify-font-lock-symbols-keywords): New variables and
13127 functions to support symbol prettification.
13128 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13129 (lisp--augmented-font-lock-keywords-1)
13130 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13131 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13132 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13133 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13134 Implement prettify of -> => :: strings.
13135 * progmodes/perl-mode.el (perl-prettify-symbols)
13136 (perl--font-lock-compose-symbol)
13137 (perl--font-lock-symbols-keywords): Move to prog-mode.
13138 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13139 (perl-font-lock-keywords-1)
13140 (perl-font-lock-keywords-2): Remove explicit prettify support.
13141 (perl--augmented-font-lock-keywords)
13142 (perl--augmented-font-lock-keywords-1)
13143 (perl--augmented-font-lock-keywords-2, perl-mode):
13144 Implement prettify support.
13145
13146 2013-06-05 Leo Liu <sdl.web@gmail.com>
13147
13148 Re-implement SMIE matching block highlight using
13149 show-paren-data-function. (Bug#14395)
13150 * emacs-lisp/smie.el (smie-matching-block-highlight)
13151 (smie--highlight-matching-block-overlay)
13152 (smie--highlight-matching-block-lastpos)
13153 (smie-highlight-matching-block)
13154 (smie-highlight-matching-block-mode): Remove.
13155 (smie--matching-block-data-cache): New variable.
13156 (smie--matching-block-data): New function.
13157 (smie-setup): Use smie--matching-block-data for
13158 show-paren-data-function.
13159
13160 * progmodes/octave.el (octave-mode-menu): Fix.
13161 (octave-find-definition): Skip garbage lines.
13162
13163 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 Fix compilation error with simultaneous dynamic+lexical scoping.
13166 Add warning when a defvar appears after the first let-binding.
13167 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13168 (byte-compile-close-variables): Initialize it.
13169 (byte-compile--declare-var): New function.
13170 (byte-compile-file-form-defvar)
13171 (byte-compile-file-form-define-abbrev-table)
13172 (byte-compile-file-form-custom-declare-variable): Use it.
13173 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13174 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13175 (byte-compile-bind): Handle dynamic bindings that shadow
13176 lexical bindings.
13177 (byte-compile-unbind): Make arg non-optional.
13178 (byte-compile-let): Simplify.
13179 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13180 (cconv--analyse-function, cconv-analyse-form): Populate it.
13181 Protect byte-compile-bound-variables to limit the scope of defvars.
13182 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13183 Remove unneeded rule for `declare'.
13184
13185 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13186 so as to avoid depending on cl-adjoin at run-time.
13187 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13188
13189 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13190 (macroexp--warn-and-return): Use it.
13191
13192 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * subr.el: Convert to lexical binding.
13195 (overriding-local-map): Make obsolete.
13196 (add-to-list): Doc fix. Add compiler macro.
13197 (read-key): Swap values of local maps.
13198
13199 2013-06-05 Leo Liu <sdl.web@gmail.com>
13200
13201 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13202
13203 2013-06-04 Leo Liu <sdl.web@gmail.com>
13204
13205 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13206 (compilation-auto-jump): Suppress the "Mark set" message to give
13207 way to exit message.
13208
13209 2013-06-04 Alan Mackenzie <acm@muc.de>
13210
13211 Remove faulty optimisation from indentation calculation.
13212 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13213 search limit based on 2000 characters back from indent-point.
13214
13215 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13216
13217 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13218
13219 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * emacs-lisp/lisp.el: Use lexical-binding.
13222 (lisp--local-variables-1, lisp--local-variables): New functions.
13223 (lisp--local-variables-completion-table): New var.
13224 (lisp-completion-at-point): Use it complete let-bound vars.
13225
13226 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13227 eagerly (bug#14422).
13228
13229 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13230
13231 * autorevert.el (auto-revert-notify-enabled)
13232 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13233 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13234 (auto-revert-notify-handler): Handle also gfilenotify.
13235
13236 * subr.el (file-notify-handle-event): New defun. Replacing ...
13237 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13238 Remove.
13239
13240 2013-06-03 Juri Linkov <juri@jurta.org>
13241
13242 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13243 `M-s h .'. (Bug#14427)
13244
13245 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13246 command `hi-lock-face-symbol-at-point'.
13247 (hi-lock-face-symbol-at-point): New command.
13248 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13249 (hi-lock-menu): Add `highlight-symbol-at-point'.
13250 (hi-lock-mode): Doc fix.
13251
13252 * isearch.el (isearch-forward-symbol-at-point): New command.
13253 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13254 (isearch-highlight-regexp): Add a regexp which matches
13255 words/symbols for word/symbol mode.
13256
13257 * subr.el (find-tag-default-bounds): New function with the body
13258 mostly moved from `find-tag-default'.
13259 (find-tag-default): Move most code to `find-tag-default-bounds',
13260 call it and apply `buffer-substring-no-properties' afterwards.
13261
13262 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13263
13264 * eshell/em-term.el (eshell-term-initialize):
13265 Use `cl-intersection' rather than `intersection'.
13266
13267 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13268
13269 * vc/log-view.el: Doc fix.
13270 (log-view-mode-map): Copy keymap from `special-mode-map'.
13271
13272 2013-06-02 Eric Ludlam <zappo@gnu.org>
13273
13274 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13275 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13276 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13277 (eieio-unbound, eieio-default-superclass)
13278 (eieio--define-field-accessors, method-static, method-before)
13279 (method-primary, method-after, method-num-lists)
13280 (method-generic-before, method-generic-primary)
13281 (method-generic-after, method-num-slots)
13282 (eieio-specialized-key-to-generic-key)
13283 (eieio--check-type, class-v, class-p)
13284 (eieio-class-name, define-obsolete-function-alias)
13285 (eieio-class-parents-fast, eieio-class-children-fast)
13286 (same-class-fast-p, class-constructor, generic-p)
13287 (generic-primary-only-p, generic-primary-only-one-p)
13288 (class-option-assoc, class-option, eieio-object-p)
13289 (class-abstract-p, class-method-invocation-order)
13290 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13291 (eieio-class-un-autoload, eieio-defclass)
13292 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13293 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13294 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13295 (eieio-defgeneric-reset-generic-form)
13296 (eieio-defgeneric-form-primary-only)
13297 (eieio-defgeneric-reset-generic-form-primary-only)
13298 (eieio-defgeneric-form-primary-only-one)
13299 (eieio-defgeneric-reset-generic-form-primary-only-one)
13300 (eieio-unbind-method-implementations)
13301 (eieio--defmethod, eieio--typep)
13302 (eieio-perform-slot-validation, eieio-validate-slot-value)
13303 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13304 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13305 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13306 (eieio-slot-name-index, eieio-class-slot-name-index)
13307 (eieio-set-defaults, eieio-initarg-to-attribute)
13308 (eieio-attribute-to-initarg, eieio-c3-candidate)
13309 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13310 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13311 (eieio-class-precedence-list, eieio-generic-call-methodname)
13312 (eieio-generic-call-arglst, eieio-generic-call-key)
13313 (eieio-generic-call-next-method-list)
13314 (eieio-pre-method-execution-functions, eieio-generic-call)
13315 (eieio-generic-call-primary-only, eieiomt-method-list)
13316 (eieiomt-optimizing-obarray, eieiomt-install)
13317 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13318 (eieio-generic-form, eieio-defmethod, make-obsolete)
13319 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13320 (defclass): Remove `eval-and-compile' from macro.
13321 (call-next-method, shared-initialize): Instead of using
13322 `scoped-class' variable, use new eieio--scoped-class, and
13323 eieio--with-scoped-class.
13324 (initialize-instance): Rename local variable 'scoped-class' to
13325 'this-class' to remove ambiguitity from old global.
13326
13327 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13328 eieio.el.
13329 (eieio--scoped-class-stack): New variable.
13330 (eieio--scoped-class): New fcn.
13331 (eieio--with-scoped-class): New scoping macro.
13332 (eieio-defclass): Use pushnew instead of add-to-list.
13333 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13334 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13335 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13336 `scoped-class' variable, use new eieio--scoped-class, and
13337 eieio--with-scoped-class.
13338
13339 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13340
13341 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13342
13343 * eshell/esh-ext.el (eshell-external-command): Pass args to
13344 `eshell-find-interpreter'.
13345 (eshell-find-interpreter): Add new second parameter ARGS.
13346
13347 * eshell/em-script.el (eshell-script-initialize): Add second arg
13348 to the function added as MATCH to `eshell-interpreter-alist'.
13349
13350 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13351 the function added as MATCH to `eshell-interpreter-alist'.
13352
13353 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13354 (eshell-visual-options): New defcustom.
13355 (eshell-escape-control-x): Adapt docstring.
13356 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13357 `eshell-visual-options' in addition to `eshell-visual-commands'.
13358 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13359
13360 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13361
13362 * progmodes/python.el (python-indent-block-enders): Add break,
13363 continue and raise keywords.
13364
13365 2013-06-01 Glenn Morris <rgm@gnu.org>
13366
13367 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13368
13369 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13370 * progmodes/cc-cmds.el (delete-forward-p):
13371 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13372 * progmodes/cc-engine.el (buffer-syntactic-context):
13373 * progmodes/cc-fonts.el (face-property-instance):
13374 * progmodes/cc-mode.el (set-keymap-parents):
13375 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13376 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13377 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13378 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13379 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13380
13381 * progmodes/cc-vars.el (other): Emacs has this widget since
13382 at least 21.1, so don't (re)define it.
13383
13384 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13385 Replace the obsolete alias pcomplete-arg-quote-list.
13386
13387 2013-06-01 Leo Liu <sdl.web@gmail.com>
13388
13389 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13390 punctuation syntax.
13391 (inferior-octave-minimal-columns)
13392 (inferior-octave-last-column-width): New variables.
13393 (inferior-octave-track-window-width-change): New function.
13394 (inferior-octave-mode): Adjust column width so that Octave output,
13395 for example from 'ls', can fit into the window nicely.
13396
13397 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13398
13399 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13400 Highlight expansions inside regexp literals.
13401
13402 2013-05-31 Glenn Morris <rgm@gnu.org>
13403
13404 * obsolete/sym-comp.el (symbol-complete):
13405 Replace obsolete completion-annotate-function.
13406
13407 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13408
13409 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13410
13411 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13412 New function, checks if point is inside a literal that allows
13413 expression expansion.
13414 (ruby-syntax-propertize-expansion): Use it.
13415 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13416 around the body.
13417
13418 2013-05-30 Juri Linkov <juri@jurta.org>
13419
13420 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13421 to "\M-si".
13422 (isearch-invisible): New variable.
13423 (isearch-forward): Doc fix.
13424 (isearch-mode): Set `isearch-invisible'
13425 to the value of `search-invisible'.
13426 (isearch-toggle-case-fold): Doc fix.
13427 (isearch-toggle-invisible): New command.
13428 (isearch-query-replace): Let-bind `search-invisible'
13429 to the value of `isearch-invisible'.
13430 (isearch-search): Use `isearch-invisible' instead of
13431 `search-invisible'. Let-bind `search-invisible'
13432 to the value of `isearch-invisible'. (Bug#11378)
13433
13434 2013-05-30 Juri Linkov <juri@jurta.org>
13435
13436 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13437 call when `query-flag' is nil and `search-invisible' is non-nil.
13438 (Bug#11746)
13439
13440 2013-05-30 Glenn Morris <rgm@gnu.org>
13441
13442 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13443
13444 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13445 (cc-require): Suppress spurious "noruntime" warnings.
13446 (cc-require-when-compile): Use fboundp, for sake of compiler.
13447
13448 * progmodes/cc-mode.el: Move load of cc-vars before that of
13449 cc-langs (which in turn loads cc-vars), to quieten compiler.
13450
13451 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13452
13453 * paren.el: Simplify the code.
13454 (show-paren-mode): Always start the timer.
13455 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13456 (show-paren--overlay, show-paren--overlay-1): Rename from
13457 show-paren-overlay and show-paren-overlay-1, and initialize to an
13458 overlay rather than to nil.
13459 (show-paren-function): Misc cleanup and simplifications.
13460
13461 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13462
13463 * paren.el (show-paren-data-function): New hook.
13464 (show-paren--default): New function, extracted from show-paren-function.
13465 (show-paren-function): Use show-paren-data-function.
13466
13467 2013-05-30 Glenn Morris <rgm@gnu.org>
13468
13469 * ielm.el (ielm-map, ielm-complete-symbol):
13470 Use completion-at-point rather than obsolete functions.
13471 (inferior-emacs-lisp-mode): Doc fix.
13472 Set completion-at-point-functions, rather than
13473 comint-dynamic-complete-functions.
13474
13475 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13476 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13477 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13478
13479 * image.el (image-animated-p): Tweak definition.
13480
13481 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13482 (rlogin-process-connection-type): Tweak default. Add set-after.
13483 (rlogin-host): Doc fix.
13484 (rlogin): Tweak prompt.
13485 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13486
13487 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13488 * progmodes/tcl.el (inferior-tcl-mode-map):
13489 Use completion-at-point rather than obsolete alias.
13490
13491 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13492
13493 * minibuffer.el (read-file-name-completion-ignore-case):
13494 Move before completion--in-region, for eager macro expansion.
13495
13496 2013-05-29 Juri Linkov <juri@jurta.org>
13497
13498 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13499 for total count of matching lines. Add `global-matches' for total
13500 count of matches. Rename `matches' to `lines' for count of
13501 matching lines. Add `matches' for count of matches.
13502 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13503 to `prev-line' for line number of prev match endpt.
13504 Increment `matches' for every match. Print the number of
13505 matching lines in the header.
13506 (occur-context-lines): Rename `lines' to `curr-line'.
13507 Rename `prev-lines' to `prev-line'. (Bug#14017)
13508
13509 2013-05-29 Juri Linkov <juri@jurta.org>
13510
13511 * replace.el (perform-replace): Add `skip-read-only-count',
13512 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13513 Increment them for corresponding conditions and report the number
13514 of skipped occurrences in the final message. (Bug#11746)
13515 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13516 (replace-string, replace-regexp): Doc fix.
13517
13518 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13521
13522 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13523 prog-mode-map (bug#14504).
13524
13525 2013-05-29 Leo Liu <sdl.web@gmail.com>
13526
13527 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13528 (octave-help): Small simplification.
13529
13530 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13531 off the highlight first.
13532
13533 2013-05-29 Glenn Morris <rgm@gnu.org>
13534
13535 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13536 Handle idlwave-last-system-routine-info-cons-cell being nil.
13537
13538 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13539 (idlwave-write-paths): Simplify via with-temp-buffer.
13540
13541 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13542 * emulation/cua-rect.el: Also load cua-base at run time.
13543
13544 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13545 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13546 (cperl-imenu-on-info): Require imenu.
13547
13548 2013-05-28 Alan Mackenzie <acm@muc.de>
13549
13550 Handle "capitalised keywords" correctly.
13551 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13552
13553 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13554
13555 * eshell/em-unix.el: Add -r option to cp.
13556
13557 2013-05-28 Glenn Morris <rgm@gnu.org>
13558
13559 * vc/vc-arch.el (vc-exec-after): Declare.
13560 (vc-switches): Autoload.
13561 * vc/vc-bzr.el: No need to require vc when compiling.
13562 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13563 (vc-resynch-buffer, vc-dir-refresh): Declare.
13564 (vc-setup-buffer, vc-switches): Autoload.
13565 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13566 (vc-resynch-buffer): Declare.
13567 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13568 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13569 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13570 (grep-read-regexp, grep-read-files, grep-expand-template)
13571 (vc-dir-refresh): Declare.
13572 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13573 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13574 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13575 * vc/vc-mtn.el (vc-exec-after): Declare.
13576 (vc-switches): Autoload.
13577 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13578 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13579 (vc-file-tree-walk): Declare.
13580 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13581 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13582 (vc-tag-precondition, vc-rename-master): Autoload.
13583 * vc/vc-svn.el (vc-exec-after): Declare.
13584 (vc-switches, vc-setup-buffer): Autoload.
13585 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13586 Autoload.
13587 (vc-resynch-buffer): Declare.
13588
13589 * obsolete/fast-lock.el (byte-compile-warnings):
13590 Don't warn about obsolete features in this obsolete file.
13591
13592 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13593 Move definition before use.
13594
13595 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13596 (dun-unix-verbs): Remove dun-zippy.
13597 (dun-zippy): Remove function.
13598
13599 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13600
13601 2013-05-27 Juri Linkov <juri@jurta.org>
13602
13603 * replace.el (replace-search): New function with code moved out
13604 from `perform-replace'.
13605 (replace-highlight, replace-dehighlight): Move function definitions
13606 up closer to `replace-search'. (Bug#11746)
13607
13608 2013-05-27 Juri Linkov <juri@jurta.org>
13609
13610 * replace.el (perform-replace): Ignore invisible matches.
13611 In addition to checking `query-replace-skip-read-only', also
13612 filter out matches by calling `run-hook-with-args-until-failure'
13613 on `isearch-filter-predicates', and also check `search-invisible'
13614 for t or call `isearch-range-invisible'.
13615 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13616
13617 2013-05-27 Juri Linkov <juri@jurta.org>
13618
13619 * isearch.el (isearch-filter-predicates): Rename from
13620 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13621 (isearch-message-prefix): Display text from the property
13622 `isearch-message-prefix' of the currently active filters.
13623 (isearch-search): Don't compare `isearch-filter-predicate' with
13624 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13625 on `isearch-filter-predicates'. Also check `search-invisible' for t
13626 or call `isearch-range-invisible'.
13627 (isearch-filter-visible): Make obsolete.
13628 (isearch-lazy-highlight-search):
13629 Call `run-hook-with-args-until-failure' on
13630 `isearch-filter-predicates' and use `isearch-range-invisible'.
13631
13632 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13633 `isearch-filter-predicates' instead of `funcall'ing
13634 `isearch-filter-predicate'.
13635 (Info-mode): Set `Info-isearch-filter' to
13636 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13637
13638 * dired-aux.el (dired-isearch-filter-predicate-orig):
13639 Remove variable.
13640 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13641 (dired-isearch-filenames-end): Add and remove
13642 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13643 instead of changing the value of `isearch-filter-predicate'.
13644 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13645 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13646 Put property `isearch-message-prefix' to "filename " on
13647 `dired-isearch-filter-filenames'.
13648
13649 * wdired.el (wdired-change-to-wdired-mode):
13650 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13651 locally instead of changing `isearch-filter-predicate'.
13652 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13653
13654 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13655
13656 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13657 return the commit hash (Bug#14459). Also set the
13658 `vc-git-detached' property.
13659 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13660 (vc-git-mode-line-string): Use the same help-echo format whether
13661 in detached mode or not, because we know the actual revision now.
13662 When in detached mode, shorten the revision to 7 chars.
13663
13664 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * emacs-lisp/easy-mmode.el (define-minor-mode):
13667 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13668 mode hook and provide a docstring.
13669
13670 2013-05-27 Alan Mackenzie <acm@muc.de>
13671
13672 Remove spurious syntax-table text properties inserted by C-y.
13673 * progmodes/cc-mode.el (c-after-change): Also clear hard
13674 syntax-table property with value nil.
13675
13676 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13677
13678 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13679 when reading the events; the buffer layout shall not be changed.
13680
13681 2013-05-27 Leo Liu <sdl.web@gmail.com>
13682
13683 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13684 New variable.
13685 (inferior-octave-directory-tracker): Automatically re-sync
13686 default-directory.
13687 (octave-help): Improve handling of 'See also'.
13688
13689 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * doc-view.el: Minor naming convention tweaks.
13692 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13693
13694 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13695 even if there's no `display' property yet (bug#14435).
13696
13697 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13698
13699 * subr.el (unmsys--file-name): Rename from reveal-filename.
13700
13701 * Makefile.in (custom-deps, finder-data, autoloads)
13702 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13703 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13704 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13705
13706 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13709 error-completion on the first 2 args of condition-case (bug#14446).
13710 Don't burp at EOB.
13711
13712 2013-05-25 Leo Liu <sdl.web@gmail.com>
13713
13714 * comint.el (comint-previous-matching-input): Do not flood the
13715 *Messages* buffer with trivial messages.
13716
13717 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * progmodes/flymake.el (flymake-nop): Don't return a string.
13720 (flymake-set-at): Fix typo.
13721
13722 * simple.el (read--expression): New function, extracted from
13723 eval-expression. Set completion-at-point-functions (bug#14465).
13724 (eval-expression, eval-minibuffer): Use it.
13725
13726 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13727
13728 * progmodes/flymake.el (flymake-save-buffer-in-file)
13729 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13730 (flymake-selected-frame, flymake-log, flymake-ins-after)
13731 (flymake-set-at, flymake-get-buildfile-from-cache)
13732 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13733 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13734 Refine the doc string.
13735 (flymake-get-file-name-mode-and-masks): Reformat.
13736 (flymake-get-real-file-name-function): Fix a minor bug.
13737
13738 2013-05-24 Juri Linkov <juri@jurta.org>
13739
13740 * progmodes/grep.el (grep-mode-font-lock-keywords):
13741 Support =linenumber= format used by git-grep for lines with
13742 function names. (Bug#13549)
13743
13744 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13745
13746 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13747 0 after a semi-colon; it works better for smie-auto-fill.
13748 (octave--indent-new-comment-line): New function.
13749 (octave-indent-new-comment-line): Use it (indirectly).
13750 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13751 modify comment-line-break-function.
13752
13753 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13754 (smie-setup): Use add-function to set it.
13755
13756 2013-05-24 Sam Steingold <sds@gnu.org>
13757
13758 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13759 argument (before the `interactive' argument).
13760
13761 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13762
13763 * image-mode.el (image-mode-winprops): Add winprops to
13764 image-mode-winprops-alist before running
13765 image-mode-new-window-functions.
13766 * doc-view.el (doc-view-new-window-function): Don't delay
13767 doc-view-goto-page via timers (bug#14435).
13768
13769 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13770
13771 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13772 (doc-view-desktop-save-buffer): New function.
13773 (doc-view-restore-desktop-buffer): New function.
13774 (desktop-buffer-mode-handlers):
13775 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13776 handler.
13777 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13778 `desktop-save-buffer' function.
13779
13780 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13781
13782 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13783 (tramp-gvfs-file-name-handler): Raise a user error when
13784 `tramp-gvfs-enabled' is nil.
13785 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13786 Do not raise a user error when loading package. (Bug#14447)
13787
13788 * net/xesam.el: Move to obsolete/.
13789
13790 2013-05-24 Glenn Morris <rgm@gnu.org>
13791
13792 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13793
13794 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13795
13796 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13797 (Info-find-node, Man-getpage-in-background): Declare.
13798
13799 * mail/unrmail.el (unrmail):
13800 Replace obsolete detect-coding-with-priority.
13801
13802 * net/socks.el (socks-split-string): Use this rather than split-string.
13803 (socks-nslookup-host): Update for above change.
13804 (dynamic-choice, s5-dynamic-choice-match)
13805 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13806 Comment out unused code.
13807
13808 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13809 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13810 (gud-tooltip-echo-area): Make obsolete.
13811 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13812
13813 * progmodes/js.el (js--optimize-arglist): Declare.
13814
13815 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13816
13817 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13818 (ediff-window-C): Declare.
13819
13820 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13821 Tweak requires to silence compiler.
13822
13823 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13824 (he-search-string, he-tried-table, he-expand-list)
13825 (he-init-string, he-string-member, he-substitute-string)
13826 (he-reset-string): Declare.
13827
13828 * obsolete/options.el (list-options): Use custom-variable-p,
13829 rather than obsolete alias.
13830
13831 2013-05-23 Sam Steingold <sds@gnu.org>
13832
13833 * simple.el (shell-command-on-region): Pass the `replace' argument
13834 down to `call-process-region' to comply with the doc as reported on
13835 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13836
13837 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * emacs-lisp/smie.el (smie-indent-forward-token)
13840 (smie-indent-backward-token): Handle string tokens (bug#14381).
13841
13842 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13843
13844 * ielm.el (ielm-menu): New menu.
13845 (inferior-emacs-lisp-mode): Set comment-start.
13846
13847 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13848
13849 * textmodes/reftex.el (reftex-ref-style-toggle):
13850 Fix deactivate action.
13851
13852 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13853 Add cleveref macros.
13854
13855 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13856 Accept options for bibliography commands.
13857 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13858 Add addbibresource. Basic Biblatex support.
13859
13860 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13861
13862 * net/tramp-gvfs.el (top):
13863 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13864 when loading package. (Bug#14447)
13865
13866 2013-05-23 Glenn Morris <rgm@gnu.org>
13867
13868 * progmodes/js.el: No need to load comint when compiling.
13869 (ring-insert, comint-send-string, comint-send-input)
13870 (comint-last-input-end, ido-chop): Declare.
13871
13872 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13873 * vc/ediff-mult.el: Adjust requires.
13874 (ediff-directories-internal, ediff-directory-revisions-internal)
13875 (ediff-patch-file-internal): Declare.
13876 * vc/ediff-ptch.el: Adjust requires.
13877 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13878 (ediff-find-file): Autoload.
13879 * vc/ediff-util.el: No need to load ediff when compiling.
13880 (ediff-regions-internal): Declare.
13881 * vc/ediff-wind.el: Adjust requires.
13882 (ediff-compute-toolbar-width): Define when compiling.
13883 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13884 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13885 (dired-get-filename, dired-get-marked-files)
13886 (ediff-last-dir-patch, ediff-patch-default-directory)
13887 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13888 (ediff-patch-buffer-internal): Declare.
13889
13890 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13891 (ispell-process, ispell-buffer-local-words, lm-summary)
13892 (lm-section-start, lm-section-end): Declare.
13893 (checkdoc-ispell-init): Simplify.
13894
13895 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13896 (he-string-member, he-reset-string, he-substitute-string): Declare.
13897
13898 * eshell/em-ls.el: Adjust requires.
13899 (eshell-glob-regexp): Declare.
13900 * eshell/em-tramp.el: Adjust requires.
13901 (eshell-parse-command): Autoload.
13902 * eshell/em-xtra.el: Adjust requires.
13903 (eshell-parse-command): Autoload.
13904 * eshell/esh-ext.el: Adjust requires.
13905 (eshell-parse-command, eshell-close-handles): Autoload.
13906 * eshell/esh-io.el: Adjust requires.
13907 (eshell-output-filter): Autoload.
13908 * eshell/esh-util.el: No need to load tramp when compiling.
13909 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13910 Declare.
13911 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13912 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13913 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13914 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13915 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13916 * eshell/esh-opt.el, eshell/esh-proc.el:
13917 * eshell/esh-var.el: Adjust requires.
13918 * eshell/eshell.el: Do not require esh-util twice.
13919 (eshell-add-input-to-history): Declare.
13920 (eshell-command): Check history module is active before using it.
13921
13922 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13923
13924 2013-05-22 Leo Liu <sdl.web@gmail.com>
13925
13926 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13927
13928 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13929
13930 * autorevert.el (auto-revert-notify-add-watch)
13931 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13932 it indicates changes in file modification time.
13933
13934 2013-05-22 Glenn Morris <rgm@gnu.org>
13935
13936 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13937 Always delete the autoloaded function from the noruntime and
13938 unresolved functions lists.
13939
13940 * allout.el: No need to load epa, epg, overlay when compiling.
13941 (epg-context-set-passphrase-callback, epg-list-keys)
13942 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13943 (epg-key-user-id-list): Declare.
13944
13945 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13946 (viper-set-parsing-style-toggling-macro)
13947 (viper-set-emacs-state-searchstyle-macros):
13948 Use called-interactively-p on Emacs.
13949 (viper-looking-back): Make it an obsolete alias. Update callers.
13950 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13951 Use looking-back rather than viper-looking-back.
13952 (viper-tmp-insert-at-eob, viper-enlarge-region)
13953 (viper-read-string-with-history, viper-register-to-point)
13954 (viper-append-to-register, viper-change-state-to-vi)
13955 (viper-backward-char-carefully, viper-forward-char-carefully)
13956 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13957 (viper-change-state-to-emacs): Declare.
13958 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13959 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13960 * emulation/viper-mous.el: Do not load viper-cmd.
13961 (viper-backward-char-carefully, viper-forward-char-carefully)
13962 (viper-forward-word, viper-adjust-window): Declare.
13963
13964 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13965
13966 * progmodes/idlw-help.el (idlwave-help-fontify):
13967 Use called-interactively-p.
13968
13969 * term/w32console.el (w32-get-console-codepage)
13970 (w32-get-console-output-codepage): Declare.
13971
13972 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13973 Remove unnecessary declarations.
13974 (dframe-message): Doc fix.
13975
13976 * info.el (dframe-select-attached-frame, dframe-current-frame):
13977 Declare.
13978
13979 * speedbar.el (speedbar-message): Make it an obsolete alias.
13980 Update all callers.
13981 (speedbar-with-attached-buffer)
13982 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13983 (speedbar-with-writable): Use backquote.
13984 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13985 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13986 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13987 rather than speedbar- aliases.
13988 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13989 (speedbar-make-specialized-keymap, speedbar-insert-button)
13990 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13991 (speedbar-do-function-pointer): Declare.
13992 (rmail-speedbar-button, rmail-speedbar-find-file)
13993 (rmail-speedbar-move-message):
13994 Use dframe-with-attached-buffer rather than speedbar- alias.
13995 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13996 (dframe-message, speedbar-make-specialized-keymap)
13997 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13998 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13999 (speedbar-insert-button, dframe-select-attached-frame)
14000 (dframe-maybee-jump-to-attached-frame)
14001 (speedbar-change-initial-expansion-list)
14002 (speedbar-previously-used-expansion-list-name): Declare.
14003 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14004 Use dframe-message, dframe-with-attached-buffer rather than
14005 speedbar- aliases.
14006 (gud-sentinel): Silence compiler.
14007 * progmodes/vhdl-mode.el (speedbar-refresh)
14008 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14009 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14010 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14011 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14012 (speedbar-file-lists, speedbar-make-tag-line)
14013 (speedbar-line-directory, speedbar-goto-this-file)
14014 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14015 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14016 (speedbar-make-button, speedbar-reset-scanners)
14017 (speedbar-files-item-info, speedbar-line-text)
14018 (speedbar-find-file-in-frame, speedbar-set-timer)
14019 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14020 (speedbar-with-writable): Do not (re)define it.
14021 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14022 rather than speedbar- alias.
14023
14024 2013-05-21 Leo Liu <sdl.web@gmail.com>
14025
14026 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14027 menu items.
14028 (octave-mode): Tweak fill-nobreak-predicate.
14029 (inferior-octave-startup): Check process to avoid infinite loop.
14030 (inferior-octave): Pop to buffer first to show abornmal process
14031 exit information.
14032
14033 2013-05-21 Glenn Morris <rgm@gnu.org>
14034
14035 * printing.el (pr-menu-bar): Define when compiling.
14036
14037 2013-05-21 Leo Liu <sdl.web@gmail.com>
14038
14039 * progmodes/octave.el (octave-auto-fill): Remove.
14040 (octave-indent-new-comment-line): Improve.
14041 (octave-mode): Use auto fill mode through
14042 comment-line-break-function and fill-nobreak-predicate.
14043 (octave-goto-function-definition): Support DEFUN_DLD.
14044 (octave-beginning-of-defun): Small tweak.
14045 (octave-help): Show parent directory.
14046
14047 2013-05-21 Glenn Morris <rgm@gnu.org>
14048
14049 * files.el (dired-unmark):
14050 * progmodes/gud.el (gdb-input): Update declarations.
14051
14052 * calculator.el (electric, ehelp): No need to load when compiling.
14053 (Electric-command-loop, electric-describe-mode): Declare.
14054
14055 * doc-view.el (doc-view-current-converter-processes): Move before use.
14056
14057 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14058 Move MODE-set-explicitly definition before use.
14059
14060 * international/mule-diag.el (mule-diag):
14061 Don't use obsolete window-system-version.
14062
14063 * mail/feedmail.el (smtpmail): No need to load when compiling.
14064 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14065
14066 * mail/mail-utils.el (rfc822): No need to load when compiling.
14067 (rfc822-addresses): Autoload it.
14068 (mail-strip-quoted-names): Trivial simplification.
14069
14070 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14071 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14072
14073 * net/snmp-mode.el (tempo): Don't duplicate requires.
14074
14075 * progmodes/prolog.el (info): No need to load when compiling.
14076 (comint): Require before shell requires it.
14077 (Info-goto-node): Autoload it.
14078 (Info-follow-nearest-node): Declare.
14079 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14080
14081 * textmodes/artist.el (picture-mode-exit): Declare.
14082
14083 * textmodes/reftex-parse.el (reftex-parse-from-file):
14084 Trivial rewrite so the compiler can parse it better.
14085
14086 2013-05-20 Leo Liu <sdl.web@gmail.com>
14087
14088 * progmodes/octave.el (octave-help-mode-map)
14089 (octave-help-mode-finish-hook): New variables.
14090 (octave-help-mode, octave-help-mode-finish): New functions.
14091 (octave-help): Use octave-help-mode.
14092
14093 2013-05-20 Glenn Morris <rgm@gnu.org>
14094
14095 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14096
14097 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14098
14099 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14100 start at point, so that expansion starting right after opening
14101 slash in a regexp is recognized.
14102 (ruby-syntax-before-regexp-re): New defvar, extracted from
14103 ruby-syntax-propertize-function. Since the value of this regexp
14104 is looked up at runtime now, we should be able to turn
14105 `ruby-syntax-methods-before-regexp' into a defcustom later.
14106 (ruby-syntax-propertize-function): Split regexp matching into two
14107 parts, for opening and closing slashes. That allows us to skip
14108 over string interpolations and support multiline regexps.
14109 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14110 for them, which calls `ruby-syntax-propertize-expansion'.
14111 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14112 call to `ruby-syntax-propertize-function'.
14113 (ruby-syntax-propertize-expansion): Extracted from
14114 `ruby-syntax-propertize-expansions'. Handles one expansion.
14115 (ruby-syntax-propertize-percent-literal): Leave point right after
14116 the percent symbol, so that the expression expansion rule can
14117 propertize the contents.
14118 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14119 heredoc openers.
14120 (ruby-syntax-propertize-expansions): Remove.
14121
14122 2013-05-18 Juri Linkov <juri@jurta.org>
14123
14124 * man.el (Man-default-man-entry): Remove `-' from the end
14125 of the default value. (Bug#14400)
14126
14127 2013-05-18 Glenn Morris <rgm@gnu.org>
14128
14129 * comint.el (comint-password-prompt-regexp):
14130 Allow "password for XXX" where XXX contains colons (eg https://...).
14131
14132 2013-05-18 Leo Liu <sdl.web@gmail.com>
14133
14134 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14135 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14136 (octave-source-directories): Don't check process.
14137 (octave-source-directories, octave-find-definition): Doc fix.
14138
14139 2013-05-18 Glenn Morris <rgm@gnu.org>
14140
14141 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14142 Remove backspace/delete bindings. (Bug#14392)
14143
14144 * cus-dep.el (custom-make-dependencies): Sort the output.
14145 (custom-versions-load-alist): Convert comment to doc.
14146
14147 2013-05-17 Leo Liu <sdl.web@gmail.com>
14148
14149 * newcomment.el (comment-search-backward): Stricter in finding
14150 comment start. (Bug#14303)
14151
14152 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14153 (octave-comment-start-skip): Properly anchored.
14154
14155 2013-05-17 Leo Liu <sdl.web@gmail.com>
14156
14157 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14158 Clean up when turned off. (Bug#14395)
14159 (smie--highlight-matching-block-overlay): No longer buffer-local.
14160 (smie-highlight-matching-block): Adjust.
14161
14162 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14163
14164 Doc string fix for "nanoseconds" (Bug#14406).
14165 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14166 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14167
14168 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14169
14170 * calc/calc-units.el (math-extract-units): Preserve powers
14171 of units.
14172
14173 2013-05-17 Leo Liu <sdl.web@gmail.com>
14174
14175 * subr.el (delete-consecutive-dups): New function.
14176 * ido.el (ido-set-matches-1): Use it.
14177 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14178 * ido.el (ido-remove-consecutive-dups): Remove.
14179
14180 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14181
14182 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14183 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14184 regexp-opt's `words'.
14185
14186 2013-05-16 Leo Liu <sdl.web@gmail.com>
14187
14188 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14189 (smie--highlight-matching-block-overlay)
14190 (smie--highlight-matching-block-lastpos)
14191 (smie--highlight-matching-block-timer): New variables.
14192 (smie-highlight-matching-block): New function.
14193 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14194 (smie-setup): Conditionally enable smie-blink-matching-open.
14195
14196 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14197
14198 Sync with upstream verilog-mode r840.
14199 * progmodes/verilog-mode.el (verilog-mode-version)
14200 (verilog-mode-release-date): Update.
14201 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14202 (verilog-sig-tieoff): Fix string error on
14203 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14204 (verilog-read-decls): Fix parameters confusing
14205 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14206
14207 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14208
14209 * subr.el (reveal-filename): New function.
14210
14211 * loadup.el: Compute Emacs executable versions on MS-Windows,
14212 where executables have the .exe extension. Add a hard link
14213 emacs-XX.YY.ZZ.exe on MS-Windows.
14214
14215 * Makefile.in (XARGS_LIMIT): New variable.
14216 (custom-deps, finder-data, autoloads)
14217 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14218 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14219 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14220 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14221
14222 2013-05-16 Leo Liu <sdl.web@gmail.com>
14223
14224 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14225 (octave-mode-menu, octave-mode-map): Remove its uses.
14226
14227 2013-05-16 Reto Zimmermann <reto@gnu.org>
14228
14229 Sync with upstream vhdl mode v3.34.2.
14230 * progmodes/vhdl-mode.el: Use `push' throughout.
14231 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14232 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14233 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14234 (vhdl-actual-generic-name): New option to derive actual generic name.
14235 (vhdl-port-paste-signals): Replace formal by actual generics.
14236 (vhdl-beautify): New name for old group vhdl-align. Update users.
14237 (vhdl-beautify-options): New option.
14238 (vhdl-last-input-event): New compat alias. Use throughout.
14239 (vhdl-goto-line): Replace user level function `goto-line'.
14240 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14241 vhdl-fix-statement-buffer.
14242 (vhdl-create-mode-menu): Add some entries.
14243 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14244 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14245 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14246 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14247 to force statements on one line.
14248 (vhdl-remove-trailing-spaces-region):
14249 New, split from vhdl-remove-trailing-spaces.
14250 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14251 Respect vhdl-beautify-options.
14252 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14253 (vhdl-update-sensitivity-list): Not add with index if exists without.
14254 Not include array index with signal. Ignore keywords in comments.
14255 (vhdl-get-visible-signals): Regexp tweaks.
14256 (vhdl-template-component-inst): Handle empty library.
14257 (vhdl-template-type): Add template for 'enum' type.
14258 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14259 Use vhdl-replace-string.
14260 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14261 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14262 (vhdl-speedbar-initialize): Update for above name change.
14263 (vhdl-compose-wire-components): Fix in handling of constants.
14264 (vhdl-error-regexp-emacs-alist): New variable.
14265 (vhdl-error-regexp-add-emacs): New function;
14266 adds support for new compile.el (Emacs 22+)
14267 (vhdl-generate-makefile-1): Change target order for single lib. units.
14268 Allow use of absolute file names.
14269
14270 2013-05-16 Leo Liu <sdl.web@gmail.com>
14271
14272 * simple.el (prog-indent-sexp): Indent enclosing defun.
14273
14274 2013-05-15 Glenn Morris <rgm@gnu.org>
14275
14276 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14277 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14278 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14279 (whitespace-highlight): Move to whitespace group.
14280
14281 * comint.el (comint-source):
14282 * pcmpl-linux.el (pcmpl-linux):
14283 * shell.el (shell-faces):
14284 * eshell/esh-opt.el (eshell-opt):
14285 * international/ccl.el (ccl): Remove empty custom groups.
14286
14287 * completion.el (dynamic-completion-mode):
14288 * jit-lock.el (jit-lock-debug-mode):
14289 * minibuffer.el (completion-in-region-mode):
14290 * type-break.el (type-break-mode-line-message-mode)
14291 (type-break-query-mode):
14292 * emulation/tpu-edt.el (tpu-edt-mode):
14293 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14294 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14295 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14296
14297 * term/xterm.el (xterm): Change parent group to terminals.
14298
14299 * master.el (master): Remove empty custom group.
14300 (master-mode): Remove unused :group argument.
14301 * textmodes/refill.el (refill): Remove empty custom group.
14302 (refill-mode): Remove unused :group argument.
14303
14304 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14305
14306 * cus-dep.el: Provide a feature.
14307 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14308 Don't mistakenly ignore files whose basenames match a basename
14309 from preloaded-file-list (eg cedet/ede/simple.el).
14310 Add a fallback method for getting :group.
14311
14312 2013-05-15 Juri Linkov <juri@jurta.org>
14313
14314 * isearch.el (isearch-char-by-name): Rename from
14315 `isearch-insert-char-by-name'. Doc fix.
14316 (isearch-forward): Mention `isearch-char-by-name' in
14317 the docstring. (Bug#13348)
14318
14319 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14320 `exit-minibuffer' instead of
14321 `isearch-nonincremental-exit-minibuffer'.
14322 (isearch-edit-string): Remove mention of
14323 `isearch-nonincremental-exit-minibuffer' from docstring.
14324 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14325 (isearch-forward-exit-minibuffer)
14326 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14327
14328 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14329
14330 * loadup.el: Just use unversioned DOC.
14331
14332 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14333 literals as extending to EOB.
14334 (nxml-last-fontify-end): Remove unused variable.
14335 (nxml-after-change1): Use with-silent-modifications.
14336 (nxml-extend-after-change-region): Simplify.
14337 (nxml-extend-after-change-region1): Remove function.
14338 (nxml-after-change1): Don't adjust for dependent regions.
14339 (nxml-fontify-matcher): Simplify.
14340 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14341 (xmltok-add-dependent): Remove function.
14342 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14343 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14344 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14345 unclosed <[[, <?, comment, and other literals as extending to EOB.
14346 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14347 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14348 Remove functions.
14349 (rng-do-some-validation-1): Don't mark dependent regions.
14350 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14351 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14352 (nxml-clear-dependent-regions): Remove functions.
14353 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14354 (nxml-ensure-scan-up-to-date):
14355 Don't clear&mark dependent regions.
14356
14357 2013-05-15 Leo Liu <sdl.web@gmail.com>
14358
14359 * progmodes/octave.el (octave-goto-function-definition):
14360 Improve and fix callers.
14361
14362 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14365 the setter (bug#14387).
14366
14367 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14368 surrounding group (bug#14402).
14369
14370 2013-05-14 Juri Linkov <juri@jurta.org>
14371
14372 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14373 (Bug#14390)
14374
14375 2013-05-14 Glenn Morris <rgm@gnu.org>
14376
14377 * progmodes/f90.el (f90-imenu-generic-expression):
14378 Fix typo in 2013-05-08 change. (Bug#14402)
14379
14380 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14381
14382 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14383 Remove signals for which replies are never received.
14384
14385 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14386
14387 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14388 (gdb-handler-alist, gdb-handler-number): Remove variables.
14389 (gdb-handler-list): New variable.
14390 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14391 (gdb-pending-handler-p, gdb-handle-reply)
14392 (gdb-remove-all-pending-triggers): New functions.
14393 (gdb-discard-unordered-replies): New defcustom.
14394 (gdb-handler): New defstruct.
14395 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14396 instead of gdb-pending-triggers. Update docstring.
14397 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14398 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14399 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14400 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14401 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14402 (gdb-frame-handler): Pending triggers are now automatically managed.
14403 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14404 Remove argument.
14405 (gdb-input): Automatically handles pending triggers. Update docstring.
14406 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14407 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14408 Update comments.
14409 (gdb-done-or-error): Now use gdb-handle-reply.
14410
14411 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14412
14413 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14414 gdb-debug-log.
14415
14416 2013-05-14 Glenn Morris <rgm@gnu.org>
14417
14418 * subr.el (user-emacs-directory-warning): New option.
14419 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14420
14421 2013-05-14 Leo Liu <sdl.web@gmail.com>
14422
14423 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14424 during redisplay.
14425 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14426 (octave-font-lock-texinfo-comment): Fix invalid search bound
14427 error: wrong side of point.
14428
14429 2013-05-14 Glenn Morris <rgm@gnu.org>
14430
14431 * progmodes/flymake.el (flymake-xml-program): New option.
14432 (flymake-xml-init): Use it.
14433
14434 * term/xterm.el: Provide a feature.
14435
14436 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14437
14438 2013-05-13 Glenn Morris <rgm@gnu.org>
14439
14440 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14441 Add compat aliases as a hack workaround. (Bug#14384)
14442
14443 2013-05-13 Leo Liu <sdl.web@gmail.com>
14444
14445 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14446 ###, and %!.
14447 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14448 C-M-q.
14449 (octave-comment-start-skip): Include %!.
14450 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14451
14452 2013-05-12 Leo Liu <sdl.web@gmail.com>
14453
14454 * progmodes/octave.el (inferior-octave-startup): Store the value
14455 of __octave_srcdir__ for octave-source-directories.
14456 (inferior-octave-check-process): New function refactored out of
14457 inferior-octave-send-list-and-digest.
14458 (octave-source-directories)
14459 (octave-find-definition-filename-function): New variables.
14460 (octave-source-directories)
14461 (octave-find-definition-default-filename): New functions.
14462 (octave-find-definition): Improve to find functions implemented in C++.
14463
14464 2013-05-12 Glenn Morris <rgm@gnu.org>
14465
14466 * calendar/diary-lib.el (diary-outlook-format-1):
14467 Don't include dayname in the output. (Bug#14349)
14468
14469 2013-05-11 Glenn Morris <rgm@gnu.org>
14470
14471 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14472
14473 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14474 Treat cc-provide like provide.
14475
14476 2013-05-11 Kevin Ryde <user42@zip.com.au>
14477
14478 * cus-dep.el (custom-make-dependencies):
14479 Use generated-autoload-load-name for the sake of files such
14480 such cedet/semantic/bovine/c.el, where the base file name
14481 is not in load-path. (Bug#5277)
14482
14483 2013-05-11 Glenn Morris <rgm@gnu.org>
14484
14485 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14486 Provide features.
14487
14488 2013-05-11 Leo Liu <sdl.web@gmail.com>
14489
14490 * progmodes/octave.el (octave-indent-comment): Improve.
14491 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14492 (octave-eldoc-function-signatures, octave-eldoc-function):
14493 New functions.
14494 (octave-mode, inferior-octave-mode): Add eldoc support.
14495
14496 2013-05-11 Richard Stallman <rms@gnu.org>
14497
14498 * epa.el (epa-decrypt-file): Take output file name as argument
14499 and read it using `interactive'.
14500
14501 2013-05-11 Leo Liu <sdl.web@gmail.com>
14502
14503 * progmodes/octave.el (octave-beginning-of-line)
14504 (octave-end-of-line): Check before using up-list because it jumps
14505 out of more syntactic contructs since moving to smie.
14506 (octave-indent-comment): New function.
14507 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14508 (octave-begin-keywords, octave-end-keywords)
14509 (octave-reserved-words, octave-smie-bnf-table)
14510 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14511
14512 2013-05-11 Glenn Morris <rgm@gnu.org>
14513
14514 * faces.el (internal-face-x-get-resource):
14515 * frame.el (ns-display-monitor-attributes-list):
14516 * calc/calc-aent.el (math-to-radians-2):
14517 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14518 Fix declarations.
14519
14520 * calc/calc-menu.el: Make it loadable in isolation.
14521
14522 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14523 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14524 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14525 (eudc-bbdb-query-internal): Require 'bbdb.
14526
14527 * lpr.el (lpr-headers-switches):
14528 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14529
14530 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14531
14532 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14533
14534 * term.el (term-set-escape-char): Make it idempotent.
14535
14536 2013-05-10 Leo Liu <sdl.web@gmail.com>
14537
14538 * progmodes/octave.el (inferior-octave-completion-table):
14539 No longer a function and all uses changed. Use cache to speed up
14540 completion due to bug#11906.
14541 (octave-beginning-of-defun): Re-write to be more general.
14542
14543 2013-05-10 Glenn Morris <rgm@gnu.org>
14544
14545 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14546
14547 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14548
14549 * comint.el (comint-redirect-send-command-to-process): Use :around
14550 rather than :override for comint-redirect-filter.
14551 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14552 Call it instead of comint-redirect-original-filter-function (which
14553 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14554
14555 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14556
14557 * frame.el (display-monitor-attributes-list): Add NS case.
14558 (ns-display-monitor-attributes-list): Declare.
14559
14560 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14561
14562 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14563
14564 2013-05-09 Glenn Morris <rgm@gnu.org>
14565
14566 * international/fontset.el (vertical-centering-font-regexp):
14567 Set standard-value.
14568
14569 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14570
14571 * bookmark.el (bookmark-search-delay):
14572 * cus-start.el (vertical-centering-font-regexp):
14573 * ps-mule.el (ps-mule-font-info-database-default):
14574 * ps-print.el (ps-default-fg, ps-default-bg):
14575 * type-break.el (type-break-good-break-interval):
14576 * whitespace.el (whitespace-indentation-regexp)
14577 (whitespace-space-after-tab-regexp):
14578 * emacs-lisp/testcover.el (testcover-1value-functions)
14579 (testcover-noreturn-functions, testcover-progn-functions)
14580 (testcover-prog1-functions):
14581 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14582 * eshell/em-glob.el (eshell-glob-translate-alist):
14583 * play/tetris.el (tetris-tty-colors):
14584 * progmodes/cpp.el (cpp-face-default-list):
14585 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14586 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14587 (idlwave-help-browser-generic-args):
14588 * progmodes/make-mode.el (makefile-special-targets-list):
14589 * progmodes/python.el (python-shell-virtualenv-path):
14590 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14591 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14592 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14593 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14594 * textmodes/reftex-vars.el (reftex-format-label-function):
14595 * textmodes/remember.el (remember-diary-file): Fix custom types.
14596
14597 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14598 Add :version.
14599
14600 2013-05-09 Leo Liu <sdl.web@gmail.com>
14601
14602 * progmodes/octave.el (inferior-octave-completion-at-point):
14603 Restore file completion. (Bug#14300)
14604 (inferior-octave-startup): Fix incorrect highlighting for the
14605 first prompt.
14606
14607 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * progmodes/ruby-mode.el: First cut at SMIE support.
14610 (ruby-use-smie): New var.
14611 (ruby-smie-grammar): New constant.
14612 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14613 (ruby-smie--forward-token, ruby-smie--backward-token)
14614 (ruby-smie-rules): New functions.
14615 (ruby-mode-variables): Setup SMIE if applicable.
14616
14617 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14618
14619 * simple.el (line-move-visual): Signal beginning/end of buffer
14620 only if vertical-motion moved less than it was requested. Avoids
14621 silly incorrect error messages when there are display strings with
14622 multiple newlines at EOL.
14623
14624 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14625
14626 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14627 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14628 (prolog-char-quote-workaround):
14629 * progmodes/cperl-mode.el (cperl-under-as-char):
14630 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14631 Mark as obsolete.
14632 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14633 their declaration.
14634 (vhdl-mode-syntax-table-init): Remove.
14635
14636 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14637 last change.
14638
14639 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14640 syntax for "_".
14641 (ld-script-font-lock-keywords):
14642 Change regexps to use things like \_< and \_>.
14643
14644 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14645 Change all regexps to use things like \_< and \_>.
14646
14647 * progmodes/autoconf.el (autoconf-definition-regexp)
14648 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14649 Handle a _ with symbol syntax.
14650 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14651
14652 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14653 Consolidate declaration.
14654 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14655 the declaration.
14656 (ada-create-syntax-table): Remove.
14657 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14658 already has the right syntax nowadays.
14659 (ada-goto-next-word): Don't change the syntax of "_".
14660
14661 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14662 with-wrapper-hook.
14663
14664 2013-05-08 Sam Steingold <sds@gnu.org>
14665
14666 * thingatpt.el (thing-at-point): Accept optional second argument
14667 NO-PROPERTIES to strip the text properties from the return value.
14668 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14669 to `thing-at-point' instead of stripping the properties ourselves.
14670 Also, when `thing-at-point' fails to find a url, prepend "http://"
14671 to the filename at point on the assumption that the user is
14672 pointing at something like gnu.org/gnu.
14673
14674 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14675
14676 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14677 * faces.el (crm-separator):
14678 Silence byte-compiler.
14679
14680 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14681 (tool-bar-map): Remove unneeded defvars.
14682
14683 2013-05-08 Leo Liu <sdl.web@gmail.com>
14684
14685 Re-work a fix for bug#10994 based on Le Wang's patch.
14686 * ido.el (ido-remove-consecutive-dups): New helper.
14687 (ido-completing-read): Use it.
14688 (ido-chop): Revert fix for bug#10994.
14689
14690 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14691
14692 * cus-edit.el (custom-save-variables):
14693 Pretty-print long values. (Bug#14187)
14694
14695 2013-05-08 Glenn Morris <rgm@gnu.org>
14696
14697 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14698 (m4-mode-syntax-table): Init in the defvar.
14699 (m4-mode-abbrev-table): Let define-derived-mode define it.
14700
14701 2013-05-08 Tom Tromey <tromey@redhat.com>
14702
14703 * progmodes/m4-mode.el (m4-mode-syntax-table):
14704 Do not treat "_" as word constituent. (Bug#14167)
14705
14706 2013-05-07 Glenn Morris <rgm@gnu.org>
14707
14708 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14709 Remove explicit eshell-isearch-cancel-map.
14710
14711 * progmodes/f90.el (f90-smart-end-names): New option.
14712 (f90-smart-end): Doc fix.
14713 (f90-end-block-optional-name): New constant.
14714 (f90-block-match): Respect f90-smart-end-names.
14715
14716 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14719 about implicit semi-colons (bug#14218).
14720
14721 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14722
14723 * frame.el (display-monitor-attributes-list)
14724 (frame-monitor-attributes): New functions.
14725
14726 2013-05-06 Leo Liu <sdl.web@gmail.com>
14727
14728 * progmodes/octave.el (octave-syntax-propertize-function): Change
14729 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14730 (octave-font-lock-keywords): Use octave-operator-regexp.
14731 (octave-completion-at-point): Rename from
14732 octave-completion-at-point-function.
14733 (inferior-octave-directory-tracker): Robustify.
14734 (octave-text-functions): Remove and fix its uses. No such things
14735 any more.
14736
14737 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14738
14739 * emacs-lisp/trace.el (trace--display-buffer): New function.
14740 (trace-make-advice): Use it.
14741
14742 2013-05-06 Juri Linkov <juri@jurta.org>
14743
14744 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14745 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14746 Doc fix.
14747 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14748 in the help string. (Bug#12985)
14749
14750 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14751
14752 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14753
14754 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14755
14756 * progmodes/perl-mode.el: Add support for here documents.
14757 (perl-syntax-propertize-function): Match here-doc markers.
14758 (perl-syntax-propertize-special-constructs): Find their end.
14759 (perl-imenu-generic-expression): Use [:alnum:].
14760
14761 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14762 (advice--add-function): Refresh the advice if already present
14763 (bug#14317).
14764
14765 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14766
14767 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14768
14769 2013-05-06 Glenn Morris <rgm@gnu.org>
14770
14771 * w32-fns.el (w32-charset-info-alist): Declare.
14772
14773 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14774 of its defcustom properties.
14775 (eshell-cmpl-initialize): No need to load pcomplete.
14776
14777 * generic-x.el: No need to require comint when compiling.
14778
14779 * net/eudc-export.el: Make it loadable without bbdb.
14780 (top-level): Use require rather than load-library.
14781 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14782 (eudc-batch-export-records-to-bbdb)
14783 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14784 Require bbdb.
14785
14786 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14787
14788 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14789 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14790 some tweaks, instead.
14791
14792 2013-05-05 Leo Liu <sdl.web@gmail.com>
14793
14794 * progmodes/octave.el (octave-font-lock-keywords)
14795 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14796 (inferior-octave-send-list-and-digest): Improve error message.
14797 (octave-mode, inferior-octave-mode): Use setq-local.
14798 (octave-help): Set info-lookup-mode.
14799
14800 2013-05-05 Richard Stallman <rms@gnu.org>
14801
14802 * vc/compare-w.el (compare-windows-whitespace):
14803 Treat no-break space as whitespace.
14804
14805 * mail/rmailsum.el (rmail-summary-rmail-update):
14806 Detect empty summary and don't change selected message.
14807 (rmail-summary-goto-msg): Likewise.
14808
14809 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14810 Doc fixes, rename args.
14811
14812 2013-05-05 Alan Mackenzie <acm@muc.de>
14813
14814 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14815
14816 2013-05-05 Juri Linkov <juri@jurta.org>
14817
14818 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14819 to not add the length of the summary segment to the return value.
14820 (Bug#14125)
14821
14822 2013-05-05 Leo Liu <sdl.web@gmail.com>
14823
14824 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14825 (inferior-octave-output-filter): Remove.
14826 (octave-send-region, inferior-octave-startup): Fix callers.
14827 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14828 (octave-binary-file-extensions): New user variable.
14829 (octave-find-definition): Confirm if opening binary files.
14830 (octave-help-file): Use octave-find-definition to get the binary
14831 confirmation.
14832 (octave-help): Adjust for octave-help-file change.
14833
14834 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14835
14836 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14837 Merge the two entries that handle function definitions.
14838 (pascal--syntax-propertize): New const.
14839 (pascal-mode): Use it. Use setq-local.
14840
14841 2013-05-04 Glenn Morris <rgm@gnu.org>
14842
14843 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14844 (diary-from-outlook): Respect diary-from-outlook-function.
14845
14846 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14847
14848 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14849 Move the declaration from C.
14850 (read-minibuffer, eval-minibuffer): Move from C.
14851 (completion-setup-function): Avoid minibuffer-completion-contents.
14852
14853 2013-05-03 Leo Liu <sdl.web@gmail.com>
14854
14855 * progmodes/octave.el (octave-font-lock-keywords): Do not
14856 dehighlight 'end' in comments or strings.
14857 (octave-completing-read, octave-goto-function-definition):
14858 New helpers.
14859 (octave-help-buffer): New user variable.
14860 (octave-help-file, octave-help-function): New button types.
14861 (octave-help): New command and bind it to C-h ;.
14862 (octave-find-definition): New command and bind it to M-.
14863 (user-error): Alias to error if not defined.
14864
14865 2013-05-02 Leo Liu <sdl.web@gmail.com>
14866
14867 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14868 for \. (bug#14332)
14869 (octave-font-lock-keywords): Include [ and {.
14870
14871 2013-05-02 Leo Liu <sdl.web@gmail.com>
14872
14873 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14874 (inferior-octave): Remove calling comint-mode and return the buffer.
14875 (inferior-octave-startup): Cosmetic changes.
14876
14877 2013-05-02 Leo Liu <sdl.web@gmail.com>
14878
14879 * progmodes/octave.el (octave-syntax-propertize-function):
14880 Include the case when ' is at line beginning. (Bug#14336)
14881
14882 2013-05-02 Glenn Morris <rgm@gnu.org>
14883
14884 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14885 * desktop.el (vc-dir-mode): Just autoload it here.
14886
14887 2013-05-02 Alan Mackenzie <acm@muc.de>
14888
14889 Eliminate variable c-standard-font-lock-fontify-region-function.
14890 * progmodes/cc-mode.el
14891 (c-standard-font-lock-fontify-region-function): Remove.
14892 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14893
14894 2013-05-01 Leo Liu <sdl.web@gmail.com>
14895
14896 * progmodes/octave.el: Compatible with older emacs-24 releases.
14897 (inferior-octave-has-built-in-variables): Remove. Built-in
14898 variables were removed from Octave in 2007.
14899 (inferior-octave-startup): Fix uses.
14900 (comint-line-beginning-position): Remove compatibility code for
14901 emacs 21.
14902
14903 2013-05-01 Juri Linkov <juri@jurta.org>
14904
14905 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14906
14907 2013-05-01 Juri Linkov <juri@jurta.org>
14908
14909 * comint.el (comint-previous-matching-input): Don't print message
14910 "History item: %d" when `isearch-mode' is active.
14911 (comint-history-isearch-message): Print message "History item: %d"
14912 when `comint-input-ring-index' is not empty and this function is
14913 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14914
14915 2013-05-01 Leo Liu <sdl.web@gmail.com>
14916
14917 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14918 definitions. Use completion-at-point to insert keywords.
14919 (octave-abbrev-start): Remove.
14920 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14921
14922 2013-04-30 Leo Liu <sdl.web@gmail.com>
14923
14924 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14925 change.
14926
14927 2013-04-30 Alan Mackenzie <acm@muc.de>
14928
14929 Handle arbitrarily long C++ member initialisation lists.
14930 * progmodes/cc-engine.el (c-back-over-member-initializers):
14931 new function.
14932 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14933 (most) member init lists.
14934
14935 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14936
14937 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14938 variable.
14939
14940 2013-04-30 Leo Liu <sdl.web@gmail.com>
14941
14942 * progmodes/octave.el (octave-variables): Remove. No builtin
14943 variables any more. All converted to functions.
14944 (octave-font-lock-keywords, octave-completion-at-point-function):
14945 Fix uses.
14946 (octave-font-lock-texinfo-comment): New user variable.
14947 (octave-texinfo-font-lock-keywords): New variable for texinfo
14948 comment block.
14949 (octave-function-comment-block): New face.
14950 (octave-font-lock-texinfo-comment): New function.
14951 (octave-mode): Font lock texinfo comment block.
14952
14953 2013-04-29 Leo Liu <sdl.web@gmail.com>
14954
14955 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14956 indexing expression.
14957 (octave-continuation-string): Do not use \.
14958 (inferior-octave-complete-impossible): Remove.
14959 (inferior-octave-completion-table)
14960 (inferior-octave-completion-at-point): Remove its uses.
14961 (inferior-octave-startup): completion_matches was introduced to
14962 Octave in 1996 so safe to assume it.
14963 (octave-function-file-comment): Improve to follow how Octave does it.
14964 (octave-update-function-file-comment): Tweak.
14965
14966 2013-04-29 Leo Liu <sdl.web@gmail.com>
14967
14968 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14969 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14970 (octave-function-file-comment): Fix typo.
14971 (octave-sync-function-file-names): Use read-char-choice.
14972
14973 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14974
14975 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14976 to t for the less important warnings.
14977
14978 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14979
14980 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14981
14982 2013-04-27 Glenn Morris <rgm@gnu.org>
14983
14984 * vc/log-view.el (log-view-current-entry):
14985 Treat "---" separator lines as part of the following rev. (Bug#14169)
14986
14987 2013-04-27 Juri Linkov <juri@jurta.org>
14988
14989 * subr.el (read-number): Doc fix about using it by interactive
14990 code letter `n'. (Bug#14254)
14991
14992 2013-04-27 Juri Linkov <juri@jurta.org>
14993
14994 * desktop.el (desktop-auto-save-timeout): New option.
14995 (desktop-file-checksum): New variable.
14996 (desktop-save): Add optional arg `auto-save' and don't auto-save
14997 if nothing changed.
14998 (desktop-auto-save-timer): New variable.
14999 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15000 (after-init-hook): Call `desktop-auto-save-set-timer'.
15001 Suggested by Reuben Thomas <rrt@sc3d.org> in
15002 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15003
15004 2013-04-27 Leo Liu <sdl.web@gmail.com>
15005
15006 * progmodes/octave.el (octave-function-file-p)
15007 (octave-skip-comment-forward, octave-function-file-comment)
15008 (octave-update-function-file-comment): New functions.
15009 (octave-mode-map): Bind C-c ; to
15010 octave-update-function-file-comment.
15011 (octave-mode-menu): Add octave-update-function-file-comment.
15012 (octave-mode, inferior-octave-mode): Fix doc-string.
15013 (octave-insert-defun): Conform to Octave's coding convention.
15014 (Bug#14285)
15015
15016 * files.el (basic-save-buffer): Don't let errors in
15017 before-save-hook prevent saving buffer.
15018
15019 2013-04-20 Roland Winkler <winkler@gnu.org>
15020
15021 * faces.el (read-face-name): Use completing-read if arg multiple
15022 is nil.
15023
15024 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15025
15026 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15027 displayed, move point to after the totals line.
15028 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15029 for the details.
15030
15031 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15032
15033 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15034 Add current dir to the load-path.
15035 (package-generate-autoloads): Don't rely on
15036 autoload-ensure-default-file.
15037
15038 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15039
15040 * textmodes/remember.el (remember-store-in-files): Document that
15041 the file name format is passed to `format-time-string'.
15042
15043 2013-04-26 Leo Liu <sdl.web@gmail.com>
15044
15045 * progmodes/octave.el (octave-sync-function-file-names): New function.
15046 (octave-mode): Use it in before-save-hook.
15047
15048 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15049
15050 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15051 (bug#14274).
15052
15053 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15054 \n and comment, even if it's not an implicit ; (bug#14218).
15055
15056 2013-04-26 Glenn Morris <rgm@gnu.org>
15057
15058 * subr.el (read-number): Once more use `read' rather than
15059 `string-to-number', to trap non-numeric input. (Bug#14254)
15060
15061 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15062
15063 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15064 Use `syntax-multiline' text property consistently instead of
15065 `font-lock-multiline'. (Bug#14237)
15066
15067 2013-04-26 Glenn Morris <rgm@gnu.org>
15068
15069 * emacs-lisp/shadow.el (list-load-path-shadows):
15070 No longer necessary to check for duplicate simple.el, since
15071 2012-07-07 change to init_lread to not include installation lisp
15072 directories in load-path when running uninstalled. (Bug#14270)
15073
15074 2013-04-26 Leo Liu <sdl.web@gmail.com>
15075
15076 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15077 (octave-mode, inferior-octave-mode): Use setq-local.
15078 (octave-not-in-string-or-comment-p): Rename to
15079 octave-in-string-or-comment-p.
15080 (octave-in-comment-p, octave-in-string-p)
15081 (octave-in-string-or-comment-p): Replace defsubst with defun.
15082
15083 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15084
15085 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15086
15087 2013-04-25 Bastien Guerry <bzg@gnu.org>
15088
15089 * textmodes/remember.el (remember-data-directory)
15090 (remember-directory-file-name-format): Fix custom types.
15091
15092 2013-04-25 Leo Liu <sdl.web@gmail.com>
15093
15094 * progmodes/octave.el (octave-completion-at-point-function):
15095 Make use of inferior octave process.
15096 (octave-initialize-completions): Remove.
15097 (inferior-octave-completion-table): New function.
15098 (inferior-octave-completion-at-point): Use it.
15099 (octave-completion-alist): Remove.
15100
15101 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15102
15103 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15104 (opascal-mode-syntax-table): New var.
15105 (opascal-literal-kind, opascal-is-literal-end)
15106 (opascal-literal-token-at): Rewrite.
15107 (opascal--literal-start-re, opascal-font-lock-keywords)
15108 (opascal--syntax-propertize): New constants.
15109 (opascal-font-lock-defaults): Adjust.
15110 (opascal-mode): Use them. Set comment-<foo> variables as well.
15111 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15112 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15113 (delphi-other-face, opascal-other-face): Remove face variables.
15114 (opascal-save-state): Remove macro.
15115 (opascal-fontifying-progress-step): Remove constant.
15116 (opascal--ignore-changes): Remove var.
15117 (opascal-set-token-property, opascal-parse-next-literal)
15118 (opascal-is-stable-literal, opascal-complete-literal)
15119 (opascal-is-literal-start, opascal-face-of)
15120 (opascal-parse-region, opascal-parse-region-until-stable)
15121 (opascal-fontify-region, opascal-after-change)
15122 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15123 (opascal-debug-parse-region, opascal-debug-parse-window)
15124 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15125 (opascal-debug-fontify-buffer): Remove.
15126 (opascal-debug-mode-map): Adjust accordingly.
15127
15128 2013-04-25 Leo Liu <sdl.web@gmail.com>
15129
15130 Merge octave-mod.el and octave-inf.el into octave.el with some
15131 cleanups.
15132 * progmodes/octave.el: New file renamed from octave-mod.el.
15133 * progmodes/octave-inf.el: Merged into octave.el.
15134 * progmodes/octave-mod.el: Renamed to octave.el.
15135
15136 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15137
15138 * textmodes/reftex-vars.el
15139 (reftex-label-ignored-macros-and-environments): New defcustom.
15140
15141 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15142
15143 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15144
15145 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15146 (smie-indent-keyword): Improve the check to ensure that the next
15147 comment is really on the same line.
15148 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15149
15150 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15151 semi-colons if the line is not otherwise empty (bug#14218).
15152
15153 2013-04-25 Glenn Morris <rgm@gnu.org>
15154
15155 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15156
15157 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * progmodes/opascal.el (opascal-set-token-property): Rename from
15160 opascal-set-text-properties and only set `token' (bug#14134).
15161 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15162 (opascal-literal-text-properties): Remove.
15163 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15164 Adjust callers.
15165
15166 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15167
15168 * textmodes/remember.el (remember-handler-functions): Add an
15169 option for a new handler `remember-store-in-files'.
15170 (remember-data-directory, remember-directory-file-name-format):
15171 New options.
15172 (remember-store-in-files): New function to store remember notes
15173 as separate files within a directory.
15174
15175 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15176
15177 * progmodes/compile.el (compilation-next-error-function):
15178 Pass "formats" to compilation-find-file (bug#11777).
15179
15180 2013-04-24 Glenn Morris <rgm@gnu.org>
15181
15182 * vc/vc-bzr.el (vc-bzr-print-log):
15183 * vc/vc-hg.el (vc-hg-print-log):
15184 * vc/vc-svn.el (vc-svn-print-log):
15185 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15186
15187 * vc/vc-bzr.el (vc-bzr-print-log):
15188 * vc/vc-cvs.el (vc-cvs-print-log):
15189 * vc/vc-git.el (vc-git-print-log):
15190 * vc/vc-hg.el (vc-hg-print-log):
15191 * vc/vc-mtn.el (vc-mtn-print-log):
15192 * vc/vc-rcs.el (vc-rcs-print-log):
15193 * vc/vc-sccs.el (vc-sccs-print-log):
15194 * vc/vc-svn.el (vc-svn-print-log):
15195 * vc/vc.el (vc-print-log-internal): Doc fixes.
15196
15197 2013-04-23 Glenn Morris <rgm@gnu.org>
15198
15199 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15200 Remove venerable code attempting to avoid substitute-command-keys.
15201
15202 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15203
15204 * textmodes/reftex-vars.el (reftex-label-regexps):
15205 Call `reftex-compile-variables' after changes to this variable.
15206
15207 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15208
15209 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15210 Use lexical-binding.
15211 (jit-lock-force-redisplay): Use markers, check buffer's continued
15212 existence and beware narrowed buffers.
15213 (jit-lock-fontify-now): Adjust call accordingly.
15214
15215 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15216
15217 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15218 to avoid misleading the user.
15219
15220 2013-04-22 Leo Liu <sdl.web@gmail.com>
15221
15222 * info-look.el: Prefer latex2e.info. (Bug#14240)
15223
15224 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15225
15226 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15227
15228 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15229 * net/tramp.el (tramp-call-process): ... here.
15230 (tramp-set-completion-function, tramp-parse-putty):
15231 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15232 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15233 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15234 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15235 (tramp-call-local-coding-command): Use `tramp-call-process'
15236 instead of `tramp-compat-call-process'.
15237
15238 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15239 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15240 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15241 (tramp-find-inline-compress): Improve traces.
15242 (tramp-maybe-send-script): Check for Perl binary.
15243 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15244
15245 2013-04-22 Daiki Ueno <ueno@gnu.org>
15246
15247 * epg.el (epg-context-pinentry-mode): New function.
15248 (epg-context-set-pinentry-mode): New function.
15249 (epg--start): Pass --pinentry-mode option to gpg command.
15250
15251 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15252
15253 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15254 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15255 `completion-at-point'. (Bug#13774)
15256
15257 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15258 default key binding for `describe-distribution' has been moved to
15259 `C-h C-o'. (Bug#13970)
15260
15261 2013-04-21 Glenn Morris <rgm@gnu.org>
15262
15263 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15264 Add doc strings.
15265 (vc-print-log): Clarify interactive prompt.
15266
15267 2013-04-20 Glenn Morris <rgm@gnu.org>
15268
15269 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15270 No longer include timestamp etc information.
15271
15272 2013-04-20 Roland Winkler <winkler@gnu.org>
15273
15274 * faces.el (read-face-name): Bug fix, return just one face if arg
15275 multiple is nil. (Bug#14209)
15276
15277 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15278
15279 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15280 (remove-function): Autoload.
15281
15282 * comint.el (comint-redirect-original-filter-function): Remove.
15283 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15284 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15285 (vc-cvs-annotate-command):
15286 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15287 * progmodes/prolog.el (prolog-consult-compile):
15288 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15289 Use add/remove-function instead.
15290 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15291 (gud-tooltip-process-output, gud-tooltip-tips):
15292 Use add/remove-function instead.
15293 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15294 (scheme-interaction-mode, exit-scheme-interaction-mode):
15295 Use add/remove-function instead.
15296
15297 * vc/vc-dispatcher.el: Use lexical-binding.
15298 (vc--process-sentinel): Rename from vc-process-sentinel.
15299 Change last arg to be the code to run. Don't use vc-previous-sentinel
15300 and vc-sentinel-commands any more.
15301 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15302 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15303
15304 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15305
15306 * progmodes/sh-script.el (sh-imenu-generic-expression):
15307 Handle function names with a single character. (Bug#14111)
15308
15309 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15310
15311 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15312 for subroutines defined in an eval (bug#14182).
15313
15314 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15315
15316 * bookmark.el (bookmark-completing-read): Improve handling of empty
15317 string (bug#14176).
15318
15319 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15322
15323 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15324
15325 New faster Imenu implementation (bug#14058).
15326 * progmodes/python.el (python-imenu-prev-index-position)
15327 (python-imenu-format-item-label-function)
15328 (python-imenu-format-parent-item-label-function)
15329 (python-imenu-format-parent-item-jump-label-function):
15330 New vars.
15331 (python-imenu-format-item-label)
15332 (python-imenu-format-parent-item-label)
15333 (python-imenu-format-parent-item-jump-label)
15334 (python-imenu--put-parent, python-imenu--build-tree)
15335 (python-imenu-create-index, python-imenu-create-flat-index)
15336 (python-util-popn): New functions.
15337 (python-mode): Set imenu-create-index-function to
15338 python-imenu-create-index.
15339
15340 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * winner.el (winner-active-region): Use region-active-p, activate-mark
15343 and deactivate-mark (bug#14225).
15344
15345 * simple.el (deactivate-mark): Don't inline it.
15346
15347 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15348
15349 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15350
15351 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15352
15353 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15354 file extensions from the archive-mode entry in order to prefer
15355 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15356
15357 2013-04-18 Leo Liu <sdl.web@gmail.com>
15358
15359 * bindings.el (help-event-list): Add ?\?.
15360
15361 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * subr.el (with-wrapper-hook): Declare obsolete.
15364 * simple.el (filter-buffer-substring-function): New hook.
15365 (filter-buffer-substring): Use it.
15366 (filter-buffer-substring-functions): Mark obsolete.
15367 * minibuffer.el (completion-in-region-function): New hook.
15368 (completion-in-region): Use it.
15369 (completion-in-region-functions): Mark obsolete.
15370 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15371 * abbrev.el (abbrev-expand-function): New hook.
15372 (expand-abbrev): Use it.
15373 (abbrev-expand-functions): Mark obsolete.
15374 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15375 and :filter-return.
15376
15377 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15378
15379 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15380 and do not care about match data.
15381
15382 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15383
15384 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15385 completion tables when completing error conditions and
15386 `declare' arguments.
15387 (lisp-complete-symbol, field-complete): Mark as obsolete.
15388 (check-parens): Unmatched parens are user errors.
15389 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15390
15391 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15392
15393 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15394 command changed buffer (ie. `flyspell-pre-buffer' is not current
15395 buffer), which prevents making decisions based on invalid value of
15396 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15397 cause an error when `flyspell-pre-point' was nil after switching
15398 buffers.
15399 (flyspell-post-command-hook): No longer needs to change buffers when
15400 checking pre-word. While at it remove unnecessary progn.
15401
15402 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15403
15404 * textmodes/ispell.el (ispell-add-per-file-word-list):
15405 Fix `flyspell-correct-word-before-point' error when accepting
15406 words and `coment-padding' is an integer by using
15407 `comment-normalize-vars' (Bug #14214).
15408
15409 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15410
15411 New defun movement commands.
15412 * progmodes/python.el (python-nav--syntactically)
15413 (python-nav--forward-defun, python-nav-backward-defun)
15414 (python-nav-forward-defun): New functions.
15415
15416 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15417
15418 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15419 (python-syntax-context): Use named compiler-macro for backwards
15420 compatibility with Emacs 24.x.
15421
15422 2013-04-17 Leo Liu <sdl.web@gmail.com>
15423
15424 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15425 octave-hide-process-buffer.
15426
15427 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15428
15429 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15430 (bug#14216).
15431
15432 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15433
15434 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15435 Fix adjustment of offset when receiving incomplete responses from GDB
15436 (bug#14129).
15437
15438 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15439
15440 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15441 python-mode-abbrev-table.
15442 (python-skeleton-define): Adjust accordingly.
15443 (python-mode-abbrev-table): New table that inherits from it so that
15444 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15445
15446 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15447 (abbrev-symbol): Use it.
15448 (abbrev--before-point): Use it since we already handle inheritance.
15449
15450 2013-04-16 Leo Liu <sdl.web@gmail.com>
15451
15452 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15453 binding to info-lookup-symbol.
15454
15455 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15456
15457 * minibuffer.el (completion--twq-all):
15458 * term/ns-win.el (ns-initialize-window-system):
15459 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15460
15461 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15464 global bindings.
15465
15466 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15467
15468 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15469
15470 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15471 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15472 to nil.
15473 (ruby-end-of-defun): Remove the unused arg, change the docstring
15474 to reflect that this function is only used as the value of
15475 `end-of-defun-function'.
15476 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15477 to reflect an earlier change that beginning/end-of-defun functions
15478 jump between methods in a class definition, as well as top-level
15479 functions.
15480
15481 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15482
15483 * minibuffer.el (minibuffer-complete): Don't just scroll
15484 a *Completions* that's been iconified.
15485 (minibuffer-force-complete): Make sure repetitions do cycle when going
15486 through completion-in-region -> minibuffer-complete.
15487
15488 2013-04-15 Alan Mackenzie <acm@muc.de>
15489
15490 Correct the placement of c-cpp-delimiters when there're #s not at
15491 col 0.
15492
15493 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15494 place a submatch around the #.
15495 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15496 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15497 on the #, not BOL.
15498
15499 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15500
15501 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15502 (advice--member-p): New arg `name'.
15503 (advice--add-function, advice-member-p): Use it (bug#14202).
15504
15505 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15506
15507 Reformulate java imenu-generic-expression.
15508 The old expression contained ill formed regexps.
15509
15510 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15511 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15512 (cc-imenu-java-method-arg-regexp): New defconsts.
15513 (cc-imenu-java-build-type-args-regex): New defun.
15514 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15515 handling of spaces in the regexp.
15516
15517 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15518
15519 * textmodes/ispell.el (ispell-command-loop): Remove
15520 flyspell highlight of a word when ispell accepts it (bug #14178).
15521
15522 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15523
15524 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15525 uses code from the previous `ange-ftp-run-real-handler'.
15526 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15527 only in case that function exist. This is needed for proper
15528 unloading of Tramp.
15529
15530 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15531
15532 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15533
15534 * textmodes/reftex.el (reftex-compile-variables): Use it.
15535
15536 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * files.el (normal-mode): Only use default major-mode if no other mode
15539 was specified.
15540
15541 * emacs-lisp/trace.el (trace-values): New function.
15542
15543 * files.el: Allow : in local variables (bug#14089).
15544 (hack-local-variable-regexp): New var.
15545 (hack-local-variables-prop-line, hack-local-variables): Use it.
15546
15547 2013-04-13 Roland Winkler <winkler@gnu.org>
15548
15549 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15550 data before it gets modified by bibtex-beginning-of-entry.
15551
15552 2013-04-13 Roland Winkler <winkler@gnu.org>
15553
15554 * textmodes/bibtex.el (bibtex-url): Doc fix.
15555
15556 2013-04-13 Roland Winkler <winkler@gnu.org>
15557
15558 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15559 does not visit a BibTeX file, exclude it from the list of buffers
15560 returned by bibtex-initialize.
15561
15562 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15563
15564 * window.el (split-window): Remove interactive form, since as a
15565 command this function is a special case of split-window-below.
15566 Correct doc string.
15567
15568 2013-04-12 Roland Winkler <winkler@gnu.org>
15569
15570 * faces.el (read-face-name): Do not override value of arg default.
15571 Allow single faces and strings as default values. Remove those
15572 elements from return value that are not faces.
15573 (describe-face): Simplify.
15574 (face-at-point): New optional args thing and multiple so that this
15575 function can provide the same functionality previously provided by
15576 read-face-name.
15577 (make-face-bold, make-face-unbold, make-face-italic)
15578 (make-face-unitalic, make-face-bold-italic, invert-face)
15579 (modify-face, read-face-and-attribute): Use face-at-point.
15580
15581 * cus-edit.el (customize-face, customize-face-other-window)
15582 * cus-theme.el (custom-theme-add-face)
15583 * face-remap.el (buffer-face-set)
15584 * facemenu.el (facemenu-set-face): Use face-at-point.
15585
15586 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15587
15588 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15589
15590 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15591
15592 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15593 off leading { and trailing } from field values.
15594
15595 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15596
15597 * emacs-lisp/timer.el (timer--check): New function.
15598 (timer--time, timer-set-function, timer-event-handler): Use it.
15599 (timer-set-idle-time): Simplify.
15600 (timer--activate): CSE.
15601 (timer-event-handler): Give more info in error message.
15602 (internal-timer-start-idle): New function, moved from C.
15603
15604 * mpc.el (mpc-proc): Add `restart' argument.
15605 (mpc-proc-cmd): Use it.
15606 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15607 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15608 less often.
15609
15610 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15611
15612 * progmodes/sh-script.el: Implement `sh-mode' own
15613 `add-log-current-defun-function' (bug#14112).
15614 (sh-current-defun-name): New function.
15615 (sh-mode): Use the function.
15616
15617 2013-04-09 Bastien Guerry <bzg@gnu.org>
15618
15619 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15620
15621 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15622
15623 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15624
15625 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15626 timer (bug#14156).
15627
15628 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15629
15630 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15631 declaration.
15632
15633 2013-04-07 Leo Liu <sdl.web@gmail.com>
15634
15635 * pcmpl-x.el: New file.
15636
15637 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15638
15639 Do not set x-display-name until X connection is established.
15640 This is needed to prevent from weird situation described at
15641 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15642 * frame.el (make-frame): Set x-display-name after call to
15643 window system initialization function, not before.
15644 * term/x-win.el (x-initialize-window-system): Add optional
15645 display argument and use it.
15646 * term/w32-win.el (w32-initialize-window-system):
15647 * term/ns-win.el (ns-initialize-window-system):
15648 * term/pc-win.el (msdos-initialize-window-system):
15649 Add compatible optional display argument.
15650
15651 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15652
15653 * files.el (normal-backup-enable-predicate): On MS-Windows and
15654 MS-DOS compare truenames of temporary-file-directory and of the
15655 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15656 don't fail comparison by compare-strings. Also, compare file
15657 names case-insensitively on MS-Windows and MS-DOS.
15658
15659 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15660
15661 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15662 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15663
15664 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15665
15666 * whitespace.el (whitespace-color-on, whitespace-color-off):
15667 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15668
15669 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15670
15671 * ispell.el (ispell-set-spellchecker-params):
15672 Really set `ispell-args' for all equivs.
15673
15674 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * ido.el (ido-completions): Use extra elements of ido-decorations
15677 (bug#14143).
15678 (ido-decorations): Update docstring.
15679
15680 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15681
15682 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15683 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15684 nil during initialization, in order not to miss changes since the
15685 file was opened. (Bug#14140)
15686
15687 2013-04-05 Leo Liu <sdl.web@gmail.com>
15688
15689 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15690
15691 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15692
15693 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15694
15695 2013-04-04 Glenn Morris <rgm@gnu.org>
15696
15697 * electric.el (electric-pair-inhibit-predicate): Add :version.
15698
15699 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15700
15701 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15702 when a package is required several times (bug#14082).
15703
15704 2013-04-04 Roland Winkler <winkler@gnu.org>
15705
15706 * faces.el (read-face-name): Behave as promised by the docstring.
15707 Assume that arg default is a list of faces.
15708 (describe-face): Call read-face-name with list of default faces.
15709
15710 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15711
15712 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15713 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15714 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15715 the header.
15716 (bookmark-exit-hook-internal): Save even if list is empty.
15717
15718 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15719
15720 * emacs-lisp/package.el (package-pinned-packages): New var.
15721 (package--add-to-archive-contents): Obey it (bug#14118).
15722
15723 2013-04-03 Alan Mackenzie <acm@muc.de>
15724
15725 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15726 Also adapt to the new values of element 7 of a parse state.
15727
15728 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15729 parameter `not-in-delimiter'. Handle being inside comment opener.
15730 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15731 character in case we're typing a '*' after a '/'.
15732 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15733 instead by passing the parameter to c-state-pp-to-literal.
15734
15735 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15736 for elt. 7 of a parse state.
15737
15738 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15739
15740 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15741 * international/latin1-disp.el, international/mule-util.el:
15742 * language/cyril-util.el, language/european.el, language/ind-util.el:
15743 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15744 * language/tibetan.el, language/viet-util.el:
15745 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15746
15747 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15748
15749 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15750 (electric-pair-post-self-insert-function): Use it.
15751 (electric-pair-default-inhibit): New function, extracted from
15752 electric-pair-post-self-insert-function.
15753
15754 2013-03-31 Roland Winkler <winkler@gnu.org>
15755
15756 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15757
15758 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15761
15762 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15763
15764 Un-indent after "pass" and "return" statements (Bug#13888)
15765 * progmodes/python.el (python-indent-block-enders): New var.
15766 (python-indent-calculate-indentation): Use it.
15767
15768 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15769
15770 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15771 defun. Defining it as defalias could introduce too eager
15772 byte-compiler optimization. (Bug#14030)
15773
15774 2013-03-30 Chong Yidong <cyd@gnu.org>
15775
15776 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15777
15778 2013-03-30 Leo Liu <sdl.web@gmail.com>
15779
15780 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15781 (kmacro-execute-from-register): Pass the keyboard macro to
15782 kmacro-call-macro or repeating won't work correctly.
15783
15784 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15785
15786 * progmodes/subword.el: Back to using `forward-symbol'.
15787
15788 * subr.el (forward-whitespace, forward-symbol)
15789 (forward-same-syntax): Move from thingatpt.el.
15790
15791 2013-03-29 Leo Liu <sdl.web@gmail.com>
15792
15793 * kmacro.el (kmacro-to-register): New command.
15794 (kmacro-execute-from-register): New function.
15795 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15796
15797 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * mpc.el: Use defvar-local and setq-local.
15800 (mpc--proc-connect): Connection failures are not bugs.
15801 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15802 (mpc-volume-map): Bind to the up-events.
15803
15804 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15805
15806 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15807 instead of `forward-symbol'.
15808
15809 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15812 (edebug--recursive-edit): Use it.
15813 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15814 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15815
15816 2013-03-28 Leo Liu <sdl.web@gmail.com>
15817
15818 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15819
15820 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15821
15822 * facemenu.el (list-colors-callback): New defvar.
15823 (list-colors-redisplay): New function.
15824 (list-colors-display): Install list-colors-redisplay as the
15825 revert-buffer-function. (Bug#14063)
15826
15827 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15828
15829 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15830 and suffixes don't overlap (bug#14061).
15831
15832 * case-table.el: Use lexical-binding.
15833 (case-table-get-table): New function.
15834 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15835
15836 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15837
15838 * progmodes/subword.el: Add `superword-mode' to do word motion
15839 over symbol_words (parallels and leverages `subword-mode' which
15840 does word motion inside MixedCaseWords).
15841
15842 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15843
15844 * eshell/em-unix.el: Move su and sudo to...
15845 * eshell/em-tramp.el: ...Eshell tramp module.
15846
15847 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15848
15849 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15850 Change return value to be a sexp. Delay `get-buffer' to after
15851 restoring the desktop (bug#13951).
15852
15853 2013-03-26 Leo Liu <sdl.web@gmail.com>
15854
15855 * register.el: Move semantic tag handling back to
15856 cedet/semantic/senator.el. (Bug#14052)
15857
15858 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15861 into the prompt either (bug#13963).
15862
15863 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15866 part of "(error-foo)".
15867
15868 2013-03-24 Juri Linkov <juri@jurta.org>
15869
15870 * replace.el (list-matching-lines-prefix-face): New defcustom.
15871 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15872 `occur-engine' if `face-differs-from-default-p' returns t.
15873 (occur-engine): Add `,' inside backquote construct to evaluate
15874 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15875 Pass `prefix-face' to the functions `occur-context-lines' and
15876 `occur-engine-add-prefix'.
15877 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15878 `prefix-face' and propertize the prefix with `prefix-face'.
15879 (Bug#14017)
15880
15881 2013-03-24 Leo Liu <sdl.web@gmail.com>
15882
15883 * nxml/rng-valid.el (rng-validate-while-idle)
15884 (rng-validate-quick-while-idle): Guard against deleted buffer.
15885 (Bug#13999)
15886
15887 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15888 is the last entry in kill-buffer-hook.
15889
15890 * files.el (kill-buffer-hook): Doc fix.
15891
15892 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15893
15894 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15895 Make it safe-local.
15896
15897 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15898
15899 2013-03-23 Leo Liu <sdl.web@gmail.com>
15900
15901 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15902 Remove.
15903
15904 * nxml/rng-valid.el (rng-validate-mode)
15905 (rng-after-change-function, rng-do-some-validation):
15906 * nxml/rng-maint.el (rng-validate-buffer):
15907 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15908 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15909 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15910 (nxml-extend-after-change-region): Use with-silent-modifications.
15911
15912 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15913 timer-idle-list.
15914
15915 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15916 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15917 timer-idle-list. (Bug#13999)
15918
15919 2013-03-23 Juri Linkov <juri@jurta.org>
15920
15921 * info.el (info-index-match): New face.
15922 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15923 main pattern and add text properties with the new face to matches
15924 in index entries relative to the beginning of the index entry.
15925 (Bug#14015)
15926
15927 2013-03-21 Eric Ludlam <zappo@gnu.org>
15928
15929 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15930 Inhibit read only while inserting objects.
15931
15932 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15933
15934 * progmodes/cfengine.el: Update docs to mention
15935 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15936 symbol motion. Remove "_" from the word syntax.
15937
15938 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15939
15940 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15941 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15942
15943 2013-03-20 Juri Linkov <juri@jurta.org>
15944
15945 * info.el (Info-next-reference-or-link)
15946 (Info-prev-reference-or-link): New functions.
15947 (Info-next-reference, Info-prev-reference): Use them.
15948 (Info-try-follow-nearest-node): Handle footnote navigation.
15949 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15950
15951 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15954 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15955
15956 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15957
15958 Suppress unnecessary non-ASCII chatter during build process.
15959 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15960 (batch-skkdic-convert): Suppress most of the chatter.
15961 It's not needed so much now that machines are faster,
15962 and its non-ASCII component was confusing; see Dmitry Gutov in
15963 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15964
15965 2013-03-20 Leo Liu <sdl.web@gmail.com>
15966
15967 * ido.el (ido-chop): Fix bug#10994.
15968
15969 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15970
15971 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15972 Remove vars.
15973 (whitespace-color-on, whitespace-color-off):
15974 Use `font-lock-fontify-buffer' (Bug#13817).
15975
15976 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15977
15978 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15979 remapping in mode-line.
15980 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15981
15982 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15983
15984 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15985 value for `whitespace-line' face (Bug#13875).
15986 (whitespace-font-lock-keywords): Change description.
15987 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15988 the constructed keywords instead.
15989 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15990
15991 2013-03-19 Leo Liu <sdl.web@gmail.com>
15992
15993 * progmodes/compile.el (compilation-display-error): New command.
15994 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15995 C-o. (Bug#13992)
15996
15997 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15998
15999 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16000
16001 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16002
16003 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16004
16005 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16006
16007 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16008
16009 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16010 * net/tramp-gvfs.el (top):
16011 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16012 (tramp-handle-shell-command): Use it.
16013 (tramp-dissect-file-name): Raise an error when hostname is a
16014 method name, and neither method nor user is specified.
16015
16016 * net/trampver.el: Update release number.
16017
16018 2013-03-18 Leo Liu <sdl.web@gmail.com>
16019
16020 Make sure eldoc can be turned off properly.
16021 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16022 eldoc-mode.
16023 (eldoc-display-message-p): Revert last change.
16024 (eldoc-display-message-no-interference-p)
16025 (eldoc-print-current-symbol-info): Tweak.
16026
16027 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16028
16029 * doc-view.el (doc-view-new-window-function): Check the new window
16030 overlay's display property instead the char property of the
16031 buffer's first char. Use `with-selected-window' instead of
16032 `save-window-excursion' with `select-window'.
16033 (doc-view-document->bitmap): Check the current doc-view overlay's
16034 display property instead the char property of the buffer's first char.
16035
16036 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16037
16038 Automate the build of ja-dic.el (Bug#13984).
16039 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16040 from the input, rather than assume that it's been done for us by the
16041 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16042 the current date into a ja-dic.el comment, as that complicates
16043 regression testing.
16044
16045 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16046
16047 * whitespace.el: Fix double evaluation.
16048 (whitespace-space, whitespace-hspace, whitespace-tab)
16049 (whitespace-newline, whitespace-trailing, whitespace-line)
16050 (whitespace-space-before-tab, whitespace-indentation)
16051 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16052 obsolete defvars.
16053 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16054 (whitespace-color-on): Use a single font-lock-add-keywords call.
16055 Fix double-evaluation of face variables.
16056
16057 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16058
16059 * net/tramp-adb.el (tramp-adb-parse-device-names):
16060 Use `start-process' instead of `call-process'. Otherwise, the
16061 function might be blocked under MS Windows. (Bug#13299)
16062
16063 2013-03-17 Leo Liu <sdl.web@gmail.com>
16064
16065 Extend eldoc to display info in the mode-line. (Bug#13978)
16066 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16067 (eldoc-mode-line-string): New variable.
16068 (eldoc-minibuffer-message): New function.
16069 (eldoc-message-function): New variable.
16070 (eldoc-message): Use it.
16071 (eldoc-display-message-p)
16072 (eldoc-display-message-no-interference-p):
16073 Support eldoc-post-insert-mode.
16074
16075 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16076 (eval-expression): Run it.
16077
16078 2013-03-17 Roland Winkler <winkler@gnu.org>
16079
16080 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16081 strings in the list of return values.
16082
16083 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16084
16085 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16086 radix before checking for HMS forms.
16087
16088 2013-03-16 Leo Liu <sdl.web@gmail.com>
16089
16090 * progmodes/scheme.el: Add indentation and font-locking for λ.
16091 (Bug#13975)
16092
16093 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16094
16095 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16096 token before point (bug#13942).
16097
16098 2013-03-16 Leo Liu <sdl.web@gmail.com>
16099
16100 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16101
16102 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16103
16104 * startup.el (command-line-normalize-file-name): Fix handling of
16105 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16106 <xfq.free@gmail.com> in
16107 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16108
16109 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16110
16111 Sync with Tramp 2.2.7.
16112
16113 * net/trampver.el: Update release number.
16114
16115 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16116
16117 * doc-view.el: Fix bug#13887.
16118 (doc-view-insert-image): Don't modify overlay associated to
16119 non-live windows, and implement horizontal centering of image in
16120 case it's smaller than the window.
16121 (doc-view-new-window-function): Force redisplay of new windows on
16122 doc-view buffers.
16123
16124 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16125
16126 * saveplace.el (save-place-alist-to-file): Don't sort
16127 `save-place-alist', just pretty-print it (bug#13882).
16128
16129 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16130
16131 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16132 Check whether `default-file-name-coding-system' is bound.
16133 It isn't in XEmacs.
16134
16135 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16138 backquotes for `obsolete' (bug#13929).
16139
16140 * international/mule.el (find-auto-coding): Include file name in
16141 obsolescence warning (bug#13922).
16142
16143 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16144
16145 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16146 for CFEngine 3-specific indentation.
16147 (cfengine3-indent-line): Use it. Fix up category regex.
16148 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16149
16150 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * type-break.el (type-break-file-name):
16153 * textmodes/remember.el (remember-data-file):
16154 * strokes.el (strokes-file):
16155 * shadowfile.el (shadow-initialize):
16156 * saveplace.el (save-place-file):
16157 * ps-bdf.el (bdf-cache-file):
16158 * progmodes/idlwave.el (idlwave-config-directory):
16159 * net/quickurl.el (quickurl-url-file):
16160 * international/kkc.el (kkc-init-file-name):
16161 * ido.el (ido-save-directory-list-file):
16162 * emulation/viper.el (viper-custom-file-name):
16163 * emulation/vip.el (vip-startup-file):
16164 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16165 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16166
16167 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16168
16169 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16170 * language/thai-word.el: Switch to UTF-8.
16171
16172 See ChangeLog.16 for earlier changes.
16173
16174 ;; Local Variables:
16175 ;; coding: utf-8
16176 ;; End:
16177
16178 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16179
16180 This file is part of GNU Emacs.
16181
16182 GNU Emacs is free software: you can redistribute it and/or modify
16183 it under the terms of the GNU General Public License as published by
16184 the Free Software Foundation, either version 3 of the License, or
16185 (at your option) any later version.
16186
16187 GNU Emacs is distributed in the hope that it will be useful,
16188 but WITHOUT ANY WARRANTY; without even the implied warranty of
16189 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16190 GNU General Public License for more details.
16191
16192 You should have received a copy of the GNU General Public License
16193 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.