]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ru
[gnu-emacs] / lisp / ChangeLog
1 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2
3 * simple.el (keyboard-quit): Force update of mode lines, to remove
4 the "Def" indicator, if we were defining a macro. (Bug#17615)
5
6 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * minibuffer.el (minibuffer-force-complete-and-exit):
9 Obey minibuffer-default (bug#17545).
10
11 * progmodes/js.el (js-indent-line): Don't mix columns and chars
12 (bug#17619).
13
14 * subr.el (set-transient-map): Don't wait for some "nested"
15 transient-map to finish if we're only supposed to be active for
16 the next command (bug#17642).
17
18 2014-06-02 Leo Liu <sdl.web@gmail.com>
19
20 * emacs-lisp/gv.el (window-buffer, window-display-table)
21 (window-dedicated-p, window-hscroll, window-point, window-start):
22 Fix gv-expander. (Bug#17630)
23
24 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
27 clicks (bug#17633).
28
29 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
30 for the single comma, since ", " is *very* common in normal French text
31 (bug#17643).
32
33 2014-06-02 Glenn Morris <rgm@gnu.org>
34
35 * emacs-lisp/package.el (package-check-signature)
36 (package-unsigned-archives): Fix :version.
37
38 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * subr.el (sit-for): Don't run input-methods (bug#15614).
41
42 2014-06-02 Glenn Morris <rgm@gnu.org>
43
44 * cus-start.el: Fix some :version numbers.
45
46 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * simple.el (deactivate-mark): Set mark-active to nil even if
49 deactivation is done via setting transient-mark-mode to nil,
50 since one is buffer-local and the other is global.
51
52 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
53 there can't be more than 2 arguments (bug#17584).
54
55 2014-06-02 Glenn Morris <rgm@gnu.org>
56
57 * simple.el (filter-buffer-substring-functions)
58 (filter-buffer-substring-function, buffer-substring-filters)
59 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
60
61 * minibuffer.el (completion-in-region-functions, completion-in-region)
62 (completion--in-region): Doc fixes.
63
64 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
65 (expand-abbrev, abbrev--default-expand): Doc fixes.
66
67 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
68
69 Include sources used to create macuvs.h.
70 * international/README: Refer to the Unicode Terms of Use rather
71 than copying it bodily here, as that simplifies maintenance.
72
73 2014-06-01 Glenn Morris <rgm@gnu.org>
74
75 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
76
77 2014-05-31 Glenn Morris <rgm@gnu.org>
78
79 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
80
81 2014-05-30 Glenn Morris <rgm@gnu.org>
82
83 * loadup.el: Treat `command-line-args' more flexibly.
84
85 2014-05-30 Alan Mackenzie <acm@muc.de>
86
87 Guard (looking-at "\\s!") from XEmacs.
88 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
89
90 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
91
92 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
93 argument COUNT is now optional, to be more backward-compatible.
94 Doc fix. (Bug#17560)
95
96 2014-05-29 Reuben Thomas <rrt@sc3d.org>
97
98 * whitespace.el (whitespace-report-region): Simplify
99 documentation.
100 (whitespace-report-region): Allow report-if-bogus to take the
101 value `never', for non-interactive use.
102 (whitespace-report): Refer to whitespace-report-region's
103 documentation.
104
105 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * whitespace.el: Use font-lock-flush. Minimize refontifications.
108 Side benefit: it works without jit-lock.
109 (whitespace-point--used): New buffer-local var.
110 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
111 (whitespace-color-off): Use font-lock-flush.
112 (whitespace-point--used, whitespace-point--flush-used): New functions.
113 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
114 (whitespace-empty-at-eob-regexp): Use them.
115 (whitespace-post-command-hook): Rewrite.
116
117 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
118 (font-lock-fontify-buffer): Mark interactive-only.
119 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
120 Make buffer-local.
121 (font-lock-specified-p): Remove redundant boundp check.
122 (font-lock-flush-function, font-lock-ensure-function): New vars.
123 (font-lock-turn-on-thing-lock): Set them.
124 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
125 (font-lock-after-change-function): Make `old-len' optional.
126 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
127 Call font-lock-flush, just in case.
128 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
129 recent Emacsen.
130 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
131 (vera-mode-map, vera-mode-menu): Remove bindings to it.
132 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
133 and with-syntax-table.
134 * textmodes/conf-mode.el (conf-quote-normal):
135 * progmodes/sh-script.el (sh-set-shell):
136 * progmodes/prog-mode.el (prettify-symbols-mode):
137 * progmodes/f90.el (f90-font-lock-n):
138 * progmodes/cwarn.el (cwarn-mode):
139 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
140 * progmodes/compile.el (compilation-setup, compilation--unsetup):
141 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
142 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
143 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
144 font-lock-fontify-buffer-function and
145 font-lock-unfontify-buffer-function.
146 (rmail-unfontify-buffer-function, rmail-fontify-message):
147 Use with-silent-modifications.
148 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
149 and font-lock-ensure.
150 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
151
152 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
153
154 * emacs-lisp/package.el (package-generate-autoloads):
155 Inhibit backup files.
156
157 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
160 (bug#17608).
161
162 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
163
164 * textmodes/tildify.el (tildify-buffer, tildify-region):
165 Add dont-ask option.
166
167 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
170 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
171
172 * subr.el (internal--funcall-interactively): New.
173 (internal--call-interactively): Remove.
174 (called-interactively-p): Detect funcall-interactively instead of
175 call-interactively.
176 * simple.el (repeat-complex-command): Use funcall-interactively.
177 (repeat-complex-command--called-interactively-skip): Remove.
178
179 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * register.el (register-read-with-preview): Don't burp on
182 frame switches (e.g. due to the frame we just popped).
183
184 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
185 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
186
187 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
188
189 * cus-face.el (custom-face-attributes): Add :distant-foreground.
190
191 2014-05-26 Martin Rudalics <rudalics@gmx.at>
192
193 * window.el (window--dump-frame): Remove interactive specification.
194
195 2014-05-26 Glenn Morris <rgm@gnu.org>
196
197 * hippie-exp.el (he-line-search-regexp):
198 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
199
200 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
201
202 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
203 to avoid errors when trying to create or visit a file foo.todo
204 located outside to todo-directory, and to allow having such files
205 without them being tied to Todo mode (bug#17482).
206 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
207 (todo-archive-done-item, todo-find-filtered-items-file)
208 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
209 (todo-category-completions, todo-read-category): When visiting a
210 Todo file, make sure we're in the right mode and the buffer local
211 variables are set.
212 (todo-make-categories-list, todo-reset-nondiary-marker)
213 (todo-reset-done-string, todo-reset-comment-string):
214 After processing all Todo files, kill the buffers of those files that
215 weren't being visited before the processing.
216 (todo-display-as-todo-file, todo-add-to-buffer-list)
217 (todo-visit-files-commands): Comment out.
218 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
219 (auto-mode-alist): Remove add-to-list calls making Todo file
220 extensions unrestrictedly tied to Todo modes.
221
222 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
225 (advice-function-member-p): Tell it to check both names and functions
226 (bug#17531).
227 (advice--add-function): Adjust call accordingly.
228
229 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
230
231 * calendar/todo-mode.el: Miscellaneous bug fixes.
232 (todo-delete-file): When deleting an archive but not its todo
233 file, make sure to update the todo file's category sexp.
234 (todo-move-category): Keep the moved category's name unless the
235 file moved to already has a category with that name. If the
236 numerically last category of the source file was moved, make the
237 first category current to avoid selecting a nonexisting category.
238 (todo-merge-category): Fix implementation to make merging to a
239 category in another file work as documented. Eliminate now
240 insufficient and unnecessary renaming of archive category, correct
241 document string accordingly, and clarify it. If the numerically
242 last category of the source file was merged, make the first
243 category current to avoid selecting a nonexisting category.
244 (todo-archive-done-item): When there are marked items and point
245 happens to be on an unmarked item, ignore the latter. Don't leave
246 point below last item after archiving marked items.
247 (todo-unarchive-items): Fix logic to ensure unarchiving an item
248 from an archive with only one category deletes the archive only
249 when the category is empty after unarchiving. Make sure the todo
250 file's category sexp is updated.
251 (todo-read-file-name): Allow an existing file name even when it is
252 not required (todo-move-category needs this to work as documented).
253 (todo-add-file): Call todo-validate-name to reject the name of an
254 existing todo file (needed due to fix in todo-read-file-name).
255 (todo-reset-nondiary-marker): Also reset in filtered items files.
256 (todo-reset-done-string, todo-reset-comment-string): Also reset in
257 regexp filtered items files.
258 (todo-reset-highlight-item): Also reset in filtered items files.
259 Fix incorrect variable reference in document string.
260
261 2014-05-26 Glenn Morris <rgm@gnu.org>
262
263 * window.el (window--dump-frame): Avoid error in --without-x builds.
264
265 2014-05-26 Glenn Morris <rgm@gnu.org>
266
267 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
268
269 2014-05-26 Eli Zaretskii <eliz@gnu.org>
270
271 * frame.el (set-frame-font): Doc fix.
272
273 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
274
275 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
276
277 * emacs-lisp/package.el (package--download-one-archive):
278 Use `write-region' instead of `save-buffer' to avoid running various
279 hooks. (Bug#17155)
280 (describe-package-1): Same. Insert newline at the end of the
281 buffer if appropriate.
282
283 2014-05-26 Juri Linkov <juri@jurta.org>
284
285 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
286 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
287 Add more modifiers: meta, control, shift, hyper, super, alt.
288 (Bug#17439)
289
290 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
291 to allow changing its value with `set-variable'.
292
293 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
296 #; comments.
297 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
298 New functions.
299 (scheme-mode-variables): Set syntax-propertize-function instead of
300 font-lock-syntactic-face-function.
301 (scheme-font-lock-syntactic-face-function): Delete.
302
303 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
304
305 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
306 (bug#17392).
307
308 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
309
310 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
311 for a temporary file name.
312
313 2014-05-26 Eli Zaretskii <eliz@gnu.org>
314
315 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
316
317 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/dbus.el (dbus-init-bus, dbus-call-method)
320 (dbus-call-method-asynchronously, dbus-send-signal)
321 (dbus-method-return-internal, dbus-method-error-internal):
322 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
323
324 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
325
326 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
327 methods which do not have a doc string. (Bug#17490)
328
329 2014-05-25 Tassilo Horn <tsdh@gnu.org>
330
331 * textmodes/reftex-ref.el (reftex-format-special): Make it work
332 also for AMS Math's \eqref macro.
333
334 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
335
336 Arrange to never byte-compile the generated -pkg.el file.
337
338 * emacs-lisp/package.el (package-generate-description-file):
339 Output first-line comment to set buffer-local var `no-byte-compile'.
340 Suggested by Dmitry Gutov:
341 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
342
343 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
344
345 Fix bug: Properly quote args to generated -pkg.el `define-package'.
346
347 * emacs-lisp/package.el (package-generate-description-file):
348 Inline `package--alist-to-plist'; rewrite to selectively
349 quote alist values that are not self-quoting.
350 (package--alist-to-plist): Delete func.
351
352 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
353
354 * term/xterm.el (xterm-function-map): Add mapping for shifted
355 keypad keys.
356
357 2014-05-24 Daniel Colascione <dancol@dancol.org>
358
359 * progmodes/subword.el (subword-find-word-boundary): Move point to
360 correct spot before search. (Bug#17580)
361
362 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
363 breaking the build.
364
365 2014-05-24 Leo Liu <sdl.web@gmail.com>
366
367 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
368
369 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
370
371 * minibuffer.el (completion--sreverse): Remove.
372 (completion--common-suffix): Use `reverse' instead.
373 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
374
375 2014-05-22 Glenn Morris <rgm@gnu.org>
376
377 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
378
379 2014-05-21 Daniel Colascione <dancol@dancol.org>
380
381 * files.el (interpreter-mode-alist): Add mksh.
382
383 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
384 derivative.
385 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
386 mksh. Improve custom spec; allow regular expressions.
387 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
388 (sh-after-hack-local-variables): New function.
389 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
390 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
391 the normalization.
392 (sh-canonicalize-shell): Rewrite to support regexes.
393
394 2014-05-21 Leo Liu <sdl.web@gmail.com>
395
396 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
397
398 2014-05-19 Leo Liu <sdl.web@gmail.com>
399
400 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
401
402 2014-05-18 Glenn Morris <rgm@gnu.org>
403
404 * loadup.el:
405 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
406
407 2014-05-14 Sam Steingold <sds@gnu.org>
408
409 * progmodes/python.el (python-shell-get-or-create-process):
410 Do not bind `current-prefix-arg' so that C-c C-z does not talk
411 back unless requested.
412
413 2014-05-14 Glenn Morris <rgm@gnu.org>
414
415 * subr.el (with-file-modes): New macro.
416 * printing.el (pr-save-file-modes): Make obsolete.
417 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
418 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
419 Add with-file-modes.
420 * doc-view.el (doc-view-make-safe-dir):
421 * epg.el (epg--start):
422 * files.el (locate-user-emacs-file, make-temp-file)
423 (backup-buffer-copy, move-file-to-trash):
424 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
425 * eshell/esh-util.el (eshell-with-private-file-modes)
426 (eshell-make-private-directory):
427 * net/browse-url.el (browse-url-mosaic):
428 * obsolete/mailpost.el (post-mail-send-it):
429 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
430 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
431 Use with-file-modes.
432
433 * vc/emerge.el (emerge-make-temp-file): Simplify.
434
435 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
436 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
439 suffix (bug#15419).
440
441 2014-05-14 Glenn Morris <rgm@gnu.org>
442
443 * vc/emerge.el (emerge-temp-file-prefix):
444 Make pointless option obsolete.
445 (emerge-temp-file-mode): Make non-functional option obsolete.
446
447 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
448
449 * net/browse-url.el (browse-url):
450 Use `unhandled-file-name-directory' when setting `default-directory',
451 in order to circumvent stalled remote connections. (Bug#17425)
452
453 2014-05-14 Glenn Morris <rgm@gnu.org>
454
455 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
456 Optimize on Emacs, which has the relevant functions for ages.
457
458 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * simple.el (undo-make-selective-list): Obey undo-no-redo.
461
462 2014-05-12 Sam Steingold <sds@gnu.org>
463
464 * calendar/time-date.el (seconds-to-string): New function to
465 pretty print time delay in seconds.
466
467 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * mpc.el (mpc-format): Trim Date to the year.
470 (mpc-songs-hashcons): Shorten the Date field.
471
472 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
473 into autoloading just because of a silly indirection.
474
475 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
476
477 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
478
479 2014-05-12 Glenn Morris <rgm@gnu.org>
480
481 * emacs-lisp/find-gc.el: Move to ../admin.
482
483 * printing.el (pr-version):
484 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
485
486 * net/browse-url.el (browse-url-mosaic):
487 Create /tmp/Mosaic.PID as a private file.
488
489 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
492 (advice--member-p): If name is given, only compare the name.
493 (advice--remove-function): Don't stop at the first match.
494 (advice--normalize-place): New function.
495 (add-function, remove-function): Use it.
496 (advice--add-function): Pass the name, if any, to
497 advice--remove-function.
498
499 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
500
501 * electric.el (electric-indent-post-self-insert-function): Don't use
502 `pos' after modifying the buffer (bug#17449).
503
504 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
505
506 * calendar/todo-mode.el (todo-insert-item-from-calendar):
507 Correct argument list to conform to todo-insert-item--basic.
508
509 2014-05-12 Glenn Morris <rgm@gnu.org>
510
511 * files.el (cd-absolute): Test if directory is accessible
512 rather than executable. (Bug#17330)
513
514 * progmodes/compile.el (recompile):
515 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
516
517 * net/browse-url.el (browse-url-mosaic):
518 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
519 This is CVE-2014-3423.
520
521 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * mouse.el: Use the normal toplevel loop while dragging.
524 (mouse-set-point): Handle multi-clicks.
525 (mouse-set-region): Handle multi-clicks for drags.
526 (mouse-drag-region): Update call accordingly.
527 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
528 Use the normal event loop instead of a local while/read-event loop.
529 (global-map): Remove redundant bindings for double/triple-mouse-1.
530 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
531 Generate synthetic down events when the protocol only sends up events.
532 (xterm-mouse-last): Remove.
533 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
534 terminal parameter instead.
535 (xterm-mouse--set-click-count): New function.
536 (xterm-mouse-event): Detect/generate double/triple clicks.
537 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
538
539 * info.el (Info-quoted): New face.
540 (Info-mode-font-lock-keywords): New var.
541 (Info-mode): Use it.
542
543 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
544 are a hindrance for C-x C-e.
545
546 2014-05-11 Leo Liu <sdl.web@gmail.com>
547
548 * net/rcirc.el (rcirc-sentinel): Fix last change.
549
550 2014-05-08 Sam Steingold <sds@gnu.org>
551
552 * net/rcirc.el (rcirc-reconnect-delay): New user option.
553 (rcirc-sentinel): Auto-reconnect to the server if
554 `rcirc-reconnect-delay' is non-0 (but not more often than its
555 value in case the host is off-line).
556
557 2014-05-09 Eli Zaretskii <eliz@gnu.org>
558
559 * progmodes/grep.el (lgrep): Fix a typo in last commit.
560
561 2014-05-09 Glenn Morris <rgm@gnu.org>
562
563 * files.el (file-expand-wildcards):
564 * man.el (Man-support-local-filenames):
565 * printing.el (pr-i-directory, pr-interface-directory):
566 * progmodes/grep.el (lgrep, rgrep):
567 * textmodes/ispell.el (ispell-call-process)
568 (ispell-call-process-region, ispell-start-process)
569 (ispell-init-process): Use file-accessible-directory-p.
570
571 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
574 (xterm-mouse--read-event-sequence-1000): Return nil if something
575 looks fishy.
576 (xterm-mouse-event): Propagate it.
577 (xterm-mouse-translate-1): Handle it.
578
579 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
580
581 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
582 four slots of the parameter list are filled, make sure to pass it
583 to the argument list of todo-insert-item--basic.
584
585 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
588 Add optional `seen' argument to detect and break infinite loops.
589
590 2014-05-08 Eli Zaretskii <eliz@gnu.org>
591
592 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
593 (trace-unsafe, trace-use-tree): Make parentheses style be
594 according to Emacs style.
595
596 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
597
598 * net/tramp-sh.el (tramp-remote-process-environment):
599 Remove HISTFILE and HISTSIZE; it's too late to set them here.
600 Add :version entry.
601 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
602 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
603 extra "PSx=..." commands.
604 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
605 (Bug#17295)
606
607 (tramp-uudecode): Replace the hard-coded temporary file name by a
608 format specifier.
609 (tramp-remote-coding-commands): Enhance docstring.
610 (tramp-find-inline-encoding): Replace "%t" by a temporary file
611 name. (Bug#17415)
612 This is CVE-2014-3424.
613
614 2014-05-08 Glenn Morris <rgm@gnu.org>
615
616 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
617 (find-gc-source-files): Update some names.
618 (trace-call-tree): Simplify and update.
619 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
620 This is CVE-2014-3422.
621
622 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * minibuffer.el (completion--try-word-completion): Revert fix for
625 Bug#15980 (bug#17375).
626
627 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
628 Always store button numbers in the same way in xterm-mouse-last;
629 Don't burp is xterm-mouse-last is not set as expected.
630 Never return negative indices.
631
632 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
633
634 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
635 Backtrack one char if the global/char-literal var matcher hits
636 inside a string. The next char could be the beginning of an
637 expression expansion.
638
639 2014-05-08 Glenn Morris <rgm@gnu.org>
640
641 * help-fns.el (describe-function-1): Test for an autoload before a
642 macro, since `macrop' works on autoloads. (Bug#17410)
643
644 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * electric.el (electric-indent-functions-without-reindent): Add yaml.
647
648 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
649 Make sure the new point we return is within the new string (bug#17239).
650
651 2014-05-05 Daniel Colascione <dancol@dancol.org>
652
653 * progmodes/compile.el (compilation-error-regexp-alist-alist):
654 Port `gnu' pattern to rx.
655
656 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
657
658 Remove unneeded prompt when closing a buffer with active
659 emacsclient ("Buffer ... still has clients"), #16548.
660 * server.el (server-start): Remove the only call to:
661 (server-kill-buffer-query-function): Remove.
662
663 2014-05-04 Leo Liu <sdl.web@gmail.com>
664
665 * calendar/diary-lib.el (calendar-chinese-month-name-array):
666 Defvar to pacify compiler.
667
668 2014-05-04 Eli Zaretskii <eliz@gnu.org>
669
670 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
671
672 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
675 Use nil rather than `default' for the "default" appearance (bug#17388).
676 * vc/ediff-util.el (ediff-inferior-compare-regions)
677 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
678 a misleading `default' value when it's really a boolean.
679 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
680 overlay is not visible.
681
682 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
683
684 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
685 (todo-menu): Uncomment and update.
686
687 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
688
689 * calendar/todo-mode.el: Reimplement item editing to have the same
690 basic user interface as item insertion, and make small UI and
691 larger internal improvements to the latter.
692 (todo-insert-item): Add reference to the Todo mode user manual to
693 the documentation string.
694 (todo-insert-item--basic): Rename from todo-basic-insert-item and
695 adjust all callers. Change signature to combine diary and
696 nonmarking arguments. Incorporate functionality of deleted item
697 copying command and add error checking. Remove detailed
698 descriptions of the arguments from the documentation string, since
699 this is treated in the Todo mode user manual.
700 (todo-copy-item, todo-edit-multiline-item)
701 (todo-edit-done-item-comment, todo-edit-item-header)
702 (todo-edit-item-time, todo-edit-item-date-from-calendar)
703 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
704 (todo-edit-item-date-year, todo-edit-item-date-month)
705 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
706 Remove.
707 (todo-edit-item): Reimplement as wrapper command for
708 todo-edit-item--next-key and make it distinguish done and not done
709 todo items.
710 (todo-edit-item--text): New function, replacing old command
711 todo-edit-item and incorporating deleted commands
712 todo-edit-multiline-item and todo-edit-done-item-comment.
713 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
714 Use only numeric value of prefix argument. Remove detailed
715 descriptions of the arguments from the documentation string, since
716 this is treated in the Todo mode user manual.
717 (todo-edit-item--diary-inclusion): New function, replacing old
718 command todo-edit-item-diary-inclusion and incorporating and fixing
719 functionality of deleted command todo-edit-item-diary-nonmarking,
720 making sure to remove todo-nondiary-marker when adding
721 diary-nonmarking-symbol.
722 (todo-edit-category-diary-inclusion): Make sure to delete
723 diary-nonmarking-symbol when adding todo-nondiary-marker.
724 (todo-edit-category-diary-nonmarking): Fix indentation.
725 (todo-insert-item--parameters): Group diary and nonmarking
726 parameters together.
727 (todo-insert-item--apply-args): Adjust to signature of
728 todo-insert-item--basic and incorporate copy parameter.
729 Make small code improvements.
730 (todo-insert-item--next-param): Improve prompt and adjust it to
731 new parameter grouping. Remove obsolete code.
732 (todo-edit-item--param-key-alist)
733 (todo-edit-item--date-param-key-alist)
734 (todo-edit-done-item--param-key-alist): New defconsts.
735 (todo-edit-item--prompt): New variable.
736 (todo-edit-item--next-key): New function.
737 (todo-key-bindings-t): Bind "e" to todo-edit-item.
738 Remove bindings of deleted commands.
739
740 2014-05-04 Leo Liu <sdl.web@gmail.com>
741
742 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
743
744 2014-05-04 Glenn Morris <rgm@gnu.org>
745
746 * allout-widgets.el (allout-widgets-tally)
747 (allout-decorate-item-guides):
748 * menu-bar.el (menu-bar-positive-p):
749 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
750 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
751 * progmodes/js.el (js--inside-param-list-p)
752 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
753 * progmodes/prolog.el (region-exists-p):
754 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
755 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
756 Doc fixes (replace `iff').
757
758 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
761
762 2014-05-04 Leo Liu <sdl.web@gmail.com>
763
764 Support Chinese diary entries in calendar and diary. (Bug#17393)
765 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
766 (calendar-chinese-from-absolute-for-diary)
767 (calendar-chinese-to-absolute-for-diary)
768 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
769 (diary-chinese-list-entries): New functions to list and mark
770 Chinese diary entries in the calendar window.
771 (diary-chinese-anniversary)
772 (diary-chinese-insert-anniversary-entry)
773 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
774 (diary-chinese-insert-yearly-entry): New commands to insert
775 Chinese diary entries.
776
777 * calendar/diary-lib.el (diary-font-lock-keywords):
778 Support font-locking Chinese dates.
779
780 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
781 inserting Chinese diary entries.
782
783 * calendar/calendar.el (diary-chinese-entry-symbol):
784 New customizable variable.
785 (calendar-mode-map): Add bindings for inserting Chinese diary
786 entries.
787
788 2014-05-03 Juri Linkov <juri@jurta.org>
789
790 * dired.el (dired-check-switches, dired-switches-recursive-p):
791 New functions. (Bug#17218)
792 (dired-switches-escape-p, dired-move-to-end-of-filename):
793 Use `dired-check-switches'.
794 (dired-insert-old-subdirs, dired-build-subdir-alist)
795 (dired-sort-R-check): Use `dired-switches-recursive-p'.
796
797 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
798
799 * simple.el (undo-make-selective-list): New algorithm fixes
800 incorrectness of position adjustments when undoing in region.
801 (Bug#17235)
802 (undo-elt-crosses-region): Make obsolete.
803 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
804 New functions to adjust positions using undo-deltas.
805
806 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
809 the last consecutive closing paren (bug#17345).
810
811 2014-04-30 Reuben Thomas <rrt@sc3d.org>
812
813 * dired.el (dired-mode): make terminology for eXpunge command
814 consistent. (Bug#17276)
815
816 2014-04-30 Eli Zaretskii <eliz@gnu.org>
817
818 * dired.el (dired-initial-position-hook, dired-initial-position):
819 Doc string fixes.
820
821 2014-04-30 Glenn Morris <rgm@gnu.org>
822
823 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
824
825 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
826
827 * faces.el (face-spec-recalc): Apply X resources only after the
828 defface spec has been applied. Thus, X resources are no longer
829 overriden by the defface spec which also fixes issues on win32 where
830 the toolbar coloring was wrong because it is set through X resources
831 and was (wrongfully) overriden. (Bug#16694)
832
833 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * textmodes/rst.el (electric-pair-pairs): Declare.
836 (rst-mode): Set it (bug#17131).
837
838 2014-04-30 Juri Linkov <juri@jurta.org>
839
840 * desktop.el (desktop-value-to-string): Let-bind `print-length'
841 and `print-level' to nil. (Bug#17351)
842
843 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
844
845 * battery.el (battery-update): Handle the case where battery
846 status is "N/A" (bug#17319).
847
848 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
851 to syntax-propertize.
852 (ps-mode-auto-indent): Mark as obsolete.
853 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
854 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
855 word regexp operators.
856 (ps-mode-map): Move initialization into declaration. Remove binding
857 for TAB, RET, >, ], and }.
858 (ps-mode-syntax-table): Move initialization into declaration.
859 Don't give word syntax to non-word chars.
860 (ps-run-mode-map): Move initialization into declaration.
861 (ps-mode-menu-main): Remove auto-indent entry.
862 (ps-mode-smie-rules): New function.
863 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
864 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
865 (ps-mode--string-syntax-table): New const.
866 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
867 New functions.
868 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
869 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
870
871 2014-04-27 Daniel Colascione <dancol@dancol.org>
872
873 * term/xterm.el (xterm-paste): Use large finite timeout when
874 reading event to avoid putting keys in this-command-keys.
875
876 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
879 (perl-syntax-propertize-function): Use it. Extend handling of
880 here-docs to the unquoted case.
881
882 2014-04-25 Eli Zaretskii <eliz@gnu.org>
883
884 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
885 Use equal-including-properties to compare help-echo strings (bug#17331).
886
887 2014-04-25 Leo Liu <sdl.web@gmail.com>
888
889 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
890 Fix syntax for @. (Bug#17325)
891
892 2014-04-25 Daniel Colascione <dancol@dancol.org>
893
894 * emacs-lisp/cl.el (gv): Require gv early to break eager
895 macro-expansion cycles.
896
897 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * simple.el (region-active-p): Check there's a mark (bug#17324).
900
901 * simple.el (completion-list-mode-map): Use choose-completion for the
902 mouse binding as well (bug#17302).
903 (completion-list-mode, completion-setup-function): Adjust docstring and
904 echo area message accordingly.
905 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
906 calling convention of choose-completion.
907 * comint.el (comint-dynamic-list-completions):
908 * term.el (term-dynamic-list-completions): Accept choose-completion.
909
910 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
911 &, |, +, - and * can't be a division (bug#17317).
912
913 * term/xterm.el (xterm--version-handler): Don't use modern xterm
914 features on gnome-terminal (bug#16988).
915
916 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
917
918 Improve Scheme font-locking for (define ((foo ...) ...) ...).
919
920 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
921 the declared object, ignore zero or more parens, not zero or one.
922
923 2014-04-24 Leo Liu <sdl.web@gmail.com>
924
925 * progmodes/xscheme.el (xscheme-expressions-ring)
926 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
927 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
928 (xscheme-allow-output-p, xscheme-prompt)
929 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
930
931 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
932 Comment out unused functions.
933
934 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * info.el: Use lexical-binding and cl-lib.
937 Use defvar-local and setq-local instead of make-local-variable.
938 (Info-apropos-matches): Avoid add-to-list.
939 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
940
941 2014-04-24 Daniel Colascione <dancol@dancol.org>
942
943 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
944
945 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
948
949 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
950
951 * dired.el (dired-insert-set-properties): Do not consider
952 subdirectory headings and empty lines to be information that
953 `dired-hide-details-mode' should hide. (Bug#17228)
954
955 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
956
957 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
958 Remove test messages.
959 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
960 and `target' twice.
961
962 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
965 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
966
967 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
968
969 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
970
971 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
972 Set "IFS=" when using read builtin, in order to preserve spaces in
973 the file name. Add test messages for hunting a bug on hydra.
974 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
975
976 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
979 Don't prettify a word within a symbol.
980
981 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
982
983 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
984 possible.
985
986 2014-04-22 Daniel Colascione <dancol@dancol.org>
987
988 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
989 use defun to define `function-put'.
990
991 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
994 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
995 (lisp-mode-variables): Set font-lock-extra-managed-props.
996
997 * emacs-lisp/byte-run.el (function-put): New function.
998 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
999 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1000 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1001 Use them.
1002
1003 2014-04-22 Daniel Colascione <dancol@dancol.org>
1004
1005 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1006 Add `full-p' parameter; when nil, call `macroexpand' instead of
1007 `macroexpand-all'.
1008
1009 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1010 Improve docstrings.
1011
1012 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1013 Use lambda function values, not quoted lambdas.
1014 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1015
1016 * emacs-lisp/cl-macs.el
1017 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1018 (cl-struct-slot-value): Conditionally use aref or nth so that the
1019 compiler produces optimal code.
1020
1021 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1024 (inline): Don't inline cl--set-elt.
1025 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1026 Define as inlinable instead.
1027 (cl-struct-set-slot-value): Remove.
1028
1029 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1030 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1031 Use setf instead.
1032
1033 2014-04-21 Daniel Colascione <dancol@dancol.org>
1034
1035 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1036 last two parameters after all.
1037 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1038 (cl--compiler-macro-assoc,cl-struct-slot-value)
1039 (cl-struct-set-slot-value): Stop using them.
1040
1041 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1044 entry in image-mode-winprops-alist.
1045
1046 2014-04-21 Daniel Colascione <dancol@dancol.org>
1047
1048 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1049 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1050 (byte-compile-toplevel-file-form): Use it.
1051
1052 * emacs-lisp/cl-macs.el:
1053 (cl--loop-let): Properly destructure `while' clauses.
1054
1055 2014-04-20 Daniel Colascione <dancol@dancol.org>
1056
1057 * vc/vc.el (vc-root-dir): New public autoloaded function for
1058 generically finding the current VC root.
1059 * vc/vc-hooks.el (vc-not-supported): New error.
1060 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1061
1062 2014-04-20 Daniel Colascione <dancol@dancol.org>
1063
1064 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1065 argument.
1066 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1067 argument in case we're inside a symbol-macrolet.
1068 (cl--do-arglist, cl--compiler-macro-typep)
1069 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1070 environment to `cl--const-expr-val'.
1071 (cl-struct-sequence-type,cl-struct-slot-info)
1072 (cl-struct-slot-offset, cl-struct-slot-value)
1073 (cl-struct-set-slot-value): New functions.
1074
1075 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1078 assignments such as "case=hello" (bug#17297).
1079
1080 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1081
1082 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1083 Do not autoload.
1084 (tramp-file-name-handler, tramp-completion-file-name-handler):
1085 Revert patch from 2014-04-10, it isn't necessary anymore.
1086 (tramp-autoload-file-name-handler)
1087 (tramp-register-autoload-file-name-handlers): New defuns.
1088 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1089 (tramp-register-file-name-handlers): Remove also
1090 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1091 Do not autoload its invocation, but eval it after loading of 'tramp.
1092
1093 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1094
1095 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1096
1097 2014-04-17 Daniel Colascione <dancol@dancol.org>
1098
1099 Add support for bracketed paste mode; add infrastructure for
1100 managing terminal mode enabling and disabling automatically.
1101
1102 * xt-mouse.el:
1103 (xterm-mouse-mode): Simplify.
1104 (xterm-mouse-tracking-enable-sequence)
1105 (xterm-mouse-tracking-disable-sequence): New constants.
1106 (turn-on-xterm-mouse-tracking-on-terminal)
1107 (turn-off-xterm-mouse-tracking-on-terminal):
1108 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1109 parameters instead of random hooks.
1110 (turn-on-xterm-mouse-tracking)
1111 (turn-off-xterm-mouse-tracking): Delete.
1112
1113 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1114 (xterm-paste-ending-sequence): New constant.
1115 (xterm-paste): New command used for bracketed paste support.
1116
1117 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1118 (terminal-init-xterm-bracketed-paste-mode): New function.
1119 (terminal-init-xterm): Call it.
1120 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1121 and tty-mode-reset-strings instead of random hooks.
1122 (xterm-turn-on-modify-other-keys)
1123 (xterm-turn-off-modify-other-keys)
1124 (xterm-remove-modify-other-keys): Delete obsolete functions.
1125
1126 * term/screen.el: Rewrite to just use the xterm code.
1127 Add copyright notice. Mention tmux.
1128
1129 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1130
1131 * image-mode.el (image-mode-window-put): Also update the property of
1132 the "default window".
1133 * doc-view.el (doc-view-new-window-function): If no window
1134 exists, move to the last known page.
1135
1136 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1139 here-documents (bug#17262).
1140
1141 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1142
1143 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1144 Provide doc strings, as required by snarf-documentation.
1145
1146 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1149 arg of overlays-at. Use `invisible-p'.
1150
1151 * obsolete/lucid.el (extent-at):
1152 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1153 overlays-at.
1154 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1155
1156 2014-04-16 João Távora <joaotavora@gmail.com>
1157
1158 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1159 links. (Bug#17217).
1160
1161 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1162
1163 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1164 Use mapc to loop over a vector. (Bug#17257).
1165
1166 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1169 patch, there are new problems with file names containing spaces.
1170 Get rid of backticks. (Bug#17238)
1171
1172 2014-04-16 João Távora <joaotavora@gmail.com>
1173
1174 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1175 possible bug.
1176
1177 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1178
1179 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1180 (blink-cursor-mode): Mention customization variables and the
1181 effect of 'blink-cursor-blinks'.
1182
1183 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1184
1185 * simple.el (undo): Prevent insertion of identity mapping into
1186 undo-equiv-table so as undo-only does not inf loop in the presence
1187 of consecutive nils in undo list.
1188
1189 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1190
1191 * faces.el (make-face): Deprecate optional argument as it is no
1192 longer needed/used since the conditional X resources handling
1193 has been pushed down to make-face-x-resource-internal itself.
1194 (make-empty-face): Don't pass optional argument to make-face.
1195
1196 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1197
1198 * savehist.el (savehist-save): Remove workaround for a read-passwd
1199 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1200 noticing that the shim was still present.
1201
1202 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1205
1206 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1207
1208 * faces.el (face-set-after-frame-default): Remove unused local variable.
1209
1210 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * progmodes/grep.el: Use lexical-binding.
1213 (grep-expand-template): Pass explicit lexical env to `eval'.
1214 (zrgrep): Let-bind grep-find-template explicitly.
1215
1216 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1217 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1218
1219 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1220
1221 * international/characters.el <standard-case-table>: Add entries
1222 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1223 Set category of Coptic characters be 'g' (Greek).
1224
1225 2014-04-12 Leo Liu <sdl.web@gmail.com>
1226
1227 * progmodes/octave.el (completion-table-with-cache):
1228 Define if not available.
1229 (octave-goto-function-definition, octave-sync-function-file-names)
1230 (octave-find-definition-default-filename):
1231 Backquote upattern for compatibility.
1232
1233 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1234
1235 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1236 name twice due to backticks. (Bug#17238)
1237
1238 2014-04-12 Glenn Morris <rgm@gnu.org>
1239
1240 * term/w32-win.el (x-win-suspend-error):
1241 * term/x-win.el (x-win-suspend-error): Sync docs.
1242
1243 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1244
1245 * faces.el (make-face): Remove deprecated optional argument.
1246 The conditional application of X resources is handled directly by
1247 make-face-x-resource-internal since Emacs 24.4.
1248 (make-empty-face): Don't pass optional argument to make-face.
1249
1250 2014-04-11 Glenn Morris <rgm@gnu.org>
1251
1252 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1253
1254 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 Ediff's overlay priorities cause more trouble than they solve.
1257 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1258 (ediff-highest-priority): Remove function (bug#17234).
1259 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1260 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1261 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1262 overlay priorities.
1263
1264 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1265
1266 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1267 entry; use symbol boundaries to avoid mis-matches.
1268
1269 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1270
1271 * net/tramp.el (tramp-file-name-handler)
1272 (tramp-completion-file-name-handler): Avoid recursive loading.
1273
1274 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1275 Quote result also locally.
1276
1277 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1280 Remove left-over code.
1281
1282 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1283 Reuse the previous comment's indentation unconditionally if it's on its
1284 own line.
1285
1286 2014-04-09 Daniel Colascione <dancol@dancol.org>
1287
1288 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1289 `no-syntax-crossing' arguments. Forward to `up-list'.
1290 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1291 Implement logic for escaping from strings. Use narrowing to deal
1292 with corner cases.
1293
1294 2014-04-09 Leo Liu <sdl.web@gmail.com>
1295
1296 * net/rcirc.el (rcirc-connection-info): New variable.
1297 (rcirc-connect): Use it to store connection info.
1298 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1299 for killed process.
1300 (rcirc-cmd-reconnect): New command. (Bug#17045)
1301 (rcirc-mode, set-rcirc-encode-coding-system)
1302 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1303
1304 2014-04-09 Daniel Colascione <dancol@dancol.org>
1305
1306 * emacs-lisp/cl-indent.el: Add comment claiming
1307 facility is also good for elisp.
1308 (lisp-indent-find-method): New function.
1309 (common-lisp-indent-function): Recognize cl-loop.
1310 (common-lisp-indent-function-1): Recognize cl constructs; use
1311 `lisp-indent-find-method' instead of `get' directly.
1312 (if): Use else-body style for elisp.
1313
1314 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1315
1316 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1317 Module methods. (Bug#17216)
1318
1319 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1322 (describe-bindings-internal): Mark obsolete.
1323
1324 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1327 buffer-file-name, and buffer-file-truename any more.
1328
1329 2014-04-08 Leo Liu <sdl.web@gmail.com>
1330
1331 Use lexical-binding and require cl-lib.
1332 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1333 (rcirc-handler-generic, rcirc-fill-paragraph)
1334 (rcirc-format-response-string, rcirc-target-buffer)
1335 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1336 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1337 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1338 (rcirc-markup-timestamp, rcirc-markup-attributes)
1339 (rcirc-markup-my-nick, rcirc-markup-urls)
1340 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1341 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1342 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1343 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1344 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1345 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1346 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1347 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1348 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1349 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1350 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1351 use cl-lib.
1352
1353 2014-04-07 João Távora <joaotavora@gmail.com>
1354
1355 * elec-pair.el (electric-pair--syntax-ppss):
1356 When inside comments parse from comment beginning.
1357 (electric-pair--balance-info): Fix typo in comment.
1358 (electric-pair--in-unterminated-string-p): Delete.
1359 (electric-pair--unbalanced-strings-p): New function.
1360 (electric-pair-string-bound-function): New var.
1361 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1362 according to `electric-pair--in-unterminated-string-p'
1363
1364 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1365 Inhibit quote pairing if point-max is inside an unterminated string.
1366 (electric-pair--looking-at-unterminated-string-p): Delete.
1367 (electric-pair--in-unterminated-string-p): New function.
1368
1369 2014-04-07 Glenn Morris <rgm@gnu.org>
1370
1371 * shell.el (shell-directory-tracker):
1372 Go back to just ignoring failures. (Bug#17159)
1373
1374 2014-04-07 João Távora <joaotavora@gmail.com>
1375
1376 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1377 backspace. (bug#16981)
1378 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1379 (electric-pair-backward-delete-char-untabify): Delete.
1380 (electric-pair-mode-map): Bind backspace to a menu item filtering
1381 a new `electric-pair-delete-pair' command.
1382 (electric-pair-delete-pair): New command.
1383
1384 * progmodes/python.el (python-electric-pair-string-delimiter):
1385 Fix triple-quoting electricity. (Bug#17192)
1386
1387 * elec-pair.el (electric-pair-post-self-insert-function):
1388 Don't skip whitespace when `electric-pair-text-pairs' and
1389 `electric-pair-pairs' were used. syntax to
1390 electric-pair--skip-whitespace. (Bug#17183)
1391
1392 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1393
1394 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1395 "<F>". (Bug#17199)
1396
1397 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1400 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1401
1402 2014-04-07 Glenn Morris <rgm@gnu.org>
1403
1404 * help.el (view-lossage): Doc tweak.
1405
1406 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1407
1408 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1409 only when inhibit-x-resources is nil, and do that earlier in the
1410 function. Doc fix. (Bug#16694)
1411 (face-spec-choose): Accept additional optional argument, whose
1412 value is returned if no matching attributes are found.
1413 (face-spec-recalc): Use the new optional argument when calling
1414 face-spec-choose. (Bug#16378)
1415 (make-face-x-resource-internal): Do nothing when
1416 inhibit-x-resources is non-nil. Don't touch the default face if
1417 reversed video is given--as was done in previous versions of Emacs.
1418 (face-set-after-frame-default): Don't call
1419 make-face-x-resource-internal here. (Bug#16434)
1420
1421 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1422
1423 * doc-view.el (doc-view-bookmark-jump):
1424 Use `bookmark-after-jump-hook' to jump to the right page after the
1425 buffer is shown in a window. (bug#16090)
1426
1427 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1428
1429 * international/characters.el (mirroring): Fix last change:
1430 instead of loading uni-mirrored.el explicitly, do that implicitly
1431 by creating the 'mirroring' uniprop table. This avoids announcing
1432 the loading of uni-mirrored.el.
1433
1434 2014-04-07 Glenn Morris <rgm@gnu.org>
1435
1436 * files.el (buffer-stale--default-function)
1437 (buffer-stale-function, revert-buffer--default):
1438 * autorevert.el (auto-revert-buffers): Doc tweaks.
1439
1440 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1441
1442 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1443
1444 2014-04-07 Glenn Morris <rgm@gnu.org>
1445
1446 * files.el (make-backup-file-name-function)
1447 (make-backup-file-name, make-backup-file-name--default-function)
1448 (make-backup-file-name-1, find-backup-file-name)
1449 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1450 (buffer-stale--default-function, buffer-stale-function)
1451 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1452 (revert-buffer, revert-buffer--default)
1453 (revert-buffer-insert-file-contents--default-function):
1454 Doc fixes related to defaults no longer being nil.
1455 (make-backup-file-name-function): Bump :version.
1456 Restore nil as a valid but deprecated custom type.
1457
1458 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1461 Handle $' used as a variable (bug#17174).
1462
1463 * progmodes/perl-mode.el (perl-indent-new-calculate):
1464 Handle forward-sexp failure (bug#16985).
1465 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1466 modifiers introducing expressions (bug#17116).
1467
1468 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1471
1472 2014-04-05 Leo Liu <sdl.web@gmail.com>
1473
1474 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1475 Add define-compilation-mode.
1476
1477 2014-04-04 João Távora <joaotavora@gmail.com>
1478
1479 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1480 parse from comment beginning.
1481 (electric-pair--balance-info): Fix typo in comment.
1482 (electric-pair--in-unterminated-string-p): Delete.
1483 (electric-pair--unbalanced-strings-p): New function.
1484 (electric-pair-string-bound-function): New var.
1485 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1486 according to `electric-pair--in-unterminated-string-p'.
1487
1488 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1491 Move declaration before first use.
1492 (reftex-move-to-next-arg): Silence compiler warning.
1493
1494 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1495
1496 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1497 Use `window-total-width' instead of `window-width'.
1498
1499 2014-04-03 Daniel Colascione <dancol@dancol.org>
1500
1501 * subr.el (set-transient-map): Remove rms's workaround entirely;
1502 use new `suspicious-object' subr to mark our lambda for closer
1503 scrutiny during gc.
1504
1505 2014-04-02 Richard Stallman <rms@gnu.org>
1506
1507 * subr.el (set-transient-map): Comment out previous change.
1508
1509 2014-04-02 Glenn Morris <rgm@gnu.org>
1510
1511 * menu-bar.el (menu-bar-file-menu):
1512 * vc/ediff.el (ediff-current-file):
1513 Update for revert-buffer-function no longer being nil by default.
1514
1515 * simple.el (command-execute): Respect nil disabled-command-function.
1516
1517 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1518
1519 * simple.el (command-execute): Do not execute the command when it
1520 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1521
1522 2014-04-02 Juri Linkov <juri@jurta.org>
1523
1524 * dired-aux.el (dired-compress-file): Don't use string-match-p
1525 because its match data is used afterwards.
1526
1527 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1530 0 like nil.
1531
1532 2014-04-02 João Távora <joaotavora@gmail.com>
1533
1534 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1535 Inhibit quote pairing if point-max is inside an unterminated string.
1536 (electric-pair--looking-at-unterminated-string-p):
1537 Delete.
1538 (electric-pair--in-unterminated-string-p): New function.
1539
1540 2014-04-01 Daniel Colascione <dancol@dancol.org>
1541
1542 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1543 when trying to complete the prompt.
1544
1545 2014-03-31 Leo Liu <sdl.web@gmail.com>
1546
1547 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1548 Refactor out eldoc-documentation-function-default.
1549 (eldoc-documentation-function-default): New function.
1550 (eldoc-documentation-function): Change value.
1551
1552 2014-03-31 Glenn Morris <rgm@gnu.org>
1553
1554 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1555
1556 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1557 (vhdl-compose-components-package, vhdl-compose-configuration):
1558 Abbreviate default-directory (missing from some previous upstream sync).
1559
1560 2014-03-31 Reto Zimmermann <reto@gnu.org>
1561
1562 Sync with upstream vhdl mode v3.35.2.
1563 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1564 (top-level): No longer require assoc.
1565 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1566 New functions. Use throughout to replace aget etc.
1567 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1568 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1569 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1570 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1571 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1572 except `vhdl-compiler'.
1573 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1574 when appropriate.
1575
1576 2014-03-31 Glenn Morris <rgm@gnu.org>
1577
1578 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1579 Revert 2014-03-26 merge goof; go back to using defalias.
1580
1581 2014-03-30 Daniel Colascione <dancol@dancol.org>
1582
1583 * comint.el (comint-send-input):
1584 Deactivate completion-in-region-mode before we send comint input.
1585 (Bug#17139).
1586
1587 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1588 on keyboard-quit.
1589
1590 2014-03-29 Glenn Morris <rgm@gnu.org>
1591
1592 * textmodes/reftex.el: Manage most autoloads automatically.
1593 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1594 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1595 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1596 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1597 * textmodes/reftex-toc.el: Set generated-autoload-file,
1598 and add autoload cookies for reftex.el.
1599 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1600
1601 2014-03-28 Glenn Morris <rgm@gnu.org>
1602
1603 * cus-start.el (report-emacs-bug-address): Set custom properties.
1604 * mail/emacsbug.el (report-emacs-bug-address):
1605 Variable is now defined in emacs.c.
1606
1607 * mail/emacsbug.el (report-emacs-bug):
1608 Include system-configuration-features.
1609
1610 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1611
1612 * simple.el (cycle-spacing): Never delete spaces on first run by
1613 default, but do so in a new 'fast mode and if there are already
1614 N spaces (the previous behavior).
1615 Compare N with its value in previous invocation so that changing
1616 prefix argument restarts `cycle-spacing' sequence.
1617 The idea is that with this change, binding M-SPC to
1618 `cycle-spacing' should not introduce any changes in behavior of
1619 the binding so long as users do not type M-SPC twice in a raw with
1620 the same prefix argument or lack thereof.
1621
1622 2014-03-28 Glenn Morris <rgm@gnu.org>
1623
1624 * faces.el (term-file-aliases): New variable.
1625 (tty-run-terminal-initialization): Respect term-file-aliases.
1626 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1627 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1628 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1629
1630 2014-03-27 Glenn Morris <rgm@gnu.org>
1631
1632 * startup.el (inhibit-startup-hooks): Doc tweak.
1633 (normal-top-level): Simplify running of hooks.
1634 For window-setup-hook, respect inhibit-startup-hooks.
1635 (command-line-1): Don't set window-setup-hook to nil.
1636
1637 Allow selective autoloading from obsolete/ directory.
1638 * Makefile.in (obsolete-autoloads): New rule.
1639 (autoloads): Run obsolete-autoloads.
1640 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1641 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1642
1643 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1644
1645 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1646 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1647
1648 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1649 Don't propertize `?' or `!' as symbol constituent when after
1650 colon. (Bug#17097)
1651
1652 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1653
1654 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1655 which is no longer needed and causes trouble in GTK builds (bug#17046).
1656
1657 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1658 Use url-insert-file-contents; package-handle-response no longer exists.
1659
1660 2014-03-26 Daniel Colascione <dancol@dancol.org>
1661
1662 * simple.el (process-menu-mode-map): New variable.
1663 (process-menu-delete-process): New command.
1664
1665 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1666
1667 * emacs-lisp/package.el: Fix bug#16733 (again).
1668 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1669 (url-http-target-url): Remove unused declarations.
1670 (package-handle-response): Remove.
1671 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1672 (package--download-one-archive): Use current-buffer instead of
1673 dynamic binding of `buffer'.
1674 (describe-package-1): Do not decode readme-string.
1675
1676 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1677
1678 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1679
1680 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1681 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1682 `remote-file-name-inhibit-cache' to nil in the second pass.
1683 (tramp-find-executable): Do not call "which" on SunOS.
1684 (tramp-send-command-and-check): Fix docstring.
1685 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1686 check whether source directory has set the sticky bit.
1687
1688 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1689
1690 * simple.el (primitive-undo): Only process marker adjustments
1691 validated against their corresponding (TEXT . POS). Issue warning
1692 for lone marker adjustments in undo history. (Bug#16818)
1693 (undo-make-selective-list): Add marker adjustments to selective
1694 undo list based on whether their corresponding (TEXT . POS) is in
1695 the region. Remove variable adjusted-markers, which was unused
1696 and only non nil during undo-make-selective-list.
1697 (undo-elt-in-region): Return nil when passed a marker adjustment
1698 and explain in function doc.
1699
1700 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1701
1702 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1703
1704 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1705
1706 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1707 Match special global variables without curlies, too.
1708 (ruby-font-lock-keywords): Simplify the matcher for special global
1709 variables. Don't require a non-word character after the variable.
1710 (Bug#17057)
1711
1712 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1713
1714 * simple.el (redisplay-highlight-region-function): Increase priority of
1715 overlay to make sure boundaries are visible (bug#15899).
1716
1717 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1720 (frameset-restore): Compare display strings with equal.
1721
1722 * frame.el (make-frame): Don't quote display name in error message,
1723 it is already a string.
1724
1725 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1726
1727 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1728 the password.
1729
1730 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * emacs-lisp/package.el (package--add-to-archive-contents):
1733 Include already installed and built-in packages in
1734 `package-archive-contents'.
1735 (package-install): Don't include already installed packages in the
1736 options during interactive invocation. (Bug#16762)
1737 (package-show-package-list): If the buffer is already displayed in
1738 another window, switch to that window.
1739
1740 2014-03-26 Reto Zimmermann <reto@gnu.org>
1741
1742 Sync with upstream vhdl mode v3.35.1.
1743 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1744 (vhdl-compiler-alist): Doc fix.
1745 (vhdl-goto-line): Remove.
1746 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1747 (vhdl-mode) <paragraph-start>: Fix value.
1748 (vhdl-fix-statement-region): Not `for' in wait-statement.
1749 (vhdl-beautify-region): Also (un)tabify.
1750 (vhdl-get-visible-signals):
1751 Scan declarative part of generate statements.
1752 (vhdl-template-record): Fix indentation for record type declaration.
1753 (vhdl-expand-abbrev, vhdl-expand-paren):
1754 Revert to using fset again rather than defalias.
1755 (vhdl-scan-directory-contents): Tweak.
1756 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1757 (vhdl-compose-components-package):
1758 Replace vhdl-goto-line with forward-line.
1759 (top-level): Tweak speedbar frame selection.
1760 (vhdl-generate-makefile-1): Support for compilers with no
1761 unit-to-file name mapping (create directory with dummy files).
1762
1763 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1764
1765 Sync with upstream verilog-mode revision 702457d.
1766 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1767 (create-lockfiles): Declare.
1768 (verilog-read-decls): Fix module header imports, bug709.
1769 Reported by Victor Lau.
1770 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1771 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1772 interface-only modules, bug721. Reported by Dean Hoyt.
1773
1774 2014-03-26 Glenn Morris <rgm@gnu.org>
1775
1776 * obsolete/gulp.el: Move here from emacs-lisp/.
1777
1778 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1779 Remove fallback aliases, since they are always defined now.
1780
1781 2014-03-24 Daniel Colascione <dancol@dancol.org>
1782
1783 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1784 instead of cl-loop search function.
1785
1786 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1787
1788 * calendar/parse-time.el (parse-time-iso8601-regexp)
1789 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1790 it more generally.
1791
1792 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1793
1794 * net/dns.el (network-interface-list): Define for XEmacs.
1795
1796 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1797
1798 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1799 the network interfaces changed.
1800 (dns-query): Use it to flush the data.
1801
1802 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1803
1804 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1805
1806 2014-03-23 Daniel Colascione <dancol@dancol.org>
1807
1808 Change subword-mode to use `find-word-boundary-function-table' and
1809 replace `capitalized-words-mode'. Also, convert to lexical
1810 binding.
1811
1812 * progmodes/cap-words.el: Delete now-obsolete file.
1813 * progmodes/subword.el: Reimplement using
1814 `find-word-boundary-function-table'.
1815 (subword-mode-map): Hollow out.
1816 (capitalized-words-mode): Define as obsolete alias for
1817 `subword-mode'.
1818 (subword-mode, superword-mode): Tweak documentation to reflect new
1819 implementation; call `subword-setup-buffer'.
1820 (subword-forward, subword-capitalize): Add underscore to indicate
1821 unused variable.
1822 (subword-find-word-boundary-function-table): New constant.
1823 (subword-empty-char-table): New constant.
1824 (subword-setup-buffer): New function.
1825 (subword-find-word-boundary): New function.
1826
1827 2014-03-23 Daniel Colascione <dancol@dancol.org>
1828
1829 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1830 list to look for keyword arguments instead of `memq', fixing
1831 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1832 Please make bootstrap.
1833
1834 2014-03-22 Glenn Morris <rgm@gnu.org>
1835
1836 * dired.el (dired-read-regexp): Make obsolete.
1837 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1838 (dired-flag-files-regexp):
1839 * dired-aux.el (dired-mark-read-regexp):
1840 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1841
1842 * startup.el (fancy-startup-text):
1843 * help.el (describe-gnu-project): Visit online info about GNU project.
1844
1845 * help-fns.el (help-fns--interactive-only): New function.
1846 (help-fns-describe-function-functions): Add the above function.
1847 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1848 (next-line, previous-line): Remove hand-written interactive-only
1849 information from doc strings, it is auto-generated now.
1850 * bookmark.el (bookmark-write):
1851 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1852 (epa-mail-import-keys): Mark interactive-only,
1853 and remove hand-written interactive-only information from doc strings.
1854 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1855 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1856 * files.el (not-modified):
1857 * simple.el (mark-whole-buffer): Mark interactive-only.
1858
1859 * emacs-lisp/byte-run.el (defun-declarations-alist):
1860 Add interactive-only. Doc tweak.
1861 (macro-declarations-alist): Doc tweak.
1862 * subr.el (declare): Doc tweak (add xref to manual).
1863 * comint.el (comint-run):
1864 * files.el (insert-file-literally, insert-file):
1865 * replace.el (replace-string, replace-regexp):
1866 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1867 (delete-forward-char, goto-line, insert-buffer, next-line)
1868 (previous-line): Set interactive-only via declare.
1869
1870 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * emacs-lisp/package.el (package-desc): Use the contents of the
1873 quoted form, not its cdr. (Bug#16873)
1874
1875 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1878 benefit of doc.c; change parameter profile to match the X function.
1879
1880 2014-03-22 Leo Liu <sdl.web@gmail.com>
1881
1882 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1883 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1884
1885 2014-03-21 Richard Stallman <rms@gnu.org>
1886
1887 * battery.el (battery-linux-sysfs): Search for each field
1888 from the beginning of the buffer.
1889
1890 * subr.el (set-transient-map): Clear out function and value
1891 of the temporary symbol when we're done with it.
1892
1893 * mail/rmailsum.el (rmail-summary-delete-forward):
1894 Optimize case of reaching end and handling count.
1895 (rmail-summary-mark-deleted): Optimize when N is current msg.
1896 Don't create new summary line.
1897 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1898 (rmail-summary-undelete-many): Rewrite for speed.
1899 (rmail-summary-msg-number): New function.
1900
1901 * mail/rmail.el (rmail-delete-message): Update summary.
1902 (rmail-undelete-previous-message): Handle repeat count arg.
1903 (rmail-delete-backward, rmail-delete-forward): Likewise.
1904
1905 2014-03-21 Daniel Colascione <dancol@dancol.org>
1906
1907 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1908 information in bug reports.
1909
1910 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1911
1912 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1913 and `tramp-copy-env'.
1914
1915 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1916 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1917
1918 2014-03-21 Glenn Morris <rgm@gnu.org>
1919
1920 * electric.el (electric-indent-post-self-insert-function): Add doc.
1921
1922 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1923
1924 * emacs-lisp/package.el (package-compute-transaction):
1925 Use `version-list-<=' to compare the requirement version against
1926 the version of package already to be installed. Update the error
1927 message. (Bug#16826)
1928
1929 * progmodes/ruby-mode.el (ruby-smie-rules):
1930 Add indentation rule for ` @ '. (Bug#17050)
1931
1932 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1933
1934 * align.el (align-regexp): Remove superfluous backslash.
1935
1936 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1937 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1938 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1939 Fix docstring typos.
1940 (ffap-next): Use C-u in docstring.
1941 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1942 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1943 Remove superfluous backslashes.
1944 (ffap-string-at-point): Reflow docstring.
1945
1946 * server.el (server-host): Reflow docstring.
1947 (server-unload-function): Fix docstring typo.
1948 (server-eval-at): Remove superfluous backslash.
1949
1950 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1951 (skeleton-insert): Doc fix.
1952 (skeleton-insert): Reflow docstring.
1953
1954 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1955 (tty-color-approximate, tty-color-by-index, tty-color-values)
1956 (tty-color-desc): Remove superfluous backslashes.
1957
1958 2014-03-21 Glenn Morris <rgm@gnu.org>
1959
1960 * cus-start.el (history-length): Bump :version.
1961
1962 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1963 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1964 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1965 Don't set `make-backup-files'.
1966
1967 * info.el (info--prettify-description): New function,
1968 to give info-finder descriptions consistent case, punctuation.
1969 (Info-finder-find-node): Use it. Sort packages.
1970 Refer to "description" rather than "commentary".
1971
1972 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * frameset.el (frameset--print-register): New function.
1975 (frameset-to-register): Use it.
1976
1977 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1978
1979 * progmodes/hideif.el (hif-string-to-number): New function.
1980 (hif-tokenize): Use it to understand non-decimal floats.
1981
1982 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1983
1984 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1985
1986 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * electric.el (electric-newline-and-maybe-indent): New command.
1989 Bind it globally to C-j.
1990 (electric-indent-mode): Don't mess with the global map any more.
1991 Don't drop the post-self-insert-hook is some buffer is still using it
1992 (bug#16770).
1993
1994 * bindings.el (global-map): Remove C-j binding.
1995
1996 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1997 the docstring of functions advised before dumping (bug#16993).
1998
1999 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2000
2001 * ps-print.el (ps-generate-postscript-with-faces):
2002 Explicitly deactivate the mark (bug#16866).
2003 * simple.el (deactivate-mark): Update region highlight.
2004
2005 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2006
2007 * emacs-lisp/package.el (describe-package-1):
2008 Decode commentary (bug#16733).
2009
2010 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2011
2012 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2013 modification of the value argument of :set (bug#16755).
2014
2015 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * simple.el (newline-and-indent): Do autofill (bug#17031).
2018
2019 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * newcomment.el (comment-normalize-vars): Only add escaping check
2022 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2023 (comment-beginning): Use `narrow-to-region' instead of moving back
2024 one character.
2025 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2026 (comment-start-skip): Update the docstring.
2027
2028 2014-03-18 Richard Stallman <rms@gnu.org>
2029
2030 * dired.el (dired-display-file): Force use of other window.
2031
2032 2014-03-18 Daniel Colascione <dancol@dancol.org>
2033
2034 * startup.el (tty-handle-args): Remove debug message from 2007.
2035
2036 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2039 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2040 (advice--make-1, advice-add, advice-remove):
2041 Remove braindead :advice-pending hack.
2042
2043 2014-03-17 Glenn Morris <rgm@gnu.org>
2044
2045 * calendar/calendar.el (calendar-generate-month): Apply weekend
2046 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2047
2048 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2049
2050 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2051 (tramp-call-process): Trace also DESTINATION.
2052
2053 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2054 Quote file names when they are local. Remove superfluous trace.
2055
2056 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * newcomment.el (comment-beginning): If `comment-start-skip'
2059 doesn't match, move back one char and try again. (Bug#16971)
2060
2061 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2062 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2063 Set `comment-start-skip' to a simpler value that doesn't try to
2064 check if the semicolon is escaped (this is handled by
2065 `syntax-ppss' now). (Bug#16971)
2066
2067 * progmodes/scheme.el (scheme-mode-variables): Same.
2068
2069 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2070
2071 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2072 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2073 current (Bug#16816, Bug#17007).
2074 (with-current-buffer-window): New macro doing the same as
2075 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2076 * help.el (help-print-return-message): Warn in doc-string to not
2077 use this in `with-help-window'.
2078 (describe-bindings-internal): Call `describe-buffer-bindings'
2079 from within help buffer. See Juanma's scenario in (Bug#16816).
2080 (with-help-window): Update doc-string.
2081 * dired.el (dired-mark-pop-up):
2082 * files.el (save-buffers-kill-emacs):
2083 * register.el (register-preview): Use `with-current-buffer-window'
2084 instead of `with-temp-buffer-window'.
2085
2086 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2087
2088 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2089 Implement inserting into current buffer, documented in their docstrings.
2090 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2091 (rst-section-tree-point, rst-forward-section, rst-indent)
2092 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2093 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2094 (rst-font-lock-handle-adornment-pre-match-form)
2095 (rst-repeat-last-character): Reflow docstrings.
2096 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2097 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2098 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2099 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2100 Fix docstring typos.
2101 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2102 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2103 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2104
2105 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2106
2107 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2108 for compatibility with other ports.
2109 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2110 from the -xrm command line argument, but in the Nextstep port its value
2111 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2112
2113 * progmodes/python.el (defconst, python-syntax-count-quotes)
2114 (python-indent-region, python-indent-shift-right)
2115 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2116 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2117 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2118 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2119 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2120 (python-shell-buffer-substring, python-shell-send-buffer)
2121 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2122 (python-completion-complete-at-point, python-fill-docstring-style)
2123 (python-eldoc-function, python-imenu-format-item-label)
2124 (python-imenu-format-parent-item-label)
2125 (python-imenu-format-parent-item-jump-label)
2126 (python-imenu--build-tree, python-imenu-create-index)
2127 (python-imenu-create-flat-index): Fix docstring typos.
2128 (python-indent-context, python-shell-prompt-regexp, run-python):
2129 Remove superfluous backslashes.
2130 (python-indent-line, python-nav-beginning-of-defun)
2131 (python-shell-get-buffer, python-shell-get-process)
2132 (python-info-current-defun, python-info-current-line-comment-p)
2133 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2134 (python-indent-post-self-insert-function, python-shell-send-file)
2135 (python-shell-completion-get-completions)
2136 (python-shell-completion-complete-or-indent)
2137 (python-eldoc--get-doc-at-point): Reflow docstrings.
2138
2139 2014-03-14 Glenn Morris <rgm@gnu.org>
2140
2141 * emacs-lisp/package.el (package-menu-mode-map):
2142 Replace use of obsolete function alias. Tweak menu item text.
2143
2144 * info.el (Info-finder-find-node):
2145 Ignore the `emacs' metapackage. (Bug#10813)
2146
2147 * finder.el (finder-list-matches): Include unversioned packages
2148 in the result of a keyword search.
2149
2150 * finder.el (finder--builtins-descriptions): New constant.
2151 (finder-compile-keywords): Use finder--builtins-descriptions.
2152
2153 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * simple.el (blink-matching-paren): Describe the new value,
2156 `jump', enabling the old behavior.
2157 (blink-matching-open): Use that value. (Bug#17008)
2158
2159 2014-03-14 Glenn Morris <rgm@gnu.org>
2160
2161 * finder.el (finder-no-scan-regexp): Add leim-list.
2162 (finder-compile-keywords):
2163 Don't skip files with same basename. (Bug#14010)
2164 * Makefile.in (setwins_finder): New, excluding leim.
2165 (finder-data): Use setwins_finder.
2166
2167 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2168 (help-function-arglist, help-make-usage): Move from here...
2169 * help.el (help-split-fundoc, help-add-fundoc-usage)
2170 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2171 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2172
2173 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2174
2175 * net/socks.el (socks, socks-override-functions)
2176 (socks-find-services-entry):
2177 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2178 (hif-find-ifdef-block):
2179 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2180
2181 * net/tls.el (tls-program): Reflow docstring.
2182
2183 * progmodes/pascal.el (pascal-mode-abbrev-table)
2184 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2185 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2186 (pascal-outline-mode): Fix docstring typos.
2187 (pascal-mode): Let define-derived-mode document mode hook.
2188 (pascal-uncomment-area): Reflow.
2189 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2190
2191 * progmodes/opascal.el (opascal-compound-block-indent)
2192 (opascal-case-label-indent): Fix docstring typos.
2193 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2194
2195 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2196
2197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2198 Fontify multiple adjacent negation chars. (Bug#17004)
2199
2200 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2201
2202 * emacs-lisp/package.el (package--prepare-dependencies):
2203 Accept requirements without explicit version (bug#14941).
2204
2205 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2206
2207 * register.el (register-separator, copy-to-register): Doc fixes.
2208 (register-preview-default): Remove unnecessary call to concat.
2209
2210 * frameset.el (frameset-restore): When checking for a visible frame,
2211 use the action map instead of calling visible-frame-list.
2212
2213 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2214
2215 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2216
2217 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2218
2219 * window.el (fit-frame-to-buffer): Get maximum width from
2220 display's width instead of height.
2221
2222 2014-03-12 Glenn Morris <rgm@gnu.org>
2223
2224 * desktop.el (desktop-restore-frames)
2225 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2226 (desktop-restore-reuses-frames): Doc tweaks.
2227
2228 * electric.el (electric-indent-mode): Doc fix.
2229
2230 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2231
2232 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2233 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2234 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2235 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2236 (cvs-dired-use-hook): Fix docstring typos.
2237 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2238 Doc fixes.
2239
2240 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2241 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2242 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2243 (cvs-execute-single-dir): Fix docstring typos.
2244
2245 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2246 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2247
2248 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2249
2250 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2251 Fix docstring typos.
2252
2253 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2254
2255 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2256 called from jump-to-register after unloading the frameset package.
2257
2258 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2261 (bug#16975). Deactivate the mark before setting it to nil.
2262 (activate-mark): Do nothing if region is already active.
2263
2264 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2265
2266 * frameset.el (frameset--target-display): Remove definition; declare.
2267 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2268
2269 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2272 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2273 when the advice is pending.
2274 (advice-remove): Remove this marker when not needed any more.
2275
2276 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * frameset.el: Separate options for reusing frames and cleaning up.
2279 (frameset--reuse-list): Remove definition; declare.
2280 (frameset--action-map): Declare.
2281 (frameset--find-frame-if): Doc fix.
2282 (frameset--restore-frame): Cache frame action.
2283 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2284 how to clean up the frame list after restoring. Remove cleaning
2285 options from REUSE-FRAMES. Change all keyword values to symbols.
2286 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2287
2288 * desktop.el (desktop-restore-forces-onscreen)
2289 (desktop-restore-reuses-frames): Use non-keyword values.
2290 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2291
2292 2014-03-10 Glenn Morris <rgm@gnu.org>
2293
2294 * files.el (find-file): Doc fix: update info node name.
2295
2296 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2297 Doc fix: remove references to deleted info nodes.
2298
2299 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2302 Do not add `nil' to the environment, when there's no remote `locale'.
2303 (tramp-find-inline-encoding): Check, that the remote host has
2304 installed perl, before sending scripts.
2305
2306 2014-03-10 Leo Liu <sdl.web@gmail.com>
2307
2308 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2309 Clear eldoc-last-message. (Bug#16920)
2310
2311 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2314 (bug#14430).
2315
2316 2014-03-09 Juri Linkov <juri@jurta.org>
2317
2318 * ansi-color.el (ansi-color-names-vector): Copy default colors
2319 from `xterm-standard-colors' that look well on the default white
2320 background (and also on the black background) to avoid illegible
2321 color combinations like yellow-on-white and white-on-white.
2322 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2323
2324 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2325
2326 * frameset.el (frameset-restore): When no frame is visible, do not
2327 generate a list of frames, just make visible the selected one.
2328
2329 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2330
2331 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2332 it only contains the repository root. (Bug#16897)
2333
2334 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2335
2336 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2337 only when `remote-file-name-inhibit-cache' is nil.
2338 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2339
2340 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2341
2342 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2343 Fix doc-strings.
2344 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2345 fit-frame-to-buffer variable. Fix doc-string.
2346 (fit-window-to-buffer): Set ONLY argument in call of
2347 fit-frame-to-buffer. Fix doc-string.
2348
2349 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2350
2351 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2352 (tramp-action-password): Clear password cache if needed.
2353 (tramp-read-passwd): Do not clear password cache.
2354
2355 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2356 cache unless it is the first password request.
2357
2358 2014-03-06 Glenn Morris <rgm@gnu.org>
2359
2360 * simple.el (newline): Doc tweak.
2361
2362 * emacs-lisp/shadow.el (load-path-shadows-find):
2363 Ignore dir-locals. (Bug#12357)
2364
2365 2014-03-05 Glenn Morris <rgm@gnu.org>
2366
2367 * files.el (interpreter-mode-alist):
2368 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2369
2370 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * frameset.el (frameset--initial-params): Filter out null entries.
2373
2374 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2375
2376 * window.el (window-min-height, window-min-width):
2377 Rewrite doc-strings.
2378 (window-body-size): Add PIXELWISE argument to make it consistent
2379 with its callees.
2380
2381 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2382
2383 * finder.el (finder-mode-map, finder-mode-syntax-table):
2384 Revert part of 2014-02-28 change.
2385
2386 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2387
2388 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2389 (eww-setup-buffer): Clear next/prev/etc more reliably.
2390 (eww-textarea-map): [tab] doesn't work on tty.
2391 Reported by Mario Lang.
2392
2393 * net/shr.el (shr-map): Ditto.
2394
2395 2014-03-04 Glenn Morris <rgm@gnu.org>
2396
2397 * minibuffer.el (completion-hilit-commonality):
2398 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2399
2400 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2401
2402 * hilit-chg.el (hilit-chg-unload-function): New function.
2403 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2404 (hilit-chg-map-changes): Prefer cardinal number to digit.
2405 (hilit-chg-display-changes): Reflow docstring.
2406 (highlight-changes-rotate-faces): Remove superfluous backslash.
2407
2408 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2411 `tramp-send-command-and-check'.
2412
2413 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2414
2415 * hexl.el (hexl-address-region, hexl-ascii-region)
2416 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2417 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2418 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2419 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2420 (hexl-mode): Doc fix.
2421 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2422 (hexl-mode-ruler): Fix typos in docstrings.
2423
2424 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2425 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2426 Remove superfluous backslashes.
2427 (strokes-last-stroke, strokes-global-map, strokes-mode):
2428 Reflow docstrings.
2429 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2430 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2431 (strokes-distance-squared, strokes-global-set-stroke)
2432 (strokes-global-set-stroke-string): Doc fixes.
2433 (strokes-help): Fix typos; reflow docstring.
2434
2435 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2436
2437 * window.el (window-in-direction): Fix doc-string.
2438
2439 2014-03-04 Glenn Morris <rgm@gnu.org>
2440
2441 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2442 Explicit error if no grammar.
2443 (smie-config-save): Doc fix. Fix quote typo.
2444
2445 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2448 electric-indent-mode-hook if we obey electric-indent-mode.
2449 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2450 decide whether we obey electric-indent-mode.
2451 (c-change-set-fl-decl-start, c-extend-after-change-region):
2452 Silence warnings.
2453 (c-electric-indent-mode-hook): Assume we do want to obey
2454 electric-indent-mode.
2455
2456 * electric.el (electric-indent-mode-has-been-called): Remove.
2457 (electric-indent-mode): Fix accordingly.
2458
2459 * files.el (hack-local-variables): Mention file name in warning.
2460
2461 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2462
2463 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2464
2465 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2466 * simple.el (delete-forward-char): Mark as interactive-only.
2467
2468 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2469
2470 * icomplete.el (icomplete-completions):
2471 Follow-up to 2014-03-01 change.
2472
2473 * icomplete.el: Miscellaneous doc fixes.
2474 Use Icomplete everywhere instead of icomplete for consistency.
2475 (icomplete-max-delay-chars): Fix typo.
2476 (icomplete-mode): Use \[].
2477 (icomplete-tidy, icomplete-exhibit): Reflow.
2478 (icomplete-minibuffer-setup-hook, icomplete-completions):
2479 Remove superfluous backlashes.
2480
2481 * ido.el: Miscellaneous doc fixes.
2482 Use Ido everywhere instead of ido or `ido' for consistency.
2483 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2484 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2485 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2486 (ido-separator): Extract obsolescence info from docstring and declare
2487 with make-obsolete-variable.
2488 (ido-minibuffer-setup-hook): Simplify example.
2489 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2490 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2491 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2492 (ido-everywhere): Reflow docstring.
2493 (ido-toggle-vc): Doc fix.
2494 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2495 of long list of keybindings.
2496
2497 2014-03-03 Glenn Morris <rgm@gnu.org>
2498
2499 * frame.el (display-pixel-height, display-pixel-width)
2500 (display-mm-dimensions-alist, display-mm-height)
2501 (display-mm-width): Doc tweaks.
2502
2503 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2504
2505 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2506 case of undo in region.
2507
2508 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2509
2510 * window.el (fit-window-to-buffer): Fix argument in window-size
2511 call when window is horizontally combined.
2512
2513 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2514
2515 * icomplete.el (icomplete-completions): Use string-width.
2516 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2517
2518 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2519
2520 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2521 Highlight regexp options. (Bug#16914)
2522
2523 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2524
2525 * window.el (window--max-delta-1): Round down when calculating
2526 how many lines/columns we can get from a window.
2527
2528 2014-03-01 Glenn Morris <rgm@gnu.org>
2529
2530 * isearch.el (search-invisible): Doc fix.
2531
2532 * minibuffer.el (completion-hilit-commonality):
2533 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2534 * comint.el (comint-dynamic-list-completions): Doc fix.
2535 * comint.el (comint-dynamic-list-completions):
2536 * filecache.el (file-cache-minibuffer-complete):
2537 * tempo.el (tempo-display-completions):
2538 * eshell/em-hist.el (eshell-list-history):
2539 Replace use of obsolete argument of display-completion-list.
2540
2541 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2542
2543 * icomplete.el (icomplete-completions):
2544 Revert back to using "..." when ?… cannot be displayed.
2545
2546 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2547
2548 * finder.el (finder-unload-function): New function.
2549
2550 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * dframe.el (dframe-detach):
2553 * find-dired.el (find-dired, find-name-dired):
2554 * finder.el (finder-mode-map, finder-mode-syntax-table)
2555 (finder-headmark, finder-select, finder-mouse-select):
2556 Fix docstring typos.
2557
2558 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2559
2560 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2561 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2562 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2563 Fix doc-string based on a suggestion by Nicolas Richard
2564 <theonewiththeevillook@yahoo.fr>.
2565 * help.el (with-help-window): Fix doc-string.
2566
2567 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2568
2569 * net/shr.el (shr-image-animate): New option.
2570 (shr-put-image): Respect shr-image-animate.
2571
2572 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2573
2574 * net/tramp-adb.el (tramp-adb-parse-device-names):
2575 Use `accept-process-output'.
2576 (tramp-adb-handle-file-truename): Cache the localname only.
2577 (tramp-adb-handle-make-directory)
2578 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2579 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2580 modes cannot be changed.
2581
2582 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2583 file properties of symlinks.
2584
2585 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2586
2587 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2588 required/optional fields to match development biblatex. (Bug#16781)
2589
2590 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2591
2592 * saveplace.el (toggle-save-place):
2593 Fix argument handling. (Bug#16673)
2594
2595 2014-02-28 Glenn Morris <rgm@gnu.org>
2596
2597 * minibuffer.el (completions-first-difference)
2598 (completions-common-part, completion-hilit-commonality): Doc fixes.
2599
2600 2014-02-28 Karl Berry <karl@gnu.org>
2601
2602 * info.el (Info-mode-map): Add H for describe-mode,
2603 to synchronize with standalone Info.
2604
2605 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2606
2607 * progmodes/sql.el (sql-interactive-mode):
2608 Avoid setting global comint-input-ring-separator. (Bug#16814)
2609
2610 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2611
2612 * net/dbus.el (dbus--init-bus): Declare function.
2613 (dbus-path-local, dbus-interface-local): New defconst.
2614 (dbus-init-bus): Use them.
2615 (dbus-return-values-table): Extend doc.
2616 (dbus-handle-bus-disconnect): Extend error message.
2617
2618 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * subr.el (y-or-n-p): Fix double space issue in message.
2621
2622 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * net/tramp.el (tramp-call-process): Improve trace message.
2625 (tramp-handle-insert-file-contents): Trace error case.
2626
2627 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2628 <insert-directory>: Use `tramp-handle-insert-directory'.
2629 (tramp-adb-handle-insert-directory): Remove function.
2630 (tramp-adb-send-command-and-check): New defun, replacing
2631 `tramp-adb-command-exit-status'. Change all callees.
2632 (tramp-adb-handle-file-attributes)
2633 (tramp-adb-handle-directory-files-and-attributes): Use it.
2634 (tramp-adb-ls-output-name-less-p):
2635 Use `directory-listing-before-filename-regexp'.
2636 (tramp-adb-handle-delete-directory): Flush also file properties of
2637 the truename of directory.
2638 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2639 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2640 (tramp-adb-handle-write-region): Implement APPEND.
2641 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2642 properties correctly.
2643 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2644 variables. Check for connected devices only when needed.
2645
2646 2014-02-27 Glenn Morris <rgm@gnu.org>
2647
2648 * minibuffer.el (completion-table-dynamic)
2649 (completion-table-with-cache): Doc fixes.
2650
2651 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2652 (completing-read-multiple): Doc fixes.
2653
2654 2014-02-27 Daniel Colascione <dancol@dancol.org>
2655
2656 * minibuffer.el (completion--nth-completion): Fix indentation.
2657
2658 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2659 explicit tramp path is empty.
2660
2661 2014-02-27 Glenn Morris <rgm@gnu.org>
2662
2663 * emacs-lisp/crm.el (completing-read-multiple):
2664 Empower help-enable-auto-load.
2665
2666 2014-02-26 Glenn Morris <rgm@gnu.org>
2667
2668 * startup.el (command-line): Don't init the tty in daemon mode.
2669
2670 Avoid calling tty-setup-hook twice, eg if a term file
2671 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2672 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2673 (tty-create-frame-with-faces): Use it.
2674 * startup.el (command-line): Pass run-hook argument
2675 to tty-run-terminal-initialization.
2676
2677 * dired.el (dired-restore-desktop-buffer): Demote errors;
2678 eg in case a glob match fails. (Bug#16884)
2679
2680 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2681
2682 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2683 error from `read-from-string'. (Bug#16850)
2684
2685 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2686 result of `completing-read' in the interactive form. (Bug#16854)
2687
2688 2014-02-25 Glenn Morris <rgm@gnu.org>
2689
2690 * image.el (image-animate, image-animate-timeout):
2691 Stop animating images in dead buffers. (Bug#16878)
2692
2693 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2694
2695 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2696 Doc fixes.
2697 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2698 * term/sun.el (sun-raw-prefix-hooks):
2699 Use tty-setup-hook instead of term-setup-hook.
2700 (terminal-init-sun): Construct message from bytecomp plist.
2701 * term/wyse50.el (enable-arrow-keys): Doc fix.
2702
2703 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2704
2705 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2706 Fix docstring typos.
2707
2708 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2711
2712 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2713
2714 * minibuffer.el (completion--try-word-completion):
2715 Fix error when completing M-x commands (bug#16808).
2716
2717 2014-02-24 Leo Liu <sdl.web@gmail.com>
2718
2719 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2720
2721 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2722
2723 * apropos.el (apropos-print): Avoid formatting error when
2724 apropos-do-all and apropos-compact-layout are both t.
2725
2726 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2727
2728 * apropos.el (apropos-property, apropos-all-words-regexp)
2729 (apropos-true-hit, apropos-variable, apropos-print):
2730 Fix docstring typos, and remove obsolete comment.
2731
2732 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2733
2734 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2735 Preserve trailing "/". (Bug#16851)
2736
2737 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2740 after `=>' (bug#16811).
2741 (ruby-smie-rules): Handle the inconsistent second element of the
2742 list returned by `smie-indent--parent'.
2743 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2744 method call.
2745
2746 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2747
2748 * elec-pair.el (electric-pair-text-syntax-table)
2749 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2750 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2751 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2752 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2753
2754 2014-02-22 Glenn Morris <rgm@gnu.org>
2755
2756 * imenu.el (imenu--generic-function): Doc fix.
2757
2758 * register.el (frame-configuration-to-register): Make obsolete.
2759
2760 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * desktop.el (desktop-save-buffer-p): Do not fail when
2763 desktop-files-not-to-save is nil. Return t for true result
2764 as the doc says.
2765
2766 2014-02-22 Daniel Colascione <dancol@dancol.org>
2767
2768 * net/secrets.el (secrets-create-item, secrets-search-items):
2769 Check that attribute values are strings, avoiding the construction
2770 of invalid dbus messages.
2771
2772 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2773
2774 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2775 defun-declarations-alist.
2776
2777 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2780 (bug#16829).
2781
2782 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2783
2784 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2785 (whitespace-newline, whitespace-trailing, whitespace-line)
2786 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2787 (whitespace-space-after-tab): Fix typo in docstrings.
2788
2789 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2790
2791 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2792
2793 * electric.el (electric-indent-functions-without-reindent):
2794 Add `yaml-indent-line'.
2795
2796 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2797
2798 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2799 It has done nothing for years; should be removed after the release.
2800
2801 * simple.el (choose-completion): Fix docstring typo.
2802 (read-quoted-char-radix): Remove unneeded * in docstring.
2803 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2804 Don't escape parentheses unnecessarily in docstrings.
2805
2806 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2807
2808 Fix handling of window-min-height/-width (Bug#16738).
2809 * window.el (window--dump-window, window--dump-frame):
2810 New functions.
2811 (window--min-size-1): Account for window dividers.
2812 When window-resize-pixelwise is nil, delay rounding till after the
2813 sum of the window components has been calculated.
2814 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2815 nil make sure at least one text line and two text columns remain
2816 fully visible.
2817 (window-resize): Signal an error when window-resize-apply fails.
2818 (window--resize-child-windows): Fix calculation of by how many
2819 pixels a window can still be shrunk via window-new-normal.
2820 (adjust-window-trailing-edge): Call window--resizable with
2821 correct TRAIL argument.
2822
2823 (with-temp-buffer-window): Don't evaluate BODY within
2824 with-current-buffer (Bug#16816).
2825
2826 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp.el (tramp-check-cached-permissions):
2829 Call `file-attributes' with `suffix' being a symbol but a string.
2830
2831 2014-02-21 Daniel Colascione <dancol@dancol.org>
2832
2833 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2834 (dbus-init-bus): New function: call into dbus-init-bus-1
2835 and installs a handler for the disconnect signal.
2836 (dbus-call-method): Rewrite to look for result in cons.
2837 (dbus-call-method-handler): Store result in cons.
2838 (dbus-check-event): Recognize events with nil sender as valid.
2839 (dbus-handle-bus-disconnect): New function. React to bus
2840 disconnection signal by synthesizing dbus error for each
2841 pending synchronous or asynchronous call.
2842 (dbus-notice-synchronous-call-errors): New function.
2843 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2844 is true, not all the time.
2845
2846 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2847
2848 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2849 Remove obsolescence declarations, these variables do not exist anymore.
2850
2851 * savehist.el (savehist-save-minibuffer-history)
2852 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2853 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2854 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2855 mostly, refer to "Savehist mode" when talking about the mode,
2856 and not the function.
2857
2858 * saveplace.el (save-place): Remove redundant info in docstring.
2859 (save-place-forget-unreadable-files, toggle-save-place)
2860 (save-place-forget-unreadable-files, save-place-dired-hook):
2861 Fix typos and remove unneeded backslashes.
2862
2863 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2866 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2867
2868 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2869 <insert-directory>: Use `tramp-handle-insert-directory'.
2870 (tramp-gvfs-handle-insert-directory): Remove function.
2871
2872 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2873 Call `tramp-handle-insert-directory'.
2874
2875 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2876
2877 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2878 before the start of buffer/region (bug#16799).
2879
2880 2014-02-20 Glenn Morris <rgm@gnu.org>
2881
2882 * isearch.el (search-invisible): Doc fix.
2883
2884 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2885
2886 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2887 (bug#16657).
2888
2889 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2890
2891 * frameset.el (frameset-restore): Delay removing an old frame's
2892 duplicate id until the new frame has been correctly created.
2893
2894 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2895
2896 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2897 (tramp-check-cached-permissions): Call `file-attributes' if the
2898 cache is empty.
2899
2900 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2901 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2902
2903 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2904 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2905 (tramp-gvfs-maybe-open-connection): Set always connection
2906 properties, even if target is mounted already.
2907
2908 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2909 Set tramp-autoload cookie.
2910 (tramp-get-remote-touch): New defun.
2911 (tramp-sh-handle-set-file-times): Use it.
2912 (tramp-sh-handle-directory-files-and-attributes):
2913 Use `tramp-handle-directory-files-and-attributes' if neither stat
2914 nor perl are available on the remote host.
2915
2916 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2917 "/". Write long listing only when "l" belongs to the switches.
2918
2919 * net/trampver.el: Update release number.
2920
2921 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2922
2923 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2924
2925 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2926
2927 * window.el (window-state-put): Allow WINDOW to refer to an
2928 internal window (Bug#16793).
2929
2930 2014-02-19 Glenn Morris <rgm@gnu.org>
2931
2932 * textmodes/remember.el: Move provide statement to end.
2933 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2934 (remember-notes): Doc fixes.
2935
2936 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * delsel.el (delete-char): Restore incorrectly erased property
2939 (bug#16795).
2940
2941 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2942
2943 * frameset.el (frameset--restore-frame): When a frame is being reused
2944 and its root window is not alive, delete all the frame's windows before
2945 restoring the window state. This works around the issue in bug#16793.
2946
2947 2014-02-18 Glenn Morris <rgm@gnu.org>
2948
2949 * textmodes/remember.el (remember-data-directory)
2950 (remember-directory-file-name-format, remember-store-in-files)
2951 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2952 (remember-notes-save-and-bury-buffer)
2953 (remember-notes--kill-buffer-query): Doc fixes.
2954
2955 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2956
2957 2014-02-17 Alan Mackenzie <acm@muc.de>
2958
2959 Connect electric-indent-mode up with CC Mode. Bug #15478.
2960 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2961 to electric-indent-{,local-}-mode.
2962 (c-basic-common-init): Set electric-indent-inhibit.
2963 Initialise c-electric-flag from electric-indent-mode.
2964 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2965 New hook functions which propagate electric-indent-mode to CC mode.
2966
2967 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2968 hit, toggle electric-indent-local-mode.
2969
2970 * electric.el (electric-indent-mode-has-been-called):
2971 New variable.
2972
2973 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2974
2975 * frameset.el (frameset-cfg-id): New function.
2976 (frameset--reuse-frame, frameset-restore): Use it.
2977 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2978
2979 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * ido.el (ido-file-internal): Remove unused var `d'.
2982 Use \` for to match BoS. Fit within 80n columns.
2983
2984 2014-02-17 Daniel Colascione <dancol@dancol.org>
2985
2986 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2987 dbus-call-method check for completion using a busy-wait loop with
2988 gradual backoff.
2989
2990 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2991
2992 Sync with Tramp 2.2.9.
2993
2994 * net/trampver.el: Update release number.
2995
2996 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2997
2998 * ido.el (ido-file-internal): Don't add the name of an existing
2999 directory twice. (Bug#16747)
3000
3001 2014-02-16 Glenn Morris <rgm@gnu.org>
3002
3003 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3004 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3005
3006 2014-02-15 Michael R. Mauger <michael@mauger.com>
3007
3008 * progmodes/sql.el: Version 3.4
3009 (sql-oracle-options): New default value ("-L").
3010 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3011 (sql-placeholders-filter): Correct placeholder pattern.
3012 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3013 (sql-login-delay): New variable.
3014 (sql-product-interactive): Use it.
3015
3016 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3017
3018 * frameset.el (frameset--jump-to-register): Check that buffer is live
3019 (bug#16749).
3020
3021 2014-02-15 Glenn Morris <rgm@gnu.org>
3022
3023 * info.el (info-initialize): Revert 2014-01-10 change.
3024
3025 2014-02-14 Glenn Morris <rgm@gnu.org>
3026
3027 * replace.el (map-query-replace-regexp)
3028 (read-regexp-defaults-function, read-regexp): Doc fixes.
3029
3030 * dired.el (dired-read-regexp):
3031 * faces.el (list-faces-display):
3032 * misearch.el (multi-isearch-read-matching-buffers)
3033 (multi-isearch-read-matching-files):
3034 * play/cookie1.el (cookie-apropos):
3035 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3036
3037 * textmodes/remember.el (remember): Use frameset-to-register
3038 rather than frame-configuration-to-register.
3039
3040 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3041
3042 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3043 incorrect keybinding.
3044
3045 2014-02-13 Daniel Colascione <dancol@dancol.org>
3046
3047 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3048 when adding overlays so that line numbers from compiler match line
3049 numbers we use.
3050
3051 2014-02-13 Glenn Morris <rgm@gnu.org>
3052
3053 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3054
3055 * jit-lock.el (jit-lock-mode): Doc fix.
3056
3057 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3058
3059 * apropos.el (apropos-read-pattern): When the user passes an empty
3060 string, give a more helpful error message than "Wrong type
3061 argument: stringp, nil".
3062
3063 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3066
3067 2014-02-13 Glenn Morris <rgm@gnu.org>
3068
3069 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3070
3071 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3074 shift-select commands.
3075
3076 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3077
3078 * progmodes/js.el (js-indent-line): Don't widen.
3079 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3080
3081 2014-02-12 Glenn Morris <rgm@gnu.org>
3082
3083 * icomplete.el (icomplete): Add info-link to defgroup.
3084 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3085 (icomplete-minibuffer-map, icomplete-mode)
3086 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3087
3088 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3089 (package-menu-filter): Rename from package-menu-filter-interactive.
3090 Doc fix.
3091
3092 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3093
3094 * frameset.el (frameset--jump-to-register): Select the required
3095 window and buffer before restoring position (bug#16696).
3096
3097 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3098
3099 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3100
3101 2014-02-10 Glenn Morris <rgm@gnu.org>
3102
3103 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3104
3105 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3106
3107 * w32-common-fns.el (x-get-selection): Doc fix.
3108 * select.el (x-get-selection): Doc fix. (Bug#15109)
3109
3110 * face-remap.el (face-remap-add-relative)
3111 (face-remap-remove-relative, face-remap-reset-base)
3112 (face-remap-set-base): Call force-mode-line-update to redisplay
3113 the current buffer due to potential change in faces. (Bug#16709)
3114
3115 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3116
3117 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3118 script more robustly.
3119
3120 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3121
3122 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3123
3124 * simple.el (choose-completion): Doc fix (bug#14160).
3125
3126 * subr.el (event-start): Say what a nil EVENT value means.
3127
3128 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3129 (bug#14197).
3130
3131 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3132
3133 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3134
3135 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3136
3137 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3138 predicate function (bug#15455).
3139
3140 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3141
3142 * ielm.el (inferior-emacs-lisp-mode): Instead of
3143 `comment-use-global-state', set `comment-use-syntax'.
3144
3145 2014-02-10 Glenn Morris <rgm@gnu.org>
3146
3147 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3148
3149 2014-02-09 Alan Mackenzie <acm@muc.de>
3150
3151 Fix c-invalidate-state-cache on narrowed buffers.
3152 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3153 Widen when setting and clearing the CPP delimiter properties.
3154
3155 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3156
3157 * help.el (describe-bindings): Doc fix (bug#9888).
3158
3159 * files.el (save-buffer): Use ARG as the parameter name for
3160 consistency (bug#10346).
3161 (save-buffer): Clarify the 0 argument (bug#10346).
3162
3163 * cus-edit.el (customize-apropos): Fix error string.
3164 (custom-buffer-create): Doc fix (bug#11122).
3165 (custom-sort-items): Doc fix (bug#11121).
3166
3167 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3168
3169 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3170 (icomplete-simple-completing-p): Mention the previous variable.
3171
3172 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3173 meaning of the parameter (bug#12282).
3174
3175 * files.el (find-file-noselect): Clarify prompt when changing
3176 readedness (bug#13261).
3177 (locate-file): Suffixes aren't returned, so don't say that they
3178 are (bug#12674).
3179 (backup-inhibited): Doc clarification (bug#12525).
3180
3181 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3182 before we actually start to delete things (bug#16331).
3183
3184 * subr.el (event-start): Doc fix (bug#14228).
3185 (event-end): Ditto.
3186
3187 2014-02-09 Glenn Morris <rgm@gnu.org>
3188
3189 * emacs-lisp/warnings.el (lwarn):
3190 Empower help-enable-auto-load. (Bug#15940)
3191
3192 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3193
3194 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3195 (Bug#16690)
3196
3197 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3200 Insert output at end of buffer. (Bug#16120)
3201
3202 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3203
3204 * simple.el (choose-completion-string-functions): Document new
3205 calling convention (bug#14153).
3206 (execute-extended-command): Clarify doc string (bug#13373).
3207
3208 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3209
3210 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3211 (find-grep-dired): Doc fix (bug#14288).
3212
3213 2014-02-08 Juri Linkov <juri@jurta.org>
3214
3215 * isearch.el (isearch-quote-char): Check character validity
3216 like in `quoted-insert' (bug#16677).
3217
3218 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3219
3220 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3221
3222 * isearch.el (isearch-hide-immediately): Doc clarification
3223 (bug#14723).
3224
3225 * simple.el (line-move): Document utility function used many
3226 places in the Emacs sources (bug#14843).
3227
3228 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3229 (dired-prev-marked-file): Doc fix (bug#14855).
3230 (dired-up-directory): Doc fix (bug#14848).
3231
3232 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3233
3234 * files.el (file-relative-name): Doc fix (bug#15159).
3235
3236 * fringe.el (fringe-styles): Doc fix (bug#15239).
3237
3238 * isearch.el (isearch-filter-predicate): Documentation typo fix
3239 (bug#15474).
3240
3241 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3242
3243 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3244
3245 * replace.el (replace-match-maybe-edit): Doc clarification
3246 (bug#15632).
3247
3248 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3249
3250 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3251
3252 2014-02-08 Glenn Morris <rgm@gnu.org>
3253
3254 * help-fns.el (describe-variable):
3255 Check {file,dir}-local-variables-alist, and buffer-file-name,
3256 in the correct buffer.
3257
3258 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3259
3260 * help-fns.el (describe-variable): Fix the case where
3261 a value is directory-local with no dir-locals file. (Bug#16635)
3262
3263 2014-02-08 Glenn Morris <rgm@gnu.org>
3264
3265 * abbrev.el (edit-abbrevs-mode):
3266 Derive from fundamental-mode. (Bug#16682)
3267
3268 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3269
3270 * simple.el (quoted-insert): Check character validity (bug#16677).
3271
3272 2014-02-07 Juri Linkov <juri@jurta.org>
3273
3274 * desktop.el (desktop-read): Claim the lock when the owner is not
3275 the current process. (Bug#16157)
3276
3277 2014-02-07 Juri Linkov <juri@jurta.org>
3278
3279 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3280 to "\\` ". (Bug#16651)
3281
3282 2014-02-07 Juri Linkov <juri@jurta.org>
3283
3284 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3285 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3286 (desktop-auto-save-cancel-timer): New function with some code from
3287 `desktop-auto-save-set-timer'.
3288 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3289 Instead of setting `desktop-save-mode' to nil, call
3290 `desktop-save-mode' with arg 0. (Bug#16630)
3291
3292 2014-02-07 Glenn Morris <rgm@gnu.org>
3293
3294 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3295 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3296 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3297
3298 * obsolete/iswitchb.el: Move to obsolete/.
3299 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3300 since obsolete/ is not scanned for autoloads.
3301 * emacs-lisp/authors.el (authors-valid-file-names):
3302 Add iswitchb.el.
3303
3304 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3305 Disable now non-functional find-file-hook.
3306
3307 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3310 instead of ";" in order to avoid additional prompts. Let heredoc
3311 scripts read from tty. (Bug#16582)
3312 (tramp-send-command): No special handling of heredocs, it isn't
3313 necessary anymore.
3314
3315 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3318 with a space (bug#16664). Limit the symbols considered to the ones
3319 that are bound or fbound (bug#16646).
3320
3321 2014-02-06 Glenn Morris <rgm@gnu.org>
3322
3323 * epa.el (epa-mail-aliases): Doc fix.
3324
3325 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * emacs-lisp/lisp.el (lisp-completion-at-point):
3328 Use `completion-table-merge' instead of `completion-table-in-turn'
3329 (bug#16604).
3330
3331 * minibuffer.el (completion-table-merge): New function.
3332
3333 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3336 (tramp-sh-handle-set-file-acl)
3337 (tramp-sh-handle-start-file-process)
3338 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3339 (tramp-find-executable, tramp-send-command): Use it.
3340
3341 2014-02-05 Glenn Morris <rgm@gnu.org>
3342
3343 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3344
3345 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3346
3347 * progmodes/python.el (python-shell-send-string)
3348 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3349
3350 2014-02-04 Anders Lindgren <andlind@gmail.com>
3351
3352 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3353 the names (bug#16620).
3354
3355 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3356
3357 * faces.el (window-divider): New default value. Rewrite doc-string.
3358 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3359
3360 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3361
3362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3363 `protected' and `public' can also be called without arguments.
3364
3365 2014-02-03 Glenn Morris <rgm@gnu.org>
3366
3367 * register.el (window-configuration-to-register)
3368 (frame-configuration-to-register): Unadvertise unused argument.
3369 * frameset.el (frameset-to-register): Remove unused argument.
3370
3371 * frameset.el (frameset-to-register):
3372 * kmacro.el (kmacro-to-register):
3373 * register.el (increment-register):
3374 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3375 (calc-append-to-register, calc-prepend-to-register):
3376 * play/gametree.el (gametree-layout-to-register)
3377 (gametree-apply-register-layout):
3378 * textmodes/picture.el (picture-clear-rectangle-to-register)
3379 (picture-yank-rectangle-from-register):
3380 * vc/emerge.el (emerge-combine-versions-register):
3381 Use register-read-with-preview to read registers.
3382
3383 2014-02-03 João Távora <joaotavora@gmail.com>
3384
3385 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3386 when at beginning of (possibly narrowed) buffer.
3387
3388 2014-02-02 Daniel Colascione <dancol@dancol.org>
3389
3390 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3391 Also try to display local help from just before point.
3392
3393 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3394
3395 c-parse-state. Don't "append-lower-brace-pair" in certain
3396 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3397 recognised as a comment.
3398
3399 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3400 as well as normal comment starter.
3401 (c-parse-state-get-strategy): Extra return possibility
3402 'back-and-forward.
3403 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3404 return value list to indicate replacement of a brace-pair cons
3405 with its car.
3406 (c-parse-state-1): With 'back-and-forward, only call
3407 c-append-lower-brace-pair-to state-cache when cons-separated.
3408
3409 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3410
3411 * term/ns-win.el (ns-suspend-error): New function.
3412 (ns-initialize-window-system): Add ns-suspend-error to
3413 suspend-hook (Bug#16612).
3414
3415 2014-02-02 Daniel Colascione <dancol@dancol.org>
3416
3417 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3418 Make loading cc-mode silent.
3419
3420 2014-02-02 Daniel Colascione <dancol@dancol.org>
3421
3422 * comint.el (comint-prompt-read-only): Change doc to suggest
3423 remap keybinding.
3424
3425 2014-02-02 Glenn Morris <rgm@gnu.org>
3426
3427 * register.el (register-read-with-preview, point-to-register)
3428 (window-configuration-to-register, frame-configuration-to-register)
3429 (jump-to-register, number-to-register, view-register, insert-register)
3430 (copy-to-register, append-to-register, prepend-to-register)
3431 (copy-rectangle-to-register): Doc fixes.
3432
3433 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3434
3435 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3436 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3437 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3438 * help-fns.el (describe-function-1): Use it.
3439
3440 2014-02-02 Glenn Morris <rgm@gnu.org>
3441
3442 * register.el (register-preview-default): New function,
3443 split from register-preview.
3444 (register-preview-function): Rename from register-preview-functions,
3445 make it not a hook.
3446 (register-preview): Use register-preview-function.
3447 (register-read-with-preview): Error on non-character event. (Bug#16595)
3448
3449 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3450
3451 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3452 `:' before binary operators (bug#16609). Don't check for `:'
3453 before `[' and `(', or their syntax status. A percent literal
3454 can't end with either.
3455 (ruby-font-lock-keywords): For built-ins that require arguments,
3456 check that they're followed by something that looks like argument
3457 (bug#16610).
3458
3459 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3460
3461 * subr.el (butlast): Document what an omitted N means (bug#13437).
3462 (nbutlast): Ditto.
3463
3464 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3465
3466 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3467 depth shallower (bug#16587).
3468 (shr-tag-svg): Respect `shr-inhibit-images'.
3469 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3470
3471 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3472
3473 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3474 (ruby-smie-grammar): Make "." right-associative. Make its priority
3475 lower than the ternary and all binary operators.
3476 (ruby-smie-rules): Indent "(" relative to the first non-"."
3477 parent, or the first "." parent at indentation.
3478 Use `ruby-align-chained-calls' for indentation of "." tokens.
3479 (Bug#16593)
3480
3481 2014-01-31 Juri Linkov <juri@jurta.org>
3482
3483 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3484 from `make-hash-table'.
3485
3486 * textmodes/ispell.el (ispell-init-process): Change message format
3487 to be consistent with other messages.
3488
3489 2014-01-31 Glenn Morris <rgm@gnu.org>
3490
3491 * delsel.el (delete-selection-mode): Doc fix.
3492
3493 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3494 (trace-function-background): Doc fixes.
3495
3496 * ido.el (ido-use-virtual-buffers): Doc fix.
3497 Reset :version, since the default value has not changed.
3498
3499 * register.el (register-preview-delay, register-read-with-preview):
3500 Doc fixes.
3501
3502 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3503 do not mess with mail-buffer position (fixes 2009-11-03 change).
3504 * progmodes/cc-mode.el (c-submit-bug-report):
3505 Check auto-fill-mode is bound. (Bug#16592)
3506
3507 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3508
3509 * startup.el (fancy-splash-image-file): New function,
3510 split from fancy-splash-head.
3511 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3512 so that we are both using the same image. (Bug#16574)
3513
3514 2014-01-30 Glenn Morris <rgm@gnu.org>
3515
3516 * simple.el (eval-expression): Doc fix.
3517
3518 * hexl.el (hexl-mode-hook):
3519 * ielm.el (ielm-mode-hook):
3520 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3521 (lisp-interaction-mode-hook):
3522 * progmodes/cfengine.el (cfengine3-documentation-function):
3523 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3524
3525 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3528 is a symbol (bug#16584).
3529
3530 2014-01-30 Glenn Morris <rgm@gnu.org>
3531
3532 * help.el (help-for-help-internal): Add "P" to text.
3533
3534 2014-01-29 Glenn Morris <rgm@gnu.org>
3535
3536 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3537
3538 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3539
3540 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3541 height constraints.
3542
3543 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3544
3545 * progmodes/hideif.el: Extend to full CPP expression syntax.
3546 (hif-token-alist): Add missing tokens.
3547 (hif-token-regexp): Add support for float/octal/hex immediates.
3548 (hif-string-literal-regexp): New const.
3549 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3550 (hif-exprlist): New function.
3551 (hif-parse-if-exp): Use it.
3552 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3553 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3554 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3555 (hif-logxor, hif-comma): New functions.
3556
3557 2014-01-28 Glenn Morris <rgm@gnu.org>
3558
3559 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3560
3561 * indent.el (tab-stop-list): Doc fix. Add :version.
3562
3563 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3564 (cvs-append-to-ignore): Add compatibility alias.
3565
3566 2014-01-27 Glenn Morris <rgm@gnu.org>
3567
3568 * dired.el (dired-hide-details-mode): Don't autoload it,
3569 since it cannot be used outside Dired buffers anyway.
3570
3571 * emulation/cua-base.el (cua-mode): Doc fix.
3572
3573 * dired.el (dired-hide-details-hide-symlink-targets)
3574 (dired-hide-details-hide-information-lines)
3575 (dired-hide-details-mode): Doc fixes.
3576
3577 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3578 * strokes.el (strokes-file): Doc fix. Bump :version.
3579 (strokes-help): Doc fix.
3580 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3581 * emulation/viper.el (viper): Doc fix for custom group.
3582 (top-level): Remove oh-so-no-longer-relevant text about vip.
3583 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3584
3585 * ido.el (ido-save-directory-list-file):
3586 * saveplace.el (save-place-file):
3587 * calendar/timeclock.el (timeclock-file):
3588 * net/quickurl.el (quickurl-url-file):
3589 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3590 * progmodes/idlwave.el (idlwave-config-directory):
3591 * textmodes/remember.el (remember-data-file):
3592 Bump :version.
3593
3594 2014-01-26 Glenn Morris <rgm@gnu.org>
3595
3596 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3597 Doc fix. Make obsolete.
3598 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3599
3600 * sort.el (delete-duplicate-lines): Doc fix.
3601
3602 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3603
3604 * progmodes/ada-mode.el (ada):
3605 * woman.el (woman): Link to info manual and Commentary section.
3606
3607 * progmodes/flymake.el (flymake):
3608 * nxml/nxml-mode.el (nxml):
3609 * net/eww.el (eww):
3610 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3611 * htmlfontify.el (htmlfontify):
3612 * ses.el (ses):
3613 * epa.el (epa):
3614 * ido.el (ido): Link to info manual.
3615
3616 2014-01-25 Leo Liu <sdl.web@gmail.com>
3617
3618 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3619
3620 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3621
3622 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3623 (bug#16537).
3624
3625 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3626
3627 * net/eww.el (eww-download-callback):
3628 Fix reference to eww-download-directory.
3629
3630 * emacs-lisp/bytecomp.el (byte-compile-file):
3631 Remove unused local variable `file-name'.
3632
3633 2014-01-24 Glenn Morris <rgm@gnu.org>
3634
3635 * woman.el (woman-default-faces, woman-monochrome-faces):
3636 Fix obsolescence specification.
3637
3638 * subr.el (with-demoted-errors): Doc fix.
3639
3640 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3643 (cl--macroexp-fboundp): New function.
3644 (cl--make-type-test): Use it.
3645
3646 2014-01-23 Glenn Morris <rgm@gnu.org>
3647
3648 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3649 * simple.el (eval-expression): Doc fixes.
3650
3651 2014-01-22 Glenn Morris <rgm@gnu.org>
3652
3653 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3654
3655 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * emacs-lisp/package.el: Write files silently.
3658 (package-autoload-ensure-default-file, package--write-file-no-coding)
3659 (package-generate-description-file, package--download-one-archive)
3660 (package-install-from-archive): Tell `write-region' to stay quiet.
3661 (package-menu-mode, package-menu--print-info): Omit the Archive column
3662 if there's only one archive.
3663 (package-all-keywords, package--has-keyword-p): Remove dead code.
3664
3665 2014-01-22 Glenn Morris <rgm@gnu.org>
3666
3667 * version.el (emacs-bzr-version-bzr): Fix typo.
3668
3669 * version.el (emacs-repository-get-version):
3670 Check either .bzr or .git, but not both.
3671 Make the git case actually use the DIR argument, and return nil
3672 rather than the empty string.
3673 Avoid error if .git exists but the git executable is not found.
3674
3675 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3676
3677 Fixes in window size functions around Bug#16430 and Bug#16470.
3678 * window.el (window-total-size, window-size): New argument ROUND.
3679 (window--min-delta-1, window-min-delta, window--max-delta-1):
3680 Be more conservative when calculating the numbers of lines or
3681 columns a window can shrink (Bug#16430).
3682 (fit-window-to-buffer): Simplify code.
3683 * term.el (term-window-width): Call window-body-width again.
3684
3685 2014-01-22 Glenn Morris <rgm@gnu.org>
3686
3687 * image.el (image-format-suffixes): Doc fix.
3688
3689 * international/quail.el (quail-define-package): Doc fix.
3690
3691 * emacs-lisp/authors.el (authors-valid-file-names)
3692 (authors-renamed-files-alist): Additions.
3693
3694 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3695 reverts 2014-01-09 change. (Bug#16422)
3696
3697 * calc/calc-embed.el (thing-at-point-looking-at):
3698 * emacs-lisp/map-ynp.el (x-popup-dialog):
3699 * obsolete/lmenu.el (x-popup-dialog):
3700 * emacs-lisp/package.el (url-recreate-url):
3701 * mail/mailclient.el (clipboard-kill-ring-save):
3702 * subr.el (x-popup-dialog): Update declaration.
3703 * mail/rmail.el (rmail-mime-message-p):
3704 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3705
3706 2014-01-21 Daniel Colascione <dancol@dancol.org>
3707
3708 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3709 Correctly detect when we're inside an arithmetic expansion form
3710 containing nested parenthesis.
3711 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3712 to detect cases where we shouldn't expand "<<" to a heredoc
3713 skeleton.
3714
3715 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3718 (eldoc--message-command-p): New function.
3719 (eldoc-display-message-p): Use it.
3720 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3721 message is not automatically erased for us.
3722 (eldoc-print-current-symbol-info): Erase previous message, if any.
3723
3724 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3725
3726 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3727 specify it's an interactive function.
3728
3729 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3730 Fix regex used for scanning for citation keys which failed for
3731 citations with optional arguments.
3732
3733 2014-01-21 Leo Liu <sdl.web@gmail.com>
3734
3735 * simple.el (read--expression): Don't enable eldoc-mode.
3736
3737 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * simple.el (move-beginning-of-line): Make sure we don't move forward
3740 (bug#16497).
3741
3742 2014-01-20 Juri Linkov <juri@jurta.org>
3743
3744 * saveplace.el (toggle-save-place, save-place-to-alist)
3745 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3746 'dired-mode) before checking for dired-directory. (Bug#16477)
3747
3748 2014-01-20 Juri Linkov <juri@jurta.org>
3749
3750 * indent.el (indent-line-to): Use backward-to-indentation
3751 instead of back-to-indentation. (Bug#16461)
3752
3753 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3754
3755 Revert some of the CANNOT_DUMP fix (Bug#16494).
3756 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3757 but fixing this can wait until after the next release.
3758 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3759
3760 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3761
3762 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3763 Use `password-word-equivalents'.
3764 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3765 to t. (Bug#5664, Bug#13124)
3766
3767 2014-01-19 Alan Mackenzie <acm@muc.de>
3768
3769 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3770 points.
3771 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3772 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3773 * progmodes/cc-mode.el (c-before-change, c-after-change)
3774 (c-font-lock-fontify-region): Bind it here.
3775
3776 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3777
3778 * term.el (term-window-width): Call window-text-width instead of
3779 window-width (Bug#16470).
3780
3781 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3782
3783 * simple.el (password-word-equivalents): Remove duplicates.
3784 Sort, to make this easier next time.
3785 Downcase. Omit ": " after "jelszó".
3786
3787 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3788
3789 * term/common-win.el (saved-region-selection): Defvar it.
3790 (x-select-text): Set saved-region-selection (Bug#16382).
3791
3792 2014-01-18 Glenn Morris <rgm@gnu.org>
3793
3794 * emacs-lisp/authors.el (authors-aliases)
3795 (authors-renamed-files-alist): Add some entries.
3796
3797 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3798
3799 * net/tramp.el (tramp-password-prompt-regexp):
3800 Use `password-word-equivalents' if available.
3801 (tramp-action-password, tramp-process-one-action)
3802 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3803
3804 2014-01-17 Chong Yidong <cyd@gnu.org>
3805
3806 * simple.el (password-word-equivalents): New defcustom.
3807 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3808 to 24.4.
3809 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3810 to t. (Bug#13124)
3811
3812 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3813
3814 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3815 (ruby-align-to-stmt-keywords): Change the default value.
3816 Use `ruby-alignable-keywords' to generate the possible customization
3817 choices.
3818 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3819 keywords, check against the value of `ruby-alignable-keywords'
3820 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3821
3822 2014-01-17 Glenn Morris <rgm@gnu.org>
3823
3824 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3825
3826 Make M-x authors return zero *Authors Errors* from current logs.
3827 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3828 (authors-ignored-files): Add some entries, remove others.
3829 (authors-ambiguous-files, authors-valid-file-names):
3830 Add some entries.
3831 (authors-renamed-files-alist): Add, remove, and adjust entries.
3832 (authors-renamed-files-regexps): Add some entries.
3833 Remove some very broad ones. Make some entries `lax'.
3834 (authors-lax-changelogs): New constant.
3835 (authors-disambiguate-file-name): Treat top-level specially.
3836 (authors-lax-changelog-p): New function.
3837 (authors-canonical-file-name): Check file as written against
3838 authors-valid-file-names. Do not special-case etc/.
3839 Handle `lax' logs and authors-renamed-files-regexps elements.
3840
3841 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3842
3843 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3844 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3845 callers.
3846
3847 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3850 Assume we're already in the proper buffer.
3851 Inspired by Anders Lindgren <andlind@gmail.com>.
3852 (follow-post-command-hook): Call it from the right buffer.
3853 (follow-comint-scroll-to-bottom): Adjust call.
3854 (follow-all-followers): Use get-buffer-window-list.
3855
3856 2014-01-15 Daniel Colascione <dancol@dancol.org>
3857
3858 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3859 `buffer-file-name' in interactive-form so that we don't leave
3860 pathless file names in `file-name-history'.
3861
3862 2014-01-15 Juri Linkov <juri@jurta.org>
3863
3864 * indent.el (indent-rigidly): Set deactivate-mark to nil
3865 in transient indentation mode. (Bug#16438)
3866
3867 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3868
3869 * emacs-lisp/package.el (package-desc-keywords): New function
3870 (Bug#16222).
3871 (describe-package-1, package-all-keywords)
3872 (package--has-keyword-p): Use it.
3873
3874 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3875
3876 * simple.el (define-alternatives): When creating the
3877 COMMAND-alternatives variable, assign COMMAND as its definition
3878 name so that `describe-variable' can relocate it.
3879
3880 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3881
3882 * font-lock.el (font-lock-keywords): Fix typo in docstring
3883 (bug#16307).
3884
3885 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3886
3887 * ispell.el (ispell-region): Reset `in-comment' for new line
3888 instead of wrongly reset `add-coment' (bug#13577).
3889
3890 2014-01-14 Daiki Ueno <ueno@gnu.org>
3891
3892 * epa-file.el (epa-file-write-region): Encode the region according
3893 to `buffer-file-format'. Problem reported at:
3894 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3895
3896 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3899 so it applies in the right buffer (bug#16410).
3900
3901 2014-01-13 Daniel Colascione <dancol@dancol.org>
3902
3903 * textmodes/rst.el (rst-define-key): Provide deprecated
3904 keybindings through named functions instead of anonymous ones so
3905 that "??" doesn't appear in describe-mode output.
3906
3907 2014-01-13 Bastien Guerry <bzg@gnu.org>
3908
3909 * simple.el (define-alternatives): Call the selected command
3910 interactively. When setting `COMMAND--implementation' for the
3911 first time, tell the user how to chose another implementation.
3912 Enhance the docstring.
3913
3914 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3917 (log-edit--match-first-line): New function.
3918 (log-edit-font-lock-keywords): Use it.
3919 (log-edit-mode): Make jit-lock-defer-multiline work.
3920
3921 2014-01-13 Bastien Guerry <bzg@gnu.org>
3922
3923 * rect.el (rectangle-mark-mode): When the region is not active,
3924 display a message saying that the mark as been set and that
3925 rectangle mode is in use.
3926 (rectangle--highlight-for-redisplay): Only put an overlay with a
3927 visible vertical bar when (display-graphic-p) is non-nil.
3928 This partially fixes Bug#16403.
3929
3930 2014-01-13 Juri Linkov <juri@jurta.org>
3931
3932 * info.el (Info-find-file): Go to DIR before displaying the error
3933 about a nonexistent file if no previous Info file is visited.
3934 Use `user-error' instead of `error' for "Info file %s does not exist".
3935 (Info-find-node-2): In case of a nonexistent node in unwind forms
3936 go to the Top node if there is no previous node to revert to.
3937 (Bug#16405)
3938
3939 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3940
3941 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3942 * window.el (fit-frame-to-buffer): Fix doc-string.
3943 Respect window-min-height/-width. Fit pixelwise when
3944 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3945 when avoiding that frame goes partially off-screen.
3946 (fit-window-to-buffer): Respect window-min-height/-width
3947 (Bug#14096).
3948
3949 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3952 after an empty line.
3953
3954 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 * net/shr.el (shr-render-region): Autoload.
3957
3958 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3959
3960 * net/eww.el (eww-download-directory): Rename from
3961 `eww-download-path' (Bug#16419).
3962
3963 2014-01-12 Leo Liu <sdl.web@gmail.com>
3964
3965 * dired-x.el (dired-mode-map): Fix last change.
3966
3967 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3968
3969 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3970
3971 Spelling fixes.
3972 * emacs-lisp/generic.el (generic--normalize-comments):
3973 Rename from generic--normalise-comments. All uses changed.
3974 * play/bubbles.el (bubbles--neighborhood-score)
3975 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3976 (bubbles--neighborhood-available)
3977 (bubbles--update-neighborhood-score):
3978 Rename from names with 'neighbourhood'. All uses changed.
3979
3980 2014-01-12 Leo Liu <sdl.web@gmail.com>
3981
3982 Re-implement the feature of showing eldoc info after editing.
3983 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3984 (eldoc-edit-message-commands): New function.
3985 (eldoc-print-after-edit): New variable.
3986 (eldoc-pre-command-refresh-echo-area): Emit message only by
3987 eldoc-message-commands.
3988 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3989 if eldoc-print-after-edit is set. (Bug#16346)
3990 * simple.el (read--expression): Enable eldoc-mode.
3991 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3992
3993 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3994 Eric S. Raymond <esr@thyrsus.com>
3995
3996 * version.el (emacs-repository-get-version): Enhance so the
3997 function works correctly in either a Bazaar or Git repo.
3998
3999 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4000
4001 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4002 Goes with removal of the joke manpages from /etc.
4003
4004 2014-01-10 Kenichi Handa <handa@gnu.org>
4005
4006 * mail/rmail.el (rmail-get-coding-system):
4007 Check rmail-get-coding-function before "funcall"ing it.
4008
4009 2014-01-10 Glenn Morris <rgm@gnu.org>
4010
4011 * emacs-lisp/authors.el (authors-fixed-entries):
4012 Update for files that no longer exist.
4013
4014 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4015
4016 * version.el (emacs-bzr-get-version): Restore compatibilty with
4017 24.3 (Tested).
4018
4019 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4020
4021 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4022 and Podfile.
4023
4024 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4025
4026 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4027
4028 2014-01-10 Chong Yidong <cyd@gnu.org>
4029
4030 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4031
4032 2014-01-10 Anders Lindgren <andlind@gmail.com>
4033
4034 * follow.el (follow-cache-command-list): Include right-char and
4035 left-char.
4036
4037 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4038
4039 Spelling fixes.
4040 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4041 * woman.el (woman-mark-horizontal-position):
4042 Rename from woman-mark-horizonal-position. Use changed.
4043
4044 2014-01-10 Glenn Morris <rgm@gnu.org>
4045
4046 * info.el (info-initialize): If running uninstalled, ensure our
4047 own info files are always found first, even if INFOPATH is set.
4048
4049 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4050
4051 2014-01-09 David Engster <deng@randomsample.de>
4052
4053 * emacs-lisp/eieio-custom.el:
4054 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4055 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4056 * emacs-lisp/eieio.el: Regenerate autoloads.
4057
4058 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4059
4060 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4061 following renames. (Bug#8756)
4062
4063 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4066 (bug#16382).
4067 (activate-mark): Add `no-tmm' argument.
4068 (set-mark, push-mark-command): Use it instead of running
4069 activate-mark-hook by hand.
4070
4071 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4072
4073 In preparation for the move to git, sanitize out some
4074 Bazaar-specific names.
4075
4076 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4077
4078 * version.el (emacs-bzr-version): Name changed to
4079 emacs-repository-version. Obsolete-variable alias made.
4080 * loadup.el: Follow through on this name change.
4081 * mail/emacsbug.el (report-emacs-bug): Factor out any
4082 assumption about the version control system in use.
4083
4084 2014-01-08 David Engster <deng@randomsample.de>
4085
4086 * help-fns.el (help-fns-describe-function-functions):
4087 New variable to call functions for augmenting help buffers.
4088 (describe-function-1): Remove explicit calls to
4089 `help-fns--compiler-macro', `help-fns--parent-mode' and
4090 `help-fns--obsolete'. Put them in above new variable instead, and
4091 call them through `run-hook-with-args'.
4092 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4093 `eieio-describe-class'. Not meant for interactive use anymore,
4094 but to augment existing help buffers. Remove optional second
4095 argument. Create proper button for file location.
4096 Rewrite function to use `insert' instead of `princ' and `prin1' where
4097 possible.
4098 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4099 (eieio-method-def, eieio-class-def): Move further up.
4100 (describe-method, describe-generic, eieio-describe-method):
4101 Remove aliases.
4102 (eieio-help-constructor, eieio-help-generic): Rename from
4103 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4104 Rewrite to use `insert' in the current buffer and use proper help
4105 buttons.
4106 (eieio-help-find-method-definition)
4107 (eieio-help-find-class-definition): Also accept symbols as
4108 arguments.
4109 (eieio-help-mode-augmentation-maybee): Remove.
4110 (eieio-describe-class-sb): Use `describe-function'.
4111 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4112 Add `eieio-help-generic' and `eieio-help-constructor'.
4113
4114 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4115
4116 Spelling fixes.
4117 * language/china-util.el (hz-ascii-designation):
4118 Rename from hz-ascii-designnation.
4119 (hz-ascii-designation): Rename from hz-ascii-designnation.
4120 All uses changed.
4121
4122 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4125 package-alist.
4126
4127 2014-01-08 Bastien Guerry <bzg@gnu.org>
4128
4129 * emacs-lisp/package.el (package-delete):
4130 Correctly delete the package from package-alist.
4131
4132 2014-01-08 Daiki Ueno <ueno@gnu.org>
4133
4134 * emacs-lisp/package.el (url-recreate-url): Declare.
4135 (url-http-target-url): Declare.
4136 (package-handle-response): Include requested URL in the error message.
4137 (package--check-signature): Don't re-signal errors from
4138 package--with-work-buffer. Suggested by Stefan Monnier.
4139
4140 2014-01-07 Bastien Guerry <bzg@gnu.org>
4141
4142 * minibuffer.el (completion--try-word-completion): When both a
4143 hyphen and a space are possible candidates for the character
4144 following a word, display both candidates. (Bug#15980)
4145
4146 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4147
4148 * window.el (balance-windows-2): While rounding don't give a
4149 window more than the remainder. Bug#16351, bug#16383.
4150
4151 2014-01-07 Glenn Morris <rgm@gnu.org>
4152
4153 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4154 (menu-bar-help-menu): Use view-external-packages instead.
4155
4156 2014-01-07 Bastien Guerry <bzg@gnu.org>
4157
4158 * emacs-lisp/package.el (package-delete): Also delete the package
4159 name from `package-alist', not its description only.
4160
4161 2014-01-07 Glenn Morris <rgm@gnu.org>
4162
4163 * help.el (view-external-packages):
4164 * menu-bar.el (menu-bar-help-extra-packages):
4165 Visit efaq.info rather than etc/MORE.STUFF.
4166
4167 2014-01-07 Juri Linkov <juri@jurta.org>
4168
4169 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4170 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4171
4172 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4173 that shadows RET. (Bug#16342)
4174
4175 2014-01-07 Chong Yidong <cyd@gnu.org>
4176
4177 * isearch.el (isearch-yank-char, isearch-yank-word)
4178 (isearch-yank-line): Doc fix.
4179
4180 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4183 * emacs-lisp/elint.el (elint-find-builtins):
4184 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4185 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4186 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4187 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4188 * apropos.el (apropos-safe-documentation):
4189 * subr.el (symbol-file): Remove redundant fboundp.
4190 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4191
4192 2014-01-06 Bastien Guerry <bzg@gnu.org>
4193
4194 * hl-line.el (global-hl-line-overlay): Make a local variable.
4195 (global-hl-line-overlays): New variable to store all overlays.
4196 (global-hl-line-mode): Don't delete overlays from the current
4197 buffer when `global-hl-line-sticky-flag' is non-nil.
4198 (global-hl-line-highlight): Add new overlays to
4199 `global-hl-line-overlays'.
4200 (global-hl-line-unhighlight-all): New function to delete all
4201 overlays when turning off `global-hl-line-mode'.
4202 This fixes Bug#16183.
4203
4204 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * subr.el (set-transient-map): Fix nested case and docstring.
4207
4208 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4209
4210 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4211 `Texinfo' entry.
4212
4213 2014-01-06 Daniel Colascione <dancol@dancol.org>
4214
4215 Fix defun navigation in vc log view.
4216
4217 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4218 like `beginning-of-defun'.
4219 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4220 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4221 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4222 (log-view-extract-comment): Call `log-view-current-entry' directly
4223 instead of relying on broken `log-view-beginning-of-defun' behavior.
4224
4225 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4226
4227 Spelling fixes.
4228 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4229 * emacs-lisp/debug.el (cancel-debug-on-entry):
4230 * epg.el (epg-error-to-string):
4231 * files.el (recover-file):
4232 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4233 * mail/emacsbug.el (report-emacs-bug-hook):
4234 * mail/sendmail.el (mail-recover):
4235 * ses.el (ses-yank-resize):
4236 * term/ns-win.el (ns-print-buffer):
4237 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4238 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4239 All uses changed.
4240 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4241
4242 2014-01-06 Leo Liu <sdl.web@gmail.com>
4243
4244 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4245 to avoid shadowing global key. (Bug#16354)
4246
4247 2014-01-06 Daniel Colascione <dancol@dancol.org>
4248
4249 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4250 rst-mode.
4251
4252 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4253
4254 * window.el (balance-windows): Add mising t to fix Bug#16351.
4255
4256 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4257
4258 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4259 (bug#16285).
4260 (shr-insert): If we have a word that's longer than `shr-width',
4261 break after it anyway. Otherwise we'll do no breaking once we get
4262 such a long word.
4263
4264 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4265
4266 * net/eww.el (eww): Support single/double quote for search.
4267 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4268 (eww-history-quit): Delete and use quit-window.
4269 (eww-history-kill): Delete, because it doesn't work well and
4270 not necessary.
4271 (eww-history-mode-map): Delete some keys and add easy-menu.
4272
4273 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4274
4275 Fix misspelling of 'chinese' in rx (Bug#16237).
4276 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4277 chinese-two-byte.
4278
4279 Change subword regexps back to vars (Bug#16296).
4280 * progmodes/subword.el (subword-forward-regexp)
4281 (subword-backward-regexp): Change these back to variables.
4282
4283 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4286 syntax-begin-function (bug#16247).
4287
4288 2014-01-03 Chong Yidong <cyd@gnu.org>
4289
4290 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4291 (advice--docstring): Delete variable.
4292 (advice--make-1): Leave the docstring empty.
4293 (advice-add): Use function-documentation for advised docstring.
4294
4295 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4296 Ignore function-documentation property when getting documentation.
4297 (ad-activate-advised-definition): Use function-documentation
4298 generate the docstring.
4299 (ad-make-advised-definition): Don't call
4300 ad-make-advised-definition-docstring.
4301 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4302 Delete functions.
4303
4304 * progmodes/sql.el (sql-help): Use function-documentation instead
4305 of dynamic-docstring-function property. No need to autoload now.
4306 (sql--help-docstring): New variable.
4307 (sql--make-help-docstring): Use it.
4308
4309 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * ielm.el (ielm-tab): Retarget.
4312 (ielm-map): Use ielm-tab for tab.
4313 (ielm-complete-filename): Use comint-filename-completion.
4314 (ielm-complete-symbol): Remove.
4315 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4316 remove ielm-tab from completion-at-point-functions (bug#16224).
4317
4318 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4319 Beware signals raised by predicates (bug#16201).
4320
4321 2014-01-02 Richard Stallman <rms@gnu.org>
4322
4323 * dired-aux.el (dired-do-print): Handle printer-name.
4324
4325 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4326 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4327 (rmail-epa-decrypt): Turn off mime processing.
4328
4329 * mail/rmail.el (rmail-make-in-reply-to-field):
4330 Add parens in message-id.
4331
4332 * mail/rmail.el (rmail-get-coding-function): Variable.
4333 (rmail-get-coding-system): Use it.
4334
4335 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4336
4337 * international/mule-conf.el: Unify the charset indian-is13194.
4338 (indian-is13194): Specify unify-map.
4339
4340 2013-12-31 Leo Liu <sdl.web@gmail.com>
4341
4342 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4343
4344 2013-12-30 Daniel Colascione <dancol@dancol.org>
4345
4346 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4347 of printing a useless when we resume from sleep.
4348
4349 * progmodes/sh-script.el
4350 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4351 in indentation code. (Bug#16233)
4352
4353 2013-12-28 João Távora <joaotavora@gmail.com>
4354
4355 * elec-pair.el (electric-pair-post-self-insert-function):
4356 Don't open extra newlines at beginning of buffer. (Bug#16272)
4357
4358 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4359
4360 * frame.el (window-system-for-display): Don't allow to create a
4361 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4362
4363 2013-12-28 Glenn Morris <rgm@gnu.org>
4364
4365 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4366 Update callers.
4367
4368 * apropos.el (apropos-match-face):
4369 * calculator.el (calculator-displayer):
4370 * dabbrev.el (dabbrev-search-these-buffers-only):
4371 * face-remap.el (buffer-face-mode-face):
4372 * simple.el (yank-handled-properties):
4373 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4374 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4375 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4376 (hashcash-double-spend-database):
4377 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4378 (ruby-deep-indent-paren-style):
4379 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4380 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4381 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4382 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4383 Specify custom types.
4384
4385 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4386 * bookmark.el (bookmark-bmenu-use-header-line):
4387 * doc-view.el (doc-view-scale-internally):
4388 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4389 * register.el (register-preview-delay):
4390 * net/shr.el (shr-bullet):
4391 * progmodes/cfengine.el (cfengine-cf-promises)
4392 (cfengine-parameters-indent):
4393 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4394 * textmodes/reftex-vars.el (reftex-label-regexps):
4395 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4396
4397 * net/tls.el (tls-certtool-program): Fix default value.
4398
4399 * desktop.el (desktop-restore-in-current-display):
4400 * newcomment.el (comment-empty-lines):
4401 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4402 (idlwave-pad-keyword):
4403 * progmodes/tcl.el (tcl-tab-always-indent):
4404 * textmodes/reftex-vars.el (reftex-index-default-tag):
4405 * elec-pair.el (electric-pair-skip-whitespace):
4406 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4407
4408 * emacs-lisp/authors.el (authors-ignored-files)
4409 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4410
4411 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4412
4413 * shell.el (shell-dynamic-complete-command): Doc fix.
4414 (shell--command-completion-data): Shell completion now matches
4415 executable filenames from the current buffer's directory, on
4416 systems in which this behavior is the default (windows-nt, ms-dos).
4417
4418 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4419
4420 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4421
4422 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4425 (bug#16251).
4426
4427 * electric.el: Move all electric-pair-* to elec-pair.el.
4428 * elec-pair.el: New file, split from electric.el.
4429
4430 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4431
4432 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4433 indentation level is larger than the width, because that will
4434 infloop.
4435 (shr-insert): Fill repeatedly long texts, so that Japanese is
4436 formatted correctly (bug#16263).
4437 (shr-find-fill-point): Off by one error in comparison with the
4438 indentation.
4439
4440 2013-12-26 João Távora <joaotavora@gmail.com>
4441
4442 * electric.el (electric-pair-mode): More flexible engine for skip-
4443 and inhibit predicates, new options for pairing-related functionality.
4444 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4445 if that keeps or improves their balance in buffers.
4446 (electric-pair-delete-adjacent-pairs): Delete the pair when
4447 backspacing over adjacent matched delimiters.
4448 (electric-pair-open-extra-newline): Open extra newline when
4449 inserting newlines between adjacent matched delimiters.
4450 (electric--sort-post-self-insertion-hook):
4451 Sort post-self-insert-hook according to priority values when
4452 minor-modes are activated.
4453 * simple.el (newline-and-indent): Call newline with interactive
4454 set to t.
4455 (blink-paren-post-self-insert-function): Set priority to 100.
4456 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4457 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4458 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4459 electric-pair-open-newline-between-pairs to nil.
4460
4461 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4462
4463 * progmodes/python.el: Use lexical-binding.
4464 (python-nav-beginning-of-defun): Stop searching ASAP.
4465
4466 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4467
4468 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4469 Fix interactive spec. Doc fix. (Bug#15754)
4470
4471 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4472
4473 * emacs-lisp/byte-run.el (eval-when-compile):
4474 * progmodes/cc-defs.el (cc-eval-when-compile):
4475 Fix edebug spec (bug#16184).
4476
4477 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4478
4479 * net/shr.el (shr-visit-file): Remove debugging function.
4480 (shr-insert): Don't infloop if we can't find a good place to break
4481 the line (bug#16256).
4482
4483 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4484
4485 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4486 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4487 python-nav-lisp-forward-sexp-safe.
4488 (python-nav--forward-sexp): New argument SAFE allows switching
4489 forward sexp movement behavior for parens.
4490 (python-nav-forward-sexp): Throw errors on unterminated parens
4491 (Bug#16191).
4492 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4493 (python-nav-backward-sexp-safe): New functions.
4494 (python-shell-buffer-substring):
4495 Use `python-nav-forward-sexp-safe'.
4496
4497 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4498
4499 * net/shr.el (shr-find-fill-point): Don't break lines before a
4500 quotation mark.
4501 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4502 (shr-find-fill-point): Remove the special checks for the quotation
4503 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4504
4505 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4506
4507 * net/eww.el (eww-form-textarea): Use a different face for
4508 textareas than text input since they have different keymaps
4509 (bug#16142).
4510
4511 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4512
4513 * progmodes/python.el (python-nav-beginning-of-statement):
4514 Speed up (Bug#15295).
4515
4516 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4517
4518 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4519 the window configuration.
4520
4521 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4522
4523 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4524 we run on MS-Windows or MS-DOS.
4525
4526 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4527
4528 * window.el (balance-windows-area): Call window-size instead of
4529 window-height and window-width. Bug#16241.
4530
4531 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4532
4533 * net/eww.el (eww-bookmark-quit): Remove.
4534 (eww-bookmark-browse): Restore the window configuration when you
4535 choose a bookmark (bug#16144).
4536
4537 2013-12-24 Daniel Colascione <dancol@dancol.org>
4538
4539 * icomplete.el: Remove redundant :group arguments to `defcustom'
4540 throughout.
4541 (icomplete-show-matches-on-no-input): New customizable variable.
4542 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4543 we have something to show.
4544 (icomplete-exhibit): Compute completions even if we have no user input.
4545
4546 2013-12-23 Daniel Colascione <dancol@dancol.org>
4547
4548 * icomplete.el: Move `provide' to end of file.
4549
4550 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4551
4552 * net/gnutls.el (gnutls-verify-error): Add version tag.
4553
4554 2013-12-23 Chong Yidong <cyd@gnu.org>
4555
4556 * subr.el (set-transient-map): Rename from
4557 set-temporary-overlay-map. Doc fix.
4558
4559 * face-remap.el (text-scale-adjust):
4560 * indent.el (indent-rigidly):
4561 * kmacro.el (kmacro-call-macro):
4562 * minibuffer.el (minibuffer-force-complete):
4563 * repeat.el (repeat):
4564 * simple.el (universal-argument--mode):
4565 * calendar/todo-mode.el (todo-insert-item--next-param):
4566 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4567
4568 * indent.el (indent-rigidly): Use substitute-command-keys.
4569
4570 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4571
4572 * net/eww.el (eww-tag-select): Add text-property to jump to next
4573 select field.
4574 (eww): Add non-supported ftp error.
4575
4576 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4577
4578 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4579 comments. Handle electric indent after typing `?' and `!'.
4580
4581 2013-12-22 Chong Yidong <cyd@gnu.org>
4582
4583 * faces.el (face-spec-recalc): If the theme specs are not
4584 applicable to a frame, fall back on the defface spec.
4585 This prevents themes from obliterating faces on low-color terminals.
4586
4587 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4588
4589 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4590 after `{'. We need it after block openers, and it doesn't seem
4591 to hurt after hash openers.
4592
4593 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4594
4595 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4596 extracted from `ruby-smie-rules'.
4597 (ruby--electric-indent-chars): New variable.
4598 (ruby--electric-indent-p): New function.
4599 (ruby-mode): Use `electric-indent-functions' instead of
4600 `electric-indent-chars'.
4601
4602 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4603
4604 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4605 docstring.
4606 (ruby-smie-rules): Indent plus one level after `=>'.
4607
4608 2013-12-21 Richard Stallman <rms@gnu.org>
4609
4610 * simple.el (newline): Doc fix.
4611
4612 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4613
4614 * net/eww.el (eww-list-histories, eww-list-histories)
4615 (eww-history-browse, eww-history-quit, eww-history-kill)
4616 (eww-history-mode-map, eww-history-mode): New command and
4617 functions to list browser histories.
4618 (eww-form-text): Support text form with disabled
4619 and readonly attributes.
4620 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4621
4622 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4623
4624 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4625 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4626 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4627 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4628 Use `user-error'.
4629 (eww-bookmark-mode-map): Add menu.
4630 (eww-render, eww-mode): Use `setq-local'.
4631 (eww-tool-bar-map): New variable.
4632 (eww-mode): Set `tool-bar-map'.
4633 (eww-view-source): Check for `html-mode' with `fboundp'.
4634
4635 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4636
4637 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4638 elements with text inside. Also remove debugging.
4639
4640 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4641
4642 * cus-start.el (all): Add ns-use-srgb-colorspace.
4643
4644 2013-12-21 Chong Yidong <cyd@gnu.org>
4645
4646 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4647 undefined. Thus, theme settings for undefined faces do not take
4648 effect until the faces are defined with defface, the same as with
4649 theme variables.
4650
4651 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4652 (face-spec-reset-face): Don't assign extra properties in temacs.
4653 (face-spec-recalc): Apply X resources too.
4654
4655 2013-12-21 Chong Yidong <cyd@gnu.org>
4656
4657 * faces.el (face-spec-set):
4658 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4659 * custom.el (defface): Doc fixes (Bug#16203).
4660
4661 * indent.el (indent-rigidly-map): Add docstring, and move commands
4662 into named functions.
4663 (indent-rigidly-left, indent-rigidly-right)
4664 (indent-rigidly-left-to-tab-stop)
4665 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4666 indentation direction based on bidi direction, and accumulate
4667 sequential commands in a single undo boundary.
4668 (indent-rigidly--pop-undo): New utility function.
4669
4670 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4671
4672 * faces.el (read-face-name): Require crm.el when using crm-separator.
4673
4674 2013-12-20 Daniel Colascione <dancol@dancol.org>
4675
4676 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4677 so that we don't reflow comments into the shebang line.
4678
4679 2013-12-20 Juri Linkov <juri@jurta.org>
4680
4681 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4682 a position when `dired-directory' is non-nil. Check integer
4683 positions with `integerp'.
4684 (toggle-save-place, save-places-to-alist): Add check for
4685 `dired-directory'.
4686 (save-place-find-file-hook): Check integer positions with
4687 `integerp'.
4688 (save-place-dired-hook): Use `dired-goto-file' when
4689 `dired-filename' is found in the assoc list. Check integer
4690 positions with `integerp'.
4691 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4692
4693 * dired.el (dired-initial-position-hook): Rename back from
4694 `dired-initial-point-hook'.
4695 (dired-initial-position): Rename `dired-initial-point-hook' to
4696 `dired-initial-position-hook'.
4697 (dired-file-name-at-point): Doc fix. (Bug#15329)
4698
4699 2013-12-20 Juri Linkov <juri@jurta.org>
4700
4701 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4702 (read-regexp-suggestions): New function.
4703 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4704 Use `read-regexp-suggestions'. Add non-empty default to history
4705 for empty input.
4706 (occur-read-regexp-defaults-function): Remove function.
4707 (occur-read-primary-args): Use `regexp-history-last' instead of
4708 `occur-read-regexp-defaults-function'.
4709
4710 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4711 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4712 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4713 `hi-lock-read-regexp-defaults-function'. Doc fix.
4714 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4715 with `find-tag-default-as-symbol-regexp'. Doc fix.
4716 (hi-lock-read-regexp-defaults): Remove function.
4717 (hi-lock-regexp-okay): Add check for null.
4718
4719 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4720 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4721
4722 * subr.el (find-tag-default-as-symbol-regexp): New function.
4723 (find-tag-default-as-regexp): Move symbol regexp formatting to
4724 `find-tag-default-as-symbol-regexp'.
4725
4726 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4727
4728 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4729 (Bug#14179)
4730
4731 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4732
4733 * calendar/todo-mode.el: New implementation of item insertion
4734 commands and key bindings.
4735 (todo-key-prompt): New face.
4736 (todo-insert-item): New command.
4737 (todo-insert-item--parameters): New defconst, replacing defvar
4738 todo-insertion-commands-args-genlist.
4739 (todo-insert-item--param-key-alist): New defconst, replacing
4740 defvar todo-insertion-commands-arg-key-list.
4741 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4742 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4743 (todo-insert-item--next-param): New functions.
4744 (todo-insert-item--args, todo-insert-item--argleft)
4745 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4746 New variables.
4747 (todo-key-bindings-t): Change binding of "i" from
4748 todo-insertion-map to todo-insert-item.
4749 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4750 (todo-insertion-command-name, todo-insertion-commands-names)
4751 (todo-define-insertion-command, todo-insertion-commands)
4752 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4753
4754 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4755
4756 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4757 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4758 eval-when-compile.
4759 (todo-move-category): Allow choosing a non-existing todo file to
4760 move the category to, and create that file.
4761 (todo-default-priority): New user option.
4762 (todo-set-item-priority): Use it.
4763 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4764 (desktop-restore-file-buffer): Declare.
4765 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4766 (todo-modes-set-2): Locally set desktop-save-buffer to
4767 todo-desktop-save-buffer.
4768 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4769 (auto-mode-alist): Add autoload cookie.
4770
4771 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4772
4773 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4774 helpers.el was a poor choice of name.
4775 (string-remove-prefix): New function.
4776 (string-remove-suffix): New function.
4777
4778 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4779
4780 Fix assignment for new window total sizes.
4781 * window.el (window--pixel-to-size): Remove function.
4782 (window--pixel-to-total-1, window--pixel-to-total):
4783 Fix calculation of new total sizes.
4784
4785 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4786
4787 * comint.el (comint-output-filter): Fix rear-nonsticky property
4788 placement (Bug#16010).
4789
4790 2013-12-20 Chong Yidong <cyd@gnu.org>
4791
4792 * faces.el (read-color): Minor fix for completion function.
4793
4794 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4795
4796 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4797 New option. (Bug#16182)
4798 (ruby-smie--indent-to-stmt-p): Use it.
4799 (ruby-smie-rules): Revert the logic in the handling of `when'.
4800 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4801 (ruby-deep-arglist, ruby-deep-indent-paren)
4802 (ruby-deep-indent-paren-style): Update docstrings to note that the
4803 vars don't have any effect with SMIE.
4804
4805 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4806
4807 * calc/calc.el (calc-enter, calc-pop): Use the variable
4808 `calc-context-sensitive-enter'.
4809
4810 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4811
4812 * net/shr.el (shr-insert): Protect against infloops in degenerate
4813 tables.
4814
4815 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4816
4817 * progmodes/octave.el (octave): Add link to manual and octave
4818 homepage.
4819 (octave-mode-menu): Link to octave-mode manual.
4820
4821 2013-12-20 Leo Liu <sdl.web@gmail.com>
4822
4823 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4824 insertion using skeleton-end-newline. (Bug#16138)
4825
4826 2013-12-20 Juri Linkov <juri@jurta.org>
4827
4828 * replace.el (occur-engine): Use `add-face-text-property'
4829 to add the face property to matches and titles. (Bug#14645)
4830
4831 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4832 the palette of other hi-lock colors.
4833 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4834
4835 2013-12-19 Juri Linkov <juri@jurta.org>
4836
4837 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4838 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4839 (minibuffer-history-symbol): Move variable declaration closer to
4840 its usage.
4841
4842 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4843 (Bug#14785)
4844
4845 2013-12-19 Juri Linkov <juri@jurta.org>
4846
4847 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4848 New function.
4849 (log-edit-hook): Add it to :options. (Bug#16170)
4850
4851 2013-12-19 Juri Linkov <juri@jurta.org>
4852
4853 * simple.el (eval-expression-print-format): Don't check for
4854 command names and the last command. Always display additional
4855 formats of the integer result in the echo area, and insert them
4856 to the current buffer only with a zero prefix arg.
4857 Display character when char-displayable-p is non-nil.
4858 (eval-expression): With a zero prefix arg, set `print-length' and
4859 `print-level' to nil, and insert the integer values from
4860 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4861
4862 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4863 `eval-last-sexp-arg-internal'. Doc fix.
4864 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4865 `eval-last-sexp-print-value'. Doc fix.
4866 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4867 Set `print-length' and `print-level' to nil when arg is zero.
4868 (eval-last-sexp): Doc fix.
4869 (eval-defun-2): Print the integer values from
4870 `eval-expression-print-format' at the end.
4871
4872 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4873 values from `eval-expression-print-format' at the end.
4874
4875 * ielm.el (ielm-eval-input): Print the integer
4876 values from `eval-expression-print-format' at the end.
4877
4878 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4879
4880 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4881 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4882
4883 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4886 (hl-line-highlight, global-hl-line-highlight): Use it.
4887 (hl-line-overlay): Use defvar-local.
4888
4889 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4890
4891 * term/ns-win.el: Require dnd.
4892 (global-map): Remove drag items.
4893 (ns-insert-text, ns-set-foreground-at-mouse)
4894 (ns-set-background-at-mouse):
4895 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4896 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4897 New functions.
4898
4899 2013-12-19 Glenn Morris <rgm@gnu.org>
4900
4901 * emacs-lisp/ert.el (ert-select-tests):
4902 Fix string/symbol mixup. (Bug#16121)
4903
4904 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4905
4906 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4907 keywords to their parent.
4908
4909 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4910
4911 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4912 first arg to be a string (fixed dead code), or an operator symbol.
4913 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4914 operator symbols.
4915 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4916 did nothing. Don't respond to `(:after ".")', it will be called
4917 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4918 change anything. Only return indentation for binary operators
4919 when they are hanging. De-dent opening paren when its parent is
4920 `.', otherwise it looks bad when the dot is not at bol or eol
4921 (bug#16182).
4922
4923 2013-12-19 Juri Linkov <juri@jurta.org>
4924
4925 * replace.el (query-replace-read-args): Split a non-negative arg
4926 and a negative arg into separate elements.
4927 (query-replace, query-replace-regexp, replace-string)
4928 (replace-regexp): Add arg `backward'. Doc fix.
4929 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4930 move point to the beginning of the match.
4931 (replace-search, replace-highlight): Use new arg `backward'
4932 to set the value of `isearch-forward'.
4933 (perform-replace): Add arg `backward' and use it to perform
4934 replacement backward. (Bug#14979)
4935
4936 * isearch.el (isearch-query-replace): Use a negative prefix arg
4937 to call `perform-replace' with a non-nil arg `backward'.
4938
4939 2013-12-18 Juri Linkov <juri@jurta.org>
4940
4941 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4942 to the default list. Move `log-edit-show-files' to the end.
4943 Add more available functions to options.
4944 (log-edit): Move default specific settings to
4945 `log-edit-insert-message-template'. Don't move point.
4946 (log-edit-insert-message-template): New function.
4947 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4948 (Bug#16170)
4949
4950 2013-12-18 Juri Linkov <juri@jurta.org>
4951
4952 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4953 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4954
4955 2013-12-18 Leo Liu <sdl.web@gmail.com>
4956
4957 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4958 (Bug#16186)
4959
4960 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4961
4962 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4963 formats for displaying file sizes when the -s switch is given.
4964 Instead, compute a separate format for displaying the size in
4965 blocks, which is displayed in addition to the "regular" size.
4966 When -h is given in addition to -s, produce size in blocks in
4967 human-readable form as well. (Bug#16179)
4968
4969 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4970
4971 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4972 Reference tables with ~\ref{...} instead of only \ref{...}.
4973
4974 2013-12-18 Chong Yidong <cyd@gnu.org>
4975
4976 * cus-edit.el (custom-magic-alist): Fix "themed" description
4977 (Bug#14348).
4978
4979 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4980 is non-nil, do not create a new entry in the symbol's theme-value
4981 or theme-face property; update theme-settings only (Bug#14664).
4982 (custom-available-themes): Doc fix.
4983
4984 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4985 (Bug#15674).
4986
4987 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4988
4989 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4990
4991 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4992 (Bug#13914).
4993
4994 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4995
4996 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4997
4998 2013-12-18 Glenn Morris <rgm@gnu.org>
4999
5000 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5001 * cus-start.el (load-prefer-newer): New option.
5002
5003 2013-12-18 Le Wang <l26wang@gmail.com>
5004
5005 * comint.el (comint-previous-matching-input-from-input):
5006 Retain point (Bug#13404).
5007
5008 2013-12-18 Chong Yidong <cyd@gnu.org>
5009
5010 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5011
5012 2013-12-18 Glenn Morris <rgm@gnu.org>
5013
5014 * mail/emacsbug.el (report-emacs-bug):
5015 Only mention enable-multibyte-characters if non-standard.
5016
5017 2013-12-17 Juri Linkov <juri@jurta.org>
5018
5019 * arc-mode.el (archive-extract-by-file): Check if directory exists
5020 before deletion to not show irrelevant errors if it doesn't exist.
5021
5022 2013-12-17 Juri Linkov <juri@jurta.org>
5023
5024 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5025 (Bug#14751)
5026
5027 * net/eww.el (browse-web): Add alias to `eww'.
5028 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5029 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5030
5031 * net/browse-url.el (browse-url-browser-function): Move `eww'
5032 closer to similar functions.
5033
5034 * startup.el (fancy-startup-screen, fancy-about-screen):
5035 Set browse-url-browser-function to eww-browse-url locally.
5036 (Bug#14751)
5037
5038 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * window.el (window--pixel-to-total): Remove unused `mini' var.
5041 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5042 (split-window): Remove unused `new' var.
5043 (window--display-buffer): Remove unused `frame' and `delta' vars.
5044 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5045 and display-width'.
5046
5047 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5048
5049 * dired.el (dired-mark-pop-up):
5050 * register.el (register-preview): Don't bind
5051 split-height-threshold here since it's now done in
5052 display-buffer-below-selected.
5053
5054 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5055
5056 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5057 xterm-rgb-convert-to-16bit.
5058 (rxvt-register-default-colors): Standardize with
5059 xterm-register-default-colors (Bug#14078).
5060
5061 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5062
5063 * simple.el (kill-region): Pass mark first, then point, so that
5064 kill-append works right (Bug#12819).
5065 (copy-region-as-kill, kill-ring-save): Likewise.
5066
5067 2013-12-17 Leo Liu <sdl.web@gmail.com>
5068
5069 * net/rcirc.el (rcirc-add-face):
5070 * eshell/em-prompt.el (eshell-emit-prompt):
5071 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5072 (Bug#16167)
5073
5074 2013-12-17 Chong Yidong <cyd@gnu.org>
5075
5076 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5077 Suggested by Xue Fuqiao.
5078
5079 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5080
5081 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5082
5083 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * net/shr.el (shr-insert-document): Remove unused var
5086 `shr-preliminary-table-render'.
5087 (shr-rescale-image): Remove unused arg `force'.
5088 (shr-put-image): Update calls accordingly.
5089 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5090
5091 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5092
5093 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5094 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5095 :close-all, to see which indentation method to use (Bug#16116).
5096 (smie-rules-function): Document the method :close-all.
5097
5098 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5099
5100 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5101
5102 * net/eww.el (eww-display-html): If we can't find the anchor we're
5103 looking for, then go to point-min.
5104
5105 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5106
5107 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5108 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5109 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5110 Expand dir too, in case it's relative.
5111
5112 2013-12-16 Juri Linkov <juri@jurta.org>
5113
5114 * desktop.el (desktop-auto-save-timeout): Change default to
5115 `auto-save-timeout'. Doc fix.
5116 (desktop-save): Skip the timestamp in desktop-saved-frameset
5117 when checking for auto-save changes.
5118 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5119 `desktop-auto-save' is called repeatedly by the idle timer.
5120 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5121 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5122 (Bug#15331)
5123
5124 2013-12-16 Juri Linkov <juri@jurta.org>
5125
5126 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5127 (Bug#16035)
5128 (isearch-pre-command-hook): Check `this-command' for symbolp.
5129
5130 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5133
5134 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5135
5136 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5137 (cfengine3--current-function): Bring in the current-function
5138 functionality from `cfengine3--current-word'.
5139 (cfengine3-completion-function): Bring in the
5140 bounds-of-current-word functionality from
5141 `cfengine3--current-word'.
5142
5143 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5144
5145 * window.el (display-buffer-below-selected):
5146 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5147
5148 2013-12-16 Leo Liu <sdl.web@gmail.com>
5149
5150 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5151 Remove NOMSG arg and all uses changed.
5152
5153 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5156 (cua--deactivate-rectangle): Don't deactivate the mark.
5157 (cua-set-rectangle-mark): Don't set mark-active since
5158 cua--activate-rectangle already does it for us.
5159 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5160 non-rectangular region.
5161
5162 * emulation/cua-base.el (cua-repeat-replace-region):
5163 Use with-current-buffer.
5164
5165 * net/gnutls.el: Use cl-lib.
5166 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5167
5168 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5169
5170 * emacs-lisp/package.el (package-built-in-p): Support both
5171 built-in and the package.el converted package descriptions.
5172 (package-show-package-list): Allow keywords.
5173 (package-keyword-button-action): Use it instead of
5174 `finder-list-matches'.
5175 (package-menu-filter-interactive): Interactive filtering (by
5176 keyword) function.
5177 (package-menu--generate): Support keywords and change keymappings
5178 and headers when they are given.
5179 (package--has-keyword-p): Helper function.
5180 (package-menu--refresh): Use it.
5181 (package--mapc): Helper function.
5182 (package-all-keywords): Use it.
5183 (package-menu-mode-map): Set up menu items and keybindings to
5184 provide a filtering UI.
5185
5186 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5187
5188 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5189 the behavior when a certificate fails validation. Defaults to
5190 old behavior: never abort, just warn.
5191 (gnutls-negotiate): Use it.
5192
5193 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5194
5195 * window.el (display-buffer-below-selected): Never split window
5196 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5197
5198 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5199
5200 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5201 (package-buffer-info): Use it (bug#15108).
5202
5203 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * icomplete.el (icomplete-completions): Make sure the prefix is already
5206 displayed elsewhere before hiding it (bug#16219).
5207
5208 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5209
5210 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5211 open-paren tokens when preceded by a open-paren, too.
5212 (ruby-smie-rules): Handle virtual indentation after open-paren
5213 tokens specially. If there is code between it and eol, return the
5214 column where is starts (Bug#16118).
5215
5216 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5217
5218 * progmodes/cfengine.el: Fix `add-hook' doc.
5219 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5220 (cfengine3--current-word): Fix parameters.
5221 (cfengine3-make-syntax-cache): Simplify further.
5222 (cfengine3-completion-function, cfengine3--current-function):
5223 Use `assq' for symbols.
5224 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5225
5226 2013-12-13 Glenn Morris <rgm@gnu.org>
5227
5228 * loadup.el (load-path): Warn if site-load or site-init changes it.
5229 No more need to reset it when bootstrapping.
5230
5231 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5232
5233 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5234 locations for cf-promises.
5235 (cfengine-mode-syntax-functions-regex): New caching variable.
5236 (cfengine3-fallback-syntax): Fallback syntax for cases where
5237 cf-promises doesn't run.
5238 (cfengine3--current-word): Reimplement using
5239 `cfengine-mode-syntax-functions-regex'.
5240 (cfengine3-completion-function, cfengine3--current-function):
5241 Use `cfengine3-make-syntax-cache' directly.
5242 (cfengine3-clear-syntax-cache): New function.
5243 (cfengine3-make-syntax-cache): Simplify and create
5244 `cfengine-mode-syntax-functions-regex' on demand.
5245 (cfengine3-format-function-docstring): Don't call
5246 `cfengine3-make-syntax-cache' explicitly.
5247
5248 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5249
5250 Fix windmove-find-other-window broken after pixelwise resizing
5251 (Bug#16017).
5252 * windmove.el (windmove-other-window-loc): Revert change from
5253 2013-12-04.
5254 (windmove-find-other-window): Call window-in-direction.
5255 * window.el (window-in-direction): New arguments SIGN, WRAP and
5256 MINI to emulate original windmove-find-other-window behavior.
5257
5258 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5259
5260 * simple.el (blink-matching--overlay): New variable.
5261 (blink-matching-open): Instead of moving point, highlight the
5262 matching paren with an overlay
5263 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5264
5265 * faces.el (paren-showing-faces, show-paren-match)
5266 (show-paren-mismatch): Move from paren.el.
5267
5268 2013-12-13 Leo Liu <sdl.web@gmail.com>
5269
5270 * indent.el (indent-region): Disable progress reporter in
5271 minibuffer. (Bug#16108)
5272
5273 * bindings.el (visual-order-cursor-movement): Fix version.
5274
5275 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5276
5277 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5278 Also match after beginning of line.
5279 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5280 files. Thanks to Russell Sim. (Bug#15378)
5281
5282 2013-12-13 Juri Linkov <juri@jurta.org>
5283
5284 * simple.el <Keypad support>: Remove key bindings duplicated
5285 with bindings.el. (Bug#14397)
5286
5287 2013-12-13 Juri Linkov <juri@jurta.org>
5288
5289 * comint.el (comint-mode-map): Replace `delete-char' with
5290 `delete-forward-char'. (Bug#16109)
5291
5292 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5293
5294 * progmodes/python.el (python-indent-calculate-indentation):
5295 Fix de-denters cornercase. (Bug#15731)
5296
5297 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5300 (advice--make): Pay attention to `depth'.
5301 (advice--make-1): Don't autoload commands eagerly.
5302 * emacs-lisp/elp.el (elp-instrument-function):
5303 * emacs-lisp/trace.el (trace-function-internal):
5304 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5305
5306 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5307
5308 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5309
5310 * term/w32-win.el (w32-handle-dropped-file):
5311 * startup.el (normal-top-level):
5312 * net/browse-url.el (browse-url-file-url):
5313 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5314 decode file names using 'utf-8' rather than
5315 file-name-coding-system.
5316
5317 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5318
5319 * progmodes/python.el (python-indent-context)
5320 (python-indent-calculate-indentation): Fix auto-identation
5321 behavior for comment blocks. (Bug#15916)
5322
5323 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5324
5325 * progmodes/python.el (python-indent-calculate-indentation):
5326 When determining indentation, don't treat "return", "pass", etc., as
5327 operators when they are just string constituents. (Bug#15812)
5328
5329 2013-12-12 Juri Linkov <juri@jurta.org>
5330
5331 * uniquify.el (uniquify-buffer-name-style): Change default to
5332 `post-forward-angle-brackets'.
5333
5334 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5335 `uniquify'. Change default to `post-forward-angle-brackets'.
5336
5337 2013-12-11 Glenn Morris <rgm@gnu.org>
5338
5339 * emacs-lisp/package.el (finder-list-matches):
5340 Autoload rather than falsely declaring.
5341
5342 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5343
5344 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5345 (eww-mode-map): Use them.
5346
5347 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (display-buffer-in-side-window): Fix doc-string
5350 (Bug#16115).
5351
5352 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5353
5354 * vc/vc-git.el: Silence byte-compiler warnings.
5355 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5356 (log-edit-set-header): Declare.
5357
5358 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5359
5360 * Makefile.in (custom-deps, finder-data): Run output file names
5361 through unmsys--file-name. (Bug#16099)
5362
5363 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5366 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5367
5368 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5369 instead of deleting the selection "by hand" (bug#16098).
5370 Rely on insert-for-yank to yank rectangles.
5371 (cua-highlight-region-shift-only): Mark obsolete.
5372 (cua-mode): Don't enable/disable transient-mark-mode,
5373 shift-select-mode (cua-mode works both with and without them), and
5374 pc-selection-mode (obsolete).
5375 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5376 (cua--deactivate-rectangle): Deactivate it.
5377
5378 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5379 (delete-selection-helper): Make sure yank starts at the top of the
5380 deleted region.
5381 (minibuffer-keyboard-quit): Use region-active-p.
5382
5383 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5384
5385 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5386 to `delete' (bug#16109).
5387
5388 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5389
5390 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5391 info manual and show keybindings and set `:group' keyword.
5392
5393 2013-12-11 Juri Linkov <juri@jurta.org>
5394
5395 * delsel.el (delete-active-region): Let-bind `this-command'
5396 to prevent `kill-region' from changing its original value.
5397 (delete-selection-helper): Handle `overwrite-mode' for the type
5398 `kill' exactly the same way as for the type `t'.
5399 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5400 Support more commands. (Bug#13312)
5401
5402 2013-12-11 Juri Linkov <juri@jurta.org>
5403
5404 * bindings.el: Map kp keys to non-kp keys systematically
5405 with basic modifiers control, meta and shift. (Bug#14397)
5406
5407 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5408
5409 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5410 "Close browser" menu items. Fix wrong function of "List
5411 bookmarks".
5412
5413 2013-12-11 Juri Linkov <juri@jurta.org>
5414
5415 * misearch.el (multi-isearch-buffers): Set the value of
5416 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5417 arg of isearch-forward to t.
5418 (multi-isearch-buffers-regexp): Set the value of
5419 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5420 arg of isearch-forward-regexp to t.
5421 (multi-isearch-files): Set the value of
5422 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5423 arg of isearch-forward to t.
5424 (multi-isearch-files-regexp): Set the value of
5425 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5426 arg of isearch-forward-regexp to t. (Bug#16035)
5427
5428 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5429 arg of isearch-forward to t.
5430 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5431 arg of isearch-forward-regexp to t.
5432 (dired-isearch-filter-filenames): Remove unnecessary check for
5433 `dired-isearch-filenames'.
5434
5435 * comint.el (comint-history-isearch-backward):
5436 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5437 (comint-history-isearch-backward-regexp):
5438 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5439
5440 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5441
5442 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5443 unmsys--file-name. (Bug#16099)
5444
5445 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5446
5447 * emacs-lisp/package.el (package-keyword-button-action):
5448 Remove finder.el require dependency.
5449
5450 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5451
5452 * emacs-lisp/package.el: Require finder.el.
5453 (describe-package-1): Add keyword buttons.
5454 (package-make-button): New convenience function.
5455 (package-keyword-button-action): Keyword button action using
5456 `finder-list-matches'.
5457
5458 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5459
5460 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5461 last commit.
5462
5463 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5464
5465 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5466 symlinked files.
5467
5468 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5469
5470 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5471 after the end of a percent literal.
5472
5473 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5474
5475 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5476 Handle caret-delimited strings (Bug#16079).
5477
5478 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5479
5480 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5481 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5482 `ruby-parse-partial' (Bug#16078).
5483
5484 2013-12-09 Leo Liu <sdl.web@gmail.com>
5485
5486 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5487
5488 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5489
5490 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5491 (js-switch-indent-offset): New option.
5492 (js--proper-indentation): Use it. And handle the case when
5493 "default" is actually a key in an object literal.
5494 (js--same-line): New function.
5495 (js--multi-line-declaration-indentation): Use it.
5496 (js--indent-in-array-comp, js--array-comp-indentation):
5497 New functions.
5498 (js--proper-indentation): Use them, to handle array comprehension
5499 continuations.
5500
5501 2013-12-08 Leo Liu <sdl.web@gmail.com>
5502
5503 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5504 (flymake-make-overlay): Remove arg MOUSE-FACE.
5505 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5506
5507 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5510 New function.
5511 (redisplay-highlight-region-function): Use it.
5512
5513 * emulation/cua-base.el (cua--explicit-region-start)
5514 (cua--last-region-shifted): Remove.
5515 (cua--deactivate): Use deactivate-mark.
5516 (cua--pre-command-handler-1): Don't handle shift-selection.
5517 (cua--post-command-handler-1): Don't change transient-mark-mode.
5518 (cua--select-keymaps): Use region-active-p rather than
5519 cua--explicit-region-start or cua--last-region-shifted.
5520 (cua-mode): Enable shift-select-mode.
5521
5522 2013-12-08 Leo Liu <sdl.web@gmail.com>
5523
5524 * progmodes/flymake.el (flymake-popup-current-error-menu):
5525 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5526 (flymake-posn-at-point-as-event, flymake-popup-menu)
5527 (flymake-make-emacs-menu): Remove. (Bug#16077)
5528
5529 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * rect.el (rectangle-mark-mode): Activate mark even if
5532 transient-mark-mode is off (bug#16066).
5533 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5534 is > mark and at bolp.
5535
5536 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5537 (region-extract-function): Use it.
5538 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5539 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5540 Delete functions.
5541 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5542 kill-ring-save, kill-region, delete-char, delete-forward-char.
5543 Ignore self-insert-iso.
5544
5545 * emulation/cua-gmrk.el (cua--init-global-mark):
5546 Ignore `self-insert-iso'.
5547
5548 * emulation/cua-base.el (cua--prefix-copy-handler)
5549 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5550 checking cua--rectangle.
5551 (cua-delete-region): Use region-extract-function.
5552 (cua-replace-region): Delete function.
5553 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5554 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5555 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5556 (cua--init-keymaps): Don't remap delete-selection commands.
5557 (cua-mode): Use delete-selection-mode instead of rolling our own
5558 (bug#16085).
5559
5560 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5561 Obey region-extract-function.
5562
5563 Make registers and delete-selection-mode work on rectangles.
5564 * register.el (describe-register-1): Don't modify the register's value.
5565 (copy-to-register): Obey region-extract-function.
5566 * delsel.el (delete-active-region): Obey region-extract-function.
5567
5568 2013-12-08 Leo Liu <sdl.web@gmail.com>
5569
5570 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5571 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5572 (flymake-compilation-prevents-syntax-check)
5573 (flymake-start-syntax-check-on-newline)
5574 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5575 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5576 (flymake-xml-program, flymake-master-file-dirs)
5577 (flymake-master-file-count-limit)
5578 (flymake-allowed-file-name-masks): Relocate.
5579 (flymake-makehash, flymake-float-time)
5580 (flymake-replace-regexp-in-string, flymake-split-string)
5581 (flymake-get-temp-dir): Remove.
5582 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5583 (flymake-current-row, flymake-selected-frame)
5584 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5585 related functions. (Bug#16077)
5586
5587 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5588
5589 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5590
5591 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5592
5593 * help-fns.el (describe-function-1): Use new advice-* functions
5594 rather than old ad-* functions. Fix function type description and
5595 source links for advised functions and subrs.
5596
5597 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5600
5601 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5602
5603 * progmodes/compile.el (compilation-start):
5604 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5605
5606 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5607 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5608
5609 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5610
5611 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5612 Touch up the last change.
5613
5614 2013-12-06 Leo Liu <sdl.web@gmail.com>
5615
5616 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5617 (inferior-octave-startup): Always use "octave> " for prompt.
5618 (octave-goto-function-definition)
5619 (octave-sync-function-file-names)
5620 (octave-find-definition-default-filename): Remove redundant backquotes.
5621
5622 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5625 syntax for `?'.
5626 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5627 where appropriate already.
5628 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5629 end of method names (Bug#15874).
5630
5631 2013-12-06 Juri Linkov <juri@jurta.org>
5632
5633 * isearch.el (isearch--saved-overriding-local-map):
5634 New internal variable.
5635 (isearch-mode): Set it to the initial value of
5636 `overriding-terminal-local-map'.
5637 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5638 with `isearch--saved-overriding-local-map'. (Bug#16035)
5639
5640 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5641
5642 * progmodes/octave.el (inferior-octave-completion-table):
5643 Turn back into function, use `completion-table-with-cache'
5644 (Bug#11906). Update all references.
5645
5646 * minibuffer.el (completion-table-with-cache): New function.
5647
5648 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5649
5650 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5651
5652 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5653
5654 * net/eww.el (eww-current-source): New variable to store page
5655 source.
5656 (eww-display-html, eww-mode, eww-save-history)
5657 (eww-restore-history): Use it.
5658 (eww-view-source): New command to view page source.
5659 Opportunistically uses `html-mode' to highlight the buffer.
5660 (eww-mode-map): Install it.
5661
5662 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5663
5664 * net/dbus.el (dbus-unregister-service)
5665 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5666 Fix docstring.
5667 (dbus-unregister-service): Skip :serial entries in
5668 `dbus-registered-objects-table'.
5669 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5670
5671 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5672
5673 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5674 around keywords with extra `split-string' argument.
5675
5676 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5677
5678 * windmove.el (windmove-other-window-loc): Handle navigation
5679 between windows (excluding the minibuffer window - Bug#16017).
5680
5681 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5682
5683 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5684 in D-Bus type syntax.
5685 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5686 preserve unibyte strings. (Bug#16048)
5687
5688 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5691 Call force-mode-line-update is the proper buffer (bug#16042).
5692
5693 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5694
5695 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5696 `log-edit-remember-comment', make argument optional. Adjust all
5697 callers.
5698 (log-edit-mode): Add `log-edit-remember-comment' to
5699 `kill-buffer-hook' locally.
5700 (log-edit-kill-buffer): Don't remember comment explicitly since
5701 the buffer is killed anyway.
5702
5703 2013-12-04 Juri Linkov <juri@jurta.org>
5704
5705 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5706 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5707
5708 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5709
5710 * notifications.el (notifications-close-notification): Call the
5711 D-Bus method with ID being a `:uint32'. (Bug#16030)
5712
5713 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5714
5715 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5716
5717 2013-12-03 Juri Linkov <juri@jurta.org>
5718
5719 * progmodes/compile.el (compilation-start): Rename window alist
5720 entry `no-display-ok' to `allow-no-window'.
5721
5722 * simple.el (shell-command): Add window alist entry
5723 `allow-no-window' to `display-buffer'.
5724 (async-shell-command): Doc fix.
5725
5726 * window.el (display-buffer-no-window): New action function.
5727 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5728
5729 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5730
5731 * vc/log-edit.el (log-edit-set-header): Extract from
5732 `log-edit-toggle-header'.
5733 (log-edit-extract-headers): Separate the summary, when extracted
5734 from header, from the rest of the message with an empty line.
5735
5736 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5737 line, if present, to the Summary header.
5738
5739 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5742 in current-buffer (bug#16029).
5743
5744 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5745
5746 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5747 (debugger-mode-map): Bind it.
5748 (debugger--backtrace-base): New function.
5749 (debugger-eval-expression): Use it.
5750 (debugger-frame-number): Skip local vars when present.
5751 (debugger--locals-visible-p, debugger--insert-locals)
5752 (debugger--show-locals, debugger--hide-locals): New functions.
5753
5754 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5755
5756 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5757 "LC_ALL".
5758 (tramp-get-remote-locale): New defun.
5759 (tramp-open-connection-setup-interactive-shell): Use it.
5760
5761 2013-12-02 Leo Liu <sdl.web@gmail.com>
5762
5763 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5764
5765 * progmodes/sh-script.el (sh-shell-process):
5766 * progmodes/octave.el (inferior-octave-process-live-p):
5767 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5768 (gdb-inferior-io-sentinel):
5769 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5770
5771 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5772
5773 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5774 `save-selected-window' to `log-edit-hide-buf'. This makes
5775 `log-edit-show-files' idempotent.
5776 (log-edit-show-files): Mark the new window as dedicated.
5777
5778 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5779
5780 * vc/log-edit.el (log-edit-mode-map): Add binding for
5781 `log-edit-kill-biffer'.
5782 (log-edit-hide-buf): Add a FIXME comment.
5783 (log-edit-add-new-comment): New function, extracted from
5784 `log-edit-done'.
5785 (log-edit-done, log-edit-add-to-changelog): Use it.
5786 (log-edit-kill-buffer): New command.
5787
5788 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5789
5790 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5791 instead of killing the buffer.
5792
5793 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5796
5797 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5798
5799 * net/eww.el (eww-form-checkbox-selected-symbol)
5800 (eww-form-checkbox-symbol): New customizable variable.
5801 (eww-form-checkbox, eww-toggle-checkbox):
5802 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5803
5804 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5805 (shr--get-media-pref, shr--extract-best-source): New function.
5806 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5807 no :src tag was specified.
5808
5809 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5810 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5811 Use \\` to match beginning of string instead of ^.
5812 (eww-browse-with-external-browser): Provide optional URL parameter.
5813 (eww-render): Set `eww-current-title' back to "".
5814
5815 * net/shr.el (shr-tag-video): Display content for video if no
5816 poster is available.
5817 (shr-tag-audio): Add support for <audio> tag.
5818
5819 * net/eww.el (eww-text-input-types): New const.
5820 (eww-process-text-input): Treat input types in
5821 `eww-text-input-types' as text.
5822
5823 * net/shr.el (shr-tag-table): Fix comment typo.
5824
5825 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5826
5827 * net/eww.el (eww-follow-link): New command to avoid reloading
5828 pages when we follow #target links (bug#15243).
5829 (eww-quit): Special mode buffers shouldn't query before exiting.
5830
5831 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5832
5833 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5834 forms.
5835
5836 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5837
5838 * net/eww.el (eww-restore-history): Update the window title after
5839 moving in the history.
5840 (eww-current-dom): New variable used to save the current DOM.
5841
5842 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5843
5844 * vc/log-edit.el (log-edit-mode-map): Add binding for
5845 `log-edit-beginning-of-line'.
5846 (log-edit-setup-add-author): New user option.
5847 (log-edit-beginning-of-line): New command.
5848 (log-edit): Move major mode call above the contents setup so that
5849 the local variable values are already applied.
5850 (log-edit): Only insert "Author: " when
5851 `log-edit-setup-add-author' is non-nil.
5852 (log-edit): When SETUP is non-nil, position point after ": "
5853 instead of point-min.
5854
5855 2013-12-01 Glenn Morris <rgm@gnu.org>
5856
5857 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5858
5859 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5860
5861 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5862 redisplay to make sure the initial frame gets a chance to become
5863 visible. (Bug#16014)
5864
5865 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5866
5867 Support resizing frames and windows pixelwise.
5868 * cus-start.el (frame-resize-pixelwise)
5869 (window-resize-pixelwise): New entries.
5870 * emacs-lisp/debug.el (debug): Use window-total-height instead
5871 of window-total-size.
5872 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5873 * help.el (describe-bindings-internal): Use help-buffer as
5874 argument for with-help-window.
5875 (temp-buffer-max-width): New option.
5876 (resize-temp-buffer-window, help-window-setup)
5877 (with-help-window): Rewrite.
5878 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5879 dragging dividers.
5880 * window.el (frame-char-size, window-min-pixel-height)
5881 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5882 (window-min-pixel-width, window-safe-min-pixel-size)
5883 (window-combination-p, window-safe-min-size)
5884 (window-resizable-p, window--size-to-pixel)
5885 (window--pixel-to-size, window--resize-apply-p): New functions.
5886 (window-safe-min-height): Fix doc-string.
5887 (window-size, window-min-size, window--min-size-1)
5888 (window-sizable, window-sizable-p, window--min-delta-1)
5889 (window-min-delta, window--max-delta-1, window-max-delta)
5890 (window--resizable, window--resizable-p, window-resizable)
5891 (window-full-height-p, window-full-width-p, window-at-side-p)
5892 (window--in-direction-2, window-in-direction)
5893 (window--resize-reset-1, window--resize-mini-window)
5894 (window-resize, window-resize-no-error)
5895 (window--resize-child-windows-normal)
5896 (window--resize-child-windows, window--resize-siblings)
5897 (window--resize-this-window, window--resize-root-window)
5898 (window--resize-root-window-vertically)
5899 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5900 (maximize-window, minimize-window, delete-window)
5901 (quit-restore-window, window-split-min-size, split-window)
5902 (balance-windows-2, balance-windows)
5903 (balance-windows-area-adjust, balance-windows-area)
5904 (window--state-get-1, window-state-get, window--state-put-1)
5905 (window--state-put-2, window-state-put)
5906 (display-buffer-record-window, window--display-buffer):
5907 Make functions handle pixelwise sizing of windows.
5908 (display-buffer--action-function-custom-type)
5909 (display-buffer-fallback-action):
5910 Add display-buffer-in-previous-window.
5911 (display-buffer-use-some-window): Resize window to height it had
5912 before.
5913 (fit-window-to-buffer-horizontally): New option.
5914 (fit-frame-to-buffer): Describe new values.
5915 (fit-frame-to-buffer-bottom-margin): Replace with
5916 fit-frame-to-buffer-margins.
5917 (window--sanitize-margin): New function.
5918 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5919 using window-text-pixel-size.
5920
5921 2013-11-30 Glenn Morris <rgm@gnu.org>
5922
5923 * emacs-lisp/bytecomp.el (byte-compile-form):
5924 Make the `interactive-only' warning like the `obsolete' one.
5925 * comint.el (comint-run):
5926 * files.el (insert-file-literally, insert-file):
5927 * replace.el (replace-string, replace-regexp):
5928 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5929 (goto-line, insert-buffer, next-line, previous-line):
5930 Tweak `interactive-only' spec.
5931
5932 Stop keeping (most) generated cedet grammar files in the repository.
5933 * Makefile.in (semantic): New.
5934 (compile-main): Depend on semantic.
5935
5936 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5939 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5940
5941 * uniquify.el (uniquify-buffer-name-style): Change default.
5942
5943 * loadup.el: Preload "uniquify".
5944
5945 * time.el (display-time-update): Update all mode lines (bug#15999).
5946
5947 * electric.el (electric-indent-mode): Enable by default.
5948 * loadup.el: Preload "electric".
5949
5950 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5951
5952 * emacs-lisp/helpers.el (string-empty-p): New function.
5953 (string-blank-p): New function.
5954
5955 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5956
5957 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5958 (Bug#14029).
5959
5960 2013-11-29 Andreas Politz <politza@fh-trier.de>
5961 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5962 allow non-lambda lists as functions.
5963 (imenu--in-alist): Don't recurse into non-subalists.
5964 (imenu): Don't pass function itself as an argument (Bug#14029).
5965
5966 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * progmodes/python.el (python-mode-map): Remove binding for ":".
5969 (python-indent-electric-colon): Remove command.
5970 (python-indent-post-self-insert-function): Integrate the previous code
5971 of python-indent-electric-colon. Make it conditional on
5972 electric-indent-mode.
5973 (python-mode): Add ?: to electric-indent-chars.
5974 Move python-indent-post-self-insert-function to the end of
5975 post-self-insert-hook.
5976
5977 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * doc-view.el (doc-view-goto-page): Update mode-line.
5980
5981 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5982
5983 2013-11-27 Glenn Morris <rgm@gnu.org>
5984
5985 * international/charprop.el, international/uni-bidi.el:
5986 * international/uni-category.el, international/uni-combining.el:
5987 * international/uni-comment.el, international/uni-decimal.el:
5988 * international/uni-decomposition.el, international/uni-digit.el:
5989 * international/uni-lowercase.el, international/uni-mirrored.el:
5990 * international/uni-name.el, international/uni-numeric.el:
5991 * international/uni-old-name.el, international/uni-titlecase.el:
5992 * international/uni-uppercase.el:
5993 Remove generated files from VCS repository.
5994
5995 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5996
5997 * filenotify.el (file-notify-add-watch): Don't special-case
5998 w32notify when computing the directory to watch.
5999
6000 2013-11-27 Glenn Morris <rgm@gnu.org>
6001
6002 Make bootstrap without generated uni-*.el files possible again.
6003 * loadup.el: Update command-line-args checking for unidata-gen.
6004 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6005 * composite.el, international/characters.el:
6006 Handle unicode tables being undefined.
6007
6008 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6009 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6010 (compile-main): Depend on leim rule.
6011 (leim): New rule.
6012 * loadup.el: Move leim-list.el to leim/ subdirectory.
6013 * startup.el (normal-top-level): No more leim directory.
6014 * international/ja-dic-cnv.el (skkdic-convert):
6015 Disable version-control and autoloads in output files.
6016 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6017 Disable version-control and autoloads in output files.
6018 * leim/quail: Move here from ../leim.
6019 * leim/quail/hangul.el (hangul-input-method-activate):
6020 Add autoload cookie.
6021 (generated-autoload-load-name): Set file-local value.
6022 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6023 (generated-autoload-load-name): Set file-local value.
6024
6025 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6026
6027 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6028 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6029 (eww-quit): Ask confirmation before quitting eww.
6030
6031 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6032
6033 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6034 reading output from Diff on MS-Windows and MS-DOS.
6035
6036 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6037
6038 * emacs-lisp/helpers.el (string-reverse): New function.
6039
6040 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6041
6042 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6043 names on MS Windows, like "/[::1]:".
6044
6045 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6046 SWITCHES.
6047
6048 2013-11-26 Glenn Morris <rgm@gnu.org>
6049
6050 * progmodes/python.el (python-indent-guess-indent-offset):
6051 Avoid corner-case error. (Bug#15975)
6052
6053 Preload leim-list.el. (Bug#4789)
6054 * loadup.el: Load leim-list.el when found.
6055 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6056
6057 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6058
6059 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6060
6061 * emacs-lisp/helpers.el (string-join): New function.
6062
6063 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6064
6065 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6066 Mark as obsolete and replace it with a symbol property.
6067 (byte-compile-form): Use new 'interactive-only property.
6068 * comint.el, files.el, replace.el, simple.el:
6069 Apply new 'interactive-only properly.
6070
6071 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6072
6073 * window.el (display-buffer-at-bottom): Make sure that
6074 split-window-sensibly creates the new window on bottom
6075 (Bug#15961).
6076
6077 2013-11-23 David Kastrup <dak@gnu.org>
6078
6079 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6080 on the conflict markers when available.
6081 (smerge--get-marker): New function.
6082 (smerge-end-re, smerge-base-re): Add subgroup.
6083
6084 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * frame.el (handle-focus-in, handle-focus-out): Add missing
6087 interactive spec.
6088
6089 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6090
6091 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6092 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6093
6094 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6097 (gomoku--last-pos): New var.
6098 (gomoku--intangible-chars): New const.
6099 (gomoku--intangible): New function.
6100 (gomoku-mode): Use it. Derive from special-mode.
6101 (gomoku-move-up): Adjust line count.
6102 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6103 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6104 Simplify accordingly.
6105
6106 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6107 Remove blink-cursor code.
6108 (blink-cursor-timer-function, blink-cursor-suspend):
6109 Don't special-case GUIs.
6110 (blink-cursor-mode): Use focus-in/out-hook.
6111
6112 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6113
6114 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6115 work when annotation is invisible (Bug#13886).
6116
6117 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6118
6119 * json.el (json-alist-p): Only return non-nil if the alist has
6120 simple keys (Bug#13518).
6121
6122 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6123
6124 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6125 when control-statement is the first statement in a buffer (Bug#15956).
6126
6127 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6128
6129 * imenu.el (imenu-generic-skip-comments-and-strings):
6130 New option (Bug#15560).
6131 (imenu--generic-function): Use it.
6132
6133 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6134
6135 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6136 (Bug#13898)
6137
6138 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6139
6140 * emacs-lisp/helpers.el: Add some string helpers.
6141 (string-trim-left): Removes leading whitespace.
6142 (string-trim-right): Removes trailing whitespace.
6143 (string-trim): Removes leading and trailing whitespace.
6144
6145 * subr.el (string-suffix-p): New function.
6146
6147 2013-11-23 Glenn Morris <rgm@gnu.org>
6148
6149 * progmodes/python.el (python-shell-send-file):
6150 Add option to delete file when done. (Bug#15647)
6151 (python-shell-send-string, python-shell-send-region): Use it.
6152
6153 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6154
6155 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6156 to set buffer-read-only to t, never to nil. (Bug#15938)
6157
6158 * textmodes/tex-mode.el (latex-noindent-environments):
6159 Add safe-local-variable property. (Bug#15936)
6160
6161 2013-11-23 Glenn Morris <rgm@gnu.org>
6162
6163 * textmodes/enriched.el (enriched-mode): Doc fix.
6164 * emacs-lisp/authors.el (authors-renamed-files-alist):
6165 Add enriched.doc -> enriched.txt.
6166
6167 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6168
6169 2013-11-22 Leo Liu <sdl.web@gmail.com>
6170
6171 * progmodes/octave.el (inferior-octave-startup): Spit out error
6172 message.
6173
6174 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6175
6176 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6177 Improve docstring.
6178 Add :version.
6179 (ruby-encoding-magic-comment-style): Add :version.
6180
6181 2013-11-22 Leo Liu <sdl.web@gmail.com>
6182
6183 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6184 (Bug#15076)
6185 (octave-help-mode): Adapt to change to help-mode-finish to use
6186 derived-mode-p on 2013-09-17.
6187 (inferior-octave-prompt): Also match octave-gui.
6188 (octave-kill-process): Don't ask twice. (Bug#10564)
6189
6190 2013-11-22 Leo Liu <sdl.web@gmail.com>
6191
6192 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6193 (inferior-octave-startup, inferior-octave-check-process)
6194 (inferior-octave-track-window-width-change)
6195 (octave-completion-at-point, octave-eldoc-function): Use it.
6196 (octave-kill-process): Provide confirmation. (Bug#10564)
6197
6198 2013-11-21 Leo Liu <sdl.web@gmail.com>
6199
6200 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6201 Fix obsolete variable comment-use-global-state.
6202
6203 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6204
6205 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6206 Add `octave-source-file'.
6207 (octave-source-file): New function. (Bug#15935)
6208
6209 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6210
6211 * net/eww.el (eww-local-regex): New variable.
6212 (eww): Use it to detect localhost and similar.
6213
6214 2013-11-21 Leo Liu <sdl.web@gmail.com>
6215
6216 Add completion for command `ag'.
6217 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6218 (pcomplete/ag): New function.
6219 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6220
6221 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6224 (bug#14646).
6225 (make-obsolete): Remove interactive spec.
6226
6227 2013-11-21 Glenn Morris <rgm@gnu.org>
6228
6229 * startup.el (command-line-1): Use path-separator with -L.
6230
6231 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6232
6233 * emacs-lisp/package.el (describe-package-1): Add package archive
6234 to shown fields.
6235
6236 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6237
6238 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6239 Change default to "# encoding: %s" to differentiate it from the
6240 default Ruby encoding comment template.
6241
6242 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6243
6244 * ses.el (ses-mode): Doc fix. (Bug#14748)
6245
6246 2013-11-20 Leo Liu <sdl.web@gmail.com>
6247
6248 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6249
6250 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6251
6252 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6253 when rebase or bisect are in progress.
6254
6255 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6256
6257 * filenotify.el (file-notify-add-watch): Doc fix.
6258
6259 2013-11-19 Leo Liu <sdl.web@gmail.com>
6260
6261 * obsolete/rcompile.el: Mark obsolete.
6262
6263 * progmodes/compile.el (compilation-start)
6264 (compilation-goto-locus, compilation-find-file):
6265 Pass no-display-ok and handle nil value from display-buffer.
6266 (Bug#13594)
6267
6268 * window.el (display-buffer-alist, display-buffer): Document the
6269 new parameter no-display-ok. Return either a window or nil
6270 but never a non-window value.
6271
6272 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * electric.el (electric-indent-mode-map): Remove.
6275 (electric-indent-mode): Change the global-map instead (bug#15915).
6276
6277 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6278 Use add-function.
6279
6280 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * emacs-lisp/nadvice.el (remove-function): Align with
6283 add-function's behavior.
6284
6285 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6286 (gdb--string-regexp): New constant.
6287 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6288 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6289 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6290 submatch 1.
6291 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6292 Adjust use accordingly.
6293 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6294
6295 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6296
6297 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6298 interpolation curlies (Bug#15914).
6299
6300 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6301
6302 * calc/calc.el (calc-context-sensitive-enter): New variable.
6303 (calc-enter): Use `calc-context-sensitive-enter'.
6304
6305 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6306
6307 * progmodes/cfengine.el: Version bump.
6308 (cfengine-cf-promises): New defcustom to locate cf-promises.
6309 (cfengine3-vartypes): Add new "data" type.
6310 (cfengine3--current-word): New function to get current name-like
6311 word or its bounds.
6312 (cfengine3--current-function): New function to look up a CFEngine
6313 function's definition.
6314 (cfengine3-format-function-docstring): New function.
6315 (cfengine3-make-syntax-cache): New function.
6316 (cfengine3-documentation-function): New function: ElDoc glue.
6317 (cfengine3-completion-function): New function: completion glue.
6318 (cfengine3-mode): Set `compile-command',
6319 `eldoc-documentation-function', and add to
6320 `completion-at-point-functions'.
6321
6322 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6323
6324 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6325 `tramp-current-connection'.
6326
6327 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6328
6329 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6330 nil/self/true/false with "end of symbol".
6331
6332 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6333
6334 * subr.el (version-regexp-alist): Fix a typo.
6335
6336 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6337
6338 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6339 "en_US.utf8" and "LC_CTYPE" to "".
6340 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6341 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6342
6343 2013-11-15 Leo Liu <sdl.web@gmail.com>
6344
6345 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6346
6347 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * progmodes/gud.el (ctl-x-map):
6350 Remove C-x SPC binding. (Bug#12342)
6351 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6352
6353 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6354
6355 * subr.el (version-regexp-alist):
6356 Recognize hg, svn and darcs versions as snapshot versions.
6357
6358 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6359 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6360 (ruby--encoding-comment-required-p): Extract from
6361 `ruby-mode-set-encoding'.
6362 (ruby-mode-set-encoding): Add the ability to always insert an
6363 utf-8 encoding comment. Fix and simplify coding comment update
6364 logic.
6365
6366 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6367
6368 * net/tramp-gvfs.el (top): Run init code only when
6369 `tramp-gvfs-enabled' is not nil.
6370 (tramp-gvfs-enabled): Check also :system bus.
6371
6372 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 Sync with upstream verilog-mode revision 78e66ba.
6375 * progmodes/verilog-mode.el (verilog-end-of-defun)
6376 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6377 (verilog-get-end-of-defun): Remove unused argument.
6378 (verilog-comment-depth): Remove unused local `e'.
6379 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6380 Don't pass arg to verilog-get-end-of-defun.
6381
6382 2013-11-14 Glenn Morris <rgm@gnu.org>
6383
6384 * obsolete/assoc.el (aget): Prefix dynamic variable.
6385
6386 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6387
6388 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * widget.el, hfy-cmap.el: Remove bogus package version number.
6391
6392 2013-11-13 Glenn Morris <rgm@gnu.org>
6393
6394 * replace.el (replace-eval-replacement):
6395 Try to give more helpful error message. (Bug#15836)
6396
6397 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6398 (archive-7z-update): Avoid custom type mismatches.
6399
6400 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6401
6402 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6403
6404 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6405 address can be empty.
6406
6407 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6408 Accept nil SWITCHES.
6409 (tramp-gvfs-handle-write-region): Implement APPEND.
6410
6411 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6412
6413 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6414 binary "|" operator and closing block args delimiter.
6415 Remove FIXME comment referring to Ruby 1.8-only syntax.
6416 (ruby-smie--implicit-semi-p): Not after "|" operator.
6417 (ruby-smie--closing-pipe-p): New function.
6418 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6419 (ruby-smie-rules): Indent after "|".
6420
6421 2013-11-12 Glenn Morris <rgm@gnu.org>
6422
6423 * ps-print.el (ps-face-attribute-list):
6424 Handle anonymous faces. (Bug#15827)
6425
6426 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6427
6428 * window.el (display-buffer-other-frame): Fix doc-string.
6429 (Bug#15868)
6430
6431 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6434
6435 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6436
6437 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6438 (tramp-sh-handle-file-local-copy): Don't write a message when
6439 saving temporary files.
6440
6441 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6442 both directories are remote.
6443 (tramp-smb-handle-directory-files): Do not return double entries.
6444 Do not expand full file names.
6445 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6446 (tramp-smb-handle-write-region): Implement APPEND.
6447 (tramp-smb-get-stat-capability): Fix a stupid bug.
6448
6449 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6452
6453 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6454
6455 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6456 throwing error over malformed let/let* (bug#15814).
6457
6458 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * iswitchb.el (iswitchb-mode): Mark obsolete.
6461
6462 2013-11-11 Glenn Morris <rgm@gnu.org>
6463
6464 * international/uni-bidi.el, international/uni-category.el:
6465 * international/uni-name.el, international/uni-numeric.el:
6466 Regenerate for Unicode 6.3.0.
6467
6468 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * net/tramp.el (tramp-methods):
6471 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6472 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6473
6474 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6475
6476 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6477 Force highlighting text after Summary keyword in doc face for rpm.
6478
6479 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6480
6481 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6482 available and the word has no wildcards, append one to the grep pattern.
6483 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6484 (ispell-complete-word): Call `ispell-lookup-words' with the value
6485 independent of `ispell-look-p'.
6486
6487 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6488
6489 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6490 Not after "||".
6491 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6492 their parent.
6493
6494 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6497 (ruby-font-lock-keywords): Use backquote.
6498
6499 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6500
6501 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6502 (ruby-smie--backward-token): Only consider full-string matches.
6503
6504 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6505
6506 * faces.el (describe-face): Add distant-foreground.
6507
6508 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6509
6510 * progmodes/ruby-mode.el: Improve encoding comment handling.
6511 (ruby-encoding-magic-comment-style): New option.
6512 (ruby-custom-encoding-magic-comment-template): New option.
6513 (ruby--insert-coding-comment, ruby--detect-encoding):
6514 New functions extracted from `ruby-mode-set-encoding'.
6515 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6516 to control the style of the auto-inserted encoding comment.
6517
6518 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6519
6520 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6521 Use `smie-backward-sexp' with token argument.
6522
6523 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6524
6525 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6526 Remove instrumentation code.
6527
6528 2013-11-08 Glenn Morris <rgm@gnu.org>
6529
6530 * progmodes/autoconf.el (autoconf-mode):
6531 Tweak comment-start-skip. (Bug#15822)
6532
6533 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6536 at bobp (bug#15826).
6537 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6538
6539 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6540
6541 * man.el (Man-start-calling): New macro, extracted from
6542 Man-getpage-in-background.
6543 (Man-getpage-in-background): Use it.
6544 (Man-update-manpage): New command.
6545 (Man-mode-map): Bind it.
6546
6547 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6548
6549 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6550 of "and", "or", "&&" and "||".
6551 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6552 argument. Prohibit opening curly brace because it could only be a
6553 block opener in that position.
6554 (ruby-smie--forward-token, ruby-smie--backward-token):
6555 Separate "|" from "&" or "*" going after it. That can happen in block
6556 arguments.
6557 (ruby-smie--indent-to-stmt): New function, seeks the end of
6558 previous statement or beginning of buffer.
6559 (ruby-smie-rules): Use it.
6560 (ruby-smie-rules): Check if there's a ":" before a curly block
6561 opener candidate; if there is, it's a hash.
6562
6563 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6564
6565 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6566 (cl--block-wrapper): Fix last accidental change.
6567
6568 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6571 Instrument, in order to hunt failure on hydra.
6572
6573 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6574
6575 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6576 malformed bindings form (bug#15814).
6577
6578 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6579
6580 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6581 "." compared to " @ ". This incidentally fixes some indentation
6582 examples with "do".
6583 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6584 (ruby-smie-grammar): New tokens: "and" and "or".
6585 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6586 Exclude "and" and "or". Remove "do" in order to work around token
6587 priorities.
6588 (ruby-smie-rules): Add all infix tokens. Handle the case of
6589 beginning-of-buffer.
6590
6591 2013-11-06 Glenn Morris <rgm@gnu.org>
6592
6593 * Makefile.in (setwins_almost, setwins_for_subdirs):
6594 Avoid accidental matches.
6595
6596 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * menu-bar.el (popup-menu): Use key-binding.
6599
6600 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6601
6602 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6603 menus, support also the menus produced by minor modes.
6604 (Bug#15817)
6605
6606 2013-11-06 Leo Liu <sdl.web@gmail.com>
6607
6608 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6609 DISTANCE to bound the search. All uses changed. (Bug#15808)
6610
6611 2013-11-06 Glenn Morris <rgm@gnu.org>
6612
6613 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6614 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6615 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6616
6617 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * electric.el (electric-indent-just-newline): New command.
6620 (electric-indent-mode-map): New keymap.
6621 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6622 Re-add :group which weren't redundant.
6623
6624 * electric.el (electric-indent-local-mode): New minor mode.
6625 (electric-indent-functions-without-reindent): New var.
6626 (electric-indent-post-self-insert-function): Use it.
6627 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6628
6629 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6630
6631 * international/quail.el (quail-help): Be more explicit about the
6632 meaning of the labels shown on the keys. (Bug#15800)
6633
6634 * startup.el (normal-top-level): Load the subdirs.el files before
6635 setting the locale environment. (Bug#15805)
6636
6637 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6640 via arguments so as to get the right ones (bug#15418).
6641
6642 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6643
6644 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6645
6646 Fix problems found while writing a test suite.
6647
6648 * net/tramp-compat.el (tramp-compat-load): New defun.
6649 * net/tramp.el (tramp-handle-load): Use it.
6650
6651 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6652 "(numberp ok-if-already-exists)" correctly.
6653
6654 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6655
6656 * international/characters.el (glyphless-char-display-control):
6657 Add usage note.
6658
6659 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6660
6661 * progmodes/python.el (python-mode):
6662 * progmodes/scheme.el (scheme-mode):
6663 * progmodes/prolog.el (prolog-mode):
6664 * progmodes/ruby-mode.el (ruby-mode):
6665 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6666 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6667
6668 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * rect.el (rectangle--highlight-for-redisplay):
6671 * emacs-lisp/smie.el (smie--next-indent-change):
6672 Use buffer-chars-modified-tick.
6673
6674 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6675
6676 * electric.el (electric-indent-post-self-insert-function):
6677 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6678
6679 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6680
6681 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6682
6683 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6684
6685 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6686 (bug#15786).
6687
6688 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6691
6692 * progmodes/python.el: Fix up last change.
6693 (python-shell--save-temp-file): New function.
6694 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6695 `string' comes from the current buffer.
6696 (python-shell-send-string-no-output): Remove `msg' arg.
6697 (python--use-fake-loc): New var.
6698 (python-shell-buffer-substring): Obey it. Try to compensate for the
6699 extra coding line added by python-shell--save-temp-file.
6700 (python-shell-send-region): Use python-shell--save-temp-file and
6701 python-shell-send-file directly. Add `nomain' argument.
6702 (python-shell-send-buffer): Use python-shell-send-region.
6703 (python-electric-pair-string-delimiter): New function.
6704 (python-mode): Use it.
6705
6706 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6707
6708 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6709 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6710 environment and decoding all of the default-directory's to here
6711 from command-line.
6712 (command-line): Decode also argv[0].
6713
6714 * loadup.el: Error out if default-directory is a multibyte string
6715 when we are dumping.
6716
6717 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6718
6719 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6720
6721 * emacs-lisp/package.el (package-menu-mode)
6722 (package-menu--print-info, package-menu--archive-predicate):
6723 Add Archive column to package list.
6724
6725 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6726
6727 Fix problems found while writing a test suite.
6728
6729 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6730 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6731 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6732 to nil when running original file name handler. Otherwise,
6733 there are problems with constructs like "$$FOO".
6734
6735 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6736 for `localname'.
6737
6738 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6739
6740 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6741
6742 * subr.el (version<, version<=, version=):
6743 Update docstrings with information for snapshot versions.
6744
6745 * helpers.el: New library for misc helper functions.
6746 (hash-table-keys): New function returning a list of hash keys.
6747 (hash-table-values): New function returning a list of hash values.
6748
6749 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6750
6751 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6752 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6753
6754 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6755
6756 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6757 checking whether point is after a 1-letter word.
6758
6759 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6760
6761 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6762 Don't infloop when expanding region over `multiline' syntax-type that
6763 begins a line (bug#15778).
6764
6765 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6768 Make it into a proper minor mode.
6769 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6770 (rectangle-mark-mode-map): New keymap.
6771 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6772
6773 2013-11-04 Glenn Morris <rgm@gnu.org>
6774
6775 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6776
6777 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6780 (ruby-smie-rules): Use smie-rule-parent instead.
6781
6782 * emacs-lisp/smie.el (smie-rule-parent): Always call
6783 smie-indent-virtual rather than only for hanging tokens.
6784 (smie--next-indent-change): New helper command.
6785
6786 2013-11-03 Glenn Morris <rgm@gnu.org>
6787
6788 * Makefile.in (abs_srcdir): Remove.
6789 (emacs): Unset EMACSLOADPATH.
6790
6791 2013-11-02 Glenn Morris <rgm@gnu.org>
6792
6793 * Makefile.in (EMACS): Use a relative filename.
6794 (abs_top_builddir): Remove.
6795 (custom-deps, finder-data, autoloads): Use --chdir.
6796
6797 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6798
6799 Use relative filenames in TAGS files.
6800 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6801 (lisptagsfiles4, TAGS): Use relative file names.
6802 (TAGS-LISP): Remove.
6803 (maintainer-clean): No more TAGS-LISP file.
6804
6805 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6806 (lisptagsfiles4): Use absolute filenames again.
6807 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6808 Remove all *loaddefs files, not just the first. Remove esh-groups.
6809 (maintainer-clean): Delete TAGS, TAGS-LISP.
6810
6811 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6812
6813 * emacs-lisp/package.el (package-version-join):
6814 Recognize snapshot versions.
6815
6816 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6817
6818 * subr.el (version-regexp-alist): Add support for snapshot versions.
6819
6820 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6821
6822 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6823 New function, replacement for `smie-rule-parent' for when we want to
6824 skip over our direct parent if it's an assignment token..
6825 (ruby-smie-rules): Use it.
6826
6827 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6828
6829 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6830 unconditionally. Remove now unnecessary forward declarations.
6831 Remove XEmacs-specific setup.
6832 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6833 (ruby-font-lock-syntactic-keywords)
6834 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6835 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6836 (ruby-here-doc-end-syntax): Remove.
6837 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6838 defined as function.
6839
6840 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6841
6842 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6843
6844 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6845
6846 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6847 table and abbrev table, `define-derived-mode' does that for us
6848 anyway.
6849
6850 2013-11-01 Glenn Morris <rgm@gnu.org>
6851
6852 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6853 files is atomic for some time, so no parallel compilation issues).
6854
6855 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6856
6857 * faces.el (face-x-resources): Add :distant-foreground.
6858 (region): Use :distant-foreground for gtk and ns.
6859
6860 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6861
6862 Allow multiple bibliographies when BibLaTeX is used rather than
6863 BibTeX.
6864 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6865 (reftex-locate-bibliography-files): Us it.
6866
6867 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6868
6869 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6870 allow comments in pbm files.
6871
6872 * term/w32-win.el (dynamic-library-alist): Support newer versions
6873 of libjpeg starting with v7: look only for the DLL from the
6874 version against which Emacs was built.
6875 Support versions of libpng beyond 1.4.x.
6876 Support libtiff v4.x.
6877
6878 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6879
6880 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6881 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6882 Add property :safe.
6883 (ruby-deep-arglist): Add property :type.
6884
6885 2013-10-31 Glenn Morris <rgm@gnu.org>
6886
6887 * Makefile.in (custom-deps, finder-data): No need to setq the target
6888 variables, we are in the right directory and the defaults work fine.
6889
6890 2013-10-30 Glenn Morris <rgm@gnu.org>
6891
6892 * Makefile.in (autoloads): Do not use abs_lisp.
6893
6894 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6895 `newline' does not respect `standard-output', so use `princ'.
6896
6897 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6898
6899 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6900 * buff-menu.el (Buffer-menu--unmark): New function.
6901 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6902
6903 2013-10-30 Glenn Morris <rgm@gnu.org>
6904
6905 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6906
6907 * emacs-lisp/package.el (lm-homepage): Declare.
6908
6909 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6910 Fix doc typos.
6911
6912 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6913
6914 * Makefile.in (finder-data, autoloads, update-subdirs)
6915 (compile-main, compile-clean, compile-always, bootstrap-clean):
6916 Check return value of cd.
6917 (compile-calc): Remove.
6918
6919 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6922
6923 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6924 (byte-compile-and-folded): New function.
6925 (=, <, >, <=, >=): Use it.
6926
6927 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6928 (path-separator, null-device, buffer-file-coding-system)
6929 (lpr-headers-switches): Check system-type before modifying them.
6930 (find-buffer-file-type-coding-system): Mark obsolete.
6931 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6932 find-file-not-found-set-buffer-file-coding-system.
6933 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6934 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6935 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6936 (w32-direct-print-region-helper, w32-direct-print-region-function)
6937 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6938 * startup.el (normal-top-level-add-subdirs-to-load-path):
6939 * ps-print.el (ps-print-region-function):
6940 * lpr.el (print-region-function): Use new name.
6941
6942 * subr.el (custom-declare-variable-early): Remove function.
6943 (custom-declare-variable-list): Remove var.
6944 (error, user-error): Remove `while' loop.
6945 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6946 (user-emacs-directory-warning, locate-user-emacs-file):
6947 Move to files.el.
6948 * simple.el (read-quoted-char-radix, read-quoted-char):
6949 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6950 Move from subr.el.
6951 * custom.el (custom-declare-variable-list): Don't process
6952 custom-declare-variable-list.
6953
6954 * progmodes/python.el (python-shell-get-buffer): New function.
6955 (python-shell-get-process): Use it.
6956 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6957 Python which encoding was used. Don't split-string since we only care
6958 about the first line. Return the temp-file, if applicable.
6959 (python-shell-send-region): Tell compile.el how to turn locations in
6960 the temp-file into locations in the source buffer.
6961
6962 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * subr.el (undefined): Add missing behavior from the C code for
6965 unbound keys.
6966
6967 * rect.el: Use lexical-binding. Add new rectangular region support.
6968 (rectangle-mark): New command.
6969 (rectangle--region): New var.
6970 (deactivate-mark-hook): Reset rectangle--region.
6971 (rectangle--extract-region, rectangle--insert-for-yank)
6972 (rectangle--highlight-for-redisplay)
6973 (rectangle--unhighlight-for-redisplay): New functions.
6974 (region-extract-function, redisplay-unhighlight-region-function)
6975 (redisplay-highlight-region-function): Use them to handle
6976 rectangular region.
6977 * simple.el (region-extract-function): New var.
6978 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6979 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6980 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6981 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6982 (redisplay-unhighlight-region-function)
6983 (redisplay-highlight-region-function): New vars.
6984 (redisplay--update-region-highlight): New function.
6985 (pre-redisplay-function): Use it.
6986 (exchange-point-and-mark): Don't deactivate the mark before
6987 reactivate-it anyway.
6988 * comint.el (comint-kill-region): Remove yank-handler argument.
6989 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6990 (delete-char): Remove property, since it's now part of their
6991 default behavior.
6992 (self-insert-iso): Remove property since this command doesn't exist.
6993
6994 * emacs-lisp/package.el (package--download-one-archive)
6995 (describe-package-1): Don't query the user about final newline.
6996
6997 2013-10-29 Daniel Colascione <dancol@dancol.org>
6998
6999 * net/tramp.el (tramp-methods): Document new functionality.
7000 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7001 tramp-hostname-checker if method provides one instead of scanning
7002 argument list for "%h" to decide hostname acceptability.
7003
7004 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7005
7006 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7007 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7008 Handle COPY-CONTENTS. (Bug#15737)
7009
7010 2013-10-28 Daiki Ueno <ueno@gnu.org>
7011
7012 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7013 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7014
7015 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7016
7017 * image.el (defimage, image-load-path): Doc fixes.
7018
7019 2013-10-27 Alan Mackenzie <acm@muc.de>
7020
7021 Indent statements in macros following "##" correctly.
7022 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7023 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7024
7025 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7026
7027 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7028
7029 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7030
7031 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7032 after `=' is probably a new expression.
7033
7034 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7035
7036 * man.el (man-imenu-title): New option.
7037 (Man-mode-map): Add menu. (Bug#15722)
7038 (Man-mode): Add imenu to menu.
7039
7040 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7041
7042 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7043 specific in what the first arg can be: a non-keyword word,
7044 string/regexp/percent literal opener, opening paren, or unary
7045 operator followed directly by word.
7046
7047 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7050 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7051 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7052 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7053 Remove vars, they do not apply any more.
7054 (prolog-mode-abbrev-table): Remove redundant declaration.
7055 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7056 (prolog-use-smie): Remove.
7057 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7058 supported by prolog-electric-if-then-else-flag.
7059 (prolog-mode-variables, prolog-menu): Use setq-local.
7060 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7061 Remove binding to `Backspace' since this key doesn't exist anyway.
7062 Remove bindings for electric self-inserting keys.
7063 (prog-mode): Assume it's defined.
7064 (prolog-post-self-insert): New function.
7065 (prolog-mode): Use it.
7066 (prolog-indent-line, prolog-indent-level)
7067 (prolog-find-indent-of-matching-paren)
7068 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7069 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7070 (prolog-goto-next-paren, prolog-in-string-or-comment)
7071 (prolog-tokenize, prolog-inside-mline-comment)
7072 (prolog-find-start-of-mline-comment): Remove functions.
7073 (prolog-find-unmatched-paren, prolog-clause-end)
7074 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7075 (prolog-electric--if-then-else): Rename from
7076 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7077 (prolog-tokenize-searchkey): Remove const.
7078 (prolog-clause-info): Use forward-sexp.
7079 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7080 (prolog-electric-if-then-else): Remove commands.
7081 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7082 for use in post-self-insert-hook.
7083 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7084 for use in post-self-insert-hook.
7085 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7086 for use in post-self-insert-hook.
7087 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7088 adapt it for use in post-self-insert-hook.
7089
7090 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7091
7092 * emacs-lisp/ert.el (ert-run-tests-interactively):
7093 Use `completing-read'. (Bug#9756)
7094
7095 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7096
7097 * simple.el (line-move): Call line-move-1 instead of
7098 line-move-visual when the current window hscroll is zero, but
7099 temporary-goal-column indicates we will need to hscroll as result
7100 of the movement. (Bug#15712)
7101
7102 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7103
7104 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7105 capitalization. Use :visible instead of :active.
7106 Fix `ruby-indent-exp' reference. Add menu items for the generic
7107 commands that are used with SMIE.
7108 (ruby-do-end-to-brace): Insert space after `{'.
7109
7110 2013-10-25 John Anthony <john@jo.hnanthony.com>
7111
7112 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7113
7114 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7115
7116 2013-10-25 Glenn Morris <rgm@gnu.org>
7117
7118 * vc/vc.el (vc-print-log): Don't use a working revision unless
7119 one was explicitly specified. (Bug#15322)
7120
7121 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * subr.el (add-to-list): Preserve return value in compiler-macro
7124 (bug#15692).
7125
7126 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7127
7128 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7129 result. Ask user to retry using '-all' flag. (Bug#15701)
7130
7131 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 * emacs-lisp/smie.el: New smie-config system.
7134 (smie-config): New defcustom.
7135 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7136 (smie-config-guess, smie-config-save): New commands.
7137 (smie-config--mode-local, smie-config--buffer-local)
7138 (smie-config--trace, smie-config--modefuns): New vars.
7139 (smie-config--advice, smie-config--mode-hook)
7140 (smie-config--setter, smie-config-local, smie-config--get-trace)
7141 (smie-config--guess-value, smie-config--guess): New functions.
7142 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7143 text properties. Treat "string fence" syntax like string syntax.
7144
7145 * progmodes/sh-script.el (sh-use-smie): Change default.
7146 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7147 (sh-var-value): Simplify by CSE.
7148 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7149 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7150 is used.
7151 (sh-guess-basic-offset): Use cl-incf.
7152 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7153
7154 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7155
7156 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7157 (bug#15699).
7158
7159 2013-10-24 Glenn Morris <rgm@gnu.org>
7160
7161 * Makefile.in (abs_top_srcdir): Remove.
7162 (update-subdirs): Use relative path to update-subdirs.
7163
7164 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7165
7166 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7167 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7168 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7169 Call unmsys--file-name before expand-file-name, not after it.
7170
7171 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7172
7173 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7174 (ert-test-skipped): New error.
7175 (ert-skip, ert-stats-skipped): New defuns.
7176 (ert--skip-unless): New macro.
7177 (ert-test-skipped): New struct.
7178 (ert--run-test-debugger, ert-test-result-type-p)
7179 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7180 (ert--stats-set-test-and-result, ert-char-for-test-result)
7181 (ert-string-for-test-result, ert-run-tests-batch)
7182 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7183 Handle skipped tests. (Bug#9803)
7184
7185 2013-10-24 Glenn Morris <rgm@gnu.org>
7186
7187 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7188
7189 * Makefile.in (abs_top_srcdir): New, set by configure.
7190 (update-subdirs): Correct build-aux location.
7191
7192 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7193
7194 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7195 value, whether we could auto-deduce `backend', or not.
7196
7197 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7198 with parameters" example. Simplify the "is it block or is it
7199 hash" check, but also make it more thorough.
7200
7201 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7202
7203 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7204
7205 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7208 { if it is hanging.
7209
7210 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7211 :before ";".
7212
7213 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7214
7215 * progmodes/compile.el (compilation-directory-matcher)
7216 (compilation-page-delimiter):
7217 Support GNU Make-4.0 directory quoting. (Bug#15678)
7218
7219 2013-10-23 Leo Liu <sdl.web@gmail.com>
7220
7221 * ido.el (ido-tidy): Handle read-only text.
7222
7223 2013-10-23 Glenn Morris <rgm@gnu.org>
7224
7225 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7226 (emacs, compile, compile-always):
7227 Quote entities that might contain whitespace.
7228 (custom-deps, finder-data, autoloads): Use abs_lisp.
7229 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7230 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7231 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7232
7233 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7234
7235 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7236 Use `following-char'.
7237
7238 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7241 * progmodes/ruby-mode.el (ruby-smie-rules):
7242 Remove corresponding workaround. Fix indentation rule of ";" so it
7243 also applies when ";" is the parent.
7244
7245 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7246
7247 * frame.el (display-screens, display-pixel-height)
7248 (display-pixel-width, display-mm-width, display-backing-store)
7249 (display-save-under, display-planes, display-color-cells)
7250 (display-visual-class, display-monitor-attributes-list):
7251 Mention the optional ‘display’ argument in doc strings.
7252
7253 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7254
7255 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7256 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7257
7258 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7259
7260 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7261 TODO. Add "." after " @ ".
7262 (ruby-smie--at-dot-call): New function. Checks if point at method
7263 call with explicit target.
7264 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7265 to the method name tokens when it precedes them.
7266 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7267 (ruby-smie-rules): Add rule for indentation before and after "."
7268 token.
7269
7270 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * textmodes/remember.el (remember-diary-extract-entries):
7273 Avoid add-to-list.
7274
7275 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7276 an instruction.
7277
7278 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7279
7280 * progmodes/ruby-mode.el (ruby-smie-grammar):
7281 Add (almost) all infix operators.
7282 (ruby-smie--implicit-semi-p): Add new operator chars.
7283
7284 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7285 `smie-down-list'.
7286 (ruby-smie--args-separator-p): Check that there's no newline
7287 between method call and its arguments.
7288
7289 2013-10-20 Alan Mackenzie <acm@muc.de>
7290
7291 Allow comma separated lists after Java "implements".
7292
7293 * progmodes/cc-engine.el (c-backward-over-enum-header):
7294 Parse commas.
7295 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7296 from a "disallowed" list in enum fontification.
7297
7298 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7299
7300 * startup.el (default-frame-background-mode): Remove unused defvar.
7301
7302 * progmodes/verilog-mode.el (verilog-mode): Don't set
7303 comment-indent-function globally.
7304
7305 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7306
7307 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7308 Move Info menu item creation to ns-win.el.
7309
7310 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7311 in menu bar.
7312
7313 * menu-bar.el: Move GNUstep specific menus...
7314
7315 * term/ns-win.el (ns-initialize-window-system): ... to here.
7316
7317 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * simple.el (newline): Only run post-self-insert-hook when
7320 called interactively.
7321
7322 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7323
7324 * icomplete.el (icomplete-with-completion-tables): Add :version.
7325
7326 2013-10-19 Alan Mackenzie <acm@muc.de>
7327
7328 Fix fontification bugs with constructors and const.
7329
7330 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7331 CASE 2) Remove the check for the absence of a suffix construct
7332 after a function declaration with only types (no identifiers) in
7333 the parentheses. Also, accept a function declaration with just a
7334 type inside the parentheses, if this type can be positively
7335 recognised as such, or if a prefix keyword like "explicit" nails
7336 down the construct as a declaration.
7337
7338 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7339
7340 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7341 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7342 the problem whereby selecting a menu item that leads to a
7343 minibuffer prompt moves the cursor out of the minibuffer window,
7344 making it hard to type at the prompt. Suggested by Stefan Monnier
7345 <monnier@iro.umontreal.ca>.
7346
7347 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7348
7349 * menu-bar.el: Don't make Services menu.
7350
7351 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7352
7353 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7354 (ffap-alist): Use ffap-c++-mode for c++-mode.
7355 (ffap-c++-path): New variable.
7356 (ffap-c++-mode): New function.
7357
7358 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7359
7360 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7361
7362 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7363
7364 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7365 introduced on 2013-09-08, which results in an infinite loop
7366 requesting a password.
7367
7368 2013-10-18 Glenn Morris <rgm@gnu.org>
7369
7370 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7371
7372 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7373
7374 Sync with upstream verilog-mode revision 1a6ecec7.
7375 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7376 (verilog-mode-release-date): Remove.
7377 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7378 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7379 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7380 (verilog-auto-tieoff-ignore-regexp)
7381 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7382 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7383 (verilog-signals-with, verilog-dir-cache-preserving)
7384 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7385 Doc fixes.
7386 (verilog-case-fold): New option, to control case folding in
7387 regexp searches, bug597.
7388 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7389 (verilog-string-match-fold, verilog-in-paren-count)
7390 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7391 (verilog-at-close-struct-p): New functions.
7392 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7393 (verilog-forward-sexp, verilog-set-auto-endcomments)
7394 (verilog-leap-to-case-head): Handle "unique0" case.
7395 (verilog-in-constraint-re): New constant.
7396 (verilog-keywords, verilog-type-font-keywords):
7397 Add some SystemVerilog 1800-2012 keywords.
7398 (verilog-label-be): Remove unimplemented argument, bug669.
7399 (verilog-batch-execute-func): When batch expanding clear
7400 create-lockfiles to prevent spurious user locks when a file ends
7401 up not changing.
7402 (verilog-calculate-indent, verilog-calc-1)
7403 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7404 (verilog-do-indent): Fix indentation of nested constraints
7405 and structures.
7406 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7407 (verilog-auto-inst-param): Use verilog-string-match-fold.
7408 (verilog-read-inst-module-matcher):
7409 Fix AUTOINST on gate primitives with #1.
7410 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7411 Reads all user-defined typed variables.
7412 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7413 (verilog-signals-matching-regexp)
7414 (verilog-signals-not-matching-regexp, verilog-auto):
7415 Respect verilog-case-fold.
7416 (verilog-diff-report): Fix line count.
7417 (verilog-auto-assign-modport): Remove unused local `modi'.
7418 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7419 better handle multidimensional arrays.
7420 Fix packed array ports misadding bit index in AUTOINST, bug637.
7421 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7422 to not double-declare existing outputs and inputs, respectively.
7423 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7424 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7425 (verilog-sk-uvm-component): New skeleton.
7426 (verilog-submit-bug-report): Add verilog-case-fold,
7427 remove verilog-mode-release-date.
7428
7429 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7430
7431 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7432 as before.
7433
7434 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7435
7436 * textmodes/remember.el (remember): Set buffer-offer-save in
7437 remember buffers (bug#13566).
7438
7439 2013-10-18 Daniel Colascione <dancol@dancol.org>
7440
7441 When evaluating forms in ielm, direct standard output to ielm
7442 buffer. Add new ielm-return-for-effect command. Remove trailing
7443 whitespace throughout.
7444
7445 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7446 (ielm-return-for-effect): New command.
7447 (ielm-send-input): Accept optional `for-effect' parameter.
7448 (ielm-eval-input): Accept optional `for-effect' parameter.
7449 Bind `standard-output' to stream we create using
7450 `ielm-standard-output-impl'. Suppress printing result when
7451 `for-effect'.
7452 (ielm-standard-output-impl): New function.
7453 (inferior-emacs-lisp-mode): Explain new features in documentation.
7454
7455 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7456
7457 Code cleanup.
7458
7459 * net/tramp.el (tramp-debug-message): Do not check for connection
7460 buffer.
7461 (tramp-message): Use "vector" connection property.
7462
7463 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7464 (tramp-equal-remote, tramp-eshell-directory-change)
7465 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7466 (tramp-adb-handle-rename-file)
7467 * net/tramp-cmds.el (tramp-list-remote-buffers)
7468 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7469 * net/tramp-compat.el (tramp-compat-process-running-p)
7470 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7471 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7472 (tramp-gvfs-handle-rename-file)
7473 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7474 (tramp-set-file-uid-gid)
7475 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7476 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7477 of `file-remote-p'.
7478
7479 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7480 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7481 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7482 (tramp-gw-open-network-stream): Suppress unrelated traces.
7483
7484 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7485 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7487 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7488 connection property.
7489
7490 * net/tramp-cache.el (top): Suppress traces when reading
7491 persistency file.
7492
7493 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7494 Refactor common code. Improve debug message.
7495 (tramp-maybe-open-connection)
7496 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7497 connection buffer too early.
7498
7499 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7500 from `tramp-smb-actions-with-acl'.
7501 (tramp-smb-actions-set-acl): New defconst.
7502 (tramp-smb-handle-copy-directory)
7503 (tramp-smb-action-get-acl): New defun, renamed from
7504 `tramp-smb-action-with-acl'.
7505 (tramp-smb-action-set-acl): New defun.
7506 (tramp-smb-handle-set-file-acl): Rewrite.
7507
7508 2013-10-17 Glenn Morris <rgm@gnu.org>
7509
7510 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7511
7512 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * skeleton.el (skeleton-newline): Remove.
7515 (skeleton-internal-1): Use (insert "\n") instead.
7516
7517 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7518 let-bindings.
7519
7520 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7521 forward-sexp-function while we redo its job (bug#15613).
7522
7523 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7524
7525 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7526 represented by lists.
7527
7528 2013-10-16 Glenn Morris <rgm@gnu.org>
7529
7530 * tmm.el (tmm--history): New dynamic variable.
7531 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7532
7533 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7536 (tramp-smb-errors): Add error messages.
7537 (tramp-smb-actions-with-acl): New defconst.
7538 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7539 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7540 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7541 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7542 (tramp-smb-get-stat-capability): Fix tests.
7543
7544 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7545
7546 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7547 (bug#15580).
7548
7549 2013-10-16 Glenn Morris <rgm@gnu.org>
7550
7551 * ansi-color.el (ansi-color-drop-regexp):
7552 Add 1J, 1K, 2K. (Bug#15617)
7553
7554 * files.el (hack-local-variables--warned-lexical): New.
7555 (hack-local-variables):
7556 Warn about misplaced lexical-binding. (Bug#15616)
7557
7558 * net/eww.el (eww-render): Always set eww-current-url,
7559 and update header line. (Bug#15622)
7560 (eww-display-html): ... Rather than just doing it here.
7561
7562 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7563
7564 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7565 menu navigations commands.
7566
7567 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7568
7569 * progmodes/subword.el (subword-capitalize): Be careful when
7570 the search for [[:alpha:]] fails (bug#15580).
7571
7572 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7573
7574 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7575 to commands that scroll the menu.
7576
7577 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7578
7579 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7580 Handle methods ending with `?' and `!'.
7581
7582 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7583
7584 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7585 `japanese-cp932' to `cp932' to fix the problem where saving a
7586 source file written in Shift_JIS twice would end up having
7587 `coding: japanese-cp932' which Ruby could not recognize.
7588 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7589 in `ruby-encoding-map'.
7590 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7591 doesn't need to be explicitly declared in magic comment.
7592 (ruby-encoding-map): Add type declaration for better customize UI.
7593
7594 2013-10-13 Glenn Morris <rgm@gnu.org>
7595
7596 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7597 Occur buffers are read-only. http://bugs.debian.org/720775
7598
7599 * emacs-lisp/authors.el (authors-fixed-entries):
7600 Comment out old alpha stuff.
7601
7602 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7603
7604 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7605 to `after-save-hook' instead of `before-save-hook'.
7606 (ruby-mode-set-encoding): Use the value of coding system used to
7607 write the file. Call `basic-save-buffer-1' after modifying the
7608 buffer.
7609
7610 2013-10-13 Alan Mackenzie <acm@muc.de>
7611
7612 Fix indentation/fontification of Java enum with
7613 "implements"/generic.
7614
7615 * progmodes/cc-engine.el (c-backward-over-enum-header):
7616 Extracted from the three other places and enhanced to handle generics.
7617 (c-inside-bracelist-p): Uses new function above.
7618 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7619 function above.
7620 (c-font-lock-enum-tail): Uses new function above.
7621
7622 2013-10-13 Kenichi Handa <handa@gnu.org>
7623
7624 * international/mule-cmds.el (select-safe-coding-system): Remove a
7625 superfluous condition in chekcing whether a coding system is safe
7626 or not.
7627
7628 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7629
7630 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7631
7632 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7633
7634 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7635
7636 2013-10-13 Glenn Morris <rgm@gnu.org>
7637
7638 * menu-bar.el (menu-bar-update-buffers):
7639 Unify Buffers menu prompt string. (Bug#15576)
7640
7641 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7642
7643 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7644 Add some entries.
7645 (authors-fixed-entries): Use accented form of name.
7646
7647 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7648
7649 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7650 method calls (bug#15594).
7651 (ruby-smie--args-separator-p): New function.
7652 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7653 recognize paren-free method calls.
7654
7655 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7656 internals of universal-argument.
7657
7658 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7659
7660 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7661 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7662 dropped menu on second mouse click on the menu bar.
7663
7664 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7667 (explicit-shell-file-name): Declare.
7668 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7669 (sh-completion-at-point-function): New function.
7670 (sh-mode): Use it.
7671 (sh-smie--keyword-p): Remove unused argument.
7672 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7673 vars.
7674 (sh-set-shell): Always setup SMIE, even if we use the
7675 old indentation code.
7676
7677 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7678
7679 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7680 cases of ? and =.
7681 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7682 predicate would return nil are almost non-existent.
7683 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7684
7685 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7686 cache also after commands that modify the buffer but don't move
7687 point.
7688
7689 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 * env.el (substitute-env-in-file-name): New function.
7692 (substitute-env-vars): Extend the meaning of the optional arg.
7693
7694 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7695
7696 * term/w32-win.el (dynamic-library-alist): Define separate lists
7697 of GIF DLLs for versions before and after 5.0.0 of giflib.
7698 (Bug#15531)
7699
7700 2013-10-10 João Távora <joaotavora@gmail.com>
7701
7702 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7703 not locked, use last revision and current source as
7704 defaults. (Bug#15569)
7705
7706 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7707
7708 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7709 menu-bar is hidden.
7710
7711 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7712
7713 * window.el (pop-to-buffer-same-window): Fix doc-string.
7714 (Bug#15492)
7715
7716 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7719
7720 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7721
7722 * calendar/icalendar.el (icalendar-import-file):
7723 Fix interactive spec. (Bug#15482)
7724
7725 2013-10-10 Glenn Morris <rgm@gnu.org>
7726
7727 * desktop.el (desktop-save): Default to saving in .emacs.d,
7728 since PWD is no longer in desktop-path by default. (Bug#15319)
7729
7730 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7731 now that text mode has a menu with the same entry.
7732 (menu-bar-text-mode-auto-fill): Remove now unused func.
7733 * textmodes/text-mode.el (text-mode-map):
7734 Use auto-fill help text from menu-bar.el.
7735
7736 2013-10-10 John Anthony <john@jo.hnanthony.com>
7737
7738 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7739
7740 2013-10-09 Juri Linkov <juri@jurta.org>
7741
7742 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7743 instead of this-command-keys. Add universal-argument-more and
7744 universal-argument-minus to the list of prefix commands. (Bug#15568)
7745
7746 2013-10-09 Glenn Morris <rgm@gnu.org>
7747
7748 * vc/vc-svn.el (vc-svn-create-repo):
7749 Expand paths in file://... url. (Bug#15446)
7750
7751 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7752 Add some entries.
7753 (authors): Remove unused local variables.
7754
7755 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7756
7757 * profiler.el: Create a more coherent calltree from partial backtraces.
7758 (profiler-format): Hide the tail with `invisible' so that C-s can still
7759 find the hidden elements.
7760 (profiler-calltree-depth): Don't recurse so enthusiastically.
7761 (profiler-function-equal): New hash-table-test.
7762 (profiler-calltree-build-unified): New function.
7763 (profiler-calltree-build): Use it.
7764 (profiler-report-make-name-part): Indent the calltree less.
7765 (profiler-report-mode): Add visibility specs for profiler-format.
7766 (profiler-report-expand-entry, profiler-report-toggle-entry):
7767 Expand the whole subtree when provided with a prefix arg.
7768
7769 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7770
7771 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7772 iuwu-mod token.
7773 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7774 hanging iuwu-mod token.
7775 (ruby-smie--forward-token): Do not include a dot after a token in
7776 that token.
7777 (ruby-smie--backward-token): Likewise.
7778
7779 2013-10-08 Juri Linkov <juri@jurta.org>
7780
7781 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7782 to isearch-other-control-char.
7783 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7784 and isearch-post-command-hook to post-command-hook.
7785 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7786 and isearch-post-command-hook from post-command-hook.
7787 (isearch-unread-key-sequence)
7788 (isearch-reread-key-sequence-naturally)
7789 (isearch-lookup-scroll-key, isearch-other-control-char)
7790 (isearch-other-meta-char): Remove functions.
7791 (isearch-pre-command-hook, isearch-post-command-hook):
7792 New functions based on isearch-other-meta-char rewritten
7793 relying on the new behavior of overriding-terminal-local-map
7794 that does not replace the local keymaps any more. (Bug#15200)
7795
7796 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7797
7798 Support menus on text-mode terminals.
7799 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7800 functionality.
7801
7802 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7803
7804 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7805 Move here from mouse.el.
7806 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7807 and arrow keys.
7808 (tty-menu-navigation-map): New map for TTY menu navigation.
7809
7810 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7811
7812 * frame.el (display-mouse-p): Report text-mode mouse as available
7813 on w32.
7814 (display-popup-menus-p): Report availability if mouse is
7815 available; don't condition on window-system.
7816
7817 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7818 (tty-menu-selected-face): New faces.
7819
7820 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7823 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7824 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7825 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7826 New constants.
7827 (lisp-mode-variables): New `elisp' argument.
7828 (emacs-lisp-mode): Use it.
7829 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7830 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7831
7832 * indent.el: Use lexical-binding.
7833 (indent-region): Add progress reporter.
7834 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7835 last step.
7836 (indent--next-tab-stop): New function to implement this behavior.
7837 (tab-to-tab-stop, move-to-tab-stop): Use it.
7838
7839 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7840
7841 * indent.el (indent-rigidly--current-indentation): New function.
7842 (indent-rigidly-map): New var.
7843 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7844
7845 2013-10-08 Bastien Guerry <bzg@gnu.org>
7846
7847 * register.el (insert-register): Fix 2013-10-07 change.
7848
7849 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * progmodes/perl-mode.el: Use lexical-binding.
7852 Remove redundant :group args.
7853 (perl-nochange): Change default to be closer to other major modes's
7854 standard behavior.
7855 (perl-indent-line): Don't consider text on current line as a
7856 valid beginning of function from which to indent.
7857
7858 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7859 with more than one argument (bug#15538).
7860
7861 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7862
7863 * vc/pcvs.el: Use lexical-binding.
7864 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7865 environment of `eval'.
7866 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7867 than a list of expressions. Adjust callers.
7868 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7869
7870 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7871
7872 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7873 case of the dot in a chained method call being on the following line.
7874
7875 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * electric.el (electric-indent-inhibit): New var.
7878 (electric-indent-post-self-insert-function): Use it.
7879 * progmodes/python.el (python-mode): Set it.
7880
7881 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7882 open braces.
7883
7884 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7885
7886 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7887 (css-mode): Use electric-indent-chars.
7888
7889 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7890 (font-lock-beg, font-lock-end): Move before first use.
7891 (nxml-mode): Use syntax-propertize-function.
7892 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7893 (nxml-extend-after-change-region): Remove.
7894 * nxml/xmltok.el: Use lexical-binding.
7895 (xmltok-save): Use `declare'.
7896 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7897 * nxml/nxml-util.el: Use lexical-binding.
7898 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7899 Use `declare'.
7900 * nxml/nxml-ns.el: Use lexical-binding.
7901 (nxml-ns-save): Use `declare'.
7902 (nxml-ns-prefixes-for): Avoid add-to-list.
7903 * nxml/rng-match.el: Use lexical-binding.
7904 (rng--ipattern): Use cl-defstruct.
7905 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7906 (rng-cons-group-after, rng-subst-group-after)
7907 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7908 Use closures instead of `(lambda...).
7909
7910 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7911
7912 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7913 of BEG and END.
7914
7915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7916 Use `tramp-handle-insert-file-contents'.
7917 (tramp-gvfs-handle-insert-file-contents): Remove function.
7918
7919 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7920 Use `save-restriction' in order to keep markers.
7921
7922 * net/trampver.el: Update release number.
7923
7924 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * progmodes/compile.el (compilation-parse-errors):
7927 Use compilation--put-prop.
7928 (compilation--ensure-parse): Check compilation-multiline.
7929
7930 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7931
7932 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7933 lexical-binding.
7934
7935 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7936
7937 * progmodes/ruby-mode.el: Fix recently added tests.
7938 (ruby-smie-grammar): Add - and +.
7939 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7940 (ruby-smie--backward-id): New functions.
7941 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7942 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7943 any more.
7944
7945 2013-10-07 Leo Liu <sdl.web@gmail.com>
7946
7947 * register.el (register-preview-delay)
7948 (register-preview-functions): New variables.
7949 (register-read-with-preview, register-preview)
7950 (register-describe-oneline): New functions.
7951 (point-to-register, window-configuration-to-register)
7952 (frame-configuration-to-register, jump-to-register)
7953 (number-to-register, view-register, insert-register)
7954 (copy-to-register, append-to-register, prepend-to-register)
7955 (copy-rectangle-to-register): Use register-read-with-preview to
7956 read register. (Bug#15525)
7957
7958 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7959
7960 * net/network-stream.el (network-stream-open-starttls): Don't add
7961 --insecure if it's already present, because that gnutls-cli
7962 rejects getting that parameter twice.
7963
7964 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7965
7966 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7967 keyword, too.
7968
7969 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7970
7971 * newcomment.el (comment-use-global-state): Change default value
7972 to t, mark obsolete (Bug#15251).
7973 (comment-beginning): In addition to `comment-to-syntax', check the
7974 value of `comment-use-global-state'.
7975
7976 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7979 (ruby-comment-column): Follow the global default, by default.
7980 (ruby-smie-grammar): Add assignment syntax.
7981 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7982 open-paren, a comma, or a \.
7983 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7984 and line continuations.
7985 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7986 followed by implicit semi-colons. Add rule for string concatenation
7987 and for indentation at BOB.
7988 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7989
7990 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7991 calling next-sexp, since next-token may have skipped chars which
7992 next-sexp doesn't know should be skipped!
7993
7994 2013-10-05 Leo Liu <sdl.web@gmail.com>
7995
7996 * progmodes/octave.el (octave-send-region):
7997 Call compilation-forget-errors.
7998
7999 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8000
8001 * vc/vc-svn.el (vc-svn-find-admin-dir):
8002 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8003 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8004 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8005 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8006
8007 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8010
8011 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * subr.el (read-passwd): Hide chars even when called within a context
8014 where after-change-functions is disabled (bug#15501).
8015 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8016 until we removed ourself from overriding-terminal-local-map.
8017
8018 2013-10-04 Leo Liu <sdl.web@gmail.com>
8019
8020 * progmodes/octave.el (inferior-octave-mode):
8021 Call compilation-forget-errors.
8022
8023 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8024
8025 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8026
8027 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8028
8029 * net/secrets.el (secrets-create-collection): Add optional
8030 argument ALIAS. Use proper Label keyword. Append ALIAS as
8031 dbus-call-method argument. (Bug#15516)
8032
8033 2013-10-04 Leo Liu <sdl.web@gmail.com>
8034
8035 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8036 (inferior-octave-compilation-font-lock-keywords): New variables.
8037 (compilation-error-regexp-alist)
8038 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8039 (inferior-octave-mode): Use compilation-shell-minor-mode.
8040
8041 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8042
8043 * minibuffer.el (completion--replace): Be careful that `end' might be
8044 a marker.
8045
8046 2013-10-03 Daiki Ueno <ueno@gnu.org>
8047
8048 Add support for package signature checking.
8049 * emacs-lisp/package.el (url-http-file-exists-p)
8050 (epg-make-context, epg-context-set-home-directory)
8051 (epg-verify-string, epg-context-result-for)
8052 (epg-signature-status, epg-signature-to-string)
8053 (epg-check-configuration, epg-configuration)
8054 (epg-import-keys-from-file): Declare.
8055 (package-check-signature): New user option.
8056 (package-unsigned-archives): New user option.
8057 (package-desc): Add `signed' field.
8058 (package-load-descriptor): Set `signed' field if .signed file exists.
8059 (package--archive-file-exists-p): New function.
8060 (package--check-signature): New function.
8061 (package-install-from-archive): Check package signature.
8062 (package--download-one-archive): Check archive signature.
8063 (package-delete): Remove .signed file.
8064 (package-import-keyring): New command.
8065 (package-refresh-contents): Import default keyring.
8066 (package-desc-status): Add "unsigned" status.
8067 (describe-package-1, package-menu--print-info)
8068 (package-menu-mark-delete, package-menu--find-upgrades)
8069 (package-menu--status-predicate): Support "unsigned" status.
8070
8071 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8074 the new compilation scheme using the new byte-codes.
8075
8076 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8077 (byte-pophandler): New byte codes.
8078 (byte-goto-ops): Adjust accordingly.
8079 (byte-compile--use-old-handlers): New var.
8080 (byte-compile-catch): Use new byte codes depending on
8081 byte-compile--use-old-handlers.
8082 (byte-compile-condition-case--old): Rename from
8083 byte-compile-condition-case.
8084 (byte-compile-condition-case--new): New function.
8085 (byte-compile-condition-case): New function that dispatches depending
8086 on byte-compile--use-old-handlers.
8087 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8088 when we can.
8089
8090 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8091 Optimize under `condition-case' and `catch' if
8092 byte-compile--use-old-handlers is nil.
8093 (disassemble-offset): Handle new bytecodes.
8094
8095 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * subr.el (error): Use `declare'.
8098 (decode-char, encode-char): Use advertised-calling-convention instead
8099 of the docstring to discourage use of the `restriction' arg.
8100
8101 2013-10-03 Daiki Ueno <ueno@gnu.org>
8102
8103 * epg.el (epg-verify-file): Add a comment saying that it does not
8104 notify verification error as a return value nor a signal.
8105 (epg-verify-string): Ditto.
8106
8107 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8108
8109 * progmodes/compile.el (compilation-start): Try globbing the arg to
8110 `cd' (bug#15417).
8111
8112 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8113
8114 Sync with Tramp 2.2.8.
8115
8116 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8117 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8118 * net/trampver.el: Update release number.
8119
8120 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8121
8122 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8123 and default-process-coding-system for darwin only.
8124
8125 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8128
8129 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8130
8131 * vc/vc-git.el (vc-git-grep): Disable pager.
8132
8133 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8134
8135 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8136 Use :url instead of :homepage, as per
8137 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8138
8139 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8140 non-nil, use `syntax-ppss' (Bug#15251).
8141
8142 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8143
8144 * progmodes/octave.el (inferior-octave-startup-file):
8145 Prefer ~/.emacs.d/init_octave.m.
8146
8147 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8148
8149 * emacs-lisp/package.el (package-desc-from-define):
8150 Accept additional arguments as plist, convert them to an alist and store
8151 them in the `extras' slot.
8152 (package-generate-description-file): Convert extras alist back to
8153 plist and append to the `define-package' form arguments.
8154 (package--alist-to-plist): New function.
8155 (package--ac-desc): Add `extras' slot.
8156 (package--add-to-archive-contents): Check if the archive-contents
8157 vector is long enough, and if it is, pass its `extras' slot value
8158 to `package-desc-create'.
8159 (package-buffer-info): Call `lm-homepage', pass the returned value
8160 to `package-desc-from-define'.
8161 (describe-package-1): Render the homepage button (Bug#13291).
8162
8163 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8164 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8165
8166 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8167
8168 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8169 and default-process-coding-system to utf-8-unix (Bug#15402).
8170
8171 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8172
8173 * subr.el (looking-back): Do not recommend using looking-back.
8174
8175 2013-09-28 Alan Mackenzie <acm@muc.de>
8176
8177 Fix indentation/fontification of Java enum with "implements".
8178
8179 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8180 regexp which matches "implements", etc., in Java.
8181 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8182 specifier clauses coming after "enum".
8183 * progmodes/cc-fonts.el (c-font-lock-declarations)
8184 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8185 after "enum".
8186
8187 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8188
8189 * faces.el (region): Change ns_selection_color to
8190 ns_selection_fg_color, add ns_selection_bg_color.
8191
8192 2013-09-28 Leo Liu <sdl.web@gmail.com>
8193
8194 * progmodes/octave.el (inferior-octave-completion-table)
8195 (inferior-octave-completion-at-point): Minor tweaks.
8196
8197 * textmodes/ispell.el (ispell-lookup-words): Rename from
8198 lookup-words. (Bug#15460)
8199 (lookup-words): Obsolete.
8200 (ispell-complete-word, ispell-command-loop): All uses changed.
8201
8202 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8203
8204 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8205 (octave-mode-menu): Add octave-send-buffer.
8206 (octave-send-buffer): New function.
8207
8208 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8209
8210 * progmodes/octave.el (octave-mode-map): Add key binding for
8211 octave-lookfor.
8212 (octave-mode-menu): Add octave-lookfor.
8213 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8214 octave-lookfor.
8215 (octave-lookfor): New function.
8216
8217 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8220 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8221 its convention.
8222 (cl--loop-set-iterator-function): New function.
8223 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8224 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8225 Bind `it' with `let' instead of substituting it with `cl-subst'.
8226 (cl--unused-var-p): New function.
8227 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8228 Eliminate some unused variable warnings (bug#15326).
8229
8230 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8231
8232 * doc-view.el (doc-view-scale-reset): Rename from
8233 `doc-view-reset-zoom-level'.
8234 (doc-view-scale-adjust): New command.
8235 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8236 `doc-view-scale-adjust'.
8237
8238 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8239
8240 * doc-view.el (doc-view-reset-zoom-level): New command.
8241 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8242 zoom commands (bug#15466).
8243
8244 2013-09-26 Kenichi Handa <handa@gnu.org>
8245
8246 * international/quail.el (quail-help): Make it not a command.
8247
8248 2013-09-26 Leo Liu <sdl.web@gmail.com>
8249
8250 * minibuffer.el (completion-all-sorted-completions): Make args
8251 optional as they are.
8252
8253 2013-09-25 Daniel Colascione <dancol@dancol.org>
8254
8255 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8256 specs are and that they're not evaluated.
8257
8258 2013-09-24 Sam Steingold <sds@gnu.org>
8259
8260 * midnight.el (clean-buffer-list-kill-regexps)
8261 (clean-buffer-list-kill-buffer-names): Update for the new Man
8262 buffer naming which includes the object name.
8263
8264 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8267 (eshell-parse-command, eshell-parse-pipeline): Use it since
8268 eshell-separate-commands requires a dynamic scoped var.
8269 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8270
8271 2013-09-23 Leo Liu <sdl.web@gmail.com>
8272
8273 * autoinsert.el (auto-insert-alist): Make the value of
8274 lexical-binding match its file setting.
8275
8276 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8277
8278 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8279
8280 * autoarg.el (autoarg-kp-digit-argument):
8281 * electric.el (Electric-command-loop):
8282 * kmacro.el (kmacro-step-edit-insert):
8283 Do not set universal-argument-num-events.
8284
8285 2013-09-22 Leo Liu <sdl.web@gmail.com>
8286
8287 * files.el (interpreter-mode-alist): Add octave.
8288
8289 2013-09-21 Alan Mackenzie <acm@muc.de>
8290
8291 C++: fontify identifier in declaration following "public:" correctly.
8292 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8293 to match "public", etc.
8294 (c-decl-prefix-re): Add ":" into the C++ value.
8295 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8296 bit. Add a check for a ":" preceded by "public", etc.
8297
8298 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8299
8300 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8301 recognized by GDB 7.5 and later.
8302
8303 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8304
8305 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8306
8307 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8308
8309 * subr.el (internal--call-interactively): New const.
8310 (called-interactively-p): Use it (bug#3984).
8311
8312 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8313
8314 * vc/pcvs.el (cvs-mode-ignore):
8315 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8316 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8317
8318 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8321 (eshell-ls-orig-insert-directory): Remove.
8322 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8323 (eshell-ls-use-in-dired): Use advice-add/remove.
8324 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8325 Add `orig-fun' arg for use in :around advice.
8326 Make it check (redundantly) eshell-ls-use-in-dired.
8327
8328 2013-09-19 Glenn Morris <rgm@gnu.org>
8329
8330 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8331
8332 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8333
8334 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8335
8336 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8337
8338 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8339 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8340 (tramp-get-remote-python): New defuns.
8341 (tramp-get-remote-uid-with-perl)
8342 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8343 contributed by yary <not.com@gmail.com> (tiny change).
8344 (tramp-get-remote-uid-with-python)
8345 (tramp-get-remote-gid-with-python): New defuns. Python code
8346 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8347 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8348
8349 2013-09-19 Glenn Morris <rgm@gnu.org>
8350
8351 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8352
8353 * eshell/em-unix.el (eshell-remove-entries):
8354 Rename argument to avoid name-clash with global `top-level'.
8355
8356 * eshell/esh-proc.el (eshell-kill-process-function):
8357 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8358 (eshell-reset-after-proc): Remove unused arg `proc'.
8359
8360 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8361 (directory-files-and-attributes): Mark unused arg.
8362
8363 * eshell/em-unix.el (eshell-remove-entries):
8364 Remove unused arg `path'. Update callers.
8365
8366 * eshell/em-hist.el (eshell-hist-parse-arguments):
8367 Remove unused arg `silent'. Update callers.
8368
8369 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8370 Fix (f)boundp mix-up.
8371
8372 * eshell/em-smart.el (eshell-smart-scroll-window)
8373 (eshell-disable-after-change):
8374 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8375
8376 2013-09-18 Alan Mackenzie <acm@muc.de>
8377
8378 Fix fontification of type when followed by "const".
8379 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8380 "known" types from fontification.
8381
8382 2013-09-18 Glenn Morris <rgm@gnu.org>
8383
8384 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8385 (chart-face-list): Drop Emacsen without display-color-p.
8386
8387 * net/eww.el (libxml-parse-html-region): Declare.
8388 (eww-display-html): Explicit error if no libxml2 support.
8389
8390 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8391
8392 * image.el (image-type-from-buffer, image-multi-frame-p):
8393 Remove --without-x warning/error.
8394
8395 * mouse.el (mouse-yank-primary):
8396 * term.el (term-mouse-paste):
8397 Reorder to silence --without-x compilation.
8398
8399 * mpc.el (doc-view-mode): Silence --without-x compilation.
8400
8401 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8402 Silence --without-x compilation.
8403
8404 * progmodes/gud.el (gud-find-file, gud-mode):
8405 Silence --without-x compilation.
8406 (tooltip-mode): Declare.
8407
8408 * wdired.el (dired-backup-overwrite): Remove declaration.
8409 (wdired-mode-map): Add doc string.
8410
8411 * custom.el (x-get-resource): Declare.
8412
8413 * eshell/em-glob.el (ange-cache):
8414 * eshell/em-unix.el (ange-cache): Declare.
8415
8416 * faces.el (x-display-list, x-open-connection, x-get-resource):
8417 Declare.
8418
8419 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8420 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8421 Declare.
8422
8423 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8424
8425 * net/gnutls.el (gnutls-log-level): Declare.
8426
8427 * net/shr.el (image-size, image-animate): Declare.
8428
8429 * simple.el (font-info): Declare.
8430
8431 * subr.el (x-popup-dialog): Declare.
8432
8433 * term/common-win.el (x-select-enable-primary)
8434 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8435 Declare.
8436
8437 * term/ns-win.el (x-handle-args): Declare.
8438
8439 * term/x-win.el (x-select-enable-clipboard): Declare.
8440
8441 * term/w32-win.el (create-default-fontset): Declare.
8442
8443 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8444 Declare.
8445
8446 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8447 (fit-frame-to-buffer): Explicit error if --without-x.
8448 (mouse-autoselect-window-select): Silence compiler.
8449
8450 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8451
8452 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8453 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8454 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8455 * eshell/esh-util.el (eshell-sublist):
8456 Remove unused local variables.
8457
8458 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8459
8460 * textmodes/two-column.el: Make 2C-split work for --without-x.
8461 (scroll-bar-columns): Autoload.
8462 (top-level): Require fringe when compiling.
8463
8464 2013-09-18 Leo Liu <sdl.web@gmail.com>
8465
8466 * subr.el (add-hook): Robustify to handle closure as well.
8467
8468 2013-09-17 Glenn Morris <rgm@gnu.org>
8469
8470 * simple.el (messages-buffer-mode-map): Unbind "g".
8471
8472 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * help-mode.el (help-mode-finish): Use derived-mode-p.
8475 Remove obsolete highlighting.
8476
8477 * play/life.el (life-mode): Use define-derived-mode. Derive from
8478 special-mode.
8479 (life): Let-bind inhibit-read-only.
8480 (life-setup): Avoid `setq'. Use `life-mode'.
8481
8482 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8483 which should not be needed any more.
8484 (package-menu-refresh, package-menu-describe-package): Use user-error.
8485
8486 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8487 (eshell-post-rewrite-command-hook): Make obsolete.
8488 (eshell-parse-command): Simplify.
8489 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8490 (eshell--cmd): Declare.
8491 (eshell-parse-pipeline): Remove unused var `final-p'.
8492 Pass a dynvar to eshell-post-rewrite-command-hook.
8493 Implement the new eshell-post-rewrite-command-function.
8494 (eshell-invoke-directly): Remove unused arg `input'.
8495 * eshell/esh-io.el (eshell-io-initialize):
8496 Use eshell-post-rewrite-command-function (bug#15399).
8497 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8498 adjust to new calling convention.
8499 (eshell-create-handles): Rename args to avoid clashing with dynvar
8500 `standard-output'.
8501
8502 2013-09-17 Glenn Morris <rgm@gnu.org>
8503
8504 * simple.el (messages-buffer-mode): New major mode.
8505 (messages-buffer): New function.
8506 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8507 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8508 (ert-run-test): Use `messages-buffer' function.
8509 (ert--force-message-log-buffer-truncation): Ignore read-only.
8510 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8511 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8512
8513 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8516
8517 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8518
8519 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * icomplete.el (icomplete-in-buffer): New var.
8522 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8523 vars and replace them with functions.
8524 (icomplete-minibuffer-setup): Adjust accordingly.
8525 (icomplete--completion-table, icomplete--completion-predicate)
8526 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8527 New functions.
8528 (icomplete-forward-completions, icomplete-backward-completions)
8529 (icomplete-simple-completing-p, icomplete-exhibit)
8530 (icomplete-completions): Use them.
8531 (icomplete--in-region-buffer): New var.
8532 (icomplete--in-region-setup): New function.
8533 (icomplete-mode): Use it.
8534
8535 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8536 (bug#15379).
8537 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8538 return args and options.
8539 (eshell-eval-using-options): Use the new return value of
8540 eshell--do-opts to set the options's vars in their scope.
8541 (eshell--set-option): Rename from eshell-set-option.
8542 Add arg `opt-vals'.
8543 (eshell--process-option): Rename from eshell-process-option.
8544 Add arg `opt-vals'.
8545 (eshell--process-args): Use an `opt-vals' alist to store the options's
8546 values during their processing and return them additionally to the
8547 remaining args.
8548
8549 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8550
8551 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8552 continuation character an operator, as far as indentation is
8553 concerned (Bug#15369).
8554
8555 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8556
8557 * window.el (window--state-put-2): Don't process buffer state
8558 when buffer doesn't exist any more (Bug#15382).
8559
8560 2013-09-15 Glenn Morris <rgm@gnu.org>
8561
8562 * eshell/em-unix.el (eshell/rm):
8563 Make -f ignore missing files. (Bug#15373)
8564
8565 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8566 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8567 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8568
8569 2013-09-14 Glenn Morris <rgm@gnu.org>
8570
8571 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8572
8573 2013-09-13 Glenn Morris <rgm@gnu.org>
8574
8575 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8576 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8577
8578 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8579
8580 * frame.el (x-focus-frame): Mark as declared in frame.c.
8581
8582 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * ls-lisp.el: Use advice-add.
8585 (original-insert-directory): Remove.
8586 (ls-lisp--insert-directory): Rename from insert-directory; add
8587 `orig-fun' argument.
8588 (insert-directory): Advise.
8589
8590 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8591
8592 * term.el (term-emulate-terminal): Decode the command string
8593 before passing it to term-command-hook. (Bug#15337)
8594
8595 2013-09-13 Glenn Morris <rgm@gnu.org>
8596
8597 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8598
8599 * eshell/esh-ext.el (eshell-search-path): Declare.
8600
8601 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8602 Otherwise an error occurs if eshell-dirs module not loaded.
8603
8604 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8605
8606 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8607
8608 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8609 `tramp-check-proper-host'. Check for a valid method name.
8610
8611 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8612 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8613 * net/tramp-sh.el (tramp-maybe-open-connection):
8614 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8615
8616 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8617 also for hash values.
8618
8619 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * term/ns-win.el (parameters): Don't declare as dynamic.
8622 (before-make-frame-hook): Don't add ineffective function.
8623
8624 * eshell/*.el: Use lexical-binding (bug#15231).
8625
8626 2013-09-12 Kenichi Handa <handa@gnu.org>
8627
8628 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8629
8630 2013-09-12 Glenn Morris <rgm@gnu.org>
8631
8632 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8633 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8634
8635 * subr.el (do-after-load-evaluation): Also give compiler warnings
8636 when obsolete files are used (except by obsolete files).
8637
8638 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8639 in the status output, assume `filename' is the first. (Bug#15322)
8640
8641 * vc/vc.el (vc-deduce-fileset): Doc fix.
8642
8643 * calc/calc-help.el (Info-goto-node):
8644 * progmodes/cperl-mode.el (Info-find-node):
8645 * vc/ediff.el (Info-goto-node): Update declarations.
8646
8647 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8648
8649 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8650 (vc-bzr-pull): Require vc-dispatcher.
8651 * vc/vc-git.el (vc-compilation-mode): Declare.
8652 (vc-git-pull): Require vc-dispatcher.
8653
8654 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8655
8656 * progmodes/octave.el (help-button-action): Declare.
8657
8658 * shell.el (shell-directory-tracker): Output error as a message
8659 rather than just returning it as a string.
8660 (shell-process-pushd): Remove useless use of message.
8661
8662 * dframe.el (dframe-timer-fn):
8663 * files.el (dir-locals-read-from-file):
8664 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8665 (mpc-format):
8666 * reveal.el (reveal-post-command):
8667 * saveplace.el (load-save-place-alist-from-file):
8668 * shell.el (shell-resync-dirs):
8669 * w32-common-fns.el (x-get-selection-value):
8670 * emacs-lisp/copyright.el (copyright-find-copyright):
8671 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8672 * emulation/tpu-edt.el (tpu-copy-keyfile):
8673 * play/bubbles.el (bubbles--mark-neighbourhood):
8674 * progmodes/executable.el
8675 (executable-make-buffer-file-executable-if-script-p):
8676 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8677
8678 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 Cleanup Eshell to rely less on dynamic scoping.
8681 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8682 last-value, and ext-command here. Bind `args' closer to `body'.
8683 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8684 (eshell--args): Declare new dynamic var.
8685 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8686 last-value, and ext-command. Pass `args' to `body'.
8687 (eshell-process-args): Bind eshell--args.
8688 (eshell-set-option): Use eshell--args.
8689 * eshell/eshell.el (eshell): Use derived-mode-p.
8690 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8691 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8692 (eshell-glob-function): Declare.
8693 * eshell/esh-util.el: Require cl-lib.
8694 (eshell-read-hosts-file): Avoid add-to-list.
8695 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8696 `err'.
8697 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8698 Declare.
8699 (eshell/diff): Remove unused var `err'.
8700 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8701 `killflag'.
8702 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8703 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8704 first use.
8705 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8706 Move declaration before first use.
8707 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8708 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8709 rely on cl-return.
8710
8711 2013-09-12 Glenn Morris <rgm@gnu.org>
8712
8713 * term/ns-win.el (global-map): Remove binding for ispell-next,
8714 deleted 1999-05-29. (Bug#15357)
8715
8716 2013-09-11 Glenn Morris <rgm@gnu.org>
8717
8718 * echistory.el (electric-command-history): Remove call to deleted func.
8719
8720 * play/landmark.el (landmark-mode): Fix typos.
8721
8722 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8723 Check cvs-sort-ignore-file is bound.
8724
8725 * savehist.el: No need for cl when compiling on Emacs.
8726
8727 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8730 (bug#15338).
8731 (eshell-self-insert-command, eshell-send-invisible):
8732 Remove unused argument.
8733 (eshell-handle-control-codes): Remove unused var `orig'.
8734 Avoid delete-backward-char.
8735
8736 * files.el (set-auto-mode): Simplify a bit further.
8737
8738 2013-09-11 Glenn Morris <rgm@gnu.org>
8739
8740 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8741 (set-auto-mode): Don't regexp-quote elements.
8742 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8743 * progmodes/cc-mode.el (interpreter-mode-alist):
8744 * progmodes/ruby-mode.el (interpreter-mode-alist):
8745 Revert previous change.
8746
8747 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * play/snake.el (snake-mode):
8750 * play/mpuz.el (mpuz-mode):
8751 * play/landmark.el (lm-mode):
8752 * play/blackbox.el (blackbox-mode):
8753 * play/5x5.el (5x5-mode):
8754 * obsolete/options.el (Edit-options-mode):
8755 * net/quickurl.el (quickurl-list-mode):
8756 * net/newst-treeview.el (newsticker-treeview-mode):
8757 * mail/rmailsum.el (rmail-summary-mode):
8758 * mail/mspools.el (mspools-mode):
8759 * locate.el (locate-mode):
8760 * ibuffer.el (ibuffer-mode):
8761 * emulation/ws-mode.el (wordstar-mode):
8762 * emacs-lisp/debug.el (debugger-mode):
8763 * array.el (array-mode):
8764 * net/eudc.el (eudc-mode): Use define-derived-mode.
8765 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8766 Move initialization into declaration.
8767 (mairix-searches-mode): Use define-derived-mode.
8768 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8769 (eudc-edit-hotlist): Use dolist.
8770 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8771 (Man-mode): Use define-derived-mode.
8772 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8773 (Info-edit-mode): Use define-derived-mode.
8774 (Info-cease-edit): Use Info-mode.
8775 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8776 into declaration.
8777 (eshell-mode): Use define-derived-mode.
8778 * chistory.el (command-history-mode-map): Rename from
8779 command-history-map.
8780 (command-history-mode): Use define-derived-mode.
8781 (Command-history-setup): Remove function.
8782 * calc/calc.el (calc-trail-mode-map): New var.
8783 (calc-trail-mode): Use define-derived-mode.
8784 (calc-trail-buffer): Set calc-main-buffer manually.
8785 * bookmark.el (bookmark-insert-annotation): New function.
8786 (bookmark-edit-annotation): Use it.
8787 (bookmark-edit-annotation-mode): Make it a proper major mode.
8788 (bookmark-send-edited-annotation): Use derived-mode-p.
8789 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8790 closer to its ideal place. Use \' to match EOS.
8791
8792 * profiler.el (profiler-calltree-find): Use function-equal.
8793
8794 2013-09-10 Glenn Morris <rgm@gnu.org>
8795
8796 * files.el (interpreter-mode-alist): Convert to regexps.
8797 (set-auto-mode): Adapt for this. (Bug#15306)
8798 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8799 Comment out unused variable.
8800 * progmodes/cc-mode.el (interpreter-mode-alist):
8801 * progmodes/python.el (interpreter-mode-alist):
8802 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8803 * progmodes/sh-script.el (sh-set-shell):
8804 No longer use interpreter-mode-alist to get list of shells.
8805
8806 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8807
8808 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * simple.el: Use set-temporary-overlay-map for universal-argument.
8811 (universal-argument-map): Don't use default-bindings (bug#15317).
8812 Bind switch-frame explicitly. Replace universal-argument-minus with
8813 a conditional binding.
8814 (universal-argument-num-events, saved-overriding-map): Remove.
8815 (restore-overriding-map): Remove.
8816 (universal-argument--mode): Rename from save&set-overriding-map,
8817 and rewrite.
8818 (universal-argument, universal-argument-more, negative-argument)
8819 (digit-argument): Adjust accordingly.
8820 (universal-argument-minus): Remove.
8821 (universal-argument-other-key): Remove.
8822
8823 * subr.el (with-demoted-errors): Add `format' argument.
8824
8825 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8828 `tramp-cleanup-connection'.
8829
8830 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8831 parameters KEEP-DEBUG and KEEP-PASSWORD.
8832
8833 * net/tramp.el (tramp-file-name-handler):
8834 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8835 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8836 (tramp-maybe-open-connection):
8837 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8838 Use `tramp-cleanup-connection'.
8839
8840 * net/tramp-sh.el (tramp-maybe-open-connection):
8841 Catch 'uname-changed inside the progress reporter.
8842
8843 2013-09-10 Glenn Morris <rgm@gnu.org>
8844
8845 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8846
8847 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8848 returns "alternate access method" in mode (eg "-rw-r--r--.").
8849
8850 2013-09-08 Glenn Morris <rgm@gnu.org>
8851
8852 * saveplace.el (load-save-place-alist-from-file):
8853 Demote errors. (Bug#15305)
8854
8855 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8856
8857 Improve compatibility with older Emacsen, and XEmacs.
8858
8859 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8860 only if it is bound. It isn't for XEmacs.
8861 (with-tramp-progress-reporter): Do not let-bind `result'.
8862 This yields to scoping errors in XEmacs.
8863 (tramp-handle-make-auto-save-file-name): New function, moved from
8864 tramp-sh.el.
8865
8866 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8867 for `make-auto-save-file-name'.
8868 (tramp-adb--gnu-switches-to-ash):
8869 Use `tramp-compat-replace-regexp-in-string'.
8870
8871 * net/tramp-cache.el (tramp-cache-print): Call
8872 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8873
8874 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8875 bound. It isn't for XEmacs.
8876
8877 * net/tramp-compat.el (tramp-compat-copy-file):
8878 Catch `wrong-number-of-arguments' error.
8879 (tramp-compat-replace-regexp-in-string): New defun.
8880
8881 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8882 for `make-auto-save-file-name'.
8883 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8884 `copy-file'.
8885 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8886 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8887 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8888
8889 * net/tramp-gw.el (tramp-gw-open-network-stream):
8890 Use `tramp-compat-replace-regexp-in-string'.
8891
8892 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8893 Call `tramp-handle-make-auto-save-file-name'.
8894 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8895 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8896 (tramp-sh-file-inotifywait-process-filter):
8897 Use `tramp-compat-replace-regexp-in-string'.
8898 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8899
8900 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8901 for `make-auto-save-file-name'.
8902 (tramp-smb-handle-copy-directory):
8903 Call `tramp-compat-replace-regexp-in-string'.
8904 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8905 (tramp-smb-handle-copy-file): Improve error message.
8906 (tramp-smb-handle-rename-file): Rename directly only in case
8907 `newname' does not exist yet. This is a restriction of smbclient.
8908 (tramp-smb-maybe-open-connection): Rerun the function only when
8909 `auth-sources' is non-nil.
8910
8911 2013-09-08 Kenichi Handa <handa@gnu.org>
8912
8913 * international/characters.el: Set category "^" (Combining) for
8914 more characters.
8915
8916 2013-09-07 Alan Mackenzie <acm@muc.de>
8917
8918 Correctly fontify Java class constructors.
8919 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8920 in Java Mode.
8921 (c-recognize-typeless-decls): Set the Java value to t.
8922 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8923 While handling a "(", add a check for, effectively, Java, and handle a
8924 "typeless" declaration there.
8925
8926 2013-09-07 Roland Winkler <winkler@gnu.org>
8927
8928 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8929 field subtitle for entry type book.
8930
8931 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * minibuffer.el: Make minibuffer-complete call completion-in-region
8934 rather than other way around.
8935 (completion--some, completion-pcm--find-all-completions):
8936 Don't delay signals when debugging.
8937 (minibuffer-completion-contents): Beware fields within the
8938 minibuffer contents.
8939 (completion-all-sorted-completions): Use defvar-local.
8940 (completion--do-completion, completion--cache-all-sorted-completions)
8941 (completion-all-sorted-completions, minibuffer-force-complete):
8942 Add args `beg' and `end'.
8943 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8944 (minibuffer-complete): Use completion-in-region.
8945 (completion-complete-and-exit): New fun, extracted from
8946 minibuffer-complete-and-exit.
8947 (minibuffer-complete-and-exit): Use it.
8948 (completion--complete-and-exit): Rename from
8949 minibuffer--complete-and-exit.
8950 (completion-in-region--single-word): New function, extracted from
8951 minibuffer-complete-word.
8952 (minibuffer-complete-word): Use it.
8953 (display-completion-list): Make `common-substring' argument obsolete.
8954 (completion--in-region): Call completion--in-region-1 instead of
8955 minibuffer-complete.
8956 (completion-help-at-point): Pass boundaries to
8957 minibuffer-completion-help as args rather than via an overlay.
8958 (completion-pcm--string->pattern): Use `any-delim'.
8959 (completion-pcm--optimize-pattern): New function.
8960 (completion-pcm--pattern->regex): Handle `any-delim'.
8961 * icomplete.el (icomplete-forward-completions)
8962 (icomplete-backward-completions, icomplete-completions):
8963 Adjust calls to completion-all-sorted-completions and
8964 completion--cache-all-sorted-completions.
8965 (icomplete-with-completion-tables): Default to t.
8966 * emacs-lisp/crm.el (crm--current-element): Rename from
8967 crm--select-current-element. Don't put an overlay but return the
8968 boundaries instead.
8969 (crm--completion-command): Take two new args to bind to the boundaries.
8970 (crm-completion-help): Adjust accordingly.
8971 (crm-complete): Use completion-in-region.
8972 (crm-complete-word): Use completion-in-region--single-word.
8973 (crm-complete-and-exit): Use completion-complete-and-exit.
8974
8975 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8978 than dynamically.
8979
8980 2013-09-06 Juri Linkov <juri@jurta.org>
8981
8982 * info.el (Info-display-images-node): When image file doesn't exist
8983 display text version of the image if it's provided in the Info file.
8984 Otherwise, display the location of missing image from SRC attribute.
8985 Add help-echo text property from ALT attribute. (Bug#15279)
8986
8987 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8990 (edit-abbrevs-mode): Use define-derived-mode.
8991
8992 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8993 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8994 that it's defined.
8995 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8996 Use define-derived-mode.
8997
8998 * epg.el (epg-start-encrypt): Minor CSE simplification.
8999
9000 2013-09-06 William Xu <william.xwl@gmail.com>
9001
9002 * arc-mode.el: Add support for 7za (bug#15264).
9003 (archive-7z-program): New var.
9004 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9005 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9006 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9007
9008 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9009
9010 Remove URL syntax.
9011
9012 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9013 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9014 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9015 (tramp-postfix-host-format, tramp-file-name-regexp)
9016 (tramp-completion-file-name-regexp)
9017 (tramp-completion-dissect-file-name)
9018 (tramp-handle-substitute-in-file-name): Remove 'url case.
9019 (tramp-file-name-regexp-url)
9020 (tramp-completion-file-name-regexp-url): Remove constants.
9021
9022 2013-09-06 Glenn Morris <rgm@gnu.org>
9023
9024 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9025
9026 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9027
9028 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9029 keywords" below "here-doc beginnings" (Bug#15270).
9030
9031 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * subr.el (pop): Use `car-safe'.
9034 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9035 to detect unused `pop' return value.
9036
9037 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9038 var `block-regexp'.
9039 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9040 (python-fill-string): Remove unused var `marker'.
9041 (python-skeleton-add-menu-items): Remove unused var `items'.
9042
9043 * international/mule-cmds.el: Require CL.
9044 (find-coding-systems-for-charsets): Avoid add-to-list.
9045 (sanitize-coding-system-list): New function, extracted from
9046 select-safe-coding-system-interactively.
9047 (select-safe-coding-system-interactively): Use it.
9048 (read-input-method-name): Accept symbols for `default'.
9049
9050 * emacs-lisp/advice.el (defadvice): Add indent rule.
9051
9052 2013-09-05 Daniel Hackney <dan@haxney.org>
9053
9054 * dired-x.el:
9055 * net/ange-ftp.el:
9056 * net/browse-url.el:
9057 * net/dbus.el:
9058 * net/eudc.el:
9059 * net/eudcb-ldap.el:
9060 * net/eww.el:
9061 * net/imap.el:
9062 * printing.el:
9063 * vc/ediff-diff.el:
9064 * vc/ediff-init.el:
9065 * vc/ediff-merg.el:
9066 * vc/ediff-mult.el:
9067 * vc/ediff-util.el:
9068 * vc/ediff-wind.el:
9069 * vc/ediff.el:
9070 * vc/emerge.el:
9071 * vc/pcvs.el:
9072 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9073 byte compiler. Remove some unused let-bound variables.
9074
9075 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9078 a "ref-cell", since it gets better optimized (bug#14883).
9079
9080 2013-09-05 Glenn Morris <rgm@gnu.org>
9081
9082 * progmodes/cc-awk.el (c-forward-sws): Declare.
9083
9084 2013-09-04 Glenn Morris <rgm@gnu.org>
9085
9086 * generic-x.el [rul-generic-mode]: Require cc-mode.
9087 (c++-mode-syntax-table): Declare.
9088 (rul-generic-mode-syntax-table): Init in the defvar.
9089
9090 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9093 (vc-do-command, vc-set-async-update):
9094 * vc/vc-mtn.el (vc-mtn-dir-status):
9095 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9096 (vc-hg-pull, vc-hg-merge-branch):
9097 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9098 (vc-git-merge-branch):
9099 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9100 (vc-cvs-dir-status-files):
9101 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9102 (vc-bzr-dir-status-files):
9103 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9104 * vc/vc-annotate.el: Use lexical-binding.
9105 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9106 (vc-sentinel-movepoint): Declare.
9107 (vc-annotate): Don't use `goto-line'.
9108 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9109 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9110 (vc-sentinel-movepoint): Declare.
9111 * vc/vc-svn.el: Use lexical-binding.
9112 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9113 * vc/vc-sccs.el:
9114 * vc/vc-rcs.el: Use lexical-binding.
9115
9116 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9117 `deleted'. Don't drop errors silently.
9118
9119 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9120
9121 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9122
9123 * vc/vc.el (vc-ignore): Rewrite.
9124 (vc-default-ignore): New function.
9125 (vc-default-ignore-completion-table): Use find-ignore-file.
9126
9127 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9128 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9129 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9130 Remove. Most code moved to vc.el.
9131
9132 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9133
9134 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9135 * net/tramp-smb.el (tramp-smb-get-file-entries):
9136 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9137 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9138
9139 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9140 Update call to it.
9141 (eww-change-select): Remove unused var `properties'.
9142 (eww-make-unique-file-name): Remove unused var `base'.
9143
9144 * finder.el (finder-compile-keywords): Don't mess with windows.
9145
9146 * calculator.el (calculator-funcall): Fix typo in last change.
9147
9148 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9149
9150 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9151 <pkg>-autoloads.el file stop us.
9152
9153 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9154 warnings, and factor out common code.
9155
9156 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9157
9158 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9159 two-character operators and whether the character preceding them
9160 changes their meaning (Bug#15208).
9161
9162 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9163
9164 Format code sent to Python shell for robustness.
9165 * progmodes/python.el (python-shell-buffer-substring):
9166 New function.
9167 (python-shell-send-region, python-shell-send-buffer): Use it.
9168
9169 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9170
9171 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9172 * net/tramp.el (tramp-user-error): ... here.
9173 (tramp-find-method, tramp-check-proper-host)
9174 (tramp-dissect-file-name, tramp-debug-message)
9175 (tramp-handle-shell-command):
9176 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9177 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9178
9179 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9180
9181 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9182
9183 * avoid.el (mouse-avoidance-point-position)
9184 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9185 returns nil.
9186
9187 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9188
9189 * progmodes/python.el (python-shell-completion-get-completions):
9190 Drop use of deleted `comint-last-prompt-overlay'.
9191 (python-nav-if-name-main): New command.
9192
9193 2013-09-01 Glenn Morris <rgm@gnu.org>
9194
9195 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9196 Avoid leading space in $wins. Otherwise the sed command used by
9197 eg compile-main ends up containing "/*.el". (Bug#15170)
9198
9199 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9200
9201 2013-08-30 Glenn Morris <rgm@gnu.org>
9202
9203 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9204 Fix is-this-a-directory logic. (Bug#15220)
9205
9206 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * textmodes/css-mode.el: Use SMIE.
9209 (css-smie-grammar): New var.
9210 (css-smie--forward-token, css-smie--backward-token)
9211 (css-smie-rules): New functions.
9212 (css-mode): Use them.
9213 (css-navigation-syntax-table): Remove var.
9214 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9215 (css-indent-calculate, css-indent-line): Remove functions.
9216
9217 Misc changes to reduce use of `(lambda...); and other cleanups.
9218 * cus-edit.el: Use lexical-binding.
9219 (customize-push-and-save, customize-apropos)
9220 (custom-buffer-create-internal): Use closures.
9221 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9222 * progmodes/ada-xref.el: Use setq.
9223 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9224 * dframe.el: Use lexical-binding.
9225 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9226 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9227 * descr-text.el: Use lexical-binding.
9228 (describe-text-widget, describe-text-sexp, describe-property-list):
9229 Use closures.
9230 * comint.el (comint-history-isearch-push-state): Use a closure.
9231 * calculator.el: Use lexical-binding.
9232 (calculator-number-to-string): Make it work with lexical-binding.
9233 (calculator-funcall): Same and use cl-letf.
9234
9235 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9236 (lisp--company-doc-string, lisp--company-location): New functions.
9237 (lisp-completion-at-point): Use them to improve Company support.
9238
9239 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9240 params of lambda expressions.
9241 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9242 (ruby-smie--opening-pipe-p): New function.
9243 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9244 symbols and matched |...| for formal params.
9245 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9246 from being treated as hanging. Handle "rescue".
9247
9248 2013-08-29 Glenn Morris <rgm@gnu.org>
9249
9250 * progmodes/cc-engine.el (c-pull-open-brace):
9251 Move definition before use.
9252
9253 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9256 are immutable. Don't use `unsafe' any more.
9257 (cl--defsubst-expand): Don't substitute at the same time as keeping
9258 a residual unused let-binding. Don't use `unsafe' any more.
9259
9260 2013-08-29 Glenn Morris <rgm@gnu.org>
9261
9262 * calendar/cal-china.el (calendar-chinese-year-cache):
9263 Recenter on 2015.
9264
9265 * nxml/nxml-util.el (nxml-debug-clear-inside):
9266 Use cl-loop rather than loop.
9267
9268 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9269
9270 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9271
9272 2013-08-28 Glenn Morris <rgm@gnu.org>
9273
9274 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9275
9276 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9277
9278 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9279
9280 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * simple.el (repeat-complex-command--called-interactively-skip):
9283 New function.
9284 (repeat-complex-command): Use it (bug#14136).
9285
9286 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9287 (c-define-abbrev-table): Add `doc' argument.
9288 (c-mode-abbrev-table, c++-mode-abbrev-table)
9289 (objc-mode-abbrev-table, java-mode-abbrev-table)
9290 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9291 (awk-mode-abbrev-table): Use it.
9292 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9293 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9294 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9295 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9296 Move initialization into the declaration; and remove any
9297 autoload cookie.
9298
9299 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9300 and dynamic let binding.
9301
9302 * vc/smerge-mode.el: Remove redundant :group args.
9303
9304 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9305 to load-path.
9306
9307 2013-08-28 Juri Linkov <juri@jurta.org>
9308
9309 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9310 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9311 (isearch-other-meta-char): Handle an undefined shifted printing
9312 character by downshifting it. (Bug#15200)
9313
9314 2013-08-28 Juri Linkov <juri@jurta.org>
9315
9316 * isearch.el (isearch-search): Change regexp error message for
9317 non-regexp searches. (Bug#15166)
9318
9319 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9320
9321 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9322 for portability to hosts where /bin/sh has problems.
9323
9324 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9327
9328 2013-08-27 Juri Linkov <juri@jurta.org>
9329
9330 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9331 in the keyboard macro. (Bug#15126)
9332
9333 2013-08-27 Juri Linkov <juri@jurta.org>
9334
9335 * isearch.el (isearch-quote-char): Comment out converting unibyte
9336 to multibyte, thus syncing with its `quoted-insert' counterpart.
9337 (Bug#15166)
9338
9339 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9340
9341 * window.el (display-buffer-use-some-window): Add missing
9342 argument in call of get-largest-window (Bug#15185).
9343 Reported by Stephen Leake.
9344
9345 2013-08-27 Glenn Morris <rgm@gnu.org>
9346
9347 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9348
9349 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9352 from a matcher-function unless there's no more matches (bug#15161).
9353
9354 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9355
9356 * minibuffer.el: Revert change from 2013-08-20.
9357
9358 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9359 with text property `tramp-default', if appropriate.
9360 (tramp-check-proper-host): New defun.
9361 (tramp-dissect-file-name): Do not check hostname. Revert change
9362 of 2013-03-18.
9363 (tramp-backtrace): Make VEC-OR-PROC optional.
9364
9365 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9366 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9367 * net/tramp-sh.el (tramp-maybe-open-connection):
9368 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9369 Apply `tramp-check-proper-host'.
9370
9371 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9372
9373 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9374 lambda expression in order to have `describe-variable' display it.
9375
9376 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9377
9378 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9379 BUF can be optional. (Bug#15186)
9380
9381 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9382
9383 * progmodes/flymake.el (flymake-get-real-file-name-function):
9384 Fix broken customization. (Bug#15184)
9385
9386 2013-08-25 Alan Mackenzie <acm@muc.de>
9387
9388 Improve indentation of bracelists defined by macros (without "=").
9389
9390 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9391 expansion begins with "{", regard it as bracelist when it doesn't
9392 contain a ";".
9393
9394 Parse C++ inher-intro when there's a template split over 2 lines.
9395
9396 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9397 rigorously the search for "class" etc. followed by ":".
9398
9399 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9400 random languages a regexp which never matches rather than nil.
9401
9402 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9403
9404 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9405 (c-awk-regexp-one-line-possibly-open-char-list-re)
9406 (c-awk-one-line-possibly-open-regexp-re)
9407 (c-awk-one-line-non-syn-ws*-re): Remove.
9408 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9409 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9410 (c-awk-space*-unclosed-regexp-/-re): New constants.
9411 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9412 aren't regexp delimiters.
9413
9414 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9415 handling for a rare situation in AWK Mode involving unterminated
9416 strings/regexps.
9417
9418 2013-08-23 Glenn Morris <rgm@gnu.org>
9419
9420 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9421
9422 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9423
9424 * files.el (create-file-buffer): If the result would begin with
9425 spaces, prepend a "|" instead of removing them. (Bug#15162)
9426
9427 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9430 text-properties (bug#15155).
9431
9432 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9433 exist any more.
9434 (calc-keypad-redraw): Remove unused var `pad'.
9435 (calc-keypad-press): Remove unused var `menu'.
9436
9437 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9438
9439 * window.el (display-buffer-pop-up-frame):
9440 Call pop-up-frame-function with BUFFER current so `make-frame' will
9441 use it as the new frame's buffer (Bug#15133).
9442
9443 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * calendar/timeclock.el: Minor cleanups.
9446 (timeclock-ask-before-exiting, timeclock-use-display-time):
9447 Use `symbol'.
9448 (timeclock-modeline-display): Define as alias before the
9449 actual definition.
9450 (timeclock-mode-line-display): Use define-minor-mode.
9451 (timeclock-day-list-template): Make it a function, add an argument.
9452 (timeclock-day-list-required, timeclock-day-list-length)
9453 (timeclock-day-list-debt, timeclock-day-list-span)
9454 (timeclock-day-list-break): Adjust calls accordingly.
9455
9456 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9459 Use read--expression so that completion works again.
9460
9461 2013-08-21 Sam Steingold <sds@gnu.org>
9462
9463 Add rudimentary inferior shell interaction
9464 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9465 (sh-set-shell): Reset it.
9466 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9467 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9468
9469 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * align.el: Use lexical-binding.
9472 (align-region): Simplify accordingly.
9473
9474 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9475
9476 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9477
9478 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9479 `non-essential' up.
9480
9481 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9482
9483 * net/tramp.el:
9484 * net/tramp-adb.el:
9485 * net/tramp-cmds.el:
9486 * net/tramp-ftp.el:
9487 * net/tramp-gvfs.el:
9488 * net/tramp-gw.el:
9489 * net/tramp-sh.el: Don't wrap external variable declarations by
9490 `eval-when-compile'.
9491
9492 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9493
9494 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9495 now that Emacs supports ImageMagick animations.
9496
9497 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9498
9499 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9500 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9501
9502 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9503
9504 * window.el (mouse-autoselect-window-select): Do autoselect when
9505 mouse pointer is on margin.
9506
9507 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9508
9509 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9510
9511 2013-08-16 Glenn Morris <rgm@gnu.org>
9512
9513 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9514 Handle "Remote Directory" response of some clients. (Bug#15058)
9515
9516 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9517 Tweak warning. (Bug#14926)
9518
9519 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9520 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9521
9522 * image-mode.el (image-mode-map): Add menu items to reverse,
9523 increase, decrease, reset animation speed.
9524 (image--set-speed, image-increase-speed, image-decrease-speed)
9525 (image-reverse-speed, image-reset-speed): New functions.
9526 (image-mode-map): Add bindings for speed commands.
9527
9528 * image.el (image-animate-get-speed, image-animate-set-speed):
9529 New functions.
9530 (image-animate-timeout): Respect image :speed property.
9531
9532 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9535 previous line (bug#15101).
9536 (debugger-eval-expression, debugger-record-expression):
9537 Use read--expression (bug#15102).
9538
9539 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9540
9541 Remove byte compiler warnings, visible when compiling with
9542 `byte-compile-force-lexical-warnings' set to t.
9543
9544 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9545 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9546 (tramp-handle-unhandled-file-name-directory)
9547 (tramp-handle-file-notify-add-watch, tramp-action-login)
9548 (tramp-action-succeed, tramp-action-permission-denied)
9549 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9550 arguments with "_".
9551
9552 * net/tramp-adb.el (tramp-adb-parse-device-names)
9553 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9554 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9555 (tramp-adb-handle-file-truename): Remove unused arguments.
9556
9557 * net/tramp-cache.el (tramp-flush-directory-property)
9558 (tramp-flush-connection-property, tramp-list-connections)
9559 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9560
9561 * net/tramp-compat.el (tramp-compat-make-temp-file):
9562 Rename FILENAME to F.
9563
9564 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9565 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9566 (tramp-zeroconf-parse-workstation-device-names)
9567 (tramp-zeroconf-parse-webdav-device-names)
9568 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9569
9570 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9571 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9572
9573 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9574 arguments.
9575 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9576 (tramp-sh-handle-insert-file-contents-literally)
9577 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9578 with "_".
9579 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9580 Remove unused variables.
9581
9582 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9583 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9584 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9585
9586 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9587 Make them a defconst.
9588 (tramp-uuencode-region): Remove unused variable.
9589
9590 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9591
9592 * frameset.el (frameset--prop-setter): New function.
9593 (frameset-prop): Add gv-setter declaration.
9594 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9595 parameter was already set in FILTERED. Doc fix.
9596 (frameset--record-minibuffer-relationships): Allow saving a
9597 minibufferless frame without its corresponding minibuffer frame.
9598 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9599 frame, if the frame id matches.
9600 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9601 frames before orphaned ones.
9602 (frameset-restore): Warn about orphaned windows, instead of error out.
9603
9604 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9605
9606 * window.el (window-make-atom): Don't overwrite parameter
9607 already present.
9608 (display-buffer-in-atom-window): Handle special case where we
9609 split an already atomic window.
9610 (window--major-non-side-window, display-buffer-in-side-window)
9611 (window--side-check): Ignore minibuffer window when walking
9612 window tree.
9613 (window-deletable-p): Return 'frame only if no other frame uses
9614 our minibuffer window.
9615 (record-window-buffer): Run buffer-list-update-hook.
9616 (split-window): Make sure window--check-frame won't destroy an
9617 existing atomic window in case the new window gets nested
9618 inside.
9619 (display-buffer-at-bottom): Ignore minibuffer window when
9620 walking window tree. Don't split a side window.
9621 (pop-to-buffer): Don't set-buffer here, the select-window call
9622 should do that.
9623 (mouse-autoselect-window-select): Autoselect only if we are in the
9624 text portion of the window.
9625
9626 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * net/shr.el (shr-parse-image-data): New function to grab both the
9629 data itself and the Content-Type.
9630 (shr-put-image): Use it.
9631
9632 * net/eww.el (eww-display-image): Ditto.
9633
9634 * image.el (image-content-type-suffixes): New variable.
9635
9636 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9637
9638 * progmodes/python.el (python-imenu--build-tree)
9639 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9640
9641 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9642
9643 * simple.el (backward-word): Mention the optional argument.
9644
9645 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * frameset.el (frameset--make): Rename constructor from make-frameset.
9648 (frameset-p, frameset-valid-p): Don't autoload.
9649 (frameset-valid-p): Use normal accessors.
9650
9651 2013-08-13 Glenn Morris <rgm@gnu.org>
9652
9653 * progmodes/compile.el (compile-command): Tweak example in doc.
9654 * obsolete/scribe.el (scribe-mode):
9655 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9656
9657 * mail/feedmail.el (feedmail-confirm-outgoing)
9658 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9659
9660 * cus-start.el (truncate-partial-width-windows): Fix type.
9661
9662 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9663
9664 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9665
9666 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * emacs-lisp/timer.el (timer--time-setter): New function.
9669 (timer--time): Use it as gv-setter.
9670
9671 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9672 setter is not a symbol.
9673
9674 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9675
9676 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9677 if sending fails. This makes debugging easier.
9678
9679 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9680
9681 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9682 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9683 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9684
9685 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9686
9687 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9688
9689 2013-08-12 Glenn Morris <rgm@gnu.org>
9690
9691 * format.el (format-annotate-function):
9692 Handle read-only text properties in the source. (Bug#14887)
9693
9694 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9695
9696 * net/eww.el (eww-display-html): Ignore coding system errors.
9697 One web site uses "utf-8lias" as the coding system.
9698
9699 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9700
9701 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9702
9703 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9704
9705 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9706 (tutorial--detailed-help): Remove unused local variables.
9707 (tutorial--save-tutorial-to): Use ignore-errors.
9708 (help-with-tutorial): Use looking-at-p.
9709
9710 * view.el (view-buffer-other-window, view-buffer-other-frame):
9711 Mark unused arguments.
9712
9713 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9714 (woman-select-symbol-fonts, woman, woman-find-file)
9715 (woman-insert-file-contents, woman-non-underline-faces):
9716 Use string-match-p.
9717 (woman1-unquote): Move declaration.
9718
9719 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9720 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9721 argument. Remove unused local variable.
9722 (xml-parse-elem-type): Use string-match-p.
9723 (xml-substitute-numeric-entities): Use ignore-errors.
9724
9725 * calculator.el (calculator): Mark unused argument.
9726 (calculator-paste, calculator-quit, calculator-integer-p):
9727 Use ignore-errors.
9728 (calculator-string-to-number, calculator-decimal, calculator-exp)
9729 (calculator-op-or-exp): Use string-match-p.
9730
9731 * dired.el (dired-buffer-more-recently-used-p): Declare.
9732 (dired-insert-set-properties, dired-insert-old-subdirs):
9733 Use ignore-errors.
9734
9735 * dired-aux.el (dired-compress): Use ignore-errors.
9736 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9737 (dired-do-async-shell-command, dired-do-shell-command)
9738 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9739 (dired-insert-subdir-validate): Use string-match-p.
9740 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9741 (dired-add-entry): Use string-match-p, looking-at-p.
9742 (dired-insert-subdir-newpos): Remove unused local variable.
9743
9744 * filenotify.el (file-notify-callback): Remove unused local variable.
9745
9746 * filesets.el (filesets-error): Mark unused argument.
9747 (filesets-which-command-p, filesets-filter-dir-names)
9748 (filesets-directory-files, filesets-get-external-viewer)
9749 (filesets-ingroup-get-data): Use string-match-p.
9750
9751 * find-file.el (ff-other-file-name, ff-other-file-name)
9752 (ff-find-the-other-file, ff-cc-hh-converter):
9753 Remove unused local variables.
9754 (ff-get-file-name): Use string-match-p.
9755 (ff-all-dirs-under): Use ignore-errors.
9756
9757 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9758 (follow-select-if-visible): Remove unused local variable.
9759
9760 * forms.el (read-file-filter): Move declaration.
9761 (forms--make-format, forms--make-parser, forms-insert-record):
9762 Quote function with #'.
9763 (forms--update): Use string-match-p. Quote function with #'.
9764
9765 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9766 (help-make-xrefs): Use looking-at-p.
9767 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9768
9769 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9770 (ibuffer-confirm-operation-on): Use string-match-p.
9771
9772 * msb.el (msb-item-handler, msb-dired-item-handler):
9773 Mark unused arguments.
9774
9775 * ses.el (ses-decode-cell-symbol)
9776 (ses-kill-override): Remove unused local variable.
9777 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9778 (ses-load): Use ignore-errors, looking-at-p.
9779 (ses-jump-safe): Use ignore-errors.
9780 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9781
9782 * tabify.el (untabify, tabify): Mark unused arguments.
9783
9784 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9785 Mark unused argument.
9786 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9787 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9788
9789 * emacs-lisp/timer.el (timer--time): Define setter with
9790 gv-define-setter to avoid deprecation warning.
9791
9792 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9793 (*record-cmpl-statistics-p*): Remove (was commented out).
9794 (cmpl-statistics-block): Remove (body was commented out).
9795 All callers changed.
9796 (add-completions-from-buffer, load-completions-from-file):
9797 Remove unused variables.
9798
9799 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9800
9801 * filecache.el (file-cache-delete-file-list):
9802 Print message only when told so.
9803 (file-cache-files-matching): Use #' in mapconcat argument.
9804
9805 * ffap.el (ffap-url-at-point): Fix reference to variable
9806 thing-at-point-default-mail-uri-scheme.
9807
9808 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * subr.el (define-error): New function.
9811 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9812 error-file-not-found and define with define-error.
9813 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9814 and define with define-error.
9815 * userlock.el (file-locked, file-supersession):
9816 * simple.el (mark-inactive):
9817 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9818 * progmodes/ada-mode.el (ada-mode-errors):
9819 * play/life.el (life-extinct):
9820 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9821 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9822 * nxml/rng-util.el (rng-error):
9823 * nxml/rng-uri.el (rng-uri-error):
9824 * nxml/rng-match.el (rng-compile-error):
9825 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9826 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9827 * nxml/nxml-rap.el (nxml-scan-error):
9828 * nxml/nxml-outln.el (nxml-outline-error):
9829 * net/soap-client.el (soap-error):
9830 * net/gnutls.el (gnutls-error):
9831 * net/ange-ftp.el (ftp-error):
9832 * mpc.el (mpc-proc-error):
9833 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9834 (json-number-format, json-string-escape, json-string-format)
9835 (json-key-format, json-object-format):
9836 * jka-compr.el (compression-error):
9837 * international/quail.el (quail-error):
9838 * international/kkc.el (kkc-error):
9839 * emacs-lisp/ert.el (ert-test-failed):
9840 * calc/calc.el (calc-error, inexact-result, math-overflow)
9841 (math-underflow):
9842 * bookmark.el (bookmark-error-no-filename):
9843 * epg.el (epg-error): Define with define-error.
9844
9845 * time.el (display-time-event-handler)
9846 (display-time-next-load-average): Don't call sit-for since it seems
9847 unnecessary (bug#15045).
9848
9849 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9850 Use #' instead of ' to quote functions.
9851 (checkdoc-output-mode): Use setq-local.
9852 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9853 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9854 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9855 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9856 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9857 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9858 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9859 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9860
9861 * ido.el (ido-completion-help): Fix up compiler warning.
9862
9863 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9864
9865 * frameset.el (frameset-p): Add autoload cookie.
9866 (frameset--jump-to-register): New function, based on code moved from
9867 register.el.
9868 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9869
9870 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9871 (frameset-restore, frameset-save, frameset-session-filter-alist):
9872 Remove declarations.
9873 (register-alist): Doc fix.
9874 (frameset-to-register): Move to frameset.el.
9875 (jump-to-register, describe-register-1): Remove frameset-specific code.
9876
9877 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * allout-widgets.el (allout-widgets-pre-command-business)
9880 (allout-widgets-post-command-business)
9881 (allout-widgets-after-change-handler)
9882 (allout-decorate-item-and-context, allout-set-boundary-marker)
9883 (allout-body-modification-handler)
9884 (allout-graphics-modification-handler): Mark ignored arguments.
9885 (allout-widgets-post-command-business)
9886 (allout-widgets-exposure-change-processor)
9887 (allout-widgets-exposure-undo-processor)
9888 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9889 (allout-parse-item-at-point, allout-decorate-item-guides)
9890 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9891 * allout.el (epa-passphrase-callback-function): Declare.
9892 (allout-overlay-insert-in-front-handler)
9893 (allout-overlay-interior-modification-handler)
9894 (allout-isearch-end-handler, allout-chart-siblings)
9895 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9896 (allout-yank-processing, allout-process-exposed)
9897 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9898 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9899 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9900 (lisp-indent-defform): Mark ignored arguments.
9901 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9902 (calculate-lisp-indent): Remove unused variables.
9903 * international/characters.el (indian-2-column, arabic-2-column)
9904 (tibetan): Mark ignored arguments.
9905 (use-cjk-char-width-table): Mark ignored arguments.
9906 Remove unused variables.
9907 * international/fontset.el (build-default-fontset-data)
9908 (x-compose-font-name, create-fontset-from-fontset-spec):
9909 Mark ignored arguments.
9910 (fontset-plain-name): Remove unused variables.
9911 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9912 (keyboard-coding-system): Mark ignored arguments.
9913 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9914 * help.el (resize-temp-buffer-window):
9915 * window.el (display-buffer-in-major-side-window)
9916 (display-buffer-in-side-window, display-buffer-in-previous-window):
9917 Remove unused variables.
9918 * isearch.el (isearch-forward-symbol):
9919 * version.el (emacs-bzr-version-bzr):
9920 * international/mule-cmds.el (current-language-environment):
9921 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9922 (x-handle-display):
9923 * term/pc-win.el (x-list-fonts, x-display-planes)
9924 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9925 (x-server-version, x-display-screens, x-display-mm-height)
9926 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9927 (x-selection-owner-p, x-own-selection-internal)
9928 (x-disown-selection-internal, x-get-selection-internal)
9929 (msdos-initialize-window-system):
9930 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9931 * term/x-win.el (x-handle-no-bitmap-icon):
9932 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9933 (vc-default-find-file-hook, vc-default-extra-menu):
9934 Mark ignored arguments.
9935
9936 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9939 break-condition in the context of the debugged code (bug#12685).
9940
9941 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9942
9943 * comint.el:
9944 Do not use an overlay to highlight the last prompt. (Bug#14744)
9945 (comint-mode): Make comint-last-prompt buffer local.
9946 (comint-last-prompt): New variable.
9947 (comint-last-prompt-overlay): Remove. Superseded by
9948 comint-last-prompt.
9949 (comint-snapshot-last-prompt, comint-output-filter):
9950 Use comint-last-prompt.
9951
9952 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9955 (frameset-save): Check validity of the resulting frameset.
9956
9957 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9958
9959 * ido.el (ido-record-command): Add doc string.
9960
9961 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9962
9963 * frameset.el (frameset): Do not disable creation of the default
9964 frameset-p predicate. Doc fix.
9965 (frameset-valid-p): New function, copied from the old predicate-p.
9966 Add additional checks.
9967 (frameset-restore): Check with frameset-valid-p.
9968 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9969 (frameset-name, frameset-description, frameset-properties)
9970 (frameset-states): Add docstring.
9971 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9972 (frameset-filter-alist): Doc fixes.
9973
9974 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9975
9976 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9977
9978 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9981 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9982 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9983 (byte-compile-normal-call): Remove obsolescence check.
9984
9985 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9986
9987 * frameset.el (frameset-restore): Doc fix.
9988
9989 * register.el (frameset-frame-id, frameset-frame-with-id)
9990 (frameset-p, frameset-restore, frameset-save): Declare.
9991 (register-alist): Document framesets.
9992 (frameset-session-filter-alist): Declare.
9993 (frameset-to-register): New function.
9994 (jump-to-register): Implement jumping to framesets. Doc fix.
9995 (describe-register-1): Describe framesets.
9996
9997 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9998
9999 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10002 Use lexical-binding.
10003
10004 * frameset.el (frameset): Use type vector, not list (incompatible
10005 change). Do not declare a new constructor, use the default one.
10006 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10007 `name' and `description', respectively, and add read-only slot
10008 `timestamp'. Doc fixes.
10009 (frameset-copy, frameset-persistent-filter-alist)
10010 (frameset-filter-alist, frameset-switch-to-gui-p)
10011 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10012 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10013 (frameset-filter-iconified, frameset-keep-original-display-p):
10014 Doc fixes.
10015 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10016 Rename from frameset-filter-(save|restore)-param. All callers changed.
10017 Doc fix.
10018 (frameset-p): Adapt to change to vector and be more thorough.
10019 Change arg name to OBJECT. Doc fix.
10020 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10021 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10022 All callers changed.
10023 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10024 All callers changed.
10025 (frameset--record-minibuffer-relationships): Rename from
10026 frameset--process-minibuffer-frames. All callers changed.
10027 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10028 Use new default constructor (again). Doc fix.
10029 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10030 All callers changed.
10031 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10032 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10033 Doc fix.
10034 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10035 PARAMETERS and WINDOW-STATE, respectively.
10036 (frameset-restore): Add new keyword argument PREDICATE.
10037 Reset frameset--target-display to nil. Doc fix.
10038
10039 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10042 (bat-mode): Use it.
10043 (bat-mode-syntax-table): Mark \n as end-of-comment.
10044 (bat-font-lock-keywords): Remove comment rule.
10045
10046 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10047 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10048
10049 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10050 (byte-compile-callargs-warn): Use `push'.
10051 (byte-compile-arglist-warn): Ignore higher-order "calls".
10052 (byte-compile-file-form-autoload): Use `pcase'.
10053 (byte-compile-function-form): If quoting a symbol, check that it exists.
10054
10055 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10056
10057 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10058 and add a few popular commands found in batch files.
10059 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10060 (dos-mode): Doc fixes.
10061
10062 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10065 (dos-mode): Use setq-local. Add space after "rem".
10066 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10067 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10068
10069 2013-08-07 Arni Magnusson <arnima@hafro.is>
10070
10071 * progmodes/dos.el: New file.
10072 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10073 dos-mode.
10074
10075 2013-08-06 Glenn Morris <rgm@gnu.org>
10076
10077 * calendar/calendar.el: Add new faces, and day-header-array.
10078 (calendar-weekday-header, calendar-weekend-header)
10079 (calendar-month-header): New faces.
10080 (calendar-day-header-construct): New function.
10081 (calendar-day-header-width): Also :set calendar-day-header-array.
10082 (calendar-american-month-header, calendar-european-month-header)
10083 (calendar-iso-month-header): Use calendar- faces.
10084 (calendar-generate-month):
10085 Use calendar-day-header-array for day headers; apply faces to them.
10086 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10087 (calendar-abbrev-construct): Add optional maxlen argument.
10088 (calendar-day-name-array): Doc fix.
10089 (calendar-day-name-array, calendar-abbrev-length)
10090 (calendar-day-abbrev-array):
10091 Also :set calendar-day-header-array, and maybe redraw.
10092 (calendar-day-header-array): New option. (Bug#15007)
10093 (calendar-font-lock-keywords): Set to nil and make obsolete.
10094 (calendar-day-name): Add option to use header array.
10095
10096 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10097
10098 * net/shr.el (shr-render-td): Remove debugging.
10099 (shr-render-td): Make width computation consistent by defaulting
10100 all zero-width columns to 10 characters. This may not be optimal,
10101 but it's at least consistent.
10102 (shr-make-table-1): Redo last change to fix the real problem in
10103 colspan handling.
10104
10105 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10106
10107 * files.el (cache-long-line-scans):
10108 Make obsolete alias to `cache-long-scans'.
10109
10110 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10111
10112 * frameset.el (frameset, frameset-filter-alist)
10113 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10114 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10115 (frameset-compute-pos): Rename from frameset--compute-pos,
10116 and add docstring.
10117 (frameset-move-onscreen): Use frameset-compute-pos.
10118 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10119
10120 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10121 Fix typos in docstrings.
10122
10123 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10124
10125 * frame.el (get-other-frame): Tiny cleanup.
10126
10127 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10128
10129 * vc/vc.el (vc-default-ignore-completion-table):
10130 Silence byte-compiler warning.
10131
10132 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10133 slot, which can indeed be nil.
10134 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10135 Move entry for `left' from persistent to live filter alist.
10136 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10137 Doc fixes.
10138 (frameset-filter-params): When restoring a frame, copy items added to
10139 `filtered', to avoid unwittingly modifying the original parameters.
10140 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10141 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10142
10143 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10144 to use looking-at-p instead of looking-at. (Bug#15028)
10145
10146 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10147
10148 Revert introduction of isearch-filter-predicates (bug#14714).
10149 Rely on add-function instead.
10150 * isearch.el (isearch-filter-predicates): Rename it back to
10151 isearch-filter-predicate.
10152 (isearch-message-prefix): Use advice-function-mapc and advice
10153 properties to get the isearch-message-prefix.
10154 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10155 instead of run-hook-with-args-until-failure.
10156 (isearch-filter-visible): Not obsolete any more.
10157 * loadup.el: Preload nadvice.
10158 * replace.el (perform-replace): Revert to funcall
10159 instead of run-hook-with-args-until-failure.
10160 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10161 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10162 dired-isearch-filenames-toggle; make it into a proper minor mode.
10163 Use add/remove-function.
10164 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10165 Call the minor-mode rather than add/remove-hook.
10166 (dired-isearch-filter-filenames):
10167 Remove isearch-message-prefix property.
10168 * info.el (Info--search-loop): New function, extracted from Info-search.
10169 Funcall isearch-filter-predicate instead of
10170 run-hook-with-args-until-failure isearch-filter-predicates.
10171 (Info-search): Use it.
10172 (Info-mode): Use isearch-filter-predicate instead of
10173 isearch-filter-predicates.
10174
10175 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10176
10177 Do not call to `selected-window' where it is assumed by default.
10178 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10179 `window-hscroll', `window-width', `window-height', `window-buffer',
10180 `window-frame', `window-start', `window-point', `next-window'
10181 and `window-display-table'.
10182 * abbrev.el (abbrev--default-expand):
10183 * bs.el (bs--show-with-configuration):
10184 * buff-menu.el (Buffer-menu-mouse-select):
10185 * calc/calc.el (calc):
10186 * calendar/calendar.el (calendar-generate-window):
10187 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10188 (diary-make-entry):
10189 * comint.el (send-invisible, comint-dynamic-complete-filename)
10190 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10191 * completion.el (complete):
10192 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10193 * disp-table.el (describe-current-display-table):
10194 * doc-view.el (doc-view-insert-image):
10195 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10196 * ehelp.el (with-electric-help):
10197 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10198 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10199 * emacs-lisp/helper.el (Helper-help-scroller):
10200 * emulation/cua-base.el (cua--post-command-handler-1):
10201 * eshell/esh-mode.el (eshell-output-filter):
10202 * ffap.el (ffap-gnus-wrapper):
10203 * help-macro.el (make-help-screen):
10204 * hilit-chg.el (highlight-compare-buffers):
10205 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10206 * hl-line.el (global-hl-line-highlight):
10207 * icomplete.el (icomplete-simple-completing-p):
10208 * isearch.el (isearch-done):
10209 * jit-lock.el (jit-lock-stealth-fontify):
10210 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10211 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10212 * mpc.el (mpc-tagbrowser, mpc):
10213 * net/rcirc.el (rcirc-any-buffer):
10214 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10215 * play/landmark.el (landmark-max-width, landmark-max-height):
10216 * play/zone.el (zone):
10217 * progmodes/compile.el (compilation-goto-locus):
10218 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10219 * progmodes/etags.el (find-tag-other-window):
10220 * progmodes/fortran.el (fortran-column-ruler):
10221 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10222 * progmodes/verilog-mode.el (verilog-point-text):
10223 * reposition.el (reposition-window):
10224 * rot13.el (toggle-rot13-mode):
10225 * server.el (server-switch-buffer):
10226 * shell.el (shell-dynamic-complete-command)
10227 (shell-dynamic-complete-environment-variable):
10228 * simple.el (insert-buffer, set-selective-display)
10229 (delete-completion-window):
10230 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10231 (speedbar-recenter):
10232 * startup.el (fancy-splash-head):
10233 * textmodes/ispell.el (ispell-command-loop):
10234 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10235 * tutorial.el (help-with-tutorial):
10236 * vc/add-log.el (add-change-log-entry):
10237 * vc/compare-w.el (compare-windows):
10238 * vc/ediff-help.el (ediff-indent-help-message):
10239 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10240 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10241 (ediff-setup-control-frame):
10242 * vc/emerge.el (emerge-position-region):
10243 * vc/pcvs-util.el (cvs-bury-buffer):
10244 * window.el (walk-windows, mouse-autoselect-window-select):
10245 * winner.el (winner-set-conf, winner-undo): Related users changed.
10246
10247 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10248
10249 * frameset.el (frameset--set-id): Doc fix.
10250 (frameset-frame-id, frameset-frame-id-equal-p)
10251 (frameset-locate-frame-id): New functions.
10252 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10253 (frameset-restore): Use them.
10254
10255 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10256
10257 Do not call to `selected-frame' where it is assumed by default.
10258 Affected functions are `raise-frame', `redraw-frame',
10259 `frame-first-window', `frame-terminal' and `delete-frame'.
10260 * calendar/appt.el (appt-disp-window):
10261 * epg.el (epg-wait-for-completion):
10262 * follow.el (follow-delete-other-windows-and-split)
10263 (follow-avoid-tail-recenter):
10264 * international/mule.el (set-terminal-coding-system):
10265 * mail/rmail.el (rmail-mail-return):
10266 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10267 * progmodes/f90.el (f90-add-imenu-menu):
10268 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10269 * server.el (server-switch-buffer):
10270 * simple.el (delete-completion-window):
10271 * talk.el (talk):
10272 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10273 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10274 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10275 * vc/ediff.el (ediff-documentation): Related users changed.
10276 * frame.el (selected-terminal): Remove the leftover.
10277
10278 2013-08-05 Glenn Morris <rgm@gnu.org>
10279
10280 * calendar/calendar.el (calendar-generate-month):
10281 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10282 (calendar-generate-month, calendar-font-lock-keywords):
10283 Fix for calendar-day-header-width > length of any day name.
10284
10285 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10286
10287 * desktop.el (desktop-clear): Use new name of sort predicate.
10288
10289 * frameset.el (frameset): Add docstring. Move :version property to its
10290 own `version' slot.
10291 (frameset-copy): Rename from copy-frameset.
10292 (frameset-p): Check more thoroughly.
10293 (frameset-prop): Do not check for :version, which is no longer a prop.
10294 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10295 Use new :never value instead of t.
10296 (frameset-filter-alist): Expand and clarify docstring.
10297 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10298 (frameset-filter-minibuffer, frameset-filter-save-param)
10299 (frameset-filter-restore-param, frameset-filter-iconified):
10300 Add pointer to docstring of frameset-filter-alist.
10301 (frameset-filter-params): Rename filter values to be more meaningful:
10302 :never instead of t, and reverse the meanings of :save and :restore.
10303 (frameset--process-minibuffer-frames): Clarify error message.
10304 (frameset-save): Avoid unnecessary and confusing call to framep.
10305 Use new BOA constructor for framesets.
10306 (frameset--reuse-list): Doc fix.
10307 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10308 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10309 (frameset-minibufferless-first-p): Doc fix.
10310 Rename from frameset-sort-frames-for-deletion.
10311 (frameset-restore): Doc fixes. Use new function names.
10312 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10313
10314 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10315
10316 * desktop.el (desktop-restore-forces-onscreen)
10317 (desktop-restore-reuses-frames): Document :keyword constant values.
10318 (desktop-filter-parameters-alist): Remove, now identical to
10319 frameset-filter-alist.
10320 (desktop--filter-tty*): Remove, moved to frameset.el.
10321 (desktop-save-frameset, desktop-restore-frameset):
10322 Do not pass :filters argument.
10323
10324 * frameset.el (frameset-live-filter-alist)
10325 (frameset-persistent-filter-alist): New variables.
10326 (frameset-filter-alist): Use them. Add autoload cookie.
10327 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10328 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10329 `frameset--id' (it's supposed to be internal to frameset.el).
10330 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10331 (frameset--initial-params): New function.
10332 (frameset--get-frame): Use it. Doc fix.
10333 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10334 Accept :all, not 'all.
10335 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10336 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10337 with fbound symbols. Fix frame id matching, and remove matching ids if
10338 the frame being restored is deleted. Obey :delete.
10339
10340 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * subr.el (macrop): New function.
10343 (text-clone--maintaining): New var.
10344 (text-clone--maintain): Rename from text-clone-maintain. Use it
10345 instead of inhibit-modification-hooks.
10346
10347 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10348 a proxy, so as handle autoloads and redefinitions of the target.
10349 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10350
10351 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10352 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10353 (pcase--mutually-exclusive-p): New function.
10354 (pcase--split-consp): Use it.
10355 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10356 mutually exclusive with the current predicate.
10357
10358 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10359 (edebug-macrop): Remove. Use `macrop' instead.
10360 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10361 (ad-macro-p):
10362 * eshell/esh-cmd.el (eshell-macrop):
10363 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10364
10365 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10368 (advice-mapc): New function, using it.
10369 (advice-function-member-p): New function.
10370 (advice--normalize): Store the cdr in advice--saved-rewrite since
10371 that's the part that will be changed.
10372 (advice--symbol-function): New function.
10373 (advice-remove): Handle removal before the function is defined.
10374 Adjust to new advice--saved-rewrite.
10375 (advice-member-p): Use advice-function-member-p and
10376 advice--symbol-function.
10377
10378 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10379
10380 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10381 (frameset-filter-minibuffer): Doc fix.
10382 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10383 (frameset--set-id, frameset--process-minibuffer-frames)
10384 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10385 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10386
10387 * desktop.el (desktop-clear): Only delete frames when called
10388 interactively and desktop-restore-frames is non-nil. Doc fix.
10389 (desktop-read): Set desktop-saved-frameset to nil.
10390
10391 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10392
10393 * vc/vc.el (vc-ignore): Rewrite.
10394 (vc-default-ignore-completion-table, vc--read-lines)
10395 (vc--add-line, vc--remove-regexp): New functions.
10396
10397 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10398 (vc-svn-ignore-completion-table): New function.
10399
10400 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10401 (vc-hg-ignore-completion-table)
10402 (vc-hg-find-ignore-file): New functions.
10403
10404 * vc/vc-git.el (vc-git-ignore): Rewrite.
10405 (vc-git-ignore-completion-table)
10406 (vc-git-find-ignore-file): New functions.
10407
10408 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10409
10410 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10411 (vc-bzr-ignore-completion-table)
10412 (vc-bzr-find-ignore-file): New functions.
10413
10414 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10415
10416 * frameset.el (frameset-prop): New function and setter.
10417 (frameset-save): Do not modify frame list passed by the caller.
10418
10419 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10420
10421 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10422
10423 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10426 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10427
10428 * custom.el (custom-initialize-default, custom-initialize-set)
10429 (custom-initialize-reset, custom-initialize-changed): Affect the
10430 toplevel-default-value (bug#6275, bug#14586).
10431 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10432 for bug#6275.
10433
10434 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10435
10436 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10437 Add cl-def* expressions.
10438
10439 * frameset.el (frameset-filter-params): Fix order of arguments.
10440
10441 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10442
10443 Move code related to saving frames to frameset.el.
10444 * desktop.el: Require frameset.
10445 (desktop-restore-frames): Doc fix.
10446 (desktop-restore-reuses-frames): Rename from
10447 desktop-restoring-reuses-frames.
10448 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10449 (desktop-clear): Clear frames too.
10450 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10451 (desktop--filter-tty*, desktop-save, desktop-read):
10452 Use frameset functions.
10453 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10454 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10455 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10456 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10457 (desktop--process-minibuffer-frames, desktop-save-frames)
10458 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10459 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10460 (desktop--sort-states, desktop-restoring-frames-p)
10461 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10462 (desktop-restoring-frameset-p, desktop-restore-frameset)
10463 (desktop--check-dont-save, desktop-save-frameset): New functions.
10464 (desktop--app-id): New constant.
10465 (desktop-first-buffer, desktop-buffer-ok-count)
10466 (desktop-buffer-fail-count): Move before first use.
10467 * frameset.el: New file.
10468
10469 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * files.el: Use lexical-binding.
10472 (dir-locals-read-from-file): Remove unused `err' variable.
10473 (hack-dir-local-variables--warned-coding): New var.
10474 (hack-dir-local-variables): Use it to avoid repeated warnings.
10475 (make-backup-file-name--default-function): New function.
10476 (make-backup-file-name-function): Use it as default.
10477 (buffer-stale--default-function): New function.
10478 (buffer-stale-function): Use it as default.
10479 (revert-buffer-insert-file-contents--default-function): New function.
10480 (revert-buffer-insert-file-contents-function): Use it as default.
10481 (insert-directory): Avoid add-to-list.
10482
10483 * autorevert.el (auto-revert-handler): Simplify.
10484 Use buffer-stale--default-function.
10485
10486 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10487
10488 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10489
10490 * whitespace.el (whitespace-ensure-local-variables): New function.
10491 (whitespace-cleanup-region): Call it.
10492 (whitespace-turn-on): Call it.
10493
10494 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10495
10496 Complete file name handlers.
10497
10498 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10499 (tramp-handle-verify-visited-file-modtime)
10500 (tramp-handle-file-notify-rm-watch): New functions.
10501 (tramp-call-process): Do not bind `default-directory'.
10502
10503 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10504 Order alphabetically.
10505 <access-file, add-name-to-file, dired-call-process>:
10506 <dired-compress-file, file-acl, file-notify-rm-watch>:
10507 <file-ownership-preserved-p, file-selinux-context>:
10508 <make-directory-internal, make-symbolic-link, set-file-acl>:
10509 <set-file-selinux-context, set-visited-file-modtime>:
10510 <verify-visited-file-modtime>: Add handler.
10511 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10512
10513 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10514 <file-notify-add-watch, file-notify-rm-watch>:
10515 <set-file-times, set-visited-file-modtime>:
10516 <verify-visited-file-modtime>: Add handler.
10517 (with-tramp-gvfs-error-message)
10518 (tramp-gvfs-handle-set-visited-file-modtime)
10519 (tramp-gvfs-fuse-file-name): Remove.
10520 (tramp-gvfs-handle-file-notify-add-watch)
10521 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10522 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10523
10524 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10525 Order alphabetically.
10526 <file-notify-rm-watch>: Use default Tramp handler.
10527 <executable-find>: Remove private handler.
10528 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10529 `default-directory'.
10530 (tramp-sh-handle-executable-find)
10531 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10532 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10533 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10534 Do not use `format' in `tramp-message'.
10535
10536 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10537 <file-notify-rm-watch, set-visited-file-modtime>:
10538 <verify-visited-file-modtime>: Add handler.
10539 (tramp-smb-call-winexe): Do not bind `default-directory'.
10540
10541 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10542
10543 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10544
10545 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10546
10547 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10548 use it.
10549 (log-view-diff-changeset): Same.
10550 (log-view-diff-common): Call backend command `previous-revision'
10551 to find out the previous revision, in both cases. Swap the
10552 variables `to' and `fr', so that `fr' usually refers to the
10553 earlier revision (Bug#14989).
10554
10555 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10556
10557 * ibuf-ext.el (ibuffer-filter-by-filename):
10558 Make it work with dired buffers too.
10559
10560 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10561
10562 * emacs-lisp/re-builder.el (reb-color-display-p):
10563 * files.el (save-buffers-kill-terminal):
10564 * net/browse-url.el (browse-url):
10565 * server.el (server-save-buffers-kill-terminal):
10566 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10567 Prefer nil to selected-frame for the first arg of frame-parameter.
10568
10569 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10570
10571 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10572
10573 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10574
10575 * minibuffer.el (completion--twq-all): Try and preserve each
10576 completion's case choice (bug#14907).
10577
10578 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10579
10580 * net/network-stream.el (open-network-stream): Mention the new
10581 :nogreeting parameter.
10582 (network-stream-open-starttls): Use the :nogreeting parameter
10583 (bug#14938).
10584
10585 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10586
10587 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10588 more natural than popping.
10589
10590 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10591 (shr-urlify): Highlight under mouse.
10592
10593 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10594
10595 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10596
10597 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10598
10599 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10600 buffer for output.
10601
10602 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10603 point-min==1. Fix search string. Fix parentheses missing.
10604
10605 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10606 assume point-min==1. Fix search string. Fix parentheses missing.
10607
10608 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10609
10610 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10611 buffer for output.
10612
10613 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10614
10615 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10616 initial frame is minibuffer-less. (Bug#14841)
10617
10618 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10619
10620 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10621 option.
10622
10623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10624 (tramp-maybe-open-connection): Use it.
10625
10626 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10629 minimal set of parameters passed when creating a frame, because
10630 the minibuffer status of a frame cannot be changed later.
10631
10632 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10633
10634 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10635 replace-regexp-in-string and inadvertent omissions in previous change.
10636 (todo-filter-items): Ensure only file names are comma-separated in
10637 name of filtered items buffer.
10638
10639 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10640
10641 * desktop.el: Optionally force offscreen frames back onscreen.
10642 (desktop-restoring-reuses-frames): New option.
10643 (desktop--compute-pos, desktop--move-onscreen): New functions.
10644 (desktop--make-frame): Use desktop--move-onscreen.
10645
10646 2013-07-27 Alan Mackenzie <acm@muc.de>
10647
10648 Fontify a Java generic method as a function.
10649 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10650 value to t.
10651
10652 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10653
10654 * calendar/todo-mode.el: Add command to rename todo files.
10655 (todo-rename-file): New command.
10656 (todo-key-bindings-t): Add key binding for it. Change the
10657 bindings of todo-filter-regexp-items(-multifile) to use `x'
10658 instead of `r', since the latter is better suited to the new
10659 renaming command.
10660
10661 2013-07-27 Alan Mackenzie <acm@muc.de>
10662
10663 Make Java try-with-resources statement parse properly.
10664 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10665 (c-block-stmt-1-2-key): New language constants/variables.
10666 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10667 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10668 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10669 with c-block-stmt-1-2-key.
10670
10671 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10672
10673 * desktop.el (desktop--make-frame): Apply most frame parameters after
10674 creating the frame to force (partially or totally) offscreen frames to
10675 be restored as such.
10676
10677 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10678
10679 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10680 (Bug#14948)
10681
10682 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10685 `base' arg of backtrace-frame.
10686
10687 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10688
10689 * simple.el (list-processes): Doc fix.
10690
10691 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10692
10693 * desktop.el (desktop--select-frame):
10694 Try harder to reuse existing frames.
10695
10696 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10699 (edebug-eval): Use backtrace-eval.
10700 (edebug--display, edebug--recursive-edit): Don't let-bind the
10701 edebug-outer-* vars that keep track of variables we locally let-bind.
10702 (edebug-outside-excursion): Don't restore outside values of locally
10703 let-bound vars.
10704 (edebug--display): Use user-error.
10705 (cl-lexical-debug, cl-debug-env): Remove.
10706
10707 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10708
10709 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10710 are restored to be sure that they are visible before deleting any
10711 remaining ones.
10712
10713 2013-07-26 Matthias Meulien <orontee@gmail.com>
10714
10715 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10716 vc-print-root-log. (Bug#14948)
10717
10718 2013-07-26 Richard Stallman <rms@gnu.org>
10719
10720 Add aliases for encrypting mail.
10721 * epa.el (epa-mail-aliases): New option.
10722 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10723 Bind inhibit-read-only so read-only text doesn't ruin everything.
10724 (epa-mail-default-recipients): New subroutine broken out.
10725 Handle epa-mail-aliases.
10726
10727 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 Add support for lexical variables to the debugger's `e' command.
10730 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10731 vars, except for debugger-outer-match-data.
10732 (debugger-frame-number): Move check for "on a function call" from
10733 callers into it. Add `skip-base' argument.
10734 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10735 (debugger-env-macro): Only reset the state stored in non-variables,
10736 i.e. current-buffer and match-data.
10737 (debugger-eval-expression): Rewrite using backtrace-eval.
10738 * subr.el (internal--called-interactively-p--get-frame): Remove.
10739 (called-interactively-p):
10740 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10741 `base' arg of backtrace-frame instead.
10742
10743 2013-07-26 Glenn Morris <rgm@gnu.org>
10744
10745 * align.el (align-regexp): Doc fix. (Bug#14857)
10746 (align-region): Explicit error if subexpression missing/does not match.
10747
10748 * simple.el (global-visual-line-mode):
10749 Do not duplicate the mode lighter. (Bug#14858)
10750
10751 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10752
10753 * window.el (display-buffer): In display-buffer bind
10754 split-window-keep-point to t, bug#14829.
10755
10756 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10757
10758 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10759 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10760 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10761 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10762 Change accordingly.
10763 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10764 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10765
10766 2013-07-25 Glenn Morris <rgm@gnu.org>
10767
10768 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10769
10770 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10773 parameter to modify-frame-parameters if the value has not changed;
10774 this is a workaround for bug#14949.
10775 (desktop--make-frame): On cl-delete-if call, check parameter name,
10776 not full parameter.
10777
10778 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10779
10780 * vc/vc.el (vc-ignore): New function.
10781
10782 * vc/vc-svn.el (vc-svn-ignore): New function.
10783
10784 * vc/vc-hg.el (vc-hg-ignore): New function.
10785
10786 * vc/vc-git.el (vc-git-ignore): New function.
10787
10788 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10789 (vc-dir-ignore): New function.
10790
10791 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10792 (cvs-append-to-ignore): Move here from pcvs.el.
10793
10794 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10795
10796 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10797
10798 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10799
10800 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10801 (desktop-restore-frames): Warn when deleting an existing frame failed.
10802
10803 2013-07-24 Glenn Morris <rgm@gnu.org>
10804
10805 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10806
10807 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10808
10809 * filenotify.el (file-notify-supported-p):
10810 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10811 Remove functions.
10812
10813 * autorevert.el (auto-revert-use-notify)
10814 (auto-revert-notify-add-watch):
10815 * net/tramp.el (tramp-file-name-for-operation):
10816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10818 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10819 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10820 Remove `file-notify-supported-p' entry.
10821
10822 2013-07-24 Glenn Morris <rgm@gnu.org>
10823
10824 * printing.el: Replace all uses of deleted ps-windows-system,
10825 ps-lp-system, ps-flatten-list with lpr- versions.
10826
10827 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10828
10829 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10830 checked with memq (bug#14935).
10831
10832 * files.el (revert-buffer-function): Use a non-nil default.
10833 (revert-buffer-preserve-modes): Declare var to
10834 provide access to the `preserve-modes' argument.
10835 (revert-buffer): Let-bind it.
10836 (revert-buffer--default): New function, extracted from revert-buffer.
10837
10838 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * lpr.el: Signal print errors more prominently.
10841 (print-region-function): Don't default to nil.
10842 (lpr-print-region): New function, extracted from print-region-1.
10843 Check lpr's return value and signal an error in case of problem.
10844 (print-region-1): Use it.
10845 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10846 versions instead.
10847 (ps-printer-name): Default to nil.
10848 (ps-printer-name-option): Default to lpr-printer-switch.
10849 (ps-print-region-function): Don't default to nil.
10850 (ps-postscript-code-directory): Simplify default.
10851 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10852 (ps-string-list, ps-eval-switch, ps-flatten-list)
10853 (ps-flatten-list-1): Remove.
10854 (ps-multibyte-buffer): Avoid setq.
10855 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10856 (print-region-function, ps-print-region-function): Don't set them here.
10857
10858 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10859
10860 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10861 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10862 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10863 (ido-decorations): Doc fix.
10864
10865 * ansi-color.el: Fix old URL.
10866
10867 2013-07-23 Michael R. Mauger <michael@mauger.com>
10868
10869 * progmodes/sql.el: Version 3.3
10870 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10871 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10872 (sql-interactive-remove-continuation-prompt): Rewrite, use
10873 functions above. Fix continuation prompt and complete output line
10874 handling.
10875 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10876 redirected output buffer.
10877 (sql-mode): Restore deleted code (Bug#13591).
10878
10879 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10880
10881 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10882
10883 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10884
10885 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10886
10887 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10889 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10890
10891 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10892
10893 * desktop.el (desktop-clear): Simplify; remove useless checks
10894 against invalid buffer names.
10895 (desktop-list*): Use cl-list*.
10896 (desktop-buffer-info, desktop-create-buffer): Simplify.
10897
10898 2013-07-23 Leo Liu <sdl.web@gmail.com>
10899
10900 * bookmark.el (bookmark-make-record): Restore NAME as a default
10901 value. (Bug#14933)
10902
10903 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10906 extracted from autoload--insert-text.
10907 (autoload--insert-text): Remove.
10908 (autoload--print-cookie-text): New function, extracted from
10909 autoload--insert-cookie-text.
10910 (autoload--insert-cookie-text): Remove.
10911 (autoload-generate-file-autoloads): Adjust calls accordingly.
10912
10913 * winner.el (winner-hook-installed-p): Remove.
10914 (winner-mode): Simplify accordingly.
10915
10916 * subr.el (add-to-list): Fix compiler-macro when `append' is
10917 not constant. Don't use `cl-member' for the base case.
10918
10919 * progmodes/subword.el: Fix boundary case (bug#13758).
10920 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10921 own group.
10922 (subword-backward-regexp): Make it a constant.
10923 (subword-forward-internal): Don't treat a trailing capital as the
10924 beginning of a word.
10925
10926 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10927
10928 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10929 global value of tabulated-list-revert-hook (bug#14930).
10930
10931 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10932
10933 * desktop.el: Require 'cl-lib.
10934 (desktop-before-saving-frames-functions): New hook.
10935 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10936 for frames being saved. Rename from desktop--save-minibuffer-frames.
10937 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10938 Do not save frames with non-nil `desktop-dont-save' parameter.
10939 Filter out deleted frames.
10940 (desktop--find-frame): Use cl-find-if.
10941 (desktop--select-frame): Use cl-(first|second|third) to access values
10942 of desktop-mini.
10943 (desktop--make-frame): Use cl-delete-if.
10944 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10945 (desktop-restore-frames): Use cl-(first|second|third) to access values
10946 of desktop-mini. Look for visible frame at the end, not while
10947 restoring frames.
10948
10949 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10950 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10951 Use string-match-p, looking-at-p (bug#14927).
10952
10953 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10954
10955 * desktop.el (desktop-saved-frame-states):
10956 Rename from desktop--saved-states; all users changed.
10957 (desktop-save-frames): Rename from desktop--save-frames.
10958 Do not save state to desktop file.
10959 (desktop-save): Save desktop-saved-frame-states to desktop file
10960 and reset to nil.
10961 (desktop-restoring-frames-p): New function.
10962 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10963 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10964 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10965
10966 * desktop.el: Correctly restore iconified frames.
10967 (desktop--filter-iconified-position): New function.
10968 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10969
10970 2013-07-20 Glenn Morris <rgm@gnu.org>
10971
10972 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10973 Let `message' do the formatting.
10974 (def-gdb-preempt-display-buffer): Add explicit format.
10975
10976 * image-dired.el (image-dired-track-original-file):
10977 Use with-current-buffer.
10978 (image-dired-track-thumbnail): Use with-current-buffer.
10979 Avoid changing point of wrong window.
10980
10981 * image-dired.el (image-dired-track-original-file):
10982 Avoid changing point of wrong window. (Bug#14909)
10983
10984 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10985
10986 * progmodes/gdb-mi.el (gdb-done-or-error):
10987 Guard against "%" in gdb output. (Bug#14127)
10988
10989 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10992 (Bug#14826)
10993
10994 * international/mule.el (coding-system-iso-2022-flags): Fix last
10995 change.
10996
10997 2013-07-20 Kenichi Handa <handa@gnu.org>
10998
10999 * international/mule.el (coding-system-iso-2022-flags):
11000 Add `8-bit-level-4'. (Bug#8522)
11001
11002 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11003
11004 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11005 (bug#14815).
11006
11007 * net/eww.el (eww-process-text-input): Allow inputting when the
11008 point is at the start of the line, as the properties aren't
11009 front-sticky.
11010
11011 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11012 degenerate widths.
11013
11014 2013-07-19 Richard Stallman <rms@gnu.org>
11015
11016 * epa.el (epa-popup-info-window): Doc fix.
11017
11018 * subr.el (split-string): New arg TRIM.
11019
11020 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11021
11022 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11023 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11024
11025 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11026
11027 * filenotify.el (file-notify--library): Rename from
11028 `file-notify-support'. Do not autoload. Adapt all uses.
11029 (file-notify-supported-p): New defun.
11030
11031 * autorevert.el (auto-revert-use-notify):
11032 Use `file-notify-supported-p' instead of `file-notify-support'.
11033 Adapt docstring.
11034 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11035
11036 * net/tramp.el (tramp-file-name-for-operation):
11037 Add `file-notify-supported-p'.
11038
11039 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11040 New defun.
11041 (tramp-sh-file-name-handler-alist): Add it as handler for
11042 `file-notify-supported-p '.
11043
11044 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11045 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11046 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11047 Add `ignore' as handler for `file-notify-*' functions.
11048
11049 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11050
11051 * simple.el (line-move-partial, line-move): Don't start vscroll or
11052 scroll-up if the current line is not taller than the window.
11053 (Bug#14881)
11054
11055 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11056
11057 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11058 highlight question marks in the method names as strings.
11059 (ruby-block-beg-keywords): Inline.
11060 (ruby-font-lock-keyword-beg-re): Extract from
11061 `ruby-font-lock-keywords'.
11062
11063 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11064
11065 * frame.el (blink-cursor-blinks): New defcustom.
11066 (blink-cursor-blinks-done): New defvar.
11067 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11068 (blink-cursor-timer-function): Check if number of blinks has been
11069 done on X and NS.
11070 (blink-cursor-suspend, blink-cursor-check): New defuns.
11071
11072 2013-07-15 Glenn Morris <rgm@gnu.org>
11073
11074 * edmacro.el (edmacro-format-keys): Fix previous change.
11075
11076 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11077
11078 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11079 The hack didn't work outside English locales anyway.
11080
11081 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * simple.el (define-alternatives): Rename from alternatives-define,
11084 per RMS' suggestion.
11085
11086 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * desktop.el (desktop-restore-frames): Change default to t.
11089 (desktop-restore-in-current-display): Now offer more options.
11090 (desktop-restoring-reuses-frames): New customization option.
11091 (desktop--saved-states): Doc fix.
11092 (desktop-filter-parameters-alist): New variable, renamed and expanded
11093 from desktop--excluded-frame-parameters.
11094 (desktop--target-display): New variable.
11095 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11096 (desktop--filter-tty*, desktop--filter-*-color)
11097 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11098 (desktop--filter-save-desktop-parm)
11099 (desktop-restore-in-original-display-p): New functions.
11100 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11101 (desktop--save-minibuffer-frames): New function, inspired by a similar
11102 function from Martin Rudalics.
11103 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11104 (desktop--restore-in-this-display-p): Remove.
11105 (desktop--find-frame): Rename from desktop--find-frame-in-display
11106 and add predicate argument.
11107 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11108 (desktop--reuse-list): New variable.
11109 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11110 New functions.
11111 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11112
11113 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11114
11115 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11116
11117 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11118
11119 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11120 Highlight conversion methods on Kernel.
11121
11122 2013-07-13 Alan Mackenzie <acm@muc.de>
11123
11124 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11125 and comment it out. This out-commenting enables certain C++
11126 declarations to be parsed correctly.
11127
11128 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11129
11130 * international/mule.el (define-coding-system): Doc fix.
11131
11132 * simple.el (default-font-height): Don't call font-info if the
11133 frame's default font didn't change since the frame was created.
11134 (Bug#14838)
11135
11136 2013-07-13 Leo Liu <sdl.web@gmail.com>
11137
11138 * ido.el (ido-read-file-name): Guard against non-symbol value.
11139
11140 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11141
11142 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11143 in nested defuns.
11144
11145 2013-07-13 Leo Liu <sdl.web@gmail.com>
11146
11147 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11148 ido-set-matches call. (Bug#6852)
11149
11150 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11151
11152 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11153 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11154 Ruby 2.0.
11155 (ruby-font-lock-keywords): Distinguish calls to functions with
11156 module-like names from module references. Highlight character
11157 literals.
11158
11159 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11160
11161 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11162 (gdb-send): Handle continued commands. (Bug#14847)
11163
11164 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * desktop.el (desktop--v2s): Remove unused local variable.
11167 (desktop-save-buffer): Make defvar-local; adjust docstring.
11168 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11169 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11170
11171 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11172
11173 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11174
11175 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11176
11177 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11178 (Bug#14842)
11179
11180 2013-07-12 Glenn Morris <rgm@gnu.org>
11181
11182 * doc-view.el: Require cl-lib at runtime too.
11183 (doc-view-remove-if): Remove.
11184 (doc-view-search-next-match, doc-view-search-previous-match):
11185 Use cl-remove-if.
11186
11187 * edmacro.el: Require cl-lib at runtime too.
11188 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11189 (edmacro-mismatch, edmacro-subseq): Remove.
11190
11191 * shadowfile.el: Require cl-lib.
11192 (shadow-remove-if): Remove.
11193 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11194 Use cl-remove-if.
11195
11196 * wid-edit.el: Require cl-lib.
11197 (widget-choose): Use cl-remove-if.
11198 (widget-remove-if): Remove.
11199
11200 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11201 (ebrowse-delete-if-not): Remove.
11202 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11203 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11204 Use cl-delete-if-not.
11205
11206 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11207
11208 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11209 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11210
11211 2013-07-12 Leo Liu <sdl.web@gmail.com>
11212
11213 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11214
11215 2013-07-11 Glenn Morris <rgm@gnu.org>
11216
11217 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11218 (edebug-gensym-index, edebug-gensym):
11219 Remove reimplementation of cl-gensym.
11220 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11221
11222 * thumbs.el: Require cl-lib at run-time too.
11223 (thumbs-gensym-counter, thumbs-gensym):
11224 Remove reimplementation of cl-gensym.
11225 (thumbs-temp-file): Use cl-gensym.
11226
11227 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11228 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11229 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11230 (ert--union, ert--gensym-counter, ert--gensym-counter)
11231 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11232 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11233 (ert-make-test-unbound, ert--expand-should-1)
11234 (ert--expand-should, ert--should-error-handle-error)
11235 (should-error, ert--explain-equal-rec)
11236 (ert--plist-difference-explanation, ert-select-tests)
11237 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11238 Use cl-lib functions rather than reimplementations.
11239
11240 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11241
11242 * net/tramp.el (tramp-methods): Extend docstring.
11243 (tramp-connection-timeout): New defcustom.
11244 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11245 (with-tramp-progress-reporter): Simplify.
11246 (tramp-process-actions): Improve messages.
11247
11248 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11249 * net/tramp-sh.el (tramp-maybe-open-connection):
11250 Use `tramp-connection-timeout'.
11251 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11252 (Bug#14808)
11253
11254 2013-07-11 Leo Liu <sdl.web@gmail.com>
11255
11256 * ido.el (ido-read-file-name): Conform to the requirements of
11257 read-file-name. (Bug#11861)
11258 (ido-read-directory-name): Conform to the requirements of
11259 read-directory-name.
11260
11261 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11262
11263 * subr.el (delay-warning): New function.
11264
11265 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11266
11267 * simple.el (default-line-height): New function.
11268 (line-move-partial, line-move): Use it instead of computing the
11269 line height inline.
11270 (line-move-partial): Always compute ROWH. If the last line is
11271 partially-visible, but its text is completely visible, allow
11272 cursor to enter such a partially-visible line.
11273
11274 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11275
11276 Improve error messages. (Bug#14808)
11277
11278 * net/tramp.el (tramp-current-connection): New defvar, moved from
11279 tramp-sh.el.
11280 (tramp-message-show-progress-reporter-message): Remove, not
11281 needed anymore.
11282 (tramp-error-with-buffer): Show message in minibuffer.
11283 Discard input before waiting. Reset connection timestamp.
11284 (with-tramp-progress-reporter): Improve messages.
11285 (tramp-process-actions): Use progress reporter. Delete process in
11286 case of error. Improve messages.
11287
11288 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11289 Call `tramp-error-with-buffer' with vector and buffer.
11290 (tramp-current-connection): Remove.
11291 (tramp-maybe-open-connection): The car of
11292 `tramp-current-connection' are the first 3 slots of the vector.
11293
11294 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11295
11296 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11297 inside continued strings.
11298
11299 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11300
11301 Timestamp fixes for undo (Bug#14824).
11302 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11303
11304 2013-07-10 Leo Liu <sdl.web@gmail.com>
11305
11306 * files.el (require-final-newline): Allow safe local value.
11307 (Bug#14834)
11308
11309 2013-07-09 Leo Liu <sdl.web@gmail.com>
11310
11311 * ido.el (ido-read-directory-name): Handle fallback.
11312 (ido-read-file-name): Update DIR to ido-current-directory.
11313 (Bug#1516)
11314 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11315
11316 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11317
11318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11319 "autoload". Remove "warn lower camel case" section, previously
11320 commented out. Highlight negation char. Do not highlight the
11321 target in singleton method definitions.
11322
11323 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * faces.el (tty-setup-hook): Declare the hook.
11326
11327 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11328 and detect when a guard/pred depends on local vars (bug#14773).
11329 (pcase--u1): Adjust caller.
11330
11331 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11332
11333 * simple.el (line-move-partial, line-move): Account for
11334 line-spacing.
11335 (line-move-partial): Avoid setting vscroll when the last
11336 partially-visible line in window is of default height.
11337
11338 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11339
11340 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11341 been used a while.
11342
11343 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11344
11345 * subr.el (read-quoted-char): Remove unused local variable `char'.
11346
11347 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11348
11349 * ediff.el (ediff-version): Version update.
11350 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11351 (ediff-merge-with-ancestor-command, ediff-directories-command)
11352 (ediff-directories3-command, ediff-merge-directories-command)
11353 (ediff-merge-directories-with-ancestor-command): New functions.
11354 All are command-line interfaces to ediff: to facilitate calling
11355 Emacs with the appropriate ediff functions invoked.
11356
11357 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11358 (viper-save-kill-buffer): Check if buffer is modified.
11359
11360 * viper.el (viper-version): Version update.
11361 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11362
11363 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11366 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11367 (viper-intercept-ESC-key): Simplify.
11368 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11369 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11370 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11371 (viper-setup-ESC-to-escape): New functions.
11372 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11373 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11374
11375 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11376
11377 * simple.el (default-font-height, window-screen-lines):
11378 New functions.
11379 (line-move, line-move-partial): Use them instead of
11380 frame-char-height and window-text-height. This makes scrolling
11381 text smoother when the buffer's default face uses a font that is
11382 different from the frame's default font.
11383
11384 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11385
11386 * files.el (write-file): Do not display confirm dialog for NS,
11387 it does its own dialog, which can't be canceled (Bug#14578).
11388
11389 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11390
11391 * simple.el (line-move-partial): Adjust the row returned by
11392 posn-at-point for the current window-vscroll. (Bug#14567)
11393
11394 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11395
11396 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11397 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11398 spaces.
11399
11400 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11401
11402 * window.el (window-state-put-stale-windows): New variable.
11403 (window--state-put-2): Save list of windows without matching buffer.
11404 (window-state-put): Remove "bufferless" windows if possible.
11405
11406 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * simple.el (alternatives-define): Remove leftover :group keyword.
11409 Tweak docstring.
11410
11411 2013-07-06 Leo Liu <sdl.web@gmail.com>
11412
11413 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11414 (ido-enable-virtual-buffers): New variable.
11415 (ido-buffer-internal, ido-toggle-virtual-buffers)
11416 (ido-make-buffer-list): Use it.
11417 (ido-exhibit): Support turning on and off virtual buffers
11418 automatically.
11419
11420 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11421
11422 * simple.el (alternatives-define): New macro.
11423
11424 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * subr.el (read-quoted-char): Use read-key.
11427 (sit-for): Let read-event decode tty input (bug#14782).
11428
11429 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11430
11431 * calendar/todo-mode.el: Add handling of file deletion, both by
11432 mode command and externally. Fix various related bugs.
11433 Clarify Commentary and improve some documentation strings and code.
11434 (todo-delete-file): New command.
11435 (todo-check-file): New function.
11436 (todo-show): Handle external deletion of the file we're trying to
11437 show (bug#14688). Replace called-interactively-p by an optional
11438 prefix argument to avoid problematic interaction with catch form
11439 when byte compiled (bug#14702).
11440 (todo-quit): Handle external deletion of the archive's todo file.
11441 Make sure the buffer that was visiting the archive file is still
11442 live before trying to bury it.
11443 (todo-category-completions): Handle external deletion of any
11444 category completion files.
11445 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11446 of todo files, in case of external deletion.
11447 (todo-add-file): Replace unnecessary setq by let-binding.
11448 (todo-find-archive): Check whether there are any archives.
11449 Replace unnecessary setq by let-binding.
11450 (todo-archive-done-item): Use find-file-noselect to get the
11451 archive buffer whether or not the archive already exists.
11452 Remove superfluous code. Use file size instead of buffer-file-name to
11453 check if the archive is new; if it is, update list of archives.
11454 (todo-default-todo-file): Allow nil to be a valid value for when
11455 there are no todo files.
11456 (todo-reevaluate-default-file-defcustom): Use corrected definition
11457 of todo-default-todo-file.
11458 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11459 (todo-delete-category, todo-show-categories-table)
11460 (todo-category-number): Clarify comment.
11461 (todo-filter-items): Clarify documentation string.
11462 (todo-show-current-file, todo-display-as-todo-file)
11463 (todo-reset-and-enable-done-separator): Tweak documentation string.
11464 (todo-done-separator): Make separator length window-width, since
11465 bug#2749 is now fixed.
11466
11467 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11468
11469 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11470 Support both "gvfs-monitor-dir" and "inotifywait".
11471 (tramp-sh-file-inotifywait-process-filter): Rename from
11472 `tramp-sh-file-notify-process-filter'.
11473 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11474 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11475
11476 2013-07-05 Leo Liu <sdl.web@gmail.com>
11477
11478 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11479
11480 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11481
11482 * frame.el (display-pixel-height, display-pixel-width)
11483 (display-mm-height, display-mm-width): Mention behavior on
11484 multi-monitor setups in docstrings.
11485 (w32-display-monitor-attributes-list): Declare function.
11486 (display-monitor-attributes-list): Use it.
11487
11488 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11489
11490 * filenotify.el: New package.
11491
11492 * autorevert.el (top): Require filenotify.el.
11493 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11494 instead.
11495 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11496 (auto-revert-notify-handler): Use `file-notify-*' functions.
11497
11498 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11499
11500 * net/tramp.el (tramp-file-name-for-operation):
11501 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11502
11503 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11504 for `file-notify-add-watch' and `file-notify-rm-watch'.
11505 (tramp-process-sentinel): Improve trace.
11506 (tramp-sh-handle-file-notify-add-watch)
11507 (tramp-sh-file-notify-process-filter)
11508 (tramp-sh-handle-file-notify-rm-watch)
11509 (tramp-get-remote-inotifywait): New defuns.
11510
11511 2013-07-03 Juri Linkov <juri@jurta.org>
11512
11513 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11514 call of `occur-read-primary-args' to interactive spec.
11515
11516 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11517 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11518
11519 2013-07-03 Matthias Meulien <orontee@gmail.com>
11520
11521 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11522 `Buffer-menu-multi-occur'. Add it to the menu.
11523 (Buffer-menu-mode): Document it in docstring.
11524 (Buffer-menu-multi-occur): New command. (Bug#14673)
11525
11526 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11527
11528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11529 keywords and built-ins.
11530
11531 2013-07-03 Glenn Morris <rgm@gnu.org>
11532
11533 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11534
11535 Make info-xref checks case-sensitive by default
11536 * info.el (Info-find-node, Info-find-in-tag-table)
11537 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11538 Add option for exact case matching of nodes.
11539 * info-xref.el (info-xref): New custom group.
11540 (info-xref-case-fold): New option.
11541 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11542
11543 2013-07-03 Leo Liu <sdl.web@gmail.com>
11544
11545 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11546
11547 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11548
11549 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11550 middle of block statement initially, lower the depth. Remove
11551 FIXME comment, not longer valid. Remove middle of block statement
11552 detection, no need to do that anymore since we've been using
11553 `ruby-parse-region' here.
11554
11555 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11556
11557 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11558
11559 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11560
11561 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11562
11563 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11564
11565 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11566 (desktop-restore-in-current-display): New customization option.
11567 (desktop--excluded-frame-parameters): Add `font'.
11568 (desktop--save-frames): Rename from desktop--save-windows.
11569 (desktop--restore-in-this-display-p): New function.
11570 (desktop--make-full-frame): Remove unwanted width/height from
11571 full(width|height) frames.
11572 (desktop--restore-frames): Rename from desktop--restore-windows.
11573 Obey desktop-restore-current-display. Do not delete old frames or
11574 select a new frame unless we were able to restore at least one frame.
11575
11576 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11577
11578 * files.el (find-file-noselect): Simplify conditional expression.
11579
11580 * textmodes/remember.el (remember-append-to-file):
11581 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11582
11583 Add `remember-notes' function to store random notes across Emacs
11584 restarts.
11585 * textmodes/remember.el (remember-data-file): Add :set callback to
11586 affect notes buffer (if any).
11587 (remember-notes): New command.
11588 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11589 New defcustoms for the `remember-notes' function.
11590 (remember-notes-save-and-bury-buffer): New command.
11591 (remember-notes-mode-map): New variable.
11592 (remember-mode): New minor mode.
11593 (remember-notes--kill-buffer-query): New function.
11594 * startup.el (initial-buffer-choice): Add notes to custom type.
11595
11596 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11597
11598 * bindings.el (right-char, left-char): Don't call sit-for, this is
11599 no longer needed. Use arithmetic comparison only for numerical
11600 arguments.
11601
11602 * international/mule-cmds.el (select-safe-coding-system):
11603 Handle the case of FROM being a string correctly. (Bug#14755)
11604
11605 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11606
11607 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11608 progression on degenerate tables.
11609 (shr-rescale-image): ImageMagick animated images currently don't work.
11610
11611 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11612
11613 Some fixes and improvements for desktop frame restoration.
11614 It is still experimental and disabled by default.
11615 * desktop.el (desktop--save-windows): Put the selected frame at
11616 the head of the list.
11617 (desktop--make-full-frame): New function.
11618 (desktop--restore-windows): Try to re-select the frame that was
11619 selected upon saving. Do not abort if some frames fail to restore,
11620 just show an error message and continue. Set up maximized frames
11621 so they have default non-maximized dimensions.
11622
11623 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11624
11625 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11626 Don't start heredoc inside a string or comment.
11627
11628 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11629
11630 * bindings.el (visual-order-cursor-movement): New defcustom.
11631 (right-char, left-char): Provide visual-order cursor motion by
11632 calling move-point-visually. Update the doc strings.
11633
11634 2013-06-28 Kenichi Handa <handa@gnu.org>
11635
11636 * international/mule.el (define-coding-system): New coding system
11637 properties :inhibit-null-byte-detection,
11638 :inhibit-iso-escape-detection, and :prefer-utf-8.
11639 (set-buffer-file-coding-system): If :charset-list property of
11640 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11641 appropriate for setting.
11642
11643 * international/mule-cmds.el (select-safe-coding-system):
11644 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11645 multibyte characters, return utf-8 (or one of its siblings).
11646
11647 * international/mule-conf.el (prefer-utf-8): New coding system.
11648 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11649 files.
11650
11651 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11652
11653 * net/shr.el (shr-render-region): New function.
11654
11655 * net/eww.el: Autoload `eww-browse-url'.
11656
11657 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11658
11659 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11660 Adapt to `package-desc-version' being a list.
11661 Use `package--ac-desc-version' to retrieve version from a package
11662 archive element.
11663
11664 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11665
11666 New experimental feature to save&restore window and frame setup.
11667 * desktop.el (desktop-save-windows): New defcustom.
11668 (desktop--saved-states): New var.
11669 (desktop--excluded-frame-parameters): New defconst.
11670 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11671 (desktop--restore-windows, desktop--save-windows): New functions.
11672 (desktop-save): Call `desktop--save-windows'.
11673 (desktop-read): Call `desktop--restore-windows'.
11674
11675 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11676
11677 * net/shr.el (add-face-text-property): Remove compat definition.
11678
11679 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11680
11681 * info.el (Info-try-follow-nearest-node): Move search for footnote
11682 above search for node name to prevent missing a footnote (bug#14717).
11683
11684 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11685
11686 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11687
11688 2013-06-27 Leo Liu <sdl.web@gmail.com>
11689
11690 * net/eww.el (eww-read-bookmarks): Check file size.
11691
11692 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11695 advice--pending if newdef is nil or an autoload (bug#13820).
11696 (advice-mapc): New function.
11697
11698 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11699
11700 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11701 probably.
11702 (eww-mode-map): Add a menu bar.
11703 (eww-add-bookmark): New command.
11704 (eww-bookmark-mode): New mode and commands.
11705 (eww-add-bookmark): Remove newlines from the title.
11706 (eww-bookmark-browse): Don't bug out if it's the only window.
11707
11708 2013-06-26 Glenn Morris <rgm@gnu.org>
11709
11710 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11711 (hfy-size): Handle ttys. (Bug#14668)
11712
11713 * info-xref.el: Update for Texinfo 5 change in *note format.
11714 (info-xref-node-re, info-xref-note-re): New constants.
11715 (info-xref-check-buffer): Use info-xref-note-re.
11716
11717 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11720
11721 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11722 nil terminate the loop (bug#14718).
11723
11724 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11725
11726 * net/eww.el: Rework history traversal. When going forward/back,
11727 put these actions into the history, too, so that they can be
11728 replayed.
11729 (eww-render): Move the history reset to the correct buffer.
11730
11731 2013-06-25 Juri Linkov <juri@jurta.org>
11732
11733 * files-x.el (modify-dir-local-variable): Change the header comment
11734 in the file with directory local variables. (Bug#14692)
11735
11736 * files-x.el (read-file-local-variable-value): Add `default'.
11737 (Bug#14710)
11738
11739 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11740
11741 * net/eww.el (eww-make-unique-file-name): Create a unique file
11742 name before saving to entering `y' accidentally asynchronously.
11743
11744 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11745
11746 * net/eww.el (eww-download): New command and keystroke.
11747
11748 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11749
11750 * net/eww.el (eww-copy-page-url): Change name of command.
11751
11752 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11753 be more consistent with Info and dired.
11754
11755 * net/eww.el (eww-mode-map): Ditto.
11756
11757 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11760 packages from archives.
11761 (package-archive-contents): Change format; include obsolete packages.
11762 (package-desc): Use `dir' to mark builtin packages.
11763 (package--from-builtin): Set the `dir' field to `builtin'.
11764 (generated-autoload-file, version-control): Declare.
11765 (package-compute-transaction): Change first arg and return value to be
11766 lists of package-descs. Adjust to new package-archive-contents format.
11767 (package--add-to-archive-contents): Adjust to new
11768 package-archive-contents format.
11769 (package-download-transaction): Arg is now a list of package-descs.
11770 (package-install): If `pkg' is a package name, pass it as
11771 a requirement, so it is subject to the usual (e.g. disabled) checks.
11772 (describe-package): Accept package-desc as well.
11773 (describe-package-1): Describe a specific package-desc. Add links to
11774 other package-descs for the same package name.
11775 (package-menu-describe-package): Pass the actual package-desc.
11776 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11777 works correctly.
11778 (package-desc-status): New function.
11779 (package-menu--refresh): New function, extracted
11780 from package-menu--generate.
11781 (package-menu--generate): Use it.
11782 (package-delete): Update package-alist.
11783 (package-menu-execute): Don't call package-initialize.
11784
11785 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11786 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11787 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11788 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11789 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11790 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11791
11792 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11793
11794 * window.el (window--state-get-1): Workaround for bug#14527.
11795 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11796
11797 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11798
11799 * net/eww.el (eww-back-url): Implement the history by stashing all
11800 the data into a list.
11801 (eww-forward-url): Allow going forward in the history, too.
11802
11803 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11806 for values and use read--expression for expressions (bug#14710).
11807 (read-file-local-variable): Avoid setq.
11808 (read-file-local-variable-mode): Use minor-mode-list.
11809
11810 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11811
11812 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11813 for DOI URLs.
11814
11815 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11816
11817 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11818 Update imenu-support when dialect changes.
11819
11820 2013-06-25 Leo Liu <sdl.web@gmail.com>
11821
11822 * ido.el (ido-read-internal): Allow forward slash on windows.
11823
11824 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * net/eww.el (eww): Start of strings is \\`, not ^.
11827
11828 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11829
11830 * net/shr.el (shr-browse-url): Fix interactive spec.
11831
11832 * net/eww.el (eww): Add a trailing slash to domain names.
11833
11834 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11835
11836 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11837
11838 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11839
11840 * net/shr.el (shr-browse-url): Use an external browser if given a
11841 prefix.
11842
11843 * net/eww.el (eww-external-browser): Move to shr.
11844
11845 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11846
11847 * net/eww.el (eww): Work more correctly for file: URLs.
11848 (eww-detect-charset): Allow quoted charsets.
11849 (eww-yank-page-url): New command and keystroke.
11850
11851 2013-06-24 Daiki Ueno <ueno@gnu.org>
11852
11853 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11854 file name of gpg executable.
11855 (epg-context-program): New function.
11856 (epg-context-home-directory): New function.
11857 (epg-context-set-program): New function.
11858 (epg-context-set-home-directory): New function.
11859 (epg--start): Use `epg-context-program' instead of
11860 'epg-gpg-program'.
11861 (epg--list-keys-1): Likewise.
11862
11863 2013-06-24 Leo Liu <sdl.web@gmail.com>
11864
11865 * ido.el (ido-read-internal): Fix bug#14620.
11866
11867 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11868
11869 * faces.el (face-documentation): Simplify.
11870 (read-face-attribute, tty-find-type, x-resolve-font-name):
11871 Use `string-match-p'.
11872 (list-faces-display): Use `string-match-p'. Simplify.
11873 (face-spec-recalc): Check face to avoid face alias loops.
11874 (read-color): Use `string-match-p' and non-capturing parenthesis.
11875
11876 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11877
11878 * net/shr.el (shr-rescale-image): Use the new
11879 :max-width/:max-height functionality.
11880
11881 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11882
11883 * net/eww.el (eww-search-prefix): New variable.
11884 (eww): Use it.
11885 (eww-external-browser): New variable.
11886 (eww-mode-map): New keystroke.
11887 (eww-browse-with-external-browser): New command.
11888
11889 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11890
11891 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11892
11893 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11894 Don't skip aligning the next header field when padding is 0;
11895 otherwise, field width is not respected unless the title is as
11896 wide as the field.
11897
11898 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * emacs-lisp/package.el (package-el-version): Remove.
11901 (package-process-define-package): Fix inf-loop.
11902 (package-install): Allow symbols as arguments again.
11903
11904 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11905
11906 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11907 add some more keyword-like methods.
11908 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11909
11910 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11911
11912 * bs.el (bs-buffer-show-mark): Make defvar-local.
11913 (bs-mode): Use setq-local.
11914
11915 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11916 (emacs-lock--try-unlocking): Make defvar-local.
11917
11918 2013-06-22 Glenn Morris <rgm@gnu.org>
11919
11920 * play/cookie1.el (cookie-apropos): Minor simplification.
11921
11922 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11923
11924 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11925
11926 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11927 `regexp-opt', it breaks the build during dumping.
11928
11929 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11930
11931 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11932 Highlight keyword-like methods on Kernel and Module with
11933 font-lock-builtin-face.
11934 (auto-mode-alist): Consolidate different entries into one regexp
11935 and add more *file-s.
11936
11937 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11938
11939 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11940
11941 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11942 (diary-entry): Use it in the action of this button type instead of
11943 diary-goto-entry.
11944
11945 * calendar/todo-mode.el: New version.
11946 (todo-add-category): Append new category to end of file and give
11947 it the highest number, instead of putting it at the beginning and
11948 giving it 0. Incorporate noninteractive functionality.
11949 (todo-forward-category): Adapt to 1-based category numbering.
11950 Allow skipping over archived categories.
11951 (todo-backward-category): Derive from todo-forward-category.
11952 (todo-backward-item, todo-forward-item): Make noninteractive and
11953 delegate interactive part to new commands. Make sensitive to done items.
11954 (todo-categories): Make value an alist of category names and
11955 vectors of item counts.
11956 (todo-category-beg): Make a defconst.
11957 (todo-category-number): Use 1 instead of 0 as initial value.
11958 (todo-category-select): Make sensitive to overlays, optional item
11959 highlighting and done items.
11960 (todo-delete-item): Make sensitive to overlays and marked and done items.
11961 (todo-edit-item): Make sensitive to overlays and editing of
11962 date/time header optional. Add format checks.
11963 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11964 no-op if point is not on an item. Advertise using todo-edit-quit.
11965 (todo-edit-mode): Make sensitive to new format, font-locking, and
11966 multiple todo files.
11967 (todo-insert-item, todo-insert-item-here): Derive from
11968 todo-basic-insert-item and extend functionality.
11969 (todo-item-end, todo-item-start): Make sensitive to done items.
11970 (todo-item-string): Don't return text properties. Restore point.
11971 (todo-jump-to-category): Make sensitive to multiple todo files and
11972 todo archives. Use extended category completion.
11973 (todo-lower-item, todo-raise-item): Rename to *-priority and
11974 derive from todo-set-item-priority.
11975 (todo-mode): Derive from special-mode. Make sensitive to new
11976 format, font-locking and multiple todo files. Make read-only.
11977 (todo-mode-map): Don't suppress digit keys, so they can supply
11978 prefix arguments. Add many new key bindings.
11979 (todo-prefix): Insert as an overlay instead of file text.
11980 Change semantics from diary date expression to purely visual mark.
11981 (todo-print): Rename to todo-print-buffer. Make buffer display
11982 features printable. Remove option to restrict number of items
11983 printed. Add option to print to file.
11984 (todo-print-function): Rename to todo-print-buffer-function.
11985 (todo-quit): Extend to handle exiting new todo modes.
11986 (todo-remove-item): Make sensitive to overlays.
11987 (todo-save): Extend to buffers of filtered items.
11988 (todo-show): Make sensitive to done items, multiple todo files and
11989 new todo modes. Offer to convert legacy todo file before creating
11990 first new todo file.
11991 (todo-show-priorities): Rename to todo-top-priorities.
11992 Change semantics of value 0.
11993 (todo-top-priorities): Rename to todo-filter-top-priorities,
11994 derive from todo-filter-items and extend functionality.
11995 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11996 and extend functionality to other types of filtered items.
11997 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11998 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11999 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12000 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12001 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12002 (todo-edit-mode-hook, todo-entry-prefix-function)
12003 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12004 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12005 (todo-initials, todo-insert-threshold, todo-item-string-start)
12006 (todo-line-string, todo-menu, todo-mode-hook)
12007 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12008 (todo-print-priorities, todo-remove-separator)
12009 (todo-save-top-priorities-too, todo-string-count-lines)
12010 (todo-string-multiline-p, todo-time-string-format)
12011 (todo-tmp-buffer-name): Remove.
12012 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12013 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12014 (todo-edit-category-diary-inclusion)
12015 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12016 (todo-edit-file, todo-edit-item-date-day)
12017 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12018 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12019 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12020 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12021 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12022 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12023 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12024 (todo-filter-top-priorities-multifile, todo-find-archive)
12025 (todo-find-filtered-items-file, todo-go-to-source-item)
12026 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12027 (todo-jump-to-archive-category, todo-lower-category)
12028 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12029 (todo-move-category, todo-move-item, todo-next-button)
12030 (todo-next-item, todo-padded-string, todo-powerset)
12031 (todo-previous-button, todo-previous-item)
12032 (todo-print-buffer-to-file, todo-raise-category)
12033 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12034 (todo-set-category-number, todo-set-item-priority)
12035 (todo-set-top-priorities-in-category)
12036 (todo-set-top-priorities-in-file, todo-show-categories-table)
12037 (todo-sort-categories-alphabetically-or-numerically)
12038 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12039 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12040 (todo-toggle-item-header, todo-toggle-item-highlighting)
12041 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12042 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12043 (todo-unarchive-items, todo-unmark-category): New commands.
12044 (todo-absolute-file-name, todo-add-to-buffer-list)
12045 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12046 (todo-basic-insert-item, todo-category-completions)
12047 (todo-category-number, todo-category-string-matcher-1)
12048 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12049 (todo-check-format, todo-clear-matches)
12050 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12051 (todo-current-category, todo-date-string-matcher)
12052 (todo-define-insertion-command, todo-diary-expired-matcher)
12053 (todo-diary-goto-entry, todo-diary-item-p)
12054 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12055 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12056 (todo-done-item-section-p, todo-done-separator)
12057 (todo-done-string-matcher, todo-files, todo-filter-items)
12058 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12059 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12060 (todo-insert-category-line, todo-insert-item-from-calendar)
12061 (todo-insert-sort-button, todo-insert-with-overlays)
12062 (todo-insertion-command-name, todo-insertion-key-bindings)
12063 (todo-label-to-key, todo-longest-category-name-length)
12064 (todo-make-categories-list, todo-mode-external-set)
12065 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12066 (todo-modes-set-3, todo-multiple-filter-files)
12067 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12068 (todo-read-category, todo-read-date, todo-read-dayname)
12069 (todo-read-file-name, todo-read-time)
12070 (todo-reevaluate-category-completions-files-defcustom)
12071 (todo-reevaluate-default-file-defcustom)
12072 (todo-reevaluate-filelist-defcustoms)
12073 (todo-reevaluate-filter-files-defcustom)
12074 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12075 (todo-reset-done-separator, todo-reset-done-separator-string)
12076 (todo-reset-done-string, todo-reset-global-current-todo-file)
12077 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12078 (todo-reset-prefix, todo-set-categories)
12079 (todo-set-date-from-calendar, todo-set-show-current-file)
12080 (todo-set-top-priorities, todo-short-file-name)
12081 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12082 (todo-total-item-counts, todo-update-buffer-list)
12083 (todo-update-categories-display, todo-update-categories-sexp)
12084 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12085 New functions.
12086 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12087 New major modes.
12088 (todo-categories, todo-display, todo-edit, todo-faces)
12089 (todo-filtered): New defgroups.
12090 (todo-archived-only, todo-button, todo-category-string, todo-date)
12091 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12092 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12093 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12094 (todo-add-item-if-new-category, todo-always-add-time-string)
12095 (todo-categories-align, todo-categories-archived-label)
12096 (todo-categories-category-label, todo-categories-diary-label)
12097 (todo-categories-done-label, todo-categories-number-separator)
12098 (todo-categories-todo-label, todo-categories-totals-label)
12099 (todo-category-completions-files, todo-completion-ignore-case)
12100 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12101 (todo-done-separator-string, todo-done-string)
12102 (todo-files-function, todo-filter-done-items, todo-filter-files)
12103 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12104 (todo-initial-category, todo-initial-file, todo-item-mark)
12105 (todo-legacy-date-time-regexp, todo-mode-line-function)
12106 (todo-nondiary-marker, todo-number-prefix)
12107 (todo-print-buffer-function, todo-show-current-file)
12108 (todo-show-done-only, todo-show-first, todo-show-with-done)
12109 (todo-skip-archived-categories, todo-top-priorities-overrides)
12110 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12111 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12112 New defcustoms.
12113 (todo-category-done, todo-date-pattern, todo-date-string-start)
12114 (todo-diary-items-buffer, todo-done-string-start)
12115 (todo-filtered-items-buffer, todo-item-start)
12116 (todo-month-abbrev-array, todo-month-name-array)
12117 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12118 (todo-top-priorities-buffer): New defconsts.
12119 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12120 (todo-categories-with-marks, todo-category-string-face)
12121 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12122 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12123 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12124 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12125 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12126 (todo-font-lock-keywords, todo-global-current-todo-file)
12127 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12128 (todo-insertion-commands-args)
12129 (todo-insertion-commands-args-genlist)
12130 (todo-insertion-commands-names, todo-insertion-map)
12131 (todo-key-bindings-t, todo-key-bindings-t+a)
12132 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12133 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12134 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12135 (todo-visited): New variables.
12136
12137 2013-06-21 Glenn Morris <rgm@gnu.org>
12138
12139 * play/cookie1.el (cookie-apropos): Add optional display argument.
12140 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12141 (psychoanalyze-pinhead): Use cookie-doctor.
12142
12143 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12144
12145 * emacs-lisp/package.el (tar-get-file-descriptor)
12146 (tar--extract): Declare.
12147
12148 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12149
12150 Extend flymake's warning predicate to be a function (bug#14217).
12151 * progmodes/flymake.el (flymake-warning-predicate): New.
12152 (flymake-parse-line): Use it.
12153 (flymake-warning-re): Make obsolete alias to
12154 `flymake-warning-predicate'.
12155
12156 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12159 (package-obsolete-list): Remove.
12160 (package-activate): Remove min-version argument. Add `force' argument.
12161 Adjust to new package-alist format.
12162 (package-mark-obsolete): Remove.
12163 (package-unpack): Force reload of the package's autoloads.
12164 (package-installed-p): Check builtins if the installed package is not
12165 recent enough.
12166 (package-initialize): Don't reset package-obsolete-list.
12167 Don't specify which package version to activate.
12168 (package-process-define-package, describe-package-1)
12169 (package-menu--generate): Adjust to new package-alist format.
12170
12171 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12172
12173 * allout-widgets.el (allout-widgets-mode-off)
12174 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12175 (allout-widgets-post-command-business)
12176 (allout-widgets-after-copy-or-kill-function)
12177 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12178 (allout-decorate-item-and-context)
12179 (allout-graphics-modification-handler): Fix typos in docstrings.
12180 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12181
12182 * cmuscheme.el (scheme-start-file): Doc fix.
12183 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12184 (scheme-input-filter): Use `string-match-p'.
12185
12186 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12187
12188 * dired-x.el: Use Dired consistently in docstrings.
12189
12190 * dired.el: Use Dired consistently in docstrings.
12191 (dired-readin, dired-mode): Use `setq-local'.
12192 (dired-switches-alist): Make defvar-local.
12193 (dired-buffers-for-dir): Use `zerop'.
12194 (dired-safe-switches-p, dired-switches-escape-p)
12195 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12196 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12197 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12198 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12199 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12200 (dired-toggle-marks, dired-mark-files-containing-regexp)
12201 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12202 (dired-flag-auto-save-files, dired-flag-backup-files):
12203 Use `looking-at-p'.
12204 (dired-mark-files-regexp, dired-build-subdir-alist):
12205 Use `string-match-p', `looking-at-p'.
12206
12207 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12208 (direct-print-region-helper): Use `string-match-p'.
12209
12210 2013-06-21 Leo Liu <sdl.web@gmail.com>
12211
12212 * comint.el (comint-redirect-results-list-from-process):
12213 Fix infinite loop.
12214
12215 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12216
12217 * net/eww.el (eww-update-header-line-format): Quote % characters.
12218
12219 2013-06-21 Glenn Morris <rgm@gnu.org>
12220
12221 * play/cookie1.el (cookie): New custom group.
12222 (cookie-file): New option.
12223 (cookie-check-file): New function.
12224 (cookie): Make it interactive. Make start and end messages optional.
12225 Interactively, display the result. Default to cookie-file.
12226 (cookie-insert): Default to cookie-file.
12227 (cookie-snarf): Make start and end messages optional.
12228 Default to cookie-file. Use with-temp-buffer.
12229 (cookie-read): Rename from read-cookie.
12230 Make start and end messages optional. Default to cookie-file.
12231 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12232 Do not autoload it.
12233 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12234 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12235
12236 2013-06-21 Leo Liu <sdl.web@gmail.com>
12237
12238 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12239
12240 2013-06-21 Glenn Morris <rgm@gnu.org>
12241
12242 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12243
12244 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12245 Daniel Hackney <dan@haxney.org>
12246
12247 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12248 Consolidate the single-file vs tarball code.
12249 (package-desc-suffix): New function.
12250 (package-desc-full-name): Don't bother inlining it.
12251 (package-load-descriptor): Return the new package-desc.
12252 (package-mark-obsolete): Remove unused arg `package'.
12253 (package-unpack): Make it work for single files as well.
12254 Make it update package-alist.
12255 (package--make-autoloads-and-stuff): Rename from
12256 package--make-autoloads-and-compile. Don't compile any more.
12257 (package--compile): New function.
12258 (package-generate-description-file): New function, extracted from
12259 package-unpack-single.
12260 (package-unpack-single): Remove.
12261 (package--with-work-buffer): Add indentation and debugging info.
12262 (package-download-single): Remove.
12263 (package-install-from-archive): Rename from package-download-tar, make
12264 it take a pkg-desc, and make it work for single files as well.
12265 (package-download-transaction): Simplify.
12266 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12267 external tar program.
12268 (package-install-from-buffer): Remove `pkg-desc' argument.
12269 Use package-tar-file-info for tar-mode buffers.
12270 (package-install-file): Simplify accordingly.
12271 (package-archive-base): Change to take a pkg-desc.
12272 * tar-mode.el (tar--check-descriptor): New function, extracted from
12273 tar-get-descriptor.
12274 (tar-get-descriptor): Use it.
12275 (tar-get-file-descriptor): New function.
12276 (tar--extract): New function, extracted from tar-extract.
12277 (tar--extract): Use it.
12278 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12279 case the summary uses non-ascii. Adjust to new calling convention of
12280 package-tar-file-info.
12281
12282 2013-06-21 Leo Liu <sdl.web@gmail.com>
12283
12284 * comint.el (comint-redirect-results-list-from-process):
12285 Fix random delay. (Bug#14681)
12286
12287 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12288
12289 * profiler.el (profiler-format-number): Use log, not log10.
12290
12291 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12292
12293 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12294
12295 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12298 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12299 yet available.
12300 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12301 (AUTOGENEL): ... here.
12302 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12303 (cl--defsubst-expand): Use it.
12304
12305 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12306
12307 * subr.el (log10): Move here from C code, and declare as obsolete.
12308 All uses of (log10 X) replaced with (log X 10).
12309
12310 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12311
12312 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12313 Declare with `defvar-local'.
12314 (tabulated-list-use-header-line, tabulated-list-entries)
12315 (tabulated-list-padding, tabulated-list-printer)
12316 (tabulated-list-sort-key): Declare with `defvar-local'.
12317 (tabulated-list-init-header, tabulated-list-print-fake-header):
12318 Use `setq-local'.
12319
12320 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12321
12322 * arc-mode.el (archive-mode): Add `archive-write-file' to
12323 `write-contents-functions' also for remote files. (Bug#14652)
12324
12325 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12326
12327 * cus-edit.el (custom-commands): Fix typos.
12328 (custom-display): Fix tooltip text.
12329 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12330 Fix typos in docstrings.
12331 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12332 (custom-unlispify-menu-entry, custom-magic-value-create)
12333 (custom-add-see-also, custom-group-value-create): Use ?\s.
12334 (custom-guess-type, customize-apropos, editable-field)
12335 (custom-face-value-create): Use `string-match-p'.
12336 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12337
12338 * custom.el (custom-load-symbol): Use `string-match-p'.
12339
12340 * ansi-color.el: Convert to lexical binding.
12341 (ansi-colors): Fix URL.
12342 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12343 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12344 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12345
12346 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12347
12348 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12349
12350 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12351
12352 2013-06-19 Tom Tromey <tromey@redhat.com>
12353
12354 * net/eww.el (eww-top-url): Remove.
12355 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12356 (eww-render): Set new variables. Don't set eww-top-url.
12357 (eww-handle-link): Handle "prev", "home", and "contents".
12358 Downcase the rel text.
12359 (eww-top-url): Choose best top URL.
12360
12361 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12362
12363 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12364 relying in widget.el. Using widget.el leads to too many
12365 user interface inconsistencies.
12366 (eww-self-insert): Implement entering commands in text fields.
12367 (eww-process-text-input): New function to make text input field editing
12368 work.
12369 (eww-submit): Rewrite to use the new-style form methods.
12370 (eww-select-display): Display the correct selected item.
12371 (eww-change-select): Implement changing the select value.
12372 (eww-toggle-checkbox): Implement radio/checkboxes.
12373 (eww-update-field): Fix compilation error.
12374 (eww-tag-textarea): Implement <textarea>.
12375
12376 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12377 we don't shadow mode-specific bindings.
12378
12379 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12380 nothing to push.
12381
12382 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12383
12384 2013-06-19 Glenn Morris <rgm@gnu.org>
12385
12386 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12387
12388 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12389
12390 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12391 not needed.
12392
12393 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12394
12395 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12396
12397 * net/browse-url.el (browse-url-browser-function):
12398 `eww-browse-url' has the right calling signature, `eww' does not.
12399
12400 2013-06-19 Glenn Morris <rgm@gnu.org>
12401
12402 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12403 Only eval autoloaded macros.
12404 (byte-compile-autoload): Only give the macro warning for macros.
12405
12406 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12407 (ps-underlined-faces): Declare.
12408
12409 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12410 (speedbar-add-supported-extension): Declare.
12411
12412 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12413 Don't include a date stamp in the header of the generated file;
12414 it leads to needless differences between output files.
12415
12416 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12417
12418 * net/secrets.el (secrets-struct-secret-content-type):
12419 Replace check of introspection data by a test call of "CreateItem".
12420 Some servers do not offer introspection.
12421
12422 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12423
12424 * electric.el (electric-pair-mode): Improve interaction with
12425 electric-layout-mode.
12426 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12427 (electric-pair-syntax): Use text-mode-syntax-table in comments
12428 and strings.
12429 (electric-pair--insert): New function.
12430 (electric-pair-post-self-insert-function): Use it and
12431 electric--after-char-pos.
12432
12433 2013-06-19 Leo Liu <sdl.web@gmail.com>
12434
12435 * progmodes/octave.el (octave-help): Fix regexp.
12436
12437 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12438
12439 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12440 (shr-table-horizontal-line): Allow nil as a value, and change the
12441 default.
12442 (shr-insert-table-ruler): Respect the nil value.
12443
12444 2013-06-18 Tom Tromey <tromey@barimba>
12445
12446 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12447 New defvars.
12448 (eww-open-file): New defun.
12449 (eww-render): Initialize new variables.
12450 (eww-display-html): Handle "link" and "a".
12451 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12452 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12453 (eww-back-url): Rename from eww-previous-url.
12454 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12455 New defuns.
12456
12457 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12458
12459 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12460 Distinguish ternary operator tokens from slash symbol and slash
12461 char literal.
12462
12463 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12464
12465 Convert symbol prettification into minor mode and global minor mode.
12466
12467 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12468 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12469 (prettify-symbols--keywords): Rename from
12470 `prog-prettify-symbols-alist' and make a local defvar.
12471 (prettify-symbols--compose-symbol): Rename from
12472 `prog--prettify-font-lock-compose-symbol'.
12473 (prettify-symbols--make-keywords): Rename from
12474 `prog-prettify-font-lock-symbols-keywords' and simplify.
12475 (prog-prettify-install): Remove.
12476 (prettify-symbols-mode): New minor mode, based on
12477 `prog-prettify-install'.
12478 (turn-on-prettify-symbols-mode): New function.
12479 (global-prettify-symbols-mode): New globalized minor mode.
12480
12481 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12482 * progmodes/cfengine.el (cfengine3-mode):
12483 * progmodes/perl-mode.el (perl-mode): Don't call
12484 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12485
12486 2013-06-18 Juri Linkov <juri@jurta.org>
12487
12488 * files-x.el (modify-file-local-variable-message): New function.
12489 (modify-file-local-variable)
12490 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12491 and call `modify-file-local-variable-message' when it's non-nil.
12492 (add-file-local-variable, delete-file-local-variable)
12493 (add-file-local-variable-prop-line)
12494 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12495 and use it. (Bug#9820)
12496
12497 2013-06-18 Juri Linkov <juri@jurta.org>
12498
12499 * emulation/vi.el (vi-shell-op):
12500 * emulation/vip.el (vip-execute-com, ex-command):
12501 * emulation/viper-cmd.el (viper-exec-bang):
12502 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12503 the call of `shell-command-on-region'. (Bug#14637)
12504
12505 * simple.el (shell-command-on-region): Doc fix.
12506
12507 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12510 (bug#14633).
12511
12512 2013-06-18 Glenn Morris <rgm@gnu.org>
12513
12514 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12515
12516 * newcomment.el (comment-search-forward, comment-search-backward):
12517 Doc fix. (Bug#14376)
12518
12519 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12520
12521 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12522 (buffer-face-mode-invoke): Doc fix.
12523
12524 2013-06-18 Matthias Meulien <orontee@gmail.com>
12525
12526 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12527 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12528
12529 2013-06-18 Glenn Morris <rgm@gnu.org>
12530
12531 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12532 Replace obsolete function generic-make-keywords with its expansion.
12533
12534 * progmodes/python.el (ffap-alist): Declare.
12535
12536 * textmodes/reftex.el (bibtex-mode-map): Declare.
12537
12538 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12541 (package-unpack, package-unpack-single): Return the pkg-dir.
12542 (package-download-transaction): Use it to update package-alist.
12543
12544 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12545
12546 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12547 possible choice.
12548
12549 2013-06-17 Juri Linkov <juri@jurta.org>
12550
12551 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12552
12553 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12554
12555 * emacs-lisp/package.el (package-load-descriptor):
12556 Remove `with-syntax-table' call, `read' doesn't need it.
12557 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12558
12559 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12560
12561 * startup.el (command-line): Expand package name returned by
12562 `package--description-file' (bug#14639).
12563
12564 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12565
12566 * emacs-lisp/package.el (package-load-descriptor): Do not call
12567 `emacs-lisp-mode', just use its syntax table.
12568
12569 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12570
12571 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12572 `font-lock-extra-managed-props' if any prettifying keyword is added.
12573 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12574 (prog-mode): Use `setq-local'.
12575
12576 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * international/characters.el (standard-case-table): Set syntax of ?»
12579 and ?« to punctuation.
12580
12581 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12582
12583 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12584 Save relevant match data before calling `syntax-ppss' (bug#14595).
12585
12586 2013-06-15 Juri Linkov <juri@jurta.org>
12587
12588 * files-x.el (modify-file-local-variable-prop-line): Add local
12589 variables to the end of the existing comment on the first line.
12590 Use `file-auto-mode-skip' to skip interpreter magic line,
12591 and also skip XML declaration.
12592
12593 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * startup.el (package--builtin-versions): New var.
12596 (package-subdirectory-regexp): Remove.
12597 (package--description-file): Hard code its value instead.
12598
12599 * emacs-lisp/package.el: Don't activate packages older than builtin.
12600 (package-obsolete-list): Rename from package-obsolete-alist, and make
12601 it into a simple list of package-desc.
12602 (package-strip-version): Remove.
12603 (package-built-in-p): Use package--builtin-versions.
12604 (package-mark-obsolete): Simplify.
12605 (package-process-define-package): Mark it obsolete if older than the
12606 builtin version.
12607 (package-handle-response): Use line-end-position.
12608 (package-read-archive-contents, package--download-one-archive):
12609 Simplify.
12610 (package--add-to-archive-contents): Skip if older than the builtin or
12611 installed version.
12612 (package-menu-describe-package): Fix last change.
12613 (package-list-unversioned): New var.
12614 (package-menu--generate): Use it.
12615
12616 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12617 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12618 (autoload-builtin-package-versions): New variable.
12619 (autoload-generate-file-autoloads): Use them.
12620 Remove the list of autoloaded functions/macros from the
12621 (autoload...) comments.
12622
12623 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12624
12625 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12626
12627 * simple.el (line-move-partial): Don't jump to the next screen
12628 line as soon as it becomes visible. Instead, continue enlarging
12629 the vscroll until the portion of a tall screen line that's left on
12630 display is about the height of the frame's default font.
12631 (Bug#14567)
12632
12633 2013-06-15 Glenn Morris <rgm@gnu.org>
12634
12635 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12636 compilation-error-regexp-alist void, or local while let-bound.
12637
12638 * progmodes/make-mode.el (makefile-mode-syntax-table):
12639 Treat "=" as punctuation. (Bug#14614)
12640
12641 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * help-fns.el (describe-variable):
12644 Add extra line for permanent-local variables.
12645
12646 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12647
12648 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12649 Add export, import, library. (Bug#9164)
12650 (library): Set indent function.
12651
12652 2013-06-14 Glenn Morris <rgm@gnu.org>
12653
12654 * term/xterm.el (xterm--query):
12655 Stop after first matching handler. (Bug#14615)
12656
12657 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12658
12659 Add support for dired in saveplace.
12660 * dired.el (dired-initial-position-hook): New variable.
12661 (dired-initial-position): Call hook to place cursor position.
12662 * saveplace.el (save-place-to-alist): Add dired position.
12663 (save-place-dired-hook): New function.
12664
12665 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12668 through a symbol rather than letrec.
12669
12670 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12671 (package-desc): Add `dir' field.
12672 (package-desc-full-name): New function.
12673 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12674 (package-maybe-load-descriptor): Remove.
12675 (package-load-all-descriptors): Just call package-load-descriptor.
12676 (package--disabled-p): New function.
12677 (package-desc-vers, package-desc-doc): Remove aliases.
12678 (package--dir): Remove function.
12679 (package-activate): Check if a package is disabled.
12680 (package-process-define-package): New function, extracted from
12681 define-package.
12682 (define-package): Turn into a place holder.
12683 (package-unpack-single, package-tar-file-info):
12684 Use package--description-file.
12685 (package-compute-transaction): Use package--disabled-p.
12686 (package-download-transaction): Don't call
12687 package-maybe-load-descriptor since they're all loaded anyway.
12688 (package-install): Change argument to be a pkg-desc.
12689 (package-delete): Use a single pkg-desc argument.
12690 (describe-package-1): Use package-desc-dir instead of package--dir.
12691 Use package-desc property instead of package-symbol.
12692 (package-install-button-action): Adjust accordingly.
12693 (package--push): Rewrite.
12694 (package-menu--print-info): Adjust accordingly. Change the ID format
12695 to be a pkg-desc.
12696 (package-menu-describe-package, package-menu-get-status)
12697 (package-menu--find-upgrades, package-menu-mark-upgrades)
12698 (package-menu-execute, package-menu--name-predicate):
12699 Adjust accordingly.
12700 * startup.el (package--description-file): New function.
12701 (command-line): Use it.
12702 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12703 Use package-desc-version.
12704
12705 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12706 (byte-compile-preprocess): Use it.
12707 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12708 can't quite recognize.
12709 (byte-compile-add-to-list): Remove.
12710 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12711 (cconv-closure-convert): Add assertion.
12712
12713 * emacs-lisp/map-ynp.el: Use lexical-binding.
12714 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12715 Factor out some repeated code.
12716
12717 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * subr.el (with-eval-after-load): New macro.
12720 (eval-after-load): Allow form to be a function.
12721 take advantage of lexical-binding.
12722 (do-after-load-evaluation): Use dolist and adjust to new format.
12723 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12724
12725 2013-06-13 Juri Linkov <juri@jurta.org>
12726
12727 * replace.el (perform-replace): Display "symbol " and other search
12728 modes from `isearch-message-prefix' in the *Help* buffer.
12729
12730 * isearch.el (isearch-query-replace): Add " symbol" and other
12731 possible search modes from `isearch-message-prefix' to the prompt.
12732 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12733 when reading a regexp to collect.
12734
12735 2013-06-13 Juri Linkov <juri@jurta.org>
12736
12737 * isearch.el (word-search-regexp): Match whitespace if the search
12738 string begins or ends in whitespace. The LAX arg is applied to
12739 both ends of the search string. Use `regexp-quote' and explicit
12740 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12741 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12742 boundaries are replaced with symbol boundaries, and characters
12743 between symbols match non-word non-symbol syntax. (Bug#14602)
12744
12745 2013-06-13 Juri Linkov <juri@jurta.org>
12746
12747 * isearch.el (isearch-del-char): Don't exceed the length of
12748 `isearch-string' by the prefix arg. (Bug#14563)
12749
12750 2013-06-13 Juri Linkov <juri@jurta.org>
12751
12752 * isearch.el (isearch-yank-word, isearch-yank-line)
12753 (isearch-char-by-name, isearch-quote-char)
12754 (isearch-printing-char, isearch-process-search-char):
12755 Add optional count prefix arg. (Bug#14563)
12756
12757 * international/isearch-x.el
12758 (isearch-process-search-multibyte-characters):
12759 Add optional count prefix arg.
12760
12761 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12762
12763 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12764 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12765 lexical-binding.
12766
12767 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12768
12769 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12770
12771 2013-06-13 Glenn Morris <rgm@gnu.org>
12772
12773 * startup.el (tty-handle-args):
12774 Don't just discard "--" and anything after. (Bug#14608)
12775
12776 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12777
12778 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12779
12780 Implement changes in Secret Service API. Make it backward compatible.
12781 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12782 (secrets-create-item): Use it. Prefix properties with interface.
12783
12784 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12785
12786 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12787 (term-emulate-terminal): Respect term-suppress-hard-newline.
12788
12789 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12790
12791 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12792 Only remove a `thumb-file' overlay. (Bug#14548)
12793
12794 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12795
12796 * mail/reporter.el (reporter-submit-bug-report):
12797 Handle missing package-name. (Bug#14600)
12798
12799 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12800
12801 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12802 (reftex-citation-prompt, reftex-default-bibliography)
12803 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12804 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12805 (reftex-bib-sort-author, reftex-bib-sort-year)
12806 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12807 (reftex-extract-bib-entries-from-thebibliography)
12808 (reftex-get-bibkey-default, reftex-get-bib-names)
12809 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12810 (reftex-format-bib-entry, reftex-parse-bibitem)
12811 (reftex-format-bibitem, reftex-do-citation)
12812 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12813 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12814 (reftex-insert-bib-matches, reftex-format-citation)
12815 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12816 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12817 existing comments into docstrings.
12818
12819 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12820
12821 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12822
12823 2013-06-12 Andreas Schwab <schwab@suse.de>
12824
12825 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12826 for auto-save files.
12827
12828 2013-06-12 Glenn Morris <rgm@gnu.org>
12829
12830 * ido.el (ido-delete-ignored-files): Remove.
12831 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12832 Go back to calling ido-ignore-item-p directly.
12833
12834 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12835
12836 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12837
12838 * ido.el (ido-delete-ignored-files): New function,
12839 split from ido-make-file-list-1.
12840 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12841 (ido-make-file-list-1): Use ido-delete-ignored-files.
12842
12843 2013-06-12 Leo Liu <sdl.web@gmail.com>
12844
12845 * progmodes/octave.el (inferior-octave-startup)
12846 (inferior-octave-completion-table)
12847 (inferior-octave-track-window-width-change)
12848 (octave-eldoc-function-signatures, octave-help)
12849 (octave-find-definition): Use single quoted strings.
12850 (inferior-octave-startup-args): Change default value.
12851 (inferior-octave-startup): Do not hard code "-i" and
12852 "--no-line-editing".
12853 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12854 (inferior-octave-directory-tracker): Use it.
12855 (octave-goto-function-definition): Robustify.
12856 (octave-help): Support highlighting operators in 'See also'.
12857 (octave-find-definition): Find subfunctions only in Octave mode.
12858
12859 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 * help-fns.el (help-fns--compiler-macro): If the handler function is
12862 named, then put a link to it.
12863 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12864 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12865 (cl-typep): Use it.
12866 (cl-eval-when): Simplify debug spec.
12867 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12868 compiler-macro function instead of setting `compiler-macro-file'.
12869
12870 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12871
12872 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12873 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12874
12875 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12876 Daniel Hackney <dan@haxney.org>
12877
12878 First part of Daniel Hackney's patch to package.el.
12879 * emacs-lisp/package.el: Use defstruct.
12880 (package-desc): New, main struct.
12881 (package--bi-desc, package--ac-desc): New structs, used to describe the
12882 format in external files.
12883 (package-desc-vers): Replace with package-desc-version accessor.
12884 (package-desc-doc): Replace with package-desc-summary accessor.
12885 (package-activate-1): Remove `package' arg since the pkg-vec now
12886 includes the name.
12887 (define-package): Use package-desc-from-define.
12888 (package-unpack-single): Change file-name arg to be a symbol.
12889 (package--add-to-archive-contents): Use package-desc-create and new
12890 accessor functions to package--ac-desc.
12891 (package-buffer-info, package-tar-file-info): Return a package-desc.
12892 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12893 arg to be a package-desc.
12894 (package-install-file): Adjust accordingly. Use \' to match EOS.
12895 (package--from-builtin): New function.
12896 (describe-package-1, package-menu--generate): Use it.
12897 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12898 (package-generate-autoloads): Idem and return the name of the file.
12899 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12900 Change pkg-info arg to be a package-desc.
12901 Use package-make-ac-desc.
12902 (package-upload-file): Use \' to match EOS.
12903 * finder.el (finder-compile-keywords): Use package-make-builtin.
12904
12905 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * vc/vc.el (vc-deduce-fileset): Change error message.
12908 (vc-read-backend): New function.
12909 (vc-next-action): Use it.
12910
12911 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12912
12913 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12914 (prolog-font-lock-keywords): Use regexp-opt instead.
12915 Don't manually highlight strings.
12916 (prolog-mode-variables): Simplify comment-start-skip.
12917 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12918
12919 * emacs-lisp/generic.el (generic--normalise-comments)
12920 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12921 (generic-mode-set-comments): Use them.
12922 (generic-bracket-support): Use setq-local.
12923 (generic-make-keywords-list): Declare obsolete.
12924
12925 2013-06-11 Glenn Morris <rgm@gnu.org>
12926
12927 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12928 Prettify after setting font-lock-defaults. (Bug#14574)
12929
12930 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12931
12932 * replace.el (query-replace, occur-read-regexp-defaults-function)
12933 (replace-search):
12934 * subr.el (declare-function, number-sequence, local-set-key)
12935 (substitute-key-definition, locate-user-emacs-file)
12936 (with-silent-modifications, split-string, eval-after-load):
12937 Fix typos, remove unneeded backslashes and reflow some docstrings.
12938
12939 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12940
12941 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12942 default for Elisp files.
12943
12944 2013-06-11 Glenn Morris <rgm@gnu.org>
12945
12946 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12947 although define-derived-mode was doing this anyway. (Bug#14583)
12948
12949 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12950
12951 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12952 Fix make-variable-buffer-local call to refer to the correct variable.
12953
12954 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12955
12956 * eshell/em-term.el (eshell-visual-commands)
12957 (eshell-visual-subcommands, eshell-visual-options):
12958 Add summary line to docstrings. Add cross-references.
12959
12960 2013-06-10 Glenn Morris <rgm@gnu.org>
12961
12962 * epa.el (epa-read-file-name): New function. (Bug#14510)
12963 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12964
12965 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12966
12967 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12968 output redirection to be ignored with visual commands.
12969
12970 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12971
12972 * eshell/em-term.el (eshell-visual-command-p): New function.
12973 (eshell-term-initialize): Move long lambda to separate function
12974 eshell-visual-command-p.
12975 * eshell/em-dirs.el (eshell-dirs-initialize):
12976 * eshell/em-script.el (eshell-script-initialize):
12977 Add missing #' to lambda.
12978
12979 2013-06-08 Leo Liu <sdl.web@gmail.com>
12980
12981 * progmodes/octave.el (octave-add-log-current-defun): New function.
12982 (octave-mode): Set add-log-current-defun-function.
12983 (octave-goto-function-definition): Do not move point if not found.
12984 (octave-find-definition): Enhance to try subfunctions first.
12985
12986 2013-06-08 Glenn Morris <rgm@gnu.org>
12987
12988 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12989 (byte-compile-backward-char, byte-compile-backward-word):
12990 Improve previous change, to handle non-explicit nil.
12991
12992 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12993
12994 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12995 (smie--opener/closer-at-point): New function.
12996 (smie--matching-block-data): Use it. Don't match from right after an
12997 opener or right before a closer. Obey smie-blink-matching-inners.
12998 Don't signal a mismatch for repeated inners like "switch..case..case".
12999
13000 2013-06-07 Leo Liu <sdl.web@gmail.com>
13001
13002 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13003 to t. (Bug#14303)
13004 (octave-function-header-regexp): Fix. (Bug#14570)
13005 (octave-help-mode-finish-hook, octave-help-mode-finish):
13006 Remove. Just use temp-buffer-show-hook.
13007
13008 * newcomment.el (comment-search-backward): Revert last change.
13009 (Bug#14434)
13010
13011 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13012
13013 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13014
13015 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13016 through xargs, to avoid failure due to MS-Windows limitations on
13017 command-line length.
13018
13019 2013-06-06 Glenn Morris <rgm@gnu.org>
13020
13021 * font-lock.el (lisp-font-lock-keywords-2):
13022 Treat user-error like error.
13023
13024 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13025 (byte-compile-backward-char, byte-compile-backward-word):
13026 Handle explicit nil arguments. (Bug#14565)
13027
13028 2013-06-05 Alan Mackenzie <acm@muc.de>
13029
13030 * isearch.el (isearch-allow-prefix): New user option.
13031 (isearch-other-meta-char): Don't exit isearch when a prefix
13032 argument is typed whilst `isearch-allow-prefix' is non-nil.
13033 (Bug#9706)
13034
13035 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * autorevert.el (auto-revert-notify-handler): Use memq.
13038 Hide assertion failure.
13039
13040 * skeleton.el: Use cl-lib.
13041 (skeleton-further-elements): Use defvar-local.
13042 (skeleton-insert): Use cl-progv.
13043
13044 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13045
13046 * progmodes/prog-mode.el (prog-prettify-symbols)
13047 (prog-prettify-install): Update docstrings.
13048
13049 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13050
13051 * simple.el: Move all the prog-mode code to prog-mode.el.
13052 * progmodes/prog-mode.el: New file.
13053 * loadup.el: Add prog-mode.el.
13054
13055 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13056
13057 * simple.el (prog-prettify-symbols): Add version.
13058 (prog-prettify-install): Add convenience function to prettify symbols.
13059
13060 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13061 (perl--augmented-font-lock-keywords-1)
13062 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13063 variables and use it.
13064
13065 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13066 (cfengine3-mode): Remove unneeded variable and use it.
13067
13068 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13069 (lisp--augmented-font-lock-keywords-1)
13070 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13071 Remove unneeded variables and use it.
13072
13073 2013-06-05 João Távora <joaotavora@gmail.com>
13074
13075 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13076 to point when opening the connection. (Bug#14380)
13077
13078 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * subr.el (load-history-regexp, load-history-filename-element)
13081 (eval-after-load, after-load-functions, do-after-load-evaluation)
13082 (eval-next-after-load, display-delayed-warnings)
13083 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13084 definition of save-match-data.
13085 (overriding-local-map): Remove accidental obsolescence declaration.
13086
13087 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13088
13089 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13090
13091 Generalize symbol prettify support to prog-mode and implement it
13092 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13093 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13094 (prog--prettify-font-lock-compose-symbol)
13095 (prog-prettify-font-lock-symbols-keywords): New variables and
13096 functions to support symbol prettification.
13097 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13098 (lisp--augmented-font-lock-keywords-1)
13099 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13100 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13101 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13102 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13103 Implement prettify of -> => :: strings.
13104 * progmodes/perl-mode.el (perl-prettify-symbols)
13105 (perl--font-lock-compose-symbol)
13106 (perl--font-lock-symbols-keywords): Move to prog-mode.
13107 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13108 (perl-font-lock-keywords-1)
13109 (perl-font-lock-keywords-2): Remove explicit prettify support.
13110 (perl--augmented-font-lock-keywords)
13111 (perl--augmented-font-lock-keywords-1)
13112 (perl--augmented-font-lock-keywords-2, perl-mode):
13113 Implement prettify support.
13114
13115 2013-06-05 Leo Liu <sdl.web@gmail.com>
13116
13117 Re-implement SMIE matching block highlight using
13118 show-paren-data-function. (Bug#14395)
13119 * emacs-lisp/smie.el (smie-matching-block-highlight)
13120 (smie--highlight-matching-block-overlay)
13121 (smie--highlight-matching-block-lastpos)
13122 (smie-highlight-matching-block)
13123 (smie-highlight-matching-block-mode): Remove.
13124 (smie--matching-block-data-cache): New variable.
13125 (smie--matching-block-data): New function.
13126 (smie-setup): Use smie--matching-block-data for
13127 show-paren-data-function.
13128
13129 * progmodes/octave.el (octave-mode-menu): Fix.
13130 (octave-find-definition): Skip garbage lines.
13131
13132 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13133
13134 Fix compilation error with simultaneous dynamic+lexical scoping.
13135 Add warning when a defvar appears after the first let-binding.
13136 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13137 (byte-compile-close-variables): Initialize it.
13138 (byte-compile--declare-var): New function.
13139 (byte-compile-file-form-defvar)
13140 (byte-compile-file-form-define-abbrev-table)
13141 (byte-compile-file-form-custom-declare-variable): Use it.
13142 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13143 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13144 (byte-compile-bind): Handle dynamic bindings that shadow
13145 lexical bindings.
13146 (byte-compile-unbind): Make arg non-optional.
13147 (byte-compile-let): Simplify.
13148 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13149 (cconv--analyse-function, cconv-analyse-form): Populate it.
13150 Protect byte-compile-bound-variables to limit the scope of defvars.
13151 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13152 Remove unneeded rule for `declare'.
13153
13154 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13155 so as to avoid depending on cl-adjoin at run-time.
13156 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13157
13158 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13159 (macroexp--warn-and-return): Use it.
13160
13161 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * subr.el: Convert to lexical binding.
13164 (overriding-local-map): Make obsolete.
13165 (add-to-list): Doc fix. Add compiler macro.
13166 (read-key): Swap values of local maps.
13167
13168 2013-06-05 Leo Liu <sdl.web@gmail.com>
13169
13170 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13171
13172 2013-06-04 Leo Liu <sdl.web@gmail.com>
13173
13174 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13175 (compilation-auto-jump): Suppress the "Mark set" message to give
13176 way to exit message.
13177
13178 2013-06-04 Alan Mackenzie <acm@muc.de>
13179
13180 Remove faulty optimisation from indentation calculation.
13181 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13182 search limit based on 2000 characters back from indent-point.
13183
13184 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13185
13186 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13187
13188 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * emacs-lisp/lisp.el: Use lexical-binding.
13191 (lisp--local-variables-1, lisp--local-variables): New functions.
13192 (lisp--local-variables-completion-table): New var.
13193 (lisp-completion-at-point): Use it complete let-bound vars.
13194
13195 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13196 eagerly (bug#14422).
13197
13198 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13199
13200 * autorevert.el (auto-revert-notify-enabled)
13201 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13202 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13203 (auto-revert-notify-handler): Handle also gfilenotify.
13204
13205 * subr.el (file-notify-handle-event): New defun. Replacing ...
13206 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13207 Remove.
13208
13209 2013-06-03 Juri Linkov <juri@jurta.org>
13210
13211 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13212 `M-s h .'. (Bug#14427)
13213
13214 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13215 command `hi-lock-face-symbol-at-point'.
13216 (hi-lock-face-symbol-at-point): New command.
13217 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13218 (hi-lock-menu): Add `highlight-symbol-at-point'.
13219 (hi-lock-mode): Doc fix.
13220
13221 * isearch.el (isearch-forward-symbol-at-point): New command.
13222 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13223 (isearch-highlight-regexp): Add a regexp which matches
13224 words/symbols for word/symbol mode.
13225
13226 * subr.el (find-tag-default-bounds): New function with the body
13227 mostly moved from `find-tag-default'.
13228 (find-tag-default): Move most code to `find-tag-default-bounds',
13229 call it and apply `buffer-substring-no-properties' afterwards.
13230
13231 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13232
13233 * eshell/em-term.el (eshell-term-initialize):
13234 Use `cl-intersection' rather than `intersection'.
13235
13236 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13237
13238 * vc/log-view.el: Doc fix.
13239 (log-view-mode-map): Copy keymap from `special-mode-map'.
13240
13241 2013-06-02 Eric Ludlam <zappo@gnu.org>
13242
13243 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13244 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13245 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13246 (eieio-unbound, eieio-default-superclass)
13247 (eieio--define-field-accessors, method-static, method-before)
13248 (method-primary, method-after, method-num-lists)
13249 (method-generic-before, method-generic-primary)
13250 (method-generic-after, method-num-slots)
13251 (eieio-specialized-key-to-generic-key)
13252 (eieio--check-type, class-v, class-p)
13253 (eieio-class-name, define-obsolete-function-alias)
13254 (eieio-class-parents-fast, eieio-class-children-fast)
13255 (same-class-fast-p, class-constructor, generic-p)
13256 (generic-primary-only-p, generic-primary-only-one-p)
13257 (class-option-assoc, class-option, eieio-object-p)
13258 (class-abstract-p, class-method-invocation-order)
13259 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13260 (eieio-class-un-autoload, eieio-defclass)
13261 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13262 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13263 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13264 (eieio-defgeneric-reset-generic-form)
13265 (eieio-defgeneric-form-primary-only)
13266 (eieio-defgeneric-reset-generic-form-primary-only)
13267 (eieio-defgeneric-form-primary-only-one)
13268 (eieio-defgeneric-reset-generic-form-primary-only-one)
13269 (eieio-unbind-method-implementations)
13270 (eieio--defmethod, eieio--typep)
13271 (eieio-perform-slot-validation, eieio-validate-slot-value)
13272 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13273 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13274 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13275 (eieio-slot-name-index, eieio-class-slot-name-index)
13276 (eieio-set-defaults, eieio-initarg-to-attribute)
13277 (eieio-attribute-to-initarg, eieio-c3-candidate)
13278 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13279 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13280 (eieio-class-precedence-list, eieio-generic-call-methodname)
13281 (eieio-generic-call-arglst, eieio-generic-call-key)
13282 (eieio-generic-call-next-method-list)
13283 (eieio-pre-method-execution-functions, eieio-generic-call)
13284 (eieio-generic-call-primary-only, eieiomt-method-list)
13285 (eieiomt-optimizing-obarray, eieiomt-install)
13286 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13287 (eieio-generic-form, eieio-defmethod, make-obsolete)
13288 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13289 (defclass): Remove `eval-and-compile' from macro.
13290 (call-next-method, shared-initialize): Instead of using
13291 `scoped-class' variable, use new eieio--scoped-class, and
13292 eieio--with-scoped-class.
13293 (initialize-instance): Rename local variable 'scoped-class' to
13294 'this-class' to remove ambiguitity from old global.
13295
13296 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13297 eieio.el.
13298 (eieio--scoped-class-stack): New variable.
13299 (eieio--scoped-class): New fcn.
13300 (eieio--with-scoped-class): New scoping macro.
13301 (eieio-defclass): Use pushnew instead of add-to-list.
13302 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13303 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13304 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13305 `scoped-class' variable, use new eieio--scoped-class, and
13306 eieio--with-scoped-class.
13307
13308 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13309
13310 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13311
13312 * eshell/esh-ext.el (eshell-external-command): Pass args to
13313 `eshell-find-interpreter'.
13314 (eshell-find-interpreter): Add new second parameter ARGS.
13315
13316 * eshell/em-script.el (eshell-script-initialize): Add second arg
13317 to the function added as MATCH to `eshell-interpreter-alist'.
13318
13319 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13320 the function added as MATCH to `eshell-interpreter-alist'.
13321
13322 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13323 (eshell-visual-options): New defcustom.
13324 (eshell-escape-control-x): Adapt docstring.
13325 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13326 `eshell-visual-options' in addition to `eshell-visual-commands'.
13327 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13328
13329 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13330
13331 * progmodes/python.el (python-indent-block-enders): Add break,
13332 continue and raise keywords.
13333
13334 2013-06-01 Glenn Morris <rgm@gnu.org>
13335
13336 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13337
13338 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13339 * progmodes/cc-cmds.el (delete-forward-p):
13340 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13341 * progmodes/cc-engine.el (buffer-syntactic-context):
13342 * progmodes/cc-fonts.el (face-property-instance):
13343 * progmodes/cc-mode.el (set-keymap-parents):
13344 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13345 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13346 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13347 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13348 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13349
13350 * progmodes/cc-vars.el (other): Emacs has this widget since
13351 at least 21.1, so don't (re)define it.
13352
13353 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13354 Replace the obsolete alias pcomplete-arg-quote-list.
13355
13356 2013-06-01 Leo Liu <sdl.web@gmail.com>
13357
13358 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13359 punctuation syntax.
13360 (inferior-octave-minimal-columns)
13361 (inferior-octave-last-column-width): New variables.
13362 (inferior-octave-track-window-width-change): New function.
13363 (inferior-octave-mode): Adjust column width so that Octave output,
13364 for example from 'ls', can fit into the window nicely.
13365
13366 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13367
13368 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13369 Highlight expansions inside regexp literals.
13370
13371 2013-05-31 Glenn Morris <rgm@gnu.org>
13372
13373 * obsolete/sym-comp.el (symbol-complete):
13374 Replace obsolete completion-annotate-function.
13375
13376 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13377
13378 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13379
13380 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13381 New function, checks if point is inside a literal that allows
13382 expression expansion.
13383 (ruby-syntax-propertize-expansion): Use it.
13384 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13385 around the body.
13386
13387 2013-05-30 Juri Linkov <juri@jurta.org>
13388
13389 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13390 to "\M-si".
13391 (isearch-invisible): New variable.
13392 (isearch-forward): Doc fix.
13393 (isearch-mode): Set `isearch-invisible'
13394 to the value of `search-invisible'.
13395 (isearch-toggle-case-fold): Doc fix.
13396 (isearch-toggle-invisible): New command.
13397 (isearch-query-replace): Let-bind `search-invisible'
13398 to the value of `isearch-invisible'.
13399 (isearch-search): Use `isearch-invisible' instead of
13400 `search-invisible'. Let-bind `search-invisible'
13401 to the value of `isearch-invisible'. (Bug#11378)
13402
13403 2013-05-30 Juri Linkov <juri@jurta.org>
13404
13405 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13406 call when `query-flag' is nil and `search-invisible' is non-nil.
13407 (Bug#11746)
13408
13409 2013-05-30 Glenn Morris <rgm@gnu.org>
13410
13411 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13412
13413 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13414 (cc-require): Suppress spurious "noruntime" warnings.
13415 (cc-require-when-compile): Use fboundp, for sake of compiler.
13416
13417 * progmodes/cc-mode.el: Move load of cc-vars before that of
13418 cc-langs (which in turn loads cc-vars), to quieten compiler.
13419
13420 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13421
13422 * paren.el: Simplify the code.
13423 (show-paren-mode): Always start the timer.
13424 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13425 (show-paren--overlay, show-paren--overlay-1): Rename from
13426 show-paren-overlay and show-paren-overlay-1, and initialize to an
13427 overlay rather than to nil.
13428 (show-paren-function): Misc cleanup and simplifications.
13429
13430 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13431
13432 * paren.el (show-paren-data-function): New hook.
13433 (show-paren--default): New function, extracted from show-paren-function.
13434 (show-paren-function): Use show-paren-data-function.
13435
13436 2013-05-30 Glenn Morris <rgm@gnu.org>
13437
13438 * ielm.el (ielm-map, ielm-complete-symbol):
13439 Use completion-at-point rather than obsolete functions.
13440 (inferior-emacs-lisp-mode): Doc fix.
13441 Set completion-at-point-functions, rather than
13442 comint-dynamic-complete-functions.
13443
13444 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13445 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13446 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13447
13448 * image.el (image-animated-p): Tweak definition.
13449
13450 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13451 (rlogin-process-connection-type): Tweak default. Add set-after.
13452 (rlogin-host): Doc fix.
13453 (rlogin): Tweak prompt.
13454 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13455
13456 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13457 * progmodes/tcl.el (inferior-tcl-mode-map):
13458 Use completion-at-point rather than obsolete alias.
13459
13460 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13461
13462 * minibuffer.el (read-file-name-completion-ignore-case):
13463 Move before completion--in-region, for eager macro expansion.
13464
13465 2013-05-29 Juri Linkov <juri@jurta.org>
13466
13467 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13468 for total count of matching lines. Add `global-matches' for total
13469 count of matches. Rename `matches' to `lines' for count of
13470 matching lines. Add `matches' for count of matches.
13471 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13472 to `prev-line' for line number of prev match endpt.
13473 Increment `matches' for every match. Print the number of
13474 matching lines in the header.
13475 (occur-context-lines): Rename `lines' to `curr-line'.
13476 Rename `prev-lines' to `prev-line'. (Bug#14017)
13477
13478 2013-05-29 Juri Linkov <juri@jurta.org>
13479
13480 * replace.el (perform-replace): Add `skip-read-only-count',
13481 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13482 Increment them for corresponding conditions and report the number
13483 of skipped occurrences in the final message. (Bug#11746)
13484 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13485 (replace-string, replace-regexp): Doc fix.
13486
13487 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13490
13491 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13492 prog-mode-map (bug#14504).
13493
13494 2013-05-29 Leo Liu <sdl.web@gmail.com>
13495
13496 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13497 (octave-help): Small simplification.
13498
13499 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13500 off the highlight first.
13501
13502 2013-05-29 Glenn Morris <rgm@gnu.org>
13503
13504 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13505 Handle idlwave-last-system-routine-info-cons-cell being nil.
13506
13507 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13508 (idlwave-write-paths): Simplify via with-temp-buffer.
13509
13510 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13511 * emulation/cua-rect.el: Also load cua-base at run time.
13512
13513 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13514 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13515 (cperl-imenu-on-info): Require imenu.
13516
13517 2013-05-28 Alan Mackenzie <acm@muc.de>
13518
13519 Handle "capitalised keywords" correctly.
13520 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13521
13522 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13523
13524 * eshell/em-unix.el: Add -r option to cp.
13525
13526 2013-05-28 Glenn Morris <rgm@gnu.org>
13527
13528 * vc/vc-arch.el (vc-exec-after): Declare.
13529 (vc-switches): Autoload.
13530 * vc/vc-bzr.el: No need to require vc when compiling.
13531 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13532 (vc-resynch-buffer, vc-dir-refresh): Declare.
13533 (vc-setup-buffer, vc-switches): Autoload.
13534 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13535 (vc-resynch-buffer): Declare.
13536 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13537 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13538 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13539 (grep-read-regexp, grep-read-files, grep-expand-template)
13540 (vc-dir-refresh): Declare.
13541 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13542 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13543 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13544 * vc/vc-mtn.el (vc-exec-after): Declare.
13545 (vc-switches): Autoload.
13546 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13547 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13548 (vc-file-tree-walk): Declare.
13549 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13550 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13551 (vc-tag-precondition, vc-rename-master): Autoload.
13552 * vc/vc-svn.el (vc-exec-after): Declare.
13553 (vc-switches, vc-setup-buffer): Autoload.
13554 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13555 Autoload.
13556 (vc-resynch-buffer): Declare.
13557
13558 * obsolete/fast-lock.el (byte-compile-warnings):
13559 Don't warn about obsolete features in this obsolete file.
13560
13561 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13562 Move definition before use.
13563
13564 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13565 (dun-unix-verbs): Remove dun-zippy.
13566 (dun-zippy): Remove function.
13567
13568 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13569
13570 2013-05-27 Juri Linkov <juri@jurta.org>
13571
13572 * replace.el (replace-search): New function with code moved out
13573 from `perform-replace'.
13574 (replace-highlight, replace-dehighlight): Move function definitions
13575 up closer to `replace-search'. (Bug#11746)
13576
13577 2013-05-27 Juri Linkov <juri@jurta.org>
13578
13579 * replace.el (perform-replace): Ignore invisible matches.
13580 In addition to checking `query-replace-skip-read-only', also
13581 filter out matches by calling `run-hook-with-args-until-failure'
13582 on `isearch-filter-predicates', and also check `search-invisible'
13583 for t or call `isearch-range-invisible'.
13584 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13585
13586 2013-05-27 Juri Linkov <juri@jurta.org>
13587
13588 * isearch.el (isearch-filter-predicates): Rename from
13589 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13590 (isearch-message-prefix): Display text from the property
13591 `isearch-message-prefix' of the currently active filters.
13592 (isearch-search): Don't compare `isearch-filter-predicate' with
13593 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13594 on `isearch-filter-predicates'. Also check `search-invisible' for t
13595 or call `isearch-range-invisible'.
13596 (isearch-filter-visible): Make obsolete.
13597 (isearch-lazy-highlight-search):
13598 Call `run-hook-with-args-until-failure' on
13599 `isearch-filter-predicates' and use `isearch-range-invisible'.
13600
13601 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13602 `isearch-filter-predicates' instead of `funcall'ing
13603 `isearch-filter-predicate'.
13604 (Info-mode): Set `Info-isearch-filter' to
13605 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13606
13607 * dired-aux.el (dired-isearch-filter-predicate-orig):
13608 Remove variable.
13609 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13610 (dired-isearch-filenames-end): Add and remove
13611 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13612 instead of changing the value of `isearch-filter-predicate'.
13613 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13614 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13615 Put property `isearch-message-prefix' to "filename " on
13616 `dired-isearch-filter-filenames'.
13617
13618 * wdired.el (wdired-change-to-wdired-mode):
13619 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13620 locally instead of changing `isearch-filter-predicate'.
13621 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13622
13623 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13624
13625 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13626 return the commit hash (Bug#14459). Also set the
13627 `vc-git-detached' property.
13628 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13629 (vc-git-mode-line-string): Use the same help-echo format whether
13630 in detached mode or not, because we know the actual revision now.
13631 When in detached mode, shorten the revision to 7 chars.
13632
13633 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * emacs-lisp/easy-mmode.el (define-minor-mode):
13636 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13637 mode hook and provide a docstring.
13638
13639 2013-05-27 Alan Mackenzie <acm@muc.de>
13640
13641 Remove spurious syntax-table text properties inserted by C-y.
13642 * progmodes/cc-mode.el (c-after-change): Also clear hard
13643 syntax-table property with value nil.
13644
13645 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13646
13647 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13648 when reading the events; the buffer layout shall not be changed.
13649
13650 2013-05-27 Leo Liu <sdl.web@gmail.com>
13651
13652 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13653 New variable.
13654 (inferior-octave-directory-tracker): Automatically re-sync
13655 default-directory.
13656 (octave-help): Improve handling of 'See also'.
13657
13658 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * doc-view.el: Minor naming convention tweaks.
13661 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13662
13663 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13664 even if there's no `display' property yet (bug#14435).
13665
13666 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13667
13668 * subr.el (unmsys--file-name): Rename from reveal-filename.
13669
13670 * Makefile.in (custom-deps, finder-data, autoloads)
13671 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13672 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13673 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13674
13675 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13676
13677 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13678 error-completion on the first 2 args of condition-case (bug#14446).
13679 Don't burp at EOB.
13680
13681 2013-05-25 Leo Liu <sdl.web@gmail.com>
13682
13683 * comint.el (comint-previous-matching-input): Do not flood the
13684 *Messages* buffer with trivial messages.
13685
13686 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * progmodes/flymake.el (flymake-nop): Don't return a string.
13689 (flymake-set-at): Fix typo.
13690
13691 * simple.el (read--expression): New function, extracted from
13692 eval-expression. Set completion-at-point-functions (bug#14465).
13693 (eval-expression, eval-minibuffer): Use it.
13694
13695 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13696
13697 * progmodes/flymake.el (flymake-save-buffer-in-file)
13698 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13699 (flymake-selected-frame, flymake-log, flymake-ins-after)
13700 (flymake-set-at, flymake-get-buildfile-from-cache)
13701 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13702 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13703 Refine the doc string.
13704 (flymake-get-file-name-mode-and-masks): Reformat.
13705 (flymake-get-real-file-name-function): Fix a minor bug.
13706
13707 2013-05-24 Juri Linkov <juri@jurta.org>
13708
13709 * progmodes/grep.el (grep-mode-font-lock-keywords):
13710 Support =linenumber= format used by git-grep for lines with
13711 function names. (Bug#13549)
13712
13713 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13716 0 after a semi-colon; it works better for smie-auto-fill.
13717 (octave--indent-new-comment-line): New function.
13718 (octave-indent-new-comment-line): Use it (indirectly).
13719 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13720 modify comment-line-break-function.
13721
13722 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13723 (smie-setup): Use add-function to set it.
13724
13725 2013-05-24 Sam Steingold <sds@gnu.org>
13726
13727 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13728 argument (before the `interactive' argument).
13729
13730 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * image-mode.el (image-mode-winprops): Add winprops to
13733 image-mode-winprops-alist before running
13734 image-mode-new-window-functions.
13735 * doc-view.el (doc-view-new-window-function): Don't delay
13736 doc-view-goto-page via timers (bug#14435).
13737
13738 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13739
13740 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13741 (doc-view-desktop-save-buffer): New function.
13742 (doc-view-restore-desktop-buffer): New function.
13743 (desktop-buffer-mode-handlers):
13744 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13745 handler.
13746 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13747 `desktop-save-buffer' function.
13748
13749 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13750
13751 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13752 (tramp-gvfs-file-name-handler): Raise a user error when
13753 `tramp-gvfs-enabled' is nil.
13754 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13755 Do not raise a user error when loading package. (Bug#14447)
13756
13757 * net/xesam.el: Move to obsolete/.
13758
13759 2013-05-24 Glenn Morris <rgm@gnu.org>
13760
13761 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13762
13763 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13764
13765 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13766 (Info-find-node, Man-getpage-in-background): Declare.
13767
13768 * mail/unrmail.el (unrmail):
13769 Replace obsolete detect-coding-with-priority.
13770
13771 * net/socks.el (socks-split-string): Use this rather than split-string.
13772 (socks-nslookup-host): Update for above change.
13773 (dynamic-choice, s5-dynamic-choice-match)
13774 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13775 Comment out unused code.
13776
13777 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13778 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13779 (gud-tooltip-echo-area): Make obsolete.
13780 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13781
13782 * progmodes/js.el (js--optimize-arglist): Declare.
13783
13784 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13785
13786 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13787 (ediff-window-C): Declare.
13788
13789 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13790 Tweak requires to silence compiler.
13791
13792 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13793 (he-search-string, he-tried-table, he-expand-list)
13794 (he-init-string, he-string-member, he-substitute-string)
13795 (he-reset-string): Declare.
13796
13797 * obsolete/options.el (list-options): Use custom-variable-p,
13798 rather than obsolete alias.
13799
13800 2013-05-23 Sam Steingold <sds@gnu.org>
13801
13802 * simple.el (shell-command-on-region): Pass the `replace' argument
13803 down to `call-process-region' to comply with the doc as reported on
13804 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13805
13806 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13807
13808 * emacs-lisp/smie.el (smie-indent-forward-token)
13809 (smie-indent-backward-token): Handle string tokens (bug#14381).
13810
13811 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13812
13813 * ielm.el (ielm-menu): New menu.
13814 (inferior-emacs-lisp-mode): Set comment-start.
13815
13816 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13817
13818 * textmodes/reftex.el (reftex-ref-style-toggle):
13819 Fix deactivate action.
13820
13821 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13822 Add cleveref macros.
13823
13824 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13825 Accept options for bibliography commands.
13826 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13827 Add addbibresource. Basic Biblatex support.
13828
13829 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13830
13831 * net/tramp-gvfs.el (top):
13832 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13833 when loading package. (Bug#14447)
13834
13835 2013-05-23 Glenn Morris <rgm@gnu.org>
13836
13837 * progmodes/js.el: No need to load comint when compiling.
13838 (ring-insert, comint-send-string, comint-send-input)
13839 (comint-last-input-end, ido-chop): Declare.
13840
13841 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13842 * vc/ediff-mult.el: Adjust requires.
13843 (ediff-directories-internal, ediff-directory-revisions-internal)
13844 (ediff-patch-file-internal): Declare.
13845 * vc/ediff-ptch.el: Adjust requires.
13846 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13847 (ediff-find-file): Autoload.
13848 * vc/ediff-util.el: No need to load ediff when compiling.
13849 (ediff-regions-internal): Declare.
13850 * vc/ediff-wind.el: Adjust requires.
13851 (ediff-compute-toolbar-width): Define when compiling.
13852 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13853 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13854 (dired-get-filename, dired-get-marked-files)
13855 (ediff-last-dir-patch, ediff-patch-default-directory)
13856 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13857 (ediff-patch-buffer-internal): Declare.
13858
13859 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13860 (ispell-process, ispell-buffer-local-words, lm-summary)
13861 (lm-section-start, lm-section-end): Declare.
13862 (checkdoc-ispell-init): Simplify.
13863
13864 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13865 (he-string-member, he-reset-string, he-substitute-string): Declare.
13866
13867 * eshell/em-ls.el: Adjust requires.
13868 (eshell-glob-regexp): Declare.
13869 * eshell/em-tramp.el: Adjust requires.
13870 (eshell-parse-command): Autoload.
13871 * eshell/em-xtra.el: Adjust requires.
13872 (eshell-parse-command): Autoload.
13873 * eshell/esh-ext.el: Adjust requires.
13874 (eshell-parse-command, eshell-close-handles): Autoload.
13875 * eshell/esh-io.el: Adjust requires.
13876 (eshell-output-filter): Autoload.
13877 * eshell/esh-util.el: No need to load tramp when compiling.
13878 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13879 Declare.
13880 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13881 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13882 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13883 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13884 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13885 * eshell/esh-opt.el, eshell/esh-proc.el:
13886 * eshell/esh-var.el: Adjust requires.
13887 * eshell/eshell.el: Do not require esh-util twice.
13888 (eshell-add-input-to-history): Declare.
13889 (eshell-command): Check history module is active before using it.
13890
13891 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13892
13893 2013-05-22 Leo Liu <sdl.web@gmail.com>
13894
13895 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13896
13897 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13898
13899 * autorevert.el (auto-revert-notify-add-watch)
13900 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13901 it indicates changes in file modification time.
13902
13903 2013-05-22 Glenn Morris <rgm@gnu.org>
13904
13905 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13906 Always delete the autoloaded function from the noruntime and
13907 unresolved functions lists.
13908
13909 * allout.el: No need to load epa, epg, overlay when compiling.
13910 (epg-context-set-passphrase-callback, epg-list-keys)
13911 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13912 (epg-key-user-id-list): Declare.
13913
13914 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13915 (viper-set-parsing-style-toggling-macro)
13916 (viper-set-emacs-state-searchstyle-macros):
13917 Use called-interactively-p on Emacs.
13918 (viper-looking-back): Make it an obsolete alias. Update callers.
13919 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13920 Use looking-back rather than viper-looking-back.
13921 (viper-tmp-insert-at-eob, viper-enlarge-region)
13922 (viper-read-string-with-history, viper-register-to-point)
13923 (viper-append-to-register, viper-change-state-to-vi)
13924 (viper-backward-char-carefully, viper-forward-char-carefully)
13925 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13926 (viper-change-state-to-emacs): Declare.
13927 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13928 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13929 * emulation/viper-mous.el: Do not load viper-cmd.
13930 (viper-backward-char-carefully, viper-forward-char-carefully)
13931 (viper-forward-word, viper-adjust-window): Declare.
13932
13933 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13934
13935 * progmodes/idlw-help.el (idlwave-help-fontify):
13936 Use called-interactively-p.
13937
13938 * term/w32console.el (w32-get-console-codepage)
13939 (w32-get-console-output-codepage): Declare.
13940
13941 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13942 Remove unnecessary declarations.
13943 (dframe-message): Doc fix.
13944
13945 * info.el (dframe-select-attached-frame, dframe-current-frame):
13946 Declare.
13947
13948 * speedbar.el (speedbar-message): Make it an obsolete alias.
13949 Update all callers.
13950 (speedbar-with-attached-buffer)
13951 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13952 (speedbar-with-writable): Use backquote.
13953 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13954 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13955 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13956 rather than speedbar- aliases.
13957 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13958 (speedbar-make-specialized-keymap, speedbar-insert-button)
13959 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13960 (speedbar-do-function-pointer): Declare.
13961 (rmail-speedbar-button, rmail-speedbar-find-file)
13962 (rmail-speedbar-move-message):
13963 Use dframe-with-attached-buffer rather than speedbar- alias.
13964 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13965 (dframe-message, speedbar-make-specialized-keymap)
13966 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13967 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13968 (speedbar-insert-button, dframe-select-attached-frame)
13969 (dframe-maybee-jump-to-attached-frame)
13970 (speedbar-change-initial-expansion-list)
13971 (speedbar-previously-used-expansion-list-name): Declare.
13972 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13973 Use dframe-message, dframe-with-attached-buffer rather than
13974 speedbar- aliases.
13975 (gud-sentinel): Silence compiler.
13976 * progmodes/vhdl-mode.el (speedbar-refresh)
13977 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13978 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13979 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13980 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13981 (speedbar-file-lists, speedbar-make-tag-line)
13982 (speedbar-line-directory, speedbar-goto-this-file)
13983 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13984 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13985 (speedbar-make-button, speedbar-reset-scanners)
13986 (speedbar-files-item-info, speedbar-line-text)
13987 (speedbar-find-file-in-frame, speedbar-set-timer)
13988 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13989 (speedbar-with-writable): Do not (re)define it.
13990 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13991 rather than speedbar- alias.
13992
13993 2013-05-21 Leo Liu <sdl.web@gmail.com>
13994
13995 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13996 menu items.
13997 (octave-mode): Tweak fill-nobreak-predicate.
13998 (inferior-octave-startup): Check process to avoid infinite loop.
13999 (inferior-octave): Pop to buffer first to show abornmal process
14000 exit information.
14001
14002 2013-05-21 Glenn Morris <rgm@gnu.org>
14003
14004 * printing.el (pr-menu-bar): Define when compiling.
14005
14006 2013-05-21 Leo Liu <sdl.web@gmail.com>
14007
14008 * progmodes/octave.el (octave-auto-fill): Remove.
14009 (octave-indent-new-comment-line): Improve.
14010 (octave-mode): Use auto fill mode through
14011 comment-line-break-function and fill-nobreak-predicate.
14012 (octave-goto-function-definition): Support DEFUN_DLD.
14013 (octave-beginning-of-defun): Small tweak.
14014 (octave-help): Show parent directory.
14015
14016 2013-05-21 Glenn Morris <rgm@gnu.org>
14017
14018 * files.el (dired-unmark):
14019 * progmodes/gud.el (gdb-input): Update declarations.
14020
14021 * calculator.el (electric, ehelp): No need to load when compiling.
14022 (Electric-command-loop, electric-describe-mode): Declare.
14023
14024 * doc-view.el (doc-view-current-converter-processes): Move before use.
14025
14026 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14027 Move MODE-set-explicitly definition before use.
14028
14029 * international/mule-diag.el (mule-diag):
14030 Don't use obsolete window-system-version.
14031
14032 * mail/feedmail.el (smtpmail): No need to load when compiling.
14033 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14034
14035 * mail/mail-utils.el (rfc822): No need to load when compiling.
14036 (rfc822-addresses): Autoload it.
14037 (mail-strip-quoted-names): Trivial simplification.
14038
14039 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14040 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14041
14042 * net/snmp-mode.el (tempo): Don't duplicate requires.
14043
14044 * progmodes/prolog.el (info): No need to load when compiling.
14045 (comint): Require before shell requires it.
14046 (Info-goto-node): Autoload it.
14047 (Info-follow-nearest-node): Declare.
14048 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14049
14050 * textmodes/artist.el (picture-mode-exit): Declare.
14051
14052 * textmodes/reftex-parse.el (reftex-parse-from-file):
14053 Trivial rewrite so the compiler can parse it better.
14054
14055 2013-05-20 Leo Liu <sdl.web@gmail.com>
14056
14057 * progmodes/octave.el (octave-help-mode-map)
14058 (octave-help-mode-finish-hook): New variables.
14059 (octave-help-mode, octave-help-mode-finish): New functions.
14060 (octave-help): Use octave-help-mode.
14061
14062 2013-05-20 Glenn Morris <rgm@gnu.org>
14063
14064 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14065
14066 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14067
14068 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14069 start at point, so that expansion starting right after opening
14070 slash in a regexp is recognized.
14071 (ruby-syntax-before-regexp-re): New defvar, extracted from
14072 ruby-syntax-propertize-function. Since the value of this regexp
14073 is looked up at runtime now, we should be able to turn
14074 `ruby-syntax-methods-before-regexp' into a defcustom later.
14075 (ruby-syntax-propertize-function): Split regexp matching into two
14076 parts, for opening and closing slashes. That allows us to skip
14077 over string interpolations and support multiline regexps.
14078 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14079 for them, which calls `ruby-syntax-propertize-expansion'.
14080 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14081 call to `ruby-syntax-propertize-function'.
14082 (ruby-syntax-propertize-expansion): Extracted from
14083 `ruby-syntax-propertize-expansions'. Handles one expansion.
14084 (ruby-syntax-propertize-percent-literal): Leave point right after
14085 the percent symbol, so that the expression expansion rule can
14086 propertize the contents.
14087 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14088 heredoc openers.
14089 (ruby-syntax-propertize-expansions): Remove.
14090
14091 2013-05-18 Juri Linkov <juri@jurta.org>
14092
14093 * man.el (Man-default-man-entry): Remove `-' from the end
14094 of the default value. (Bug#14400)
14095
14096 2013-05-18 Glenn Morris <rgm@gnu.org>
14097
14098 * comint.el (comint-password-prompt-regexp):
14099 Allow "password for XXX" where XXX contains colons (eg https://...).
14100
14101 2013-05-18 Leo Liu <sdl.web@gmail.com>
14102
14103 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14104 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14105 (octave-source-directories): Don't check process.
14106 (octave-source-directories, octave-find-definition): Doc fix.
14107
14108 2013-05-18 Glenn Morris <rgm@gnu.org>
14109
14110 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14111 Remove backspace/delete bindings. (Bug#14392)
14112
14113 * cus-dep.el (custom-make-dependencies): Sort the output.
14114 (custom-versions-load-alist): Convert comment to doc.
14115
14116 2013-05-17 Leo Liu <sdl.web@gmail.com>
14117
14118 * newcomment.el (comment-search-backward): Stricter in finding
14119 comment start. (Bug#14303)
14120
14121 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14122 (octave-comment-start-skip): Properly anchored.
14123
14124 2013-05-17 Leo Liu <sdl.web@gmail.com>
14125
14126 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14127 Clean up when turned off. (Bug#14395)
14128 (smie--highlight-matching-block-overlay): No longer buffer-local.
14129 (smie-highlight-matching-block): Adjust.
14130
14131 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14132
14133 Doc string fix for "nanoseconds" (Bug#14406).
14134 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14135 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14136
14137 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14138
14139 * calc/calc-units.el (math-extract-units): Preserve powers
14140 of units.
14141
14142 2013-05-17 Leo Liu <sdl.web@gmail.com>
14143
14144 * subr.el (delete-consecutive-dups): New function.
14145 * ido.el (ido-set-matches-1): Use it.
14146 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14147 * ido.el (ido-remove-consecutive-dups): Remove.
14148
14149 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14150
14151 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14152 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14153 regexp-opt's `words'.
14154
14155 2013-05-16 Leo Liu <sdl.web@gmail.com>
14156
14157 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14158 (smie--highlight-matching-block-overlay)
14159 (smie--highlight-matching-block-lastpos)
14160 (smie--highlight-matching-block-timer): New variables.
14161 (smie-highlight-matching-block): New function.
14162 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14163 (smie-setup): Conditionally enable smie-blink-matching-open.
14164
14165 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14166
14167 Sync with upstream verilog-mode r840.
14168 * progmodes/verilog-mode.el (verilog-mode-version)
14169 (verilog-mode-release-date): Update.
14170 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14171 (verilog-sig-tieoff): Fix string error on
14172 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14173 (verilog-read-decls): Fix parameters confusing
14174 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14175
14176 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14177
14178 * subr.el (reveal-filename): New function.
14179
14180 * loadup.el: Compute Emacs executable versions on MS-Windows,
14181 where executables have the .exe extension. Add a hard link
14182 emacs-XX.YY.ZZ.exe on MS-Windows.
14183
14184 * Makefile.in (XARGS_LIMIT): New variable.
14185 (custom-deps, finder-data, autoloads)
14186 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14187 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14188 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14189 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14190
14191 2013-05-16 Leo Liu <sdl.web@gmail.com>
14192
14193 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14194 (octave-mode-menu, octave-mode-map): Remove its uses.
14195
14196 2013-05-16 Reto Zimmermann <reto@gnu.org>
14197
14198 Sync with upstream vhdl mode v3.34.2.
14199 * progmodes/vhdl-mode.el: Use `push' throughout.
14200 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14201 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14202 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14203 (vhdl-actual-generic-name): New option to derive actual generic name.
14204 (vhdl-port-paste-signals): Replace formal by actual generics.
14205 (vhdl-beautify): New name for old group vhdl-align. Update users.
14206 (vhdl-beautify-options): New option.
14207 (vhdl-last-input-event): New compat alias. Use throughout.
14208 (vhdl-goto-line): Replace user level function `goto-line'.
14209 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14210 vhdl-fix-statement-buffer.
14211 (vhdl-create-mode-menu): Add some entries.
14212 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14213 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14214 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14215 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14216 to force statements on one line.
14217 (vhdl-remove-trailing-spaces-region):
14218 New, split from vhdl-remove-trailing-spaces.
14219 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14220 Respect vhdl-beautify-options.
14221 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14222 (vhdl-update-sensitivity-list): Not add with index if exists without.
14223 Not include array index with signal. Ignore keywords in comments.
14224 (vhdl-get-visible-signals): Regexp tweaks.
14225 (vhdl-template-component-inst): Handle empty library.
14226 (vhdl-template-type): Add template for 'enum' type.
14227 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14228 Use vhdl-replace-string.
14229 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14230 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14231 (vhdl-speedbar-initialize): Update for above name change.
14232 (vhdl-compose-wire-components): Fix in handling of constants.
14233 (vhdl-error-regexp-emacs-alist): New variable.
14234 (vhdl-error-regexp-add-emacs): New function;
14235 adds support for new compile.el (Emacs 22+)
14236 (vhdl-generate-makefile-1): Change target order for single lib. units.
14237 Allow use of absolute file names.
14238
14239 2013-05-16 Leo Liu <sdl.web@gmail.com>
14240
14241 * simple.el (prog-indent-sexp): Indent enclosing defun.
14242
14243 2013-05-15 Glenn Morris <rgm@gnu.org>
14244
14245 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14246 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14247 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14248 (whitespace-highlight): Move to whitespace group.
14249
14250 * comint.el (comint-source):
14251 * pcmpl-linux.el (pcmpl-linux):
14252 * shell.el (shell-faces):
14253 * eshell/esh-opt.el (eshell-opt):
14254 * international/ccl.el (ccl): Remove empty custom groups.
14255
14256 * completion.el (dynamic-completion-mode):
14257 * jit-lock.el (jit-lock-debug-mode):
14258 * minibuffer.el (completion-in-region-mode):
14259 * type-break.el (type-break-mode-line-message-mode)
14260 (type-break-query-mode):
14261 * emulation/tpu-edt.el (tpu-edt-mode):
14262 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14263 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14264 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14265
14266 * term/xterm.el (xterm): Change parent group to terminals.
14267
14268 * master.el (master): Remove empty custom group.
14269 (master-mode): Remove unused :group argument.
14270 * textmodes/refill.el (refill): Remove empty custom group.
14271 (refill-mode): Remove unused :group argument.
14272
14273 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14274
14275 * cus-dep.el: Provide a feature.
14276 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14277 Don't mistakenly ignore files whose basenames match a basename
14278 from preloaded-file-list (eg cedet/ede/simple.el).
14279 Add a fallback method for getting :group.
14280
14281 2013-05-15 Juri Linkov <juri@jurta.org>
14282
14283 * isearch.el (isearch-char-by-name): Rename from
14284 `isearch-insert-char-by-name'. Doc fix.
14285 (isearch-forward): Mention `isearch-char-by-name' in
14286 the docstring. (Bug#13348)
14287
14288 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14289 `exit-minibuffer' instead of
14290 `isearch-nonincremental-exit-minibuffer'.
14291 (isearch-edit-string): Remove mention of
14292 `isearch-nonincremental-exit-minibuffer' from docstring.
14293 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14294 (isearch-forward-exit-minibuffer)
14295 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14296
14297 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * loadup.el: Just use unversioned DOC.
14300
14301 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14302 literals as extending to EOB.
14303 (nxml-last-fontify-end): Remove unused variable.
14304 (nxml-after-change1): Use with-silent-modifications.
14305 (nxml-extend-after-change-region): Simplify.
14306 (nxml-extend-after-change-region1): Remove function.
14307 (nxml-after-change1): Don't adjust for dependent regions.
14308 (nxml-fontify-matcher): Simplify.
14309 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14310 (xmltok-add-dependent): Remove function.
14311 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14312 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14313 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14314 unclosed <[[, <?, comment, and other literals as extending to EOB.
14315 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14316 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14317 Remove functions.
14318 (rng-do-some-validation-1): Don't mark dependent regions.
14319 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14320 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14321 (nxml-clear-dependent-regions): Remove functions.
14322 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14323 (nxml-ensure-scan-up-to-date):
14324 Don't clear&mark dependent regions.
14325
14326 2013-05-15 Leo Liu <sdl.web@gmail.com>
14327
14328 * progmodes/octave.el (octave-goto-function-definition):
14329 Improve and fix callers.
14330
14331 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14332
14333 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14334 the setter (bug#14387).
14335
14336 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14337 surrounding group (bug#14402).
14338
14339 2013-05-14 Juri Linkov <juri@jurta.org>
14340
14341 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14342 (Bug#14390)
14343
14344 2013-05-14 Glenn Morris <rgm@gnu.org>
14345
14346 * progmodes/f90.el (f90-imenu-generic-expression):
14347 Fix typo in 2013-05-08 change. (Bug#14402)
14348
14349 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14350
14351 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14352 Remove signals for which replies are never received.
14353
14354 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14355
14356 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14357 (gdb-handler-alist, gdb-handler-number): Remove variables.
14358 (gdb-handler-list): New variable.
14359 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14360 (gdb-pending-handler-p, gdb-handle-reply)
14361 (gdb-remove-all-pending-triggers): New functions.
14362 (gdb-discard-unordered-replies): New defcustom.
14363 (gdb-handler): New defstruct.
14364 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14365 instead of gdb-pending-triggers. Update docstring.
14366 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14367 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14368 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14369 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14370 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14371 (gdb-frame-handler): Pending triggers are now automatically managed.
14372 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14373 Remove argument.
14374 (gdb-input): Automatically handles pending triggers. Update docstring.
14375 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14376 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14377 Update comments.
14378 (gdb-done-or-error): Now use gdb-handle-reply.
14379
14380 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14381
14382 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14383 gdb-debug-log.
14384
14385 2013-05-14 Glenn Morris <rgm@gnu.org>
14386
14387 * subr.el (user-emacs-directory-warning): New option.
14388 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14389
14390 2013-05-14 Leo Liu <sdl.web@gmail.com>
14391
14392 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14393 during redisplay.
14394 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14395 (octave-font-lock-texinfo-comment): Fix invalid search bound
14396 error: wrong side of point.
14397
14398 2013-05-14 Glenn Morris <rgm@gnu.org>
14399
14400 * progmodes/flymake.el (flymake-xml-program): New option.
14401 (flymake-xml-init): Use it.
14402
14403 * term/xterm.el: Provide a feature.
14404
14405 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14406
14407 2013-05-13 Glenn Morris <rgm@gnu.org>
14408
14409 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14410 Add compat aliases as a hack workaround. (Bug#14384)
14411
14412 2013-05-13 Leo Liu <sdl.web@gmail.com>
14413
14414 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14415 ###, and %!.
14416 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14417 C-M-q.
14418 (octave-comment-start-skip): Include %!.
14419 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14420
14421 2013-05-12 Leo Liu <sdl.web@gmail.com>
14422
14423 * progmodes/octave.el (inferior-octave-startup): Store the value
14424 of __octave_srcdir__ for octave-source-directories.
14425 (inferior-octave-check-process): New function refactored out of
14426 inferior-octave-send-list-and-digest.
14427 (octave-source-directories)
14428 (octave-find-definition-filename-function): New variables.
14429 (octave-source-directories)
14430 (octave-find-definition-default-filename): New functions.
14431 (octave-find-definition): Improve to find functions implemented in C++.
14432
14433 2013-05-12 Glenn Morris <rgm@gnu.org>
14434
14435 * calendar/diary-lib.el (diary-outlook-format-1):
14436 Don't include dayname in the output. (Bug#14349)
14437
14438 2013-05-11 Glenn Morris <rgm@gnu.org>
14439
14440 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14441
14442 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14443 Treat cc-provide like provide.
14444
14445 2013-05-11 Kevin Ryde <user42@zip.com.au>
14446
14447 * cus-dep.el (custom-make-dependencies):
14448 Use generated-autoload-load-name for the sake of files such
14449 such cedet/semantic/bovine/c.el, where the base file name
14450 is not in load-path. (Bug#5277)
14451
14452 2013-05-11 Glenn Morris <rgm@gnu.org>
14453
14454 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14455 Provide features.
14456
14457 2013-05-11 Leo Liu <sdl.web@gmail.com>
14458
14459 * progmodes/octave.el (octave-indent-comment): Improve.
14460 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14461 (octave-eldoc-function-signatures, octave-eldoc-function):
14462 New functions.
14463 (octave-mode, inferior-octave-mode): Add eldoc support.
14464
14465 2013-05-11 Richard Stallman <rms@gnu.org>
14466
14467 * epa.el (epa-decrypt-file): Take output file name as argument
14468 and read it using `interactive'.
14469
14470 2013-05-11 Leo Liu <sdl.web@gmail.com>
14471
14472 * progmodes/octave.el (octave-beginning-of-line)
14473 (octave-end-of-line): Check before using up-list because it jumps
14474 out of more syntactic contructs since moving to smie.
14475 (octave-indent-comment): New function.
14476 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14477 (octave-begin-keywords, octave-end-keywords)
14478 (octave-reserved-words, octave-smie-bnf-table)
14479 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14480
14481 2013-05-11 Glenn Morris <rgm@gnu.org>
14482
14483 * faces.el (internal-face-x-get-resource):
14484 * frame.el (ns-display-monitor-attributes-list):
14485 * calc/calc-aent.el (math-to-radians-2):
14486 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14487 Fix declarations.
14488
14489 * calc/calc-menu.el: Make it loadable in isolation.
14490
14491 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14492 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14493 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14494 (eudc-bbdb-query-internal): Require 'bbdb.
14495
14496 * lpr.el (lpr-headers-switches):
14497 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14498
14499 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14500
14501 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14502
14503 * term.el (term-set-escape-char): Make it idempotent.
14504
14505 2013-05-10 Leo Liu <sdl.web@gmail.com>
14506
14507 * progmodes/octave.el (inferior-octave-completion-table):
14508 No longer a function and all uses changed. Use cache to speed up
14509 completion due to bug#11906.
14510 (octave-beginning-of-defun): Re-write to be more general.
14511
14512 2013-05-10 Glenn Morris <rgm@gnu.org>
14513
14514 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14515
14516 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * comint.el (comint-redirect-send-command-to-process): Use :around
14519 rather than :override for comint-redirect-filter.
14520 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14521 Call it instead of comint-redirect-original-filter-function (which
14522 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14523
14524 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14525
14526 * frame.el (display-monitor-attributes-list): Add NS case.
14527 (ns-display-monitor-attributes-list): Declare.
14528
14529 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14530
14531 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14532
14533 2013-05-09 Glenn Morris <rgm@gnu.org>
14534
14535 * international/fontset.el (vertical-centering-font-regexp):
14536 Set standard-value.
14537
14538 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14539
14540 * bookmark.el (bookmark-search-delay):
14541 * cus-start.el (vertical-centering-font-regexp):
14542 * ps-mule.el (ps-mule-font-info-database-default):
14543 * ps-print.el (ps-default-fg, ps-default-bg):
14544 * type-break.el (type-break-good-break-interval):
14545 * whitespace.el (whitespace-indentation-regexp)
14546 (whitespace-space-after-tab-regexp):
14547 * emacs-lisp/testcover.el (testcover-1value-functions)
14548 (testcover-noreturn-functions, testcover-progn-functions)
14549 (testcover-prog1-functions):
14550 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14551 * eshell/em-glob.el (eshell-glob-translate-alist):
14552 * play/tetris.el (tetris-tty-colors):
14553 * progmodes/cpp.el (cpp-face-default-list):
14554 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14555 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14556 (idlwave-help-browser-generic-args):
14557 * progmodes/make-mode.el (makefile-special-targets-list):
14558 * progmodes/python.el (python-shell-virtualenv-path):
14559 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14560 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14561 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14562 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14563 * textmodes/reftex-vars.el (reftex-format-label-function):
14564 * textmodes/remember.el (remember-diary-file): Fix custom types.
14565
14566 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14567 Add :version.
14568
14569 2013-05-09 Leo Liu <sdl.web@gmail.com>
14570
14571 * progmodes/octave.el (inferior-octave-completion-at-point):
14572 Restore file completion. (Bug#14300)
14573 (inferior-octave-startup): Fix incorrect highlighting for the
14574 first prompt.
14575
14576 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * progmodes/ruby-mode.el: First cut at SMIE support.
14579 (ruby-use-smie): New var.
14580 (ruby-smie-grammar): New constant.
14581 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14582 (ruby-smie--forward-token, ruby-smie--backward-token)
14583 (ruby-smie-rules): New functions.
14584 (ruby-mode-variables): Setup SMIE if applicable.
14585
14586 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14587
14588 * simple.el (line-move-visual): Signal beginning/end of buffer
14589 only if vertical-motion moved less than it was requested. Avoids
14590 silly incorrect error messages when there are display strings with
14591 multiple newlines at EOL.
14592
14593 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14594
14595 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14596 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14597 (prolog-char-quote-workaround):
14598 * progmodes/cperl-mode.el (cperl-under-as-char):
14599 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14600 Mark as obsolete.
14601 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14602 their declaration.
14603 (vhdl-mode-syntax-table-init): Remove.
14604
14605 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14606 last change.
14607
14608 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14609 syntax for "_".
14610 (ld-script-font-lock-keywords):
14611 Change regexps to use things like \_< and \_>.
14612
14613 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14614 Change all regexps to use things like \_< and \_>.
14615
14616 * progmodes/autoconf.el (autoconf-definition-regexp)
14617 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14618 Handle a _ with symbol syntax.
14619 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14620
14621 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14622 Consolidate declaration.
14623 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14624 the declaration.
14625 (ada-create-syntax-table): Remove.
14626 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14627 already has the right syntax nowadays.
14628 (ada-goto-next-word): Don't change the syntax of "_".
14629
14630 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14631 with-wrapper-hook.
14632
14633 2013-05-08 Sam Steingold <sds@gnu.org>
14634
14635 * thingatpt.el (thing-at-point): Accept optional second argument
14636 NO-PROPERTIES to strip the text properties from the return value.
14637 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14638 to `thing-at-point' instead of stripping the properties ourselves.
14639 Also, when `thing-at-point' fails to find a url, prepend "http://"
14640 to the filename at point on the assumption that the user is
14641 pointing at something like gnu.org/gnu.
14642
14643 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14644
14645 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14646 * faces.el (crm-separator):
14647 Silence byte-compiler.
14648
14649 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14650 (tool-bar-map): Remove unneeded defvars.
14651
14652 2013-05-08 Leo Liu <sdl.web@gmail.com>
14653
14654 Re-work a fix for bug#10994 based on Le Wang's patch.
14655 * ido.el (ido-remove-consecutive-dups): New helper.
14656 (ido-completing-read): Use it.
14657 (ido-chop): Revert fix for bug#10994.
14658
14659 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14660
14661 * cus-edit.el (custom-save-variables):
14662 Pretty-print long values. (Bug#14187)
14663
14664 2013-05-08 Glenn Morris <rgm@gnu.org>
14665
14666 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14667 (m4-mode-syntax-table): Init in the defvar.
14668 (m4-mode-abbrev-table): Let define-derived-mode define it.
14669
14670 2013-05-08 Tom Tromey <tromey@redhat.com>
14671
14672 * progmodes/m4-mode.el (m4-mode-syntax-table):
14673 Do not treat "_" as word constituent. (Bug#14167)
14674
14675 2013-05-07 Glenn Morris <rgm@gnu.org>
14676
14677 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14678 Remove explicit eshell-isearch-cancel-map.
14679
14680 * progmodes/f90.el (f90-smart-end-names): New option.
14681 (f90-smart-end): Doc fix.
14682 (f90-end-block-optional-name): New constant.
14683 (f90-block-match): Respect f90-smart-end-names.
14684
14685 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14686
14687 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14688 about implicit semi-colons (bug#14218).
14689
14690 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14691
14692 * frame.el (display-monitor-attributes-list)
14693 (frame-monitor-attributes): New functions.
14694
14695 2013-05-06 Leo Liu <sdl.web@gmail.com>
14696
14697 * progmodes/octave.el (octave-syntax-propertize-function): Change
14698 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14699 (octave-font-lock-keywords): Use octave-operator-regexp.
14700 (octave-completion-at-point): Rename from
14701 octave-completion-at-point-function.
14702 (inferior-octave-directory-tracker): Robustify.
14703 (octave-text-functions): Remove and fix its uses. No such things
14704 any more.
14705
14706 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * emacs-lisp/trace.el (trace--display-buffer): New function.
14709 (trace-make-advice): Use it.
14710
14711 2013-05-06 Juri Linkov <juri@jurta.org>
14712
14713 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14714 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14715 Doc fix.
14716 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14717 in the help string. (Bug#12985)
14718
14719 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14720
14721 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14722
14723 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14724
14725 * progmodes/perl-mode.el: Add support for here documents.
14726 (perl-syntax-propertize-function): Match here-doc markers.
14727 (perl-syntax-propertize-special-constructs): Find their end.
14728 (perl-imenu-generic-expression): Use [:alnum:].
14729
14730 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14731 (advice--add-function): Refresh the advice if already present
14732 (bug#14317).
14733
14734 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14735
14736 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14737
14738 2013-05-06 Glenn Morris <rgm@gnu.org>
14739
14740 * w32-fns.el (w32-charset-info-alist): Declare.
14741
14742 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14743 of its defcustom properties.
14744 (eshell-cmpl-initialize): No need to load pcomplete.
14745
14746 * generic-x.el: No need to require comint when compiling.
14747
14748 * net/eudc-export.el: Make it loadable without bbdb.
14749 (top-level): Use require rather than load-library.
14750 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14751 (eudc-batch-export-records-to-bbdb)
14752 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14753 Require bbdb.
14754
14755 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14758 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14759 some tweaks, instead.
14760
14761 2013-05-05 Leo Liu <sdl.web@gmail.com>
14762
14763 * progmodes/octave.el (octave-font-lock-keywords)
14764 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14765 (inferior-octave-send-list-and-digest): Improve error message.
14766 (octave-mode, inferior-octave-mode): Use setq-local.
14767 (octave-help): Set info-lookup-mode.
14768
14769 2013-05-05 Richard Stallman <rms@gnu.org>
14770
14771 * vc/compare-w.el (compare-windows-whitespace):
14772 Treat no-break space as whitespace.
14773
14774 * mail/rmailsum.el (rmail-summary-rmail-update):
14775 Detect empty summary and don't change selected message.
14776 (rmail-summary-goto-msg): Likewise.
14777
14778 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14779 Doc fixes, rename args.
14780
14781 2013-05-05 Alan Mackenzie <acm@muc.de>
14782
14783 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14784
14785 2013-05-05 Juri Linkov <juri@jurta.org>
14786
14787 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14788 to not add the length of the summary segment to the return value.
14789 (Bug#14125)
14790
14791 2013-05-05 Leo Liu <sdl.web@gmail.com>
14792
14793 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14794 (inferior-octave-output-filter): Remove.
14795 (octave-send-region, inferior-octave-startup): Fix callers.
14796 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14797 (octave-binary-file-extensions): New user variable.
14798 (octave-find-definition): Confirm if opening binary files.
14799 (octave-help-file): Use octave-find-definition to get the binary
14800 confirmation.
14801 (octave-help): Adjust for octave-help-file change.
14802
14803 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14804
14805 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14806 Merge the two entries that handle function definitions.
14807 (pascal--syntax-propertize): New const.
14808 (pascal-mode): Use it. Use setq-local.
14809
14810 2013-05-04 Glenn Morris <rgm@gnu.org>
14811
14812 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14813 (diary-from-outlook): Respect diary-from-outlook-function.
14814
14815 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14818 Move the declaration from C.
14819 (read-minibuffer, eval-minibuffer): Move from C.
14820 (completion-setup-function): Avoid minibuffer-completion-contents.
14821
14822 2013-05-03 Leo Liu <sdl.web@gmail.com>
14823
14824 * progmodes/octave.el (octave-font-lock-keywords): Do not
14825 dehighlight 'end' in comments or strings.
14826 (octave-completing-read, octave-goto-function-definition):
14827 New helpers.
14828 (octave-help-buffer): New user variable.
14829 (octave-help-file, octave-help-function): New button types.
14830 (octave-help): New command and bind it to C-h ;.
14831 (octave-find-definition): New command and bind it to M-.
14832 (user-error): Alias to error if not defined.
14833
14834 2013-05-02 Leo Liu <sdl.web@gmail.com>
14835
14836 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14837 for \. (bug#14332)
14838 (octave-font-lock-keywords): Include [ and {.
14839
14840 2013-05-02 Leo Liu <sdl.web@gmail.com>
14841
14842 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14843 (inferior-octave): Remove calling comint-mode and return the buffer.
14844 (inferior-octave-startup): Cosmetic changes.
14845
14846 2013-05-02 Leo Liu <sdl.web@gmail.com>
14847
14848 * progmodes/octave.el (octave-syntax-propertize-function):
14849 Include the case when ' is at line beginning. (Bug#14336)
14850
14851 2013-05-02 Glenn Morris <rgm@gnu.org>
14852
14853 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14854 * desktop.el (vc-dir-mode): Just autoload it here.
14855
14856 2013-05-02 Alan Mackenzie <acm@muc.de>
14857
14858 Eliminate variable c-standard-font-lock-fontify-region-function.
14859 * progmodes/cc-mode.el
14860 (c-standard-font-lock-fontify-region-function): Remove.
14861 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14862
14863 2013-05-01 Leo Liu <sdl.web@gmail.com>
14864
14865 * progmodes/octave.el: Compatible with older emacs-24 releases.
14866 (inferior-octave-has-built-in-variables): Remove. Built-in
14867 variables were removed from Octave in 2007.
14868 (inferior-octave-startup): Fix uses.
14869 (comint-line-beginning-position): Remove compatibility code for
14870 emacs 21.
14871
14872 2013-05-01 Juri Linkov <juri@jurta.org>
14873
14874 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14875
14876 2013-05-01 Juri Linkov <juri@jurta.org>
14877
14878 * comint.el (comint-previous-matching-input): Don't print message
14879 "History item: %d" when `isearch-mode' is active.
14880 (comint-history-isearch-message): Print message "History item: %d"
14881 when `comint-input-ring-index' is not empty and this function is
14882 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14883
14884 2013-05-01 Leo Liu <sdl.web@gmail.com>
14885
14886 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14887 definitions. Use completion-at-point to insert keywords.
14888 (octave-abbrev-start): Remove.
14889 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14890
14891 2013-04-30 Leo Liu <sdl.web@gmail.com>
14892
14893 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14894 change.
14895
14896 2013-04-30 Alan Mackenzie <acm@muc.de>
14897
14898 Handle arbitrarily long C++ member initialisation lists.
14899 * progmodes/cc-engine.el (c-back-over-member-initializers):
14900 new function.
14901 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14902 (most) member init lists.
14903
14904 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14905
14906 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14907 variable.
14908
14909 2013-04-30 Leo Liu <sdl.web@gmail.com>
14910
14911 * progmodes/octave.el (octave-variables): Remove. No builtin
14912 variables any more. All converted to functions.
14913 (octave-font-lock-keywords, octave-completion-at-point-function):
14914 Fix uses.
14915 (octave-font-lock-texinfo-comment): New user variable.
14916 (octave-texinfo-font-lock-keywords): New variable for texinfo
14917 comment block.
14918 (octave-function-comment-block): New face.
14919 (octave-font-lock-texinfo-comment): New function.
14920 (octave-mode): Font lock texinfo comment block.
14921
14922 2013-04-29 Leo Liu <sdl.web@gmail.com>
14923
14924 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14925 indexing expression.
14926 (octave-continuation-string): Do not use \.
14927 (inferior-octave-complete-impossible): Remove.
14928 (inferior-octave-completion-table)
14929 (inferior-octave-completion-at-point): Remove its uses.
14930 (inferior-octave-startup): completion_matches was introduced to
14931 Octave in 1996 so safe to assume it.
14932 (octave-function-file-comment): Improve to follow how Octave does it.
14933 (octave-update-function-file-comment): Tweak.
14934
14935 2013-04-29 Leo Liu <sdl.web@gmail.com>
14936
14937 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14938 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14939 (octave-function-file-comment): Fix typo.
14940 (octave-sync-function-file-names): Use read-char-choice.
14941
14942 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14943
14944 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14945 to t for the less important warnings.
14946
14947 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14948
14949 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14950
14951 2013-04-27 Glenn Morris <rgm@gnu.org>
14952
14953 * vc/log-view.el (log-view-current-entry):
14954 Treat "---" separator lines as part of the following rev. (Bug#14169)
14955
14956 2013-04-27 Juri Linkov <juri@jurta.org>
14957
14958 * subr.el (read-number): Doc fix about using it by interactive
14959 code letter `n'. (Bug#14254)
14960
14961 2013-04-27 Juri Linkov <juri@jurta.org>
14962
14963 * desktop.el (desktop-auto-save-timeout): New option.
14964 (desktop-file-checksum): New variable.
14965 (desktop-save): Add optional arg `auto-save' and don't auto-save
14966 if nothing changed.
14967 (desktop-auto-save-timer): New variable.
14968 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14969 (after-init-hook): Call `desktop-auto-save-set-timer'.
14970 Suggested by Reuben Thomas <rrt@sc3d.org> in
14971 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14972
14973 2013-04-27 Leo Liu <sdl.web@gmail.com>
14974
14975 * progmodes/octave.el (octave-function-file-p)
14976 (octave-skip-comment-forward, octave-function-file-comment)
14977 (octave-update-function-file-comment): New functions.
14978 (octave-mode-map): Bind C-c ; to
14979 octave-update-function-file-comment.
14980 (octave-mode-menu): Add octave-update-function-file-comment.
14981 (octave-mode, inferior-octave-mode): Fix doc-string.
14982 (octave-insert-defun): Conform to Octave's coding convention.
14983 (Bug#14285)
14984
14985 * files.el (basic-save-buffer): Don't let errors in
14986 before-save-hook prevent saving buffer.
14987
14988 2013-04-20 Roland Winkler <winkler@gnu.org>
14989
14990 * faces.el (read-face-name): Use completing-read if arg multiple
14991 is nil.
14992
14993 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14994
14995 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14996 displayed, move point to after the totals line.
14997 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14998 for the details.
14999
15000 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15003 Add current dir to the load-path.
15004 (package-generate-autoloads): Don't rely on
15005 autoload-ensure-default-file.
15006
15007 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15008
15009 * textmodes/remember.el (remember-store-in-files): Document that
15010 the file name format is passed to `format-time-string'.
15011
15012 2013-04-26 Leo Liu <sdl.web@gmail.com>
15013
15014 * progmodes/octave.el (octave-sync-function-file-names): New function.
15015 (octave-mode): Use it in before-save-hook.
15016
15017 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15020 (bug#14274).
15021
15022 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15023 \n and comment, even if it's not an implicit ; (bug#14218).
15024
15025 2013-04-26 Glenn Morris <rgm@gnu.org>
15026
15027 * subr.el (read-number): Once more use `read' rather than
15028 `string-to-number', to trap non-numeric input. (Bug#14254)
15029
15030 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15031
15032 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15033 Use `syntax-multiline' text property consistently instead of
15034 `font-lock-multiline'. (Bug#14237)
15035
15036 2013-04-26 Glenn Morris <rgm@gnu.org>
15037
15038 * emacs-lisp/shadow.el (list-load-path-shadows):
15039 No longer necessary to check for duplicate simple.el, since
15040 2012-07-07 change to init_lread to not include installation lisp
15041 directories in load-path when running uninstalled. (Bug#14270)
15042
15043 2013-04-26 Leo Liu <sdl.web@gmail.com>
15044
15045 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15046 (octave-mode, inferior-octave-mode): Use setq-local.
15047 (octave-not-in-string-or-comment-p): Rename to
15048 octave-in-string-or-comment-p.
15049 (octave-in-comment-p, octave-in-string-p)
15050 (octave-in-string-or-comment-p): Replace defsubst with defun.
15051
15052 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15053
15054 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15055
15056 2013-04-25 Bastien Guerry <bzg@gnu.org>
15057
15058 * textmodes/remember.el (remember-data-directory)
15059 (remember-directory-file-name-format): Fix custom types.
15060
15061 2013-04-25 Leo Liu <sdl.web@gmail.com>
15062
15063 * progmodes/octave.el (octave-completion-at-point-function):
15064 Make use of inferior octave process.
15065 (octave-initialize-completions): Remove.
15066 (inferior-octave-completion-table): New function.
15067 (inferior-octave-completion-at-point): Use it.
15068 (octave-completion-alist): Remove.
15069
15070 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15071
15072 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15073 (opascal-mode-syntax-table): New var.
15074 (opascal-literal-kind, opascal-is-literal-end)
15075 (opascal-literal-token-at): Rewrite.
15076 (opascal--literal-start-re, opascal-font-lock-keywords)
15077 (opascal--syntax-propertize): New constants.
15078 (opascal-font-lock-defaults): Adjust.
15079 (opascal-mode): Use them. Set comment-<foo> variables as well.
15080 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15081 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15082 (delphi-other-face, opascal-other-face): Remove face variables.
15083 (opascal-save-state): Remove macro.
15084 (opascal-fontifying-progress-step): Remove constant.
15085 (opascal--ignore-changes): Remove var.
15086 (opascal-set-token-property, opascal-parse-next-literal)
15087 (opascal-is-stable-literal, opascal-complete-literal)
15088 (opascal-is-literal-start, opascal-face-of)
15089 (opascal-parse-region, opascal-parse-region-until-stable)
15090 (opascal-fontify-region, opascal-after-change)
15091 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15092 (opascal-debug-parse-region, opascal-debug-parse-window)
15093 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15094 (opascal-debug-fontify-buffer): Remove.
15095 (opascal-debug-mode-map): Adjust accordingly.
15096
15097 2013-04-25 Leo Liu <sdl.web@gmail.com>
15098
15099 Merge octave-mod.el and octave-inf.el into octave.el with some
15100 cleanups.
15101 * progmodes/octave.el: New file renamed from octave-mod.el.
15102 * progmodes/octave-inf.el: Merged into octave.el.
15103 * progmodes/octave-mod.el: Renamed to octave.el.
15104
15105 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15106
15107 * textmodes/reftex-vars.el
15108 (reftex-label-ignored-macros-and-environments): New defcustom.
15109
15110 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15111
15112 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15113
15114 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15115 (smie-indent-keyword): Improve the check to ensure that the next
15116 comment is really on the same line.
15117 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15118
15119 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15120 semi-colons if the line is not otherwise empty (bug#14218).
15121
15122 2013-04-25 Glenn Morris <rgm@gnu.org>
15123
15124 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15125
15126 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15127
15128 * progmodes/opascal.el (opascal-set-token-property): Rename from
15129 opascal-set-text-properties and only set `token' (bug#14134).
15130 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15131 (opascal-literal-text-properties): Remove.
15132 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15133 Adjust callers.
15134
15135 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15136
15137 * textmodes/remember.el (remember-handler-functions): Add an
15138 option for a new handler `remember-store-in-files'.
15139 (remember-data-directory, remember-directory-file-name-format):
15140 New options.
15141 (remember-store-in-files): New function to store remember notes
15142 as separate files within a directory.
15143
15144 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15145
15146 * progmodes/compile.el (compilation-next-error-function):
15147 Pass "formats" to compilation-find-file (bug#11777).
15148
15149 2013-04-24 Glenn Morris <rgm@gnu.org>
15150
15151 * vc/vc-bzr.el (vc-bzr-print-log):
15152 * vc/vc-hg.el (vc-hg-print-log):
15153 * vc/vc-svn.el (vc-svn-print-log):
15154 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15155
15156 * vc/vc-bzr.el (vc-bzr-print-log):
15157 * vc/vc-cvs.el (vc-cvs-print-log):
15158 * vc/vc-git.el (vc-git-print-log):
15159 * vc/vc-hg.el (vc-hg-print-log):
15160 * vc/vc-mtn.el (vc-mtn-print-log):
15161 * vc/vc-rcs.el (vc-rcs-print-log):
15162 * vc/vc-sccs.el (vc-sccs-print-log):
15163 * vc/vc-svn.el (vc-svn-print-log):
15164 * vc/vc.el (vc-print-log-internal): Doc fixes.
15165
15166 2013-04-23 Glenn Morris <rgm@gnu.org>
15167
15168 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15169 Remove venerable code attempting to avoid substitute-command-keys.
15170
15171 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15172
15173 * textmodes/reftex-vars.el (reftex-label-regexps):
15174 Call `reftex-compile-variables' after changes to this variable.
15175
15176 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15179 Use lexical-binding.
15180 (jit-lock-force-redisplay): Use markers, check buffer's continued
15181 existence and beware narrowed buffers.
15182 (jit-lock-fontify-now): Adjust call accordingly.
15183
15184 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15185
15186 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15187 to avoid misleading the user.
15188
15189 2013-04-22 Leo Liu <sdl.web@gmail.com>
15190
15191 * info-look.el: Prefer latex2e.info. (Bug#14240)
15192
15193 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15194
15195 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15196
15197 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15198 * net/tramp.el (tramp-call-process): ... here.
15199 (tramp-set-completion-function, tramp-parse-putty):
15200 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15201 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15202 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15203 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15204 (tramp-call-local-coding-command): Use `tramp-call-process'
15205 instead of `tramp-compat-call-process'.
15206
15207 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15208 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15209 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15210 (tramp-find-inline-compress): Improve traces.
15211 (tramp-maybe-send-script): Check for Perl binary.
15212 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15213
15214 2013-04-22 Daiki Ueno <ueno@gnu.org>
15215
15216 * epg.el (epg-context-pinentry-mode): New function.
15217 (epg-context-set-pinentry-mode): New function.
15218 (epg--start): Pass --pinentry-mode option to gpg command.
15219
15220 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15221
15222 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15223 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15224 `completion-at-point'. (Bug#13774)
15225
15226 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15227 default key binding for `describe-distribution' has been moved to
15228 `C-h C-o'. (Bug#13970)
15229
15230 2013-04-21 Glenn Morris <rgm@gnu.org>
15231
15232 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15233 Add doc strings.
15234 (vc-print-log): Clarify interactive prompt.
15235
15236 2013-04-20 Glenn Morris <rgm@gnu.org>
15237
15238 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15239 No longer include timestamp etc information.
15240
15241 2013-04-20 Roland Winkler <winkler@gnu.org>
15242
15243 * faces.el (read-face-name): Bug fix, return just one face if arg
15244 multiple is nil. (Bug#14209)
15245
15246 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15249 (remove-function): Autoload.
15250
15251 * comint.el (comint-redirect-original-filter-function): Remove.
15252 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15253 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15254 (vc-cvs-annotate-command):
15255 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15256 * progmodes/prolog.el (prolog-consult-compile):
15257 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15258 Use add/remove-function instead.
15259 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15260 (gud-tooltip-process-output, gud-tooltip-tips):
15261 Use add/remove-function instead.
15262 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15263 (scheme-interaction-mode, exit-scheme-interaction-mode):
15264 Use add/remove-function instead.
15265
15266 * vc/vc-dispatcher.el: Use lexical-binding.
15267 (vc--process-sentinel): Rename from vc-process-sentinel.
15268 Change last arg to be the code to run. Don't use vc-previous-sentinel
15269 and vc-sentinel-commands any more.
15270 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15271 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15272
15273 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15274
15275 * progmodes/sh-script.el (sh-imenu-generic-expression):
15276 Handle function names with a single character. (Bug#14111)
15277
15278 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15279
15280 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15281 for subroutines defined in an eval (bug#14182).
15282
15283 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15284
15285 * bookmark.el (bookmark-completing-read): Improve handling of empty
15286 string (bug#14176).
15287
15288 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15289
15290 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15291
15292 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15293
15294 New faster Imenu implementation (bug#14058).
15295 * progmodes/python.el (python-imenu-prev-index-position)
15296 (python-imenu-format-item-label-function)
15297 (python-imenu-format-parent-item-label-function)
15298 (python-imenu-format-parent-item-jump-label-function):
15299 New vars.
15300 (python-imenu-format-item-label)
15301 (python-imenu-format-parent-item-label)
15302 (python-imenu-format-parent-item-jump-label)
15303 (python-imenu--put-parent, python-imenu--build-tree)
15304 (python-imenu-create-index, python-imenu-create-flat-index)
15305 (python-util-popn): New functions.
15306 (python-mode): Set imenu-create-index-function to
15307 python-imenu-create-index.
15308
15309 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15310
15311 * winner.el (winner-active-region): Use region-active-p, activate-mark
15312 and deactivate-mark (bug#14225).
15313
15314 * simple.el (deactivate-mark): Don't inline it.
15315
15316 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15317
15318 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15319
15320 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15321
15322 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15323 file extensions from the archive-mode entry in order to prefer
15324 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15325
15326 2013-04-18 Leo Liu <sdl.web@gmail.com>
15327
15328 * bindings.el (help-event-list): Add ?\?.
15329
15330 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15331
15332 * subr.el (with-wrapper-hook): Declare obsolete.
15333 * simple.el (filter-buffer-substring-function): New hook.
15334 (filter-buffer-substring): Use it.
15335 (filter-buffer-substring-functions): Mark obsolete.
15336 * minibuffer.el (completion-in-region-function): New hook.
15337 (completion-in-region): Use it.
15338 (completion-in-region-functions): Mark obsolete.
15339 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15340 * abbrev.el (abbrev-expand-function): New hook.
15341 (expand-abbrev): Use it.
15342 (abbrev-expand-functions): Mark obsolete.
15343 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15344 and :filter-return.
15345
15346 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15347
15348 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15349 and do not care about match data.
15350
15351 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15352
15353 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15354 completion tables when completing error conditions and
15355 `declare' arguments.
15356 (lisp-complete-symbol, field-complete): Mark as obsolete.
15357 (check-parens): Unmatched parens are user errors.
15358 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15359
15360 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15361
15362 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15363 command changed buffer (ie. `flyspell-pre-buffer' is not current
15364 buffer), which prevents making decisions based on invalid value of
15365 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15366 cause an error when `flyspell-pre-point' was nil after switching
15367 buffers.
15368 (flyspell-post-command-hook): No longer needs to change buffers when
15369 checking pre-word. While at it remove unnecessary progn.
15370
15371 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15372
15373 * textmodes/ispell.el (ispell-add-per-file-word-list):
15374 Fix `flyspell-correct-word-before-point' error when accepting
15375 words and `coment-padding' is an integer by using
15376 `comment-normalize-vars' (Bug #14214).
15377
15378 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15379
15380 New defun movement commands.
15381 * progmodes/python.el (python-nav--syntactically)
15382 (python-nav--forward-defun, python-nav-backward-defun)
15383 (python-nav-forward-defun): New functions.
15384
15385 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15386
15387 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15388 (python-syntax-context): Use named compiler-macro for backwards
15389 compatibility with Emacs 24.x.
15390
15391 2013-04-17 Leo Liu <sdl.web@gmail.com>
15392
15393 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15394 octave-hide-process-buffer.
15395
15396 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15399 (bug#14216).
15400
15401 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15402
15403 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15404 Fix adjustment of offset when receiving incomplete responses from GDB
15405 (bug#14129).
15406
15407 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15408
15409 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15410 python-mode-abbrev-table.
15411 (python-skeleton-define): Adjust accordingly.
15412 (python-mode-abbrev-table): New table that inherits from it so that
15413 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15414
15415 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15416 (abbrev-symbol): Use it.
15417 (abbrev--before-point): Use it since we already handle inheritance.
15418
15419 2013-04-16 Leo Liu <sdl.web@gmail.com>
15420
15421 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15422 binding to info-lookup-symbol.
15423
15424 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15425
15426 * minibuffer.el (completion--twq-all):
15427 * term/ns-win.el (ns-initialize-window-system):
15428 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15429
15430 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15431
15432 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15433 global bindings.
15434
15435 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15436
15437 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15438
15439 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15440 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15441 to nil.
15442 (ruby-end-of-defun): Remove the unused arg, change the docstring
15443 to reflect that this function is only used as the value of
15444 `end-of-defun-function'.
15445 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15446 to reflect an earlier change that beginning/end-of-defun functions
15447 jump between methods in a class definition, as well as top-level
15448 functions.
15449
15450 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15451
15452 * minibuffer.el (minibuffer-complete): Don't just scroll
15453 a *Completions* that's been iconified.
15454 (minibuffer-force-complete): Make sure repetitions do cycle when going
15455 through completion-in-region -> minibuffer-complete.
15456
15457 2013-04-15 Alan Mackenzie <acm@muc.de>
15458
15459 Correct the placement of c-cpp-delimiters when there're #s not at
15460 col 0.
15461
15462 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15463 place a submatch around the #.
15464 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15465 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15466 on the #, not BOL.
15467
15468 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15471 (advice--member-p): New arg `name'.
15472 (advice--add-function, advice-member-p): Use it (bug#14202).
15473
15474 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15475
15476 Reformulate java imenu-generic-expression.
15477 The old expression contained ill formed regexps.
15478
15479 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15480 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15481 (cc-imenu-java-method-arg-regexp): New defconsts.
15482 (cc-imenu-java-build-type-args-regex): New defun.
15483 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15484 handling of spaces in the regexp.
15485
15486 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15487
15488 * textmodes/ispell.el (ispell-command-loop): Remove
15489 flyspell highlight of a word when ispell accepts it (bug #14178).
15490
15491 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15492
15493 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15494 uses code from the previous `ange-ftp-run-real-handler'.
15495 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15496 only in case that function exist. This is needed for proper
15497 unloading of Tramp.
15498
15499 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15500
15501 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15502
15503 * textmodes/reftex.el (reftex-compile-variables): Use it.
15504
15505 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15506
15507 * files.el (normal-mode): Only use default major-mode if no other mode
15508 was specified.
15509
15510 * emacs-lisp/trace.el (trace-values): New function.
15511
15512 * files.el: Allow : in local variables (bug#14089).
15513 (hack-local-variable-regexp): New var.
15514 (hack-local-variables-prop-line, hack-local-variables): Use it.
15515
15516 2013-04-13 Roland Winkler <winkler@gnu.org>
15517
15518 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15519 data before it gets modified by bibtex-beginning-of-entry.
15520
15521 2013-04-13 Roland Winkler <winkler@gnu.org>
15522
15523 * textmodes/bibtex.el (bibtex-url): Doc fix.
15524
15525 2013-04-13 Roland Winkler <winkler@gnu.org>
15526
15527 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15528 does not visit a BibTeX file, exclude it from the list of buffers
15529 returned by bibtex-initialize.
15530
15531 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15532
15533 * window.el (split-window): Remove interactive form, since as a
15534 command this function is a special case of split-window-below.
15535 Correct doc string.
15536
15537 2013-04-12 Roland Winkler <winkler@gnu.org>
15538
15539 * faces.el (read-face-name): Do not override value of arg default.
15540 Allow single faces and strings as default values. Remove those
15541 elements from return value that are not faces.
15542 (describe-face): Simplify.
15543 (face-at-point): New optional args thing and multiple so that this
15544 function can provide the same functionality previously provided by
15545 read-face-name.
15546 (make-face-bold, make-face-unbold, make-face-italic)
15547 (make-face-unitalic, make-face-bold-italic, invert-face)
15548 (modify-face, read-face-and-attribute): Use face-at-point.
15549
15550 * cus-edit.el (customize-face, customize-face-other-window)
15551 * cus-theme.el (custom-theme-add-face)
15552 * face-remap.el (buffer-face-set)
15553 * facemenu.el (facemenu-set-face): Use face-at-point.
15554
15555 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15556
15557 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15558
15559 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15560
15561 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15562 off leading { and trailing } from field values.
15563
15564 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * emacs-lisp/timer.el (timer--check): New function.
15567 (timer--time, timer-set-function, timer-event-handler): Use it.
15568 (timer-set-idle-time): Simplify.
15569 (timer--activate): CSE.
15570 (timer-event-handler): Give more info in error message.
15571 (internal-timer-start-idle): New function, moved from C.
15572
15573 * mpc.el (mpc-proc): Add `restart' argument.
15574 (mpc-proc-cmd): Use it.
15575 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15576 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15577 less often.
15578
15579 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15580
15581 * progmodes/sh-script.el: Implement `sh-mode' own
15582 `add-log-current-defun-function' (bug#14112).
15583 (sh-current-defun-name): New function.
15584 (sh-mode): Use the function.
15585
15586 2013-04-09 Bastien Guerry <bzg@gnu.org>
15587
15588 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15589
15590 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15591
15592 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15593
15594 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15595 timer (bug#14156).
15596
15597 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15598
15599 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15600 declaration.
15601
15602 2013-04-07 Leo Liu <sdl.web@gmail.com>
15603
15604 * pcmpl-x.el: New file.
15605
15606 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15607
15608 Do not set x-display-name until X connection is established.
15609 This is needed to prevent from weird situation described at
15610 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15611 * frame.el (make-frame): Set x-display-name after call to
15612 window system initialization function, not before.
15613 * term/x-win.el (x-initialize-window-system): Add optional
15614 display argument and use it.
15615 * term/w32-win.el (w32-initialize-window-system):
15616 * term/ns-win.el (ns-initialize-window-system):
15617 * term/pc-win.el (msdos-initialize-window-system):
15618 Add compatible optional display argument.
15619
15620 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15621
15622 * files.el (normal-backup-enable-predicate): On MS-Windows and
15623 MS-DOS compare truenames of temporary-file-directory and of the
15624 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15625 don't fail comparison by compare-strings. Also, compare file
15626 names case-insensitively on MS-Windows and MS-DOS.
15627
15628 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15631 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15632
15633 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15634
15635 * whitespace.el (whitespace-color-on, whitespace-color-off):
15636 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15637
15638 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15639
15640 * ispell.el (ispell-set-spellchecker-params):
15641 Really set `ispell-args' for all equivs.
15642
15643 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 * ido.el (ido-completions): Use extra elements of ido-decorations
15646 (bug#14143).
15647 (ido-decorations): Update docstring.
15648
15649 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15650
15651 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15652 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15653 nil during initialization, in order not to miss changes since the
15654 file was opened. (Bug#14140)
15655
15656 2013-04-05 Leo Liu <sdl.web@gmail.com>
15657
15658 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15659
15660 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15661
15662 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15663
15664 2013-04-04 Glenn Morris <rgm@gnu.org>
15665
15666 * electric.el (electric-pair-inhibit-predicate): Add :version.
15667
15668 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15669
15670 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15671 when a package is required several times (bug#14082).
15672
15673 2013-04-04 Roland Winkler <winkler@gnu.org>
15674
15675 * faces.el (read-face-name): Behave as promised by the docstring.
15676 Assume that arg default is a list of faces.
15677 (describe-face): Call read-face-name with list of default faces.
15678
15679 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15680
15681 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15682 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15683 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15684 the header.
15685 (bookmark-exit-hook-internal): Save even if list is empty.
15686
15687 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15688
15689 * emacs-lisp/package.el (package-pinned-packages): New var.
15690 (package--add-to-archive-contents): Obey it (bug#14118).
15691
15692 2013-04-03 Alan Mackenzie <acm@muc.de>
15693
15694 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15695 Also adapt to the new values of element 7 of a parse state.
15696
15697 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15698 parameter `not-in-delimiter'. Handle being inside comment opener.
15699 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15700 character in case we're typing a '*' after a '/'.
15701 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15702 instead by passing the parameter to c-state-pp-to-literal.
15703
15704 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15705 for elt. 7 of a parse state.
15706
15707 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15708
15709 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15710 * international/latin1-disp.el, international/mule-util.el:
15711 * language/cyril-util.el, language/european.el, language/ind-util.el:
15712 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15713 * language/tibetan.el, language/viet-util.el:
15714 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15715
15716 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15717
15718 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15719 (electric-pair-post-self-insert-function): Use it.
15720 (electric-pair-default-inhibit): New function, extracted from
15721 electric-pair-post-self-insert-function.
15722
15723 2013-03-31 Roland Winkler <winkler@gnu.org>
15724
15725 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15726
15727 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15730
15731 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15732
15733 Un-indent after "pass" and "return" statements (Bug#13888)
15734 * progmodes/python.el (python-indent-block-enders): New var.
15735 (python-indent-calculate-indentation): Use it.
15736
15737 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15738
15739 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15740 defun. Defining it as defalias could introduce too eager
15741 byte-compiler optimization. (Bug#14030)
15742
15743 2013-03-30 Chong Yidong <cyd@gnu.org>
15744
15745 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15746
15747 2013-03-30 Leo Liu <sdl.web@gmail.com>
15748
15749 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15750 (kmacro-execute-from-register): Pass the keyboard macro to
15751 kmacro-call-macro or repeating won't work correctly.
15752
15753 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15754
15755 * progmodes/subword.el: Back to using `forward-symbol'.
15756
15757 * subr.el (forward-whitespace, forward-symbol)
15758 (forward-same-syntax): Move from thingatpt.el.
15759
15760 2013-03-29 Leo Liu <sdl.web@gmail.com>
15761
15762 * kmacro.el (kmacro-to-register): New command.
15763 (kmacro-execute-from-register): New function.
15764 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15765
15766 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15767
15768 * mpc.el: Use defvar-local and setq-local.
15769 (mpc--proc-connect): Connection failures are not bugs.
15770 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15771 (mpc-volume-map): Bind to the up-events.
15772
15773 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15774
15775 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15776 instead of `forward-symbol'.
15777
15778 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15779
15780 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15781 (edebug--recursive-edit): Use it.
15782 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15783 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15784
15785 2013-03-28 Leo Liu <sdl.web@gmail.com>
15786
15787 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15788
15789 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15790
15791 * facemenu.el (list-colors-callback): New defvar.
15792 (list-colors-redisplay): New function.
15793 (list-colors-display): Install list-colors-redisplay as the
15794 revert-buffer-function. (Bug#14063)
15795
15796 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15797
15798 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15799 and suffixes don't overlap (bug#14061).
15800
15801 * case-table.el: Use lexical-binding.
15802 (case-table-get-table): New function.
15803 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15804
15805 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15806
15807 * progmodes/subword.el: Add `superword-mode' to do word motion
15808 over symbol_words (parallels and leverages `subword-mode' which
15809 does word motion inside MixedCaseWords).
15810
15811 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15812
15813 * eshell/em-unix.el: Move su and sudo to...
15814 * eshell/em-tramp.el: ...Eshell tramp module.
15815
15816 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15819 Change return value to be a sexp. Delay `get-buffer' to after
15820 restoring the desktop (bug#13951).
15821
15822 2013-03-26 Leo Liu <sdl.web@gmail.com>
15823
15824 * register.el: Move semantic tag handling back to
15825 cedet/semantic/senator.el. (Bug#14052)
15826
15827 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15828
15829 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15830 into the prompt either (bug#13963).
15831
15832 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15835 part of "(error-foo)".
15836
15837 2013-03-24 Juri Linkov <juri@jurta.org>
15838
15839 * replace.el (list-matching-lines-prefix-face): New defcustom.
15840 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15841 `occur-engine' if `face-differs-from-default-p' returns t.
15842 (occur-engine): Add `,' inside backquote construct to evaluate
15843 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15844 Pass `prefix-face' to the functions `occur-context-lines' and
15845 `occur-engine-add-prefix'.
15846 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15847 `prefix-face' and propertize the prefix with `prefix-face'.
15848 (Bug#14017)
15849
15850 2013-03-24 Leo Liu <sdl.web@gmail.com>
15851
15852 * nxml/rng-valid.el (rng-validate-while-idle)
15853 (rng-validate-quick-while-idle): Guard against deleted buffer.
15854 (Bug#13999)
15855
15856 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15857 is the last entry in kill-buffer-hook.
15858
15859 * files.el (kill-buffer-hook): Doc fix.
15860
15861 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15862
15863 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15864 Make it safe-local.
15865
15866 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15867
15868 2013-03-23 Leo Liu <sdl.web@gmail.com>
15869
15870 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15871 Remove.
15872
15873 * nxml/rng-valid.el (rng-validate-mode)
15874 (rng-after-change-function, rng-do-some-validation):
15875 * nxml/rng-maint.el (rng-validate-buffer):
15876 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15877 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15878 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15879 (nxml-extend-after-change-region): Use with-silent-modifications.
15880
15881 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15882 timer-idle-list.
15883
15884 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15885 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15886 timer-idle-list. (Bug#13999)
15887
15888 2013-03-23 Juri Linkov <juri@jurta.org>
15889
15890 * info.el (info-index-match): New face.
15891 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15892 main pattern and add text properties with the new face to matches
15893 in index entries relative to the beginning of the index entry.
15894 (Bug#14015)
15895
15896 2013-03-21 Eric Ludlam <zappo@gnu.org>
15897
15898 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15899 Inhibit read only while inserting objects.
15900
15901 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15902
15903 * progmodes/cfengine.el: Update docs to mention
15904 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15905 symbol motion. Remove "_" from the word syntax.
15906
15907 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15908
15909 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15910 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15911
15912 2013-03-20 Juri Linkov <juri@jurta.org>
15913
15914 * info.el (Info-next-reference-or-link)
15915 (Info-prev-reference-or-link): New functions.
15916 (Info-next-reference, Info-prev-reference): Use them.
15917 (Info-try-follow-nearest-node): Handle footnote navigation.
15918 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15919
15920 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15923 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15924
15925 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15926
15927 Suppress unnecessary non-ASCII chatter during build process.
15928 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15929 (batch-skkdic-convert): Suppress most of the chatter.
15930 It's not needed so much now that machines are faster,
15931 and its non-ASCII component was confusing; see Dmitry Gutov in
15932 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15933
15934 2013-03-20 Leo Liu <sdl.web@gmail.com>
15935
15936 * ido.el (ido-chop): Fix bug#10994.
15937
15938 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15939
15940 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15941 Remove vars.
15942 (whitespace-color-on, whitespace-color-off):
15943 Use `font-lock-fontify-buffer' (Bug#13817).
15944
15945 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15948 remapping in mode-line.
15949 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15950
15951 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15952
15953 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15954 value for `whitespace-line' face (Bug#13875).
15955 (whitespace-font-lock-keywords): Change description.
15956 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15957 the constructed keywords instead.
15958 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15959
15960 2013-03-19 Leo Liu <sdl.web@gmail.com>
15961
15962 * progmodes/compile.el (compilation-display-error): New command.
15963 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15964 C-o. (Bug#13992)
15965
15966 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15967
15968 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15969
15970 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15971
15972 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15973
15974 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15975
15976 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15977
15978 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15979 * net/tramp-gvfs.el (top):
15980 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15981 (tramp-handle-shell-command): Use it.
15982 (tramp-dissect-file-name): Raise an error when hostname is a
15983 method name, and neither method nor user is specified.
15984
15985 * net/trampver.el: Update release number.
15986
15987 2013-03-18 Leo Liu <sdl.web@gmail.com>
15988
15989 Make sure eldoc can be turned off properly.
15990 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15991 eldoc-mode.
15992 (eldoc-display-message-p): Revert last change.
15993 (eldoc-display-message-no-interference-p)
15994 (eldoc-print-current-symbol-info): Tweak.
15995
15996 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15997
15998 * doc-view.el (doc-view-new-window-function): Check the new window
15999 overlay's display property instead the char property of the
16000 buffer's first char. Use `with-selected-window' instead of
16001 `save-window-excursion' with `select-window'.
16002 (doc-view-document->bitmap): Check the current doc-view overlay's
16003 display property instead the char property of the buffer's first char.
16004
16005 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16006
16007 Automate the build of ja-dic.el (Bug#13984).
16008 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16009 from the input, rather than assume that it's been done for us by the
16010 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16011 the current date into a ja-dic.el comment, as that complicates
16012 regression testing.
16013
16014 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16015
16016 * whitespace.el: Fix double evaluation.
16017 (whitespace-space, whitespace-hspace, whitespace-tab)
16018 (whitespace-newline, whitespace-trailing, whitespace-line)
16019 (whitespace-space-before-tab, whitespace-indentation)
16020 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16021 obsolete defvars.
16022 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16023 (whitespace-color-on): Use a single font-lock-add-keywords call.
16024 Fix double-evaluation of face variables.
16025
16026 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16027
16028 * net/tramp-adb.el (tramp-adb-parse-device-names):
16029 Use `start-process' instead of `call-process'. Otherwise, the
16030 function might be blocked under MS Windows. (Bug#13299)
16031
16032 2013-03-17 Leo Liu <sdl.web@gmail.com>
16033
16034 Extend eldoc to display info in the mode-line. (Bug#13978)
16035 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16036 (eldoc-mode-line-string): New variable.
16037 (eldoc-minibuffer-message): New function.
16038 (eldoc-message-function): New variable.
16039 (eldoc-message): Use it.
16040 (eldoc-display-message-p)
16041 (eldoc-display-message-no-interference-p):
16042 Support eldoc-post-insert-mode.
16043
16044 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16045 (eval-expression): Run it.
16046
16047 2013-03-17 Roland Winkler <winkler@gnu.org>
16048
16049 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16050 strings in the list of return values.
16051
16052 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16053
16054 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16055 radix before checking for HMS forms.
16056
16057 2013-03-16 Leo Liu <sdl.web@gmail.com>
16058
16059 * progmodes/scheme.el: Add indentation and font-locking for λ.
16060 (Bug#13975)
16061
16062 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16063
16064 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16065 token before point (bug#13942).
16066
16067 2013-03-16 Leo Liu <sdl.web@gmail.com>
16068
16069 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16070
16071 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16072
16073 * startup.el (command-line-normalize-file-name): Fix handling of
16074 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16075 <xfq.free@gmail.com> in
16076 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16077
16078 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16079
16080 Sync with Tramp 2.2.7.
16081
16082 * net/trampver.el: Update release number.
16083
16084 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16085
16086 * doc-view.el: Fix bug#13887.
16087 (doc-view-insert-image): Don't modify overlay associated to
16088 non-live windows, and implement horizontal centering of image in
16089 case it's smaller than the window.
16090 (doc-view-new-window-function): Force redisplay of new windows on
16091 doc-view buffers.
16092
16093 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16094
16095 * saveplace.el (save-place-alist-to-file): Don't sort
16096 `save-place-alist', just pretty-print it (bug#13882).
16097
16098 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16099
16100 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16101 Check whether `default-file-name-coding-system' is bound.
16102 It isn't in XEmacs.
16103
16104 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16105
16106 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16107 backquotes for `obsolete' (bug#13929).
16108
16109 * international/mule.el (find-auto-coding): Include file name in
16110 obsolescence warning (bug#13922).
16111
16112 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16113
16114 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16115 for CFEngine 3-specific indentation.
16116 (cfengine3-indent-line): Use it. Fix up category regex.
16117 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16118
16119 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16120
16121 * type-break.el (type-break-file-name):
16122 * textmodes/remember.el (remember-data-file):
16123 * strokes.el (strokes-file):
16124 * shadowfile.el (shadow-initialize):
16125 * saveplace.el (save-place-file):
16126 * ps-bdf.el (bdf-cache-file):
16127 * progmodes/idlwave.el (idlwave-config-directory):
16128 * net/quickurl.el (quickurl-url-file):
16129 * international/kkc.el (kkc-init-file-name):
16130 * ido.el (ido-save-directory-list-file):
16131 * emulation/viper.el (viper-custom-file-name):
16132 * emulation/vip.el (vip-startup-file):
16133 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16134 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16135
16136 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16137
16138 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16139 * language/thai-word.el: Switch to UTF-8.
16140
16141 See ChangeLog.16 for earlier changes.
16142
16143 ;; Local Variables:
16144 ;; coding: utf-8
16145 ;; End:
16146
16147 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16148
16149 This file is part of GNU Emacs.
16150
16151 GNU Emacs is free software: you can redistribute it and/or modify
16152 it under the terms of the GNU General Public License as published by
16153 the Free Software Foundation, either version 3 of the License, or
16154 (at your option) any later version.
16155
16156 GNU Emacs is distributed in the hope that it will be useful,
16157 but WITHOUT ANY WARRANTY; without even the implied warranty of
16158 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16159 GNU General Public License for more details.
16160
16161 You should have received a copy of the GNU General Public License
16162 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.