]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el
[gnu-emacs] / lisp / ChangeLog
1 2014-06-02 Glenn Morris <rgm@gnu.org>
2
3 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
4 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5 * emulation/ws-mode.el: Move to obsolete/.
6 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el
7
8 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9
10 * simple.el (keyboard-quit): Force update of mode lines, to remove
11 the "Def" indicator, if we were defining a macro. (Bug#17615)
12
13 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * minibuffer.el (minibuffer-force-complete-and-exit):
16 Obey minibuffer-default (bug#17545).
17
18 * progmodes/js.el (js-indent-line): Don't mix columns and chars
19 (bug#17619).
20
21 * subr.el (set-transient-map): Don't wait for some "nested"
22 transient-map to finish if we're only supposed to be active for
23 the next command (bug#17642).
24
25 2014-06-02 Leo Liu <sdl.web@gmail.com>
26
27 * emacs-lisp/gv.el (window-buffer, window-display-table)
28 (window-dedicated-p, window-hscroll, window-point, window-start):
29 Fix gv-expander. (Bug#17630)
30
31 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
34 clicks (bug#17633).
35
36 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
37 for the single comma, since ", " is *very* common in normal French text
38 (bug#17643).
39
40 2014-06-02 Glenn Morris <rgm@gnu.org>
41
42 * emacs-lisp/package.el (package-check-signature)
43 (package-unsigned-archives): Fix :version.
44
45 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * subr.el (sit-for): Don't run input-methods (bug#15614).
48
49 2014-06-02 Glenn Morris <rgm@gnu.org>
50
51 * cus-start.el: Fix some :version numbers.
52
53 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * simple.el (deactivate-mark): Set mark-active to nil even if
56 deactivation is done via setting transient-mark-mode to nil,
57 since one is buffer-local and the other is global.
58
59 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
60 there can't be more than 2 arguments (bug#17584).
61
62 2014-06-02 Glenn Morris <rgm@gnu.org>
63
64 * simple.el (filter-buffer-substring-functions)
65 (filter-buffer-substring-function, buffer-substring-filters)
66 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
67
68 * minibuffer.el (completion-in-region-functions, completion-in-region)
69 (completion--in-region): Doc fixes.
70
71 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
72 (expand-abbrev, abbrev--default-expand): Doc fixes.
73
74 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
75
76 Include sources used to create macuvs.h.
77 * international/README: Refer to the Unicode Terms of Use rather
78 than copying it bodily here, as that simplifies maintenance.
79
80 2014-06-01 Glenn Morris <rgm@gnu.org>
81
82 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
83
84 2014-05-31 Glenn Morris <rgm@gnu.org>
85
86 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
87
88 2014-05-30 Glenn Morris <rgm@gnu.org>
89
90 * loadup.el: Treat `command-line-args' more flexibly.
91
92 2014-05-30 Alan Mackenzie <acm@muc.de>
93
94 Guard (looking-at "\\s!") from XEmacs.
95 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
96
97 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
98
99 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
100 argument COUNT is now optional, to be more backward-compatible.
101 Doc fix. (Bug#17560)
102
103 2014-05-29 Reuben Thomas <rrt@sc3d.org>
104
105 * whitespace.el (whitespace-report-region): Simplify
106 documentation.
107 (whitespace-report-region): Allow report-if-bogus to take the
108 value `never', for non-interactive use.
109 (whitespace-report): Refer to whitespace-report-region's
110 documentation.
111
112 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * whitespace.el: Use font-lock-flush. Minimize refontifications.
115 Side benefit: it works without jit-lock.
116 (whitespace-point--used): New buffer-local var.
117 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
118 (whitespace-color-off): Use font-lock-flush.
119 (whitespace-point--used, whitespace-point--flush-used): New functions.
120 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
121 (whitespace-empty-at-eob-regexp): Use them.
122 (whitespace-post-command-hook): Rewrite.
123
124 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
125 (font-lock-fontify-buffer): Mark interactive-only.
126 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
127 Make buffer-local.
128 (font-lock-specified-p): Remove redundant boundp check.
129 (font-lock-flush-function, font-lock-ensure-function): New vars.
130 (font-lock-turn-on-thing-lock): Set them.
131 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
132 (font-lock-after-change-function): Make `old-len' optional.
133 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
134 Call font-lock-flush, just in case.
135 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
136 recent Emacsen.
137 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
138 (vera-mode-map, vera-mode-menu): Remove bindings to it.
139 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
140 and with-syntax-table.
141 * textmodes/conf-mode.el (conf-quote-normal):
142 * progmodes/sh-script.el (sh-set-shell):
143 * progmodes/prog-mode.el (prettify-symbols-mode):
144 * progmodes/f90.el (f90-font-lock-n):
145 * progmodes/cwarn.el (cwarn-mode):
146 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
147 * progmodes/compile.el (compilation-setup, compilation--unsetup):
148 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
149 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
150 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
151 font-lock-fontify-buffer-function and
152 font-lock-unfontify-buffer-function.
153 (rmail-unfontify-buffer-function, rmail-fontify-message):
154 Use with-silent-modifications.
155 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
156 and font-lock-ensure.
157 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
158
159 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
160
161 * emacs-lisp/package.el (package-generate-autoloads):
162 Inhibit backup files.
163
164 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
167 (bug#17608).
168
169 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
170
171 * textmodes/tildify.el (tildify-buffer, tildify-region):
172 Add dont-ask option.
173
174 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
177 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
178
179 * subr.el (internal--funcall-interactively): New.
180 (internal--call-interactively): Remove.
181 (called-interactively-p): Detect funcall-interactively instead of
182 call-interactively.
183 * simple.el (repeat-complex-command): Use funcall-interactively.
184 (repeat-complex-command--called-interactively-skip): Remove.
185
186 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * register.el (register-read-with-preview): Don't burp on
189 frame switches (e.g. due to the frame we just popped).
190
191 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
192 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
193
194 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
195
196 * cus-face.el (custom-face-attributes): Add :distant-foreground.
197
198 2014-05-26 Martin Rudalics <rudalics@gmx.at>
199
200 * window.el (window--dump-frame): Remove interactive specification.
201
202 2014-05-26 Glenn Morris <rgm@gnu.org>
203
204 * hippie-exp.el (he-line-search-regexp):
205 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
206
207 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
208
209 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
210 to avoid errors when trying to create or visit a file foo.todo
211 located outside to todo-directory, and to allow having such files
212 without them being tied to Todo mode (bug#17482).
213 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
214 (todo-archive-done-item, todo-find-filtered-items-file)
215 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
216 (todo-category-completions, todo-read-category): When visiting a
217 Todo file, make sure we're in the right mode and the buffer local
218 variables are set.
219 (todo-make-categories-list, todo-reset-nondiary-marker)
220 (todo-reset-done-string, todo-reset-comment-string):
221 After processing all Todo files, kill the buffers of those files that
222 weren't being visited before the processing.
223 (todo-display-as-todo-file, todo-add-to-buffer-list)
224 (todo-visit-files-commands): Comment out.
225 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
226 (auto-mode-alist): Remove add-to-list calls making Todo file
227 extensions unrestrictedly tied to Todo modes.
228
229 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
232 (advice-function-member-p): Tell it to check both names and functions
233 (bug#17531).
234 (advice--add-function): Adjust call accordingly.
235
236 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
237
238 * calendar/todo-mode.el: Miscellaneous bug fixes.
239 (todo-delete-file): When deleting an archive but not its todo
240 file, make sure to update the todo file's category sexp.
241 (todo-move-category): Keep the moved category's name unless the
242 file moved to already has a category with that name. If the
243 numerically last category of the source file was moved, make the
244 first category current to avoid selecting a nonexisting category.
245 (todo-merge-category): Fix implementation to make merging to a
246 category in another file work as documented. Eliminate now
247 insufficient and unnecessary renaming of archive category, correct
248 document string accordingly, and clarify it. If the numerically
249 last category of the source file was merged, make the first
250 category current to avoid selecting a nonexisting category.
251 (todo-archive-done-item): When there are marked items and point
252 happens to be on an unmarked item, ignore the latter. Don't leave
253 point below last item after archiving marked items.
254 (todo-unarchive-items): Fix logic to ensure unarchiving an item
255 from an archive with only one category deletes the archive only
256 when the category is empty after unarchiving. Make sure the todo
257 file's category sexp is updated.
258 (todo-read-file-name): Allow an existing file name even when it is
259 not required (todo-move-category needs this to work as documented).
260 (todo-add-file): Call todo-validate-name to reject the name of an
261 existing todo file (needed due to fix in todo-read-file-name).
262 (todo-reset-nondiary-marker): Also reset in filtered items files.
263 (todo-reset-done-string, todo-reset-comment-string): Also reset in
264 regexp filtered items files.
265 (todo-reset-highlight-item): Also reset in filtered items files.
266 Fix incorrect variable reference in document string.
267
268 2014-05-26 Glenn Morris <rgm@gnu.org>
269
270 * window.el (window--dump-frame): Avoid error in --without-x builds.
271
272 2014-05-26 Glenn Morris <rgm@gnu.org>
273
274 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
275
276 2014-05-26 Eli Zaretskii <eliz@gnu.org>
277
278 * frame.el (set-frame-font): Doc fix.
279
280 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
281
282 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
283
284 * emacs-lisp/package.el (package--download-one-archive):
285 Use `write-region' instead of `save-buffer' to avoid running various
286 hooks. (Bug#17155)
287 (describe-package-1): Same. Insert newline at the end of the
288 buffer if appropriate.
289
290 2014-05-26 Juri Linkov <juri@jurta.org>
291
292 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
293 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
294 Add more modifiers: meta, control, shift, hyper, super, alt.
295 (Bug#17439)
296
297 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
298 to allow changing its value with `set-variable'.
299
300 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
303 #; comments.
304 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
305 New functions.
306 (scheme-mode-variables): Set syntax-propertize-function instead of
307 font-lock-syntactic-face-function.
308 (scheme-font-lock-syntactic-face-function): Delete.
309
310 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
311
312 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
313 (bug#17392).
314
315 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
318 for a temporary file name.
319
320 2014-05-26 Eli Zaretskii <eliz@gnu.org>
321
322 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
323
324 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
325
326 * net/dbus.el (dbus-init-bus, dbus-call-method)
327 (dbus-call-method-asynchronously, dbus-send-signal)
328 (dbus-method-return-internal, dbus-method-error-internal):
329 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
330
331 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
332
333 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
334 methods which do not have a doc string. (Bug#17490)
335
336 2014-05-25 Tassilo Horn <tsdh@gnu.org>
337
338 * textmodes/reftex-ref.el (reftex-format-special): Make it work
339 also for AMS Math's \eqref macro.
340
341 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
342
343 Arrange to never byte-compile the generated -pkg.el file.
344
345 * emacs-lisp/package.el (package-generate-description-file):
346 Output first-line comment to set buffer-local var `no-byte-compile'.
347 Suggested by Dmitry Gutov:
348 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
349
350 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
351
352 Fix bug: Properly quote args to generated -pkg.el `define-package'.
353
354 * emacs-lisp/package.el (package-generate-description-file):
355 Inline `package--alist-to-plist'; rewrite to selectively
356 quote alist values that are not self-quoting.
357 (package--alist-to-plist): Delete func.
358
359 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
360
361 * term/xterm.el (xterm-function-map): Add mapping for shifted
362 keypad keys.
363
364 2014-05-24 Daniel Colascione <dancol@dancol.org>
365
366 * progmodes/subword.el (subword-find-word-boundary): Move point to
367 correct spot before search. (Bug#17580)
368
369 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
370 breaking the build.
371
372 2014-05-24 Leo Liu <sdl.web@gmail.com>
373
374 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
375
376 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * minibuffer.el (completion--sreverse): Remove.
379 (completion--common-suffix): Use `reverse' instead.
380 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
381
382 2014-05-22 Glenn Morris <rgm@gnu.org>
383
384 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
385
386 2014-05-21 Daniel Colascione <dancol@dancol.org>
387
388 * files.el (interpreter-mode-alist): Add mksh.
389
390 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
391 derivative.
392 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
393 mksh. Improve custom spec; allow regular expressions.
394 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
395 (sh-after-hack-local-variables): New function.
396 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
397 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
398 the normalization.
399 (sh-canonicalize-shell): Rewrite to support regexes.
400
401 2014-05-21 Leo Liu <sdl.web@gmail.com>
402
403 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
404
405 2014-05-19 Leo Liu <sdl.web@gmail.com>
406
407 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
408
409 2014-05-18 Glenn Morris <rgm@gnu.org>
410
411 * loadup.el:
412 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
413
414 2014-05-14 Sam Steingold <sds@gnu.org>
415
416 * progmodes/python.el (python-shell-get-or-create-process):
417 Do not bind `current-prefix-arg' so that C-c C-z does not talk
418 back unless requested.
419
420 2014-05-14 Glenn Morris <rgm@gnu.org>
421
422 * subr.el (with-file-modes): New macro.
423 * printing.el (pr-save-file-modes): Make obsolete.
424 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
425 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
426 Add with-file-modes.
427 * doc-view.el (doc-view-make-safe-dir):
428 * epg.el (epg--start):
429 * files.el (locate-user-emacs-file, make-temp-file)
430 (backup-buffer-copy, move-file-to-trash):
431 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
432 * eshell/esh-util.el (eshell-with-private-file-modes)
433 (eshell-make-private-directory):
434 * net/browse-url.el (browse-url-mosaic):
435 * obsolete/mailpost.el (post-mail-send-it):
436 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
437 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
438 Use with-file-modes.
439
440 * vc/emerge.el (emerge-make-temp-file): Simplify.
441
442 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
443 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
446 suffix (bug#15419).
447
448 2014-05-14 Glenn Morris <rgm@gnu.org>
449
450 * vc/emerge.el (emerge-temp-file-prefix):
451 Make pointless option obsolete.
452 (emerge-temp-file-mode): Make non-functional option obsolete.
453
454 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
455
456 * net/browse-url.el (browse-url):
457 Use `unhandled-file-name-directory' when setting `default-directory',
458 in order to circumvent stalled remote connections. (Bug#17425)
459
460 2014-05-14 Glenn Morris <rgm@gnu.org>
461
462 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
463 Optimize on Emacs, which has the relevant functions for ages.
464
465 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * simple.el (undo-make-selective-list): Obey undo-no-redo.
468
469 2014-05-12 Sam Steingold <sds@gnu.org>
470
471 * calendar/time-date.el (seconds-to-string): New function to
472 pretty print time delay in seconds.
473
474 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * mpc.el (mpc-format): Trim Date to the year.
477 (mpc-songs-hashcons): Shorten the Date field.
478
479 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
480 into autoloading just because of a silly indirection.
481
482 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
483
484 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
485
486 2014-05-12 Glenn Morris <rgm@gnu.org>
487
488 * emacs-lisp/find-gc.el: Move to ../admin.
489
490 * printing.el (pr-version):
491 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
492
493 * net/browse-url.el (browse-url-mosaic):
494 Create /tmp/Mosaic.PID as a private file.
495
496 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
499 (advice--member-p): If name is given, only compare the name.
500 (advice--remove-function): Don't stop at the first match.
501 (advice--normalize-place): New function.
502 (add-function, remove-function): Use it.
503 (advice--add-function): Pass the name, if any, to
504 advice--remove-function.
505
506 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
507
508 * electric.el (electric-indent-post-self-insert-function): Don't use
509 `pos' after modifying the buffer (bug#17449).
510
511 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
512
513 * calendar/todo-mode.el (todo-insert-item-from-calendar):
514 Correct argument list to conform to todo-insert-item--basic.
515
516 2014-05-12 Glenn Morris <rgm@gnu.org>
517
518 * files.el (cd-absolute): Test if directory is accessible
519 rather than executable. (Bug#17330)
520
521 * progmodes/compile.el (recompile):
522 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
523
524 * net/browse-url.el (browse-url-mosaic):
525 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
526 This is CVE-2014-3423.
527
528 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * mouse.el: Use the normal toplevel loop while dragging.
531 (mouse-set-point): Handle multi-clicks.
532 (mouse-set-region): Handle multi-clicks for drags.
533 (mouse-drag-region): Update call accordingly.
534 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
535 Use the normal event loop instead of a local while/read-event loop.
536 (global-map): Remove redundant bindings for double/triple-mouse-1.
537 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
538 Generate synthetic down events when the protocol only sends up events.
539 (xterm-mouse-last): Remove.
540 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
541 terminal parameter instead.
542 (xterm-mouse--set-click-count): New function.
543 (xterm-mouse-event): Detect/generate double/triple clicks.
544 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
545
546 * info.el (Info-quoted): New face.
547 (Info-mode-font-lock-keywords): New var.
548 (Info-mode): Use it.
549
550 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
551 are a hindrance for C-x C-e.
552
553 2014-05-11 Leo Liu <sdl.web@gmail.com>
554
555 * net/rcirc.el (rcirc-sentinel): Fix last change.
556
557 2014-05-08 Sam Steingold <sds@gnu.org>
558
559 * net/rcirc.el (rcirc-reconnect-delay): New user option.
560 (rcirc-sentinel): Auto-reconnect to the server if
561 `rcirc-reconnect-delay' is non-0 (but not more often than its
562 value in case the host is off-line).
563
564 2014-05-09 Eli Zaretskii <eliz@gnu.org>
565
566 * progmodes/grep.el (lgrep): Fix a typo in last commit.
567
568 2014-05-09 Glenn Morris <rgm@gnu.org>
569
570 * files.el (file-expand-wildcards):
571 * man.el (Man-support-local-filenames):
572 * printing.el (pr-i-directory, pr-interface-directory):
573 * progmodes/grep.el (lgrep, rgrep):
574 * textmodes/ispell.el (ispell-call-process)
575 (ispell-call-process-region, ispell-start-process)
576 (ispell-init-process): Use file-accessible-directory-p.
577
578 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
579
580 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
581 (xterm-mouse--read-event-sequence-1000): Return nil if something
582 looks fishy.
583 (xterm-mouse-event): Propagate it.
584 (xterm-mouse-translate-1): Handle it.
585
586 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
587
588 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
589 four slots of the parameter list are filled, make sure to pass it
590 to the argument list of todo-insert-item--basic.
591
592 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
595 Add optional `seen' argument to detect and break infinite loops.
596
597 2014-05-08 Eli Zaretskii <eliz@gnu.org>
598
599 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
600 (trace-unsafe, trace-use-tree): Make parentheses style be
601 according to Emacs style.
602
603 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
604
605 * net/tramp-sh.el (tramp-remote-process-environment):
606 Remove HISTFILE and HISTSIZE; it's too late to set them here.
607 Add :version entry.
608 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
609 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
610 extra "PSx=..." commands.
611 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
612 (Bug#17295)
613
614 (tramp-uudecode): Replace the hard-coded temporary file name by a
615 format specifier.
616 (tramp-remote-coding-commands): Enhance docstring.
617 (tramp-find-inline-encoding): Replace "%t" by a temporary file
618 name. (Bug#17415)
619 This is CVE-2014-3424.
620
621 2014-05-08 Glenn Morris <rgm@gnu.org>
622
623 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
624 (find-gc-source-files): Update some names.
625 (trace-call-tree): Simplify and update.
626 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
627 This is CVE-2014-3422.
628
629 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * minibuffer.el (completion--try-word-completion): Revert fix for
632 Bug#15980 (bug#17375).
633
634 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
635 Always store button numbers in the same way in xterm-mouse-last;
636 Don't burp is xterm-mouse-last is not set as expected.
637 Never return negative indices.
638
639 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
640
641 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
642 Backtrack one char if the global/char-literal var matcher hits
643 inside a string. The next char could be the beginning of an
644 expression expansion.
645
646 2014-05-08 Glenn Morris <rgm@gnu.org>
647
648 * help-fns.el (describe-function-1): Test for an autoload before a
649 macro, since `macrop' works on autoloads. (Bug#17410)
650
651 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * electric.el (electric-indent-functions-without-reindent): Add yaml.
654
655 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
656 Make sure the new point we return is within the new string (bug#17239).
657
658 2014-05-05 Daniel Colascione <dancol@dancol.org>
659
660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
661 Port `gnu' pattern to rx.
662
663 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
664
665 Remove unneeded prompt when closing a buffer with active
666 emacsclient ("Buffer ... still has clients"), #16548.
667 * server.el (server-start): Remove the only call to:
668 (server-kill-buffer-query-function): Remove.
669
670 2014-05-04 Leo Liu <sdl.web@gmail.com>
671
672 * calendar/diary-lib.el (calendar-chinese-month-name-array):
673 Defvar to pacify compiler.
674
675 2014-05-04 Eli Zaretskii <eliz@gnu.org>
676
677 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
678
679 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
682 Use nil rather than `default' for the "default" appearance (bug#17388).
683 * vc/ediff-util.el (ediff-inferior-compare-regions)
684 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
685 a misleading `default' value when it's really a boolean.
686 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
687 overlay is not visible.
688
689 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
690
691 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
692 (todo-menu): Uncomment and update.
693
694 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
695
696 * calendar/todo-mode.el: Reimplement item editing to have the same
697 basic user interface as item insertion, and make small UI and
698 larger internal improvements to the latter.
699 (todo-insert-item): Add reference to the Todo mode user manual to
700 the documentation string.
701 (todo-insert-item--basic): Rename from todo-basic-insert-item and
702 adjust all callers. Change signature to combine diary and
703 nonmarking arguments. Incorporate functionality of deleted item
704 copying command and add error checking. Remove detailed
705 descriptions of the arguments from the documentation string, since
706 this is treated in the Todo mode user manual.
707 (todo-copy-item, todo-edit-multiline-item)
708 (todo-edit-done-item-comment, todo-edit-item-header)
709 (todo-edit-item-time, todo-edit-item-date-from-calendar)
710 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
711 (todo-edit-item-date-year, todo-edit-item-date-month)
712 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
713 Remove.
714 (todo-edit-item): Reimplement as wrapper command for
715 todo-edit-item--next-key and make it distinguish done and not done
716 todo items.
717 (todo-edit-item--text): New function, replacing old command
718 todo-edit-item and incorporating deleted commands
719 todo-edit-multiline-item and todo-edit-done-item-comment.
720 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
721 Use only numeric value of prefix argument. Remove detailed
722 descriptions of the arguments from the documentation string, since
723 this is treated in the Todo mode user manual.
724 (todo-edit-item--diary-inclusion): New function, replacing old
725 command todo-edit-item-diary-inclusion and incorporating and fixing
726 functionality of deleted command todo-edit-item-diary-nonmarking,
727 making sure to remove todo-nondiary-marker when adding
728 diary-nonmarking-symbol.
729 (todo-edit-category-diary-inclusion): Make sure to delete
730 diary-nonmarking-symbol when adding todo-nondiary-marker.
731 (todo-edit-category-diary-nonmarking): Fix indentation.
732 (todo-insert-item--parameters): Group diary and nonmarking
733 parameters together.
734 (todo-insert-item--apply-args): Adjust to signature of
735 todo-insert-item--basic and incorporate copy parameter.
736 Make small code improvements.
737 (todo-insert-item--next-param): Improve prompt and adjust it to
738 new parameter grouping. Remove obsolete code.
739 (todo-edit-item--param-key-alist)
740 (todo-edit-item--date-param-key-alist)
741 (todo-edit-done-item--param-key-alist): New defconsts.
742 (todo-edit-item--prompt): New variable.
743 (todo-edit-item--next-key): New function.
744 (todo-key-bindings-t): Bind "e" to todo-edit-item.
745 Remove bindings of deleted commands.
746
747 2014-05-04 Leo Liu <sdl.web@gmail.com>
748
749 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
750
751 2014-05-04 Glenn Morris <rgm@gnu.org>
752
753 * allout-widgets.el (allout-widgets-tally)
754 (allout-decorate-item-guides):
755 * menu-bar.el (menu-bar-positive-p):
756 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
757 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
758 * progmodes/js.el (js--inside-param-list-p)
759 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
760 * progmodes/prolog.el (region-exists-p):
761 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
762 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
763 Doc fixes (replace `iff').
764
765 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
768
769 2014-05-04 Leo Liu <sdl.web@gmail.com>
770
771 Support Chinese diary entries in calendar and diary. (Bug#17393)
772 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
773 (calendar-chinese-from-absolute-for-diary)
774 (calendar-chinese-to-absolute-for-diary)
775 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
776 (diary-chinese-list-entries): New functions to list and mark
777 Chinese diary entries in the calendar window.
778 (diary-chinese-anniversary)
779 (diary-chinese-insert-anniversary-entry)
780 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
781 (diary-chinese-insert-yearly-entry): New commands to insert
782 Chinese diary entries.
783
784 * calendar/diary-lib.el (diary-font-lock-keywords):
785 Support font-locking Chinese dates.
786
787 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
788 inserting Chinese diary entries.
789
790 * calendar/calendar.el (diary-chinese-entry-symbol):
791 New customizable variable.
792 (calendar-mode-map): Add bindings for inserting Chinese diary
793 entries.
794
795 2014-05-03 Juri Linkov <juri@jurta.org>
796
797 * dired.el (dired-check-switches, dired-switches-recursive-p):
798 New functions. (Bug#17218)
799 (dired-switches-escape-p, dired-move-to-end-of-filename):
800 Use `dired-check-switches'.
801 (dired-insert-old-subdirs, dired-build-subdir-alist)
802 (dired-sort-R-check): Use `dired-switches-recursive-p'.
803
804 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
805
806 * simple.el (undo-make-selective-list): New algorithm fixes
807 incorrectness of position adjustments when undoing in region.
808 (Bug#17235)
809 (undo-elt-crosses-region): Make obsolete.
810 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
811 New functions to adjust positions using undo-deltas.
812
813 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
816 the last consecutive closing paren (bug#17345).
817
818 2014-04-30 Reuben Thomas <rrt@sc3d.org>
819
820 * dired.el (dired-mode): make terminology for eXpunge command
821 consistent. (Bug#17276)
822
823 2014-04-30 Eli Zaretskii <eliz@gnu.org>
824
825 * dired.el (dired-initial-position-hook, dired-initial-position):
826 Doc string fixes.
827
828 2014-04-30 Glenn Morris <rgm@gnu.org>
829
830 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
831
832 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
833
834 * faces.el (face-spec-recalc): Apply X resources only after the
835 defface spec has been applied. Thus, X resources are no longer
836 overriden by the defface spec which also fixes issues on win32 where
837 the toolbar coloring was wrong because it is set through X resources
838 and was (wrongfully) overriden. (Bug#16694)
839
840 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * textmodes/rst.el (electric-pair-pairs): Declare.
843 (rst-mode): Set it (bug#17131).
844
845 2014-04-30 Juri Linkov <juri@jurta.org>
846
847 * desktop.el (desktop-value-to-string): Let-bind `print-length'
848 and `print-level' to nil. (Bug#17351)
849
850 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
851
852 * battery.el (battery-update): Handle the case where battery
853 status is "N/A" (bug#17319).
854
855 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
858 to syntax-propertize.
859 (ps-mode-auto-indent): Mark as obsolete.
860 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
861 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
862 word regexp operators.
863 (ps-mode-map): Move initialization into declaration. Remove binding
864 for TAB, RET, >, ], and }.
865 (ps-mode-syntax-table): Move initialization into declaration.
866 Don't give word syntax to non-word chars.
867 (ps-run-mode-map): Move initialization into declaration.
868 (ps-mode-menu-main): Remove auto-indent entry.
869 (ps-mode-smie-rules): New function.
870 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
871 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
872 (ps-mode--string-syntax-table): New const.
873 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
874 New functions.
875 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
876 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
877
878 2014-04-27 Daniel Colascione <dancol@dancol.org>
879
880 * term/xterm.el (xterm-paste): Use large finite timeout when
881 reading event to avoid putting keys in this-command-keys.
882
883 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
886 (perl-syntax-propertize-function): Use it. Extend handling of
887 here-docs to the unquoted case.
888
889 2014-04-25 Eli Zaretskii <eliz@gnu.org>
890
891 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
892 Use equal-including-properties to compare help-echo strings (bug#17331).
893
894 2014-04-25 Leo Liu <sdl.web@gmail.com>
895
896 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
897 Fix syntax for @. (Bug#17325)
898
899 2014-04-25 Daniel Colascione <dancol@dancol.org>
900
901 * emacs-lisp/cl.el (gv): Require gv early to break eager
902 macro-expansion cycles.
903
904 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * simple.el (region-active-p): Check there's a mark (bug#17324).
907
908 * simple.el (completion-list-mode-map): Use choose-completion for the
909 mouse binding as well (bug#17302).
910 (completion-list-mode, completion-setup-function): Adjust docstring and
911 echo area message accordingly.
912 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
913 calling convention of choose-completion.
914 * comint.el (comint-dynamic-list-completions):
915 * term.el (term-dynamic-list-completions): Accept choose-completion.
916
917 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
918 &, |, +, - and * can't be a division (bug#17317).
919
920 * term/xterm.el (xterm--version-handler): Don't use modern xterm
921 features on gnome-terminal (bug#16988).
922
923 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
924
925 Improve Scheme font-locking for (define ((foo ...) ...) ...).
926
927 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
928 the declared object, ignore zero or more parens, not zero or one.
929
930 2014-04-24 Leo Liu <sdl.web@gmail.com>
931
932 * progmodes/xscheme.el (xscheme-expressions-ring)
933 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
934 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
935 (xscheme-allow-output-p, xscheme-prompt)
936 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
937
938 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
939 Comment out unused functions.
940
941 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * info.el: Use lexical-binding and cl-lib.
944 Use defvar-local and setq-local instead of make-local-variable.
945 (Info-apropos-matches): Avoid add-to-list.
946 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
947
948 2014-04-24 Daniel Colascione <dancol@dancol.org>
949
950 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
951
952 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
955
956 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
957
958 * dired.el (dired-insert-set-properties): Do not consider
959 subdirectory headings and empty lines to be information that
960 `dired-hide-details-mode' should hide. (Bug#17228)
961
962 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
963
964 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
965 Remove test messages.
966 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
967 and `target' twice.
968
969 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
972 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
973
974 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
975
976 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
979 Set "IFS=" when using read builtin, in order to preserve spaces in
980 the file name. Add test messages for hunting a bug on hydra.
981 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
982
983 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
986 Don't prettify a word within a symbol.
987
988 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
989
990 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
991 possible.
992
993 2014-04-22 Daniel Colascione <dancol@dancol.org>
994
995 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
996 use defun to define `function-put'.
997
998 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1001 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1002 (lisp-mode-variables): Set font-lock-extra-managed-props.
1003
1004 * emacs-lisp/byte-run.el (function-put): New function.
1005 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1006 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1007 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1008 Use them.
1009
1010 2014-04-22 Daniel Colascione <dancol@dancol.org>
1011
1012 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1013 Add `full-p' parameter; when nil, call `macroexpand' instead of
1014 `macroexpand-all'.
1015
1016 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1017 Improve docstrings.
1018
1019 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1020 Use lambda function values, not quoted lambdas.
1021 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1022
1023 * emacs-lisp/cl-macs.el
1024 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1025 (cl-struct-slot-value): Conditionally use aref or nth so that the
1026 compiler produces optimal code.
1027
1028 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1031 (inline): Don't inline cl--set-elt.
1032 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1033 Define as inlinable instead.
1034 (cl-struct-set-slot-value): Remove.
1035
1036 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1037 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1038 Use setf instead.
1039
1040 2014-04-21 Daniel Colascione <dancol@dancol.org>
1041
1042 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1043 last two parameters after all.
1044 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1045 (cl--compiler-macro-assoc,cl-struct-slot-value)
1046 (cl-struct-set-slot-value): Stop using them.
1047
1048 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1051 entry in image-mode-winprops-alist.
1052
1053 2014-04-21 Daniel Colascione <dancol@dancol.org>
1054
1055 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1056 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1057 (byte-compile-toplevel-file-form): Use it.
1058
1059 * emacs-lisp/cl-macs.el:
1060 (cl--loop-let): Properly destructure `while' clauses.
1061
1062 2014-04-20 Daniel Colascione <dancol@dancol.org>
1063
1064 * vc/vc.el (vc-root-dir): New public autoloaded function for
1065 generically finding the current VC root.
1066 * vc/vc-hooks.el (vc-not-supported): New error.
1067 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1068
1069 2014-04-20 Daniel Colascione <dancol@dancol.org>
1070
1071 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1072 argument.
1073 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1074 argument in case we're inside a symbol-macrolet.
1075 (cl--do-arglist, cl--compiler-macro-typep)
1076 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1077 environment to `cl--const-expr-val'.
1078 (cl-struct-sequence-type,cl-struct-slot-info)
1079 (cl-struct-slot-offset, cl-struct-slot-value)
1080 (cl-struct-set-slot-value): New functions.
1081
1082 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1085 assignments such as "case=hello" (bug#17297).
1086
1087 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1088
1089 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1090 Do not autoload.
1091 (tramp-file-name-handler, tramp-completion-file-name-handler):
1092 Revert patch from 2014-04-10, it isn't necessary anymore.
1093 (tramp-autoload-file-name-handler)
1094 (tramp-register-autoload-file-name-handlers): New defuns.
1095 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1096 (tramp-register-file-name-handlers): Remove also
1097 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1098 Do not autoload its invocation, but eval it after loading of 'tramp.
1099
1100 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1101
1102 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1103
1104 2014-04-17 Daniel Colascione <dancol@dancol.org>
1105
1106 Add support for bracketed paste mode; add infrastructure for
1107 managing terminal mode enabling and disabling automatically.
1108
1109 * xt-mouse.el:
1110 (xterm-mouse-mode): Simplify.
1111 (xterm-mouse-tracking-enable-sequence)
1112 (xterm-mouse-tracking-disable-sequence): New constants.
1113 (turn-on-xterm-mouse-tracking-on-terminal)
1114 (turn-off-xterm-mouse-tracking-on-terminal):
1115 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1116 parameters instead of random hooks.
1117 (turn-on-xterm-mouse-tracking)
1118 (turn-off-xterm-mouse-tracking): Delete.
1119
1120 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1121 (xterm-paste-ending-sequence): New constant.
1122 (xterm-paste): New command used for bracketed paste support.
1123
1124 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1125 (terminal-init-xterm-bracketed-paste-mode): New function.
1126 (terminal-init-xterm): Call it.
1127 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1128 and tty-mode-reset-strings instead of random hooks.
1129 (xterm-turn-on-modify-other-keys)
1130 (xterm-turn-off-modify-other-keys)
1131 (xterm-remove-modify-other-keys): Delete obsolete functions.
1132
1133 * term/screen.el: Rewrite to just use the xterm code.
1134 Add copyright notice. Mention tmux.
1135
1136 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1137
1138 * image-mode.el (image-mode-window-put): Also update the property of
1139 the "default window".
1140 * doc-view.el (doc-view-new-window-function): If no window
1141 exists, move to the last known page.
1142
1143 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1146 here-documents (bug#17262).
1147
1148 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1149
1150 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1151 Provide doc strings, as required by snarf-documentation.
1152
1153 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1156 arg of overlays-at. Use `invisible-p'.
1157
1158 * obsolete/lucid.el (extent-at):
1159 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1160 overlays-at.
1161 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1162
1163 2014-04-16 João Távora <joaotavora@gmail.com>
1164
1165 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1166 links. (Bug#17217).
1167
1168 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1169
1170 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1171 Use mapc to loop over a vector. (Bug#17257).
1172
1173 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1174
1175 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1176 patch, there are new problems with file names containing spaces.
1177 Get rid of backticks. (Bug#17238)
1178
1179 2014-04-16 João Távora <joaotavora@gmail.com>
1180
1181 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1182 possible bug.
1183
1184 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1185
1186 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1187 (blink-cursor-mode): Mention customization variables and the
1188 effect of 'blink-cursor-blinks'.
1189
1190 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1191
1192 * simple.el (undo): Prevent insertion of identity mapping into
1193 undo-equiv-table so as undo-only does not inf loop in the presence
1194 of consecutive nils in undo list.
1195
1196 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1197
1198 * faces.el (make-face): Deprecate optional argument as it is no
1199 longer needed/used since the conditional X resources handling
1200 has been pushed down to make-face-x-resource-internal itself.
1201 (make-empty-face): Don't pass optional argument to make-face.
1202
1203 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1204
1205 * savehist.el (savehist-save): Remove workaround for a read-passwd
1206 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1207 noticing that the shim was still present.
1208
1209 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1212
1213 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1214
1215 * faces.el (face-set-after-frame-default): Remove unused local variable.
1216
1217 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * progmodes/grep.el: Use lexical-binding.
1220 (grep-expand-template): Pass explicit lexical env to `eval'.
1221 (zrgrep): Let-bind grep-find-template explicitly.
1222
1223 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1224 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1225
1226 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1227
1228 * international/characters.el <standard-case-table>: Add entries
1229 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1230 Set category of Coptic characters be 'g' (Greek).
1231
1232 2014-04-12 Leo Liu <sdl.web@gmail.com>
1233
1234 * progmodes/octave.el (completion-table-with-cache):
1235 Define if not available.
1236 (octave-goto-function-definition, octave-sync-function-file-names)
1237 (octave-find-definition-default-filename):
1238 Backquote upattern for compatibility.
1239
1240 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1243 name twice due to backticks. (Bug#17238)
1244
1245 2014-04-12 Glenn Morris <rgm@gnu.org>
1246
1247 * term/w32-win.el (x-win-suspend-error):
1248 * term/x-win.el (x-win-suspend-error): Sync docs.
1249
1250 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1251
1252 * faces.el (make-face): Remove deprecated optional argument.
1253 The conditional application of X resources is handled directly by
1254 make-face-x-resource-internal since Emacs 24.4.
1255 (make-empty-face): Don't pass optional argument to make-face.
1256
1257 2014-04-11 Glenn Morris <rgm@gnu.org>
1258
1259 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1260
1261 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 Ediff's overlay priorities cause more trouble than they solve.
1264 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1265 (ediff-highest-priority): Remove function (bug#17234).
1266 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1267 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1268 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1269 overlay priorities.
1270
1271 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1272
1273 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1274 entry; use symbol boundaries to avoid mis-matches.
1275
1276 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1277
1278 * net/tramp.el (tramp-file-name-handler)
1279 (tramp-completion-file-name-handler): Avoid recursive loading.
1280
1281 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1282 Quote result also locally.
1283
1284 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1287 Remove left-over code.
1288
1289 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1290 Reuse the previous comment's indentation unconditionally if it's on its
1291 own line.
1292
1293 2014-04-09 Daniel Colascione <dancol@dancol.org>
1294
1295 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1296 `no-syntax-crossing' arguments. Forward to `up-list'.
1297 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1298 Implement logic for escaping from strings. Use narrowing to deal
1299 with corner cases.
1300
1301 2014-04-09 Leo Liu <sdl.web@gmail.com>
1302
1303 * net/rcirc.el (rcirc-connection-info): New variable.
1304 (rcirc-connect): Use it to store connection info.
1305 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1306 for killed process.
1307 (rcirc-cmd-reconnect): New command. (Bug#17045)
1308 (rcirc-mode, set-rcirc-encode-coding-system)
1309 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1310
1311 2014-04-09 Daniel Colascione <dancol@dancol.org>
1312
1313 * emacs-lisp/cl-indent.el: Add comment claiming
1314 facility is also good for elisp.
1315 (lisp-indent-find-method): New function.
1316 (common-lisp-indent-function): Recognize cl-loop.
1317 (common-lisp-indent-function-1): Recognize cl constructs; use
1318 `lisp-indent-find-method' instead of `get' directly.
1319 (if): Use else-body style for elisp.
1320
1321 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1322
1323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1324 Module methods. (Bug#17216)
1325
1326 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1329 (describe-bindings-internal): Mark obsolete.
1330
1331 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1334 buffer-file-name, and buffer-file-truename any more.
1335
1336 2014-04-08 Leo Liu <sdl.web@gmail.com>
1337
1338 Use lexical-binding and require cl-lib.
1339 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1340 (rcirc-handler-generic, rcirc-fill-paragraph)
1341 (rcirc-format-response-string, rcirc-target-buffer)
1342 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1343 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1344 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1345 (rcirc-markup-timestamp, rcirc-markup-attributes)
1346 (rcirc-markup-my-nick, rcirc-markup-urls)
1347 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1348 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1349 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1350 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1351 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1352 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1353 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1354 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1355 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1356 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1357 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1358 use cl-lib.
1359
1360 2014-04-07 João Távora <joaotavora@gmail.com>
1361
1362 * elec-pair.el (electric-pair--syntax-ppss):
1363 When inside comments parse from comment beginning.
1364 (electric-pair--balance-info): Fix typo in comment.
1365 (electric-pair--in-unterminated-string-p): Delete.
1366 (electric-pair--unbalanced-strings-p): New function.
1367 (electric-pair-string-bound-function): New var.
1368 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1369 according to `electric-pair--in-unterminated-string-p'
1370
1371 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1372 Inhibit quote pairing if point-max is inside an unterminated string.
1373 (electric-pair--looking-at-unterminated-string-p): Delete.
1374 (electric-pair--in-unterminated-string-p): New function.
1375
1376 2014-04-07 Glenn Morris <rgm@gnu.org>
1377
1378 * shell.el (shell-directory-tracker):
1379 Go back to just ignoring failures. (Bug#17159)
1380
1381 2014-04-07 João Távora <joaotavora@gmail.com>
1382
1383 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1384 backspace. (bug#16981)
1385 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1386 (electric-pair-backward-delete-char-untabify): Delete.
1387 (electric-pair-mode-map): Bind backspace to a menu item filtering
1388 a new `electric-pair-delete-pair' command.
1389 (electric-pair-delete-pair): New command.
1390
1391 * progmodes/python.el (python-electric-pair-string-delimiter):
1392 Fix triple-quoting electricity. (Bug#17192)
1393
1394 * elec-pair.el (electric-pair-post-self-insert-function):
1395 Don't skip whitespace when `electric-pair-text-pairs' and
1396 `electric-pair-pairs' were used. syntax to
1397 electric-pair--skip-whitespace. (Bug#17183)
1398
1399 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1400
1401 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1402 "<F>". (Bug#17199)
1403
1404 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1407 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1408
1409 2014-04-07 Glenn Morris <rgm@gnu.org>
1410
1411 * help.el (view-lossage): Doc tweak.
1412
1413 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1414
1415 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1416 only when inhibit-x-resources is nil, and do that earlier in the
1417 function. Doc fix. (Bug#16694)
1418 (face-spec-choose): Accept additional optional argument, whose
1419 value is returned if no matching attributes are found.
1420 (face-spec-recalc): Use the new optional argument when calling
1421 face-spec-choose. (Bug#16378)
1422 (make-face-x-resource-internal): Do nothing when
1423 inhibit-x-resources is non-nil. Don't touch the default face if
1424 reversed video is given--as was done in previous versions of Emacs.
1425 (face-set-after-frame-default): Don't call
1426 make-face-x-resource-internal here. (Bug#16434)
1427
1428 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1429
1430 * doc-view.el (doc-view-bookmark-jump):
1431 Use `bookmark-after-jump-hook' to jump to the right page after the
1432 buffer is shown in a window. (bug#16090)
1433
1434 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1435
1436 * international/characters.el (mirroring): Fix last change:
1437 instead of loading uni-mirrored.el explicitly, do that implicitly
1438 by creating the 'mirroring' uniprop table. This avoids announcing
1439 the loading of uni-mirrored.el.
1440
1441 2014-04-07 Glenn Morris <rgm@gnu.org>
1442
1443 * files.el (buffer-stale--default-function)
1444 (buffer-stale-function, revert-buffer--default):
1445 * autorevert.el (auto-revert-buffers): Doc tweaks.
1446
1447 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1448
1449 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1450
1451 2014-04-07 Glenn Morris <rgm@gnu.org>
1452
1453 * files.el (make-backup-file-name-function)
1454 (make-backup-file-name, make-backup-file-name--default-function)
1455 (make-backup-file-name-1, find-backup-file-name)
1456 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1457 (buffer-stale--default-function, buffer-stale-function)
1458 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1459 (revert-buffer, revert-buffer--default)
1460 (revert-buffer-insert-file-contents--default-function):
1461 Doc fixes related to defaults no longer being nil.
1462 (make-backup-file-name-function): Bump :version.
1463 Restore nil as a valid but deprecated custom type.
1464
1465 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1468 Handle $' used as a variable (bug#17174).
1469
1470 * progmodes/perl-mode.el (perl-indent-new-calculate):
1471 Handle forward-sexp failure (bug#16985).
1472 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1473 modifiers introducing expressions (bug#17116).
1474
1475 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1478
1479 2014-04-05 Leo Liu <sdl.web@gmail.com>
1480
1481 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1482 Add define-compilation-mode.
1483
1484 2014-04-04 João Távora <joaotavora@gmail.com>
1485
1486 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1487 parse from comment beginning.
1488 (electric-pair--balance-info): Fix typo in comment.
1489 (electric-pair--in-unterminated-string-p): Delete.
1490 (electric-pair--unbalanced-strings-p): New function.
1491 (electric-pair-string-bound-function): New var.
1492 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1493 according to `electric-pair--in-unterminated-string-p'.
1494
1495 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1498 Move declaration before first use.
1499 (reftex-move-to-next-arg): Silence compiler warning.
1500
1501 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1502
1503 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1504 Use `window-total-width' instead of `window-width'.
1505
1506 2014-04-03 Daniel Colascione <dancol@dancol.org>
1507
1508 * subr.el (set-transient-map): Remove rms's workaround entirely;
1509 use new `suspicious-object' subr to mark our lambda for closer
1510 scrutiny during gc.
1511
1512 2014-04-02 Richard Stallman <rms@gnu.org>
1513
1514 * subr.el (set-transient-map): Comment out previous change.
1515
1516 2014-04-02 Glenn Morris <rgm@gnu.org>
1517
1518 * menu-bar.el (menu-bar-file-menu):
1519 * vc/ediff.el (ediff-current-file):
1520 Update for revert-buffer-function no longer being nil by default.
1521
1522 * simple.el (command-execute): Respect nil disabled-command-function.
1523
1524 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1525
1526 * simple.el (command-execute): Do not execute the command when it
1527 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1528
1529 2014-04-02 Juri Linkov <juri@jurta.org>
1530
1531 * dired-aux.el (dired-compress-file): Don't use string-match-p
1532 because its match data is used afterwards.
1533
1534 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1537 0 like nil.
1538
1539 2014-04-02 João Távora <joaotavora@gmail.com>
1540
1541 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1542 Inhibit quote pairing if point-max is inside an unterminated string.
1543 (electric-pair--looking-at-unterminated-string-p):
1544 Delete.
1545 (electric-pair--in-unterminated-string-p): New function.
1546
1547 2014-04-01 Daniel Colascione <dancol@dancol.org>
1548
1549 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1550 when trying to complete the prompt.
1551
1552 2014-03-31 Leo Liu <sdl.web@gmail.com>
1553
1554 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1555 Refactor out eldoc-documentation-function-default.
1556 (eldoc-documentation-function-default): New function.
1557 (eldoc-documentation-function): Change value.
1558
1559 2014-03-31 Glenn Morris <rgm@gnu.org>
1560
1561 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1562
1563 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1564 (vhdl-compose-components-package, vhdl-compose-configuration):
1565 Abbreviate default-directory (missing from some previous upstream sync).
1566
1567 2014-03-31 Reto Zimmermann <reto@gnu.org>
1568
1569 Sync with upstream vhdl mode v3.35.2.
1570 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1571 (top-level): No longer require assoc.
1572 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1573 New functions. Use throughout to replace aget etc.
1574 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1575 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1576 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1577 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1578 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1579 except `vhdl-compiler'.
1580 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1581 when appropriate.
1582
1583 2014-03-31 Glenn Morris <rgm@gnu.org>
1584
1585 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1586 Revert 2014-03-26 merge goof; go back to using defalias.
1587
1588 2014-03-30 Daniel Colascione <dancol@dancol.org>
1589
1590 * comint.el (comint-send-input):
1591 Deactivate completion-in-region-mode before we send comint input.
1592 (Bug#17139).
1593
1594 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1595 on keyboard-quit.
1596
1597 2014-03-29 Glenn Morris <rgm@gnu.org>
1598
1599 * textmodes/reftex.el: Manage most autoloads automatically.
1600 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1601 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1602 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1603 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1604 * textmodes/reftex-toc.el: Set generated-autoload-file,
1605 and add autoload cookies for reftex.el.
1606 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1607
1608 2014-03-28 Glenn Morris <rgm@gnu.org>
1609
1610 * cus-start.el (report-emacs-bug-address): Set custom properties.
1611 * mail/emacsbug.el (report-emacs-bug-address):
1612 Variable is now defined in emacs.c.
1613
1614 * mail/emacsbug.el (report-emacs-bug):
1615 Include system-configuration-features.
1616
1617 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1618
1619 * simple.el (cycle-spacing): Never delete spaces on first run by
1620 default, but do so in a new 'fast mode and if there are already
1621 N spaces (the previous behavior).
1622 Compare N with its value in previous invocation so that changing
1623 prefix argument restarts `cycle-spacing' sequence.
1624 The idea is that with this change, binding M-SPC to
1625 `cycle-spacing' should not introduce any changes in behavior of
1626 the binding so long as users do not type M-SPC twice in a raw with
1627 the same prefix argument or lack thereof.
1628
1629 2014-03-28 Glenn Morris <rgm@gnu.org>
1630
1631 * faces.el (term-file-aliases): New variable.
1632 (tty-run-terminal-initialization): Respect term-file-aliases.
1633 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1634 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1635 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1636
1637 2014-03-27 Glenn Morris <rgm@gnu.org>
1638
1639 * startup.el (inhibit-startup-hooks): Doc tweak.
1640 (normal-top-level): Simplify running of hooks.
1641 For window-setup-hook, respect inhibit-startup-hooks.
1642 (command-line-1): Don't set window-setup-hook to nil.
1643
1644 Allow selective autoloading from obsolete/ directory.
1645 * Makefile.in (obsolete-autoloads): New rule.
1646 (autoloads): Run obsolete-autoloads.
1647 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1648 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1649
1650 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1651
1652 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1653 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1654
1655 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1656 Don't propertize `?' or `!' as symbol constituent when after
1657 colon. (Bug#17097)
1658
1659 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1660
1661 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1662 which is no longer needed and causes trouble in GTK builds (bug#17046).
1663
1664 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1665 Use url-insert-file-contents; package-handle-response no longer exists.
1666
1667 2014-03-26 Daniel Colascione <dancol@dancol.org>
1668
1669 * simple.el (process-menu-mode-map): New variable.
1670 (process-menu-delete-process): New command.
1671
1672 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1673
1674 * emacs-lisp/package.el: Fix bug#16733 (again).
1675 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1676 (url-http-target-url): Remove unused declarations.
1677 (package-handle-response): Remove.
1678 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1679 (package--download-one-archive): Use current-buffer instead of
1680 dynamic binding of `buffer'.
1681 (describe-package-1): Do not decode readme-string.
1682
1683 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1684
1685 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1686
1687 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1688 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1689 `remote-file-name-inhibit-cache' to nil in the second pass.
1690 (tramp-find-executable): Do not call "which" on SunOS.
1691 (tramp-send-command-and-check): Fix docstring.
1692 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1693 check whether source directory has set the sticky bit.
1694
1695 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1696
1697 * simple.el (primitive-undo): Only process marker adjustments
1698 validated against their corresponding (TEXT . POS). Issue warning
1699 for lone marker adjustments in undo history. (Bug#16818)
1700 (undo-make-selective-list): Add marker adjustments to selective
1701 undo list based on whether their corresponding (TEXT . POS) is in
1702 the region. Remove variable adjusted-markers, which was unused
1703 and only non nil during undo-make-selective-list.
1704 (undo-elt-in-region): Return nil when passed a marker adjustment
1705 and explain in function doc.
1706
1707 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1708
1709 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1710
1711 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1714 Match special global variables without curlies, too.
1715 (ruby-font-lock-keywords): Simplify the matcher for special global
1716 variables. Don't require a non-word character after the variable.
1717 (Bug#17057)
1718
1719 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * simple.el (redisplay-highlight-region-function): Increase priority of
1722 overlay to make sure boundaries are visible (bug#15899).
1723
1724 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1725
1726 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1727 (frameset-restore): Compare display strings with equal.
1728
1729 * frame.el (make-frame): Don't quote display name in error message,
1730 it is already a string.
1731
1732 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1733
1734 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1735 the password.
1736
1737 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1738
1739 * emacs-lisp/package.el (package--add-to-archive-contents):
1740 Include already installed and built-in packages in
1741 `package-archive-contents'.
1742 (package-install): Don't include already installed packages in the
1743 options during interactive invocation. (Bug#16762)
1744 (package-show-package-list): If the buffer is already displayed in
1745 another window, switch to that window.
1746
1747 2014-03-26 Reto Zimmermann <reto@gnu.org>
1748
1749 Sync with upstream vhdl mode v3.35.1.
1750 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1751 (vhdl-compiler-alist): Doc fix.
1752 (vhdl-goto-line): Remove.
1753 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1754 (vhdl-mode) <paragraph-start>: Fix value.
1755 (vhdl-fix-statement-region): Not `for' in wait-statement.
1756 (vhdl-beautify-region): Also (un)tabify.
1757 (vhdl-get-visible-signals):
1758 Scan declarative part of generate statements.
1759 (vhdl-template-record): Fix indentation for record type declaration.
1760 (vhdl-expand-abbrev, vhdl-expand-paren):
1761 Revert to using fset again rather than defalias.
1762 (vhdl-scan-directory-contents): Tweak.
1763 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1764 (vhdl-compose-components-package):
1765 Replace vhdl-goto-line with forward-line.
1766 (top-level): Tweak speedbar frame selection.
1767 (vhdl-generate-makefile-1): Support for compilers with no
1768 unit-to-file name mapping (create directory with dummy files).
1769
1770 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1771
1772 Sync with upstream verilog-mode revision 702457d.
1773 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1774 (create-lockfiles): Declare.
1775 (verilog-read-decls): Fix module header imports, bug709.
1776 Reported by Victor Lau.
1777 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1778 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1779 interface-only modules, bug721. Reported by Dean Hoyt.
1780
1781 2014-03-26 Glenn Morris <rgm@gnu.org>
1782
1783 * obsolete/gulp.el: Move here from emacs-lisp/.
1784
1785 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1786 Remove fallback aliases, since they are always defined now.
1787
1788 2014-03-24 Daniel Colascione <dancol@dancol.org>
1789
1790 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1791 instead of cl-loop search function.
1792
1793 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1794
1795 * calendar/parse-time.el (parse-time-iso8601-regexp)
1796 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1797 it more generally.
1798
1799 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1800
1801 * net/dns.el (network-interface-list): Define for XEmacs.
1802
1803 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1804
1805 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1806 the network interfaces changed.
1807 (dns-query): Use it to flush the data.
1808
1809 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1810
1811 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1812
1813 2014-03-23 Daniel Colascione <dancol@dancol.org>
1814
1815 Change subword-mode to use `find-word-boundary-function-table' and
1816 replace `capitalized-words-mode'. Also, convert to lexical
1817 binding.
1818
1819 * progmodes/cap-words.el: Delete now-obsolete file.
1820 * progmodes/subword.el: Reimplement using
1821 `find-word-boundary-function-table'.
1822 (subword-mode-map): Hollow out.
1823 (capitalized-words-mode): Define as obsolete alias for
1824 `subword-mode'.
1825 (subword-mode, superword-mode): Tweak documentation to reflect new
1826 implementation; call `subword-setup-buffer'.
1827 (subword-forward, subword-capitalize): Add underscore to indicate
1828 unused variable.
1829 (subword-find-word-boundary-function-table): New constant.
1830 (subword-empty-char-table): New constant.
1831 (subword-setup-buffer): New function.
1832 (subword-find-word-boundary): New function.
1833
1834 2014-03-23 Daniel Colascione <dancol@dancol.org>
1835
1836 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1837 list to look for keyword arguments instead of `memq', fixing
1838 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1839 Please make bootstrap.
1840
1841 2014-03-22 Glenn Morris <rgm@gnu.org>
1842
1843 * dired.el (dired-read-regexp): Make obsolete.
1844 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1845 (dired-flag-files-regexp):
1846 * dired-aux.el (dired-mark-read-regexp):
1847 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1848
1849 * startup.el (fancy-startup-text):
1850 * help.el (describe-gnu-project): Visit online info about GNU project.
1851
1852 * help-fns.el (help-fns--interactive-only): New function.
1853 (help-fns-describe-function-functions): Add the above function.
1854 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1855 (next-line, previous-line): Remove hand-written interactive-only
1856 information from doc strings, it is auto-generated now.
1857 * bookmark.el (bookmark-write):
1858 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1859 (epa-mail-import-keys): Mark interactive-only,
1860 and remove hand-written interactive-only information from doc strings.
1861 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1862 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1863 * files.el (not-modified):
1864 * simple.el (mark-whole-buffer): Mark interactive-only.
1865
1866 * emacs-lisp/byte-run.el (defun-declarations-alist):
1867 Add interactive-only. Doc tweak.
1868 (macro-declarations-alist): Doc tweak.
1869 * subr.el (declare): Doc tweak (add xref to manual).
1870 * comint.el (comint-run):
1871 * files.el (insert-file-literally, insert-file):
1872 * replace.el (replace-string, replace-regexp):
1873 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1874 (delete-forward-char, goto-line, insert-buffer, next-line)
1875 (previous-line): Set interactive-only via declare.
1876
1877 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1878
1879 * emacs-lisp/package.el (package-desc): Use the contents of the
1880 quoted form, not its cdr. (Bug#16873)
1881
1882 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1885 benefit of doc.c; change parameter profile to match the X function.
1886
1887 2014-03-22 Leo Liu <sdl.web@gmail.com>
1888
1889 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1890 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1891
1892 2014-03-21 Richard Stallman <rms@gnu.org>
1893
1894 * battery.el (battery-linux-sysfs): Search for each field
1895 from the beginning of the buffer.
1896
1897 * subr.el (set-transient-map): Clear out function and value
1898 of the temporary symbol when we're done with it.
1899
1900 * mail/rmailsum.el (rmail-summary-delete-forward):
1901 Optimize case of reaching end and handling count.
1902 (rmail-summary-mark-deleted): Optimize when N is current msg.
1903 Don't create new summary line.
1904 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1905 (rmail-summary-undelete-many): Rewrite for speed.
1906 (rmail-summary-msg-number): New function.
1907
1908 * mail/rmail.el (rmail-delete-message): Update summary.
1909 (rmail-undelete-previous-message): Handle repeat count arg.
1910 (rmail-delete-backward, rmail-delete-forward): Likewise.
1911
1912 2014-03-21 Daniel Colascione <dancol@dancol.org>
1913
1914 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1915 information in bug reports.
1916
1917 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1918
1919 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1920 and `tramp-copy-env'.
1921
1922 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1923 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1924
1925 2014-03-21 Glenn Morris <rgm@gnu.org>
1926
1927 * electric.el (electric-indent-post-self-insert-function): Add doc.
1928
1929 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1930
1931 * emacs-lisp/package.el (package-compute-transaction):
1932 Use `version-list-<=' to compare the requirement version against
1933 the version of package already to be installed. Update the error
1934 message. (Bug#16826)
1935
1936 * progmodes/ruby-mode.el (ruby-smie-rules):
1937 Add indentation rule for ` @ '. (Bug#17050)
1938
1939 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1940
1941 * align.el (align-regexp): Remove superfluous backslash.
1942
1943 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1944 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1945 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1946 Fix docstring typos.
1947 (ffap-next): Use C-u in docstring.
1948 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1949 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1950 Remove superfluous backslashes.
1951 (ffap-string-at-point): Reflow docstring.
1952
1953 * server.el (server-host): Reflow docstring.
1954 (server-unload-function): Fix docstring typo.
1955 (server-eval-at): Remove superfluous backslash.
1956
1957 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1958 (skeleton-insert): Doc fix.
1959 (skeleton-insert): Reflow docstring.
1960
1961 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1962 (tty-color-approximate, tty-color-by-index, tty-color-values)
1963 (tty-color-desc): Remove superfluous backslashes.
1964
1965 2014-03-21 Glenn Morris <rgm@gnu.org>
1966
1967 * cus-start.el (history-length): Bump :version.
1968
1969 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1970 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1971 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1972 Don't set `make-backup-files'.
1973
1974 * info.el (info--prettify-description): New function,
1975 to give info-finder descriptions consistent case, punctuation.
1976 (Info-finder-find-node): Use it. Sort packages.
1977 Refer to "description" rather than "commentary".
1978
1979 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1980
1981 * frameset.el (frameset--print-register): New function.
1982 (frameset-to-register): Use it.
1983
1984 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1985
1986 * progmodes/hideif.el (hif-string-to-number): New function.
1987 (hif-tokenize): Use it to understand non-decimal floats.
1988
1989 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1990
1991 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1992
1993 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * electric.el (electric-newline-and-maybe-indent): New command.
1996 Bind it globally to C-j.
1997 (electric-indent-mode): Don't mess with the global map any more.
1998 Don't drop the post-self-insert-hook is some buffer is still using it
1999 (bug#16770).
2000
2001 * bindings.el (global-map): Remove C-j binding.
2002
2003 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2004 the docstring of functions advised before dumping (bug#16993).
2005
2006 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2007
2008 * ps-print.el (ps-generate-postscript-with-faces):
2009 Explicitly deactivate the mark (bug#16866).
2010 * simple.el (deactivate-mark): Update region highlight.
2011
2012 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2013
2014 * emacs-lisp/package.el (describe-package-1):
2015 Decode commentary (bug#16733).
2016
2017 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2018
2019 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2020 modification of the value argument of :set (bug#16755).
2021
2022 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * simple.el (newline-and-indent): Do autofill (bug#17031).
2025
2026 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * newcomment.el (comment-normalize-vars): Only add escaping check
2029 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2030 (comment-beginning): Use `narrow-to-region' instead of moving back
2031 one character.
2032 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2033 (comment-start-skip): Update the docstring.
2034
2035 2014-03-18 Richard Stallman <rms@gnu.org>
2036
2037 * dired.el (dired-display-file): Force use of other window.
2038
2039 2014-03-18 Daniel Colascione <dancol@dancol.org>
2040
2041 * startup.el (tty-handle-args): Remove debug message from 2007.
2042
2043 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2046 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2047 (advice--make-1, advice-add, advice-remove):
2048 Remove braindead :advice-pending hack.
2049
2050 2014-03-17 Glenn Morris <rgm@gnu.org>
2051
2052 * calendar/calendar.el (calendar-generate-month): Apply weekend
2053 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2054
2055 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2056
2057 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2058 (tramp-call-process): Trace also DESTINATION.
2059
2060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2061 Quote file names when they are local. Remove superfluous trace.
2062
2063 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 * newcomment.el (comment-beginning): If `comment-start-skip'
2066 doesn't match, move back one char and try again. (Bug#16971)
2067
2068 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2069 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2070 Set `comment-start-skip' to a simpler value that doesn't try to
2071 check if the semicolon is escaped (this is handled by
2072 `syntax-ppss' now). (Bug#16971)
2073
2074 * progmodes/scheme.el (scheme-mode-variables): Same.
2075
2076 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2077
2078 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2079 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2080 current (Bug#16816, Bug#17007).
2081 (with-current-buffer-window): New macro doing the same as
2082 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2083 * help.el (help-print-return-message): Warn in doc-string to not
2084 use this in `with-help-window'.
2085 (describe-bindings-internal): Call `describe-buffer-bindings'
2086 from within help buffer. See Juanma's scenario in (Bug#16816).
2087 (with-help-window): Update doc-string.
2088 * dired.el (dired-mark-pop-up):
2089 * files.el (save-buffers-kill-emacs):
2090 * register.el (register-preview): Use `with-current-buffer-window'
2091 instead of `with-temp-buffer-window'.
2092
2093 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2094
2095 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2096 Implement inserting into current buffer, documented in their docstrings.
2097 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2098 (rst-section-tree-point, rst-forward-section, rst-indent)
2099 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2100 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2101 (rst-font-lock-handle-adornment-pre-match-form)
2102 (rst-repeat-last-character): Reflow docstrings.
2103 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2104 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2105 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2106 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2107 Fix docstring typos.
2108 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2109 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2110 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2111
2112 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2113
2114 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2115 for compatibility with other ports.
2116 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2117 from the -xrm command line argument, but in the Nextstep port its value
2118 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2119
2120 * progmodes/python.el (defconst, python-syntax-count-quotes)
2121 (python-indent-region, python-indent-shift-right)
2122 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2123 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2124 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2125 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2126 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2127 (python-shell-buffer-substring, python-shell-send-buffer)
2128 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2129 (python-completion-complete-at-point, python-fill-docstring-style)
2130 (python-eldoc-function, python-imenu-format-item-label)
2131 (python-imenu-format-parent-item-label)
2132 (python-imenu-format-parent-item-jump-label)
2133 (python-imenu--build-tree, python-imenu-create-index)
2134 (python-imenu-create-flat-index): Fix docstring typos.
2135 (python-indent-context, python-shell-prompt-regexp, run-python):
2136 Remove superfluous backslashes.
2137 (python-indent-line, python-nav-beginning-of-defun)
2138 (python-shell-get-buffer, python-shell-get-process)
2139 (python-info-current-defun, python-info-current-line-comment-p)
2140 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2141 (python-indent-post-self-insert-function, python-shell-send-file)
2142 (python-shell-completion-get-completions)
2143 (python-shell-completion-complete-or-indent)
2144 (python-eldoc--get-doc-at-point): Reflow docstrings.
2145
2146 2014-03-14 Glenn Morris <rgm@gnu.org>
2147
2148 * emacs-lisp/package.el (package-menu-mode-map):
2149 Replace use of obsolete function alias. Tweak menu item text.
2150
2151 * info.el (Info-finder-find-node):
2152 Ignore the `emacs' metapackage. (Bug#10813)
2153
2154 * finder.el (finder-list-matches): Include unversioned packages
2155 in the result of a keyword search.
2156
2157 * finder.el (finder--builtins-descriptions): New constant.
2158 (finder-compile-keywords): Use finder--builtins-descriptions.
2159
2160 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2161
2162 * simple.el (blink-matching-paren): Describe the new value,
2163 `jump', enabling the old behavior.
2164 (blink-matching-open): Use that value. (Bug#17008)
2165
2166 2014-03-14 Glenn Morris <rgm@gnu.org>
2167
2168 * finder.el (finder-no-scan-regexp): Add leim-list.
2169 (finder-compile-keywords):
2170 Don't skip files with same basename. (Bug#14010)
2171 * Makefile.in (setwins_finder): New, excluding leim.
2172 (finder-data): Use setwins_finder.
2173
2174 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2175 (help-function-arglist, help-make-usage): Move from here...
2176 * help.el (help-split-fundoc, help-add-fundoc-usage)
2177 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2178 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2179
2180 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2181
2182 * net/socks.el (socks, socks-override-functions)
2183 (socks-find-services-entry):
2184 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2185 (hif-find-ifdef-block):
2186 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2187
2188 * net/tls.el (tls-program): Reflow docstring.
2189
2190 * progmodes/pascal.el (pascal-mode-abbrev-table)
2191 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2192 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2193 (pascal-outline-mode): Fix docstring typos.
2194 (pascal-mode): Let define-derived-mode document mode hook.
2195 (pascal-uncomment-area): Reflow.
2196 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2197
2198 * progmodes/opascal.el (opascal-compound-block-indent)
2199 (opascal-case-label-indent): Fix docstring typos.
2200 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2201
2202 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2203
2204 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2205 Fontify multiple adjacent negation chars. (Bug#17004)
2206
2207 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2208
2209 * emacs-lisp/package.el (package--prepare-dependencies):
2210 Accept requirements without explicit version (bug#14941).
2211
2212 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2213
2214 * register.el (register-separator, copy-to-register): Doc fixes.
2215 (register-preview-default): Remove unnecessary call to concat.
2216
2217 * frameset.el (frameset-restore): When checking for a visible frame,
2218 use the action map instead of calling visible-frame-list.
2219
2220 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2221
2222 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2223
2224 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2225
2226 * window.el (fit-frame-to-buffer): Get maximum width from
2227 display's width instead of height.
2228
2229 2014-03-12 Glenn Morris <rgm@gnu.org>
2230
2231 * desktop.el (desktop-restore-frames)
2232 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2233 (desktop-restore-reuses-frames): Doc tweaks.
2234
2235 * electric.el (electric-indent-mode): Doc fix.
2236
2237 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2238
2239 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2240 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2241 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2242 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2243 (cvs-dired-use-hook): Fix docstring typos.
2244 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2245 Doc fixes.
2246
2247 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2248 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2249 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2250 (cvs-execute-single-dir): Fix docstring typos.
2251
2252 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2253 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2254
2255 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2256
2257 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2258 Fix docstring typos.
2259
2260 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2261
2262 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2263 called from jump-to-register after unloading the frameset package.
2264
2265 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2268 (bug#16975). Deactivate the mark before setting it to nil.
2269 (activate-mark): Do nothing if region is already active.
2270
2271 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2272
2273 * frameset.el (frameset--target-display): Remove definition; declare.
2274 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2275
2276 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2279 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2280 when the advice is pending.
2281 (advice-remove): Remove this marker when not needed any more.
2282
2283 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2284
2285 * frameset.el: Separate options for reusing frames and cleaning up.
2286 (frameset--reuse-list): Remove definition; declare.
2287 (frameset--action-map): Declare.
2288 (frameset--find-frame-if): Doc fix.
2289 (frameset--restore-frame): Cache frame action.
2290 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2291 how to clean up the frame list after restoring. Remove cleaning
2292 options from REUSE-FRAMES. Change all keyword values to symbols.
2293 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2294
2295 * desktop.el (desktop-restore-forces-onscreen)
2296 (desktop-restore-reuses-frames): Use non-keyword values.
2297 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2298
2299 2014-03-10 Glenn Morris <rgm@gnu.org>
2300
2301 * files.el (find-file): Doc fix: update info node name.
2302
2303 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2304 Doc fix: remove references to deleted info nodes.
2305
2306 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2307
2308 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2309 Do not add `nil' to the environment, when there's no remote `locale'.
2310 (tramp-find-inline-encoding): Check, that the remote host has
2311 installed perl, before sending scripts.
2312
2313 2014-03-10 Leo Liu <sdl.web@gmail.com>
2314
2315 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2316 Clear eldoc-last-message. (Bug#16920)
2317
2318 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2321 (bug#14430).
2322
2323 2014-03-09 Juri Linkov <juri@jurta.org>
2324
2325 * ansi-color.el (ansi-color-names-vector): Copy default colors
2326 from `xterm-standard-colors' that look well on the default white
2327 background (and also on the black background) to avoid illegible
2328 color combinations like yellow-on-white and white-on-white.
2329 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2330
2331 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2332
2333 * frameset.el (frameset-restore): When no frame is visible, do not
2334 generate a list of frames, just make visible the selected one.
2335
2336 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2337
2338 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2339 it only contains the repository root. (Bug#16897)
2340
2341 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2342
2343 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2344 only when `remote-file-name-inhibit-cache' is nil.
2345 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2346
2347 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2348
2349 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2350 Fix doc-strings.
2351 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2352 fit-frame-to-buffer variable. Fix doc-string.
2353 (fit-window-to-buffer): Set ONLY argument in call of
2354 fit-frame-to-buffer. Fix doc-string.
2355
2356 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2357
2358 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2359 (tramp-action-password): Clear password cache if needed.
2360 (tramp-read-passwd): Do not clear password cache.
2361
2362 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2363 cache unless it is the first password request.
2364
2365 2014-03-06 Glenn Morris <rgm@gnu.org>
2366
2367 * simple.el (newline): Doc tweak.
2368
2369 * emacs-lisp/shadow.el (load-path-shadows-find):
2370 Ignore dir-locals. (Bug#12357)
2371
2372 2014-03-05 Glenn Morris <rgm@gnu.org>
2373
2374 * files.el (interpreter-mode-alist):
2375 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2376
2377 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2378
2379 * frameset.el (frameset--initial-params): Filter out null entries.
2380
2381 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2382
2383 * window.el (window-min-height, window-min-width):
2384 Rewrite doc-strings.
2385 (window-body-size): Add PIXELWISE argument to make it consistent
2386 with its callees.
2387
2388 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2389
2390 * finder.el (finder-mode-map, finder-mode-syntax-table):
2391 Revert part of 2014-02-28 change.
2392
2393 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2394
2395 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2396 (eww-setup-buffer): Clear next/prev/etc more reliably.
2397 (eww-textarea-map): [tab] doesn't work on tty.
2398 Reported by Mario Lang.
2399
2400 * net/shr.el (shr-map): Ditto.
2401
2402 2014-03-04 Glenn Morris <rgm@gnu.org>
2403
2404 * minibuffer.el (completion-hilit-commonality):
2405 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2406
2407 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2408
2409 * hilit-chg.el (hilit-chg-unload-function): New function.
2410 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2411 (hilit-chg-map-changes): Prefer cardinal number to digit.
2412 (hilit-chg-display-changes): Reflow docstring.
2413 (highlight-changes-rotate-faces): Remove superfluous backslash.
2414
2415 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2416
2417 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2418 `tramp-send-command-and-check'.
2419
2420 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2421
2422 * hexl.el (hexl-address-region, hexl-ascii-region)
2423 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2424 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2425 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2426 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2427 (hexl-mode): Doc fix.
2428 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2429 (hexl-mode-ruler): Fix typos in docstrings.
2430
2431 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2432 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2433 Remove superfluous backslashes.
2434 (strokes-last-stroke, strokes-global-map, strokes-mode):
2435 Reflow docstrings.
2436 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2437 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2438 (strokes-distance-squared, strokes-global-set-stroke)
2439 (strokes-global-set-stroke-string): Doc fixes.
2440 (strokes-help): Fix typos; reflow docstring.
2441
2442 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2443
2444 * window.el (window-in-direction): Fix doc-string.
2445
2446 2014-03-04 Glenn Morris <rgm@gnu.org>
2447
2448 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2449 Explicit error if no grammar.
2450 (smie-config-save): Doc fix. Fix quote typo.
2451
2452 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2455 electric-indent-mode-hook if we obey electric-indent-mode.
2456 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2457 decide whether we obey electric-indent-mode.
2458 (c-change-set-fl-decl-start, c-extend-after-change-region):
2459 Silence warnings.
2460 (c-electric-indent-mode-hook): Assume we do want to obey
2461 electric-indent-mode.
2462
2463 * electric.el (electric-indent-mode-has-been-called): Remove.
2464 (electric-indent-mode): Fix accordingly.
2465
2466 * files.el (hack-local-variables): Mention file name in warning.
2467
2468 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2469
2470 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2471
2472 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2473 * simple.el (delete-forward-char): Mark as interactive-only.
2474
2475 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2476
2477 * icomplete.el (icomplete-completions):
2478 Follow-up to 2014-03-01 change.
2479
2480 * icomplete.el: Miscellaneous doc fixes.
2481 Use Icomplete everywhere instead of icomplete for consistency.
2482 (icomplete-max-delay-chars): Fix typo.
2483 (icomplete-mode): Use \[].
2484 (icomplete-tidy, icomplete-exhibit): Reflow.
2485 (icomplete-minibuffer-setup-hook, icomplete-completions):
2486 Remove superfluous backlashes.
2487
2488 * ido.el: Miscellaneous doc fixes.
2489 Use Ido everywhere instead of ido or `ido' for consistency.
2490 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2491 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2492 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2493 (ido-separator): Extract obsolescence info from docstring and declare
2494 with make-obsolete-variable.
2495 (ido-minibuffer-setup-hook): Simplify example.
2496 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2497 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2498 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2499 (ido-everywhere): Reflow docstring.
2500 (ido-toggle-vc): Doc fix.
2501 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2502 of long list of keybindings.
2503
2504 2014-03-03 Glenn Morris <rgm@gnu.org>
2505
2506 * frame.el (display-pixel-height, display-pixel-width)
2507 (display-mm-dimensions-alist, display-mm-height)
2508 (display-mm-width): Doc tweaks.
2509
2510 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2511
2512 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2513 case of undo in region.
2514
2515 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2516
2517 * window.el (fit-window-to-buffer): Fix argument in window-size
2518 call when window is horizontally combined.
2519
2520 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2521
2522 * icomplete.el (icomplete-completions): Use string-width.
2523 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2524
2525 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2526
2527 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2528 Highlight regexp options. (Bug#16914)
2529
2530 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2531
2532 * window.el (window--max-delta-1): Round down when calculating
2533 how many lines/columns we can get from a window.
2534
2535 2014-03-01 Glenn Morris <rgm@gnu.org>
2536
2537 * isearch.el (search-invisible): Doc fix.
2538
2539 * minibuffer.el (completion-hilit-commonality):
2540 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2541 * comint.el (comint-dynamic-list-completions): Doc fix.
2542 * comint.el (comint-dynamic-list-completions):
2543 * filecache.el (file-cache-minibuffer-complete):
2544 * tempo.el (tempo-display-completions):
2545 * eshell/em-hist.el (eshell-list-history):
2546 Replace use of obsolete argument of display-completion-list.
2547
2548 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2549
2550 * icomplete.el (icomplete-completions):
2551 Revert back to using "..." when ?… cannot be displayed.
2552
2553 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2554
2555 * finder.el (finder-unload-function): New function.
2556
2557 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2558
2559 * dframe.el (dframe-detach):
2560 * find-dired.el (find-dired, find-name-dired):
2561 * finder.el (finder-mode-map, finder-mode-syntax-table)
2562 (finder-headmark, finder-select, finder-mouse-select):
2563 Fix docstring typos.
2564
2565 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2566
2567 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2568 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2569 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2570 Fix doc-string based on a suggestion by Nicolas Richard
2571 <theonewiththeevillook@yahoo.fr>.
2572 * help.el (with-help-window): Fix doc-string.
2573
2574 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2575
2576 * net/shr.el (shr-image-animate): New option.
2577 (shr-put-image): Respect shr-image-animate.
2578
2579 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/tramp-adb.el (tramp-adb-parse-device-names):
2582 Use `accept-process-output'.
2583 (tramp-adb-handle-file-truename): Cache the localname only.
2584 (tramp-adb-handle-make-directory)
2585 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2586 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2587 modes cannot be changed.
2588
2589 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2590 file properties of symlinks.
2591
2592 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2593
2594 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2595 required/optional fields to match development biblatex. (Bug#16781)
2596
2597 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2598
2599 * saveplace.el (toggle-save-place):
2600 Fix argument handling. (Bug#16673)
2601
2602 2014-02-28 Glenn Morris <rgm@gnu.org>
2603
2604 * minibuffer.el (completions-first-difference)
2605 (completions-common-part, completion-hilit-commonality): Doc fixes.
2606
2607 2014-02-28 Karl Berry <karl@gnu.org>
2608
2609 * info.el (Info-mode-map): Add H for describe-mode,
2610 to synchronize with standalone Info.
2611
2612 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2613
2614 * progmodes/sql.el (sql-interactive-mode):
2615 Avoid setting global comint-input-ring-separator. (Bug#16814)
2616
2617 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2618
2619 * net/dbus.el (dbus--init-bus): Declare function.
2620 (dbus-path-local, dbus-interface-local): New defconst.
2621 (dbus-init-bus): Use them.
2622 (dbus-return-values-table): Extend doc.
2623 (dbus-handle-bus-disconnect): Extend error message.
2624
2625 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2626
2627 * subr.el (y-or-n-p): Fix double space issue in message.
2628
2629 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * net/tramp.el (tramp-call-process): Improve trace message.
2632 (tramp-handle-insert-file-contents): Trace error case.
2633
2634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2635 <insert-directory>: Use `tramp-handle-insert-directory'.
2636 (tramp-adb-handle-insert-directory): Remove function.
2637 (tramp-adb-send-command-and-check): New defun, replacing
2638 `tramp-adb-command-exit-status'. Change all callees.
2639 (tramp-adb-handle-file-attributes)
2640 (tramp-adb-handle-directory-files-and-attributes): Use it.
2641 (tramp-adb-ls-output-name-less-p):
2642 Use `directory-listing-before-filename-regexp'.
2643 (tramp-adb-handle-delete-directory): Flush also file properties of
2644 the truename of directory.
2645 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2646 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2647 (tramp-adb-handle-write-region): Implement APPEND.
2648 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2649 properties correctly.
2650 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2651 variables. Check for connected devices only when needed.
2652
2653 2014-02-27 Glenn Morris <rgm@gnu.org>
2654
2655 * minibuffer.el (completion-table-dynamic)
2656 (completion-table-with-cache): Doc fixes.
2657
2658 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2659 (completing-read-multiple): Doc fixes.
2660
2661 2014-02-27 Daniel Colascione <dancol@dancol.org>
2662
2663 * minibuffer.el (completion--nth-completion): Fix indentation.
2664
2665 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2666 explicit tramp path is empty.
2667
2668 2014-02-27 Glenn Morris <rgm@gnu.org>
2669
2670 * emacs-lisp/crm.el (completing-read-multiple):
2671 Empower help-enable-auto-load.
2672
2673 2014-02-26 Glenn Morris <rgm@gnu.org>
2674
2675 * startup.el (command-line): Don't init the tty in daemon mode.
2676
2677 Avoid calling tty-setup-hook twice, eg if a term file
2678 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2679 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2680 (tty-create-frame-with-faces): Use it.
2681 * startup.el (command-line): Pass run-hook argument
2682 to tty-run-terminal-initialization.
2683
2684 * dired.el (dired-restore-desktop-buffer): Demote errors;
2685 eg in case a glob match fails. (Bug#16884)
2686
2687 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2688
2689 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2690 error from `read-from-string'. (Bug#16850)
2691
2692 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2693 result of `completing-read' in the interactive form. (Bug#16854)
2694
2695 2014-02-25 Glenn Morris <rgm@gnu.org>
2696
2697 * image.el (image-animate, image-animate-timeout):
2698 Stop animating images in dead buffers. (Bug#16878)
2699
2700 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2701
2702 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2703 Doc fixes.
2704 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2705 * term/sun.el (sun-raw-prefix-hooks):
2706 Use tty-setup-hook instead of term-setup-hook.
2707 (terminal-init-sun): Construct message from bytecomp plist.
2708 * term/wyse50.el (enable-arrow-keys): Doc fix.
2709
2710 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2711
2712 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2713 Fix docstring typos.
2714
2715 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2716
2717 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2718
2719 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2720
2721 * minibuffer.el (completion--try-word-completion):
2722 Fix error when completing M-x commands (bug#16808).
2723
2724 2014-02-24 Leo Liu <sdl.web@gmail.com>
2725
2726 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2727
2728 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2729
2730 * apropos.el (apropos-print): Avoid formatting error when
2731 apropos-do-all and apropos-compact-layout are both t.
2732
2733 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2734
2735 * apropos.el (apropos-property, apropos-all-words-regexp)
2736 (apropos-true-hit, apropos-variable, apropos-print):
2737 Fix docstring typos, and remove obsolete comment.
2738
2739 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2740
2741 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2742 Preserve trailing "/". (Bug#16851)
2743
2744 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2745
2746 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2747 after `=>' (bug#16811).
2748 (ruby-smie-rules): Handle the inconsistent second element of the
2749 list returned by `smie-indent--parent'.
2750 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2751 method call.
2752
2753 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2754
2755 * elec-pair.el (electric-pair-text-syntax-table)
2756 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2757 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2758 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2759 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2760
2761 2014-02-22 Glenn Morris <rgm@gnu.org>
2762
2763 * imenu.el (imenu--generic-function): Doc fix.
2764
2765 * register.el (frame-configuration-to-register): Make obsolete.
2766
2767 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * desktop.el (desktop-save-buffer-p): Do not fail when
2770 desktop-files-not-to-save is nil. Return t for true result
2771 as the doc says.
2772
2773 2014-02-22 Daniel Colascione <dancol@dancol.org>
2774
2775 * net/secrets.el (secrets-create-item, secrets-search-items):
2776 Check that attribute values are strings, avoiding the construction
2777 of invalid dbus messages.
2778
2779 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2780
2781 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2782 defun-declarations-alist.
2783
2784 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2787 (bug#16829).
2788
2789 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2790
2791 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2792 (whitespace-newline, whitespace-trailing, whitespace-line)
2793 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2794 (whitespace-space-after-tab): Fix typo in docstrings.
2795
2796 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2797
2798 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2799
2800 * electric.el (electric-indent-functions-without-reindent):
2801 Add `yaml-indent-line'.
2802
2803 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2806 It has done nothing for years; should be removed after the release.
2807
2808 * simple.el (choose-completion): Fix docstring typo.
2809 (read-quoted-char-radix): Remove unneeded * in docstring.
2810 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2811 Don't escape parentheses unnecessarily in docstrings.
2812
2813 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2814
2815 Fix handling of window-min-height/-width (Bug#16738).
2816 * window.el (window--dump-window, window--dump-frame):
2817 New functions.
2818 (window--min-size-1): Account for window dividers.
2819 When window-resize-pixelwise is nil, delay rounding till after the
2820 sum of the window components has been calculated.
2821 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2822 nil make sure at least one text line and two text columns remain
2823 fully visible.
2824 (window-resize): Signal an error when window-resize-apply fails.
2825 (window--resize-child-windows): Fix calculation of by how many
2826 pixels a window can still be shrunk via window-new-normal.
2827 (adjust-window-trailing-edge): Call window--resizable with
2828 correct TRAIL argument.
2829
2830 (with-temp-buffer-window): Don't evaluate BODY within
2831 with-current-buffer (Bug#16816).
2832
2833 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * net/tramp.el (tramp-check-cached-permissions):
2836 Call `file-attributes' with `suffix' being a symbol but a string.
2837
2838 2014-02-21 Daniel Colascione <dancol@dancol.org>
2839
2840 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2841 (dbus-init-bus): New function: call into dbus-init-bus-1
2842 and installs a handler for the disconnect signal.
2843 (dbus-call-method): Rewrite to look for result in cons.
2844 (dbus-call-method-handler): Store result in cons.
2845 (dbus-check-event): Recognize events with nil sender as valid.
2846 (dbus-handle-bus-disconnect): New function. React to bus
2847 disconnection signal by synthesizing dbus error for each
2848 pending synchronous or asynchronous call.
2849 (dbus-notice-synchronous-call-errors): New function.
2850 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2851 is true, not all the time.
2852
2853 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2854
2855 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2856 Remove obsolescence declarations, these variables do not exist anymore.
2857
2858 * savehist.el (savehist-save-minibuffer-history)
2859 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2860 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2861 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2862 mostly, refer to "Savehist mode" when talking about the mode,
2863 and not the function.
2864
2865 * saveplace.el (save-place): Remove redundant info in docstring.
2866 (save-place-forget-unreadable-files, toggle-save-place)
2867 (save-place-forget-unreadable-files, save-place-dired-hook):
2868 Fix typos and remove unneeded backslashes.
2869
2870 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2871
2872 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2873 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2874
2875 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2876 <insert-directory>: Use `tramp-handle-insert-directory'.
2877 (tramp-gvfs-handle-insert-directory): Remove function.
2878
2879 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2880 Call `tramp-handle-insert-directory'.
2881
2882 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2883
2884 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2885 before the start of buffer/region (bug#16799).
2886
2887 2014-02-20 Glenn Morris <rgm@gnu.org>
2888
2889 * isearch.el (search-invisible): Doc fix.
2890
2891 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2892
2893 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2894 (bug#16657).
2895
2896 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2897
2898 * frameset.el (frameset-restore): Delay removing an old frame's
2899 duplicate id until the new frame has been correctly created.
2900
2901 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2902
2903 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2904 (tramp-check-cached-permissions): Call `file-attributes' if the
2905 cache is empty.
2906
2907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2908 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2909
2910 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2911 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2912 (tramp-gvfs-maybe-open-connection): Set always connection
2913 properties, even if target is mounted already.
2914
2915 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2916 Set tramp-autoload cookie.
2917 (tramp-get-remote-touch): New defun.
2918 (tramp-sh-handle-set-file-times): Use it.
2919 (tramp-sh-handle-directory-files-and-attributes):
2920 Use `tramp-handle-directory-files-and-attributes' if neither stat
2921 nor perl are available on the remote host.
2922
2923 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2924 "/". Write long listing only when "l" belongs to the switches.
2925
2926 * net/trampver.el: Update release number.
2927
2928 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2929
2930 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2931
2932 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2933
2934 * window.el (window-state-put): Allow WINDOW to refer to an
2935 internal window (Bug#16793).
2936
2937 2014-02-19 Glenn Morris <rgm@gnu.org>
2938
2939 * textmodes/remember.el: Move provide statement to end.
2940 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2941 (remember-notes): Doc fixes.
2942
2943 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * delsel.el (delete-char): Restore incorrectly erased property
2946 (bug#16795).
2947
2948 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2949
2950 * frameset.el (frameset--restore-frame): When a frame is being reused
2951 and its root window is not alive, delete all the frame's windows before
2952 restoring the window state. This works around the issue in bug#16793.
2953
2954 2014-02-18 Glenn Morris <rgm@gnu.org>
2955
2956 * textmodes/remember.el (remember-data-directory)
2957 (remember-directory-file-name-format, remember-store-in-files)
2958 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2959 (remember-notes-save-and-bury-buffer)
2960 (remember-notes--kill-buffer-query): Doc fixes.
2961
2962 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2963
2964 2014-02-17 Alan Mackenzie <acm@muc.de>
2965
2966 Connect electric-indent-mode up with CC Mode. Bug #15478.
2967 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2968 to electric-indent-{,local-}-mode.
2969 (c-basic-common-init): Set electric-indent-inhibit.
2970 Initialise c-electric-flag from electric-indent-mode.
2971 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2972 New hook functions which propagate electric-indent-mode to CC mode.
2973
2974 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2975 hit, toggle electric-indent-local-mode.
2976
2977 * electric.el (electric-indent-mode-has-been-called):
2978 New variable.
2979
2980 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * frameset.el (frameset-cfg-id): New function.
2983 (frameset--reuse-frame, frameset-restore): Use it.
2984 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2985
2986 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * ido.el (ido-file-internal): Remove unused var `d'.
2989 Use \` for to match BoS. Fit within 80n columns.
2990
2991 2014-02-17 Daniel Colascione <dancol@dancol.org>
2992
2993 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2994 dbus-call-method check for completion using a busy-wait loop with
2995 gradual backoff.
2996
2997 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2998
2999 Sync with Tramp 2.2.9.
3000
3001 * net/trampver.el: Update release number.
3002
3003 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3004
3005 * ido.el (ido-file-internal): Don't add the name of an existing
3006 directory twice. (Bug#16747)
3007
3008 2014-02-16 Glenn Morris <rgm@gnu.org>
3009
3010 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3011 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3012
3013 2014-02-15 Michael R. Mauger <michael@mauger.com>
3014
3015 * progmodes/sql.el: Version 3.4
3016 (sql-oracle-options): New default value ("-L").
3017 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3018 (sql-placeholders-filter): Correct placeholder pattern.
3019 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3020 (sql-login-delay): New variable.
3021 (sql-product-interactive): Use it.
3022
3023 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3024
3025 * frameset.el (frameset--jump-to-register): Check that buffer is live
3026 (bug#16749).
3027
3028 2014-02-15 Glenn Morris <rgm@gnu.org>
3029
3030 * info.el (info-initialize): Revert 2014-01-10 change.
3031
3032 2014-02-14 Glenn Morris <rgm@gnu.org>
3033
3034 * replace.el (map-query-replace-regexp)
3035 (read-regexp-defaults-function, read-regexp): Doc fixes.
3036
3037 * dired.el (dired-read-regexp):
3038 * faces.el (list-faces-display):
3039 * misearch.el (multi-isearch-read-matching-buffers)
3040 (multi-isearch-read-matching-files):
3041 * play/cookie1.el (cookie-apropos):
3042 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3043
3044 * textmodes/remember.el (remember): Use frameset-to-register
3045 rather than frame-configuration-to-register.
3046
3047 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3048
3049 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3050 incorrect keybinding.
3051
3052 2014-02-13 Daniel Colascione <dancol@dancol.org>
3053
3054 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3055 when adding overlays so that line numbers from compiler match line
3056 numbers we use.
3057
3058 2014-02-13 Glenn Morris <rgm@gnu.org>
3059
3060 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3061
3062 * jit-lock.el (jit-lock-mode): Doc fix.
3063
3064 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3065
3066 * apropos.el (apropos-read-pattern): When the user passes an empty
3067 string, give a more helpful error message than "Wrong type
3068 argument: stringp, nil".
3069
3070 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3073
3074 2014-02-13 Glenn Morris <rgm@gnu.org>
3075
3076 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3077
3078 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3081 shift-select commands.
3082
3083 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/js.el (js-indent-line): Don't widen.
3086 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3087
3088 2014-02-12 Glenn Morris <rgm@gnu.org>
3089
3090 * icomplete.el (icomplete): Add info-link to defgroup.
3091 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3092 (icomplete-minibuffer-map, icomplete-mode)
3093 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3094
3095 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3096 (package-menu-filter): Rename from package-menu-filter-interactive.
3097 Doc fix.
3098
3099 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3100
3101 * frameset.el (frameset--jump-to-register): Select the required
3102 window and buffer before restoring position (bug#16696).
3103
3104 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3105
3106 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3107
3108 2014-02-10 Glenn Morris <rgm@gnu.org>
3109
3110 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3111
3112 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3113
3114 * w32-common-fns.el (x-get-selection): Doc fix.
3115 * select.el (x-get-selection): Doc fix. (Bug#15109)
3116
3117 * face-remap.el (face-remap-add-relative)
3118 (face-remap-remove-relative, face-remap-reset-base)
3119 (face-remap-set-base): Call force-mode-line-update to redisplay
3120 the current buffer due to potential change in faces. (Bug#16709)
3121
3122 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3123
3124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3125 script more robustly.
3126
3127 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3128
3129 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3130
3131 * simple.el (choose-completion): Doc fix (bug#14160).
3132
3133 * subr.el (event-start): Say what a nil EVENT value means.
3134
3135 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3136 (bug#14197).
3137
3138 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3139
3140 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3141
3142 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3143
3144 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3145 predicate function (bug#15455).
3146
3147 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3148
3149 * ielm.el (inferior-emacs-lisp-mode): Instead of
3150 `comment-use-global-state', set `comment-use-syntax'.
3151
3152 2014-02-10 Glenn Morris <rgm@gnu.org>
3153
3154 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3155
3156 2014-02-09 Alan Mackenzie <acm@muc.de>
3157
3158 Fix c-invalidate-state-cache on narrowed buffers.
3159 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3160 Widen when setting and clearing the CPP delimiter properties.
3161
3162 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3163
3164 * help.el (describe-bindings): Doc fix (bug#9888).
3165
3166 * files.el (save-buffer): Use ARG as the parameter name for
3167 consistency (bug#10346).
3168 (save-buffer): Clarify the 0 argument (bug#10346).
3169
3170 * cus-edit.el (customize-apropos): Fix error string.
3171 (custom-buffer-create): Doc fix (bug#11122).
3172 (custom-sort-items): Doc fix (bug#11121).
3173
3174 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3175
3176 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3177 (icomplete-simple-completing-p): Mention the previous variable.
3178
3179 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3180 meaning of the parameter (bug#12282).
3181
3182 * files.el (find-file-noselect): Clarify prompt when changing
3183 readedness (bug#13261).
3184 (locate-file): Suffixes aren't returned, so don't say that they
3185 are (bug#12674).
3186 (backup-inhibited): Doc clarification (bug#12525).
3187
3188 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3189 before we actually start to delete things (bug#16331).
3190
3191 * subr.el (event-start): Doc fix (bug#14228).
3192 (event-end): Ditto.
3193
3194 2014-02-09 Glenn Morris <rgm@gnu.org>
3195
3196 * emacs-lisp/warnings.el (lwarn):
3197 Empower help-enable-auto-load. (Bug#15940)
3198
3199 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3200
3201 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3202 (Bug#16690)
3203
3204 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3207 Insert output at end of buffer. (Bug#16120)
3208
3209 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3210
3211 * simple.el (choose-completion-string-functions): Document new
3212 calling convention (bug#14153).
3213 (execute-extended-command): Clarify doc string (bug#13373).
3214
3215 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3216
3217 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3218 (find-grep-dired): Doc fix (bug#14288).
3219
3220 2014-02-08 Juri Linkov <juri@jurta.org>
3221
3222 * isearch.el (isearch-quote-char): Check character validity
3223 like in `quoted-insert' (bug#16677).
3224
3225 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3226
3227 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3228
3229 * isearch.el (isearch-hide-immediately): Doc clarification
3230 (bug#14723).
3231
3232 * simple.el (line-move): Document utility function used many
3233 places in the Emacs sources (bug#14843).
3234
3235 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3236 (dired-prev-marked-file): Doc fix (bug#14855).
3237 (dired-up-directory): Doc fix (bug#14848).
3238
3239 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3240
3241 * files.el (file-relative-name): Doc fix (bug#15159).
3242
3243 * fringe.el (fringe-styles): Doc fix (bug#15239).
3244
3245 * isearch.el (isearch-filter-predicate): Documentation typo fix
3246 (bug#15474).
3247
3248 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3249
3250 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3251
3252 * replace.el (replace-match-maybe-edit): Doc clarification
3253 (bug#15632).
3254
3255 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3256
3257 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3258
3259 2014-02-08 Glenn Morris <rgm@gnu.org>
3260
3261 * help-fns.el (describe-variable):
3262 Check {file,dir}-local-variables-alist, and buffer-file-name,
3263 in the correct buffer.
3264
3265 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3266
3267 * help-fns.el (describe-variable): Fix the case where
3268 a value is directory-local with no dir-locals file. (Bug#16635)
3269
3270 2014-02-08 Glenn Morris <rgm@gnu.org>
3271
3272 * abbrev.el (edit-abbrevs-mode):
3273 Derive from fundamental-mode. (Bug#16682)
3274
3275 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3276
3277 * simple.el (quoted-insert): Check character validity (bug#16677).
3278
3279 2014-02-07 Juri Linkov <juri@jurta.org>
3280
3281 * desktop.el (desktop-read): Claim the lock when the owner is not
3282 the current process. (Bug#16157)
3283
3284 2014-02-07 Juri Linkov <juri@jurta.org>
3285
3286 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3287 to "\\` ". (Bug#16651)
3288
3289 2014-02-07 Juri Linkov <juri@jurta.org>
3290
3291 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3292 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3293 (desktop-auto-save-cancel-timer): New function with some code from
3294 `desktop-auto-save-set-timer'.
3295 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3296 Instead of setting `desktop-save-mode' to nil, call
3297 `desktop-save-mode' with arg 0. (Bug#16630)
3298
3299 2014-02-07 Glenn Morris <rgm@gnu.org>
3300
3301 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3302 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3303 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3304
3305 * obsolete/iswitchb.el: Move to obsolete/.
3306 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3307 since obsolete/ is not scanned for autoloads.
3308 * emacs-lisp/authors.el (authors-valid-file-names):
3309 Add iswitchb.el.
3310
3311 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3312 Disable now non-functional find-file-hook.
3313
3314 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3317 instead of ";" in order to avoid additional prompts. Let heredoc
3318 scripts read from tty. (Bug#16582)
3319 (tramp-send-command): No special handling of heredocs, it isn't
3320 necessary anymore.
3321
3322 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3325 with a space (bug#16664). Limit the symbols considered to the ones
3326 that are bound or fbound (bug#16646).
3327
3328 2014-02-06 Glenn Morris <rgm@gnu.org>
3329
3330 * epa.el (epa-mail-aliases): Doc fix.
3331
3332 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3333
3334 * emacs-lisp/lisp.el (lisp-completion-at-point):
3335 Use `completion-table-merge' instead of `completion-table-in-turn'
3336 (bug#16604).
3337
3338 * minibuffer.el (completion-table-merge): New function.
3339
3340 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3343 (tramp-sh-handle-set-file-acl)
3344 (tramp-sh-handle-start-file-process)
3345 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3346 (tramp-find-executable, tramp-send-command): Use it.
3347
3348 2014-02-05 Glenn Morris <rgm@gnu.org>
3349
3350 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3351
3352 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3353
3354 * progmodes/python.el (python-shell-send-string)
3355 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3356
3357 2014-02-04 Anders Lindgren <andlind@gmail.com>
3358
3359 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3360 the names (bug#16620).
3361
3362 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3363
3364 * faces.el (window-divider): New default value. Rewrite doc-string.
3365 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3366
3367 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3368
3369 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3370 `protected' and `public' can also be called without arguments.
3371
3372 2014-02-03 Glenn Morris <rgm@gnu.org>
3373
3374 * register.el (window-configuration-to-register)
3375 (frame-configuration-to-register): Unadvertise unused argument.
3376 * frameset.el (frameset-to-register): Remove unused argument.
3377
3378 * frameset.el (frameset-to-register):
3379 * kmacro.el (kmacro-to-register):
3380 * register.el (increment-register):
3381 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3382 (calc-append-to-register, calc-prepend-to-register):
3383 * play/gametree.el (gametree-layout-to-register)
3384 (gametree-apply-register-layout):
3385 * textmodes/picture.el (picture-clear-rectangle-to-register)
3386 (picture-yank-rectangle-from-register):
3387 * vc/emerge.el (emerge-combine-versions-register):
3388 Use register-read-with-preview to read registers.
3389
3390 2014-02-03 João Távora <joaotavora@gmail.com>
3391
3392 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3393 when at beginning of (possibly narrowed) buffer.
3394
3395 2014-02-02 Daniel Colascione <dancol@dancol.org>
3396
3397 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3398 Also try to display local help from just before point.
3399
3400 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3401
3402 c-parse-state. Don't "append-lower-brace-pair" in certain
3403 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3404 recognised as a comment.
3405
3406 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3407 as well as normal comment starter.
3408 (c-parse-state-get-strategy): Extra return possibility
3409 'back-and-forward.
3410 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3411 return value list to indicate replacement of a brace-pair cons
3412 with its car.
3413 (c-parse-state-1): With 'back-and-forward, only call
3414 c-append-lower-brace-pair-to state-cache when cons-separated.
3415
3416 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3417
3418 * term/ns-win.el (ns-suspend-error): New function.
3419 (ns-initialize-window-system): Add ns-suspend-error to
3420 suspend-hook (Bug#16612).
3421
3422 2014-02-02 Daniel Colascione <dancol@dancol.org>
3423
3424 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3425 Make loading cc-mode silent.
3426
3427 2014-02-02 Daniel Colascione <dancol@dancol.org>
3428
3429 * comint.el (comint-prompt-read-only): Change doc to suggest
3430 remap keybinding.
3431
3432 2014-02-02 Glenn Morris <rgm@gnu.org>
3433
3434 * register.el (register-read-with-preview, point-to-register)
3435 (window-configuration-to-register, frame-configuration-to-register)
3436 (jump-to-register, number-to-register, view-register, insert-register)
3437 (copy-to-register, append-to-register, prepend-to-register)
3438 (copy-rectangle-to-register): Doc fixes.
3439
3440 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3443 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3444 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3445 * help-fns.el (describe-function-1): Use it.
3446
3447 2014-02-02 Glenn Morris <rgm@gnu.org>
3448
3449 * register.el (register-preview-default): New function,
3450 split from register-preview.
3451 (register-preview-function): Rename from register-preview-functions,
3452 make it not a hook.
3453 (register-preview): Use register-preview-function.
3454 (register-read-with-preview): Error on non-character event. (Bug#16595)
3455
3456 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3457
3458 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3459 `:' before binary operators (bug#16609). Don't check for `:'
3460 before `[' and `(', or their syntax status. A percent literal
3461 can't end with either.
3462 (ruby-font-lock-keywords): For built-ins that require arguments,
3463 check that they're followed by something that looks like argument
3464 (bug#16610).
3465
3466 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3467
3468 * subr.el (butlast): Document what an omitted N means (bug#13437).
3469 (nbutlast): Ditto.
3470
3471 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3472
3473 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3474 depth shallower (bug#16587).
3475 (shr-tag-svg): Respect `shr-inhibit-images'.
3476 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3477
3478 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3479
3480 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3481 (ruby-smie-grammar): Make "." right-associative. Make its priority
3482 lower than the ternary and all binary operators.
3483 (ruby-smie-rules): Indent "(" relative to the first non-"."
3484 parent, or the first "." parent at indentation.
3485 Use `ruby-align-chained-calls' for indentation of "." tokens.
3486 (Bug#16593)
3487
3488 2014-01-31 Juri Linkov <juri@jurta.org>
3489
3490 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3491 from `make-hash-table'.
3492
3493 * textmodes/ispell.el (ispell-init-process): Change message format
3494 to be consistent with other messages.
3495
3496 2014-01-31 Glenn Morris <rgm@gnu.org>
3497
3498 * delsel.el (delete-selection-mode): Doc fix.
3499
3500 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3501 (trace-function-background): Doc fixes.
3502
3503 * ido.el (ido-use-virtual-buffers): Doc fix.
3504 Reset :version, since the default value has not changed.
3505
3506 * register.el (register-preview-delay, register-read-with-preview):
3507 Doc fixes.
3508
3509 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3510 do not mess with mail-buffer position (fixes 2009-11-03 change).
3511 * progmodes/cc-mode.el (c-submit-bug-report):
3512 Check auto-fill-mode is bound. (Bug#16592)
3513
3514 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3515
3516 * startup.el (fancy-splash-image-file): New function,
3517 split from fancy-splash-head.
3518 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3519 so that we are both using the same image. (Bug#16574)
3520
3521 2014-01-30 Glenn Morris <rgm@gnu.org>
3522
3523 * simple.el (eval-expression): Doc fix.
3524
3525 * hexl.el (hexl-mode-hook):
3526 * ielm.el (ielm-mode-hook):
3527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3528 (lisp-interaction-mode-hook):
3529 * progmodes/cfengine.el (cfengine3-documentation-function):
3530 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3531
3532 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3535 is a symbol (bug#16584).
3536
3537 2014-01-30 Glenn Morris <rgm@gnu.org>
3538
3539 * help.el (help-for-help-internal): Add "P" to text.
3540
3541 2014-01-29 Glenn Morris <rgm@gnu.org>
3542
3543 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3544
3545 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3546
3547 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3548 height constraints.
3549
3550 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3551
3552 * progmodes/hideif.el: Extend to full CPP expression syntax.
3553 (hif-token-alist): Add missing tokens.
3554 (hif-token-regexp): Add support for float/octal/hex immediates.
3555 (hif-string-literal-regexp): New const.
3556 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3557 (hif-exprlist): New function.
3558 (hif-parse-if-exp): Use it.
3559 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3560 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3561 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3562 (hif-logxor, hif-comma): New functions.
3563
3564 2014-01-28 Glenn Morris <rgm@gnu.org>
3565
3566 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3567
3568 * indent.el (tab-stop-list): Doc fix. Add :version.
3569
3570 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3571 (cvs-append-to-ignore): Add compatibility alias.
3572
3573 2014-01-27 Glenn Morris <rgm@gnu.org>
3574
3575 * dired.el (dired-hide-details-mode): Don't autoload it,
3576 since it cannot be used outside Dired buffers anyway.
3577
3578 * emulation/cua-base.el (cua-mode): Doc fix.
3579
3580 * dired.el (dired-hide-details-hide-symlink-targets)
3581 (dired-hide-details-hide-information-lines)
3582 (dired-hide-details-mode): Doc fixes.
3583
3584 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3585 * strokes.el (strokes-file): Doc fix. Bump :version.
3586 (strokes-help): Doc fix.
3587 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3588 * emulation/viper.el (viper): Doc fix for custom group.
3589 (top-level): Remove oh-so-no-longer-relevant text about vip.
3590 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3591
3592 * ido.el (ido-save-directory-list-file):
3593 * saveplace.el (save-place-file):
3594 * calendar/timeclock.el (timeclock-file):
3595 * net/quickurl.el (quickurl-url-file):
3596 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3597 * progmodes/idlwave.el (idlwave-config-directory):
3598 * textmodes/remember.el (remember-data-file):
3599 Bump :version.
3600
3601 2014-01-26 Glenn Morris <rgm@gnu.org>
3602
3603 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3604 Doc fix. Make obsolete.
3605 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3606
3607 * sort.el (delete-duplicate-lines): Doc fix.
3608
3609 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3610
3611 * progmodes/ada-mode.el (ada):
3612 * woman.el (woman): Link to info manual and Commentary section.
3613
3614 * progmodes/flymake.el (flymake):
3615 * nxml/nxml-mode.el (nxml):
3616 * net/eww.el (eww):
3617 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3618 * htmlfontify.el (htmlfontify):
3619 * ses.el (ses):
3620 * epa.el (epa):
3621 * ido.el (ido): Link to info manual.
3622
3623 2014-01-25 Leo Liu <sdl.web@gmail.com>
3624
3625 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3626
3627 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3628
3629 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3630 (bug#16537).
3631
3632 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3633
3634 * net/eww.el (eww-download-callback):
3635 Fix reference to eww-download-directory.
3636
3637 * emacs-lisp/bytecomp.el (byte-compile-file):
3638 Remove unused local variable `file-name'.
3639
3640 2014-01-24 Glenn Morris <rgm@gnu.org>
3641
3642 * woman.el (woman-default-faces, woman-monochrome-faces):
3643 Fix obsolescence specification.
3644
3645 * subr.el (with-demoted-errors): Doc fix.
3646
3647 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3650 (cl--macroexp-fboundp): New function.
3651 (cl--make-type-test): Use it.
3652
3653 2014-01-23 Glenn Morris <rgm@gnu.org>
3654
3655 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3656 * simple.el (eval-expression): Doc fixes.
3657
3658 2014-01-22 Glenn Morris <rgm@gnu.org>
3659
3660 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3661
3662 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * emacs-lisp/package.el: Write files silently.
3665 (package-autoload-ensure-default-file, package--write-file-no-coding)
3666 (package-generate-description-file, package--download-one-archive)
3667 (package-install-from-archive): Tell `write-region' to stay quiet.
3668 (package-menu-mode, package-menu--print-info): Omit the Archive column
3669 if there's only one archive.
3670 (package-all-keywords, package--has-keyword-p): Remove dead code.
3671
3672 2014-01-22 Glenn Morris <rgm@gnu.org>
3673
3674 * version.el (emacs-bzr-version-bzr): Fix typo.
3675
3676 * version.el (emacs-repository-get-version):
3677 Check either .bzr or .git, but not both.
3678 Make the git case actually use the DIR argument, and return nil
3679 rather than the empty string.
3680 Avoid error if .git exists but the git executable is not found.
3681
3682 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3683
3684 Fixes in window size functions around Bug#16430 and Bug#16470.
3685 * window.el (window-total-size, window-size): New argument ROUND.
3686 (window--min-delta-1, window-min-delta, window--max-delta-1):
3687 Be more conservative when calculating the numbers of lines or
3688 columns a window can shrink (Bug#16430).
3689 (fit-window-to-buffer): Simplify code.
3690 * term.el (term-window-width): Call window-body-width again.
3691
3692 2014-01-22 Glenn Morris <rgm@gnu.org>
3693
3694 * image.el (image-format-suffixes): Doc fix.
3695
3696 * international/quail.el (quail-define-package): Doc fix.
3697
3698 * emacs-lisp/authors.el (authors-valid-file-names)
3699 (authors-renamed-files-alist): Additions.
3700
3701 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3702 reverts 2014-01-09 change. (Bug#16422)
3703
3704 * calc/calc-embed.el (thing-at-point-looking-at):
3705 * emacs-lisp/map-ynp.el (x-popup-dialog):
3706 * obsolete/lmenu.el (x-popup-dialog):
3707 * emacs-lisp/package.el (url-recreate-url):
3708 * mail/mailclient.el (clipboard-kill-ring-save):
3709 * subr.el (x-popup-dialog): Update declaration.
3710 * mail/rmail.el (rmail-mime-message-p):
3711 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3712
3713 2014-01-21 Daniel Colascione <dancol@dancol.org>
3714
3715 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3716 Correctly detect when we're inside an arithmetic expansion form
3717 containing nested parenthesis.
3718 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3719 to detect cases where we shouldn't expand "<<" to a heredoc
3720 skeleton.
3721
3722 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3725 (eldoc--message-command-p): New function.
3726 (eldoc-display-message-p): Use it.
3727 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3728 message is not automatically erased for us.
3729 (eldoc-print-current-symbol-info): Erase previous message, if any.
3730
3731 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3732
3733 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3734 specify it's an interactive function.
3735
3736 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3737 Fix regex used for scanning for citation keys which failed for
3738 citations with optional arguments.
3739
3740 2014-01-21 Leo Liu <sdl.web@gmail.com>
3741
3742 * simple.el (read--expression): Don't enable eldoc-mode.
3743
3744 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * simple.el (move-beginning-of-line): Make sure we don't move forward
3747 (bug#16497).
3748
3749 2014-01-20 Juri Linkov <juri@jurta.org>
3750
3751 * saveplace.el (toggle-save-place, save-place-to-alist)
3752 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3753 'dired-mode) before checking for dired-directory. (Bug#16477)
3754
3755 2014-01-20 Juri Linkov <juri@jurta.org>
3756
3757 * indent.el (indent-line-to): Use backward-to-indentation
3758 instead of back-to-indentation. (Bug#16461)
3759
3760 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3761
3762 Revert some of the CANNOT_DUMP fix (Bug#16494).
3763 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3764 but fixing this can wait until after the next release.
3765 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3766
3767 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3768
3769 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3770 Use `password-word-equivalents'.
3771 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3772 to t. (Bug#5664, Bug#13124)
3773
3774 2014-01-19 Alan Mackenzie <acm@muc.de>
3775
3776 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3777 points.
3778 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3779 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3780 * progmodes/cc-mode.el (c-before-change, c-after-change)
3781 (c-font-lock-fontify-region): Bind it here.
3782
3783 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3784
3785 * term.el (term-window-width): Call window-text-width instead of
3786 window-width (Bug#16470).
3787
3788 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 * simple.el (password-word-equivalents): Remove duplicates.
3791 Sort, to make this easier next time.
3792 Downcase. Omit ": " after "jelszó".
3793
3794 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3795
3796 * term/common-win.el (saved-region-selection): Defvar it.
3797 (x-select-text): Set saved-region-selection (Bug#16382).
3798
3799 2014-01-18 Glenn Morris <rgm@gnu.org>
3800
3801 * emacs-lisp/authors.el (authors-aliases)
3802 (authors-renamed-files-alist): Add some entries.
3803
3804 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3805
3806 * net/tramp.el (tramp-password-prompt-regexp):
3807 Use `password-word-equivalents' if available.
3808 (tramp-action-password, tramp-process-one-action)
3809 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3810
3811 2014-01-17 Chong Yidong <cyd@gnu.org>
3812
3813 * simple.el (password-word-equivalents): New defcustom.
3814 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3815 to 24.4.
3816 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3817 to t. (Bug#13124)
3818
3819 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3820
3821 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3822 (ruby-align-to-stmt-keywords): Change the default value.
3823 Use `ruby-alignable-keywords' to generate the possible customization
3824 choices.
3825 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3826 keywords, check against the value of `ruby-alignable-keywords'
3827 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3828
3829 2014-01-17 Glenn Morris <rgm@gnu.org>
3830
3831 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3832
3833 Make M-x authors return zero *Authors Errors* from current logs.
3834 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3835 (authors-ignored-files): Add some entries, remove others.
3836 (authors-ambiguous-files, authors-valid-file-names):
3837 Add some entries.
3838 (authors-renamed-files-alist): Add, remove, and adjust entries.
3839 (authors-renamed-files-regexps): Add some entries.
3840 Remove some very broad ones. Make some entries `lax'.
3841 (authors-lax-changelogs): New constant.
3842 (authors-disambiguate-file-name): Treat top-level specially.
3843 (authors-lax-changelog-p): New function.
3844 (authors-canonical-file-name): Check file as written against
3845 authors-valid-file-names. Do not special-case etc/.
3846 Handle `lax' logs and authors-renamed-files-regexps elements.
3847
3848 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3849
3850 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3851 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3852 callers.
3853
3854 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3857 Assume we're already in the proper buffer.
3858 Inspired by Anders Lindgren <andlind@gmail.com>.
3859 (follow-post-command-hook): Call it from the right buffer.
3860 (follow-comint-scroll-to-bottom): Adjust call.
3861 (follow-all-followers): Use get-buffer-window-list.
3862
3863 2014-01-15 Daniel Colascione <dancol@dancol.org>
3864
3865 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3866 `buffer-file-name' in interactive-form so that we don't leave
3867 pathless file names in `file-name-history'.
3868
3869 2014-01-15 Juri Linkov <juri@jurta.org>
3870
3871 * indent.el (indent-rigidly): Set deactivate-mark to nil
3872 in transient indentation mode. (Bug#16438)
3873
3874 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3875
3876 * emacs-lisp/package.el (package-desc-keywords): New function
3877 (Bug#16222).
3878 (describe-package-1, package-all-keywords)
3879 (package--has-keyword-p): Use it.
3880
3881 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3882
3883 * simple.el (define-alternatives): When creating the
3884 COMMAND-alternatives variable, assign COMMAND as its definition
3885 name so that `describe-variable' can relocate it.
3886
3887 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3888
3889 * font-lock.el (font-lock-keywords): Fix typo in docstring
3890 (bug#16307).
3891
3892 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3893
3894 * ispell.el (ispell-region): Reset `in-comment' for new line
3895 instead of wrongly reset `add-coment' (bug#13577).
3896
3897 2014-01-14 Daiki Ueno <ueno@gnu.org>
3898
3899 * epa-file.el (epa-file-write-region): Encode the region according
3900 to `buffer-file-format'. Problem reported at:
3901 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3902
3903 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3906 so it applies in the right buffer (bug#16410).
3907
3908 2014-01-13 Daniel Colascione <dancol@dancol.org>
3909
3910 * textmodes/rst.el (rst-define-key): Provide deprecated
3911 keybindings through named functions instead of anonymous ones so
3912 that "??" doesn't appear in describe-mode output.
3913
3914 2014-01-13 Bastien Guerry <bzg@gnu.org>
3915
3916 * simple.el (define-alternatives): Call the selected command
3917 interactively. When setting `COMMAND--implementation' for the
3918 first time, tell the user how to chose another implementation.
3919 Enhance the docstring.
3920
3921 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3924 (log-edit--match-first-line): New function.
3925 (log-edit-font-lock-keywords): Use it.
3926 (log-edit-mode): Make jit-lock-defer-multiline work.
3927
3928 2014-01-13 Bastien Guerry <bzg@gnu.org>
3929
3930 * rect.el (rectangle-mark-mode): When the region is not active,
3931 display a message saying that the mark as been set and that
3932 rectangle mode is in use.
3933 (rectangle--highlight-for-redisplay): Only put an overlay with a
3934 visible vertical bar when (display-graphic-p) is non-nil.
3935 This partially fixes Bug#16403.
3936
3937 2014-01-13 Juri Linkov <juri@jurta.org>
3938
3939 * info.el (Info-find-file): Go to DIR before displaying the error
3940 about a nonexistent file if no previous Info file is visited.
3941 Use `user-error' instead of `error' for "Info file %s does not exist".
3942 (Info-find-node-2): In case of a nonexistent node in unwind forms
3943 go to the Top node if there is no previous node to revert to.
3944 (Bug#16405)
3945
3946 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3947
3948 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3949 * window.el (fit-frame-to-buffer): Fix doc-string.
3950 Respect window-min-height/-width. Fit pixelwise when
3951 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3952 when avoiding that frame goes partially off-screen.
3953 (fit-window-to-buffer): Respect window-min-height/-width
3954 (Bug#14096).
3955
3956 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3959 after an empty line.
3960
3961 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * net/shr.el (shr-render-region): Autoload.
3964
3965 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3966
3967 * net/eww.el (eww-download-directory): Rename from
3968 `eww-download-path' (Bug#16419).
3969
3970 2014-01-12 Leo Liu <sdl.web@gmail.com>
3971
3972 * dired-x.el (dired-mode-map): Fix last change.
3973
3974 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3975
3976 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3977
3978 Spelling fixes.
3979 * emacs-lisp/generic.el (generic--normalize-comments):
3980 Rename from generic--normalise-comments. All uses changed.
3981 * play/bubbles.el (bubbles--neighborhood-score)
3982 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3983 (bubbles--neighborhood-available)
3984 (bubbles--update-neighborhood-score):
3985 Rename from names with 'neighbourhood'. All uses changed.
3986
3987 2014-01-12 Leo Liu <sdl.web@gmail.com>
3988
3989 Re-implement the feature of showing eldoc info after editing.
3990 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3991 (eldoc-edit-message-commands): New function.
3992 (eldoc-print-after-edit): New variable.
3993 (eldoc-pre-command-refresh-echo-area): Emit message only by
3994 eldoc-message-commands.
3995 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3996 if eldoc-print-after-edit is set. (Bug#16346)
3997 * simple.el (read--expression): Enable eldoc-mode.
3998 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3999
4000 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4001 Eric S. Raymond <esr@thyrsus.com>
4002
4003 * version.el (emacs-repository-get-version): Enhance so the
4004 function works correctly in either a Bazaar or Git repo.
4005
4006 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4007
4008 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4009 Goes with removal of the joke manpages from /etc.
4010
4011 2014-01-10 Kenichi Handa <handa@gnu.org>
4012
4013 * mail/rmail.el (rmail-get-coding-system):
4014 Check rmail-get-coding-function before "funcall"ing it.
4015
4016 2014-01-10 Glenn Morris <rgm@gnu.org>
4017
4018 * emacs-lisp/authors.el (authors-fixed-entries):
4019 Update for files that no longer exist.
4020
4021 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4022
4023 * version.el (emacs-bzr-get-version): Restore compatibilty with
4024 24.3 (Tested).
4025
4026 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4027
4028 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4029 and Podfile.
4030
4031 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4032
4033 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4034
4035 2014-01-10 Chong Yidong <cyd@gnu.org>
4036
4037 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4038
4039 2014-01-10 Anders Lindgren <andlind@gmail.com>
4040
4041 * follow.el (follow-cache-command-list): Include right-char and
4042 left-char.
4043
4044 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4045
4046 Spelling fixes.
4047 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4048 * woman.el (woman-mark-horizontal-position):
4049 Rename from woman-mark-horizonal-position. Use changed.
4050
4051 2014-01-10 Glenn Morris <rgm@gnu.org>
4052
4053 * info.el (info-initialize): If running uninstalled, ensure our
4054 own info files are always found first, even if INFOPATH is set.
4055
4056 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4057
4058 2014-01-09 David Engster <deng@randomsample.de>
4059
4060 * emacs-lisp/eieio-custom.el:
4061 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4062 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4063 * emacs-lisp/eieio.el: Regenerate autoloads.
4064
4065 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4066
4067 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4068 following renames. (Bug#8756)
4069
4070 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4073 (bug#16382).
4074 (activate-mark): Add `no-tmm' argument.
4075 (set-mark, push-mark-command): Use it instead of running
4076 activate-mark-hook by hand.
4077
4078 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4079
4080 In preparation for the move to git, sanitize out some
4081 Bazaar-specific names.
4082
4083 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4084
4085 * version.el (emacs-bzr-version): Name changed to
4086 emacs-repository-version. Obsolete-variable alias made.
4087 * loadup.el: Follow through on this name change.
4088 * mail/emacsbug.el (report-emacs-bug): Factor out any
4089 assumption about the version control system in use.
4090
4091 2014-01-08 David Engster <deng@randomsample.de>
4092
4093 * help-fns.el (help-fns-describe-function-functions):
4094 New variable to call functions for augmenting help buffers.
4095 (describe-function-1): Remove explicit calls to
4096 `help-fns--compiler-macro', `help-fns--parent-mode' and
4097 `help-fns--obsolete'. Put them in above new variable instead, and
4098 call them through `run-hook-with-args'.
4099 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4100 `eieio-describe-class'. Not meant for interactive use anymore,
4101 but to augment existing help buffers. Remove optional second
4102 argument. Create proper button for file location.
4103 Rewrite function to use `insert' instead of `princ' and `prin1' where
4104 possible.
4105 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4106 (eieio-method-def, eieio-class-def): Move further up.
4107 (describe-method, describe-generic, eieio-describe-method):
4108 Remove aliases.
4109 (eieio-help-constructor, eieio-help-generic): Rename from
4110 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4111 Rewrite to use `insert' in the current buffer and use proper help
4112 buttons.
4113 (eieio-help-find-method-definition)
4114 (eieio-help-find-class-definition): Also accept symbols as
4115 arguments.
4116 (eieio-help-mode-augmentation-maybee): Remove.
4117 (eieio-describe-class-sb): Use `describe-function'.
4118 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4119 Add `eieio-help-generic' and `eieio-help-constructor'.
4120
4121 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4122
4123 Spelling fixes.
4124 * language/china-util.el (hz-ascii-designation):
4125 Rename from hz-ascii-designnation.
4126 (hz-ascii-designation): Rename from hz-ascii-designnation.
4127 All uses changed.
4128
4129 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4132 package-alist.
4133
4134 2014-01-08 Bastien Guerry <bzg@gnu.org>
4135
4136 * emacs-lisp/package.el (package-delete):
4137 Correctly delete the package from package-alist.
4138
4139 2014-01-08 Daiki Ueno <ueno@gnu.org>
4140
4141 * emacs-lisp/package.el (url-recreate-url): Declare.
4142 (url-http-target-url): Declare.
4143 (package-handle-response): Include requested URL in the error message.
4144 (package--check-signature): Don't re-signal errors from
4145 package--with-work-buffer. Suggested by Stefan Monnier.
4146
4147 2014-01-07 Bastien Guerry <bzg@gnu.org>
4148
4149 * minibuffer.el (completion--try-word-completion): When both a
4150 hyphen and a space are possible candidates for the character
4151 following a word, display both candidates. (Bug#15980)
4152
4153 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4154
4155 * window.el (balance-windows-2): While rounding don't give a
4156 window more than the remainder. Bug#16351, bug#16383.
4157
4158 2014-01-07 Glenn Morris <rgm@gnu.org>
4159
4160 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4161 (menu-bar-help-menu): Use view-external-packages instead.
4162
4163 2014-01-07 Bastien Guerry <bzg@gnu.org>
4164
4165 * emacs-lisp/package.el (package-delete): Also delete the package
4166 name from `package-alist', not its description only.
4167
4168 2014-01-07 Glenn Morris <rgm@gnu.org>
4169
4170 * help.el (view-external-packages):
4171 * menu-bar.el (menu-bar-help-extra-packages):
4172 Visit efaq.info rather than etc/MORE.STUFF.
4173
4174 2014-01-07 Juri Linkov <juri@jurta.org>
4175
4176 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4177 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4178
4179 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4180 that shadows RET. (Bug#16342)
4181
4182 2014-01-07 Chong Yidong <cyd@gnu.org>
4183
4184 * isearch.el (isearch-yank-char, isearch-yank-word)
4185 (isearch-yank-line): Doc fix.
4186
4187 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4190 * emacs-lisp/elint.el (elint-find-builtins):
4191 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4192 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4193 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4194 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4195 * apropos.el (apropos-safe-documentation):
4196 * subr.el (symbol-file): Remove redundant fboundp.
4197 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4198
4199 2014-01-06 Bastien Guerry <bzg@gnu.org>
4200
4201 * hl-line.el (global-hl-line-overlay): Make a local variable.
4202 (global-hl-line-overlays): New variable to store all overlays.
4203 (global-hl-line-mode): Don't delete overlays from the current
4204 buffer when `global-hl-line-sticky-flag' is non-nil.
4205 (global-hl-line-highlight): Add new overlays to
4206 `global-hl-line-overlays'.
4207 (global-hl-line-unhighlight-all): New function to delete all
4208 overlays when turning off `global-hl-line-mode'.
4209 This fixes Bug#16183.
4210
4211 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * subr.el (set-transient-map): Fix nested case and docstring.
4214
4215 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4216
4217 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4218 `Texinfo' entry.
4219
4220 2014-01-06 Daniel Colascione <dancol@dancol.org>
4221
4222 Fix defun navigation in vc log view.
4223
4224 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4225 like `beginning-of-defun'.
4226 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4227 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4228 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4229 (log-view-extract-comment): Call `log-view-current-entry' directly
4230 instead of relying on broken `log-view-beginning-of-defun' behavior.
4231
4232 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4233
4234 Spelling fixes.
4235 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4236 * emacs-lisp/debug.el (cancel-debug-on-entry):
4237 * epg.el (epg-error-to-string):
4238 * files.el (recover-file):
4239 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4240 * mail/emacsbug.el (report-emacs-bug-hook):
4241 * mail/sendmail.el (mail-recover):
4242 * ses.el (ses-yank-resize):
4243 * term/ns-win.el (ns-print-buffer):
4244 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4245 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4246 All uses changed.
4247 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4248
4249 2014-01-06 Leo Liu <sdl.web@gmail.com>
4250
4251 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4252 to avoid shadowing global key. (Bug#16354)
4253
4254 2014-01-06 Daniel Colascione <dancol@dancol.org>
4255
4256 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4257 rst-mode.
4258
4259 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4260
4261 * window.el (balance-windows): Add mising t to fix Bug#16351.
4262
4263 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4264
4265 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4266 (bug#16285).
4267 (shr-insert): If we have a word that's longer than `shr-width',
4268 break after it anyway. Otherwise we'll do no breaking once we get
4269 such a long word.
4270
4271 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4272
4273 * net/eww.el (eww): Support single/double quote for search.
4274 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4275 (eww-history-quit): Delete and use quit-window.
4276 (eww-history-kill): Delete, because it doesn't work well and
4277 not necessary.
4278 (eww-history-mode-map): Delete some keys and add easy-menu.
4279
4280 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4281
4282 Fix misspelling of 'chinese' in rx (Bug#16237).
4283 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4284 chinese-two-byte.
4285
4286 Change subword regexps back to vars (Bug#16296).
4287 * progmodes/subword.el (subword-forward-regexp)
4288 (subword-backward-regexp): Change these back to variables.
4289
4290 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4293 syntax-begin-function (bug#16247).
4294
4295 2014-01-03 Chong Yidong <cyd@gnu.org>
4296
4297 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4298 (advice--docstring): Delete variable.
4299 (advice--make-1): Leave the docstring empty.
4300 (advice-add): Use function-documentation for advised docstring.
4301
4302 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4303 Ignore function-documentation property when getting documentation.
4304 (ad-activate-advised-definition): Use function-documentation
4305 generate the docstring.
4306 (ad-make-advised-definition): Don't call
4307 ad-make-advised-definition-docstring.
4308 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4309 Delete functions.
4310
4311 * progmodes/sql.el (sql-help): Use function-documentation instead
4312 of dynamic-docstring-function property. No need to autoload now.
4313 (sql--help-docstring): New variable.
4314 (sql--make-help-docstring): Use it.
4315
4316 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * ielm.el (ielm-tab): Retarget.
4319 (ielm-map): Use ielm-tab for tab.
4320 (ielm-complete-filename): Use comint-filename-completion.
4321 (ielm-complete-symbol): Remove.
4322 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4323 remove ielm-tab from completion-at-point-functions (bug#16224).
4324
4325 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4326 Beware signals raised by predicates (bug#16201).
4327
4328 2014-01-02 Richard Stallman <rms@gnu.org>
4329
4330 * dired-aux.el (dired-do-print): Handle printer-name.
4331
4332 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4333 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4334 (rmail-epa-decrypt): Turn off mime processing.
4335
4336 * mail/rmail.el (rmail-make-in-reply-to-field):
4337 Add parens in message-id.
4338
4339 * mail/rmail.el (rmail-get-coding-function): Variable.
4340 (rmail-get-coding-system): Use it.
4341
4342 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4343
4344 * international/mule-conf.el: Unify the charset indian-is13194.
4345 (indian-is13194): Specify unify-map.
4346
4347 2013-12-31 Leo Liu <sdl.web@gmail.com>
4348
4349 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4350
4351 2013-12-30 Daniel Colascione <dancol@dancol.org>
4352
4353 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4354 of printing a useless when we resume from sleep.
4355
4356 * progmodes/sh-script.el
4357 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4358 in indentation code. (Bug#16233)
4359
4360 2013-12-28 João Távora <joaotavora@gmail.com>
4361
4362 * elec-pair.el (electric-pair-post-self-insert-function):
4363 Don't open extra newlines at beginning of buffer. (Bug#16272)
4364
4365 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4366
4367 * frame.el (window-system-for-display): Don't allow to create a
4368 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4369
4370 2013-12-28 Glenn Morris <rgm@gnu.org>
4371
4372 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4373 Update callers.
4374
4375 * apropos.el (apropos-match-face):
4376 * calculator.el (calculator-displayer):
4377 * dabbrev.el (dabbrev-search-these-buffers-only):
4378 * face-remap.el (buffer-face-mode-face):
4379 * simple.el (yank-handled-properties):
4380 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4381 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4382 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4383 (hashcash-double-spend-database):
4384 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4385 (ruby-deep-indent-paren-style):
4386 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4387 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4388 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4389 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4390 Specify custom types.
4391
4392 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4393 * bookmark.el (bookmark-bmenu-use-header-line):
4394 * doc-view.el (doc-view-scale-internally):
4395 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4396 * register.el (register-preview-delay):
4397 * net/shr.el (shr-bullet):
4398 * progmodes/cfengine.el (cfengine-cf-promises)
4399 (cfengine-parameters-indent):
4400 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4401 * textmodes/reftex-vars.el (reftex-label-regexps):
4402 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4403
4404 * net/tls.el (tls-certtool-program): Fix default value.
4405
4406 * desktop.el (desktop-restore-in-current-display):
4407 * newcomment.el (comment-empty-lines):
4408 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4409 (idlwave-pad-keyword):
4410 * progmodes/tcl.el (tcl-tab-always-indent):
4411 * textmodes/reftex-vars.el (reftex-index-default-tag):
4412 * elec-pair.el (electric-pair-skip-whitespace):
4413 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4414
4415 * emacs-lisp/authors.el (authors-ignored-files)
4416 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4417
4418 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4419
4420 * shell.el (shell-dynamic-complete-command): Doc fix.
4421 (shell--command-completion-data): Shell completion now matches
4422 executable filenames from the current buffer's directory, on
4423 systems in which this behavior is the default (windows-nt, ms-dos).
4424
4425 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4426
4427 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4428
4429 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4432 (bug#16251).
4433
4434 * electric.el: Move all electric-pair-* to elec-pair.el.
4435 * elec-pair.el: New file, split from electric.el.
4436
4437 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4438
4439 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4440 indentation level is larger than the width, because that will
4441 infloop.
4442 (shr-insert): Fill repeatedly long texts, so that Japanese is
4443 formatted correctly (bug#16263).
4444 (shr-find-fill-point): Off by one error in comparison with the
4445 indentation.
4446
4447 2013-12-26 João Távora <joaotavora@gmail.com>
4448
4449 * electric.el (electric-pair-mode): More flexible engine for skip-
4450 and inhibit predicates, new options for pairing-related functionality.
4451 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4452 if that keeps or improves their balance in buffers.
4453 (electric-pair-delete-adjacent-pairs): Delete the pair when
4454 backspacing over adjacent matched delimiters.
4455 (electric-pair-open-extra-newline): Open extra newline when
4456 inserting newlines between adjacent matched delimiters.
4457 (electric--sort-post-self-insertion-hook):
4458 Sort post-self-insert-hook according to priority values when
4459 minor-modes are activated.
4460 * simple.el (newline-and-indent): Call newline with interactive
4461 set to t.
4462 (blink-paren-post-self-insert-function): Set priority to 100.
4463 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4464 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4465 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4466 electric-pair-open-newline-between-pairs to nil.
4467
4468 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4469
4470 * progmodes/python.el: Use lexical-binding.
4471 (python-nav-beginning-of-defun): Stop searching ASAP.
4472
4473 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4474
4475 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4476 Fix interactive spec. Doc fix. (Bug#15754)
4477
4478 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4479
4480 * emacs-lisp/byte-run.el (eval-when-compile):
4481 * progmodes/cc-defs.el (cc-eval-when-compile):
4482 Fix edebug spec (bug#16184).
4483
4484 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4485
4486 * net/shr.el (shr-visit-file): Remove debugging function.
4487 (shr-insert): Don't infloop if we can't find a good place to break
4488 the line (bug#16256).
4489
4490 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4491
4492 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4493 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4494 python-nav-lisp-forward-sexp-safe.
4495 (python-nav--forward-sexp): New argument SAFE allows switching
4496 forward sexp movement behavior for parens.
4497 (python-nav-forward-sexp): Throw errors on unterminated parens
4498 (Bug#16191).
4499 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4500 (python-nav-backward-sexp-safe): New functions.
4501 (python-shell-buffer-substring):
4502 Use `python-nav-forward-sexp-safe'.
4503
4504 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4505
4506 * net/shr.el (shr-find-fill-point): Don't break lines before a
4507 quotation mark.
4508 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4509 (shr-find-fill-point): Remove the special checks for the quotation
4510 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4511
4512 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4513
4514 * net/eww.el (eww-form-textarea): Use a different face for
4515 textareas than text input since they have different keymaps
4516 (bug#16142).
4517
4518 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4519
4520 * progmodes/python.el (python-nav-beginning-of-statement):
4521 Speed up (Bug#15295).
4522
4523 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4524
4525 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4526 the window configuration.
4527
4528 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4529
4530 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4531 we run on MS-Windows or MS-DOS.
4532
4533 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4534
4535 * window.el (balance-windows-area): Call window-size instead of
4536 window-height and window-width. Bug#16241.
4537
4538 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4539
4540 * net/eww.el (eww-bookmark-quit): Remove.
4541 (eww-bookmark-browse): Restore the window configuration when you
4542 choose a bookmark (bug#16144).
4543
4544 2013-12-24 Daniel Colascione <dancol@dancol.org>
4545
4546 * icomplete.el: Remove redundant :group arguments to `defcustom'
4547 throughout.
4548 (icomplete-show-matches-on-no-input): New customizable variable.
4549 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4550 we have something to show.
4551 (icomplete-exhibit): Compute completions even if we have no user input.
4552
4553 2013-12-23 Daniel Colascione <dancol@dancol.org>
4554
4555 * icomplete.el: Move `provide' to end of file.
4556
4557 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4558
4559 * net/gnutls.el (gnutls-verify-error): Add version tag.
4560
4561 2013-12-23 Chong Yidong <cyd@gnu.org>
4562
4563 * subr.el (set-transient-map): Rename from
4564 set-temporary-overlay-map. Doc fix.
4565
4566 * face-remap.el (text-scale-adjust):
4567 * indent.el (indent-rigidly):
4568 * kmacro.el (kmacro-call-macro):
4569 * minibuffer.el (minibuffer-force-complete):
4570 * repeat.el (repeat):
4571 * simple.el (universal-argument--mode):
4572 * calendar/todo-mode.el (todo-insert-item--next-param):
4573 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4574
4575 * indent.el (indent-rigidly): Use substitute-command-keys.
4576
4577 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4578
4579 * net/eww.el (eww-tag-select): Add text-property to jump to next
4580 select field.
4581 (eww): Add non-supported ftp error.
4582
4583 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4584
4585 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4586 comments. Handle electric indent after typing `?' and `!'.
4587
4588 2013-12-22 Chong Yidong <cyd@gnu.org>
4589
4590 * faces.el (face-spec-recalc): If the theme specs are not
4591 applicable to a frame, fall back on the defface spec.
4592 This prevents themes from obliterating faces on low-color terminals.
4593
4594 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4595
4596 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4597 after `{'. We need it after block openers, and it doesn't seem
4598 to hurt after hash openers.
4599
4600 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4601
4602 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4603 extracted from `ruby-smie-rules'.
4604 (ruby--electric-indent-chars): New variable.
4605 (ruby--electric-indent-p): New function.
4606 (ruby-mode): Use `electric-indent-functions' instead of
4607 `electric-indent-chars'.
4608
4609 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4610
4611 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4612 docstring.
4613 (ruby-smie-rules): Indent plus one level after `=>'.
4614
4615 2013-12-21 Richard Stallman <rms@gnu.org>
4616
4617 * simple.el (newline): Doc fix.
4618
4619 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4620
4621 * net/eww.el (eww-list-histories, eww-list-histories)
4622 (eww-history-browse, eww-history-quit, eww-history-kill)
4623 (eww-history-mode-map, eww-history-mode): New command and
4624 functions to list browser histories.
4625 (eww-form-text): Support text form with disabled
4626 and readonly attributes.
4627 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4628
4629 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4630
4631 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4632 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4633 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4634 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4635 Use `user-error'.
4636 (eww-bookmark-mode-map): Add menu.
4637 (eww-render, eww-mode): Use `setq-local'.
4638 (eww-tool-bar-map): New variable.
4639 (eww-mode): Set `tool-bar-map'.
4640 (eww-view-source): Check for `html-mode' with `fboundp'.
4641
4642 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
4644 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4645 elements with text inside. Also remove debugging.
4646
4647 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4648
4649 * cus-start.el (all): Add ns-use-srgb-colorspace.
4650
4651 2013-12-21 Chong Yidong <cyd@gnu.org>
4652
4653 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4654 undefined. Thus, theme settings for undefined faces do not take
4655 effect until the faces are defined with defface, the same as with
4656 theme variables.
4657
4658 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4659 (face-spec-reset-face): Don't assign extra properties in temacs.
4660 (face-spec-recalc): Apply X resources too.
4661
4662 2013-12-21 Chong Yidong <cyd@gnu.org>
4663
4664 * faces.el (face-spec-set):
4665 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4666 * custom.el (defface): Doc fixes (Bug#16203).
4667
4668 * indent.el (indent-rigidly-map): Add docstring, and move commands
4669 into named functions.
4670 (indent-rigidly-left, indent-rigidly-right)
4671 (indent-rigidly-left-to-tab-stop)
4672 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4673 indentation direction based on bidi direction, and accumulate
4674 sequential commands in a single undo boundary.
4675 (indent-rigidly--pop-undo): New utility function.
4676
4677 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4678
4679 * faces.el (read-face-name): Require crm.el when using crm-separator.
4680
4681 2013-12-20 Daniel Colascione <dancol@dancol.org>
4682
4683 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4684 so that we don't reflow comments into the shebang line.
4685
4686 2013-12-20 Juri Linkov <juri@jurta.org>
4687
4688 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4689 a position when `dired-directory' is non-nil. Check integer
4690 positions with `integerp'.
4691 (toggle-save-place, save-places-to-alist): Add check for
4692 `dired-directory'.
4693 (save-place-find-file-hook): Check integer positions with
4694 `integerp'.
4695 (save-place-dired-hook): Use `dired-goto-file' when
4696 `dired-filename' is found in the assoc list. Check integer
4697 positions with `integerp'.
4698 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4699
4700 * dired.el (dired-initial-position-hook): Rename back from
4701 `dired-initial-point-hook'.
4702 (dired-initial-position): Rename `dired-initial-point-hook' to
4703 `dired-initial-position-hook'.
4704 (dired-file-name-at-point): Doc fix. (Bug#15329)
4705
4706 2013-12-20 Juri Linkov <juri@jurta.org>
4707
4708 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4709 (read-regexp-suggestions): New function.
4710 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4711 Use `read-regexp-suggestions'. Add non-empty default to history
4712 for empty input.
4713 (occur-read-regexp-defaults-function): Remove function.
4714 (occur-read-primary-args): Use `regexp-history-last' instead of
4715 `occur-read-regexp-defaults-function'.
4716
4717 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4718 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4719 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4720 `hi-lock-read-regexp-defaults-function'. Doc fix.
4721 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4722 with `find-tag-default-as-symbol-regexp'. Doc fix.
4723 (hi-lock-read-regexp-defaults): Remove function.
4724 (hi-lock-regexp-okay): Add check for null.
4725
4726 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4727 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4728
4729 * subr.el (find-tag-default-as-symbol-regexp): New function.
4730 (find-tag-default-as-regexp): Move symbol regexp formatting to
4731 `find-tag-default-as-symbol-regexp'.
4732
4733 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4734
4735 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4736 (Bug#14179)
4737
4738 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4739
4740 * calendar/todo-mode.el: New implementation of item insertion
4741 commands and key bindings.
4742 (todo-key-prompt): New face.
4743 (todo-insert-item): New command.
4744 (todo-insert-item--parameters): New defconst, replacing defvar
4745 todo-insertion-commands-args-genlist.
4746 (todo-insert-item--param-key-alist): New defconst, replacing
4747 defvar todo-insertion-commands-arg-key-list.
4748 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4749 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4750 (todo-insert-item--next-param): New functions.
4751 (todo-insert-item--args, todo-insert-item--argleft)
4752 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4753 New variables.
4754 (todo-key-bindings-t): Change binding of "i" from
4755 todo-insertion-map to todo-insert-item.
4756 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4757 (todo-insertion-command-name, todo-insertion-commands-names)
4758 (todo-define-insertion-command, todo-insertion-commands)
4759 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4760
4761 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4762
4763 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4764 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4765 eval-when-compile.
4766 (todo-move-category): Allow choosing a non-existing todo file to
4767 move the category to, and create that file.
4768 (todo-default-priority): New user option.
4769 (todo-set-item-priority): Use it.
4770 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4771 (desktop-restore-file-buffer): Declare.
4772 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4773 (todo-modes-set-2): Locally set desktop-save-buffer to
4774 todo-desktop-save-buffer.
4775 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4776 (auto-mode-alist): Add autoload cookie.
4777
4778 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4779
4780 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4781 helpers.el was a poor choice of name.
4782 (string-remove-prefix): New function.
4783 (string-remove-suffix): New function.
4784
4785 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4786
4787 Fix assignment for new window total sizes.
4788 * window.el (window--pixel-to-size): Remove function.
4789 (window--pixel-to-total-1, window--pixel-to-total):
4790 Fix calculation of new total sizes.
4791
4792 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4793
4794 * comint.el (comint-output-filter): Fix rear-nonsticky property
4795 placement (Bug#16010).
4796
4797 2013-12-20 Chong Yidong <cyd@gnu.org>
4798
4799 * faces.el (read-color): Minor fix for completion function.
4800
4801 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4804 New option. (Bug#16182)
4805 (ruby-smie--indent-to-stmt-p): Use it.
4806 (ruby-smie-rules): Revert the logic in the handling of `when'.
4807 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4808 (ruby-deep-arglist, ruby-deep-indent-paren)
4809 (ruby-deep-indent-paren-style): Update docstrings to note that the
4810 vars don't have any effect with SMIE.
4811
4812 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4813
4814 * calc/calc.el (calc-enter, calc-pop): Use the variable
4815 `calc-context-sensitive-enter'.
4816
4817 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818
4819 * net/shr.el (shr-insert): Protect against infloops in degenerate
4820 tables.
4821
4822 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4823
4824 * progmodes/octave.el (octave): Add link to manual and octave
4825 homepage.
4826 (octave-mode-menu): Link to octave-mode manual.
4827
4828 2013-12-20 Leo Liu <sdl.web@gmail.com>
4829
4830 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4831 insertion using skeleton-end-newline. (Bug#16138)
4832
4833 2013-12-20 Juri Linkov <juri@jurta.org>
4834
4835 * replace.el (occur-engine): Use `add-face-text-property'
4836 to add the face property to matches and titles. (Bug#14645)
4837
4838 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4839 the palette of other hi-lock colors.
4840 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4841
4842 2013-12-19 Juri Linkov <juri@jurta.org>
4843
4844 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4845 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4846 (minibuffer-history-symbol): Move variable declaration closer to
4847 its usage.
4848
4849 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4850 (Bug#14785)
4851
4852 2013-12-19 Juri Linkov <juri@jurta.org>
4853
4854 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4855 New function.
4856 (log-edit-hook): Add it to :options. (Bug#16170)
4857
4858 2013-12-19 Juri Linkov <juri@jurta.org>
4859
4860 * simple.el (eval-expression-print-format): Don't check for
4861 command names and the last command. Always display additional
4862 formats of the integer result in the echo area, and insert them
4863 to the current buffer only with a zero prefix arg.
4864 Display character when char-displayable-p is non-nil.
4865 (eval-expression): With a zero prefix arg, set `print-length' and
4866 `print-level' to nil, and insert the integer values from
4867 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4868
4869 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4870 `eval-last-sexp-arg-internal'. Doc fix.
4871 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4872 `eval-last-sexp-print-value'. Doc fix.
4873 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4874 Set `print-length' and `print-level' to nil when arg is zero.
4875 (eval-last-sexp): Doc fix.
4876 (eval-defun-2): Print the integer values from
4877 `eval-expression-print-format' at the end.
4878
4879 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4880 values from `eval-expression-print-format' at the end.
4881
4882 * ielm.el (ielm-eval-input): Print the integer
4883 values from `eval-expression-print-format' at the end.
4884
4885 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4886
4887 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4888 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4889
4890 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4893 (hl-line-highlight, global-hl-line-highlight): Use it.
4894 (hl-line-overlay): Use defvar-local.
4895
4896 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4897
4898 * term/ns-win.el: Require dnd.
4899 (global-map): Remove drag items.
4900 (ns-insert-text, ns-set-foreground-at-mouse)
4901 (ns-set-background-at-mouse):
4902 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4903 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4904 New functions.
4905
4906 2013-12-19 Glenn Morris <rgm@gnu.org>
4907
4908 * emacs-lisp/ert.el (ert-select-tests):
4909 Fix string/symbol mixup. (Bug#16121)
4910
4911 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4912
4913 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4914 keywords to their parent.
4915
4916 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4917
4918 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4919 first arg to be a string (fixed dead code), or an operator symbol.
4920 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4921 operator symbols.
4922 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4923 did nothing. Don't respond to `(:after ".")', it will be called
4924 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4925 change anything. Only return indentation for binary operators
4926 when they are hanging. De-dent opening paren when its parent is
4927 `.', otherwise it looks bad when the dot is not at bol or eol
4928 (bug#16182).
4929
4930 2013-12-19 Juri Linkov <juri@jurta.org>
4931
4932 * replace.el (query-replace-read-args): Split a non-negative arg
4933 and a negative arg into separate elements.
4934 (query-replace, query-replace-regexp, replace-string)
4935 (replace-regexp): Add arg `backward'. Doc fix.
4936 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4937 move point to the beginning of the match.
4938 (replace-search, replace-highlight): Use new arg `backward'
4939 to set the value of `isearch-forward'.
4940 (perform-replace): Add arg `backward' and use it to perform
4941 replacement backward. (Bug#14979)
4942
4943 * isearch.el (isearch-query-replace): Use a negative prefix arg
4944 to call `perform-replace' with a non-nil arg `backward'.
4945
4946 2013-12-18 Juri Linkov <juri@jurta.org>
4947
4948 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4949 to the default list. Move `log-edit-show-files' to the end.
4950 Add more available functions to options.
4951 (log-edit): Move default specific settings to
4952 `log-edit-insert-message-template'. Don't move point.
4953 (log-edit-insert-message-template): New function.
4954 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4955 (Bug#16170)
4956
4957 2013-12-18 Juri Linkov <juri@jurta.org>
4958
4959 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4960 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4961
4962 2013-12-18 Leo Liu <sdl.web@gmail.com>
4963
4964 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4965 (Bug#16186)
4966
4967 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4968
4969 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4970 formats for displaying file sizes when the -s switch is given.
4971 Instead, compute a separate format for displaying the size in
4972 blocks, which is displayed in addition to the "regular" size.
4973 When -h is given in addition to -s, produce size in blocks in
4974 human-readable form as well. (Bug#16179)
4975
4976 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4977
4978 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4979 Reference tables with ~\ref{...} instead of only \ref{...}.
4980
4981 2013-12-18 Chong Yidong <cyd@gnu.org>
4982
4983 * cus-edit.el (custom-magic-alist): Fix "themed" description
4984 (Bug#14348).
4985
4986 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4987 is non-nil, do not create a new entry in the symbol's theme-value
4988 or theme-face property; update theme-settings only (Bug#14664).
4989 (custom-available-themes): Doc fix.
4990
4991 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4992 (Bug#15674).
4993
4994 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4995
4996 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4997
4998 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4999 (Bug#13914).
5000
5001 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5002
5003 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5004
5005 2013-12-18 Glenn Morris <rgm@gnu.org>
5006
5007 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5008 * cus-start.el (load-prefer-newer): New option.
5009
5010 2013-12-18 Le Wang <l26wang@gmail.com>
5011
5012 * comint.el (comint-previous-matching-input-from-input):
5013 Retain point (Bug#13404).
5014
5015 2013-12-18 Chong Yidong <cyd@gnu.org>
5016
5017 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5018
5019 2013-12-18 Glenn Morris <rgm@gnu.org>
5020
5021 * mail/emacsbug.el (report-emacs-bug):
5022 Only mention enable-multibyte-characters if non-standard.
5023
5024 2013-12-17 Juri Linkov <juri@jurta.org>
5025
5026 * arc-mode.el (archive-extract-by-file): Check if directory exists
5027 before deletion to not show irrelevant errors if it doesn't exist.
5028
5029 2013-12-17 Juri Linkov <juri@jurta.org>
5030
5031 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5032 (Bug#14751)
5033
5034 * net/eww.el (browse-web): Add alias to `eww'.
5035 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5036 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5037
5038 * net/browse-url.el (browse-url-browser-function): Move `eww'
5039 closer to similar functions.
5040
5041 * startup.el (fancy-startup-screen, fancy-about-screen):
5042 Set browse-url-browser-function to eww-browse-url locally.
5043 (Bug#14751)
5044
5045 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * window.el (window--pixel-to-total): Remove unused `mini' var.
5048 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5049 (split-window): Remove unused `new' var.
5050 (window--display-buffer): Remove unused `frame' and `delta' vars.
5051 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5052 and display-width'.
5053
5054 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5055
5056 * dired.el (dired-mark-pop-up):
5057 * register.el (register-preview): Don't bind
5058 split-height-threshold here since it's now done in
5059 display-buffer-below-selected.
5060
5061 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5062
5063 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5064 xterm-rgb-convert-to-16bit.
5065 (rxvt-register-default-colors): Standardize with
5066 xterm-register-default-colors (Bug#14078).
5067
5068 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5069
5070 * simple.el (kill-region): Pass mark first, then point, so that
5071 kill-append works right (Bug#12819).
5072 (copy-region-as-kill, kill-ring-save): Likewise.
5073
5074 2013-12-17 Leo Liu <sdl.web@gmail.com>
5075
5076 * net/rcirc.el (rcirc-add-face):
5077 * eshell/em-prompt.el (eshell-emit-prompt):
5078 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5079 (Bug#16167)
5080
5081 2013-12-17 Chong Yidong <cyd@gnu.org>
5082
5083 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5084 Suggested by Xue Fuqiao.
5085
5086 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5087
5088 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5089
5090 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * net/shr.el (shr-insert-document): Remove unused var
5093 `shr-preliminary-table-render'.
5094 (shr-rescale-image): Remove unused arg `force'.
5095 (shr-put-image): Update calls accordingly.
5096 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5097
5098 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5099
5100 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5101 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5102 :close-all, to see which indentation method to use (Bug#16116).
5103 (smie-rules-function): Document the method :close-all.
5104
5105 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5106
5107 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5108
5109 * net/eww.el (eww-display-html): If we can't find the anchor we're
5110 looking for, then go to point-min.
5111
5112 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5113
5114 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5115 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5116 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5117 Expand dir too, in case it's relative.
5118
5119 2013-12-16 Juri Linkov <juri@jurta.org>
5120
5121 * desktop.el (desktop-auto-save-timeout): Change default to
5122 `auto-save-timeout'. Doc fix.
5123 (desktop-save): Skip the timestamp in desktop-saved-frameset
5124 when checking for auto-save changes.
5125 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5126 `desktop-auto-save' is called repeatedly by the idle timer.
5127 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5128 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5129 (Bug#15331)
5130
5131 2013-12-16 Juri Linkov <juri@jurta.org>
5132
5133 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5134 (Bug#16035)
5135 (isearch-pre-command-hook): Check `this-command' for symbolp.
5136
5137 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5140
5141 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5142
5143 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5144 (cfengine3--current-function): Bring in the current-function
5145 functionality from `cfengine3--current-word'.
5146 (cfengine3-completion-function): Bring in the
5147 bounds-of-current-word functionality from
5148 `cfengine3--current-word'.
5149
5150 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5151
5152 * window.el (display-buffer-below-selected):
5153 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5154
5155 2013-12-16 Leo Liu <sdl.web@gmail.com>
5156
5157 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5158 Remove NOMSG arg and all uses changed.
5159
5160 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5163 (cua--deactivate-rectangle): Don't deactivate the mark.
5164 (cua-set-rectangle-mark): Don't set mark-active since
5165 cua--activate-rectangle already does it for us.
5166 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5167 non-rectangular region.
5168
5169 * emulation/cua-base.el (cua-repeat-replace-region):
5170 Use with-current-buffer.
5171
5172 * net/gnutls.el: Use cl-lib.
5173 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5174
5175 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5176
5177 * emacs-lisp/package.el (package-built-in-p): Support both
5178 built-in and the package.el converted package descriptions.
5179 (package-show-package-list): Allow keywords.
5180 (package-keyword-button-action): Use it instead of
5181 `finder-list-matches'.
5182 (package-menu-filter-interactive): Interactive filtering (by
5183 keyword) function.
5184 (package-menu--generate): Support keywords and change keymappings
5185 and headers when they are given.
5186 (package--has-keyword-p): Helper function.
5187 (package-menu--refresh): Use it.
5188 (package--mapc): Helper function.
5189 (package-all-keywords): Use it.
5190 (package-menu-mode-map): Set up menu items and keybindings to
5191 provide a filtering UI.
5192
5193 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5194
5195 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5196 the behavior when a certificate fails validation. Defaults to
5197 old behavior: never abort, just warn.
5198 (gnutls-negotiate): Use it.
5199
5200 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5201
5202 * window.el (display-buffer-below-selected): Never split window
5203 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5204
5205 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5206
5207 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5208 (package-buffer-info): Use it (bug#15108).
5209
5210 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * icomplete.el (icomplete-completions): Make sure the prefix is already
5213 displayed elsewhere before hiding it (bug#16219).
5214
5215 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5216
5217 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5218 open-paren tokens when preceded by a open-paren, too.
5219 (ruby-smie-rules): Handle virtual indentation after open-paren
5220 tokens specially. If there is code between it and eol, return the
5221 column where is starts (Bug#16118).
5222
5223 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5224
5225 * progmodes/cfengine.el: Fix `add-hook' doc.
5226 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5227 (cfengine3--current-word): Fix parameters.
5228 (cfengine3-make-syntax-cache): Simplify further.
5229 (cfengine3-completion-function, cfengine3--current-function):
5230 Use `assq' for symbols.
5231 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5232
5233 2013-12-13 Glenn Morris <rgm@gnu.org>
5234
5235 * loadup.el (load-path): Warn if site-load or site-init changes it.
5236 No more need to reset it when bootstrapping.
5237
5238 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5239
5240 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5241 locations for cf-promises.
5242 (cfengine-mode-syntax-functions-regex): New caching variable.
5243 (cfengine3-fallback-syntax): Fallback syntax for cases where
5244 cf-promises doesn't run.
5245 (cfengine3--current-word): Reimplement using
5246 `cfengine-mode-syntax-functions-regex'.
5247 (cfengine3-completion-function, cfengine3--current-function):
5248 Use `cfengine3-make-syntax-cache' directly.
5249 (cfengine3-clear-syntax-cache): New function.
5250 (cfengine3-make-syntax-cache): Simplify and create
5251 `cfengine-mode-syntax-functions-regex' on demand.
5252 (cfengine3-format-function-docstring): Don't call
5253 `cfengine3-make-syntax-cache' explicitly.
5254
5255 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5256
5257 Fix windmove-find-other-window broken after pixelwise resizing
5258 (Bug#16017).
5259 * windmove.el (windmove-other-window-loc): Revert change from
5260 2013-12-04.
5261 (windmove-find-other-window): Call window-in-direction.
5262 * window.el (window-in-direction): New arguments SIGN, WRAP and
5263 MINI to emulate original windmove-find-other-window behavior.
5264
5265 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * simple.el (blink-matching--overlay): New variable.
5268 (blink-matching-open): Instead of moving point, highlight the
5269 matching paren with an overlay
5270 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5271
5272 * faces.el (paren-showing-faces, show-paren-match)
5273 (show-paren-mismatch): Move from paren.el.
5274
5275 2013-12-13 Leo Liu <sdl.web@gmail.com>
5276
5277 * indent.el (indent-region): Disable progress reporter in
5278 minibuffer. (Bug#16108)
5279
5280 * bindings.el (visual-order-cursor-movement): Fix version.
5281
5282 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5283
5284 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5285 Also match after beginning of line.
5286 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5287 files. Thanks to Russell Sim. (Bug#15378)
5288
5289 2013-12-13 Juri Linkov <juri@jurta.org>
5290
5291 * simple.el <Keypad support>: Remove key bindings duplicated
5292 with bindings.el. (Bug#14397)
5293
5294 2013-12-13 Juri Linkov <juri@jurta.org>
5295
5296 * comint.el (comint-mode-map): Replace `delete-char' with
5297 `delete-forward-char'. (Bug#16109)
5298
5299 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5300
5301 * progmodes/python.el (python-indent-calculate-indentation):
5302 Fix de-denters cornercase. (Bug#15731)
5303
5304 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5307 (advice--make): Pay attention to `depth'.
5308 (advice--make-1): Don't autoload commands eagerly.
5309 * emacs-lisp/elp.el (elp-instrument-function):
5310 * emacs-lisp/trace.el (trace-function-internal):
5311 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5312
5313 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5314
5315 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5316
5317 * term/w32-win.el (w32-handle-dropped-file):
5318 * startup.el (normal-top-level):
5319 * net/browse-url.el (browse-url-file-url):
5320 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5321 decode file names using 'utf-8' rather than
5322 file-name-coding-system.
5323
5324 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5325
5326 * progmodes/python.el (python-indent-context)
5327 (python-indent-calculate-indentation): Fix auto-identation
5328 behavior for comment blocks. (Bug#15916)
5329
5330 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5331
5332 * progmodes/python.el (python-indent-calculate-indentation):
5333 When determining indentation, don't treat "return", "pass", etc., as
5334 operators when they are just string constituents. (Bug#15812)
5335
5336 2013-12-12 Juri Linkov <juri@jurta.org>
5337
5338 * uniquify.el (uniquify-buffer-name-style): Change default to
5339 `post-forward-angle-brackets'.
5340
5341 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5342 `uniquify'. Change default to `post-forward-angle-brackets'.
5343
5344 2013-12-11 Glenn Morris <rgm@gnu.org>
5345
5346 * emacs-lisp/package.el (finder-list-matches):
5347 Autoload rather than falsely declaring.
5348
5349 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5350
5351 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5352 (eww-mode-map): Use them.
5353
5354 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5355
5356 * window.el (display-buffer-in-side-window): Fix doc-string
5357 (Bug#16115).
5358
5359 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5360
5361 * vc/vc-git.el: Silence byte-compiler warnings.
5362 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5363 (log-edit-set-header): Declare.
5364
5365 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5366
5367 * Makefile.in (custom-deps, finder-data): Run output file names
5368 through unmsys--file-name. (Bug#16099)
5369
5370 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5373 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5374
5375 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5376 instead of deleting the selection "by hand" (bug#16098).
5377 Rely on insert-for-yank to yank rectangles.
5378 (cua-highlight-region-shift-only): Mark obsolete.
5379 (cua-mode): Don't enable/disable transient-mark-mode,
5380 shift-select-mode (cua-mode works both with and without them), and
5381 pc-selection-mode (obsolete).
5382 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5383 (cua--deactivate-rectangle): Deactivate it.
5384
5385 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5386 (delete-selection-helper): Make sure yank starts at the top of the
5387 deleted region.
5388 (minibuffer-keyboard-quit): Use region-active-p.
5389
5390 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5391
5392 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5393 to `delete' (bug#16109).
5394
5395 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5396
5397 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5398 info manual and show keybindings and set `:group' keyword.
5399
5400 2013-12-11 Juri Linkov <juri@jurta.org>
5401
5402 * delsel.el (delete-active-region): Let-bind `this-command'
5403 to prevent `kill-region' from changing its original value.
5404 (delete-selection-helper): Handle `overwrite-mode' for the type
5405 `kill' exactly the same way as for the type `t'.
5406 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5407 Support more commands. (Bug#13312)
5408
5409 2013-12-11 Juri Linkov <juri@jurta.org>
5410
5411 * bindings.el: Map kp keys to non-kp keys systematically
5412 with basic modifiers control, meta and shift. (Bug#14397)
5413
5414 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5415
5416 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5417 "Close browser" menu items. Fix wrong function of "List
5418 bookmarks".
5419
5420 2013-12-11 Juri Linkov <juri@jurta.org>
5421
5422 * misearch.el (multi-isearch-buffers): Set the value of
5423 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5424 arg of isearch-forward to t.
5425 (multi-isearch-buffers-regexp): Set the value of
5426 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5427 arg of isearch-forward-regexp to t.
5428 (multi-isearch-files): Set the value of
5429 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5430 arg of isearch-forward to t.
5431 (multi-isearch-files-regexp): Set the value of
5432 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5433 arg of isearch-forward-regexp to t. (Bug#16035)
5434
5435 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5436 arg of isearch-forward to t.
5437 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5438 arg of isearch-forward-regexp to t.
5439 (dired-isearch-filter-filenames): Remove unnecessary check for
5440 `dired-isearch-filenames'.
5441
5442 * comint.el (comint-history-isearch-backward):
5443 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5444 (comint-history-isearch-backward-regexp):
5445 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5446
5447 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5448
5449 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5450 unmsys--file-name. (Bug#16099)
5451
5452 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5453
5454 * emacs-lisp/package.el (package-keyword-button-action):
5455 Remove finder.el require dependency.
5456
5457 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5458
5459 * emacs-lisp/package.el: Require finder.el.
5460 (describe-package-1): Add keyword buttons.
5461 (package-make-button): New convenience function.
5462 (package-keyword-button-action): Keyword button action using
5463 `finder-list-matches'.
5464
5465 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5466
5467 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5468 last commit.
5469
5470 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5471
5472 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5473 symlinked files.
5474
5475 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5476
5477 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5478 after the end of a percent literal.
5479
5480 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5481
5482 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5483 Handle caret-delimited strings (Bug#16079).
5484
5485 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5486
5487 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5488 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5489 `ruby-parse-partial' (Bug#16078).
5490
5491 2013-12-09 Leo Liu <sdl.web@gmail.com>
5492
5493 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5494
5495 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5496
5497 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5498 (js-switch-indent-offset): New option.
5499 (js--proper-indentation): Use it. And handle the case when
5500 "default" is actually a key in an object literal.
5501 (js--same-line): New function.
5502 (js--multi-line-declaration-indentation): Use it.
5503 (js--indent-in-array-comp, js--array-comp-indentation):
5504 New functions.
5505 (js--proper-indentation): Use them, to handle array comprehension
5506 continuations.
5507
5508 2013-12-08 Leo Liu <sdl.web@gmail.com>
5509
5510 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5511 (flymake-make-overlay): Remove arg MOUSE-FACE.
5512 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5513
5514 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5517 New function.
5518 (redisplay-highlight-region-function): Use it.
5519
5520 * emulation/cua-base.el (cua--explicit-region-start)
5521 (cua--last-region-shifted): Remove.
5522 (cua--deactivate): Use deactivate-mark.
5523 (cua--pre-command-handler-1): Don't handle shift-selection.
5524 (cua--post-command-handler-1): Don't change transient-mark-mode.
5525 (cua--select-keymaps): Use region-active-p rather than
5526 cua--explicit-region-start or cua--last-region-shifted.
5527 (cua-mode): Enable shift-select-mode.
5528
5529 2013-12-08 Leo Liu <sdl.web@gmail.com>
5530
5531 * progmodes/flymake.el (flymake-popup-current-error-menu):
5532 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5533 (flymake-posn-at-point-as-event, flymake-popup-menu)
5534 (flymake-make-emacs-menu): Remove. (Bug#16077)
5535
5536 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * rect.el (rectangle-mark-mode): Activate mark even if
5539 transient-mark-mode is off (bug#16066).
5540 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5541 is > mark and at bolp.
5542
5543 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5544 (region-extract-function): Use it.
5545 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5546 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5547 Delete functions.
5548 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5549 kill-ring-save, kill-region, delete-char, delete-forward-char.
5550 Ignore self-insert-iso.
5551
5552 * emulation/cua-gmrk.el (cua--init-global-mark):
5553 Ignore `self-insert-iso'.
5554
5555 * emulation/cua-base.el (cua--prefix-copy-handler)
5556 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5557 checking cua--rectangle.
5558 (cua-delete-region): Use region-extract-function.
5559 (cua-replace-region): Delete function.
5560 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5561 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5562 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5563 (cua--init-keymaps): Don't remap delete-selection commands.
5564 (cua-mode): Use delete-selection-mode instead of rolling our own
5565 (bug#16085).
5566
5567 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5568 Obey region-extract-function.
5569
5570 Make registers and delete-selection-mode work on rectangles.
5571 * register.el (describe-register-1): Don't modify the register's value.
5572 (copy-to-register): Obey region-extract-function.
5573 * delsel.el (delete-active-region): Obey region-extract-function.
5574
5575 2013-12-08 Leo Liu <sdl.web@gmail.com>
5576
5577 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5578 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5579 (flymake-compilation-prevents-syntax-check)
5580 (flymake-start-syntax-check-on-newline)
5581 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5582 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5583 (flymake-xml-program, flymake-master-file-dirs)
5584 (flymake-master-file-count-limit)
5585 (flymake-allowed-file-name-masks): Relocate.
5586 (flymake-makehash, flymake-float-time)
5587 (flymake-replace-regexp-in-string, flymake-split-string)
5588 (flymake-get-temp-dir): Remove.
5589 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5590 (flymake-current-row, flymake-selected-frame)
5591 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5592 related functions. (Bug#16077)
5593
5594 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5595
5596 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5597
5598 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5599
5600 * help-fns.el (describe-function-1): Use new advice-* functions
5601 rather than old ad-* functions. Fix function type description and
5602 source links for advised functions and subrs.
5603
5604 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5605
5606 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5607
5608 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5609
5610 * progmodes/compile.el (compilation-start):
5611 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5612
5613 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5614 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5615
5616 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5617
5618 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5619 Touch up the last change.
5620
5621 2013-12-06 Leo Liu <sdl.web@gmail.com>
5622
5623 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5624 (inferior-octave-startup): Always use "octave> " for prompt.
5625 (octave-goto-function-definition)
5626 (octave-sync-function-file-names)
5627 (octave-find-definition-default-filename): Remove redundant backquotes.
5628
5629 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5630
5631 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5632 syntax for `?'.
5633 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5634 where appropriate already.
5635 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5636 end of method names (Bug#15874).
5637
5638 2013-12-06 Juri Linkov <juri@jurta.org>
5639
5640 * isearch.el (isearch--saved-overriding-local-map):
5641 New internal variable.
5642 (isearch-mode): Set it to the initial value of
5643 `overriding-terminal-local-map'.
5644 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5645 with `isearch--saved-overriding-local-map'. (Bug#16035)
5646
5647 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5648
5649 * progmodes/octave.el (inferior-octave-completion-table):
5650 Turn back into function, use `completion-table-with-cache'
5651 (Bug#11906). Update all references.
5652
5653 * minibuffer.el (completion-table-with-cache): New function.
5654
5655 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5656
5657 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5658
5659 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5660
5661 * net/eww.el (eww-current-source): New variable to store page
5662 source.
5663 (eww-display-html, eww-mode, eww-save-history)
5664 (eww-restore-history): Use it.
5665 (eww-view-source): New command to view page source.
5666 Opportunistically uses `html-mode' to highlight the buffer.
5667 (eww-mode-map): Install it.
5668
5669 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5670
5671 * net/dbus.el (dbus-unregister-service)
5672 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5673 Fix docstring.
5674 (dbus-unregister-service): Skip :serial entries in
5675 `dbus-registered-objects-table'.
5676 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5677
5678 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5679
5680 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5681 around keywords with extra `split-string' argument.
5682
5683 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5684
5685 * windmove.el (windmove-other-window-loc): Handle navigation
5686 between windows (excluding the minibuffer window - Bug#16017).
5687
5688 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5689
5690 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5691 in D-Bus type syntax.
5692 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5693 preserve unibyte strings. (Bug#16048)
5694
5695 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5698 Call force-mode-line-update is the proper buffer (bug#16042).
5699
5700 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5701
5702 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5703 `log-edit-remember-comment', make argument optional. Adjust all
5704 callers.
5705 (log-edit-mode): Add `log-edit-remember-comment' to
5706 `kill-buffer-hook' locally.
5707 (log-edit-kill-buffer): Don't remember comment explicitly since
5708 the buffer is killed anyway.
5709
5710 2013-12-04 Juri Linkov <juri@jurta.org>
5711
5712 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5713 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5714
5715 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5716
5717 * notifications.el (notifications-close-notification): Call the
5718 D-Bus method with ID being a `:uint32'. (Bug#16030)
5719
5720 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5721
5722 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5723
5724 2013-12-03 Juri Linkov <juri@jurta.org>
5725
5726 * progmodes/compile.el (compilation-start): Rename window alist
5727 entry `no-display-ok' to `allow-no-window'.
5728
5729 * simple.el (shell-command): Add window alist entry
5730 `allow-no-window' to `display-buffer'.
5731 (async-shell-command): Doc fix.
5732
5733 * window.el (display-buffer-no-window): New action function.
5734 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5735
5736 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 * vc/log-edit.el (log-edit-set-header): Extract from
5739 `log-edit-toggle-header'.
5740 (log-edit-extract-headers): Separate the summary, when extracted
5741 from header, from the rest of the message with an empty line.
5742
5743 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5744 line, if present, to the Summary header.
5745
5746 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5749 in current-buffer (bug#16029).
5750
5751 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5752
5753 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5754 (debugger-mode-map): Bind it.
5755 (debugger--backtrace-base): New function.
5756 (debugger-eval-expression): Use it.
5757 (debugger-frame-number): Skip local vars when present.
5758 (debugger--locals-visible-p, debugger--insert-locals)
5759 (debugger--show-locals, debugger--hide-locals): New functions.
5760
5761 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5762
5763 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5764 "LC_ALL".
5765 (tramp-get-remote-locale): New defun.
5766 (tramp-open-connection-setup-interactive-shell): Use it.
5767
5768 2013-12-02 Leo Liu <sdl.web@gmail.com>
5769
5770 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5771
5772 * progmodes/sh-script.el (sh-shell-process):
5773 * progmodes/octave.el (inferior-octave-process-live-p):
5774 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5775 (gdb-inferior-io-sentinel):
5776 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5777
5778 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5779
5780 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5781 `save-selected-window' to `log-edit-hide-buf'. This makes
5782 `log-edit-show-files' idempotent.
5783 (log-edit-show-files): Mark the new window as dedicated.
5784
5785 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5786
5787 * vc/log-edit.el (log-edit-mode-map): Add binding for
5788 `log-edit-kill-biffer'.
5789 (log-edit-hide-buf): Add a FIXME comment.
5790 (log-edit-add-new-comment): New function, extracted from
5791 `log-edit-done'.
5792 (log-edit-done, log-edit-add-to-changelog): Use it.
5793 (log-edit-kill-buffer): New command.
5794
5795 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5796
5797 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5798 instead of killing the buffer.
5799
5800 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5803
5804 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5805
5806 * net/eww.el (eww-form-checkbox-selected-symbol)
5807 (eww-form-checkbox-symbol): New customizable variable.
5808 (eww-form-checkbox, eww-toggle-checkbox):
5809 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5810
5811 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5812 (shr--get-media-pref, shr--extract-best-source): New function.
5813 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5814 no :src tag was specified.
5815
5816 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5817 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5818 Use \\` to match beginning of string instead of ^.
5819 (eww-browse-with-external-browser): Provide optional URL parameter.
5820 (eww-render): Set `eww-current-title' back to "".
5821
5822 * net/shr.el (shr-tag-video): Display content for video if no
5823 poster is available.
5824 (shr-tag-audio): Add support for <audio> tag.
5825
5826 * net/eww.el (eww-text-input-types): New const.
5827 (eww-process-text-input): Treat input types in
5828 `eww-text-input-types' as text.
5829
5830 * net/shr.el (shr-tag-table): Fix comment typo.
5831
5832 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5833
5834 * net/eww.el (eww-follow-link): New command to avoid reloading
5835 pages when we follow #target links (bug#15243).
5836 (eww-quit): Special mode buffers shouldn't query before exiting.
5837
5838 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5839
5840 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5841 forms.
5842
5843 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5844
5845 * net/eww.el (eww-restore-history): Update the window title after
5846 moving in the history.
5847 (eww-current-dom): New variable used to save the current DOM.
5848
5849 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5850
5851 * vc/log-edit.el (log-edit-mode-map): Add binding for
5852 `log-edit-beginning-of-line'.
5853 (log-edit-setup-add-author): New user option.
5854 (log-edit-beginning-of-line): New command.
5855 (log-edit): Move major mode call above the contents setup so that
5856 the local variable values are already applied.
5857 (log-edit): Only insert "Author: " when
5858 `log-edit-setup-add-author' is non-nil.
5859 (log-edit): When SETUP is non-nil, position point after ": "
5860 instead of point-min.
5861
5862 2013-12-01 Glenn Morris <rgm@gnu.org>
5863
5864 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5865
5866 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5867
5868 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5869 redisplay to make sure the initial frame gets a chance to become
5870 visible. (Bug#16014)
5871
5872 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5873
5874 Support resizing frames and windows pixelwise.
5875 * cus-start.el (frame-resize-pixelwise)
5876 (window-resize-pixelwise): New entries.
5877 * emacs-lisp/debug.el (debug): Use window-total-height instead
5878 of window-total-size.
5879 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5880 * help.el (describe-bindings-internal): Use help-buffer as
5881 argument for with-help-window.
5882 (temp-buffer-max-width): New option.
5883 (resize-temp-buffer-window, help-window-setup)
5884 (with-help-window): Rewrite.
5885 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5886 dragging dividers.
5887 * window.el (frame-char-size, window-min-pixel-height)
5888 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5889 (window-min-pixel-width, window-safe-min-pixel-size)
5890 (window-combination-p, window-safe-min-size)
5891 (window-resizable-p, window--size-to-pixel)
5892 (window--pixel-to-size, window--resize-apply-p): New functions.
5893 (window-safe-min-height): Fix doc-string.
5894 (window-size, window-min-size, window--min-size-1)
5895 (window-sizable, window-sizable-p, window--min-delta-1)
5896 (window-min-delta, window--max-delta-1, window-max-delta)
5897 (window--resizable, window--resizable-p, window-resizable)
5898 (window-full-height-p, window-full-width-p, window-at-side-p)
5899 (window--in-direction-2, window-in-direction)
5900 (window--resize-reset-1, window--resize-mini-window)
5901 (window-resize, window-resize-no-error)
5902 (window--resize-child-windows-normal)
5903 (window--resize-child-windows, window--resize-siblings)
5904 (window--resize-this-window, window--resize-root-window)
5905 (window--resize-root-window-vertically)
5906 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5907 (maximize-window, minimize-window, delete-window)
5908 (quit-restore-window, window-split-min-size, split-window)
5909 (balance-windows-2, balance-windows)
5910 (balance-windows-area-adjust, balance-windows-area)
5911 (window--state-get-1, window-state-get, window--state-put-1)
5912 (window--state-put-2, window-state-put)
5913 (display-buffer-record-window, window--display-buffer):
5914 Make functions handle pixelwise sizing of windows.
5915 (display-buffer--action-function-custom-type)
5916 (display-buffer-fallback-action):
5917 Add display-buffer-in-previous-window.
5918 (display-buffer-use-some-window): Resize window to height it had
5919 before.
5920 (fit-window-to-buffer-horizontally): New option.
5921 (fit-frame-to-buffer): Describe new values.
5922 (fit-frame-to-buffer-bottom-margin): Replace with
5923 fit-frame-to-buffer-margins.
5924 (window--sanitize-margin): New function.
5925 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5926 using window-text-pixel-size.
5927
5928 2013-11-30 Glenn Morris <rgm@gnu.org>
5929
5930 * emacs-lisp/bytecomp.el (byte-compile-form):
5931 Make the `interactive-only' warning like the `obsolete' one.
5932 * comint.el (comint-run):
5933 * files.el (insert-file-literally, insert-file):
5934 * replace.el (replace-string, replace-regexp):
5935 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5936 (goto-line, insert-buffer, next-line, previous-line):
5937 Tweak `interactive-only' spec.
5938
5939 Stop keeping (most) generated cedet grammar files in the repository.
5940 * Makefile.in (semantic): New.
5941 (compile-main): Depend on semantic.
5942
5943 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5946 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5947
5948 * uniquify.el (uniquify-buffer-name-style): Change default.
5949
5950 * loadup.el: Preload "uniquify".
5951
5952 * time.el (display-time-update): Update all mode lines (bug#15999).
5953
5954 * electric.el (electric-indent-mode): Enable by default.
5955 * loadup.el: Preload "electric".
5956
5957 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5958
5959 * emacs-lisp/helpers.el (string-empty-p): New function.
5960 (string-blank-p): New function.
5961
5962 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5963
5964 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5965 (Bug#14029).
5966
5967 2013-11-29 Andreas Politz <politza@fh-trier.de>
5968 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5969 allow non-lambda lists as functions.
5970 (imenu--in-alist): Don't recurse into non-subalists.
5971 (imenu): Don't pass function itself as an argument (Bug#14029).
5972
5973 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * progmodes/python.el (python-mode-map): Remove binding for ":".
5976 (python-indent-electric-colon): Remove command.
5977 (python-indent-post-self-insert-function): Integrate the previous code
5978 of python-indent-electric-colon. Make it conditional on
5979 electric-indent-mode.
5980 (python-mode): Add ?: to electric-indent-chars.
5981 Move python-indent-post-self-insert-function to the end of
5982 post-self-insert-hook.
5983
5984 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * doc-view.el (doc-view-goto-page): Update mode-line.
5987
5988 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5989
5990 2013-11-27 Glenn Morris <rgm@gnu.org>
5991
5992 * international/charprop.el, international/uni-bidi.el:
5993 * international/uni-category.el, international/uni-combining.el:
5994 * international/uni-comment.el, international/uni-decimal.el:
5995 * international/uni-decomposition.el, international/uni-digit.el:
5996 * international/uni-lowercase.el, international/uni-mirrored.el:
5997 * international/uni-name.el, international/uni-numeric.el:
5998 * international/uni-old-name.el, international/uni-titlecase.el:
5999 * international/uni-uppercase.el:
6000 Remove generated files from VCS repository.
6001
6002 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6003
6004 * filenotify.el (file-notify-add-watch): Don't special-case
6005 w32notify when computing the directory to watch.
6006
6007 2013-11-27 Glenn Morris <rgm@gnu.org>
6008
6009 Make bootstrap without generated uni-*.el files possible again.
6010 * loadup.el: Update command-line-args checking for unidata-gen.
6011 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6012 * composite.el, international/characters.el:
6013 Handle unicode tables being undefined.
6014
6015 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6016 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6017 (compile-main): Depend on leim rule.
6018 (leim): New rule.
6019 * loadup.el: Move leim-list.el to leim/ subdirectory.
6020 * startup.el (normal-top-level): No more leim directory.
6021 * international/ja-dic-cnv.el (skkdic-convert):
6022 Disable version-control and autoloads in output files.
6023 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6024 Disable version-control and autoloads in output files.
6025 * leim/quail: Move here from ../leim.
6026 * leim/quail/hangul.el (hangul-input-method-activate):
6027 Add autoload cookie.
6028 (generated-autoload-load-name): Set file-local value.
6029 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6030 (generated-autoload-load-name): Set file-local value.
6031
6032 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6033
6034 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6035 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6036 (eww-quit): Ask confirmation before quitting eww.
6037
6038 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6039
6040 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6041 reading output from Diff on MS-Windows and MS-DOS.
6042
6043 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6044
6045 * emacs-lisp/helpers.el (string-reverse): New function.
6046
6047 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6048
6049 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6050 names on MS Windows, like "/[::1]:".
6051
6052 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6053 SWITCHES.
6054
6055 2013-11-26 Glenn Morris <rgm@gnu.org>
6056
6057 * progmodes/python.el (python-indent-guess-indent-offset):
6058 Avoid corner-case error. (Bug#15975)
6059
6060 Preload leim-list.el. (Bug#4789)
6061 * loadup.el: Load leim-list.el when found.
6062 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6063
6064 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6065
6066 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6067
6068 * emacs-lisp/helpers.el (string-join): New function.
6069
6070 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6071
6072 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6073 Mark as obsolete and replace it with a symbol property.
6074 (byte-compile-form): Use new 'interactive-only property.
6075 * comint.el, files.el, replace.el, simple.el:
6076 Apply new 'interactive-only properly.
6077
6078 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6079
6080 * window.el (display-buffer-at-bottom): Make sure that
6081 split-window-sensibly creates the new window on bottom
6082 (Bug#15961).
6083
6084 2013-11-23 David Kastrup <dak@gnu.org>
6085
6086 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6087 on the conflict markers when available.
6088 (smerge--get-marker): New function.
6089 (smerge-end-re, smerge-base-re): Add subgroup.
6090
6091 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * frame.el (handle-focus-in, handle-focus-out): Add missing
6094 interactive spec.
6095
6096 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6097
6098 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6099 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6100
6101 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6104 (gomoku--last-pos): New var.
6105 (gomoku--intangible-chars): New const.
6106 (gomoku--intangible): New function.
6107 (gomoku-mode): Use it. Derive from special-mode.
6108 (gomoku-move-up): Adjust line count.
6109 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6110 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6111 Simplify accordingly.
6112
6113 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6114 Remove blink-cursor code.
6115 (blink-cursor-timer-function, blink-cursor-suspend):
6116 Don't special-case GUIs.
6117 (blink-cursor-mode): Use focus-in/out-hook.
6118
6119 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6120
6121 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6122 work when annotation is invisible (Bug#13886).
6123
6124 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6125
6126 * json.el (json-alist-p): Only return non-nil if the alist has
6127 simple keys (Bug#13518).
6128
6129 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6130
6131 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6132 when control-statement is the first statement in a buffer (Bug#15956).
6133
6134 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6135
6136 * imenu.el (imenu-generic-skip-comments-and-strings):
6137 New option (Bug#15560).
6138 (imenu--generic-function): Use it.
6139
6140 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6141
6142 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6143 (Bug#13898)
6144
6145 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6146
6147 * emacs-lisp/helpers.el: Add some string helpers.
6148 (string-trim-left): Removes leading whitespace.
6149 (string-trim-right): Removes trailing whitespace.
6150 (string-trim): Removes leading and trailing whitespace.
6151
6152 * subr.el (string-suffix-p): New function.
6153
6154 2013-11-23 Glenn Morris <rgm@gnu.org>
6155
6156 * progmodes/python.el (python-shell-send-file):
6157 Add option to delete file when done. (Bug#15647)
6158 (python-shell-send-string, python-shell-send-region): Use it.
6159
6160 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6161
6162 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6163 to set buffer-read-only to t, never to nil. (Bug#15938)
6164
6165 * textmodes/tex-mode.el (latex-noindent-environments):
6166 Add safe-local-variable property. (Bug#15936)
6167
6168 2013-11-23 Glenn Morris <rgm@gnu.org>
6169
6170 * textmodes/enriched.el (enriched-mode): Doc fix.
6171 * emacs-lisp/authors.el (authors-renamed-files-alist):
6172 Add enriched.doc -> enriched.txt.
6173
6174 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6175
6176 2013-11-22 Leo Liu <sdl.web@gmail.com>
6177
6178 * progmodes/octave.el (inferior-octave-startup): Spit out error
6179 message.
6180
6181 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6182
6183 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6184 Improve docstring.
6185 Add :version.
6186 (ruby-encoding-magic-comment-style): Add :version.
6187
6188 2013-11-22 Leo Liu <sdl.web@gmail.com>
6189
6190 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6191 (Bug#15076)
6192 (octave-help-mode): Adapt to change to help-mode-finish to use
6193 derived-mode-p on 2013-09-17.
6194 (inferior-octave-prompt): Also match octave-gui.
6195 (octave-kill-process): Don't ask twice. (Bug#10564)
6196
6197 2013-11-22 Leo Liu <sdl.web@gmail.com>
6198
6199 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6200 (inferior-octave-startup, inferior-octave-check-process)
6201 (inferior-octave-track-window-width-change)
6202 (octave-completion-at-point, octave-eldoc-function): Use it.
6203 (octave-kill-process): Provide confirmation. (Bug#10564)
6204
6205 2013-11-21 Leo Liu <sdl.web@gmail.com>
6206
6207 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6208 Fix obsolete variable comment-use-global-state.
6209
6210 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6211
6212 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6213 Add `octave-source-file'.
6214 (octave-source-file): New function. (Bug#15935)
6215
6216 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6217
6218 * net/eww.el (eww-local-regex): New variable.
6219 (eww): Use it to detect localhost and similar.
6220
6221 2013-11-21 Leo Liu <sdl.web@gmail.com>
6222
6223 Add completion for command `ag'.
6224 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6225 (pcomplete/ag): New function.
6226 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6227
6228 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6231 (bug#14646).
6232 (make-obsolete): Remove interactive spec.
6233
6234 2013-11-21 Glenn Morris <rgm@gnu.org>
6235
6236 * startup.el (command-line-1): Use path-separator with -L.
6237
6238 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6239
6240 * emacs-lisp/package.el (describe-package-1): Add package archive
6241 to shown fields.
6242
6243 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6244
6245 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6246 Change default to "# encoding: %s" to differentiate it from the
6247 default Ruby encoding comment template.
6248
6249 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6250
6251 * ses.el (ses-mode): Doc fix. (Bug#14748)
6252
6253 2013-11-20 Leo Liu <sdl.web@gmail.com>
6254
6255 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6256
6257 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6258
6259 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6260 when rebase or bisect are in progress.
6261
6262 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6263
6264 * filenotify.el (file-notify-add-watch): Doc fix.
6265
6266 2013-11-19 Leo Liu <sdl.web@gmail.com>
6267
6268 * obsolete/rcompile.el: Mark obsolete.
6269
6270 * progmodes/compile.el (compilation-start)
6271 (compilation-goto-locus, compilation-find-file):
6272 Pass no-display-ok and handle nil value from display-buffer.
6273 (Bug#13594)
6274
6275 * window.el (display-buffer-alist, display-buffer): Document the
6276 new parameter no-display-ok. Return either a window or nil
6277 but never a non-window value.
6278
6279 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * electric.el (electric-indent-mode-map): Remove.
6282 (electric-indent-mode): Change the global-map instead (bug#15915).
6283
6284 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6285 Use add-function.
6286
6287 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * emacs-lisp/nadvice.el (remove-function): Align with
6290 add-function's behavior.
6291
6292 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6293 (gdb--string-regexp): New constant.
6294 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6295 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6296 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6297 submatch 1.
6298 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6299 Adjust use accordingly.
6300 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6301
6302 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6303
6304 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6305 interpolation curlies (Bug#15914).
6306
6307 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6308
6309 * calc/calc.el (calc-context-sensitive-enter): New variable.
6310 (calc-enter): Use `calc-context-sensitive-enter'.
6311
6312 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6313
6314 * progmodes/cfengine.el: Version bump.
6315 (cfengine-cf-promises): New defcustom to locate cf-promises.
6316 (cfengine3-vartypes): Add new "data" type.
6317 (cfengine3--current-word): New function to get current name-like
6318 word or its bounds.
6319 (cfengine3--current-function): New function to look up a CFEngine
6320 function's definition.
6321 (cfengine3-format-function-docstring): New function.
6322 (cfengine3-make-syntax-cache): New function.
6323 (cfengine3-documentation-function): New function: ElDoc glue.
6324 (cfengine3-completion-function): New function: completion glue.
6325 (cfengine3-mode): Set `compile-command',
6326 `eldoc-documentation-function', and add to
6327 `completion-at-point-functions'.
6328
6329 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6330
6331 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6332 `tramp-current-connection'.
6333
6334 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6335
6336 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6337 nil/self/true/false with "end of symbol".
6338
6339 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6340
6341 * subr.el (version-regexp-alist): Fix a typo.
6342
6343 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6344
6345 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6346 "en_US.utf8" and "LC_CTYPE" to "".
6347 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6348 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6349
6350 2013-11-15 Leo Liu <sdl.web@gmail.com>
6351
6352 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6353
6354 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * progmodes/gud.el (ctl-x-map):
6357 Remove C-x SPC binding. (Bug#12342)
6358 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6359
6360 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6361
6362 * subr.el (version-regexp-alist):
6363 Recognize hg, svn and darcs versions as snapshot versions.
6364
6365 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6366 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6367 (ruby--encoding-comment-required-p): Extract from
6368 `ruby-mode-set-encoding'.
6369 (ruby-mode-set-encoding): Add the ability to always insert an
6370 utf-8 encoding comment. Fix and simplify coding comment update
6371 logic.
6372
6373 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6374
6375 * net/tramp-gvfs.el (top): Run init code only when
6376 `tramp-gvfs-enabled' is not nil.
6377 (tramp-gvfs-enabled): Check also :system bus.
6378
6379 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 Sync with upstream verilog-mode revision 78e66ba.
6382 * progmodes/verilog-mode.el (verilog-end-of-defun)
6383 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6384 (verilog-get-end-of-defun): Remove unused argument.
6385 (verilog-comment-depth): Remove unused local `e'.
6386 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6387 Don't pass arg to verilog-get-end-of-defun.
6388
6389 2013-11-14 Glenn Morris <rgm@gnu.org>
6390
6391 * obsolete/assoc.el (aget): Prefix dynamic variable.
6392
6393 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6394
6395 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * widget.el, hfy-cmap.el: Remove bogus package version number.
6398
6399 2013-11-13 Glenn Morris <rgm@gnu.org>
6400
6401 * replace.el (replace-eval-replacement):
6402 Try to give more helpful error message. (Bug#15836)
6403
6404 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6405 (archive-7z-update): Avoid custom type mismatches.
6406
6407 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6408
6409 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6412 address can be empty.
6413
6414 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6415 Accept nil SWITCHES.
6416 (tramp-gvfs-handle-write-region): Implement APPEND.
6417
6418 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6419
6420 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6421 binary "|" operator and closing block args delimiter.
6422 Remove FIXME comment referring to Ruby 1.8-only syntax.
6423 (ruby-smie--implicit-semi-p): Not after "|" operator.
6424 (ruby-smie--closing-pipe-p): New function.
6425 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6426 (ruby-smie-rules): Indent after "|".
6427
6428 2013-11-12 Glenn Morris <rgm@gnu.org>
6429
6430 * ps-print.el (ps-face-attribute-list):
6431 Handle anonymous faces. (Bug#15827)
6432
6433 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6434
6435 * window.el (display-buffer-other-frame): Fix doc-string.
6436 (Bug#15868)
6437
6438 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6441
6442 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6443
6444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6445 (tramp-sh-handle-file-local-copy): Don't write a message when
6446 saving temporary files.
6447
6448 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6449 both directories are remote.
6450 (tramp-smb-handle-directory-files): Do not return double entries.
6451 Do not expand full file names.
6452 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6453 (tramp-smb-handle-write-region): Implement APPEND.
6454 (tramp-smb-get-stat-capability): Fix a stupid bug.
6455
6456 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6459
6460 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6461
6462 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6463 throwing error over malformed let/let* (bug#15814).
6464
6465 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * iswitchb.el (iswitchb-mode): Mark obsolete.
6468
6469 2013-11-11 Glenn Morris <rgm@gnu.org>
6470
6471 * international/uni-bidi.el, international/uni-category.el:
6472 * international/uni-name.el, international/uni-numeric.el:
6473 Regenerate for Unicode 6.3.0.
6474
6475 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6476
6477 * net/tramp.el (tramp-methods):
6478 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6479 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6480
6481 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6482
6483 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6484 Force highlighting text after Summary keyword in doc face for rpm.
6485
6486 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6487
6488 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6489 available and the word has no wildcards, append one to the grep pattern.
6490 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6491 (ispell-complete-word): Call `ispell-lookup-words' with the value
6492 independent of `ispell-look-p'.
6493
6494 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6495
6496 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6497 Not after "||".
6498 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6499 their parent.
6500
6501 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6504 (ruby-font-lock-keywords): Use backquote.
6505
6506 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6507
6508 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6509 (ruby-smie--backward-token): Only consider full-string matches.
6510
6511 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6512
6513 * faces.el (describe-face): Add distant-foreground.
6514
6515 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6516
6517 * progmodes/ruby-mode.el: Improve encoding comment handling.
6518 (ruby-encoding-magic-comment-style): New option.
6519 (ruby-custom-encoding-magic-comment-template): New option.
6520 (ruby--insert-coding-comment, ruby--detect-encoding):
6521 New functions extracted from `ruby-mode-set-encoding'.
6522 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6523 to control the style of the auto-inserted encoding comment.
6524
6525 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6526
6527 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6528 Use `smie-backward-sexp' with token argument.
6529
6530 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6533 Remove instrumentation code.
6534
6535 2013-11-08 Glenn Morris <rgm@gnu.org>
6536
6537 * progmodes/autoconf.el (autoconf-mode):
6538 Tweak comment-start-skip. (Bug#15822)
6539
6540 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6543 at bobp (bug#15826).
6544 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6545
6546 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6547
6548 * man.el (Man-start-calling): New macro, extracted from
6549 Man-getpage-in-background.
6550 (Man-getpage-in-background): Use it.
6551 (Man-update-manpage): New command.
6552 (Man-mode-map): Bind it.
6553
6554 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6555
6556 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6557 of "and", "or", "&&" and "||".
6558 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6559 argument. Prohibit opening curly brace because it could only be a
6560 block opener in that position.
6561 (ruby-smie--forward-token, ruby-smie--backward-token):
6562 Separate "|" from "&" or "*" going after it. That can happen in block
6563 arguments.
6564 (ruby-smie--indent-to-stmt): New function, seeks the end of
6565 previous statement or beginning of buffer.
6566 (ruby-smie-rules): Use it.
6567 (ruby-smie-rules): Check if there's a ":" before a curly block
6568 opener candidate; if there is, it's a hash.
6569
6570 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6573 (cl--block-wrapper): Fix last accidental change.
6574
6575 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6576
6577 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6578 Instrument, in order to hunt failure on hydra.
6579
6580 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6581
6582 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6583 malformed bindings form (bug#15814).
6584
6585 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6586
6587 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6588 "." compared to " @ ". This incidentally fixes some indentation
6589 examples with "do".
6590 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6591 (ruby-smie-grammar): New tokens: "and" and "or".
6592 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6593 Exclude "and" and "or". Remove "do" in order to work around token
6594 priorities.
6595 (ruby-smie-rules): Add all infix tokens. Handle the case of
6596 beginning-of-buffer.
6597
6598 2013-11-06 Glenn Morris <rgm@gnu.org>
6599
6600 * Makefile.in (setwins_almost, setwins_for_subdirs):
6601 Avoid accidental matches.
6602
6603 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * menu-bar.el (popup-menu): Use key-binding.
6606
6607 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6608
6609 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6610 menus, support also the menus produced by minor modes.
6611 (Bug#15817)
6612
6613 2013-11-06 Leo Liu <sdl.web@gmail.com>
6614
6615 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6616 DISTANCE to bound the search. All uses changed. (Bug#15808)
6617
6618 2013-11-06 Glenn Morris <rgm@gnu.org>
6619
6620 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6621 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6622 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6623
6624 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * electric.el (electric-indent-just-newline): New command.
6627 (electric-indent-mode-map): New keymap.
6628 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6629 Re-add :group which weren't redundant.
6630
6631 * electric.el (electric-indent-local-mode): New minor mode.
6632 (electric-indent-functions-without-reindent): New var.
6633 (electric-indent-post-self-insert-function): Use it.
6634 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6635
6636 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6637
6638 * international/quail.el (quail-help): Be more explicit about the
6639 meaning of the labels shown on the keys. (Bug#15800)
6640
6641 * startup.el (normal-top-level): Load the subdirs.el files before
6642 setting the locale environment. (Bug#15805)
6643
6644 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6647 via arguments so as to get the right ones (bug#15418).
6648
6649 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6650
6651 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6652
6653 Fix problems found while writing a test suite.
6654
6655 * net/tramp-compat.el (tramp-compat-load): New defun.
6656 * net/tramp.el (tramp-handle-load): Use it.
6657
6658 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6659 "(numberp ok-if-already-exists)" correctly.
6660
6661 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6662
6663 * international/characters.el (glyphless-char-display-control):
6664 Add usage note.
6665
6666 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6667
6668 * progmodes/python.el (python-mode):
6669 * progmodes/scheme.el (scheme-mode):
6670 * progmodes/prolog.el (prolog-mode):
6671 * progmodes/ruby-mode.el (ruby-mode):
6672 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6673 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6674
6675 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * rect.el (rectangle--highlight-for-redisplay):
6678 * emacs-lisp/smie.el (smie--next-indent-change):
6679 Use buffer-chars-modified-tick.
6680
6681 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6682
6683 * electric.el (electric-indent-post-self-insert-function):
6684 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6685
6686 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6687
6688 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6689
6690 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6691
6692 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6693 (bug#15786).
6694
6695 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6698
6699 * progmodes/python.el: Fix up last change.
6700 (python-shell--save-temp-file): New function.
6701 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6702 `string' comes from the current buffer.
6703 (python-shell-send-string-no-output): Remove `msg' arg.
6704 (python--use-fake-loc): New var.
6705 (python-shell-buffer-substring): Obey it. Try to compensate for the
6706 extra coding line added by python-shell--save-temp-file.
6707 (python-shell-send-region): Use python-shell--save-temp-file and
6708 python-shell-send-file directly. Add `nomain' argument.
6709 (python-shell-send-buffer): Use python-shell-send-region.
6710 (python-electric-pair-string-delimiter): New function.
6711 (python-mode): Use it.
6712
6713 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6714
6715 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6716 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6717 environment and decoding all of the default-directory's to here
6718 from command-line.
6719 (command-line): Decode also argv[0].
6720
6721 * loadup.el: Error out if default-directory is a multibyte string
6722 when we are dumping.
6723
6724 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6725
6726 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6727
6728 * emacs-lisp/package.el (package-menu-mode)
6729 (package-menu--print-info, package-menu--archive-predicate):
6730 Add Archive column to package list.
6731
6732 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6733
6734 Fix problems found while writing a test suite.
6735
6736 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6737 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6738 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6739 to nil when running original file name handler. Otherwise,
6740 there are problems with constructs like "$$FOO".
6741
6742 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6743 for `localname'.
6744
6745 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6746
6747 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6748
6749 * subr.el (version<, version<=, version=):
6750 Update docstrings with information for snapshot versions.
6751
6752 * helpers.el: New library for misc helper functions.
6753 (hash-table-keys): New function returning a list of hash keys.
6754 (hash-table-values): New function returning a list of hash values.
6755
6756 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6757
6758 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6759 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6760
6761 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6762
6763 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6764 checking whether point is after a 1-letter word.
6765
6766 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6767
6768 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6769 Don't infloop when expanding region over `multiline' syntax-type that
6770 begins a line (bug#15778).
6771
6772 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6775 Make it into a proper minor mode.
6776 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6777 (rectangle-mark-mode-map): New keymap.
6778 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6779
6780 2013-11-04 Glenn Morris <rgm@gnu.org>
6781
6782 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6783
6784 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6787 (ruby-smie-rules): Use smie-rule-parent instead.
6788
6789 * emacs-lisp/smie.el (smie-rule-parent): Always call
6790 smie-indent-virtual rather than only for hanging tokens.
6791 (smie--next-indent-change): New helper command.
6792
6793 2013-11-03 Glenn Morris <rgm@gnu.org>
6794
6795 * Makefile.in (abs_srcdir): Remove.
6796 (emacs): Unset EMACSLOADPATH.
6797
6798 2013-11-02 Glenn Morris <rgm@gnu.org>
6799
6800 * Makefile.in (EMACS): Use a relative filename.
6801 (abs_top_builddir): Remove.
6802 (custom-deps, finder-data, autoloads): Use --chdir.
6803
6804 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6805
6806 Use relative filenames in TAGS files.
6807 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6808 (lisptagsfiles4, TAGS): Use relative file names.
6809 (TAGS-LISP): Remove.
6810 (maintainer-clean): No more TAGS-LISP file.
6811
6812 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6813 (lisptagsfiles4): Use absolute filenames again.
6814 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6815 Remove all *loaddefs files, not just the first. Remove esh-groups.
6816 (maintainer-clean): Delete TAGS, TAGS-LISP.
6817
6818 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6819
6820 * emacs-lisp/package.el (package-version-join):
6821 Recognize snapshot versions.
6822
6823 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6824
6825 * subr.el (version-regexp-alist): Add support for snapshot versions.
6826
6827 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6828
6829 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6830 New function, replacement for `smie-rule-parent' for when we want to
6831 skip over our direct parent if it's an assignment token..
6832 (ruby-smie-rules): Use it.
6833
6834 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6835
6836 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6837 unconditionally. Remove now unnecessary forward declarations.
6838 Remove XEmacs-specific setup.
6839 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6840 (ruby-font-lock-syntactic-keywords)
6841 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6842 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6843 (ruby-here-doc-end-syntax): Remove.
6844 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6845 defined as function.
6846
6847 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6848
6849 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6850
6851 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6852
6853 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6854 table and abbrev table, `define-derived-mode' does that for us
6855 anyway.
6856
6857 2013-11-01 Glenn Morris <rgm@gnu.org>
6858
6859 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6860 files is atomic for some time, so no parallel compilation issues).
6861
6862 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6863
6864 * faces.el (face-x-resources): Add :distant-foreground.
6865 (region): Use :distant-foreground for gtk and ns.
6866
6867 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6868
6869 Allow multiple bibliographies when BibLaTeX is used rather than
6870 BibTeX.
6871 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6872 (reftex-locate-bibliography-files): Us it.
6873
6874 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6875
6876 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6877 allow comments in pbm files.
6878
6879 * term/w32-win.el (dynamic-library-alist): Support newer versions
6880 of libjpeg starting with v7: look only for the DLL from the
6881 version against which Emacs was built.
6882 Support versions of libpng beyond 1.4.x.
6883 Support libtiff v4.x.
6884
6885 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6886
6887 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6888 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6889 Add property :safe.
6890 (ruby-deep-arglist): Add property :type.
6891
6892 2013-10-31 Glenn Morris <rgm@gnu.org>
6893
6894 * Makefile.in (custom-deps, finder-data): No need to setq the target
6895 variables, we are in the right directory and the defaults work fine.
6896
6897 2013-10-30 Glenn Morris <rgm@gnu.org>
6898
6899 * Makefile.in (autoloads): Do not use abs_lisp.
6900
6901 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6902 `newline' does not respect `standard-output', so use `princ'.
6903
6904 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6905
6906 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6907 * buff-menu.el (Buffer-menu--unmark): New function.
6908 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6909
6910 2013-10-30 Glenn Morris <rgm@gnu.org>
6911
6912 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6913
6914 * emacs-lisp/package.el (lm-homepage): Declare.
6915
6916 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6917 Fix doc typos.
6918
6919 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6920
6921 * Makefile.in (finder-data, autoloads, update-subdirs)
6922 (compile-main, compile-clean, compile-always, bootstrap-clean):
6923 Check return value of cd.
6924 (compile-calc): Remove.
6925
6926 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6929
6930 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6931 (byte-compile-and-folded): New function.
6932 (=, <, >, <=, >=): Use it.
6933
6934 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6935 (path-separator, null-device, buffer-file-coding-system)
6936 (lpr-headers-switches): Check system-type before modifying them.
6937 (find-buffer-file-type-coding-system): Mark obsolete.
6938 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6939 find-file-not-found-set-buffer-file-coding-system.
6940 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6941 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6942 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6943 (w32-direct-print-region-helper, w32-direct-print-region-function)
6944 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6945 * startup.el (normal-top-level-add-subdirs-to-load-path):
6946 * ps-print.el (ps-print-region-function):
6947 * lpr.el (print-region-function): Use new name.
6948
6949 * subr.el (custom-declare-variable-early): Remove function.
6950 (custom-declare-variable-list): Remove var.
6951 (error, user-error): Remove `while' loop.
6952 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6953 (user-emacs-directory-warning, locate-user-emacs-file):
6954 Move to files.el.
6955 * simple.el (read-quoted-char-radix, read-quoted-char):
6956 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6957 Move from subr.el.
6958 * custom.el (custom-declare-variable-list): Don't process
6959 custom-declare-variable-list.
6960
6961 * progmodes/python.el (python-shell-get-buffer): New function.
6962 (python-shell-get-process): Use it.
6963 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6964 Python which encoding was used. Don't split-string since we only care
6965 about the first line. Return the temp-file, if applicable.
6966 (python-shell-send-region): Tell compile.el how to turn locations in
6967 the temp-file into locations in the source buffer.
6968
6969 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * subr.el (undefined): Add missing behavior from the C code for
6972 unbound keys.
6973
6974 * rect.el: Use lexical-binding. Add new rectangular region support.
6975 (rectangle-mark): New command.
6976 (rectangle--region): New var.
6977 (deactivate-mark-hook): Reset rectangle--region.
6978 (rectangle--extract-region, rectangle--insert-for-yank)
6979 (rectangle--highlight-for-redisplay)
6980 (rectangle--unhighlight-for-redisplay): New functions.
6981 (region-extract-function, redisplay-unhighlight-region-function)
6982 (redisplay-highlight-region-function): Use them to handle
6983 rectangular region.
6984 * simple.el (region-extract-function): New var.
6985 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6986 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6987 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6988 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6989 (redisplay-unhighlight-region-function)
6990 (redisplay-highlight-region-function): New vars.
6991 (redisplay--update-region-highlight): New function.
6992 (pre-redisplay-function): Use it.
6993 (exchange-point-and-mark): Don't deactivate the mark before
6994 reactivate-it anyway.
6995 * comint.el (comint-kill-region): Remove yank-handler argument.
6996 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6997 (delete-char): Remove property, since it's now part of their
6998 default behavior.
6999 (self-insert-iso): Remove property since this command doesn't exist.
7000
7001 * emacs-lisp/package.el (package--download-one-archive)
7002 (describe-package-1): Don't query the user about final newline.
7003
7004 2013-10-29 Daniel Colascione <dancol@dancol.org>
7005
7006 * net/tramp.el (tramp-methods): Document new functionality.
7007 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7008 tramp-hostname-checker if method provides one instead of scanning
7009 argument list for "%h" to decide hostname acceptability.
7010
7011 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7012
7013 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7014 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7015 Handle COPY-CONTENTS. (Bug#15737)
7016
7017 2013-10-28 Daiki Ueno <ueno@gnu.org>
7018
7019 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7020 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7021
7022 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7023
7024 * image.el (defimage, image-load-path): Doc fixes.
7025
7026 2013-10-27 Alan Mackenzie <acm@muc.de>
7027
7028 Indent statements in macros following "##" correctly.
7029 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7030 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7031
7032 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7033
7034 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7035
7036 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7037
7038 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7039 after `=' is probably a new expression.
7040
7041 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7042
7043 * man.el (man-imenu-title): New option.
7044 (Man-mode-map): Add menu. (Bug#15722)
7045 (Man-mode): Add imenu to menu.
7046
7047 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7048
7049 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7050 specific in what the first arg can be: a non-keyword word,
7051 string/regexp/percent literal opener, opening paren, or unary
7052 operator followed directly by word.
7053
7054 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7057 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7058 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7059 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7060 Remove vars, they do not apply any more.
7061 (prolog-mode-abbrev-table): Remove redundant declaration.
7062 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7063 (prolog-use-smie): Remove.
7064 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7065 supported by prolog-electric-if-then-else-flag.
7066 (prolog-mode-variables, prolog-menu): Use setq-local.
7067 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7068 Remove binding to `Backspace' since this key doesn't exist anyway.
7069 Remove bindings for electric self-inserting keys.
7070 (prog-mode): Assume it's defined.
7071 (prolog-post-self-insert): New function.
7072 (prolog-mode): Use it.
7073 (prolog-indent-line, prolog-indent-level)
7074 (prolog-find-indent-of-matching-paren)
7075 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7076 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7077 (prolog-goto-next-paren, prolog-in-string-or-comment)
7078 (prolog-tokenize, prolog-inside-mline-comment)
7079 (prolog-find-start-of-mline-comment): Remove functions.
7080 (prolog-find-unmatched-paren, prolog-clause-end)
7081 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7082 (prolog-electric--if-then-else): Rename from
7083 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7084 (prolog-tokenize-searchkey): Remove const.
7085 (prolog-clause-info): Use forward-sexp.
7086 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7087 (prolog-electric-if-then-else): Remove commands.
7088 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7089 for use in post-self-insert-hook.
7090 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7091 for use in post-self-insert-hook.
7092 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7093 for use in post-self-insert-hook.
7094 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7095 adapt it for use in post-self-insert-hook.
7096
7097 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7098
7099 * emacs-lisp/ert.el (ert-run-tests-interactively):
7100 Use `completing-read'. (Bug#9756)
7101
7102 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7103
7104 * simple.el (line-move): Call line-move-1 instead of
7105 line-move-visual when the current window hscroll is zero, but
7106 temporary-goal-column indicates we will need to hscroll as result
7107 of the movement. (Bug#15712)
7108
7109 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7110
7111 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7112 capitalization. Use :visible instead of :active.
7113 Fix `ruby-indent-exp' reference. Add menu items for the generic
7114 commands that are used with SMIE.
7115 (ruby-do-end-to-brace): Insert space after `{'.
7116
7117 2013-10-25 John Anthony <john@jo.hnanthony.com>
7118
7119 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7120
7121 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7122
7123 2013-10-25 Glenn Morris <rgm@gnu.org>
7124
7125 * vc/vc.el (vc-print-log): Don't use a working revision unless
7126 one was explicitly specified. (Bug#15322)
7127
7128 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * subr.el (add-to-list): Preserve return value in compiler-macro
7131 (bug#15692).
7132
7133 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7134
7135 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7136 result. Ask user to retry using '-all' flag. (Bug#15701)
7137
7138 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * emacs-lisp/smie.el: New smie-config system.
7141 (smie-config): New defcustom.
7142 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7143 (smie-config-guess, smie-config-save): New commands.
7144 (smie-config--mode-local, smie-config--buffer-local)
7145 (smie-config--trace, smie-config--modefuns): New vars.
7146 (smie-config--advice, smie-config--mode-hook)
7147 (smie-config--setter, smie-config-local, smie-config--get-trace)
7148 (smie-config--guess-value, smie-config--guess): New functions.
7149 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7150 text properties. Treat "string fence" syntax like string syntax.
7151
7152 * progmodes/sh-script.el (sh-use-smie): Change default.
7153 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7154 (sh-var-value): Simplify by CSE.
7155 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7156 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7157 is used.
7158 (sh-guess-basic-offset): Use cl-incf.
7159 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7160
7161 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7162
7163 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7164 (bug#15699).
7165
7166 2013-10-24 Glenn Morris <rgm@gnu.org>
7167
7168 * Makefile.in (abs_top_srcdir): Remove.
7169 (update-subdirs): Use relative path to update-subdirs.
7170
7171 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7172
7173 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7174 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7175 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7176 Call unmsys--file-name before expand-file-name, not after it.
7177
7178 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7179
7180 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7181 (ert-test-skipped): New error.
7182 (ert-skip, ert-stats-skipped): New defuns.
7183 (ert--skip-unless): New macro.
7184 (ert-test-skipped): New struct.
7185 (ert--run-test-debugger, ert-test-result-type-p)
7186 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7187 (ert--stats-set-test-and-result, ert-char-for-test-result)
7188 (ert-string-for-test-result, ert-run-tests-batch)
7189 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7190 Handle skipped tests. (Bug#9803)
7191
7192 2013-10-24 Glenn Morris <rgm@gnu.org>
7193
7194 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7195
7196 * Makefile.in (abs_top_srcdir): New, set by configure.
7197 (update-subdirs): Correct build-aux location.
7198
7199 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7200
7201 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7202 value, whether we could auto-deduce `backend', or not.
7203
7204 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7205 with parameters" example. Simplify the "is it block or is it
7206 hash" check, but also make it more thorough.
7207
7208 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7209
7210 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7211
7212 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7215 { if it is hanging.
7216
7217 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7218 :before ";".
7219
7220 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7221
7222 * progmodes/compile.el (compilation-directory-matcher)
7223 (compilation-page-delimiter):
7224 Support GNU Make-4.0 directory quoting. (Bug#15678)
7225
7226 2013-10-23 Leo Liu <sdl.web@gmail.com>
7227
7228 * ido.el (ido-tidy): Handle read-only text.
7229
7230 2013-10-23 Glenn Morris <rgm@gnu.org>
7231
7232 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7233 (emacs, compile, compile-always):
7234 Quote entities that might contain whitespace.
7235 (custom-deps, finder-data, autoloads): Use abs_lisp.
7236 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7237 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7238 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7239
7240 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7241
7242 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7243 Use `following-char'.
7244
7245 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7248 * progmodes/ruby-mode.el (ruby-smie-rules):
7249 Remove corresponding workaround. Fix indentation rule of ";" so it
7250 also applies when ";" is the parent.
7251
7252 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7253
7254 * frame.el (display-screens, display-pixel-height)
7255 (display-pixel-width, display-mm-width, display-backing-store)
7256 (display-save-under, display-planes, display-color-cells)
7257 (display-visual-class, display-monitor-attributes-list):
7258 Mention the optional ‘display’ argument in doc strings.
7259
7260 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7261
7262 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7263 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7264
7265 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7266
7267 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7268 TODO. Add "." after " @ ".
7269 (ruby-smie--at-dot-call): New function. Checks if point at method
7270 call with explicit target.
7271 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7272 to the method name tokens when it precedes them.
7273 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7274 (ruby-smie-rules): Add rule for indentation before and after "."
7275 token.
7276
7277 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * textmodes/remember.el (remember-diary-extract-entries):
7280 Avoid add-to-list.
7281
7282 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7283 an instruction.
7284
7285 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7286
7287 * progmodes/ruby-mode.el (ruby-smie-grammar):
7288 Add (almost) all infix operators.
7289 (ruby-smie--implicit-semi-p): Add new operator chars.
7290
7291 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7292 `smie-down-list'.
7293 (ruby-smie--args-separator-p): Check that there's no newline
7294 between method call and its arguments.
7295
7296 2013-10-20 Alan Mackenzie <acm@muc.de>
7297
7298 Allow comma separated lists after Java "implements".
7299
7300 * progmodes/cc-engine.el (c-backward-over-enum-header):
7301 Parse commas.
7302 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7303 from a "disallowed" list in enum fontification.
7304
7305 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7306
7307 * startup.el (default-frame-background-mode): Remove unused defvar.
7308
7309 * progmodes/verilog-mode.el (verilog-mode): Don't set
7310 comment-indent-function globally.
7311
7312 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7313
7314 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7315 Move Info menu item creation to ns-win.el.
7316
7317 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7318 in menu bar.
7319
7320 * menu-bar.el: Move GNUstep specific menus...
7321
7322 * term/ns-win.el (ns-initialize-window-system): ... to here.
7323
7324 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * simple.el (newline): Only run post-self-insert-hook when
7327 called interactively.
7328
7329 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7330
7331 * icomplete.el (icomplete-with-completion-tables): Add :version.
7332
7333 2013-10-19 Alan Mackenzie <acm@muc.de>
7334
7335 Fix fontification bugs with constructors and const.
7336
7337 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7338 CASE 2) Remove the check for the absence of a suffix construct
7339 after a function declaration with only types (no identifiers) in
7340 the parentheses. Also, accept a function declaration with just a
7341 type inside the parentheses, if this type can be positively
7342 recognised as such, or if a prefix keyword like "explicit" nails
7343 down the construct as a declaration.
7344
7345 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7346
7347 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7348 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7349 the problem whereby selecting a menu item that leads to a
7350 minibuffer prompt moves the cursor out of the minibuffer window,
7351 making it hard to type at the prompt. Suggested by Stefan Monnier
7352 <monnier@iro.umontreal.ca>.
7353
7354 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7355
7356 * menu-bar.el: Don't make Services menu.
7357
7358 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7359
7360 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7361 (ffap-alist): Use ffap-c++-mode for c++-mode.
7362 (ffap-c++-path): New variable.
7363 (ffap-c++-mode): New function.
7364
7365 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7366
7367 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7368
7369 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7370
7371 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7372 introduced on 2013-09-08, which results in an infinite loop
7373 requesting a password.
7374
7375 2013-10-18 Glenn Morris <rgm@gnu.org>
7376
7377 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7378
7379 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7380
7381 Sync with upstream verilog-mode revision 1a6ecec7.
7382 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7383 (verilog-mode-release-date): Remove.
7384 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7385 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7386 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7387 (verilog-auto-tieoff-ignore-regexp)
7388 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7389 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7390 (verilog-signals-with, verilog-dir-cache-preserving)
7391 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7392 Doc fixes.
7393 (verilog-case-fold): New option, to control case folding in
7394 regexp searches, bug597.
7395 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7396 (verilog-string-match-fold, verilog-in-paren-count)
7397 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7398 (verilog-at-close-struct-p): New functions.
7399 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7400 (verilog-forward-sexp, verilog-set-auto-endcomments)
7401 (verilog-leap-to-case-head): Handle "unique0" case.
7402 (verilog-in-constraint-re): New constant.
7403 (verilog-keywords, verilog-type-font-keywords):
7404 Add some SystemVerilog 1800-2012 keywords.
7405 (verilog-label-be): Remove unimplemented argument, bug669.
7406 (verilog-batch-execute-func): When batch expanding clear
7407 create-lockfiles to prevent spurious user locks when a file ends
7408 up not changing.
7409 (verilog-calculate-indent, verilog-calc-1)
7410 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7411 (verilog-do-indent): Fix indentation of nested constraints
7412 and structures.
7413 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7414 (verilog-auto-inst-param): Use verilog-string-match-fold.
7415 (verilog-read-inst-module-matcher):
7416 Fix AUTOINST on gate primitives with #1.
7417 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7418 Reads all user-defined typed variables.
7419 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7420 (verilog-signals-matching-regexp)
7421 (verilog-signals-not-matching-regexp, verilog-auto):
7422 Respect verilog-case-fold.
7423 (verilog-diff-report): Fix line count.
7424 (verilog-auto-assign-modport): Remove unused local `modi'.
7425 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7426 better handle multidimensional arrays.
7427 Fix packed array ports misadding bit index in AUTOINST, bug637.
7428 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7429 to not double-declare existing outputs and inputs, respectively.
7430 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7431 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7432 (verilog-sk-uvm-component): New skeleton.
7433 (verilog-submit-bug-report): Add verilog-case-fold,
7434 remove verilog-mode-release-date.
7435
7436 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7437
7438 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7439 as before.
7440
7441 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7442
7443 * textmodes/remember.el (remember): Set buffer-offer-save in
7444 remember buffers (bug#13566).
7445
7446 2013-10-18 Daniel Colascione <dancol@dancol.org>
7447
7448 When evaluating forms in ielm, direct standard output to ielm
7449 buffer. Add new ielm-return-for-effect command. Remove trailing
7450 whitespace throughout.
7451
7452 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7453 (ielm-return-for-effect): New command.
7454 (ielm-send-input): Accept optional `for-effect' parameter.
7455 (ielm-eval-input): Accept optional `for-effect' parameter.
7456 Bind `standard-output' to stream we create using
7457 `ielm-standard-output-impl'. Suppress printing result when
7458 `for-effect'.
7459 (ielm-standard-output-impl): New function.
7460 (inferior-emacs-lisp-mode): Explain new features in documentation.
7461
7462 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7463
7464 Code cleanup.
7465
7466 * net/tramp.el (tramp-debug-message): Do not check for connection
7467 buffer.
7468 (tramp-message): Use "vector" connection property.
7469
7470 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7471 (tramp-equal-remote, tramp-eshell-directory-change)
7472 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7473 (tramp-adb-handle-rename-file)
7474 * net/tramp-cmds.el (tramp-list-remote-buffers)
7475 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7476 * net/tramp-compat.el (tramp-compat-process-running-p)
7477 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7478 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7479 (tramp-gvfs-handle-rename-file)
7480 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7481 (tramp-set-file-uid-gid)
7482 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7483 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7484 of `file-remote-p'.
7485
7486 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7487 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7488 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7489 (tramp-gw-open-network-stream): Suppress unrelated traces.
7490
7491 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7492 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7493 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7494 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7495 connection property.
7496
7497 * net/tramp-cache.el (top): Suppress traces when reading
7498 persistency file.
7499
7500 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7501 Refactor common code. Improve debug message.
7502 (tramp-maybe-open-connection)
7503 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7504 connection buffer too early.
7505
7506 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7507 from `tramp-smb-actions-with-acl'.
7508 (tramp-smb-actions-set-acl): New defconst.
7509 (tramp-smb-handle-copy-directory)
7510 (tramp-smb-action-get-acl): New defun, renamed from
7511 `tramp-smb-action-with-acl'.
7512 (tramp-smb-action-set-acl): New defun.
7513 (tramp-smb-handle-set-file-acl): Rewrite.
7514
7515 2013-10-17 Glenn Morris <rgm@gnu.org>
7516
7517 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7518
7519 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * skeleton.el (skeleton-newline): Remove.
7522 (skeleton-internal-1): Use (insert "\n") instead.
7523
7524 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7525 let-bindings.
7526
7527 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7528 forward-sexp-function while we redo its job (bug#15613).
7529
7530 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7531
7532 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7533 represented by lists.
7534
7535 2013-10-16 Glenn Morris <rgm@gnu.org>
7536
7537 * tmm.el (tmm--history): New dynamic variable.
7538 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7539
7540 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7543 (tramp-smb-errors): Add error messages.
7544 (tramp-smb-actions-with-acl): New defconst.
7545 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7546 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7547 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7548 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7549 (tramp-smb-get-stat-capability): Fix tests.
7550
7551 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7552
7553 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7554 (bug#15580).
7555
7556 2013-10-16 Glenn Morris <rgm@gnu.org>
7557
7558 * ansi-color.el (ansi-color-drop-regexp):
7559 Add 1J, 1K, 2K. (Bug#15617)
7560
7561 * files.el (hack-local-variables--warned-lexical): New.
7562 (hack-local-variables):
7563 Warn about misplaced lexical-binding. (Bug#15616)
7564
7565 * net/eww.el (eww-render): Always set eww-current-url,
7566 and update header line. (Bug#15622)
7567 (eww-display-html): ... Rather than just doing it here.
7568
7569 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7570
7571 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7572 menu navigations commands.
7573
7574 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7575
7576 * progmodes/subword.el (subword-capitalize): Be careful when
7577 the search for [[:alpha:]] fails (bug#15580).
7578
7579 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7580
7581 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7582 to commands that scroll the menu.
7583
7584 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7585
7586 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7587 Handle methods ending with `?' and `!'.
7588
7589 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7590
7591 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7592 `japanese-cp932' to `cp932' to fix the problem where saving a
7593 source file written in Shift_JIS twice would end up having
7594 `coding: japanese-cp932' which Ruby could not recognize.
7595 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7596 in `ruby-encoding-map'.
7597 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7598 doesn't need to be explicitly declared in magic comment.
7599 (ruby-encoding-map): Add type declaration for better customize UI.
7600
7601 2013-10-13 Glenn Morris <rgm@gnu.org>
7602
7603 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7604 Occur buffers are read-only. http://bugs.debian.org/720775
7605
7606 * emacs-lisp/authors.el (authors-fixed-entries):
7607 Comment out old alpha stuff.
7608
7609 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7610
7611 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7612 to `after-save-hook' instead of `before-save-hook'.
7613 (ruby-mode-set-encoding): Use the value of coding system used to
7614 write the file. Call `basic-save-buffer-1' after modifying the
7615 buffer.
7616
7617 2013-10-13 Alan Mackenzie <acm@muc.de>
7618
7619 Fix indentation/fontification of Java enum with
7620 "implements"/generic.
7621
7622 * progmodes/cc-engine.el (c-backward-over-enum-header):
7623 Extracted from the three other places and enhanced to handle generics.
7624 (c-inside-bracelist-p): Uses new function above.
7625 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7626 function above.
7627 (c-font-lock-enum-tail): Uses new function above.
7628
7629 2013-10-13 Kenichi Handa <handa@gnu.org>
7630
7631 * international/mule-cmds.el (select-safe-coding-system): Remove a
7632 superfluous condition in chekcing whether a coding system is safe
7633 or not.
7634
7635 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7636
7637 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7638
7639 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7640
7641 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7642
7643 2013-10-13 Glenn Morris <rgm@gnu.org>
7644
7645 * menu-bar.el (menu-bar-update-buffers):
7646 Unify Buffers menu prompt string. (Bug#15576)
7647
7648 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7649
7650 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7651 Add some entries.
7652 (authors-fixed-entries): Use accented form of name.
7653
7654 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7657 method calls (bug#15594).
7658 (ruby-smie--args-separator-p): New function.
7659 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7660 recognize paren-free method calls.
7661
7662 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7663 internals of universal-argument.
7664
7665 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7666
7667 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7668 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7669 dropped menu on second mouse click on the menu bar.
7670
7671 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7674 (explicit-shell-file-name): Declare.
7675 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7676 (sh-completion-at-point-function): New function.
7677 (sh-mode): Use it.
7678 (sh-smie--keyword-p): Remove unused argument.
7679 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7680 vars.
7681 (sh-set-shell): Always setup SMIE, even if we use the
7682 old indentation code.
7683
7684 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7685
7686 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7687 cases of ? and =.
7688 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7689 predicate would return nil are almost non-existent.
7690 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7691
7692 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7693 cache also after commands that modify the buffer but don't move
7694 point.
7695
7696 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * env.el (substitute-env-in-file-name): New function.
7699 (substitute-env-vars): Extend the meaning of the optional arg.
7700
7701 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7702
7703 * term/w32-win.el (dynamic-library-alist): Define separate lists
7704 of GIF DLLs for versions before and after 5.0.0 of giflib.
7705 (Bug#15531)
7706
7707 2013-10-10 João Távora <joaotavora@gmail.com>
7708
7709 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7710 not locked, use last revision and current source as
7711 defaults. (Bug#15569)
7712
7713 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7714
7715 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7716 menu-bar is hidden.
7717
7718 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7719
7720 * window.el (pop-to-buffer-same-window): Fix doc-string.
7721 (Bug#15492)
7722
7723 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7726
7727 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7728
7729 * calendar/icalendar.el (icalendar-import-file):
7730 Fix interactive spec. (Bug#15482)
7731
7732 2013-10-10 Glenn Morris <rgm@gnu.org>
7733
7734 * desktop.el (desktop-save): Default to saving in .emacs.d,
7735 since PWD is no longer in desktop-path by default. (Bug#15319)
7736
7737 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7738 now that text mode has a menu with the same entry.
7739 (menu-bar-text-mode-auto-fill): Remove now unused func.
7740 * textmodes/text-mode.el (text-mode-map):
7741 Use auto-fill help text from menu-bar.el.
7742
7743 2013-10-10 John Anthony <john@jo.hnanthony.com>
7744
7745 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7746
7747 2013-10-09 Juri Linkov <juri@jurta.org>
7748
7749 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7750 instead of this-command-keys. Add universal-argument-more and
7751 universal-argument-minus to the list of prefix commands. (Bug#15568)
7752
7753 2013-10-09 Glenn Morris <rgm@gnu.org>
7754
7755 * vc/vc-svn.el (vc-svn-create-repo):
7756 Expand paths in file://... url. (Bug#15446)
7757
7758 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7759 Add some entries.
7760 (authors): Remove unused local variables.
7761
7762 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * profiler.el: Create a more coherent calltree from partial backtraces.
7765 (profiler-format): Hide the tail with `invisible' so that C-s can still
7766 find the hidden elements.
7767 (profiler-calltree-depth): Don't recurse so enthusiastically.
7768 (profiler-function-equal): New hash-table-test.
7769 (profiler-calltree-build-unified): New function.
7770 (profiler-calltree-build): Use it.
7771 (profiler-report-make-name-part): Indent the calltree less.
7772 (profiler-report-mode): Add visibility specs for profiler-format.
7773 (profiler-report-expand-entry, profiler-report-toggle-entry):
7774 Expand the whole subtree when provided with a prefix arg.
7775
7776 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7777
7778 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7779 iuwu-mod token.
7780 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7781 hanging iuwu-mod token.
7782 (ruby-smie--forward-token): Do not include a dot after a token in
7783 that token.
7784 (ruby-smie--backward-token): Likewise.
7785
7786 2013-10-08 Juri Linkov <juri@jurta.org>
7787
7788 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7789 to isearch-other-control-char.
7790 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7791 and isearch-post-command-hook to post-command-hook.
7792 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7793 and isearch-post-command-hook from post-command-hook.
7794 (isearch-unread-key-sequence)
7795 (isearch-reread-key-sequence-naturally)
7796 (isearch-lookup-scroll-key, isearch-other-control-char)
7797 (isearch-other-meta-char): Remove functions.
7798 (isearch-pre-command-hook, isearch-post-command-hook):
7799 New functions based on isearch-other-meta-char rewritten
7800 relying on the new behavior of overriding-terminal-local-map
7801 that does not replace the local keymaps any more. (Bug#15200)
7802
7803 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7804
7805 Support menus on text-mode terminals.
7806 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7807 functionality.
7808
7809 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7810
7811 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7812 Move here from mouse.el.
7813 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7814 and arrow keys.
7815 (tty-menu-navigation-map): New map for TTY menu navigation.
7816
7817 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7818
7819 * frame.el (display-mouse-p): Report text-mode mouse as available
7820 on w32.
7821 (display-popup-menus-p): Report availability if mouse is
7822 available; don't condition on window-system.
7823
7824 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7825 (tty-menu-selected-face): New faces.
7826
7827 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7830 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7831 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7832 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7833 New constants.
7834 (lisp-mode-variables): New `elisp' argument.
7835 (emacs-lisp-mode): Use it.
7836 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7837 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7838
7839 * indent.el: Use lexical-binding.
7840 (indent-region): Add progress reporter.
7841 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7842 last step.
7843 (indent--next-tab-stop): New function to implement this behavior.
7844 (tab-to-tab-stop, move-to-tab-stop): Use it.
7845
7846 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7847
7848 * indent.el (indent-rigidly--current-indentation): New function.
7849 (indent-rigidly-map): New var.
7850 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7851
7852 2013-10-08 Bastien Guerry <bzg@gnu.org>
7853
7854 * register.el (insert-register): Fix 2013-10-07 change.
7855
7856 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * progmodes/perl-mode.el: Use lexical-binding.
7859 Remove redundant :group args.
7860 (perl-nochange): Change default to be closer to other major modes's
7861 standard behavior.
7862 (perl-indent-line): Don't consider text on current line as a
7863 valid beginning of function from which to indent.
7864
7865 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7866 with more than one argument (bug#15538).
7867
7868 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7869
7870 * vc/pcvs.el: Use lexical-binding.
7871 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7872 environment of `eval'.
7873 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7874 than a list of expressions. Adjust callers.
7875 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7876
7877 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7878
7879 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7880 case of the dot in a chained method call being on the following line.
7881
7882 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * electric.el (electric-indent-inhibit): New var.
7885 (electric-indent-post-self-insert-function): Use it.
7886 * progmodes/python.el (python-mode): Set it.
7887
7888 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7889 open braces.
7890
7891 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7892
7893 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7894 (css-mode): Use electric-indent-chars.
7895
7896 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7897 (font-lock-beg, font-lock-end): Move before first use.
7898 (nxml-mode): Use syntax-propertize-function.
7899 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7900 (nxml-extend-after-change-region): Remove.
7901 * nxml/xmltok.el: Use lexical-binding.
7902 (xmltok-save): Use `declare'.
7903 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7904 * nxml/nxml-util.el: Use lexical-binding.
7905 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7906 Use `declare'.
7907 * nxml/nxml-ns.el: Use lexical-binding.
7908 (nxml-ns-save): Use `declare'.
7909 (nxml-ns-prefixes-for): Avoid add-to-list.
7910 * nxml/rng-match.el: Use lexical-binding.
7911 (rng--ipattern): Use cl-defstruct.
7912 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7913 (rng-cons-group-after, rng-subst-group-after)
7914 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7915 Use closures instead of `(lambda...).
7916
7917 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7918
7919 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7920 of BEG and END.
7921
7922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7923 Use `tramp-handle-insert-file-contents'.
7924 (tramp-gvfs-handle-insert-file-contents): Remove function.
7925
7926 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7927 Use `save-restriction' in order to keep markers.
7928
7929 * net/trampver.el: Update release number.
7930
7931 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * progmodes/compile.el (compilation-parse-errors):
7934 Use compilation--put-prop.
7935 (compilation--ensure-parse): Check compilation-multiline.
7936
7937 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7938
7939 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7940 lexical-binding.
7941
7942 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7943
7944 * progmodes/ruby-mode.el: Fix recently added tests.
7945 (ruby-smie-grammar): Add - and +.
7946 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7947 (ruby-smie--backward-id): New functions.
7948 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7949 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7950 any more.
7951
7952 2013-10-07 Leo Liu <sdl.web@gmail.com>
7953
7954 * register.el (register-preview-delay)
7955 (register-preview-functions): New variables.
7956 (register-read-with-preview, register-preview)
7957 (register-describe-oneline): New functions.
7958 (point-to-register, window-configuration-to-register)
7959 (frame-configuration-to-register, jump-to-register)
7960 (number-to-register, view-register, insert-register)
7961 (copy-to-register, append-to-register, prepend-to-register)
7962 (copy-rectangle-to-register): Use register-read-with-preview to
7963 read register. (Bug#15525)
7964
7965 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7966
7967 * net/network-stream.el (network-stream-open-starttls): Don't add
7968 --insecure if it's already present, because that gnutls-cli
7969 rejects getting that parameter twice.
7970
7971 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7972
7973 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7974 keyword, too.
7975
7976 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7977
7978 * newcomment.el (comment-use-global-state): Change default value
7979 to t, mark obsolete (Bug#15251).
7980 (comment-beginning): In addition to `comment-to-syntax', check the
7981 value of `comment-use-global-state'.
7982
7983 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7984
7985 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7986 (ruby-comment-column): Follow the global default, by default.
7987 (ruby-smie-grammar): Add assignment syntax.
7988 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7989 open-paren, a comma, or a \.
7990 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7991 and line continuations.
7992 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7993 followed by implicit semi-colons. Add rule for string concatenation
7994 and for indentation at BOB.
7995 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7996
7997 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7998 calling next-sexp, since next-token may have skipped chars which
7999 next-sexp doesn't know should be skipped!
8000
8001 2013-10-05 Leo Liu <sdl.web@gmail.com>
8002
8003 * progmodes/octave.el (octave-send-region):
8004 Call compilation-forget-errors.
8005
8006 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8007
8008 * vc/vc-svn.el (vc-svn-find-admin-dir):
8009 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8010 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8011 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8012 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8013
8014 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8017
8018 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * subr.el (read-passwd): Hide chars even when called within a context
8021 where after-change-functions is disabled (bug#15501).
8022 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8023 until we removed ourself from overriding-terminal-local-map.
8024
8025 2013-10-04 Leo Liu <sdl.web@gmail.com>
8026
8027 * progmodes/octave.el (inferior-octave-mode):
8028 Call compilation-forget-errors.
8029
8030 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8031
8032 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8033
8034 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8035
8036 * net/secrets.el (secrets-create-collection): Add optional
8037 argument ALIAS. Use proper Label keyword. Append ALIAS as
8038 dbus-call-method argument. (Bug#15516)
8039
8040 2013-10-04 Leo Liu <sdl.web@gmail.com>
8041
8042 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8043 (inferior-octave-compilation-font-lock-keywords): New variables.
8044 (compilation-error-regexp-alist)
8045 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8046 (inferior-octave-mode): Use compilation-shell-minor-mode.
8047
8048 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8049
8050 * minibuffer.el (completion--replace): Be careful that `end' might be
8051 a marker.
8052
8053 2013-10-03 Daiki Ueno <ueno@gnu.org>
8054
8055 Add support for package signature checking.
8056 * emacs-lisp/package.el (url-http-file-exists-p)
8057 (epg-make-context, epg-context-set-home-directory)
8058 (epg-verify-string, epg-context-result-for)
8059 (epg-signature-status, epg-signature-to-string)
8060 (epg-check-configuration, epg-configuration)
8061 (epg-import-keys-from-file): Declare.
8062 (package-check-signature): New user option.
8063 (package-unsigned-archives): New user option.
8064 (package-desc): Add `signed' field.
8065 (package-load-descriptor): Set `signed' field if .signed file exists.
8066 (package--archive-file-exists-p): New function.
8067 (package--check-signature): New function.
8068 (package-install-from-archive): Check package signature.
8069 (package--download-one-archive): Check archive signature.
8070 (package-delete): Remove .signed file.
8071 (package-import-keyring): New command.
8072 (package-refresh-contents): Import default keyring.
8073 (package-desc-status): Add "unsigned" status.
8074 (describe-package-1, package-menu--print-info)
8075 (package-menu-mark-delete, package-menu--find-upgrades)
8076 (package-menu--status-predicate): Support "unsigned" status.
8077
8078 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8081 the new compilation scheme using the new byte-codes.
8082
8083 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8084 (byte-pophandler): New byte codes.
8085 (byte-goto-ops): Adjust accordingly.
8086 (byte-compile--use-old-handlers): New var.
8087 (byte-compile-catch): Use new byte codes depending on
8088 byte-compile--use-old-handlers.
8089 (byte-compile-condition-case--old): Rename from
8090 byte-compile-condition-case.
8091 (byte-compile-condition-case--new): New function.
8092 (byte-compile-condition-case): New function that dispatches depending
8093 on byte-compile--use-old-handlers.
8094 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8095 when we can.
8096
8097 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8098 Optimize under `condition-case' and `catch' if
8099 byte-compile--use-old-handlers is nil.
8100 (disassemble-offset): Handle new bytecodes.
8101
8102 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * subr.el (error): Use `declare'.
8105 (decode-char, encode-char): Use advertised-calling-convention instead
8106 of the docstring to discourage use of the `restriction' arg.
8107
8108 2013-10-03 Daiki Ueno <ueno@gnu.org>
8109
8110 * epg.el (epg-verify-file): Add a comment saying that it does not
8111 notify verification error as a return value nor a signal.
8112 (epg-verify-string): Ditto.
8113
8114 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8115
8116 * progmodes/compile.el (compilation-start): Try globbing the arg to
8117 `cd' (bug#15417).
8118
8119 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8120
8121 Sync with Tramp 2.2.8.
8122
8123 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8124 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8125 * net/trampver.el: Update release number.
8126
8127 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8128
8129 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8130 and default-process-coding-system for darwin only.
8131
8132 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8135
8136 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8137
8138 * vc/vc-git.el (vc-git-grep): Disable pager.
8139
8140 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8141
8142 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8143 Use :url instead of :homepage, as per
8144 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8145
8146 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8147 non-nil, use `syntax-ppss' (Bug#15251).
8148
8149 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8150
8151 * progmodes/octave.el (inferior-octave-startup-file):
8152 Prefer ~/.emacs.d/init_octave.m.
8153
8154 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8155
8156 * emacs-lisp/package.el (package-desc-from-define):
8157 Accept additional arguments as plist, convert them to an alist and store
8158 them in the `extras' slot.
8159 (package-generate-description-file): Convert extras alist back to
8160 plist and append to the `define-package' form arguments.
8161 (package--alist-to-plist): New function.
8162 (package--ac-desc): Add `extras' slot.
8163 (package--add-to-archive-contents): Check if the archive-contents
8164 vector is long enough, and if it is, pass its `extras' slot value
8165 to `package-desc-create'.
8166 (package-buffer-info): Call `lm-homepage', pass the returned value
8167 to `package-desc-from-define'.
8168 (describe-package-1): Render the homepage button (Bug#13291).
8169
8170 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8171 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8172
8173 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8174
8175 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8176 and default-process-coding-system to utf-8-unix (Bug#15402).
8177
8178 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8179
8180 * subr.el (looking-back): Do not recommend using looking-back.
8181
8182 2013-09-28 Alan Mackenzie <acm@muc.de>
8183
8184 Fix indentation/fontification of Java enum with "implements".
8185
8186 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8187 regexp which matches "implements", etc., in Java.
8188 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8189 specifier clauses coming after "enum".
8190 * progmodes/cc-fonts.el (c-font-lock-declarations)
8191 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8192 after "enum".
8193
8194 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8195
8196 * faces.el (region): Change ns_selection_color to
8197 ns_selection_fg_color, add ns_selection_bg_color.
8198
8199 2013-09-28 Leo Liu <sdl.web@gmail.com>
8200
8201 * progmodes/octave.el (inferior-octave-completion-table)
8202 (inferior-octave-completion-at-point): Minor tweaks.
8203
8204 * textmodes/ispell.el (ispell-lookup-words): Rename from
8205 lookup-words. (Bug#15460)
8206 (lookup-words): Obsolete.
8207 (ispell-complete-word, ispell-command-loop): All uses changed.
8208
8209 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8210
8211 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8212 (octave-mode-menu): Add octave-send-buffer.
8213 (octave-send-buffer): New function.
8214
8215 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8216
8217 * progmodes/octave.el (octave-mode-map): Add key binding for
8218 octave-lookfor.
8219 (octave-mode-menu): Add octave-lookfor.
8220 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8221 octave-lookfor.
8222 (octave-lookfor): New function.
8223
8224 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8227 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8228 its convention.
8229 (cl--loop-set-iterator-function): New function.
8230 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8231 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8232 Bind `it' with `let' instead of substituting it with `cl-subst'.
8233 (cl--unused-var-p): New function.
8234 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8235 Eliminate some unused variable warnings (bug#15326).
8236
8237 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8238
8239 * doc-view.el (doc-view-scale-reset): Rename from
8240 `doc-view-reset-zoom-level'.
8241 (doc-view-scale-adjust): New command.
8242 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8243 `doc-view-scale-adjust'.
8244
8245 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8246
8247 * doc-view.el (doc-view-reset-zoom-level): New command.
8248 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8249 zoom commands (bug#15466).
8250
8251 2013-09-26 Kenichi Handa <handa@gnu.org>
8252
8253 * international/quail.el (quail-help): Make it not a command.
8254
8255 2013-09-26 Leo Liu <sdl.web@gmail.com>
8256
8257 * minibuffer.el (completion-all-sorted-completions): Make args
8258 optional as they are.
8259
8260 2013-09-25 Daniel Colascione <dancol@dancol.org>
8261
8262 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8263 specs are and that they're not evaluated.
8264
8265 2013-09-24 Sam Steingold <sds@gnu.org>
8266
8267 * midnight.el (clean-buffer-list-kill-regexps)
8268 (clean-buffer-list-kill-buffer-names): Update for the new Man
8269 buffer naming which includes the object name.
8270
8271 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8274 (eshell-parse-command, eshell-parse-pipeline): Use it since
8275 eshell-separate-commands requires a dynamic scoped var.
8276 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8277
8278 2013-09-23 Leo Liu <sdl.web@gmail.com>
8279
8280 * autoinsert.el (auto-insert-alist): Make the value of
8281 lexical-binding match its file setting.
8282
8283 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8284
8285 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8286
8287 * autoarg.el (autoarg-kp-digit-argument):
8288 * electric.el (Electric-command-loop):
8289 * kmacro.el (kmacro-step-edit-insert):
8290 Do not set universal-argument-num-events.
8291
8292 2013-09-22 Leo Liu <sdl.web@gmail.com>
8293
8294 * files.el (interpreter-mode-alist): Add octave.
8295
8296 2013-09-21 Alan Mackenzie <acm@muc.de>
8297
8298 C++: fontify identifier in declaration following "public:" correctly.
8299 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8300 to match "public", etc.
8301 (c-decl-prefix-re): Add ":" into the C++ value.
8302 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8303 bit. Add a check for a ":" preceded by "public", etc.
8304
8305 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8306
8307 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8308 recognized by GDB 7.5 and later.
8309
8310 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8311
8312 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8313
8314 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * subr.el (internal--call-interactively): New const.
8317 (called-interactively-p): Use it (bug#3984).
8318
8319 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8320
8321 * vc/pcvs.el (cvs-mode-ignore):
8322 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8323 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8324
8325 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8328 (eshell-ls-orig-insert-directory): Remove.
8329 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8330 (eshell-ls-use-in-dired): Use advice-add/remove.
8331 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8332 Add `orig-fun' arg for use in :around advice.
8333 Make it check (redundantly) eshell-ls-use-in-dired.
8334
8335 2013-09-19 Glenn Morris <rgm@gnu.org>
8336
8337 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8338
8339 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8340
8341 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8342
8343 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8344
8345 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8346 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8347 (tramp-get-remote-python): New defuns.
8348 (tramp-get-remote-uid-with-perl)
8349 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8350 contributed by yary <not.com@gmail.com> (tiny change).
8351 (tramp-get-remote-uid-with-python)
8352 (tramp-get-remote-gid-with-python): New defuns. Python code
8353 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8354 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8355
8356 2013-09-19 Glenn Morris <rgm@gnu.org>
8357
8358 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8359
8360 * eshell/em-unix.el (eshell-remove-entries):
8361 Rename argument to avoid name-clash with global `top-level'.
8362
8363 * eshell/esh-proc.el (eshell-kill-process-function):
8364 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8365 (eshell-reset-after-proc): Remove unused arg `proc'.
8366
8367 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8368 (directory-files-and-attributes): Mark unused arg.
8369
8370 * eshell/em-unix.el (eshell-remove-entries):
8371 Remove unused arg `path'. Update callers.
8372
8373 * eshell/em-hist.el (eshell-hist-parse-arguments):
8374 Remove unused arg `silent'. Update callers.
8375
8376 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8377 Fix (f)boundp mix-up.
8378
8379 * eshell/em-smart.el (eshell-smart-scroll-window)
8380 (eshell-disable-after-change):
8381 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8382
8383 2013-09-18 Alan Mackenzie <acm@muc.de>
8384
8385 Fix fontification of type when followed by "const".
8386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8387 "known" types from fontification.
8388
8389 2013-09-18 Glenn Morris <rgm@gnu.org>
8390
8391 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8392 (chart-face-list): Drop Emacsen without display-color-p.
8393
8394 * net/eww.el (libxml-parse-html-region): Declare.
8395 (eww-display-html): Explicit error if no libxml2 support.
8396
8397 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8398
8399 * image.el (image-type-from-buffer, image-multi-frame-p):
8400 Remove --without-x warning/error.
8401
8402 * mouse.el (mouse-yank-primary):
8403 * term.el (term-mouse-paste):
8404 Reorder to silence --without-x compilation.
8405
8406 * mpc.el (doc-view-mode): Silence --without-x compilation.
8407
8408 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8409 Silence --without-x compilation.
8410
8411 * progmodes/gud.el (gud-find-file, gud-mode):
8412 Silence --without-x compilation.
8413 (tooltip-mode): Declare.
8414
8415 * wdired.el (dired-backup-overwrite): Remove declaration.
8416 (wdired-mode-map): Add doc string.
8417
8418 * custom.el (x-get-resource): Declare.
8419
8420 * eshell/em-glob.el (ange-cache):
8421 * eshell/em-unix.el (ange-cache): Declare.
8422
8423 * faces.el (x-display-list, x-open-connection, x-get-resource):
8424 Declare.
8425
8426 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8427 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8428 Declare.
8429
8430 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8431
8432 * net/gnutls.el (gnutls-log-level): Declare.
8433
8434 * net/shr.el (image-size, image-animate): Declare.
8435
8436 * simple.el (font-info): Declare.
8437
8438 * subr.el (x-popup-dialog): Declare.
8439
8440 * term/common-win.el (x-select-enable-primary)
8441 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8442 Declare.
8443
8444 * term/ns-win.el (x-handle-args): Declare.
8445
8446 * term/x-win.el (x-select-enable-clipboard): Declare.
8447
8448 * term/w32-win.el (create-default-fontset): Declare.
8449
8450 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8451 Declare.
8452
8453 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8454 (fit-frame-to-buffer): Explicit error if --without-x.
8455 (mouse-autoselect-window-select): Silence compiler.
8456
8457 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8458
8459 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8460 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8461 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8462 * eshell/esh-util.el (eshell-sublist):
8463 Remove unused local variables.
8464
8465 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8466
8467 * textmodes/two-column.el: Make 2C-split work for --without-x.
8468 (scroll-bar-columns): Autoload.
8469 (top-level): Require fringe when compiling.
8470
8471 2013-09-18 Leo Liu <sdl.web@gmail.com>
8472
8473 * subr.el (add-hook): Robustify to handle closure as well.
8474
8475 2013-09-17 Glenn Morris <rgm@gnu.org>
8476
8477 * simple.el (messages-buffer-mode-map): Unbind "g".
8478
8479 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8480
8481 * help-mode.el (help-mode-finish): Use derived-mode-p.
8482 Remove obsolete highlighting.
8483
8484 * play/life.el (life-mode): Use define-derived-mode. Derive from
8485 special-mode.
8486 (life): Let-bind inhibit-read-only.
8487 (life-setup): Avoid `setq'. Use `life-mode'.
8488
8489 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8490 which should not be needed any more.
8491 (package-menu-refresh, package-menu-describe-package): Use user-error.
8492
8493 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8494 (eshell-post-rewrite-command-hook): Make obsolete.
8495 (eshell-parse-command): Simplify.
8496 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8497 (eshell--cmd): Declare.
8498 (eshell-parse-pipeline): Remove unused var `final-p'.
8499 Pass a dynvar to eshell-post-rewrite-command-hook.
8500 Implement the new eshell-post-rewrite-command-function.
8501 (eshell-invoke-directly): Remove unused arg `input'.
8502 * eshell/esh-io.el (eshell-io-initialize):
8503 Use eshell-post-rewrite-command-function (bug#15399).
8504 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8505 adjust to new calling convention.
8506 (eshell-create-handles): Rename args to avoid clashing with dynvar
8507 `standard-output'.
8508
8509 2013-09-17 Glenn Morris <rgm@gnu.org>
8510
8511 * simple.el (messages-buffer-mode): New major mode.
8512 (messages-buffer): New function.
8513 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8514 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8515 (ert-run-test): Use `messages-buffer' function.
8516 (ert--force-message-log-buffer-truncation): Ignore read-only.
8517 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8518 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8519
8520 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8523
8524 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8525
8526 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * icomplete.el (icomplete-in-buffer): New var.
8529 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8530 vars and replace them with functions.
8531 (icomplete-minibuffer-setup): Adjust accordingly.
8532 (icomplete--completion-table, icomplete--completion-predicate)
8533 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8534 New functions.
8535 (icomplete-forward-completions, icomplete-backward-completions)
8536 (icomplete-simple-completing-p, icomplete-exhibit)
8537 (icomplete-completions): Use them.
8538 (icomplete--in-region-buffer): New var.
8539 (icomplete--in-region-setup): New function.
8540 (icomplete-mode): Use it.
8541
8542 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8543 (bug#15379).
8544 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8545 return args and options.
8546 (eshell-eval-using-options): Use the new return value of
8547 eshell--do-opts to set the options's vars in their scope.
8548 (eshell--set-option): Rename from eshell-set-option.
8549 Add arg `opt-vals'.
8550 (eshell--process-option): Rename from eshell-process-option.
8551 Add arg `opt-vals'.
8552 (eshell--process-args): Use an `opt-vals' alist to store the options's
8553 values during their processing and return them additionally to the
8554 remaining args.
8555
8556 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8557
8558 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8559 continuation character an operator, as far as indentation is
8560 concerned (Bug#15369).
8561
8562 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8563
8564 * window.el (window--state-put-2): Don't process buffer state
8565 when buffer doesn't exist any more (Bug#15382).
8566
8567 2013-09-15 Glenn Morris <rgm@gnu.org>
8568
8569 * eshell/em-unix.el (eshell/rm):
8570 Make -f ignore missing files. (Bug#15373)
8571
8572 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8573 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8574 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8575
8576 2013-09-14 Glenn Morris <rgm@gnu.org>
8577
8578 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8579
8580 2013-09-13 Glenn Morris <rgm@gnu.org>
8581
8582 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8583 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8584
8585 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8586
8587 * frame.el (x-focus-frame): Mark as declared in frame.c.
8588
8589 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * ls-lisp.el: Use advice-add.
8592 (original-insert-directory): Remove.
8593 (ls-lisp--insert-directory): Rename from insert-directory; add
8594 `orig-fun' argument.
8595 (insert-directory): Advise.
8596
8597 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8598
8599 * term.el (term-emulate-terminal): Decode the command string
8600 before passing it to term-command-hook. (Bug#15337)
8601
8602 2013-09-13 Glenn Morris <rgm@gnu.org>
8603
8604 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8605
8606 * eshell/esh-ext.el (eshell-search-path): Declare.
8607
8608 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8609 Otherwise an error occurs if eshell-dirs module not loaded.
8610
8611 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8612
8613 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8616 `tramp-check-proper-host'. Check for a valid method name.
8617
8618 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8619 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8620 * net/tramp-sh.el (tramp-maybe-open-connection):
8621 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8622
8623 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8624 also for hash values.
8625
8626 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * term/ns-win.el (parameters): Don't declare as dynamic.
8629 (before-make-frame-hook): Don't add ineffective function.
8630
8631 * eshell/*.el: Use lexical-binding (bug#15231).
8632
8633 2013-09-12 Kenichi Handa <handa@gnu.org>
8634
8635 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8636
8637 2013-09-12 Glenn Morris <rgm@gnu.org>
8638
8639 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8640 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8641
8642 * subr.el (do-after-load-evaluation): Also give compiler warnings
8643 when obsolete files are used (except by obsolete files).
8644
8645 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8646 in the status output, assume `filename' is the first. (Bug#15322)
8647
8648 * vc/vc.el (vc-deduce-fileset): Doc fix.
8649
8650 * calc/calc-help.el (Info-goto-node):
8651 * progmodes/cperl-mode.el (Info-find-node):
8652 * vc/ediff.el (Info-goto-node): Update declarations.
8653
8654 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8655
8656 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8657 (vc-bzr-pull): Require vc-dispatcher.
8658 * vc/vc-git.el (vc-compilation-mode): Declare.
8659 (vc-git-pull): Require vc-dispatcher.
8660
8661 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8662
8663 * progmodes/octave.el (help-button-action): Declare.
8664
8665 * shell.el (shell-directory-tracker): Output error as a message
8666 rather than just returning it as a string.
8667 (shell-process-pushd): Remove useless use of message.
8668
8669 * dframe.el (dframe-timer-fn):
8670 * files.el (dir-locals-read-from-file):
8671 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8672 (mpc-format):
8673 * reveal.el (reveal-post-command):
8674 * saveplace.el (load-save-place-alist-from-file):
8675 * shell.el (shell-resync-dirs):
8676 * w32-common-fns.el (x-get-selection-value):
8677 * emacs-lisp/copyright.el (copyright-find-copyright):
8678 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8679 * emulation/tpu-edt.el (tpu-copy-keyfile):
8680 * play/bubbles.el (bubbles--mark-neighbourhood):
8681 * progmodes/executable.el
8682 (executable-make-buffer-file-executable-if-script-p):
8683 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8684
8685 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 Cleanup Eshell to rely less on dynamic scoping.
8688 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8689 last-value, and ext-command here. Bind `args' closer to `body'.
8690 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8691 (eshell--args): Declare new dynamic var.
8692 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8693 last-value, and ext-command. Pass `args' to `body'.
8694 (eshell-process-args): Bind eshell--args.
8695 (eshell-set-option): Use eshell--args.
8696 * eshell/eshell.el (eshell): Use derived-mode-p.
8697 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8698 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8699 (eshell-glob-function): Declare.
8700 * eshell/esh-util.el: Require cl-lib.
8701 (eshell-read-hosts-file): Avoid add-to-list.
8702 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8703 `err'.
8704 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8705 Declare.
8706 (eshell/diff): Remove unused var `err'.
8707 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8708 `killflag'.
8709 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8710 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8711 first use.
8712 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8713 Move declaration before first use.
8714 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8715 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8716 rely on cl-return.
8717
8718 2013-09-12 Glenn Morris <rgm@gnu.org>
8719
8720 * term/ns-win.el (global-map): Remove binding for ispell-next,
8721 deleted 1999-05-29. (Bug#15357)
8722
8723 2013-09-11 Glenn Morris <rgm@gnu.org>
8724
8725 * echistory.el (electric-command-history): Remove call to deleted func.
8726
8727 * play/landmark.el (landmark-mode): Fix typos.
8728
8729 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8730 Check cvs-sort-ignore-file is bound.
8731
8732 * savehist.el: No need for cl when compiling on Emacs.
8733
8734 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8737 (bug#15338).
8738 (eshell-self-insert-command, eshell-send-invisible):
8739 Remove unused argument.
8740 (eshell-handle-control-codes): Remove unused var `orig'.
8741 Avoid delete-backward-char.
8742
8743 * files.el (set-auto-mode): Simplify a bit further.
8744
8745 2013-09-11 Glenn Morris <rgm@gnu.org>
8746
8747 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8748 (set-auto-mode): Don't regexp-quote elements.
8749 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8750 * progmodes/cc-mode.el (interpreter-mode-alist):
8751 * progmodes/ruby-mode.el (interpreter-mode-alist):
8752 Revert previous change.
8753
8754 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * play/snake.el (snake-mode):
8757 * play/mpuz.el (mpuz-mode):
8758 * play/landmark.el (lm-mode):
8759 * play/blackbox.el (blackbox-mode):
8760 * play/5x5.el (5x5-mode):
8761 * obsolete/options.el (Edit-options-mode):
8762 * net/quickurl.el (quickurl-list-mode):
8763 * net/newst-treeview.el (newsticker-treeview-mode):
8764 * mail/rmailsum.el (rmail-summary-mode):
8765 * mail/mspools.el (mspools-mode):
8766 * locate.el (locate-mode):
8767 * ibuffer.el (ibuffer-mode):
8768 * emulation/ws-mode.el (wordstar-mode):
8769 * emacs-lisp/debug.el (debugger-mode):
8770 * array.el (array-mode):
8771 * net/eudc.el (eudc-mode): Use define-derived-mode.
8772 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8773 Move initialization into declaration.
8774 (mairix-searches-mode): Use define-derived-mode.
8775 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8776 (eudc-edit-hotlist): Use dolist.
8777 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8778 (Man-mode): Use define-derived-mode.
8779 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8780 (Info-edit-mode): Use define-derived-mode.
8781 (Info-cease-edit): Use Info-mode.
8782 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8783 into declaration.
8784 (eshell-mode): Use define-derived-mode.
8785 * chistory.el (command-history-mode-map): Rename from
8786 command-history-map.
8787 (command-history-mode): Use define-derived-mode.
8788 (Command-history-setup): Remove function.
8789 * calc/calc.el (calc-trail-mode-map): New var.
8790 (calc-trail-mode): Use define-derived-mode.
8791 (calc-trail-buffer): Set calc-main-buffer manually.
8792 * bookmark.el (bookmark-insert-annotation): New function.
8793 (bookmark-edit-annotation): Use it.
8794 (bookmark-edit-annotation-mode): Make it a proper major mode.
8795 (bookmark-send-edited-annotation): Use derived-mode-p.
8796 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8797 closer to its ideal place. Use \' to match EOS.
8798
8799 * profiler.el (profiler-calltree-find): Use function-equal.
8800
8801 2013-09-10 Glenn Morris <rgm@gnu.org>
8802
8803 * files.el (interpreter-mode-alist): Convert to regexps.
8804 (set-auto-mode): Adapt for this. (Bug#15306)
8805 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8806 Comment out unused variable.
8807 * progmodes/cc-mode.el (interpreter-mode-alist):
8808 * progmodes/python.el (interpreter-mode-alist):
8809 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8810 * progmodes/sh-script.el (sh-set-shell):
8811 No longer use interpreter-mode-alist to get list of shells.
8812
8813 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8814
8815 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * simple.el: Use set-temporary-overlay-map for universal-argument.
8818 (universal-argument-map): Don't use default-bindings (bug#15317).
8819 Bind switch-frame explicitly. Replace universal-argument-minus with
8820 a conditional binding.
8821 (universal-argument-num-events, saved-overriding-map): Remove.
8822 (restore-overriding-map): Remove.
8823 (universal-argument--mode): Rename from save&set-overriding-map,
8824 and rewrite.
8825 (universal-argument, universal-argument-more, negative-argument)
8826 (digit-argument): Adjust accordingly.
8827 (universal-argument-minus): Remove.
8828 (universal-argument-other-key): Remove.
8829
8830 * subr.el (with-demoted-errors): Add `format' argument.
8831
8832 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8835 `tramp-cleanup-connection'.
8836
8837 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8838 parameters KEEP-DEBUG and KEEP-PASSWORD.
8839
8840 * net/tramp.el (tramp-file-name-handler):
8841 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8842 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8843 (tramp-maybe-open-connection):
8844 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8845 Use `tramp-cleanup-connection'.
8846
8847 * net/tramp-sh.el (tramp-maybe-open-connection):
8848 Catch 'uname-changed inside the progress reporter.
8849
8850 2013-09-10 Glenn Morris <rgm@gnu.org>
8851
8852 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8853
8854 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8855 returns "alternate access method" in mode (eg "-rw-r--r--.").
8856
8857 2013-09-08 Glenn Morris <rgm@gnu.org>
8858
8859 * saveplace.el (load-save-place-alist-from-file):
8860 Demote errors. (Bug#15305)
8861
8862 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8863
8864 Improve compatibility with older Emacsen, and XEmacs.
8865
8866 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8867 only if it is bound. It isn't for XEmacs.
8868 (with-tramp-progress-reporter): Do not let-bind `result'.
8869 This yields to scoping errors in XEmacs.
8870 (tramp-handle-make-auto-save-file-name): New function, moved from
8871 tramp-sh.el.
8872
8873 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8874 for `make-auto-save-file-name'.
8875 (tramp-adb--gnu-switches-to-ash):
8876 Use `tramp-compat-replace-regexp-in-string'.
8877
8878 * net/tramp-cache.el (tramp-cache-print): Call
8879 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8880
8881 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8882 bound. It isn't for XEmacs.
8883
8884 * net/tramp-compat.el (tramp-compat-copy-file):
8885 Catch `wrong-number-of-arguments' error.
8886 (tramp-compat-replace-regexp-in-string): New defun.
8887
8888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8889 for `make-auto-save-file-name'.
8890 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8891 `copy-file'.
8892 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8893 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8894 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8895
8896 * net/tramp-gw.el (tramp-gw-open-network-stream):
8897 Use `tramp-compat-replace-regexp-in-string'.
8898
8899 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8900 Call `tramp-handle-make-auto-save-file-name'.
8901 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8902 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8903 (tramp-sh-file-inotifywait-process-filter):
8904 Use `tramp-compat-replace-regexp-in-string'.
8905 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8906
8907 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8908 for `make-auto-save-file-name'.
8909 (tramp-smb-handle-copy-directory):
8910 Call `tramp-compat-replace-regexp-in-string'.
8911 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8912 (tramp-smb-handle-copy-file): Improve error message.
8913 (tramp-smb-handle-rename-file): Rename directly only in case
8914 `newname' does not exist yet. This is a restriction of smbclient.
8915 (tramp-smb-maybe-open-connection): Rerun the function only when
8916 `auth-sources' is non-nil.
8917
8918 2013-09-08 Kenichi Handa <handa@gnu.org>
8919
8920 * international/characters.el: Set category "^" (Combining) for
8921 more characters.
8922
8923 2013-09-07 Alan Mackenzie <acm@muc.de>
8924
8925 Correctly fontify Java class constructors.
8926 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8927 in Java Mode.
8928 (c-recognize-typeless-decls): Set the Java value to t.
8929 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8930 While handling a "(", add a check for, effectively, Java, and handle a
8931 "typeless" declaration there.
8932
8933 2013-09-07 Roland Winkler <winkler@gnu.org>
8934
8935 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8936 field subtitle for entry type book.
8937
8938 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * minibuffer.el: Make minibuffer-complete call completion-in-region
8941 rather than other way around.
8942 (completion--some, completion-pcm--find-all-completions):
8943 Don't delay signals when debugging.
8944 (minibuffer-completion-contents): Beware fields within the
8945 minibuffer contents.
8946 (completion-all-sorted-completions): Use defvar-local.
8947 (completion--do-completion, completion--cache-all-sorted-completions)
8948 (completion-all-sorted-completions, minibuffer-force-complete):
8949 Add args `beg' and `end'.
8950 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8951 (minibuffer-complete): Use completion-in-region.
8952 (completion-complete-and-exit): New fun, extracted from
8953 minibuffer-complete-and-exit.
8954 (minibuffer-complete-and-exit): Use it.
8955 (completion--complete-and-exit): Rename from
8956 minibuffer--complete-and-exit.
8957 (completion-in-region--single-word): New function, extracted from
8958 minibuffer-complete-word.
8959 (minibuffer-complete-word): Use it.
8960 (display-completion-list): Make `common-substring' argument obsolete.
8961 (completion--in-region): Call completion--in-region-1 instead of
8962 minibuffer-complete.
8963 (completion-help-at-point): Pass boundaries to
8964 minibuffer-completion-help as args rather than via an overlay.
8965 (completion-pcm--string->pattern): Use `any-delim'.
8966 (completion-pcm--optimize-pattern): New function.
8967 (completion-pcm--pattern->regex): Handle `any-delim'.
8968 * icomplete.el (icomplete-forward-completions)
8969 (icomplete-backward-completions, icomplete-completions):
8970 Adjust calls to completion-all-sorted-completions and
8971 completion--cache-all-sorted-completions.
8972 (icomplete-with-completion-tables): Default to t.
8973 * emacs-lisp/crm.el (crm--current-element): Rename from
8974 crm--select-current-element. Don't put an overlay but return the
8975 boundaries instead.
8976 (crm--completion-command): Take two new args to bind to the boundaries.
8977 (crm-completion-help): Adjust accordingly.
8978 (crm-complete): Use completion-in-region.
8979 (crm-complete-word): Use completion-in-region--single-word.
8980 (crm-complete-and-exit): Use completion-complete-and-exit.
8981
8982 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8985 than dynamically.
8986
8987 2013-09-06 Juri Linkov <juri@jurta.org>
8988
8989 * info.el (Info-display-images-node): When image file doesn't exist
8990 display text version of the image if it's provided in the Info file.
8991 Otherwise, display the location of missing image from SRC attribute.
8992 Add help-echo text property from ALT attribute. (Bug#15279)
8993
8994 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8997 (edit-abbrevs-mode): Use define-derived-mode.
8998
8999 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9000 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9001 that it's defined.
9002 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9003 Use define-derived-mode.
9004
9005 * epg.el (epg-start-encrypt): Minor CSE simplification.
9006
9007 2013-09-06 William Xu <william.xwl@gmail.com>
9008
9009 * arc-mode.el: Add support for 7za (bug#15264).
9010 (archive-7z-program): New var.
9011 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9012 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9013 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9014
9015 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9016
9017 Remove URL syntax.
9018
9019 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9020 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9021 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9022 (tramp-postfix-host-format, tramp-file-name-regexp)
9023 (tramp-completion-file-name-regexp)
9024 (tramp-completion-dissect-file-name)
9025 (tramp-handle-substitute-in-file-name): Remove 'url case.
9026 (tramp-file-name-regexp-url)
9027 (tramp-completion-file-name-regexp-url): Remove constants.
9028
9029 2013-09-06 Glenn Morris <rgm@gnu.org>
9030
9031 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9032
9033 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9034
9035 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9036 keywords" below "here-doc beginnings" (Bug#15270).
9037
9038 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * subr.el (pop): Use `car-safe'.
9041 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9042 to detect unused `pop' return value.
9043
9044 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9045 var `block-regexp'.
9046 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9047 (python-fill-string): Remove unused var `marker'.
9048 (python-skeleton-add-menu-items): Remove unused var `items'.
9049
9050 * international/mule-cmds.el: Require CL.
9051 (find-coding-systems-for-charsets): Avoid add-to-list.
9052 (sanitize-coding-system-list): New function, extracted from
9053 select-safe-coding-system-interactively.
9054 (select-safe-coding-system-interactively): Use it.
9055 (read-input-method-name): Accept symbols for `default'.
9056
9057 * emacs-lisp/advice.el (defadvice): Add indent rule.
9058
9059 2013-09-05 Daniel Hackney <dan@haxney.org>
9060
9061 * dired-x.el:
9062 * net/ange-ftp.el:
9063 * net/browse-url.el:
9064 * net/dbus.el:
9065 * net/eudc.el:
9066 * net/eudcb-ldap.el:
9067 * net/eww.el:
9068 * net/imap.el:
9069 * printing.el:
9070 * vc/ediff-diff.el:
9071 * vc/ediff-init.el:
9072 * vc/ediff-merg.el:
9073 * vc/ediff-mult.el:
9074 * vc/ediff-util.el:
9075 * vc/ediff-wind.el:
9076 * vc/ediff.el:
9077 * vc/emerge.el:
9078 * vc/pcvs.el:
9079 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9080 byte compiler. Remove some unused let-bound variables.
9081
9082 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9085 a "ref-cell", since it gets better optimized (bug#14883).
9086
9087 2013-09-05 Glenn Morris <rgm@gnu.org>
9088
9089 * progmodes/cc-awk.el (c-forward-sws): Declare.
9090
9091 2013-09-04 Glenn Morris <rgm@gnu.org>
9092
9093 * generic-x.el [rul-generic-mode]: Require cc-mode.
9094 (c++-mode-syntax-table): Declare.
9095 (rul-generic-mode-syntax-table): Init in the defvar.
9096
9097 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9100 (vc-do-command, vc-set-async-update):
9101 * vc/vc-mtn.el (vc-mtn-dir-status):
9102 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9103 (vc-hg-pull, vc-hg-merge-branch):
9104 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9105 (vc-git-merge-branch):
9106 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9107 (vc-cvs-dir-status-files):
9108 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9109 (vc-bzr-dir-status-files):
9110 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9111 * vc/vc-annotate.el: Use lexical-binding.
9112 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9113 (vc-sentinel-movepoint): Declare.
9114 (vc-annotate): Don't use `goto-line'.
9115 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9116 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9117 (vc-sentinel-movepoint): Declare.
9118 * vc/vc-svn.el: Use lexical-binding.
9119 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9120 * vc/vc-sccs.el:
9121 * vc/vc-rcs.el: Use lexical-binding.
9122
9123 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9124 `deleted'. Don't drop errors silently.
9125
9126 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9127
9128 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9129
9130 * vc/vc.el (vc-ignore): Rewrite.
9131 (vc-default-ignore): New function.
9132 (vc-default-ignore-completion-table): Use find-ignore-file.
9133
9134 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9135 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9136 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9137 Remove. Most code moved to vc.el.
9138
9139 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9142 * net/tramp-smb.el (tramp-smb-get-file-entries):
9143 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9144 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9145
9146 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9147 Update call to it.
9148 (eww-change-select): Remove unused var `properties'.
9149 (eww-make-unique-file-name): Remove unused var `base'.
9150
9151 * finder.el (finder-compile-keywords): Don't mess with windows.
9152
9153 * calculator.el (calculator-funcall): Fix typo in last change.
9154
9155 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9156
9157 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9158 <pkg>-autoloads.el file stop us.
9159
9160 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9161 warnings, and factor out common code.
9162
9163 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9164
9165 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9166 two-character operators and whether the character preceding them
9167 changes their meaning (Bug#15208).
9168
9169 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9170
9171 Format code sent to Python shell for robustness.
9172 * progmodes/python.el (python-shell-buffer-substring):
9173 New function.
9174 (python-shell-send-region, python-shell-send-buffer): Use it.
9175
9176 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9177
9178 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9179 * net/tramp.el (tramp-user-error): ... here.
9180 (tramp-find-method, tramp-check-proper-host)
9181 (tramp-dissect-file-name, tramp-debug-message)
9182 (tramp-handle-shell-command):
9183 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9185
9186 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9187
9188 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9189
9190 * avoid.el (mouse-avoidance-point-position)
9191 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9192 returns nil.
9193
9194 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9195
9196 * progmodes/python.el (python-shell-completion-get-completions):
9197 Drop use of deleted `comint-last-prompt-overlay'.
9198 (python-nav-if-name-main): New command.
9199
9200 2013-09-01 Glenn Morris <rgm@gnu.org>
9201
9202 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9203 Avoid leading space in $wins. Otherwise the sed command used by
9204 eg compile-main ends up containing "/*.el". (Bug#15170)
9205
9206 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9207
9208 2013-08-30 Glenn Morris <rgm@gnu.org>
9209
9210 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9211 Fix is-this-a-directory logic. (Bug#15220)
9212
9213 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * textmodes/css-mode.el: Use SMIE.
9216 (css-smie-grammar): New var.
9217 (css-smie--forward-token, css-smie--backward-token)
9218 (css-smie-rules): New functions.
9219 (css-mode): Use them.
9220 (css-navigation-syntax-table): Remove var.
9221 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9222 (css-indent-calculate, css-indent-line): Remove functions.
9223
9224 Misc changes to reduce use of `(lambda...); and other cleanups.
9225 * cus-edit.el: Use lexical-binding.
9226 (customize-push-and-save, customize-apropos)
9227 (custom-buffer-create-internal): Use closures.
9228 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9229 * progmodes/ada-xref.el: Use setq.
9230 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9231 * dframe.el: Use lexical-binding.
9232 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9233 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9234 * descr-text.el: Use lexical-binding.
9235 (describe-text-widget, describe-text-sexp, describe-property-list):
9236 Use closures.
9237 * comint.el (comint-history-isearch-push-state): Use a closure.
9238 * calculator.el: Use lexical-binding.
9239 (calculator-number-to-string): Make it work with lexical-binding.
9240 (calculator-funcall): Same and use cl-letf.
9241
9242 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9243 (lisp--company-doc-string, lisp--company-location): New functions.
9244 (lisp-completion-at-point): Use them to improve Company support.
9245
9246 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9247 params of lambda expressions.
9248 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9249 (ruby-smie--opening-pipe-p): New function.
9250 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9251 symbols and matched |...| for formal params.
9252 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9253 from being treated as hanging. Handle "rescue".
9254
9255 2013-08-29 Glenn Morris <rgm@gnu.org>
9256
9257 * progmodes/cc-engine.el (c-pull-open-brace):
9258 Move definition before use.
9259
9260 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9263 are immutable. Don't use `unsafe' any more.
9264 (cl--defsubst-expand): Don't substitute at the same time as keeping
9265 a residual unused let-binding. Don't use `unsafe' any more.
9266
9267 2013-08-29 Glenn Morris <rgm@gnu.org>
9268
9269 * calendar/cal-china.el (calendar-chinese-year-cache):
9270 Recenter on 2015.
9271
9272 * nxml/nxml-util.el (nxml-debug-clear-inside):
9273 Use cl-loop rather than loop.
9274
9275 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9276
9277 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9278
9279 2013-08-28 Glenn Morris <rgm@gnu.org>
9280
9281 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9282
9283 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9284
9285 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9286
9287 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * simple.el (repeat-complex-command--called-interactively-skip):
9290 New function.
9291 (repeat-complex-command): Use it (bug#14136).
9292
9293 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9294 (c-define-abbrev-table): Add `doc' argument.
9295 (c-mode-abbrev-table, c++-mode-abbrev-table)
9296 (objc-mode-abbrev-table, java-mode-abbrev-table)
9297 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9298 (awk-mode-abbrev-table): Use it.
9299 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9300 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9301 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9302 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9303 Move initialization into the declaration; and remove any
9304 autoload cookie.
9305
9306 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9307 and dynamic let binding.
9308
9309 * vc/smerge-mode.el: Remove redundant :group args.
9310
9311 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9312 to load-path.
9313
9314 2013-08-28 Juri Linkov <juri@jurta.org>
9315
9316 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9317 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9318 (isearch-other-meta-char): Handle an undefined shifted printing
9319 character by downshifting it. (Bug#15200)
9320
9321 2013-08-28 Juri Linkov <juri@jurta.org>
9322
9323 * isearch.el (isearch-search): Change regexp error message for
9324 non-regexp searches. (Bug#15166)
9325
9326 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9327
9328 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9329 for portability to hosts where /bin/sh has problems.
9330
9331 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9334
9335 2013-08-27 Juri Linkov <juri@jurta.org>
9336
9337 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9338 in the keyboard macro. (Bug#15126)
9339
9340 2013-08-27 Juri Linkov <juri@jurta.org>
9341
9342 * isearch.el (isearch-quote-char): Comment out converting unibyte
9343 to multibyte, thus syncing with its `quoted-insert' counterpart.
9344 (Bug#15166)
9345
9346 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9347
9348 * window.el (display-buffer-use-some-window): Add missing
9349 argument in call of get-largest-window (Bug#15185).
9350 Reported by Stephen Leake.
9351
9352 2013-08-27 Glenn Morris <rgm@gnu.org>
9353
9354 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9355
9356 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9359 from a matcher-function unless there's no more matches (bug#15161).
9360
9361 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9362
9363 * minibuffer.el: Revert change from 2013-08-20.
9364
9365 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9366 with text property `tramp-default', if appropriate.
9367 (tramp-check-proper-host): New defun.
9368 (tramp-dissect-file-name): Do not check hostname. Revert change
9369 of 2013-03-18.
9370 (tramp-backtrace): Make VEC-OR-PROC optional.
9371
9372 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9373 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9374 * net/tramp-sh.el (tramp-maybe-open-connection):
9375 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9376 Apply `tramp-check-proper-host'.
9377
9378 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9379
9380 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9381 lambda expression in order to have `describe-variable' display it.
9382
9383 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9386 BUF can be optional. (Bug#15186)
9387
9388 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9389
9390 * progmodes/flymake.el (flymake-get-real-file-name-function):
9391 Fix broken customization. (Bug#15184)
9392
9393 2013-08-25 Alan Mackenzie <acm@muc.de>
9394
9395 Improve indentation of bracelists defined by macros (without "=").
9396
9397 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9398 expansion begins with "{", regard it as bracelist when it doesn't
9399 contain a ";".
9400
9401 Parse C++ inher-intro when there's a template split over 2 lines.
9402
9403 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9404 rigorously the search for "class" etc. followed by ":".
9405
9406 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9407 random languages a regexp which never matches rather than nil.
9408
9409 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9410
9411 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9412 (c-awk-regexp-one-line-possibly-open-char-list-re)
9413 (c-awk-one-line-possibly-open-regexp-re)
9414 (c-awk-one-line-non-syn-ws*-re): Remove.
9415 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9416 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9417 (c-awk-space*-unclosed-regexp-/-re): New constants.
9418 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9419 aren't regexp delimiters.
9420
9421 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9422 handling for a rare situation in AWK Mode involving unterminated
9423 strings/regexps.
9424
9425 2013-08-23 Glenn Morris <rgm@gnu.org>
9426
9427 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9428
9429 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9430
9431 * files.el (create-file-buffer): If the result would begin with
9432 spaces, prepend a "|" instead of removing them. (Bug#15162)
9433
9434 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9437 text-properties (bug#15155).
9438
9439 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9440 exist any more.
9441 (calc-keypad-redraw): Remove unused var `pad'.
9442 (calc-keypad-press): Remove unused var `menu'.
9443
9444 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9445
9446 * window.el (display-buffer-pop-up-frame):
9447 Call pop-up-frame-function with BUFFER current so `make-frame' will
9448 use it as the new frame's buffer (Bug#15133).
9449
9450 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9451
9452 * calendar/timeclock.el: Minor cleanups.
9453 (timeclock-ask-before-exiting, timeclock-use-display-time):
9454 Use `symbol'.
9455 (timeclock-modeline-display): Define as alias before the
9456 actual definition.
9457 (timeclock-mode-line-display): Use define-minor-mode.
9458 (timeclock-day-list-template): Make it a function, add an argument.
9459 (timeclock-day-list-required, timeclock-day-list-length)
9460 (timeclock-day-list-debt, timeclock-day-list-span)
9461 (timeclock-day-list-break): Adjust calls accordingly.
9462
9463 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9464
9465 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9466 Use read--expression so that completion works again.
9467
9468 2013-08-21 Sam Steingold <sds@gnu.org>
9469
9470 Add rudimentary inferior shell interaction
9471 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9472 (sh-set-shell): Reset it.
9473 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9474 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9475
9476 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * align.el: Use lexical-binding.
9479 (align-region): Simplify accordingly.
9480
9481 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9482
9483 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9484
9485 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9486 `non-essential' up.
9487
9488 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * net/tramp.el:
9491 * net/tramp-adb.el:
9492 * net/tramp-cmds.el:
9493 * net/tramp-ftp.el:
9494 * net/tramp-gvfs.el:
9495 * net/tramp-gw.el:
9496 * net/tramp-sh.el: Don't wrap external variable declarations by
9497 `eval-when-compile'.
9498
9499 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
9501 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9502 now that Emacs supports ImageMagick animations.
9503
9504 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9505
9506 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9507 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9508
9509 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9510
9511 * window.el (mouse-autoselect-window-select): Do autoselect when
9512 mouse pointer is on margin.
9513
9514 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9515
9516 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9517
9518 2013-08-16 Glenn Morris <rgm@gnu.org>
9519
9520 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9521 Handle "Remote Directory" response of some clients. (Bug#15058)
9522
9523 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9524 Tweak warning. (Bug#14926)
9525
9526 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9527 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9528
9529 * image-mode.el (image-mode-map): Add menu items to reverse,
9530 increase, decrease, reset animation speed.
9531 (image--set-speed, image-increase-speed, image-decrease-speed)
9532 (image-reverse-speed, image-reset-speed): New functions.
9533 (image-mode-map): Add bindings for speed commands.
9534
9535 * image.el (image-animate-get-speed, image-animate-set-speed):
9536 New functions.
9537 (image-animate-timeout): Respect image :speed property.
9538
9539 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9542 previous line (bug#15101).
9543 (debugger-eval-expression, debugger-record-expression):
9544 Use read--expression (bug#15102).
9545
9546 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9547
9548 Remove byte compiler warnings, visible when compiling with
9549 `byte-compile-force-lexical-warnings' set to t.
9550
9551 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9552 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9553 (tramp-handle-unhandled-file-name-directory)
9554 (tramp-handle-file-notify-add-watch, tramp-action-login)
9555 (tramp-action-succeed, tramp-action-permission-denied)
9556 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9557 arguments with "_".
9558
9559 * net/tramp-adb.el (tramp-adb-parse-device-names)
9560 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9561 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9562 (tramp-adb-handle-file-truename): Remove unused arguments.
9563
9564 * net/tramp-cache.el (tramp-flush-directory-property)
9565 (tramp-flush-connection-property, tramp-list-connections)
9566 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9567
9568 * net/tramp-compat.el (tramp-compat-make-temp-file):
9569 Rename FILENAME to F.
9570
9571 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9572 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9573 (tramp-zeroconf-parse-workstation-device-names)
9574 (tramp-zeroconf-parse-webdav-device-names)
9575 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9576
9577 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9578 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9579
9580 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9581 arguments.
9582 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9583 (tramp-sh-handle-insert-file-contents-literally)
9584 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9585 with "_".
9586 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9587 Remove unused variables.
9588
9589 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9590 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9591 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9592
9593 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9594 Make them a defconst.
9595 (tramp-uuencode-region): Remove unused variable.
9596
9597 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9598
9599 * frameset.el (frameset--prop-setter): New function.
9600 (frameset-prop): Add gv-setter declaration.
9601 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9602 parameter was already set in FILTERED. Doc fix.
9603 (frameset--record-minibuffer-relationships): Allow saving a
9604 minibufferless frame without its corresponding minibuffer frame.
9605 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9606 frame, if the frame id matches.
9607 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9608 frames before orphaned ones.
9609 (frameset-restore): Warn about orphaned windows, instead of error out.
9610
9611 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9612
9613 * window.el (window-make-atom): Don't overwrite parameter
9614 already present.
9615 (display-buffer-in-atom-window): Handle special case where we
9616 split an already atomic window.
9617 (window--major-non-side-window, display-buffer-in-side-window)
9618 (window--side-check): Ignore minibuffer window when walking
9619 window tree.
9620 (window-deletable-p): Return 'frame only if no other frame uses
9621 our minibuffer window.
9622 (record-window-buffer): Run buffer-list-update-hook.
9623 (split-window): Make sure window--check-frame won't destroy an
9624 existing atomic window in case the new window gets nested
9625 inside.
9626 (display-buffer-at-bottom): Ignore minibuffer window when
9627 walking window tree. Don't split a side window.
9628 (pop-to-buffer): Don't set-buffer here, the select-window call
9629 should do that.
9630 (mouse-autoselect-window-select): Autoselect only if we are in the
9631 text portion of the window.
9632
9633 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9634
9635 * net/shr.el (shr-parse-image-data): New function to grab both the
9636 data itself and the Content-Type.
9637 (shr-put-image): Use it.
9638
9639 * net/eww.el (eww-display-image): Ditto.
9640
9641 * image.el (image-content-type-suffixes): New variable.
9642
9643 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9644
9645 * progmodes/python.el (python-imenu--build-tree)
9646 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9647
9648 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9649
9650 * simple.el (backward-word): Mention the optional argument.
9651
9652 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9653
9654 * frameset.el (frameset--make): Rename constructor from make-frameset.
9655 (frameset-p, frameset-valid-p): Don't autoload.
9656 (frameset-valid-p): Use normal accessors.
9657
9658 2013-08-13 Glenn Morris <rgm@gnu.org>
9659
9660 * progmodes/compile.el (compile-command): Tweak example in doc.
9661 * obsolete/scribe.el (scribe-mode):
9662 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9663
9664 * mail/feedmail.el (feedmail-confirm-outgoing)
9665 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9666
9667 * cus-start.el (truncate-partial-width-windows): Fix type.
9668
9669 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9670
9671 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9672
9673 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * emacs-lisp/timer.el (timer--time-setter): New function.
9676 (timer--time): Use it as gv-setter.
9677
9678 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9679 setter is not a symbol.
9680
9681 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9682
9683 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9684 if sending fails. This makes debugging easier.
9685
9686 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9687
9688 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9689 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9690 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9691
9692 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9693
9694 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9695
9696 2013-08-12 Glenn Morris <rgm@gnu.org>
9697
9698 * format.el (format-annotate-function):
9699 Handle read-only text properties in the source. (Bug#14887)
9700
9701 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9702
9703 * net/eww.el (eww-display-html): Ignore coding system errors.
9704 One web site uses "utf-8lias" as the coding system.
9705
9706 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9709
9710 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9711
9712 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9713 (tutorial--detailed-help): Remove unused local variables.
9714 (tutorial--save-tutorial-to): Use ignore-errors.
9715 (help-with-tutorial): Use looking-at-p.
9716
9717 * view.el (view-buffer-other-window, view-buffer-other-frame):
9718 Mark unused arguments.
9719
9720 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9721 (woman-select-symbol-fonts, woman, woman-find-file)
9722 (woman-insert-file-contents, woman-non-underline-faces):
9723 Use string-match-p.
9724 (woman1-unquote): Move declaration.
9725
9726 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9727 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9728 argument. Remove unused local variable.
9729 (xml-parse-elem-type): Use string-match-p.
9730 (xml-substitute-numeric-entities): Use ignore-errors.
9731
9732 * calculator.el (calculator): Mark unused argument.
9733 (calculator-paste, calculator-quit, calculator-integer-p):
9734 Use ignore-errors.
9735 (calculator-string-to-number, calculator-decimal, calculator-exp)
9736 (calculator-op-or-exp): Use string-match-p.
9737
9738 * dired.el (dired-buffer-more-recently-used-p): Declare.
9739 (dired-insert-set-properties, dired-insert-old-subdirs):
9740 Use ignore-errors.
9741
9742 * dired-aux.el (dired-compress): Use ignore-errors.
9743 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9744 (dired-do-async-shell-command, dired-do-shell-command)
9745 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9746 (dired-insert-subdir-validate): Use string-match-p.
9747 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9748 (dired-add-entry): Use string-match-p, looking-at-p.
9749 (dired-insert-subdir-newpos): Remove unused local variable.
9750
9751 * filenotify.el (file-notify-callback): Remove unused local variable.
9752
9753 * filesets.el (filesets-error): Mark unused argument.
9754 (filesets-which-command-p, filesets-filter-dir-names)
9755 (filesets-directory-files, filesets-get-external-viewer)
9756 (filesets-ingroup-get-data): Use string-match-p.
9757
9758 * find-file.el (ff-other-file-name, ff-other-file-name)
9759 (ff-find-the-other-file, ff-cc-hh-converter):
9760 Remove unused local variables.
9761 (ff-get-file-name): Use string-match-p.
9762 (ff-all-dirs-under): Use ignore-errors.
9763
9764 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9765 (follow-select-if-visible): Remove unused local variable.
9766
9767 * forms.el (read-file-filter): Move declaration.
9768 (forms--make-format, forms--make-parser, forms-insert-record):
9769 Quote function with #'.
9770 (forms--update): Use string-match-p. Quote function with #'.
9771
9772 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9773 (help-make-xrefs): Use looking-at-p.
9774 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9775
9776 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9777 (ibuffer-confirm-operation-on): Use string-match-p.
9778
9779 * msb.el (msb-item-handler, msb-dired-item-handler):
9780 Mark unused arguments.
9781
9782 * ses.el (ses-decode-cell-symbol)
9783 (ses-kill-override): Remove unused local variable.
9784 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9785 (ses-load): Use ignore-errors, looking-at-p.
9786 (ses-jump-safe): Use ignore-errors.
9787 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9788
9789 * tabify.el (untabify, tabify): Mark unused arguments.
9790
9791 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9792 Mark unused argument.
9793 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9794 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9795
9796 * emacs-lisp/timer.el (timer--time): Define setter with
9797 gv-define-setter to avoid deprecation warning.
9798
9799 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9800 (*record-cmpl-statistics-p*): Remove (was commented out).
9801 (cmpl-statistics-block): Remove (body was commented out).
9802 All callers changed.
9803 (add-completions-from-buffer, load-completions-from-file):
9804 Remove unused variables.
9805
9806 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9807
9808 * filecache.el (file-cache-delete-file-list):
9809 Print message only when told so.
9810 (file-cache-files-matching): Use #' in mapconcat argument.
9811
9812 * ffap.el (ffap-url-at-point): Fix reference to variable
9813 thing-at-point-default-mail-uri-scheme.
9814
9815 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * subr.el (define-error): New function.
9818 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9819 error-file-not-found and define with define-error.
9820 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9821 and define with define-error.
9822 * userlock.el (file-locked, file-supersession):
9823 * simple.el (mark-inactive):
9824 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9825 * progmodes/ada-mode.el (ada-mode-errors):
9826 * play/life.el (life-extinct):
9827 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9828 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9829 * nxml/rng-util.el (rng-error):
9830 * nxml/rng-uri.el (rng-uri-error):
9831 * nxml/rng-match.el (rng-compile-error):
9832 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9833 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9834 * nxml/nxml-rap.el (nxml-scan-error):
9835 * nxml/nxml-outln.el (nxml-outline-error):
9836 * net/soap-client.el (soap-error):
9837 * net/gnutls.el (gnutls-error):
9838 * net/ange-ftp.el (ftp-error):
9839 * mpc.el (mpc-proc-error):
9840 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9841 (json-number-format, json-string-escape, json-string-format)
9842 (json-key-format, json-object-format):
9843 * jka-compr.el (compression-error):
9844 * international/quail.el (quail-error):
9845 * international/kkc.el (kkc-error):
9846 * emacs-lisp/ert.el (ert-test-failed):
9847 * calc/calc.el (calc-error, inexact-result, math-overflow)
9848 (math-underflow):
9849 * bookmark.el (bookmark-error-no-filename):
9850 * epg.el (epg-error): Define with define-error.
9851
9852 * time.el (display-time-event-handler)
9853 (display-time-next-load-average): Don't call sit-for since it seems
9854 unnecessary (bug#15045).
9855
9856 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9857 Use #' instead of ' to quote functions.
9858 (checkdoc-output-mode): Use setq-local.
9859 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9860 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9861 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9862 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9863 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9864 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9865 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9866 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9867
9868 * ido.el (ido-completion-help): Fix up compiler warning.
9869
9870 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9871
9872 * frameset.el (frameset-p): Add autoload cookie.
9873 (frameset--jump-to-register): New function, based on code moved from
9874 register.el.
9875 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9876
9877 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9878 (frameset-restore, frameset-save, frameset-session-filter-alist):
9879 Remove declarations.
9880 (register-alist): Doc fix.
9881 (frameset-to-register): Move to frameset.el.
9882 (jump-to-register, describe-register-1): Remove frameset-specific code.
9883
9884 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9885
9886 * allout-widgets.el (allout-widgets-pre-command-business)
9887 (allout-widgets-post-command-business)
9888 (allout-widgets-after-change-handler)
9889 (allout-decorate-item-and-context, allout-set-boundary-marker)
9890 (allout-body-modification-handler)
9891 (allout-graphics-modification-handler): Mark ignored arguments.
9892 (allout-widgets-post-command-business)
9893 (allout-widgets-exposure-change-processor)
9894 (allout-widgets-exposure-undo-processor)
9895 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9896 (allout-parse-item-at-point, allout-decorate-item-guides)
9897 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9898 * allout.el (epa-passphrase-callback-function): Declare.
9899 (allout-overlay-insert-in-front-handler)
9900 (allout-overlay-interior-modification-handler)
9901 (allout-isearch-end-handler, allout-chart-siblings)
9902 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9903 (allout-yank-processing, allout-process-exposed)
9904 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9905 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9906 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9907 (lisp-indent-defform): Mark ignored arguments.
9908 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9909 (calculate-lisp-indent): Remove unused variables.
9910 * international/characters.el (indian-2-column, arabic-2-column)
9911 (tibetan): Mark ignored arguments.
9912 (use-cjk-char-width-table): Mark ignored arguments.
9913 Remove unused variables.
9914 * international/fontset.el (build-default-fontset-data)
9915 (x-compose-font-name, create-fontset-from-fontset-spec):
9916 Mark ignored arguments.
9917 (fontset-plain-name): Remove unused variables.
9918 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9919 (keyboard-coding-system): Mark ignored arguments.
9920 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9921 * help.el (resize-temp-buffer-window):
9922 * window.el (display-buffer-in-major-side-window)
9923 (display-buffer-in-side-window, display-buffer-in-previous-window):
9924 Remove unused variables.
9925 * isearch.el (isearch-forward-symbol):
9926 * version.el (emacs-bzr-version-bzr):
9927 * international/mule-cmds.el (current-language-environment):
9928 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9929 (x-handle-display):
9930 * term/pc-win.el (x-list-fonts, x-display-planes)
9931 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9932 (x-server-version, x-display-screens, x-display-mm-height)
9933 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9934 (x-selection-owner-p, x-own-selection-internal)
9935 (x-disown-selection-internal, x-get-selection-internal)
9936 (msdos-initialize-window-system):
9937 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9938 * term/x-win.el (x-handle-no-bitmap-icon):
9939 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9940 (vc-default-find-file-hook, vc-default-extra-menu):
9941 Mark ignored arguments.
9942
9943 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9946 break-condition in the context of the debugged code (bug#12685).
9947
9948 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9949
9950 * comint.el:
9951 Do not use an overlay to highlight the last prompt. (Bug#14744)
9952 (comint-mode): Make comint-last-prompt buffer local.
9953 (comint-last-prompt): New variable.
9954 (comint-last-prompt-overlay): Remove. Superseded by
9955 comint-last-prompt.
9956 (comint-snapshot-last-prompt, comint-output-filter):
9957 Use comint-last-prompt.
9958
9959 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9960
9961 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9962 (frameset-save): Check validity of the resulting frameset.
9963
9964 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9965
9966 * ido.el (ido-record-command): Add doc string.
9967
9968 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9969
9970 * frameset.el (frameset): Do not disable creation of the default
9971 frameset-p predicate. Doc fix.
9972 (frameset-valid-p): New function, copied from the old predicate-p.
9973 Add additional checks.
9974 (frameset-restore): Check with frameset-valid-p.
9975 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9976 (frameset-name, frameset-description, frameset-properties)
9977 (frameset-states): Add docstring.
9978 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9979 (frameset-filter-alist): Doc fixes.
9980
9981 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9984
9985 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9988 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9989 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9990 (byte-compile-normal-call): Remove obsolescence check.
9991
9992 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * frameset.el (frameset-restore): Doc fix.
9995
9996 * register.el (frameset-frame-id, frameset-frame-with-id)
9997 (frameset-p, frameset-restore, frameset-save): Declare.
9998 (register-alist): Document framesets.
9999 (frameset-session-filter-alist): Declare.
10000 (frameset-to-register): New function.
10001 (jump-to-register): Implement jumping to framesets. Doc fix.
10002 (describe-register-1): Describe framesets.
10003
10004 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10005
10006 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10007
10008 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10009 Use lexical-binding.
10010
10011 * frameset.el (frameset): Use type vector, not list (incompatible
10012 change). Do not declare a new constructor, use the default one.
10013 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10014 `name' and `description', respectively, and add read-only slot
10015 `timestamp'. Doc fixes.
10016 (frameset-copy, frameset-persistent-filter-alist)
10017 (frameset-filter-alist, frameset-switch-to-gui-p)
10018 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10019 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10020 (frameset-filter-iconified, frameset-keep-original-display-p):
10021 Doc fixes.
10022 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10023 Rename from frameset-filter-(save|restore)-param. All callers changed.
10024 Doc fix.
10025 (frameset-p): Adapt to change to vector and be more thorough.
10026 Change arg name to OBJECT. Doc fix.
10027 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10028 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10029 All callers changed.
10030 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10031 All callers changed.
10032 (frameset--record-minibuffer-relationships): Rename from
10033 frameset--process-minibuffer-frames. All callers changed.
10034 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10035 Use new default constructor (again). Doc fix.
10036 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10037 All callers changed.
10038 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10039 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10040 Doc fix.
10041 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10042 PARAMETERS and WINDOW-STATE, respectively.
10043 (frameset-restore): Add new keyword argument PREDICATE.
10044 Reset frameset--target-display to nil. Doc fix.
10045
10046 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10049 (bat-mode): Use it.
10050 (bat-mode-syntax-table): Mark \n as end-of-comment.
10051 (bat-font-lock-keywords): Remove comment rule.
10052
10053 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10054 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10055
10056 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10057 (byte-compile-callargs-warn): Use `push'.
10058 (byte-compile-arglist-warn): Ignore higher-order "calls".
10059 (byte-compile-file-form-autoload): Use `pcase'.
10060 (byte-compile-function-form): If quoting a symbol, check that it exists.
10061
10062 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10063
10064 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10065 and add a few popular commands found in batch files.
10066 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10067 (dos-mode): Doc fixes.
10068
10069 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10072 (dos-mode): Use setq-local. Add space after "rem".
10073 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10074 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10075
10076 2013-08-07 Arni Magnusson <arnima@hafro.is>
10077
10078 * progmodes/dos.el: New file.
10079 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10080 dos-mode.
10081
10082 2013-08-06 Glenn Morris <rgm@gnu.org>
10083
10084 * calendar/calendar.el: Add new faces, and day-header-array.
10085 (calendar-weekday-header, calendar-weekend-header)
10086 (calendar-month-header): New faces.
10087 (calendar-day-header-construct): New function.
10088 (calendar-day-header-width): Also :set calendar-day-header-array.
10089 (calendar-american-month-header, calendar-european-month-header)
10090 (calendar-iso-month-header): Use calendar- faces.
10091 (calendar-generate-month):
10092 Use calendar-day-header-array for day headers; apply faces to them.
10093 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10094 (calendar-abbrev-construct): Add optional maxlen argument.
10095 (calendar-day-name-array): Doc fix.
10096 (calendar-day-name-array, calendar-abbrev-length)
10097 (calendar-day-abbrev-array):
10098 Also :set calendar-day-header-array, and maybe redraw.
10099 (calendar-day-header-array): New option. (Bug#15007)
10100 (calendar-font-lock-keywords): Set to nil and make obsolete.
10101 (calendar-day-name): Add option to use header array.
10102
10103 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104
10105 * net/shr.el (shr-render-td): Remove debugging.
10106 (shr-render-td): Make width computation consistent by defaulting
10107 all zero-width columns to 10 characters. This may not be optimal,
10108 but it's at least consistent.
10109 (shr-make-table-1): Redo last change to fix the real problem in
10110 colspan handling.
10111
10112 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10113
10114 * files.el (cache-long-line-scans):
10115 Make obsolete alias to `cache-long-scans'.
10116
10117 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * frameset.el (frameset, frameset-filter-alist)
10120 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10121 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10122 (frameset-compute-pos): Rename from frameset--compute-pos,
10123 and add docstring.
10124 (frameset-move-onscreen): Use frameset-compute-pos.
10125 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10126
10127 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10128 Fix typos in docstrings.
10129
10130 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10131
10132 * frame.el (get-other-frame): Tiny cleanup.
10133
10134 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10135
10136 * vc/vc.el (vc-default-ignore-completion-table):
10137 Silence byte-compiler warning.
10138
10139 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10140 slot, which can indeed be nil.
10141 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10142 Move entry for `left' from persistent to live filter alist.
10143 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10144 Doc fixes.
10145 (frameset-filter-params): When restoring a frame, copy items added to
10146 `filtered', to avoid unwittingly modifying the original parameters.
10147 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10148 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10149
10150 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10151 to use looking-at-p instead of looking-at. (Bug#15028)
10152
10153 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10154
10155 Revert introduction of isearch-filter-predicates (bug#14714).
10156 Rely on add-function instead.
10157 * isearch.el (isearch-filter-predicates): Rename it back to
10158 isearch-filter-predicate.
10159 (isearch-message-prefix): Use advice-function-mapc and advice
10160 properties to get the isearch-message-prefix.
10161 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10162 instead of run-hook-with-args-until-failure.
10163 (isearch-filter-visible): Not obsolete any more.
10164 * loadup.el: Preload nadvice.
10165 * replace.el (perform-replace): Revert to funcall
10166 instead of run-hook-with-args-until-failure.
10167 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10168 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10169 dired-isearch-filenames-toggle; make it into a proper minor mode.
10170 Use add/remove-function.
10171 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10172 Call the minor-mode rather than add/remove-hook.
10173 (dired-isearch-filter-filenames):
10174 Remove isearch-message-prefix property.
10175 * info.el (Info--search-loop): New function, extracted from Info-search.
10176 Funcall isearch-filter-predicate instead of
10177 run-hook-with-args-until-failure isearch-filter-predicates.
10178 (Info-search): Use it.
10179 (Info-mode): Use isearch-filter-predicate instead of
10180 isearch-filter-predicates.
10181
10182 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10183
10184 Do not call to `selected-window' where it is assumed by default.
10185 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10186 `window-hscroll', `window-width', `window-height', `window-buffer',
10187 `window-frame', `window-start', `window-point', `next-window'
10188 and `window-display-table'.
10189 * abbrev.el (abbrev--default-expand):
10190 * bs.el (bs--show-with-configuration):
10191 * buff-menu.el (Buffer-menu-mouse-select):
10192 * calc/calc.el (calc):
10193 * calendar/calendar.el (calendar-generate-window):
10194 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10195 (diary-make-entry):
10196 * comint.el (send-invisible, comint-dynamic-complete-filename)
10197 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10198 * completion.el (complete):
10199 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10200 * disp-table.el (describe-current-display-table):
10201 * doc-view.el (doc-view-insert-image):
10202 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10203 * ehelp.el (with-electric-help):
10204 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10205 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10206 * emacs-lisp/helper.el (Helper-help-scroller):
10207 * emulation/cua-base.el (cua--post-command-handler-1):
10208 * eshell/esh-mode.el (eshell-output-filter):
10209 * ffap.el (ffap-gnus-wrapper):
10210 * help-macro.el (make-help-screen):
10211 * hilit-chg.el (highlight-compare-buffers):
10212 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10213 * hl-line.el (global-hl-line-highlight):
10214 * icomplete.el (icomplete-simple-completing-p):
10215 * isearch.el (isearch-done):
10216 * jit-lock.el (jit-lock-stealth-fontify):
10217 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10218 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10219 * mpc.el (mpc-tagbrowser, mpc):
10220 * net/rcirc.el (rcirc-any-buffer):
10221 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10222 * play/landmark.el (landmark-max-width, landmark-max-height):
10223 * play/zone.el (zone):
10224 * progmodes/compile.el (compilation-goto-locus):
10225 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10226 * progmodes/etags.el (find-tag-other-window):
10227 * progmodes/fortran.el (fortran-column-ruler):
10228 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10229 * progmodes/verilog-mode.el (verilog-point-text):
10230 * reposition.el (reposition-window):
10231 * rot13.el (toggle-rot13-mode):
10232 * server.el (server-switch-buffer):
10233 * shell.el (shell-dynamic-complete-command)
10234 (shell-dynamic-complete-environment-variable):
10235 * simple.el (insert-buffer, set-selective-display)
10236 (delete-completion-window):
10237 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10238 (speedbar-recenter):
10239 * startup.el (fancy-splash-head):
10240 * textmodes/ispell.el (ispell-command-loop):
10241 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10242 * tutorial.el (help-with-tutorial):
10243 * vc/add-log.el (add-change-log-entry):
10244 * vc/compare-w.el (compare-windows):
10245 * vc/ediff-help.el (ediff-indent-help-message):
10246 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10247 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10248 (ediff-setup-control-frame):
10249 * vc/emerge.el (emerge-position-region):
10250 * vc/pcvs-util.el (cvs-bury-buffer):
10251 * window.el (walk-windows, mouse-autoselect-window-select):
10252 * winner.el (winner-set-conf, winner-undo): Related users changed.
10253
10254 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10255
10256 * frameset.el (frameset--set-id): Doc fix.
10257 (frameset-frame-id, frameset-frame-id-equal-p)
10258 (frameset-locate-frame-id): New functions.
10259 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10260 (frameset-restore): Use them.
10261
10262 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10263
10264 Do not call to `selected-frame' where it is assumed by default.
10265 Affected functions are `raise-frame', `redraw-frame',
10266 `frame-first-window', `frame-terminal' and `delete-frame'.
10267 * calendar/appt.el (appt-disp-window):
10268 * epg.el (epg-wait-for-completion):
10269 * follow.el (follow-delete-other-windows-and-split)
10270 (follow-avoid-tail-recenter):
10271 * international/mule.el (set-terminal-coding-system):
10272 * mail/rmail.el (rmail-mail-return):
10273 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10274 * progmodes/f90.el (f90-add-imenu-menu):
10275 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10276 * server.el (server-switch-buffer):
10277 * simple.el (delete-completion-window):
10278 * talk.el (talk):
10279 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10280 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10281 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10282 * vc/ediff.el (ediff-documentation): Related users changed.
10283 * frame.el (selected-terminal): Remove the leftover.
10284
10285 2013-08-05 Glenn Morris <rgm@gnu.org>
10286
10287 * calendar/calendar.el (calendar-generate-month):
10288 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10289 (calendar-generate-month, calendar-font-lock-keywords):
10290 Fix for calendar-day-header-width > length of any day name.
10291
10292 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10293
10294 * desktop.el (desktop-clear): Use new name of sort predicate.
10295
10296 * frameset.el (frameset): Add docstring. Move :version property to its
10297 own `version' slot.
10298 (frameset-copy): Rename from copy-frameset.
10299 (frameset-p): Check more thoroughly.
10300 (frameset-prop): Do not check for :version, which is no longer a prop.
10301 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10302 Use new :never value instead of t.
10303 (frameset-filter-alist): Expand and clarify docstring.
10304 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10305 (frameset-filter-minibuffer, frameset-filter-save-param)
10306 (frameset-filter-restore-param, frameset-filter-iconified):
10307 Add pointer to docstring of frameset-filter-alist.
10308 (frameset-filter-params): Rename filter values to be more meaningful:
10309 :never instead of t, and reverse the meanings of :save and :restore.
10310 (frameset--process-minibuffer-frames): Clarify error message.
10311 (frameset-save): Avoid unnecessary and confusing call to framep.
10312 Use new BOA constructor for framesets.
10313 (frameset--reuse-list): Doc fix.
10314 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10315 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10316 (frameset-minibufferless-first-p): Doc fix.
10317 Rename from frameset-sort-frames-for-deletion.
10318 (frameset-restore): Doc fixes. Use new function names.
10319 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10320
10321 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10322
10323 * desktop.el (desktop-restore-forces-onscreen)
10324 (desktop-restore-reuses-frames): Document :keyword constant values.
10325 (desktop-filter-parameters-alist): Remove, now identical to
10326 frameset-filter-alist.
10327 (desktop--filter-tty*): Remove, moved to frameset.el.
10328 (desktop-save-frameset, desktop-restore-frameset):
10329 Do not pass :filters argument.
10330
10331 * frameset.el (frameset-live-filter-alist)
10332 (frameset-persistent-filter-alist): New variables.
10333 (frameset-filter-alist): Use them. Add autoload cookie.
10334 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10335 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10336 `frameset--id' (it's supposed to be internal to frameset.el).
10337 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10338 (frameset--initial-params): New function.
10339 (frameset--get-frame): Use it. Doc fix.
10340 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10341 Accept :all, not 'all.
10342 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10343 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10344 with fbound symbols. Fix frame id matching, and remove matching ids if
10345 the frame being restored is deleted. Obey :delete.
10346
10347 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * subr.el (macrop): New function.
10350 (text-clone--maintaining): New var.
10351 (text-clone--maintain): Rename from text-clone-maintain. Use it
10352 instead of inhibit-modification-hooks.
10353
10354 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10355 a proxy, so as handle autoloads and redefinitions of the target.
10356 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10357
10358 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10359 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10360 (pcase--mutually-exclusive-p): New function.
10361 (pcase--split-consp): Use it.
10362 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10363 mutually exclusive with the current predicate.
10364
10365 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10366 (edebug-macrop): Remove. Use `macrop' instead.
10367 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10368 (ad-macro-p):
10369 * eshell/esh-cmd.el (eshell-macrop):
10370 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10371
10372 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10375 (advice-mapc): New function, using it.
10376 (advice-function-member-p): New function.
10377 (advice--normalize): Store the cdr in advice--saved-rewrite since
10378 that's the part that will be changed.
10379 (advice--symbol-function): New function.
10380 (advice-remove): Handle removal before the function is defined.
10381 Adjust to new advice--saved-rewrite.
10382 (advice-member-p): Use advice-function-member-p and
10383 advice--symbol-function.
10384
10385 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10386
10387 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10388 (frameset-filter-minibuffer): Doc fix.
10389 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10390 (frameset--set-id, frameset--process-minibuffer-frames)
10391 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10392 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10393
10394 * desktop.el (desktop-clear): Only delete frames when called
10395 interactively and desktop-restore-frames is non-nil. Doc fix.
10396 (desktop-read): Set desktop-saved-frameset to nil.
10397
10398 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10399
10400 * vc/vc.el (vc-ignore): Rewrite.
10401 (vc-default-ignore-completion-table, vc--read-lines)
10402 (vc--add-line, vc--remove-regexp): New functions.
10403
10404 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10405 (vc-svn-ignore-completion-table): New function.
10406
10407 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10408 (vc-hg-ignore-completion-table)
10409 (vc-hg-find-ignore-file): New functions.
10410
10411 * vc/vc-git.el (vc-git-ignore): Rewrite.
10412 (vc-git-ignore-completion-table)
10413 (vc-git-find-ignore-file): New functions.
10414
10415 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10416
10417 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10418 (vc-bzr-ignore-completion-table)
10419 (vc-bzr-find-ignore-file): New functions.
10420
10421 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10422
10423 * frameset.el (frameset-prop): New function and setter.
10424 (frameset-save): Do not modify frame list passed by the caller.
10425
10426 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10429
10430 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10433 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10434
10435 * custom.el (custom-initialize-default, custom-initialize-set)
10436 (custom-initialize-reset, custom-initialize-changed): Affect the
10437 toplevel-default-value (bug#6275, bug#14586).
10438 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10439 for bug#6275.
10440
10441 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10442
10443 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10444 Add cl-def* expressions.
10445
10446 * frameset.el (frameset-filter-params): Fix order of arguments.
10447
10448 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10449
10450 Move code related to saving frames to frameset.el.
10451 * desktop.el: Require frameset.
10452 (desktop-restore-frames): Doc fix.
10453 (desktop-restore-reuses-frames): Rename from
10454 desktop-restoring-reuses-frames.
10455 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10456 (desktop-clear): Clear frames too.
10457 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10458 (desktop--filter-tty*, desktop-save, desktop-read):
10459 Use frameset functions.
10460 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10461 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10462 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10463 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10464 (desktop--process-minibuffer-frames, desktop-save-frames)
10465 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10466 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10467 (desktop--sort-states, desktop-restoring-frames-p)
10468 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10469 (desktop-restoring-frameset-p, desktop-restore-frameset)
10470 (desktop--check-dont-save, desktop-save-frameset): New functions.
10471 (desktop--app-id): New constant.
10472 (desktop-first-buffer, desktop-buffer-ok-count)
10473 (desktop-buffer-fail-count): Move before first use.
10474 * frameset.el: New file.
10475
10476 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * files.el: Use lexical-binding.
10479 (dir-locals-read-from-file): Remove unused `err' variable.
10480 (hack-dir-local-variables--warned-coding): New var.
10481 (hack-dir-local-variables): Use it to avoid repeated warnings.
10482 (make-backup-file-name--default-function): New function.
10483 (make-backup-file-name-function): Use it as default.
10484 (buffer-stale--default-function): New function.
10485 (buffer-stale-function): Use it as default.
10486 (revert-buffer-insert-file-contents--default-function): New function.
10487 (revert-buffer-insert-file-contents-function): Use it as default.
10488 (insert-directory): Avoid add-to-list.
10489
10490 * autorevert.el (auto-revert-handler): Simplify.
10491 Use buffer-stale--default-function.
10492
10493 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10494
10495 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10496
10497 * whitespace.el (whitespace-ensure-local-variables): New function.
10498 (whitespace-cleanup-region): Call it.
10499 (whitespace-turn-on): Call it.
10500
10501 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10502
10503 Complete file name handlers.
10504
10505 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10506 (tramp-handle-verify-visited-file-modtime)
10507 (tramp-handle-file-notify-rm-watch): New functions.
10508 (tramp-call-process): Do not bind `default-directory'.
10509
10510 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10511 Order alphabetically.
10512 <access-file, add-name-to-file, dired-call-process>:
10513 <dired-compress-file, file-acl, file-notify-rm-watch>:
10514 <file-ownership-preserved-p, file-selinux-context>:
10515 <make-directory-internal, make-symbolic-link, set-file-acl>:
10516 <set-file-selinux-context, set-visited-file-modtime>:
10517 <verify-visited-file-modtime>: Add handler.
10518 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10519
10520 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10521 <file-notify-add-watch, file-notify-rm-watch>:
10522 <set-file-times, set-visited-file-modtime>:
10523 <verify-visited-file-modtime>: Add handler.
10524 (with-tramp-gvfs-error-message)
10525 (tramp-gvfs-handle-set-visited-file-modtime)
10526 (tramp-gvfs-fuse-file-name): Remove.
10527 (tramp-gvfs-handle-file-notify-add-watch)
10528 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10529 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10530
10531 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10532 Order alphabetically.
10533 <file-notify-rm-watch>: Use default Tramp handler.
10534 <executable-find>: Remove private handler.
10535 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10536 `default-directory'.
10537 (tramp-sh-handle-executable-find)
10538 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10539 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10540 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10541 Do not use `format' in `tramp-message'.
10542
10543 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10544 <file-notify-rm-watch, set-visited-file-modtime>:
10545 <verify-visited-file-modtime>: Add handler.
10546 (tramp-smb-call-winexe): Do not bind `default-directory'.
10547
10548 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10549
10550 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10551
10552 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10553
10554 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10555 use it.
10556 (log-view-diff-changeset): Same.
10557 (log-view-diff-common): Call backend command `previous-revision'
10558 to find out the previous revision, in both cases. Swap the
10559 variables `to' and `fr', so that `fr' usually refers to the
10560 earlier revision (Bug#14989).
10561
10562 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10563
10564 * ibuf-ext.el (ibuffer-filter-by-filename):
10565 Make it work with dired buffers too.
10566
10567 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10568
10569 * emacs-lisp/re-builder.el (reb-color-display-p):
10570 * files.el (save-buffers-kill-terminal):
10571 * net/browse-url.el (browse-url):
10572 * server.el (server-save-buffers-kill-terminal):
10573 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10574 Prefer nil to selected-frame for the first arg of frame-parameter.
10575
10576 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10577
10578 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10579
10580 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10581
10582 * minibuffer.el (completion--twq-all): Try and preserve each
10583 completion's case choice (bug#14907).
10584
10585 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10586
10587 * net/network-stream.el (open-network-stream): Mention the new
10588 :nogreeting parameter.
10589 (network-stream-open-starttls): Use the :nogreeting parameter
10590 (bug#14938).
10591
10592 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10593
10594 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10595 more natural than popping.
10596
10597 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10598 (shr-urlify): Highlight under mouse.
10599
10600 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10601
10602 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10603
10604 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10605
10606 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10607 buffer for output.
10608
10609 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10610 point-min==1. Fix search string. Fix parentheses missing.
10611
10612 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10613 assume point-min==1. Fix search string. Fix parentheses missing.
10614
10615 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10616
10617 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10618 buffer for output.
10619
10620 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10621
10622 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10623 initial frame is minibuffer-less. (Bug#14841)
10624
10625 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10628 option.
10629
10630 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10631 (tramp-maybe-open-connection): Use it.
10632
10633 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10634
10635 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10636 minimal set of parameters passed when creating a frame, because
10637 the minibuffer status of a frame cannot be changed later.
10638
10639 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10640
10641 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10642 replace-regexp-in-string and inadvertent omissions in previous change.
10643 (todo-filter-items): Ensure only file names are comma-separated in
10644 name of filtered items buffer.
10645
10646 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10647
10648 * desktop.el: Optionally force offscreen frames back onscreen.
10649 (desktop-restoring-reuses-frames): New option.
10650 (desktop--compute-pos, desktop--move-onscreen): New functions.
10651 (desktop--make-frame): Use desktop--move-onscreen.
10652
10653 2013-07-27 Alan Mackenzie <acm@muc.de>
10654
10655 Fontify a Java generic method as a function.
10656 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10657 value to t.
10658
10659 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10660
10661 * calendar/todo-mode.el: Add command to rename todo files.
10662 (todo-rename-file): New command.
10663 (todo-key-bindings-t): Add key binding for it. Change the
10664 bindings of todo-filter-regexp-items(-multifile) to use `x'
10665 instead of `r', since the latter is better suited to the new
10666 renaming command.
10667
10668 2013-07-27 Alan Mackenzie <acm@muc.de>
10669
10670 Make Java try-with-resources statement parse properly.
10671 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10672 (c-block-stmt-1-2-key): New language constants/variables.
10673 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10674 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10675 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10676 with c-block-stmt-1-2-key.
10677
10678 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * desktop.el (desktop--make-frame): Apply most frame parameters after
10681 creating the frame to force (partially or totally) offscreen frames to
10682 be restored as such.
10683
10684 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10685
10686 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10687 (Bug#14948)
10688
10689 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10692 `base' arg of backtrace-frame.
10693
10694 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10695
10696 * simple.el (list-processes): Doc fix.
10697
10698 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * desktop.el (desktop--select-frame):
10701 Try harder to reuse existing frames.
10702
10703 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10704
10705 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10706 (edebug-eval): Use backtrace-eval.
10707 (edebug--display, edebug--recursive-edit): Don't let-bind the
10708 edebug-outer-* vars that keep track of variables we locally let-bind.
10709 (edebug-outside-excursion): Don't restore outside values of locally
10710 let-bound vars.
10711 (edebug--display): Use user-error.
10712 (cl-lexical-debug, cl-debug-env): Remove.
10713
10714 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10717 are restored to be sure that they are visible before deleting any
10718 remaining ones.
10719
10720 2013-07-26 Matthias Meulien <orontee@gmail.com>
10721
10722 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10723 vc-print-root-log. (Bug#14948)
10724
10725 2013-07-26 Richard Stallman <rms@gnu.org>
10726
10727 Add aliases for encrypting mail.
10728 * epa.el (epa-mail-aliases): New option.
10729 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10730 Bind inhibit-read-only so read-only text doesn't ruin everything.
10731 (epa-mail-default-recipients): New subroutine broken out.
10732 Handle epa-mail-aliases.
10733
10734 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 Add support for lexical variables to the debugger's `e' command.
10737 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10738 vars, except for debugger-outer-match-data.
10739 (debugger-frame-number): Move check for "on a function call" from
10740 callers into it. Add `skip-base' argument.
10741 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10742 (debugger-env-macro): Only reset the state stored in non-variables,
10743 i.e. current-buffer and match-data.
10744 (debugger-eval-expression): Rewrite using backtrace-eval.
10745 * subr.el (internal--called-interactively-p--get-frame): Remove.
10746 (called-interactively-p):
10747 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10748 `base' arg of backtrace-frame instead.
10749
10750 2013-07-26 Glenn Morris <rgm@gnu.org>
10751
10752 * align.el (align-regexp): Doc fix. (Bug#14857)
10753 (align-region): Explicit error if subexpression missing/does not match.
10754
10755 * simple.el (global-visual-line-mode):
10756 Do not duplicate the mode lighter. (Bug#14858)
10757
10758 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10759
10760 * window.el (display-buffer): In display-buffer bind
10761 split-window-keep-point to t, bug#14829.
10762
10763 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10764
10765 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10766 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10767 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10768 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10769 Change accordingly.
10770 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10771 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10772
10773 2013-07-25 Glenn Morris <rgm@gnu.org>
10774
10775 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10776
10777 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10778
10779 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10780 parameter to modify-frame-parameters if the value has not changed;
10781 this is a workaround for bug#14949.
10782 (desktop--make-frame): On cl-delete-if call, check parameter name,
10783 not full parameter.
10784
10785 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10786
10787 * vc/vc.el (vc-ignore): New function.
10788
10789 * vc/vc-svn.el (vc-svn-ignore): New function.
10790
10791 * vc/vc-hg.el (vc-hg-ignore): New function.
10792
10793 * vc/vc-git.el (vc-git-ignore): New function.
10794
10795 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10796 (vc-dir-ignore): New function.
10797
10798 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10799 (cvs-append-to-ignore): Move here from pcvs.el.
10800
10801 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10802
10803 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10804
10805 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10808 (desktop-restore-frames): Warn when deleting an existing frame failed.
10809
10810 2013-07-24 Glenn Morris <rgm@gnu.org>
10811
10812 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10813
10814 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10815
10816 * filenotify.el (file-notify-supported-p):
10817 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10818 Remove functions.
10819
10820 * autorevert.el (auto-revert-use-notify)
10821 (auto-revert-notify-add-watch):
10822 * net/tramp.el (tramp-file-name-for-operation):
10823 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10824 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10825 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10826 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10827 Remove `file-notify-supported-p' entry.
10828
10829 2013-07-24 Glenn Morris <rgm@gnu.org>
10830
10831 * printing.el: Replace all uses of deleted ps-windows-system,
10832 ps-lp-system, ps-flatten-list with lpr- versions.
10833
10834 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10837 checked with memq (bug#14935).
10838
10839 * files.el (revert-buffer-function): Use a non-nil default.
10840 (revert-buffer-preserve-modes): Declare var to
10841 provide access to the `preserve-modes' argument.
10842 (revert-buffer): Let-bind it.
10843 (revert-buffer--default): New function, extracted from revert-buffer.
10844
10845 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * lpr.el: Signal print errors more prominently.
10848 (print-region-function): Don't default to nil.
10849 (lpr-print-region): New function, extracted from print-region-1.
10850 Check lpr's return value and signal an error in case of problem.
10851 (print-region-1): Use it.
10852 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10853 versions instead.
10854 (ps-printer-name): Default to nil.
10855 (ps-printer-name-option): Default to lpr-printer-switch.
10856 (ps-print-region-function): Don't default to nil.
10857 (ps-postscript-code-directory): Simplify default.
10858 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10859 (ps-string-list, ps-eval-switch, ps-flatten-list)
10860 (ps-flatten-list-1): Remove.
10861 (ps-multibyte-buffer): Avoid setq.
10862 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10863 (print-region-function, ps-print-region-function): Don't set them here.
10864
10865 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10866
10867 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10868 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10869 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10870 (ido-decorations): Doc fix.
10871
10872 * ansi-color.el: Fix old URL.
10873
10874 2013-07-23 Michael R. Mauger <michael@mauger.com>
10875
10876 * progmodes/sql.el: Version 3.3
10877 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10878 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10879 (sql-interactive-remove-continuation-prompt): Rewrite, use
10880 functions above. Fix continuation prompt and complete output line
10881 handling.
10882 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10883 redirected output buffer.
10884 (sql-mode): Restore deleted code (Bug#13591).
10885
10886 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10887
10888 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10889
10890 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10891
10892 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10893
10894 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10895 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10896 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10897
10898 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * desktop.el (desktop-clear): Simplify; remove useless checks
10901 against invalid buffer names.
10902 (desktop-list*): Use cl-list*.
10903 (desktop-buffer-info, desktop-create-buffer): Simplify.
10904
10905 2013-07-23 Leo Liu <sdl.web@gmail.com>
10906
10907 * bookmark.el (bookmark-make-record): Restore NAME as a default
10908 value. (Bug#14933)
10909
10910 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10913 extracted from autoload--insert-text.
10914 (autoload--insert-text): Remove.
10915 (autoload--print-cookie-text): New function, extracted from
10916 autoload--insert-cookie-text.
10917 (autoload--insert-cookie-text): Remove.
10918 (autoload-generate-file-autoloads): Adjust calls accordingly.
10919
10920 * winner.el (winner-hook-installed-p): Remove.
10921 (winner-mode): Simplify accordingly.
10922
10923 * subr.el (add-to-list): Fix compiler-macro when `append' is
10924 not constant. Don't use `cl-member' for the base case.
10925
10926 * progmodes/subword.el: Fix boundary case (bug#13758).
10927 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10928 own group.
10929 (subword-backward-regexp): Make it a constant.
10930 (subword-forward-internal): Don't treat a trailing capital as the
10931 beginning of a word.
10932
10933 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10934
10935 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10936 global value of tabulated-list-revert-hook (bug#14930).
10937
10938 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10939
10940 * desktop.el: Require 'cl-lib.
10941 (desktop-before-saving-frames-functions): New hook.
10942 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10943 for frames being saved. Rename from desktop--save-minibuffer-frames.
10944 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10945 Do not save frames with non-nil `desktop-dont-save' parameter.
10946 Filter out deleted frames.
10947 (desktop--find-frame): Use cl-find-if.
10948 (desktop--select-frame): Use cl-(first|second|third) to access values
10949 of desktop-mini.
10950 (desktop--make-frame): Use cl-delete-if.
10951 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10952 (desktop-restore-frames): Use cl-(first|second|third) to access values
10953 of desktop-mini. Look for visible frame at the end, not while
10954 restoring frames.
10955
10956 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10957 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10958 Use string-match-p, looking-at-p (bug#14927).
10959
10960 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10961
10962 * desktop.el (desktop-saved-frame-states):
10963 Rename from desktop--saved-states; all users changed.
10964 (desktop-save-frames): Rename from desktop--save-frames.
10965 Do not save state to desktop file.
10966 (desktop-save): Save desktop-saved-frame-states to desktop file
10967 and reset to nil.
10968 (desktop-restoring-frames-p): New function.
10969 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10970 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10971 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10972
10973 * desktop.el: Correctly restore iconified frames.
10974 (desktop--filter-iconified-position): New function.
10975 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10976
10977 2013-07-20 Glenn Morris <rgm@gnu.org>
10978
10979 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10980 Let `message' do the formatting.
10981 (def-gdb-preempt-display-buffer): Add explicit format.
10982
10983 * image-dired.el (image-dired-track-original-file):
10984 Use with-current-buffer.
10985 (image-dired-track-thumbnail): Use with-current-buffer.
10986 Avoid changing point of wrong window.
10987
10988 * image-dired.el (image-dired-track-original-file):
10989 Avoid changing point of wrong window. (Bug#14909)
10990
10991 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10992
10993 * progmodes/gdb-mi.el (gdb-done-or-error):
10994 Guard against "%" in gdb output. (Bug#14127)
10995
10996 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10997
10998 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10999 (Bug#14826)
11000
11001 * international/mule.el (coding-system-iso-2022-flags): Fix last
11002 change.
11003
11004 2013-07-20 Kenichi Handa <handa@gnu.org>
11005
11006 * international/mule.el (coding-system-iso-2022-flags):
11007 Add `8-bit-level-4'. (Bug#8522)
11008
11009 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11010
11011 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11012 (bug#14815).
11013
11014 * net/eww.el (eww-process-text-input): Allow inputting when the
11015 point is at the start of the line, as the properties aren't
11016 front-sticky.
11017
11018 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11019 degenerate widths.
11020
11021 2013-07-19 Richard Stallman <rms@gnu.org>
11022
11023 * epa.el (epa-popup-info-window): Doc fix.
11024
11025 * subr.el (split-string): New arg TRIM.
11026
11027 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11028
11029 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11030 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11031
11032 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11033
11034 * filenotify.el (file-notify--library): Rename from
11035 `file-notify-support'. Do not autoload. Adapt all uses.
11036 (file-notify-supported-p): New defun.
11037
11038 * autorevert.el (auto-revert-use-notify):
11039 Use `file-notify-supported-p' instead of `file-notify-support'.
11040 Adapt docstring.
11041 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11042
11043 * net/tramp.el (tramp-file-name-for-operation):
11044 Add `file-notify-supported-p'.
11045
11046 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11047 New defun.
11048 (tramp-sh-file-name-handler-alist): Add it as handler for
11049 `file-notify-supported-p '.
11050
11051 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11053 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11054 Add `ignore' as handler for `file-notify-*' functions.
11055
11056 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11057
11058 * simple.el (line-move-partial, line-move): Don't start vscroll or
11059 scroll-up if the current line is not taller than the window.
11060 (Bug#14881)
11061
11062 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11063
11064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11065 highlight question marks in the method names as strings.
11066 (ruby-block-beg-keywords): Inline.
11067 (ruby-font-lock-keyword-beg-re): Extract from
11068 `ruby-font-lock-keywords'.
11069
11070 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11071
11072 * frame.el (blink-cursor-blinks): New defcustom.
11073 (blink-cursor-blinks-done): New defvar.
11074 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11075 (blink-cursor-timer-function): Check if number of blinks has been
11076 done on X and NS.
11077 (blink-cursor-suspend, blink-cursor-check): New defuns.
11078
11079 2013-07-15 Glenn Morris <rgm@gnu.org>
11080
11081 * edmacro.el (edmacro-format-keys): Fix previous change.
11082
11083 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11084
11085 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11086 The hack didn't work outside English locales anyway.
11087
11088 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11089
11090 * simple.el (define-alternatives): Rename from alternatives-define,
11091 per RMS' suggestion.
11092
11093 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * desktop.el (desktop-restore-frames): Change default to t.
11096 (desktop-restore-in-current-display): Now offer more options.
11097 (desktop-restoring-reuses-frames): New customization option.
11098 (desktop--saved-states): Doc fix.
11099 (desktop-filter-parameters-alist): New variable, renamed and expanded
11100 from desktop--excluded-frame-parameters.
11101 (desktop--target-display): New variable.
11102 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11103 (desktop--filter-tty*, desktop--filter-*-color)
11104 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11105 (desktop--filter-save-desktop-parm)
11106 (desktop-restore-in-original-display-p): New functions.
11107 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11108 (desktop--save-minibuffer-frames): New function, inspired by a similar
11109 function from Martin Rudalics.
11110 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11111 (desktop--restore-in-this-display-p): Remove.
11112 (desktop--find-frame): Rename from desktop--find-frame-in-display
11113 and add predicate argument.
11114 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11115 (desktop--reuse-list): New variable.
11116 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11117 New functions.
11118 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11119
11120 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11121
11122 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11123
11124 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11125
11126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11127 Highlight conversion methods on Kernel.
11128
11129 2013-07-13 Alan Mackenzie <acm@muc.de>
11130
11131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11132 and comment it out. This out-commenting enables certain C++
11133 declarations to be parsed correctly.
11134
11135 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11136
11137 * international/mule.el (define-coding-system): Doc fix.
11138
11139 * simple.el (default-font-height): Don't call font-info if the
11140 frame's default font didn't change since the frame was created.
11141 (Bug#14838)
11142
11143 2013-07-13 Leo Liu <sdl.web@gmail.com>
11144
11145 * ido.el (ido-read-file-name): Guard against non-symbol value.
11146
11147 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11148
11149 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11150 in nested defuns.
11151
11152 2013-07-13 Leo Liu <sdl.web@gmail.com>
11153
11154 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11155 ido-set-matches call. (Bug#6852)
11156
11157 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11158
11159 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11160 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11161 Ruby 2.0.
11162 (ruby-font-lock-keywords): Distinguish calls to functions with
11163 module-like names from module references. Highlight character
11164 literals.
11165
11166 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11167
11168 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11169 (gdb-send): Handle continued commands. (Bug#14847)
11170
11171 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11172
11173 * desktop.el (desktop--v2s): Remove unused local variable.
11174 (desktop-save-buffer): Make defvar-local; adjust docstring.
11175 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11176 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11177
11178 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11179
11180 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11181
11182 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11183
11184 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11185 (Bug#14842)
11186
11187 2013-07-12 Glenn Morris <rgm@gnu.org>
11188
11189 * doc-view.el: Require cl-lib at runtime too.
11190 (doc-view-remove-if): Remove.
11191 (doc-view-search-next-match, doc-view-search-previous-match):
11192 Use cl-remove-if.
11193
11194 * edmacro.el: Require cl-lib at runtime too.
11195 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11196 (edmacro-mismatch, edmacro-subseq): Remove.
11197
11198 * shadowfile.el: Require cl-lib.
11199 (shadow-remove-if): Remove.
11200 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11201 Use cl-remove-if.
11202
11203 * wid-edit.el: Require cl-lib.
11204 (widget-choose): Use cl-remove-if.
11205 (widget-remove-if): Remove.
11206
11207 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11208 (ebrowse-delete-if-not): Remove.
11209 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11210 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11211 Use cl-delete-if-not.
11212
11213 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11216 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11217
11218 2013-07-12 Leo Liu <sdl.web@gmail.com>
11219
11220 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11221
11222 2013-07-11 Glenn Morris <rgm@gnu.org>
11223
11224 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11225 (edebug-gensym-index, edebug-gensym):
11226 Remove reimplementation of cl-gensym.
11227 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11228
11229 * thumbs.el: Require cl-lib at run-time too.
11230 (thumbs-gensym-counter, thumbs-gensym):
11231 Remove reimplementation of cl-gensym.
11232 (thumbs-temp-file): Use cl-gensym.
11233
11234 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11235 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11236 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11237 (ert--union, ert--gensym-counter, ert--gensym-counter)
11238 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11239 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11240 (ert-make-test-unbound, ert--expand-should-1)
11241 (ert--expand-should, ert--should-error-handle-error)
11242 (should-error, ert--explain-equal-rec)
11243 (ert--plist-difference-explanation, ert-select-tests)
11244 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11245 Use cl-lib functions rather than reimplementations.
11246
11247 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11248
11249 * net/tramp.el (tramp-methods): Extend docstring.
11250 (tramp-connection-timeout): New defcustom.
11251 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11252 (with-tramp-progress-reporter): Simplify.
11253 (tramp-process-actions): Improve messages.
11254
11255 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11256 * net/tramp-sh.el (tramp-maybe-open-connection):
11257 Use `tramp-connection-timeout'.
11258 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11259 (Bug#14808)
11260
11261 2013-07-11 Leo Liu <sdl.web@gmail.com>
11262
11263 * ido.el (ido-read-file-name): Conform to the requirements of
11264 read-file-name. (Bug#11861)
11265 (ido-read-directory-name): Conform to the requirements of
11266 read-directory-name.
11267
11268 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11269
11270 * subr.el (delay-warning): New function.
11271
11272 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11273
11274 * simple.el (default-line-height): New function.
11275 (line-move-partial, line-move): Use it instead of computing the
11276 line height inline.
11277 (line-move-partial): Always compute ROWH. If the last line is
11278 partially-visible, but its text is completely visible, allow
11279 cursor to enter such a partially-visible line.
11280
11281 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11282
11283 Improve error messages. (Bug#14808)
11284
11285 * net/tramp.el (tramp-current-connection): New defvar, moved from
11286 tramp-sh.el.
11287 (tramp-message-show-progress-reporter-message): Remove, not
11288 needed anymore.
11289 (tramp-error-with-buffer): Show message in minibuffer.
11290 Discard input before waiting. Reset connection timestamp.
11291 (with-tramp-progress-reporter): Improve messages.
11292 (tramp-process-actions): Use progress reporter. Delete process in
11293 case of error. Improve messages.
11294
11295 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11296 Call `tramp-error-with-buffer' with vector and buffer.
11297 (tramp-current-connection): Remove.
11298 (tramp-maybe-open-connection): The car of
11299 `tramp-current-connection' are the first 3 slots of the vector.
11300
11301 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11302
11303 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11304 inside continued strings.
11305
11306 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11307
11308 Timestamp fixes for undo (Bug#14824).
11309 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11310
11311 2013-07-10 Leo Liu <sdl.web@gmail.com>
11312
11313 * files.el (require-final-newline): Allow safe local value.
11314 (Bug#14834)
11315
11316 2013-07-09 Leo Liu <sdl.web@gmail.com>
11317
11318 * ido.el (ido-read-directory-name): Handle fallback.
11319 (ido-read-file-name): Update DIR to ido-current-directory.
11320 (Bug#1516)
11321 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11322
11323 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11324
11325 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11326 "autoload". Remove "warn lower camel case" section, previously
11327 commented out. Highlight negation char. Do not highlight the
11328 target in singleton method definitions.
11329
11330 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * faces.el (tty-setup-hook): Declare the hook.
11333
11334 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11335 and detect when a guard/pred depends on local vars (bug#14773).
11336 (pcase--u1): Adjust caller.
11337
11338 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11339
11340 * simple.el (line-move-partial, line-move): Account for
11341 line-spacing.
11342 (line-move-partial): Avoid setting vscroll when the last
11343 partially-visible line in window is of default height.
11344
11345 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11346
11347 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11348 been used a while.
11349
11350 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11351
11352 * subr.el (read-quoted-char): Remove unused local variable `char'.
11353
11354 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11355
11356 * ediff.el (ediff-version): Version update.
11357 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11358 (ediff-merge-with-ancestor-command, ediff-directories-command)
11359 (ediff-directories3-command, ediff-merge-directories-command)
11360 (ediff-merge-directories-with-ancestor-command): New functions.
11361 All are command-line interfaces to ediff: to facilitate calling
11362 Emacs with the appropriate ediff functions invoked.
11363
11364 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11365 (viper-save-kill-buffer): Check if buffer is modified.
11366
11367 * viper.el (viper-version): Version update.
11368 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11369
11370 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11373 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11374 (viper-intercept-ESC-key): Simplify.
11375 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11376 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11377 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11378 (viper-setup-ESC-to-escape): New functions.
11379 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11380 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11381
11382 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11383
11384 * simple.el (default-font-height, window-screen-lines):
11385 New functions.
11386 (line-move, line-move-partial): Use them instead of
11387 frame-char-height and window-text-height. This makes scrolling
11388 text smoother when the buffer's default face uses a font that is
11389 different from the frame's default font.
11390
11391 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11392
11393 * files.el (write-file): Do not display confirm dialog for NS,
11394 it does its own dialog, which can't be canceled (Bug#14578).
11395
11396 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11397
11398 * simple.el (line-move-partial): Adjust the row returned by
11399 posn-at-point for the current window-vscroll. (Bug#14567)
11400
11401 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11402
11403 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11404 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11405 spaces.
11406
11407 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11408
11409 * window.el (window-state-put-stale-windows): New variable.
11410 (window--state-put-2): Save list of windows without matching buffer.
11411 (window-state-put): Remove "bufferless" windows if possible.
11412
11413 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11414
11415 * simple.el (alternatives-define): Remove leftover :group keyword.
11416 Tweak docstring.
11417
11418 2013-07-06 Leo Liu <sdl.web@gmail.com>
11419
11420 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11421 (ido-enable-virtual-buffers): New variable.
11422 (ido-buffer-internal, ido-toggle-virtual-buffers)
11423 (ido-make-buffer-list): Use it.
11424 (ido-exhibit): Support turning on and off virtual buffers
11425 automatically.
11426
11427 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11428
11429 * simple.el (alternatives-define): New macro.
11430
11431 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11432
11433 * subr.el (read-quoted-char): Use read-key.
11434 (sit-for): Let read-event decode tty input (bug#14782).
11435
11436 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11437
11438 * calendar/todo-mode.el: Add handling of file deletion, both by
11439 mode command and externally. Fix various related bugs.
11440 Clarify Commentary and improve some documentation strings and code.
11441 (todo-delete-file): New command.
11442 (todo-check-file): New function.
11443 (todo-show): Handle external deletion of the file we're trying to
11444 show (bug#14688). Replace called-interactively-p by an optional
11445 prefix argument to avoid problematic interaction with catch form
11446 when byte compiled (bug#14702).
11447 (todo-quit): Handle external deletion of the archive's todo file.
11448 Make sure the buffer that was visiting the archive file is still
11449 live before trying to bury it.
11450 (todo-category-completions): Handle external deletion of any
11451 category completion files.
11452 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11453 of todo files, in case of external deletion.
11454 (todo-add-file): Replace unnecessary setq by let-binding.
11455 (todo-find-archive): Check whether there are any archives.
11456 Replace unnecessary setq by let-binding.
11457 (todo-archive-done-item): Use find-file-noselect to get the
11458 archive buffer whether or not the archive already exists.
11459 Remove superfluous code. Use file size instead of buffer-file-name to
11460 check if the archive is new; if it is, update list of archives.
11461 (todo-default-todo-file): Allow nil to be a valid value for when
11462 there are no todo files.
11463 (todo-reevaluate-default-file-defcustom): Use corrected definition
11464 of todo-default-todo-file.
11465 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11466 (todo-delete-category, todo-show-categories-table)
11467 (todo-category-number): Clarify comment.
11468 (todo-filter-items): Clarify documentation string.
11469 (todo-show-current-file, todo-display-as-todo-file)
11470 (todo-reset-and-enable-done-separator): Tweak documentation string.
11471 (todo-done-separator): Make separator length window-width, since
11472 bug#2749 is now fixed.
11473
11474 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11475
11476 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11477 Support both "gvfs-monitor-dir" and "inotifywait".
11478 (tramp-sh-file-inotifywait-process-filter): Rename from
11479 `tramp-sh-file-notify-process-filter'.
11480 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11481 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11482
11483 2013-07-05 Leo Liu <sdl.web@gmail.com>
11484
11485 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11486
11487 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11488
11489 * frame.el (display-pixel-height, display-pixel-width)
11490 (display-mm-height, display-mm-width): Mention behavior on
11491 multi-monitor setups in docstrings.
11492 (w32-display-monitor-attributes-list): Declare function.
11493 (display-monitor-attributes-list): Use it.
11494
11495 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11496
11497 * filenotify.el: New package.
11498
11499 * autorevert.el (top): Require filenotify.el.
11500 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11501 instead.
11502 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11503 (auto-revert-notify-handler): Use `file-notify-*' functions.
11504
11505 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11506
11507 * net/tramp.el (tramp-file-name-for-operation):
11508 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11509
11510 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11511 for `file-notify-add-watch' and `file-notify-rm-watch'.
11512 (tramp-process-sentinel): Improve trace.
11513 (tramp-sh-handle-file-notify-add-watch)
11514 (tramp-sh-file-notify-process-filter)
11515 (tramp-sh-handle-file-notify-rm-watch)
11516 (tramp-get-remote-inotifywait): New defuns.
11517
11518 2013-07-03 Juri Linkov <juri@jurta.org>
11519
11520 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11521 call of `occur-read-primary-args' to interactive spec.
11522
11523 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11524 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11525
11526 2013-07-03 Matthias Meulien <orontee@gmail.com>
11527
11528 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11529 `Buffer-menu-multi-occur'. Add it to the menu.
11530 (Buffer-menu-mode): Document it in docstring.
11531 (Buffer-menu-multi-occur): New command. (Bug#14673)
11532
11533 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11534
11535 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11536 keywords and built-ins.
11537
11538 2013-07-03 Glenn Morris <rgm@gnu.org>
11539
11540 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11541
11542 Make info-xref checks case-sensitive by default
11543 * info.el (Info-find-node, Info-find-in-tag-table)
11544 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11545 Add option for exact case matching of nodes.
11546 * info-xref.el (info-xref): New custom group.
11547 (info-xref-case-fold): New option.
11548 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11549
11550 2013-07-03 Leo Liu <sdl.web@gmail.com>
11551
11552 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11553
11554 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11555
11556 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11557 middle of block statement initially, lower the depth. Remove
11558 FIXME comment, not longer valid. Remove middle of block statement
11559 detection, no need to do that anymore since we've been using
11560 `ruby-parse-region' here.
11561
11562 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11563
11564 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11565
11566 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11567
11568 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11569
11570 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11571
11572 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11573 (desktop-restore-in-current-display): New customization option.
11574 (desktop--excluded-frame-parameters): Add `font'.
11575 (desktop--save-frames): Rename from desktop--save-windows.
11576 (desktop--restore-in-this-display-p): New function.
11577 (desktop--make-full-frame): Remove unwanted width/height from
11578 full(width|height) frames.
11579 (desktop--restore-frames): Rename from desktop--restore-windows.
11580 Obey desktop-restore-current-display. Do not delete old frames or
11581 select a new frame unless we were able to restore at least one frame.
11582
11583 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11584
11585 * files.el (find-file-noselect): Simplify conditional expression.
11586
11587 * textmodes/remember.el (remember-append-to-file):
11588 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11589
11590 Add `remember-notes' function to store random notes across Emacs
11591 restarts.
11592 * textmodes/remember.el (remember-data-file): Add :set callback to
11593 affect notes buffer (if any).
11594 (remember-notes): New command.
11595 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11596 New defcustoms for the `remember-notes' function.
11597 (remember-notes-save-and-bury-buffer): New command.
11598 (remember-notes-mode-map): New variable.
11599 (remember-mode): New minor mode.
11600 (remember-notes--kill-buffer-query): New function.
11601 * startup.el (initial-buffer-choice): Add notes to custom type.
11602
11603 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11604
11605 * bindings.el (right-char, left-char): Don't call sit-for, this is
11606 no longer needed. Use arithmetic comparison only for numerical
11607 arguments.
11608
11609 * international/mule-cmds.el (select-safe-coding-system):
11610 Handle the case of FROM being a string correctly. (Bug#14755)
11611
11612 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11613
11614 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11615 progression on degenerate tables.
11616 (shr-rescale-image): ImageMagick animated images currently don't work.
11617
11618 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11619
11620 Some fixes and improvements for desktop frame restoration.
11621 It is still experimental and disabled by default.
11622 * desktop.el (desktop--save-windows): Put the selected frame at
11623 the head of the list.
11624 (desktop--make-full-frame): New function.
11625 (desktop--restore-windows): Try to re-select the frame that was
11626 selected upon saving. Do not abort if some frames fail to restore,
11627 just show an error message and continue. Set up maximized frames
11628 so they have default non-maximized dimensions.
11629
11630 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11631
11632 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11633 Don't start heredoc inside a string or comment.
11634
11635 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11636
11637 * bindings.el (visual-order-cursor-movement): New defcustom.
11638 (right-char, left-char): Provide visual-order cursor motion by
11639 calling move-point-visually. Update the doc strings.
11640
11641 2013-06-28 Kenichi Handa <handa@gnu.org>
11642
11643 * international/mule.el (define-coding-system): New coding system
11644 properties :inhibit-null-byte-detection,
11645 :inhibit-iso-escape-detection, and :prefer-utf-8.
11646 (set-buffer-file-coding-system): If :charset-list property of
11647 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11648 appropriate for setting.
11649
11650 * international/mule-cmds.el (select-safe-coding-system):
11651 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11652 multibyte characters, return utf-8 (or one of its siblings).
11653
11654 * international/mule-conf.el (prefer-utf-8): New coding system.
11655 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11656 files.
11657
11658 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11659
11660 * net/shr.el (shr-render-region): New function.
11661
11662 * net/eww.el: Autoload `eww-browse-url'.
11663
11664 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11665
11666 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11667 Adapt to `package-desc-version' being a list.
11668 Use `package--ac-desc-version' to retrieve version from a package
11669 archive element.
11670
11671 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11672
11673 New experimental feature to save&restore window and frame setup.
11674 * desktop.el (desktop-save-windows): New defcustom.
11675 (desktop--saved-states): New var.
11676 (desktop--excluded-frame-parameters): New defconst.
11677 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11678 (desktop--restore-windows, desktop--save-windows): New functions.
11679 (desktop-save): Call `desktop--save-windows'.
11680 (desktop-read): Call `desktop--restore-windows'.
11681
11682 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683
11684 * net/shr.el (add-face-text-property): Remove compat definition.
11685
11686 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11687
11688 * info.el (Info-try-follow-nearest-node): Move search for footnote
11689 above search for node name to prevent missing a footnote (bug#14717).
11690
11691 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11692
11693 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11694
11695 2013-06-27 Leo Liu <sdl.web@gmail.com>
11696
11697 * net/eww.el (eww-read-bookmarks): Check file size.
11698
11699 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11702 advice--pending if newdef is nil or an autoload (bug#13820).
11703 (advice-mapc): New function.
11704
11705 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11706
11707 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11708 probably.
11709 (eww-mode-map): Add a menu bar.
11710 (eww-add-bookmark): New command.
11711 (eww-bookmark-mode): New mode and commands.
11712 (eww-add-bookmark): Remove newlines from the title.
11713 (eww-bookmark-browse): Don't bug out if it's the only window.
11714
11715 2013-06-26 Glenn Morris <rgm@gnu.org>
11716
11717 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11718 (hfy-size): Handle ttys. (Bug#14668)
11719
11720 * info-xref.el: Update for Texinfo 5 change in *note format.
11721 (info-xref-node-re, info-xref-note-re): New constants.
11722 (info-xref-check-buffer): Use info-xref-note-re.
11723
11724 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11727
11728 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11729 nil terminate the loop (bug#14718).
11730
11731 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
11733 * net/eww.el: Rework history traversal. When going forward/back,
11734 put these actions into the history, too, so that they can be
11735 replayed.
11736 (eww-render): Move the history reset to the correct buffer.
11737
11738 2013-06-25 Juri Linkov <juri@jurta.org>
11739
11740 * files-x.el (modify-dir-local-variable): Change the header comment
11741 in the file with directory local variables. (Bug#14692)
11742
11743 * files-x.el (read-file-local-variable-value): Add `default'.
11744 (Bug#14710)
11745
11746 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11747
11748 * net/eww.el (eww-make-unique-file-name): Create a unique file
11749 name before saving to entering `y' accidentally asynchronously.
11750
11751 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11752
11753 * net/eww.el (eww-download): New command and keystroke.
11754
11755 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11756
11757 * net/eww.el (eww-copy-page-url): Change name of command.
11758
11759 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11760 be more consistent with Info and dired.
11761
11762 * net/eww.el (eww-mode-map): Ditto.
11763
11764 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11767 packages from archives.
11768 (package-archive-contents): Change format; include obsolete packages.
11769 (package-desc): Use `dir' to mark builtin packages.
11770 (package--from-builtin): Set the `dir' field to `builtin'.
11771 (generated-autoload-file, version-control): Declare.
11772 (package-compute-transaction): Change first arg and return value to be
11773 lists of package-descs. Adjust to new package-archive-contents format.
11774 (package--add-to-archive-contents): Adjust to new
11775 package-archive-contents format.
11776 (package-download-transaction): Arg is now a list of package-descs.
11777 (package-install): If `pkg' is a package name, pass it as
11778 a requirement, so it is subject to the usual (e.g. disabled) checks.
11779 (describe-package): Accept package-desc as well.
11780 (describe-package-1): Describe a specific package-desc. Add links to
11781 other package-descs for the same package name.
11782 (package-menu-describe-package): Pass the actual package-desc.
11783 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11784 works correctly.
11785 (package-desc-status): New function.
11786 (package-menu--refresh): New function, extracted
11787 from package-menu--generate.
11788 (package-menu--generate): Use it.
11789 (package-delete): Update package-alist.
11790 (package-menu-execute): Don't call package-initialize.
11791
11792 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11793 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11794 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11795 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11796 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11797 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11798
11799 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11800
11801 * window.el (window--state-get-1): Workaround for bug#14527.
11802 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11803
11804 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805
11806 * net/eww.el (eww-back-url): Implement the history by stashing all
11807 the data into a list.
11808 (eww-forward-url): Allow going forward in the history, too.
11809
11810 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11813 for values and use read--expression for expressions (bug#14710).
11814 (read-file-local-variable): Avoid setq.
11815 (read-file-local-variable-mode): Use minor-mode-list.
11816
11817 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11818
11819 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11820 for DOI URLs.
11821
11822 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11823
11824 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11825 Update imenu-support when dialect changes.
11826
11827 2013-06-25 Leo Liu <sdl.web@gmail.com>
11828
11829 * ido.el (ido-read-internal): Allow forward slash on windows.
11830
11831 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11832
11833 * net/eww.el (eww): Start of strings is \\`, not ^.
11834
11835 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11836
11837 * net/shr.el (shr-browse-url): Fix interactive spec.
11838
11839 * net/eww.el (eww): Add a trailing slash to domain names.
11840
11841 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11844
11845 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846
11847 * net/shr.el (shr-browse-url): Use an external browser if given a
11848 prefix.
11849
11850 * net/eww.el (eww-external-browser): Move to shr.
11851
11852 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11853
11854 * net/eww.el (eww): Work more correctly for file: URLs.
11855 (eww-detect-charset): Allow quoted charsets.
11856 (eww-yank-page-url): New command and keystroke.
11857
11858 2013-06-24 Daiki Ueno <ueno@gnu.org>
11859
11860 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11861 file name of gpg executable.
11862 (epg-context-program): New function.
11863 (epg-context-home-directory): New function.
11864 (epg-context-set-program): New function.
11865 (epg-context-set-home-directory): New function.
11866 (epg--start): Use `epg-context-program' instead of
11867 'epg-gpg-program'.
11868 (epg--list-keys-1): Likewise.
11869
11870 2013-06-24 Leo Liu <sdl.web@gmail.com>
11871
11872 * ido.el (ido-read-internal): Fix bug#14620.
11873
11874 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11875
11876 * faces.el (face-documentation): Simplify.
11877 (read-face-attribute, tty-find-type, x-resolve-font-name):
11878 Use `string-match-p'.
11879 (list-faces-display): Use `string-match-p'. Simplify.
11880 (face-spec-recalc): Check face to avoid face alias loops.
11881 (read-color): Use `string-match-p' and non-capturing parenthesis.
11882
11883 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11884
11885 * net/shr.el (shr-rescale-image): Use the new
11886 :max-width/:max-height functionality.
11887
11888 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11889
11890 * net/eww.el (eww-search-prefix): New variable.
11891 (eww): Use it.
11892 (eww-external-browser): New variable.
11893 (eww-mode-map): New keystroke.
11894 (eww-browse-with-external-browser): New command.
11895
11896 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11897
11898 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11899
11900 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11901 Don't skip aligning the next header field when padding is 0;
11902 otherwise, field width is not respected unless the title is as
11903 wide as the field.
11904
11905 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * emacs-lisp/package.el (package-el-version): Remove.
11908 (package-process-define-package): Fix inf-loop.
11909 (package-install): Allow symbols as arguments again.
11910
11911 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11912
11913 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11914 add some more keyword-like methods.
11915 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11916
11917 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11918
11919 * bs.el (bs-buffer-show-mark): Make defvar-local.
11920 (bs-mode): Use setq-local.
11921
11922 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11923 (emacs-lock--try-unlocking): Make defvar-local.
11924
11925 2013-06-22 Glenn Morris <rgm@gnu.org>
11926
11927 * play/cookie1.el (cookie-apropos): Minor simplification.
11928
11929 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11930
11931 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11932
11933 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11934 `regexp-opt', it breaks the build during dumping.
11935
11936 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11937
11938 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11939 Highlight keyword-like methods on Kernel and Module with
11940 font-lock-builtin-face.
11941 (auto-mode-alist): Consolidate different entries into one regexp
11942 and add more *file-s.
11943
11944 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11945
11946 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11947
11948 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11949 (diary-entry): Use it in the action of this button type instead of
11950 diary-goto-entry.
11951
11952 * calendar/todo-mode.el: New version.
11953 (todo-add-category): Append new category to end of file and give
11954 it the highest number, instead of putting it at the beginning and
11955 giving it 0. Incorporate noninteractive functionality.
11956 (todo-forward-category): Adapt to 1-based category numbering.
11957 Allow skipping over archived categories.
11958 (todo-backward-category): Derive from todo-forward-category.
11959 (todo-backward-item, todo-forward-item): Make noninteractive and
11960 delegate interactive part to new commands. Make sensitive to done items.
11961 (todo-categories): Make value an alist of category names and
11962 vectors of item counts.
11963 (todo-category-beg): Make a defconst.
11964 (todo-category-number): Use 1 instead of 0 as initial value.
11965 (todo-category-select): Make sensitive to overlays, optional item
11966 highlighting and done items.
11967 (todo-delete-item): Make sensitive to overlays and marked and done items.
11968 (todo-edit-item): Make sensitive to overlays and editing of
11969 date/time header optional. Add format checks.
11970 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11971 no-op if point is not on an item. Advertise using todo-edit-quit.
11972 (todo-edit-mode): Make sensitive to new format, font-locking, and
11973 multiple todo files.
11974 (todo-insert-item, todo-insert-item-here): Derive from
11975 todo-basic-insert-item and extend functionality.
11976 (todo-item-end, todo-item-start): Make sensitive to done items.
11977 (todo-item-string): Don't return text properties. Restore point.
11978 (todo-jump-to-category): Make sensitive to multiple todo files and
11979 todo archives. Use extended category completion.
11980 (todo-lower-item, todo-raise-item): Rename to *-priority and
11981 derive from todo-set-item-priority.
11982 (todo-mode): Derive from special-mode. Make sensitive to new
11983 format, font-locking and multiple todo files. Make read-only.
11984 (todo-mode-map): Don't suppress digit keys, so they can supply
11985 prefix arguments. Add many new key bindings.
11986 (todo-prefix): Insert as an overlay instead of file text.
11987 Change semantics from diary date expression to purely visual mark.
11988 (todo-print): Rename to todo-print-buffer. Make buffer display
11989 features printable. Remove option to restrict number of items
11990 printed. Add option to print to file.
11991 (todo-print-function): Rename to todo-print-buffer-function.
11992 (todo-quit): Extend to handle exiting new todo modes.
11993 (todo-remove-item): Make sensitive to overlays.
11994 (todo-save): Extend to buffers of filtered items.
11995 (todo-show): Make sensitive to done items, multiple todo files and
11996 new todo modes. Offer to convert legacy todo file before creating
11997 first new todo file.
11998 (todo-show-priorities): Rename to todo-top-priorities.
11999 Change semantics of value 0.
12000 (todo-top-priorities): Rename to todo-filter-top-priorities,
12001 derive from todo-filter-items and extend functionality.
12002 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12003 and extend functionality to other types of filtered items.
12004 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12005 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12006 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12007 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12008 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12009 (todo-edit-mode-hook, todo-entry-prefix-function)
12010 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12011 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12012 (todo-initials, todo-insert-threshold, todo-item-string-start)
12013 (todo-line-string, todo-menu, todo-mode-hook)
12014 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12015 (todo-print-priorities, todo-remove-separator)
12016 (todo-save-top-priorities-too, todo-string-count-lines)
12017 (todo-string-multiline-p, todo-time-string-format)
12018 (todo-tmp-buffer-name): Remove.
12019 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12020 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12021 (todo-edit-category-diary-inclusion)
12022 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12023 (todo-edit-file, todo-edit-item-date-day)
12024 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12025 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12026 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12027 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12028 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12029 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12030 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12031 (todo-filter-top-priorities-multifile, todo-find-archive)
12032 (todo-find-filtered-items-file, todo-go-to-source-item)
12033 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12034 (todo-jump-to-archive-category, todo-lower-category)
12035 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12036 (todo-move-category, todo-move-item, todo-next-button)
12037 (todo-next-item, todo-padded-string, todo-powerset)
12038 (todo-previous-button, todo-previous-item)
12039 (todo-print-buffer-to-file, todo-raise-category)
12040 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12041 (todo-set-category-number, todo-set-item-priority)
12042 (todo-set-top-priorities-in-category)
12043 (todo-set-top-priorities-in-file, todo-show-categories-table)
12044 (todo-sort-categories-alphabetically-or-numerically)
12045 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12046 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12047 (todo-toggle-item-header, todo-toggle-item-highlighting)
12048 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12049 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12050 (todo-unarchive-items, todo-unmark-category): New commands.
12051 (todo-absolute-file-name, todo-add-to-buffer-list)
12052 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12053 (todo-basic-insert-item, todo-category-completions)
12054 (todo-category-number, todo-category-string-matcher-1)
12055 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12056 (todo-check-format, todo-clear-matches)
12057 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12058 (todo-current-category, todo-date-string-matcher)
12059 (todo-define-insertion-command, todo-diary-expired-matcher)
12060 (todo-diary-goto-entry, todo-diary-item-p)
12061 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12062 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12063 (todo-done-item-section-p, todo-done-separator)
12064 (todo-done-string-matcher, todo-files, todo-filter-items)
12065 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12066 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12067 (todo-insert-category-line, todo-insert-item-from-calendar)
12068 (todo-insert-sort-button, todo-insert-with-overlays)
12069 (todo-insertion-command-name, todo-insertion-key-bindings)
12070 (todo-label-to-key, todo-longest-category-name-length)
12071 (todo-make-categories-list, todo-mode-external-set)
12072 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12073 (todo-modes-set-3, todo-multiple-filter-files)
12074 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12075 (todo-read-category, todo-read-date, todo-read-dayname)
12076 (todo-read-file-name, todo-read-time)
12077 (todo-reevaluate-category-completions-files-defcustom)
12078 (todo-reevaluate-default-file-defcustom)
12079 (todo-reevaluate-filelist-defcustoms)
12080 (todo-reevaluate-filter-files-defcustom)
12081 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12082 (todo-reset-done-separator, todo-reset-done-separator-string)
12083 (todo-reset-done-string, todo-reset-global-current-todo-file)
12084 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12085 (todo-reset-prefix, todo-set-categories)
12086 (todo-set-date-from-calendar, todo-set-show-current-file)
12087 (todo-set-top-priorities, todo-short-file-name)
12088 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12089 (todo-total-item-counts, todo-update-buffer-list)
12090 (todo-update-categories-display, todo-update-categories-sexp)
12091 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12092 New functions.
12093 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12094 New major modes.
12095 (todo-categories, todo-display, todo-edit, todo-faces)
12096 (todo-filtered): New defgroups.
12097 (todo-archived-only, todo-button, todo-category-string, todo-date)
12098 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12099 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12100 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12101 (todo-add-item-if-new-category, todo-always-add-time-string)
12102 (todo-categories-align, todo-categories-archived-label)
12103 (todo-categories-category-label, todo-categories-diary-label)
12104 (todo-categories-done-label, todo-categories-number-separator)
12105 (todo-categories-todo-label, todo-categories-totals-label)
12106 (todo-category-completions-files, todo-completion-ignore-case)
12107 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12108 (todo-done-separator-string, todo-done-string)
12109 (todo-files-function, todo-filter-done-items, todo-filter-files)
12110 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12111 (todo-initial-category, todo-initial-file, todo-item-mark)
12112 (todo-legacy-date-time-regexp, todo-mode-line-function)
12113 (todo-nondiary-marker, todo-number-prefix)
12114 (todo-print-buffer-function, todo-show-current-file)
12115 (todo-show-done-only, todo-show-first, todo-show-with-done)
12116 (todo-skip-archived-categories, todo-top-priorities-overrides)
12117 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12118 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12119 New defcustoms.
12120 (todo-category-done, todo-date-pattern, todo-date-string-start)
12121 (todo-diary-items-buffer, todo-done-string-start)
12122 (todo-filtered-items-buffer, todo-item-start)
12123 (todo-month-abbrev-array, todo-month-name-array)
12124 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12125 (todo-top-priorities-buffer): New defconsts.
12126 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12127 (todo-categories-with-marks, todo-category-string-face)
12128 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12129 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12130 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12131 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12132 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12133 (todo-font-lock-keywords, todo-global-current-todo-file)
12134 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12135 (todo-insertion-commands-args)
12136 (todo-insertion-commands-args-genlist)
12137 (todo-insertion-commands-names, todo-insertion-map)
12138 (todo-key-bindings-t, todo-key-bindings-t+a)
12139 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12140 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12141 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12142 (todo-visited): New variables.
12143
12144 2013-06-21 Glenn Morris <rgm@gnu.org>
12145
12146 * play/cookie1.el (cookie-apropos): Add optional display argument.
12147 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12148 (psychoanalyze-pinhead): Use cookie-doctor.
12149
12150 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12151
12152 * emacs-lisp/package.el (tar-get-file-descriptor)
12153 (tar--extract): Declare.
12154
12155 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12156
12157 Extend flymake's warning predicate to be a function (bug#14217).
12158 * progmodes/flymake.el (flymake-warning-predicate): New.
12159 (flymake-parse-line): Use it.
12160 (flymake-warning-re): Make obsolete alias to
12161 `flymake-warning-predicate'.
12162
12163 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12166 (package-obsolete-list): Remove.
12167 (package-activate): Remove min-version argument. Add `force' argument.
12168 Adjust to new package-alist format.
12169 (package-mark-obsolete): Remove.
12170 (package-unpack): Force reload of the package's autoloads.
12171 (package-installed-p): Check builtins if the installed package is not
12172 recent enough.
12173 (package-initialize): Don't reset package-obsolete-list.
12174 Don't specify which package version to activate.
12175 (package-process-define-package, describe-package-1)
12176 (package-menu--generate): Adjust to new package-alist format.
12177
12178 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12179
12180 * allout-widgets.el (allout-widgets-mode-off)
12181 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12182 (allout-widgets-post-command-business)
12183 (allout-widgets-after-copy-or-kill-function)
12184 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12185 (allout-decorate-item-and-context)
12186 (allout-graphics-modification-handler): Fix typos in docstrings.
12187 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12188
12189 * cmuscheme.el (scheme-start-file): Doc fix.
12190 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12191 (scheme-input-filter): Use `string-match-p'.
12192
12193 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12194
12195 * dired-x.el: Use Dired consistently in docstrings.
12196
12197 * dired.el: Use Dired consistently in docstrings.
12198 (dired-readin, dired-mode): Use `setq-local'.
12199 (dired-switches-alist): Make defvar-local.
12200 (dired-buffers-for-dir): Use `zerop'.
12201 (dired-safe-switches-p, dired-switches-escape-p)
12202 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12203 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12204 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12205 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12206 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12207 (dired-toggle-marks, dired-mark-files-containing-regexp)
12208 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12209 (dired-flag-auto-save-files, dired-flag-backup-files):
12210 Use `looking-at-p'.
12211 (dired-mark-files-regexp, dired-build-subdir-alist):
12212 Use `string-match-p', `looking-at-p'.
12213
12214 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12215 (direct-print-region-helper): Use `string-match-p'.
12216
12217 2013-06-21 Leo Liu <sdl.web@gmail.com>
12218
12219 * comint.el (comint-redirect-results-list-from-process):
12220 Fix infinite loop.
12221
12222 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12223
12224 * net/eww.el (eww-update-header-line-format): Quote % characters.
12225
12226 2013-06-21 Glenn Morris <rgm@gnu.org>
12227
12228 * play/cookie1.el (cookie): New custom group.
12229 (cookie-file): New option.
12230 (cookie-check-file): New function.
12231 (cookie): Make it interactive. Make start and end messages optional.
12232 Interactively, display the result. Default to cookie-file.
12233 (cookie-insert): Default to cookie-file.
12234 (cookie-snarf): Make start and end messages optional.
12235 Default to cookie-file. Use with-temp-buffer.
12236 (cookie-read): Rename from read-cookie.
12237 Make start and end messages optional. Default to cookie-file.
12238 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12239 Do not autoload it.
12240 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12241 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12242
12243 2013-06-21 Leo Liu <sdl.web@gmail.com>
12244
12245 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12246
12247 2013-06-21 Glenn Morris <rgm@gnu.org>
12248
12249 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12250
12251 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12252 Daniel Hackney <dan@haxney.org>
12253
12254 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12255 Consolidate the single-file vs tarball code.
12256 (package-desc-suffix): New function.
12257 (package-desc-full-name): Don't bother inlining it.
12258 (package-load-descriptor): Return the new package-desc.
12259 (package-mark-obsolete): Remove unused arg `package'.
12260 (package-unpack): Make it work for single files as well.
12261 Make it update package-alist.
12262 (package--make-autoloads-and-stuff): Rename from
12263 package--make-autoloads-and-compile. Don't compile any more.
12264 (package--compile): New function.
12265 (package-generate-description-file): New function, extracted from
12266 package-unpack-single.
12267 (package-unpack-single): Remove.
12268 (package--with-work-buffer): Add indentation and debugging info.
12269 (package-download-single): Remove.
12270 (package-install-from-archive): Rename from package-download-tar, make
12271 it take a pkg-desc, and make it work for single files as well.
12272 (package-download-transaction): Simplify.
12273 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12274 external tar program.
12275 (package-install-from-buffer): Remove `pkg-desc' argument.
12276 Use package-tar-file-info for tar-mode buffers.
12277 (package-install-file): Simplify accordingly.
12278 (package-archive-base): Change to take a pkg-desc.
12279 * tar-mode.el (tar--check-descriptor): New function, extracted from
12280 tar-get-descriptor.
12281 (tar-get-descriptor): Use it.
12282 (tar-get-file-descriptor): New function.
12283 (tar--extract): New function, extracted from tar-extract.
12284 (tar--extract): Use it.
12285 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12286 case the summary uses non-ascii. Adjust to new calling convention of
12287 package-tar-file-info.
12288
12289 2013-06-21 Leo Liu <sdl.web@gmail.com>
12290
12291 * comint.el (comint-redirect-results-list-from-process):
12292 Fix random delay. (Bug#14681)
12293
12294 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12295
12296 * profiler.el (profiler-format-number): Use log, not log10.
12297
12298 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12299
12300 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12301
12302 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12305 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12306 yet available.
12307 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12308 (AUTOGENEL): ... here.
12309 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12310 (cl--defsubst-expand): Use it.
12311
12312 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12313
12314 * subr.el (log10): Move here from C code, and declare as obsolete.
12315 All uses of (log10 X) replaced with (log X 10).
12316
12317 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12318
12319 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12320 Declare with `defvar-local'.
12321 (tabulated-list-use-header-line, tabulated-list-entries)
12322 (tabulated-list-padding, tabulated-list-printer)
12323 (tabulated-list-sort-key): Declare with `defvar-local'.
12324 (tabulated-list-init-header, tabulated-list-print-fake-header):
12325 Use `setq-local'.
12326
12327 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12328
12329 * arc-mode.el (archive-mode): Add `archive-write-file' to
12330 `write-contents-functions' also for remote files. (Bug#14652)
12331
12332 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12333
12334 * cus-edit.el (custom-commands): Fix typos.
12335 (custom-display): Fix tooltip text.
12336 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12337 Fix typos in docstrings.
12338 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12339 (custom-unlispify-menu-entry, custom-magic-value-create)
12340 (custom-add-see-also, custom-group-value-create): Use ?\s.
12341 (custom-guess-type, customize-apropos, editable-field)
12342 (custom-face-value-create): Use `string-match-p'.
12343 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12344
12345 * custom.el (custom-load-symbol): Use `string-match-p'.
12346
12347 * ansi-color.el: Convert to lexical binding.
12348 (ansi-colors): Fix URL.
12349 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12350 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12351 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12352
12353 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354
12355 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12356
12357 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12358
12359 2013-06-19 Tom Tromey <tromey@redhat.com>
12360
12361 * net/eww.el (eww-top-url): Remove.
12362 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12363 (eww-render): Set new variables. Don't set eww-top-url.
12364 (eww-handle-link): Handle "prev", "home", and "contents".
12365 Downcase the rel text.
12366 (eww-top-url): Choose best top URL.
12367
12368 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12369
12370 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12371 relying in widget.el. Using widget.el leads to too many
12372 user interface inconsistencies.
12373 (eww-self-insert): Implement entering commands in text fields.
12374 (eww-process-text-input): New function to make text input field editing
12375 work.
12376 (eww-submit): Rewrite to use the new-style form methods.
12377 (eww-select-display): Display the correct selected item.
12378 (eww-change-select): Implement changing the select value.
12379 (eww-toggle-checkbox): Implement radio/checkboxes.
12380 (eww-update-field): Fix compilation error.
12381 (eww-tag-textarea): Implement <textarea>.
12382
12383 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12384 we don't shadow mode-specific bindings.
12385
12386 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12387 nothing to push.
12388
12389 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12390
12391 2013-06-19 Glenn Morris <rgm@gnu.org>
12392
12393 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12394
12395 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12396
12397 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12398 not needed.
12399
12400 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12401
12402 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12403
12404 * net/browse-url.el (browse-url-browser-function):
12405 `eww-browse-url' has the right calling signature, `eww' does not.
12406
12407 2013-06-19 Glenn Morris <rgm@gnu.org>
12408
12409 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12410 Only eval autoloaded macros.
12411 (byte-compile-autoload): Only give the macro warning for macros.
12412
12413 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12414 (ps-underlined-faces): Declare.
12415
12416 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12417 (speedbar-add-supported-extension): Declare.
12418
12419 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12420 Don't include a date stamp in the header of the generated file;
12421 it leads to needless differences between output files.
12422
12423 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12424
12425 * net/secrets.el (secrets-struct-secret-content-type):
12426 Replace check of introspection data by a test call of "CreateItem".
12427 Some servers do not offer introspection.
12428
12429 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * electric.el (electric-pair-mode): Improve interaction with
12432 electric-layout-mode.
12433 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12434 (electric-pair-syntax): Use text-mode-syntax-table in comments
12435 and strings.
12436 (electric-pair--insert): New function.
12437 (electric-pair-post-self-insert-function): Use it and
12438 electric--after-char-pos.
12439
12440 2013-06-19 Leo Liu <sdl.web@gmail.com>
12441
12442 * progmodes/octave.el (octave-help): Fix regexp.
12443
12444 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12445
12446 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12447 (shr-table-horizontal-line): Allow nil as a value, and change the
12448 default.
12449 (shr-insert-table-ruler): Respect the nil value.
12450
12451 2013-06-18 Tom Tromey <tromey@barimba>
12452
12453 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12454 New defvars.
12455 (eww-open-file): New defun.
12456 (eww-render): Initialize new variables.
12457 (eww-display-html): Handle "link" and "a".
12458 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12459 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12460 (eww-back-url): Rename from eww-previous-url.
12461 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12462 New defuns.
12463
12464 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12465
12466 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12467 Distinguish ternary operator tokens from slash symbol and slash
12468 char literal.
12469
12470 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12471
12472 Convert symbol prettification into minor mode and global minor mode.
12473
12474 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12475 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12476 (prettify-symbols--keywords): Rename from
12477 `prog-prettify-symbols-alist' and make a local defvar.
12478 (prettify-symbols--compose-symbol): Rename from
12479 `prog--prettify-font-lock-compose-symbol'.
12480 (prettify-symbols--make-keywords): Rename from
12481 `prog-prettify-font-lock-symbols-keywords' and simplify.
12482 (prog-prettify-install): Remove.
12483 (prettify-symbols-mode): New minor mode, based on
12484 `prog-prettify-install'.
12485 (turn-on-prettify-symbols-mode): New function.
12486 (global-prettify-symbols-mode): New globalized minor mode.
12487
12488 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12489 * progmodes/cfengine.el (cfengine3-mode):
12490 * progmodes/perl-mode.el (perl-mode): Don't call
12491 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12492
12493 2013-06-18 Juri Linkov <juri@jurta.org>
12494
12495 * files-x.el (modify-file-local-variable-message): New function.
12496 (modify-file-local-variable)
12497 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12498 and call `modify-file-local-variable-message' when it's non-nil.
12499 (add-file-local-variable, delete-file-local-variable)
12500 (add-file-local-variable-prop-line)
12501 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12502 and use it. (Bug#9820)
12503
12504 2013-06-18 Juri Linkov <juri@jurta.org>
12505
12506 * emulation/vi.el (vi-shell-op):
12507 * emulation/vip.el (vip-execute-com, ex-command):
12508 * emulation/viper-cmd.el (viper-exec-bang):
12509 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12510 the call of `shell-command-on-region'. (Bug#14637)
12511
12512 * simple.el (shell-command-on-region): Doc fix.
12513
12514 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12517 (bug#14633).
12518
12519 2013-06-18 Glenn Morris <rgm@gnu.org>
12520
12521 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12522
12523 * newcomment.el (comment-search-forward, comment-search-backward):
12524 Doc fix. (Bug#14376)
12525
12526 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12527
12528 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12529 (buffer-face-mode-invoke): Doc fix.
12530
12531 2013-06-18 Matthias Meulien <orontee@gmail.com>
12532
12533 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12534 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12535
12536 2013-06-18 Glenn Morris <rgm@gnu.org>
12537
12538 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12539 Replace obsolete function generic-make-keywords with its expansion.
12540
12541 * progmodes/python.el (ffap-alist): Declare.
12542
12543 * textmodes/reftex.el (bibtex-mode-map): Declare.
12544
12545 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12548 (package-unpack, package-unpack-single): Return the pkg-dir.
12549 (package-download-transaction): Use it to update package-alist.
12550
12551 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552
12553 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12554 possible choice.
12555
12556 2013-06-17 Juri Linkov <juri@jurta.org>
12557
12558 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12559
12560 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12561
12562 * emacs-lisp/package.el (package-load-descriptor):
12563 Remove `with-syntax-table' call, `read' doesn't need it.
12564 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12565
12566 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12567
12568 * startup.el (command-line): Expand package name returned by
12569 `package--description-file' (bug#14639).
12570
12571 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12572
12573 * emacs-lisp/package.el (package-load-descriptor): Do not call
12574 `emacs-lisp-mode', just use its syntax table.
12575
12576 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12577
12578 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12579 `font-lock-extra-managed-props' if any prettifying keyword is added.
12580 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12581 (prog-mode): Use `setq-local'.
12582
12583 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * international/characters.el (standard-case-table): Set syntax of ?»
12586 and ?« to punctuation.
12587
12588 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12589
12590 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12591 Save relevant match data before calling `syntax-ppss' (bug#14595).
12592
12593 2013-06-15 Juri Linkov <juri@jurta.org>
12594
12595 * files-x.el (modify-file-local-variable-prop-line): Add local
12596 variables to the end of the existing comment on the first line.
12597 Use `file-auto-mode-skip' to skip interpreter magic line,
12598 and also skip XML declaration.
12599
12600 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * startup.el (package--builtin-versions): New var.
12603 (package-subdirectory-regexp): Remove.
12604 (package--description-file): Hard code its value instead.
12605
12606 * emacs-lisp/package.el: Don't activate packages older than builtin.
12607 (package-obsolete-list): Rename from package-obsolete-alist, and make
12608 it into a simple list of package-desc.
12609 (package-strip-version): Remove.
12610 (package-built-in-p): Use package--builtin-versions.
12611 (package-mark-obsolete): Simplify.
12612 (package-process-define-package): Mark it obsolete if older than the
12613 builtin version.
12614 (package-handle-response): Use line-end-position.
12615 (package-read-archive-contents, package--download-one-archive):
12616 Simplify.
12617 (package--add-to-archive-contents): Skip if older than the builtin or
12618 installed version.
12619 (package-menu-describe-package): Fix last change.
12620 (package-list-unversioned): New var.
12621 (package-menu--generate): Use it.
12622
12623 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12624 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12625 (autoload-builtin-package-versions): New variable.
12626 (autoload-generate-file-autoloads): Use them.
12627 Remove the list of autoloaded functions/macros from the
12628 (autoload...) comments.
12629
12630 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12631
12632 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12633
12634 * simple.el (line-move-partial): Don't jump to the next screen
12635 line as soon as it becomes visible. Instead, continue enlarging
12636 the vscroll until the portion of a tall screen line that's left on
12637 display is about the height of the frame's default font.
12638 (Bug#14567)
12639
12640 2013-06-15 Glenn Morris <rgm@gnu.org>
12641
12642 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12643 compilation-error-regexp-alist void, or local while let-bound.
12644
12645 * progmodes/make-mode.el (makefile-mode-syntax-table):
12646 Treat "=" as punctuation. (Bug#14614)
12647
12648 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12649
12650 * help-fns.el (describe-variable):
12651 Add extra line for permanent-local variables.
12652
12653 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12654
12655 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12656 Add export, import, library. (Bug#9164)
12657 (library): Set indent function.
12658
12659 2013-06-14 Glenn Morris <rgm@gnu.org>
12660
12661 * term/xterm.el (xterm--query):
12662 Stop after first matching handler. (Bug#14615)
12663
12664 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12665
12666 Add support for dired in saveplace.
12667 * dired.el (dired-initial-position-hook): New variable.
12668 (dired-initial-position): Call hook to place cursor position.
12669 * saveplace.el (save-place-to-alist): Add dired position.
12670 (save-place-dired-hook): New function.
12671
12672 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12675 through a symbol rather than letrec.
12676
12677 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12678 (package-desc): Add `dir' field.
12679 (package-desc-full-name): New function.
12680 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12681 (package-maybe-load-descriptor): Remove.
12682 (package-load-all-descriptors): Just call package-load-descriptor.
12683 (package--disabled-p): New function.
12684 (package-desc-vers, package-desc-doc): Remove aliases.
12685 (package--dir): Remove function.
12686 (package-activate): Check if a package is disabled.
12687 (package-process-define-package): New function, extracted from
12688 define-package.
12689 (define-package): Turn into a place holder.
12690 (package-unpack-single, package-tar-file-info):
12691 Use package--description-file.
12692 (package-compute-transaction): Use package--disabled-p.
12693 (package-download-transaction): Don't call
12694 package-maybe-load-descriptor since they're all loaded anyway.
12695 (package-install): Change argument to be a pkg-desc.
12696 (package-delete): Use a single pkg-desc argument.
12697 (describe-package-1): Use package-desc-dir instead of package--dir.
12698 Use package-desc property instead of package-symbol.
12699 (package-install-button-action): Adjust accordingly.
12700 (package--push): Rewrite.
12701 (package-menu--print-info): Adjust accordingly. Change the ID format
12702 to be a pkg-desc.
12703 (package-menu-describe-package, package-menu-get-status)
12704 (package-menu--find-upgrades, package-menu-mark-upgrades)
12705 (package-menu-execute, package-menu--name-predicate):
12706 Adjust accordingly.
12707 * startup.el (package--description-file): New function.
12708 (command-line): Use it.
12709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12710 Use package-desc-version.
12711
12712 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12713 (byte-compile-preprocess): Use it.
12714 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12715 can't quite recognize.
12716 (byte-compile-add-to-list): Remove.
12717 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12718 (cconv-closure-convert): Add assertion.
12719
12720 * emacs-lisp/map-ynp.el: Use lexical-binding.
12721 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12722 Factor out some repeated code.
12723
12724 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * subr.el (with-eval-after-load): New macro.
12727 (eval-after-load): Allow form to be a function.
12728 take advantage of lexical-binding.
12729 (do-after-load-evaluation): Use dolist and adjust to new format.
12730 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12731
12732 2013-06-13 Juri Linkov <juri@jurta.org>
12733
12734 * replace.el (perform-replace): Display "symbol " and other search
12735 modes from `isearch-message-prefix' in the *Help* buffer.
12736
12737 * isearch.el (isearch-query-replace): Add " symbol" and other
12738 possible search modes from `isearch-message-prefix' to the prompt.
12739 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12740 when reading a regexp to collect.
12741
12742 2013-06-13 Juri Linkov <juri@jurta.org>
12743
12744 * isearch.el (word-search-regexp): Match whitespace if the search
12745 string begins or ends in whitespace. The LAX arg is applied to
12746 both ends of the search string. Use `regexp-quote' and explicit
12747 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12748 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12749 boundaries are replaced with symbol boundaries, and characters
12750 between symbols match non-word non-symbol syntax. (Bug#14602)
12751
12752 2013-06-13 Juri Linkov <juri@jurta.org>
12753
12754 * isearch.el (isearch-del-char): Don't exceed the length of
12755 `isearch-string' by the prefix arg. (Bug#14563)
12756
12757 2013-06-13 Juri Linkov <juri@jurta.org>
12758
12759 * isearch.el (isearch-yank-word, isearch-yank-line)
12760 (isearch-char-by-name, isearch-quote-char)
12761 (isearch-printing-char, isearch-process-search-char):
12762 Add optional count prefix arg. (Bug#14563)
12763
12764 * international/isearch-x.el
12765 (isearch-process-search-multibyte-characters):
12766 Add optional count prefix arg.
12767
12768 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12769
12770 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12771 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12772 lexical-binding.
12773
12774 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12775
12776 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12777
12778 2013-06-13 Glenn Morris <rgm@gnu.org>
12779
12780 * startup.el (tty-handle-args):
12781 Don't just discard "--" and anything after. (Bug#14608)
12782
12783 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12784
12785 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12786
12787 Implement changes in Secret Service API. Make it backward compatible.
12788 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12789 (secrets-create-item): Use it. Prefix properties with interface.
12790
12791 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12792
12793 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12794 (term-emulate-terminal): Respect term-suppress-hard-newline.
12795
12796 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12797
12798 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12799 Only remove a `thumb-file' overlay. (Bug#14548)
12800
12801 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12802
12803 * mail/reporter.el (reporter-submit-bug-report):
12804 Handle missing package-name. (Bug#14600)
12805
12806 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12807
12808 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12809 (reftex-citation-prompt, reftex-default-bibliography)
12810 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12811 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12812 (reftex-bib-sort-author, reftex-bib-sort-year)
12813 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12814 (reftex-extract-bib-entries-from-thebibliography)
12815 (reftex-get-bibkey-default, reftex-get-bib-names)
12816 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12817 (reftex-format-bib-entry, reftex-parse-bibitem)
12818 (reftex-format-bibitem, reftex-do-citation)
12819 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12820 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12821 (reftex-insert-bib-matches, reftex-format-citation)
12822 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12823 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12824 existing comments into docstrings.
12825
12826 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12827
12828 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12829
12830 2013-06-12 Andreas Schwab <schwab@suse.de>
12831
12832 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12833 for auto-save files.
12834
12835 2013-06-12 Glenn Morris <rgm@gnu.org>
12836
12837 * ido.el (ido-delete-ignored-files): Remove.
12838 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12839 Go back to calling ido-ignore-item-p directly.
12840
12841 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12842
12843 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12844
12845 * ido.el (ido-delete-ignored-files): New function,
12846 split from ido-make-file-list-1.
12847 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12848 (ido-make-file-list-1): Use ido-delete-ignored-files.
12849
12850 2013-06-12 Leo Liu <sdl.web@gmail.com>
12851
12852 * progmodes/octave.el (inferior-octave-startup)
12853 (inferior-octave-completion-table)
12854 (inferior-octave-track-window-width-change)
12855 (octave-eldoc-function-signatures, octave-help)
12856 (octave-find-definition): Use single quoted strings.
12857 (inferior-octave-startup-args): Change default value.
12858 (inferior-octave-startup): Do not hard code "-i" and
12859 "--no-line-editing".
12860 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12861 (inferior-octave-directory-tracker): Use it.
12862 (octave-goto-function-definition): Robustify.
12863 (octave-help): Support highlighting operators in 'See also'.
12864 (octave-find-definition): Find subfunctions only in Octave mode.
12865
12866 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * help-fns.el (help-fns--compiler-macro): If the handler function is
12869 named, then put a link to it.
12870 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12871 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12872 (cl-typep): Use it.
12873 (cl-eval-when): Simplify debug spec.
12874 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12875 compiler-macro function instead of setting `compiler-macro-file'.
12876
12877 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12878
12879 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12880 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12881
12882 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12883 Daniel Hackney <dan@haxney.org>
12884
12885 First part of Daniel Hackney's patch to package.el.
12886 * emacs-lisp/package.el: Use defstruct.
12887 (package-desc): New, main struct.
12888 (package--bi-desc, package--ac-desc): New structs, used to describe the
12889 format in external files.
12890 (package-desc-vers): Replace with package-desc-version accessor.
12891 (package-desc-doc): Replace with package-desc-summary accessor.
12892 (package-activate-1): Remove `package' arg since the pkg-vec now
12893 includes the name.
12894 (define-package): Use package-desc-from-define.
12895 (package-unpack-single): Change file-name arg to be a symbol.
12896 (package--add-to-archive-contents): Use package-desc-create and new
12897 accessor functions to package--ac-desc.
12898 (package-buffer-info, package-tar-file-info): Return a package-desc.
12899 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12900 arg to be a package-desc.
12901 (package-install-file): Adjust accordingly. Use \' to match EOS.
12902 (package--from-builtin): New function.
12903 (describe-package-1, package-menu--generate): Use it.
12904 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12905 (package-generate-autoloads): Idem and return the name of the file.
12906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12907 Change pkg-info arg to be a package-desc.
12908 Use package-make-ac-desc.
12909 (package-upload-file): Use \' to match EOS.
12910 * finder.el (finder-compile-keywords): Use package-make-builtin.
12911
12912 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * vc/vc.el (vc-deduce-fileset): Change error message.
12915 (vc-read-backend): New function.
12916 (vc-next-action): Use it.
12917
12918 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12919
12920 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12921 (prolog-font-lock-keywords): Use regexp-opt instead.
12922 Don't manually highlight strings.
12923 (prolog-mode-variables): Simplify comment-start-skip.
12924 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12925
12926 * emacs-lisp/generic.el (generic--normalise-comments)
12927 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12928 (generic-mode-set-comments): Use them.
12929 (generic-bracket-support): Use setq-local.
12930 (generic-make-keywords-list): Declare obsolete.
12931
12932 2013-06-11 Glenn Morris <rgm@gnu.org>
12933
12934 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12935 Prettify after setting font-lock-defaults. (Bug#14574)
12936
12937 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12938
12939 * replace.el (query-replace, occur-read-regexp-defaults-function)
12940 (replace-search):
12941 * subr.el (declare-function, number-sequence, local-set-key)
12942 (substitute-key-definition, locate-user-emacs-file)
12943 (with-silent-modifications, split-string, eval-after-load):
12944 Fix typos, remove unneeded backslashes and reflow some docstrings.
12945
12946 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12949 default for Elisp files.
12950
12951 2013-06-11 Glenn Morris <rgm@gnu.org>
12952
12953 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12954 although define-derived-mode was doing this anyway. (Bug#14583)
12955
12956 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12957
12958 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12959 Fix make-variable-buffer-local call to refer to the correct variable.
12960
12961 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12962
12963 * eshell/em-term.el (eshell-visual-commands)
12964 (eshell-visual-subcommands, eshell-visual-options):
12965 Add summary line to docstrings. Add cross-references.
12966
12967 2013-06-10 Glenn Morris <rgm@gnu.org>
12968
12969 * epa.el (epa-read-file-name): New function. (Bug#14510)
12970 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12971
12972 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12973
12974 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12975 output redirection to be ignored with visual commands.
12976
12977 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12978
12979 * eshell/em-term.el (eshell-visual-command-p): New function.
12980 (eshell-term-initialize): Move long lambda to separate function
12981 eshell-visual-command-p.
12982 * eshell/em-dirs.el (eshell-dirs-initialize):
12983 * eshell/em-script.el (eshell-script-initialize):
12984 Add missing #' to lambda.
12985
12986 2013-06-08 Leo Liu <sdl.web@gmail.com>
12987
12988 * progmodes/octave.el (octave-add-log-current-defun): New function.
12989 (octave-mode): Set add-log-current-defun-function.
12990 (octave-goto-function-definition): Do not move point if not found.
12991 (octave-find-definition): Enhance to try subfunctions first.
12992
12993 2013-06-08 Glenn Morris <rgm@gnu.org>
12994
12995 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12996 (byte-compile-backward-char, byte-compile-backward-word):
12997 Improve previous change, to handle non-explicit nil.
12998
12999 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13002 (smie--opener/closer-at-point): New function.
13003 (smie--matching-block-data): Use it. Don't match from right after an
13004 opener or right before a closer. Obey smie-blink-matching-inners.
13005 Don't signal a mismatch for repeated inners like "switch..case..case".
13006
13007 2013-06-07 Leo Liu <sdl.web@gmail.com>
13008
13009 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13010 to t. (Bug#14303)
13011 (octave-function-header-regexp): Fix. (Bug#14570)
13012 (octave-help-mode-finish-hook, octave-help-mode-finish):
13013 Remove. Just use temp-buffer-show-hook.
13014
13015 * newcomment.el (comment-search-backward): Revert last change.
13016 (Bug#14434)
13017
13018 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13019
13020 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13021
13022 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13023 through xargs, to avoid failure due to MS-Windows limitations on
13024 command-line length.
13025
13026 2013-06-06 Glenn Morris <rgm@gnu.org>
13027
13028 * font-lock.el (lisp-font-lock-keywords-2):
13029 Treat user-error like error.
13030
13031 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13032 (byte-compile-backward-char, byte-compile-backward-word):
13033 Handle explicit nil arguments. (Bug#14565)
13034
13035 2013-06-05 Alan Mackenzie <acm@muc.de>
13036
13037 * isearch.el (isearch-allow-prefix): New user option.
13038 (isearch-other-meta-char): Don't exit isearch when a prefix
13039 argument is typed whilst `isearch-allow-prefix' is non-nil.
13040 (Bug#9706)
13041
13042 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * autorevert.el (auto-revert-notify-handler): Use memq.
13045 Hide assertion failure.
13046
13047 * skeleton.el: Use cl-lib.
13048 (skeleton-further-elements): Use defvar-local.
13049 (skeleton-insert): Use cl-progv.
13050
13051 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13052
13053 * progmodes/prog-mode.el (prog-prettify-symbols)
13054 (prog-prettify-install): Update docstrings.
13055
13056 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * simple.el: Move all the prog-mode code to prog-mode.el.
13059 * progmodes/prog-mode.el: New file.
13060 * loadup.el: Add prog-mode.el.
13061
13062 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13063
13064 * simple.el (prog-prettify-symbols): Add version.
13065 (prog-prettify-install): Add convenience function to prettify symbols.
13066
13067 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13068 (perl--augmented-font-lock-keywords-1)
13069 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13070 variables and use it.
13071
13072 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13073 (cfengine3-mode): Remove unneeded variable and use it.
13074
13075 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13076 (lisp--augmented-font-lock-keywords-1)
13077 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13078 Remove unneeded variables and use it.
13079
13080 2013-06-05 João Távora <joaotavora@gmail.com>
13081
13082 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13083 to point when opening the connection. (Bug#14380)
13084
13085 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * subr.el (load-history-regexp, load-history-filename-element)
13088 (eval-after-load, after-load-functions, do-after-load-evaluation)
13089 (eval-next-after-load, display-delayed-warnings)
13090 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13091 definition of save-match-data.
13092 (overriding-local-map): Remove accidental obsolescence declaration.
13093
13094 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13095
13096 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13097
13098 Generalize symbol prettify support to prog-mode and implement it
13099 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13100 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13101 (prog--prettify-font-lock-compose-symbol)
13102 (prog-prettify-font-lock-symbols-keywords): New variables and
13103 functions to support symbol prettification.
13104 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13105 (lisp--augmented-font-lock-keywords-1)
13106 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13107 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13108 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13109 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13110 Implement prettify of -> => :: strings.
13111 * progmodes/perl-mode.el (perl-prettify-symbols)
13112 (perl--font-lock-compose-symbol)
13113 (perl--font-lock-symbols-keywords): Move to prog-mode.
13114 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13115 (perl-font-lock-keywords-1)
13116 (perl-font-lock-keywords-2): Remove explicit prettify support.
13117 (perl--augmented-font-lock-keywords)
13118 (perl--augmented-font-lock-keywords-1)
13119 (perl--augmented-font-lock-keywords-2, perl-mode):
13120 Implement prettify support.
13121
13122 2013-06-05 Leo Liu <sdl.web@gmail.com>
13123
13124 Re-implement SMIE matching block highlight using
13125 show-paren-data-function. (Bug#14395)
13126 * emacs-lisp/smie.el (smie-matching-block-highlight)
13127 (smie--highlight-matching-block-overlay)
13128 (smie--highlight-matching-block-lastpos)
13129 (smie-highlight-matching-block)
13130 (smie-highlight-matching-block-mode): Remove.
13131 (smie--matching-block-data-cache): New variable.
13132 (smie--matching-block-data): New function.
13133 (smie-setup): Use smie--matching-block-data for
13134 show-paren-data-function.
13135
13136 * progmodes/octave.el (octave-mode-menu): Fix.
13137 (octave-find-definition): Skip garbage lines.
13138
13139 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 Fix compilation error with simultaneous dynamic+lexical scoping.
13142 Add warning when a defvar appears after the first let-binding.
13143 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13144 (byte-compile-close-variables): Initialize it.
13145 (byte-compile--declare-var): New function.
13146 (byte-compile-file-form-defvar)
13147 (byte-compile-file-form-define-abbrev-table)
13148 (byte-compile-file-form-custom-declare-variable): Use it.
13149 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13150 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13151 (byte-compile-bind): Handle dynamic bindings that shadow
13152 lexical bindings.
13153 (byte-compile-unbind): Make arg non-optional.
13154 (byte-compile-let): Simplify.
13155 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13156 (cconv--analyse-function, cconv-analyse-form): Populate it.
13157 Protect byte-compile-bound-variables to limit the scope of defvars.
13158 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13159 Remove unneeded rule for `declare'.
13160
13161 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13162 so as to avoid depending on cl-adjoin at run-time.
13163 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13164
13165 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13166 (macroexp--warn-and-return): Use it.
13167
13168 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13169
13170 * subr.el: Convert to lexical binding.
13171 (overriding-local-map): Make obsolete.
13172 (add-to-list): Doc fix. Add compiler macro.
13173 (read-key): Swap values of local maps.
13174
13175 2013-06-05 Leo Liu <sdl.web@gmail.com>
13176
13177 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13178
13179 2013-06-04 Leo Liu <sdl.web@gmail.com>
13180
13181 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13182 (compilation-auto-jump): Suppress the "Mark set" message to give
13183 way to exit message.
13184
13185 2013-06-04 Alan Mackenzie <acm@muc.de>
13186
13187 Remove faulty optimisation from indentation calculation.
13188 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13189 search limit based on 2000 characters back from indent-point.
13190
13191 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13192
13193 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13194
13195 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13196
13197 * emacs-lisp/lisp.el: Use lexical-binding.
13198 (lisp--local-variables-1, lisp--local-variables): New functions.
13199 (lisp--local-variables-completion-table): New var.
13200 (lisp-completion-at-point): Use it complete let-bound vars.
13201
13202 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13203 eagerly (bug#14422).
13204
13205 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13206
13207 * autorevert.el (auto-revert-notify-enabled)
13208 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13209 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13210 (auto-revert-notify-handler): Handle also gfilenotify.
13211
13212 * subr.el (file-notify-handle-event): New defun. Replacing ...
13213 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13214 Remove.
13215
13216 2013-06-03 Juri Linkov <juri@jurta.org>
13217
13218 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13219 `M-s h .'. (Bug#14427)
13220
13221 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13222 command `hi-lock-face-symbol-at-point'.
13223 (hi-lock-face-symbol-at-point): New command.
13224 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13225 (hi-lock-menu): Add `highlight-symbol-at-point'.
13226 (hi-lock-mode): Doc fix.
13227
13228 * isearch.el (isearch-forward-symbol-at-point): New command.
13229 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13230 (isearch-highlight-regexp): Add a regexp which matches
13231 words/symbols for word/symbol mode.
13232
13233 * subr.el (find-tag-default-bounds): New function with the body
13234 mostly moved from `find-tag-default'.
13235 (find-tag-default): Move most code to `find-tag-default-bounds',
13236 call it and apply `buffer-substring-no-properties' afterwards.
13237
13238 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13239
13240 * eshell/em-term.el (eshell-term-initialize):
13241 Use `cl-intersection' rather than `intersection'.
13242
13243 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13244
13245 * vc/log-view.el: Doc fix.
13246 (log-view-mode-map): Copy keymap from `special-mode-map'.
13247
13248 2013-06-02 Eric Ludlam <zappo@gnu.org>
13249
13250 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13251 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13252 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13253 (eieio-unbound, eieio-default-superclass)
13254 (eieio--define-field-accessors, method-static, method-before)
13255 (method-primary, method-after, method-num-lists)
13256 (method-generic-before, method-generic-primary)
13257 (method-generic-after, method-num-slots)
13258 (eieio-specialized-key-to-generic-key)
13259 (eieio--check-type, class-v, class-p)
13260 (eieio-class-name, define-obsolete-function-alias)
13261 (eieio-class-parents-fast, eieio-class-children-fast)
13262 (same-class-fast-p, class-constructor, generic-p)
13263 (generic-primary-only-p, generic-primary-only-one-p)
13264 (class-option-assoc, class-option, eieio-object-p)
13265 (class-abstract-p, class-method-invocation-order)
13266 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13267 (eieio-class-un-autoload, eieio-defclass)
13268 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13269 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13270 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13271 (eieio-defgeneric-reset-generic-form)
13272 (eieio-defgeneric-form-primary-only)
13273 (eieio-defgeneric-reset-generic-form-primary-only)
13274 (eieio-defgeneric-form-primary-only-one)
13275 (eieio-defgeneric-reset-generic-form-primary-only-one)
13276 (eieio-unbind-method-implementations)
13277 (eieio--defmethod, eieio--typep)
13278 (eieio-perform-slot-validation, eieio-validate-slot-value)
13279 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13280 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13281 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13282 (eieio-slot-name-index, eieio-class-slot-name-index)
13283 (eieio-set-defaults, eieio-initarg-to-attribute)
13284 (eieio-attribute-to-initarg, eieio-c3-candidate)
13285 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13286 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13287 (eieio-class-precedence-list, eieio-generic-call-methodname)
13288 (eieio-generic-call-arglst, eieio-generic-call-key)
13289 (eieio-generic-call-next-method-list)
13290 (eieio-pre-method-execution-functions, eieio-generic-call)
13291 (eieio-generic-call-primary-only, eieiomt-method-list)
13292 (eieiomt-optimizing-obarray, eieiomt-install)
13293 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13294 (eieio-generic-form, eieio-defmethod, make-obsolete)
13295 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13296 (defclass): Remove `eval-and-compile' from macro.
13297 (call-next-method, shared-initialize): Instead of using
13298 `scoped-class' variable, use new eieio--scoped-class, and
13299 eieio--with-scoped-class.
13300 (initialize-instance): Rename local variable 'scoped-class' to
13301 'this-class' to remove ambiguitity from old global.
13302
13303 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13304 eieio.el.
13305 (eieio--scoped-class-stack): New variable.
13306 (eieio--scoped-class): New fcn.
13307 (eieio--with-scoped-class): New scoping macro.
13308 (eieio-defclass): Use pushnew instead of add-to-list.
13309 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13310 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13311 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13312 `scoped-class' variable, use new eieio--scoped-class, and
13313 eieio--with-scoped-class.
13314
13315 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13316
13317 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13318
13319 * eshell/esh-ext.el (eshell-external-command): Pass args to
13320 `eshell-find-interpreter'.
13321 (eshell-find-interpreter): Add new second parameter ARGS.
13322
13323 * eshell/em-script.el (eshell-script-initialize): Add second arg
13324 to the function added as MATCH to `eshell-interpreter-alist'.
13325
13326 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13327 the function added as MATCH to `eshell-interpreter-alist'.
13328
13329 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13330 (eshell-visual-options): New defcustom.
13331 (eshell-escape-control-x): Adapt docstring.
13332 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13333 `eshell-visual-options' in addition to `eshell-visual-commands'.
13334 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13335
13336 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13337
13338 * progmodes/python.el (python-indent-block-enders): Add break,
13339 continue and raise keywords.
13340
13341 2013-06-01 Glenn Morris <rgm@gnu.org>
13342
13343 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13344
13345 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13346 * progmodes/cc-cmds.el (delete-forward-p):
13347 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13348 * progmodes/cc-engine.el (buffer-syntactic-context):
13349 * progmodes/cc-fonts.el (face-property-instance):
13350 * progmodes/cc-mode.el (set-keymap-parents):
13351 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13352 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13353 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13354 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13355 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13356
13357 * progmodes/cc-vars.el (other): Emacs has this widget since
13358 at least 21.1, so don't (re)define it.
13359
13360 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13361 Replace the obsolete alias pcomplete-arg-quote-list.
13362
13363 2013-06-01 Leo Liu <sdl.web@gmail.com>
13364
13365 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13366 punctuation syntax.
13367 (inferior-octave-minimal-columns)
13368 (inferior-octave-last-column-width): New variables.
13369 (inferior-octave-track-window-width-change): New function.
13370 (inferior-octave-mode): Adjust column width so that Octave output,
13371 for example from 'ls', can fit into the window nicely.
13372
13373 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13374
13375 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13376 Highlight expansions inside regexp literals.
13377
13378 2013-05-31 Glenn Morris <rgm@gnu.org>
13379
13380 * obsolete/sym-comp.el (symbol-complete):
13381 Replace obsolete completion-annotate-function.
13382
13383 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13384
13385 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13386
13387 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13388 New function, checks if point is inside a literal that allows
13389 expression expansion.
13390 (ruby-syntax-propertize-expansion): Use it.
13391 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13392 around the body.
13393
13394 2013-05-30 Juri Linkov <juri@jurta.org>
13395
13396 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13397 to "\M-si".
13398 (isearch-invisible): New variable.
13399 (isearch-forward): Doc fix.
13400 (isearch-mode): Set `isearch-invisible'
13401 to the value of `search-invisible'.
13402 (isearch-toggle-case-fold): Doc fix.
13403 (isearch-toggle-invisible): New command.
13404 (isearch-query-replace): Let-bind `search-invisible'
13405 to the value of `isearch-invisible'.
13406 (isearch-search): Use `isearch-invisible' instead of
13407 `search-invisible'. Let-bind `search-invisible'
13408 to the value of `isearch-invisible'. (Bug#11378)
13409
13410 2013-05-30 Juri Linkov <juri@jurta.org>
13411
13412 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13413 call when `query-flag' is nil and `search-invisible' is non-nil.
13414 (Bug#11746)
13415
13416 2013-05-30 Glenn Morris <rgm@gnu.org>
13417
13418 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13419
13420 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13421 (cc-require): Suppress spurious "noruntime" warnings.
13422 (cc-require-when-compile): Use fboundp, for sake of compiler.
13423
13424 * progmodes/cc-mode.el: Move load of cc-vars before that of
13425 cc-langs (which in turn loads cc-vars), to quieten compiler.
13426
13427 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13428
13429 * paren.el: Simplify the code.
13430 (show-paren-mode): Always start the timer.
13431 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13432 (show-paren--overlay, show-paren--overlay-1): Rename from
13433 show-paren-overlay and show-paren-overlay-1, and initialize to an
13434 overlay rather than to nil.
13435 (show-paren-function): Misc cleanup and simplifications.
13436
13437 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 * paren.el (show-paren-data-function): New hook.
13440 (show-paren--default): New function, extracted from show-paren-function.
13441 (show-paren-function): Use show-paren-data-function.
13442
13443 2013-05-30 Glenn Morris <rgm@gnu.org>
13444
13445 * ielm.el (ielm-map, ielm-complete-symbol):
13446 Use completion-at-point rather than obsolete functions.
13447 (inferior-emacs-lisp-mode): Doc fix.
13448 Set completion-at-point-functions, rather than
13449 comint-dynamic-complete-functions.
13450
13451 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13452 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13453 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13454
13455 * image.el (image-animated-p): Tweak definition.
13456
13457 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13458 (rlogin-process-connection-type): Tweak default. Add set-after.
13459 (rlogin-host): Doc fix.
13460 (rlogin): Tweak prompt.
13461 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13462
13463 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13464 * progmodes/tcl.el (inferior-tcl-mode-map):
13465 Use completion-at-point rather than obsolete alias.
13466
13467 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13468
13469 * minibuffer.el (read-file-name-completion-ignore-case):
13470 Move before completion--in-region, for eager macro expansion.
13471
13472 2013-05-29 Juri Linkov <juri@jurta.org>
13473
13474 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13475 for total count of matching lines. Add `global-matches' for total
13476 count of matches. Rename `matches' to `lines' for count of
13477 matching lines. Add `matches' for count of matches.
13478 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13479 to `prev-line' for line number of prev match endpt.
13480 Increment `matches' for every match. Print the number of
13481 matching lines in the header.
13482 (occur-context-lines): Rename `lines' to `curr-line'.
13483 Rename `prev-lines' to `prev-line'. (Bug#14017)
13484
13485 2013-05-29 Juri Linkov <juri@jurta.org>
13486
13487 * replace.el (perform-replace): Add `skip-read-only-count',
13488 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13489 Increment them for corresponding conditions and report the number
13490 of skipped occurrences in the final message. (Bug#11746)
13491 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13492 (replace-string, replace-regexp): Doc fix.
13493
13494 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13497
13498 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13499 prog-mode-map (bug#14504).
13500
13501 2013-05-29 Leo Liu <sdl.web@gmail.com>
13502
13503 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13504 (octave-help): Small simplification.
13505
13506 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13507 off the highlight first.
13508
13509 2013-05-29 Glenn Morris <rgm@gnu.org>
13510
13511 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13512 Handle idlwave-last-system-routine-info-cons-cell being nil.
13513
13514 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13515 (idlwave-write-paths): Simplify via with-temp-buffer.
13516
13517 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13518 * emulation/cua-rect.el: Also load cua-base at run time.
13519
13520 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13521 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13522 (cperl-imenu-on-info): Require imenu.
13523
13524 2013-05-28 Alan Mackenzie <acm@muc.de>
13525
13526 Handle "capitalised keywords" correctly.
13527 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13528
13529 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13530
13531 * eshell/em-unix.el: Add -r option to cp.
13532
13533 2013-05-28 Glenn Morris <rgm@gnu.org>
13534
13535 * vc/vc-arch.el (vc-exec-after): Declare.
13536 (vc-switches): Autoload.
13537 * vc/vc-bzr.el: No need to require vc when compiling.
13538 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13539 (vc-resynch-buffer, vc-dir-refresh): Declare.
13540 (vc-setup-buffer, vc-switches): Autoload.
13541 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13542 (vc-resynch-buffer): Declare.
13543 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13544 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13545 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13546 (grep-read-regexp, grep-read-files, grep-expand-template)
13547 (vc-dir-refresh): Declare.
13548 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13549 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13550 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13551 * vc/vc-mtn.el (vc-exec-after): Declare.
13552 (vc-switches): Autoload.
13553 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13554 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13555 (vc-file-tree-walk): Declare.
13556 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13557 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13558 (vc-tag-precondition, vc-rename-master): Autoload.
13559 * vc/vc-svn.el (vc-exec-after): Declare.
13560 (vc-switches, vc-setup-buffer): Autoload.
13561 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13562 Autoload.
13563 (vc-resynch-buffer): Declare.
13564
13565 * obsolete/fast-lock.el (byte-compile-warnings):
13566 Don't warn about obsolete features in this obsolete file.
13567
13568 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13569 Move definition before use.
13570
13571 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13572 (dun-unix-verbs): Remove dun-zippy.
13573 (dun-zippy): Remove function.
13574
13575 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13576
13577 2013-05-27 Juri Linkov <juri@jurta.org>
13578
13579 * replace.el (replace-search): New function with code moved out
13580 from `perform-replace'.
13581 (replace-highlight, replace-dehighlight): Move function definitions
13582 up closer to `replace-search'. (Bug#11746)
13583
13584 2013-05-27 Juri Linkov <juri@jurta.org>
13585
13586 * replace.el (perform-replace): Ignore invisible matches.
13587 In addition to checking `query-replace-skip-read-only', also
13588 filter out matches by calling `run-hook-with-args-until-failure'
13589 on `isearch-filter-predicates', and also check `search-invisible'
13590 for t or call `isearch-range-invisible'.
13591 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13592
13593 2013-05-27 Juri Linkov <juri@jurta.org>
13594
13595 * isearch.el (isearch-filter-predicates): Rename from
13596 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13597 (isearch-message-prefix): Display text from the property
13598 `isearch-message-prefix' of the currently active filters.
13599 (isearch-search): Don't compare `isearch-filter-predicate' with
13600 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13601 on `isearch-filter-predicates'. Also check `search-invisible' for t
13602 or call `isearch-range-invisible'.
13603 (isearch-filter-visible): Make obsolete.
13604 (isearch-lazy-highlight-search):
13605 Call `run-hook-with-args-until-failure' on
13606 `isearch-filter-predicates' and use `isearch-range-invisible'.
13607
13608 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13609 `isearch-filter-predicates' instead of `funcall'ing
13610 `isearch-filter-predicate'.
13611 (Info-mode): Set `Info-isearch-filter' to
13612 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13613
13614 * dired-aux.el (dired-isearch-filter-predicate-orig):
13615 Remove variable.
13616 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13617 (dired-isearch-filenames-end): Add and remove
13618 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13619 instead of changing the value of `isearch-filter-predicate'.
13620 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13621 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13622 Put property `isearch-message-prefix' to "filename " on
13623 `dired-isearch-filter-filenames'.
13624
13625 * wdired.el (wdired-change-to-wdired-mode):
13626 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13627 locally instead of changing `isearch-filter-predicate'.
13628 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13629
13630 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13631
13632 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13633 return the commit hash (Bug#14459). Also set the
13634 `vc-git-detached' property.
13635 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13636 (vc-git-mode-line-string): Use the same help-echo format whether
13637 in detached mode or not, because we know the actual revision now.
13638 When in detached mode, shorten the revision to 7 chars.
13639
13640 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13641
13642 * emacs-lisp/easy-mmode.el (define-minor-mode):
13643 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13644 mode hook and provide a docstring.
13645
13646 2013-05-27 Alan Mackenzie <acm@muc.de>
13647
13648 Remove spurious syntax-table text properties inserted by C-y.
13649 * progmodes/cc-mode.el (c-after-change): Also clear hard
13650 syntax-table property with value nil.
13651
13652 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13653
13654 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13655 when reading the events; the buffer layout shall not be changed.
13656
13657 2013-05-27 Leo Liu <sdl.web@gmail.com>
13658
13659 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13660 New variable.
13661 (inferior-octave-directory-tracker): Automatically re-sync
13662 default-directory.
13663 (octave-help): Improve handling of 'See also'.
13664
13665 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * doc-view.el: Minor naming convention tweaks.
13668 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13669
13670 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13671 even if there's no `display' property yet (bug#14435).
13672
13673 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13674
13675 * subr.el (unmsys--file-name): Rename from reveal-filename.
13676
13677 * Makefile.in (custom-deps, finder-data, autoloads)
13678 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13679 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13680 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13681
13682 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13685 error-completion on the first 2 args of condition-case (bug#14446).
13686 Don't burp at EOB.
13687
13688 2013-05-25 Leo Liu <sdl.web@gmail.com>
13689
13690 * comint.el (comint-previous-matching-input): Do not flood the
13691 *Messages* buffer with trivial messages.
13692
13693 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * progmodes/flymake.el (flymake-nop): Don't return a string.
13696 (flymake-set-at): Fix typo.
13697
13698 * simple.el (read--expression): New function, extracted from
13699 eval-expression. Set completion-at-point-functions (bug#14465).
13700 (eval-expression, eval-minibuffer): Use it.
13701
13702 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13703
13704 * progmodes/flymake.el (flymake-save-buffer-in-file)
13705 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13706 (flymake-selected-frame, flymake-log, flymake-ins-after)
13707 (flymake-set-at, flymake-get-buildfile-from-cache)
13708 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13709 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13710 Refine the doc string.
13711 (flymake-get-file-name-mode-and-masks): Reformat.
13712 (flymake-get-real-file-name-function): Fix a minor bug.
13713
13714 2013-05-24 Juri Linkov <juri@jurta.org>
13715
13716 * progmodes/grep.el (grep-mode-font-lock-keywords):
13717 Support =linenumber= format used by git-grep for lines with
13718 function names. (Bug#13549)
13719
13720 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13721
13722 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13723 0 after a semi-colon; it works better for smie-auto-fill.
13724 (octave--indent-new-comment-line): New function.
13725 (octave-indent-new-comment-line): Use it (indirectly).
13726 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13727 modify comment-line-break-function.
13728
13729 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13730 (smie-setup): Use add-function to set it.
13731
13732 2013-05-24 Sam Steingold <sds@gnu.org>
13733
13734 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13735 argument (before the `interactive' argument).
13736
13737 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * image-mode.el (image-mode-winprops): Add winprops to
13740 image-mode-winprops-alist before running
13741 image-mode-new-window-functions.
13742 * doc-view.el (doc-view-new-window-function): Don't delay
13743 doc-view-goto-page via timers (bug#14435).
13744
13745 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13746
13747 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13748 (doc-view-desktop-save-buffer): New function.
13749 (doc-view-restore-desktop-buffer): New function.
13750 (desktop-buffer-mode-handlers):
13751 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13752 handler.
13753 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13754 `desktop-save-buffer' function.
13755
13756 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13757
13758 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13759 (tramp-gvfs-file-name-handler): Raise a user error when
13760 `tramp-gvfs-enabled' is nil.
13761 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13762 Do not raise a user error when loading package. (Bug#14447)
13763
13764 * net/xesam.el: Move to obsolete/.
13765
13766 2013-05-24 Glenn Morris <rgm@gnu.org>
13767
13768 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13769
13770 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13771
13772 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13773 (Info-find-node, Man-getpage-in-background): Declare.
13774
13775 * mail/unrmail.el (unrmail):
13776 Replace obsolete detect-coding-with-priority.
13777
13778 * net/socks.el (socks-split-string): Use this rather than split-string.
13779 (socks-nslookup-host): Update for above change.
13780 (dynamic-choice, s5-dynamic-choice-match)
13781 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13782 Comment out unused code.
13783
13784 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13785 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13786 (gud-tooltip-echo-area): Make obsolete.
13787 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13788
13789 * progmodes/js.el (js--optimize-arglist): Declare.
13790
13791 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13792
13793 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13794 (ediff-window-C): Declare.
13795
13796 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13797 Tweak requires to silence compiler.
13798
13799 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13800 (he-search-string, he-tried-table, he-expand-list)
13801 (he-init-string, he-string-member, he-substitute-string)
13802 (he-reset-string): Declare.
13803
13804 * obsolete/options.el (list-options): Use custom-variable-p,
13805 rather than obsolete alias.
13806
13807 2013-05-23 Sam Steingold <sds@gnu.org>
13808
13809 * simple.el (shell-command-on-region): Pass the `replace' argument
13810 down to `call-process-region' to comply with the doc as reported on
13811 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13812
13813 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13814
13815 * emacs-lisp/smie.el (smie-indent-forward-token)
13816 (smie-indent-backward-token): Handle string tokens (bug#14381).
13817
13818 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13819
13820 * ielm.el (ielm-menu): New menu.
13821 (inferior-emacs-lisp-mode): Set comment-start.
13822
13823 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13824
13825 * textmodes/reftex.el (reftex-ref-style-toggle):
13826 Fix deactivate action.
13827
13828 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13829 Add cleveref macros.
13830
13831 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13832 Accept options for bibliography commands.
13833 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13834 Add addbibresource. Basic Biblatex support.
13835
13836 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13837
13838 * net/tramp-gvfs.el (top):
13839 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13840 when loading package. (Bug#14447)
13841
13842 2013-05-23 Glenn Morris <rgm@gnu.org>
13843
13844 * progmodes/js.el: No need to load comint when compiling.
13845 (ring-insert, comint-send-string, comint-send-input)
13846 (comint-last-input-end, ido-chop): Declare.
13847
13848 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13849 * vc/ediff-mult.el: Adjust requires.
13850 (ediff-directories-internal, ediff-directory-revisions-internal)
13851 (ediff-patch-file-internal): Declare.
13852 * vc/ediff-ptch.el: Adjust requires.
13853 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13854 (ediff-find-file): Autoload.
13855 * vc/ediff-util.el: No need to load ediff when compiling.
13856 (ediff-regions-internal): Declare.
13857 * vc/ediff-wind.el: Adjust requires.
13858 (ediff-compute-toolbar-width): Define when compiling.
13859 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13860 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13861 (dired-get-filename, dired-get-marked-files)
13862 (ediff-last-dir-patch, ediff-patch-default-directory)
13863 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13864 (ediff-patch-buffer-internal): Declare.
13865
13866 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13867 (ispell-process, ispell-buffer-local-words, lm-summary)
13868 (lm-section-start, lm-section-end): Declare.
13869 (checkdoc-ispell-init): Simplify.
13870
13871 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13872 (he-string-member, he-reset-string, he-substitute-string): Declare.
13873
13874 * eshell/em-ls.el: Adjust requires.
13875 (eshell-glob-regexp): Declare.
13876 * eshell/em-tramp.el: Adjust requires.
13877 (eshell-parse-command): Autoload.
13878 * eshell/em-xtra.el: Adjust requires.
13879 (eshell-parse-command): Autoload.
13880 * eshell/esh-ext.el: Adjust requires.
13881 (eshell-parse-command, eshell-close-handles): Autoload.
13882 * eshell/esh-io.el: Adjust requires.
13883 (eshell-output-filter): Autoload.
13884 * eshell/esh-util.el: No need to load tramp when compiling.
13885 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13886 Declare.
13887 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13888 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13889 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13890 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13891 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13892 * eshell/esh-opt.el, eshell/esh-proc.el:
13893 * eshell/esh-var.el: Adjust requires.
13894 * eshell/eshell.el: Do not require esh-util twice.
13895 (eshell-add-input-to-history): Declare.
13896 (eshell-command): Check history module is active before using it.
13897
13898 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13899
13900 2013-05-22 Leo Liu <sdl.web@gmail.com>
13901
13902 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13903
13904 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13905
13906 * autorevert.el (auto-revert-notify-add-watch)
13907 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13908 it indicates changes in file modification time.
13909
13910 2013-05-22 Glenn Morris <rgm@gnu.org>
13911
13912 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13913 Always delete the autoloaded function from the noruntime and
13914 unresolved functions lists.
13915
13916 * allout.el: No need to load epa, epg, overlay when compiling.
13917 (epg-context-set-passphrase-callback, epg-list-keys)
13918 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13919 (epg-key-user-id-list): Declare.
13920
13921 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13922 (viper-set-parsing-style-toggling-macro)
13923 (viper-set-emacs-state-searchstyle-macros):
13924 Use called-interactively-p on Emacs.
13925 (viper-looking-back): Make it an obsolete alias. Update callers.
13926 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13927 Use looking-back rather than viper-looking-back.
13928 (viper-tmp-insert-at-eob, viper-enlarge-region)
13929 (viper-read-string-with-history, viper-register-to-point)
13930 (viper-append-to-register, viper-change-state-to-vi)
13931 (viper-backward-char-carefully, viper-forward-char-carefully)
13932 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13933 (viper-change-state-to-emacs): Declare.
13934 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13935 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13936 * emulation/viper-mous.el: Do not load viper-cmd.
13937 (viper-backward-char-carefully, viper-forward-char-carefully)
13938 (viper-forward-word, viper-adjust-window): Declare.
13939
13940 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13941
13942 * progmodes/idlw-help.el (idlwave-help-fontify):
13943 Use called-interactively-p.
13944
13945 * term/w32console.el (w32-get-console-codepage)
13946 (w32-get-console-output-codepage): Declare.
13947
13948 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13949 Remove unnecessary declarations.
13950 (dframe-message): Doc fix.
13951
13952 * info.el (dframe-select-attached-frame, dframe-current-frame):
13953 Declare.
13954
13955 * speedbar.el (speedbar-message): Make it an obsolete alias.
13956 Update all callers.
13957 (speedbar-with-attached-buffer)
13958 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13959 (speedbar-with-writable): Use backquote.
13960 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13961 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13962 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13963 rather than speedbar- aliases.
13964 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13965 (speedbar-make-specialized-keymap, speedbar-insert-button)
13966 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13967 (speedbar-do-function-pointer): Declare.
13968 (rmail-speedbar-button, rmail-speedbar-find-file)
13969 (rmail-speedbar-move-message):
13970 Use dframe-with-attached-buffer rather than speedbar- alias.
13971 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13972 (dframe-message, speedbar-make-specialized-keymap)
13973 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13974 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13975 (speedbar-insert-button, dframe-select-attached-frame)
13976 (dframe-maybee-jump-to-attached-frame)
13977 (speedbar-change-initial-expansion-list)
13978 (speedbar-previously-used-expansion-list-name): Declare.
13979 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13980 Use dframe-message, dframe-with-attached-buffer rather than
13981 speedbar- aliases.
13982 (gud-sentinel): Silence compiler.
13983 * progmodes/vhdl-mode.el (speedbar-refresh)
13984 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13985 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13986 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13987 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13988 (speedbar-file-lists, speedbar-make-tag-line)
13989 (speedbar-line-directory, speedbar-goto-this-file)
13990 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13991 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13992 (speedbar-make-button, speedbar-reset-scanners)
13993 (speedbar-files-item-info, speedbar-line-text)
13994 (speedbar-find-file-in-frame, speedbar-set-timer)
13995 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13996 (speedbar-with-writable): Do not (re)define it.
13997 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13998 rather than speedbar- alias.
13999
14000 2013-05-21 Leo Liu <sdl.web@gmail.com>
14001
14002 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14003 menu items.
14004 (octave-mode): Tweak fill-nobreak-predicate.
14005 (inferior-octave-startup): Check process to avoid infinite loop.
14006 (inferior-octave): Pop to buffer first to show abornmal process
14007 exit information.
14008
14009 2013-05-21 Glenn Morris <rgm@gnu.org>
14010
14011 * printing.el (pr-menu-bar): Define when compiling.
14012
14013 2013-05-21 Leo Liu <sdl.web@gmail.com>
14014
14015 * progmodes/octave.el (octave-auto-fill): Remove.
14016 (octave-indent-new-comment-line): Improve.
14017 (octave-mode): Use auto fill mode through
14018 comment-line-break-function and fill-nobreak-predicate.
14019 (octave-goto-function-definition): Support DEFUN_DLD.
14020 (octave-beginning-of-defun): Small tweak.
14021 (octave-help): Show parent directory.
14022
14023 2013-05-21 Glenn Morris <rgm@gnu.org>
14024
14025 * files.el (dired-unmark):
14026 * progmodes/gud.el (gdb-input): Update declarations.
14027
14028 * calculator.el (electric, ehelp): No need to load when compiling.
14029 (Electric-command-loop, electric-describe-mode): Declare.
14030
14031 * doc-view.el (doc-view-current-converter-processes): Move before use.
14032
14033 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14034 Move MODE-set-explicitly definition before use.
14035
14036 * international/mule-diag.el (mule-diag):
14037 Don't use obsolete window-system-version.
14038
14039 * mail/feedmail.el (smtpmail): No need to load when compiling.
14040 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14041
14042 * mail/mail-utils.el (rfc822): No need to load when compiling.
14043 (rfc822-addresses): Autoload it.
14044 (mail-strip-quoted-names): Trivial simplification.
14045
14046 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14047 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14048
14049 * net/snmp-mode.el (tempo): Don't duplicate requires.
14050
14051 * progmodes/prolog.el (info): No need to load when compiling.
14052 (comint): Require before shell requires it.
14053 (Info-goto-node): Autoload it.
14054 (Info-follow-nearest-node): Declare.
14055 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14056
14057 * textmodes/artist.el (picture-mode-exit): Declare.
14058
14059 * textmodes/reftex-parse.el (reftex-parse-from-file):
14060 Trivial rewrite so the compiler can parse it better.
14061
14062 2013-05-20 Leo Liu <sdl.web@gmail.com>
14063
14064 * progmodes/octave.el (octave-help-mode-map)
14065 (octave-help-mode-finish-hook): New variables.
14066 (octave-help-mode, octave-help-mode-finish): New functions.
14067 (octave-help): Use octave-help-mode.
14068
14069 2013-05-20 Glenn Morris <rgm@gnu.org>
14070
14071 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14072
14073 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14074
14075 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14076 start at point, so that expansion starting right after opening
14077 slash in a regexp is recognized.
14078 (ruby-syntax-before-regexp-re): New defvar, extracted from
14079 ruby-syntax-propertize-function. Since the value of this regexp
14080 is looked up at runtime now, we should be able to turn
14081 `ruby-syntax-methods-before-regexp' into a defcustom later.
14082 (ruby-syntax-propertize-function): Split regexp matching into two
14083 parts, for opening and closing slashes. That allows us to skip
14084 over string interpolations and support multiline regexps.
14085 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14086 for them, which calls `ruby-syntax-propertize-expansion'.
14087 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14088 call to `ruby-syntax-propertize-function'.
14089 (ruby-syntax-propertize-expansion): Extracted from
14090 `ruby-syntax-propertize-expansions'. Handles one expansion.
14091 (ruby-syntax-propertize-percent-literal): Leave point right after
14092 the percent symbol, so that the expression expansion rule can
14093 propertize the contents.
14094 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14095 heredoc openers.
14096 (ruby-syntax-propertize-expansions): Remove.
14097
14098 2013-05-18 Juri Linkov <juri@jurta.org>
14099
14100 * man.el (Man-default-man-entry): Remove `-' from the end
14101 of the default value. (Bug#14400)
14102
14103 2013-05-18 Glenn Morris <rgm@gnu.org>
14104
14105 * comint.el (comint-password-prompt-regexp):
14106 Allow "password for XXX" where XXX contains colons (eg https://...).
14107
14108 2013-05-18 Leo Liu <sdl.web@gmail.com>
14109
14110 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14111 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14112 (octave-source-directories): Don't check process.
14113 (octave-source-directories, octave-find-definition): Doc fix.
14114
14115 2013-05-18 Glenn Morris <rgm@gnu.org>
14116
14117 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14118 Remove backspace/delete bindings. (Bug#14392)
14119
14120 * cus-dep.el (custom-make-dependencies): Sort the output.
14121 (custom-versions-load-alist): Convert comment to doc.
14122
14123 2013-05-17 Leo Liu <sdl.web@gmail.com>
14124
14125 * newcomment.el (comment-search-backward): Stricter in finding
14126 comment start. (Bug#14303)
14127
14128 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14129 (octave-comment-start-skip): Properly anchored.
14130
14131 2013-05-17 Leo Liu <sdl.web@gmail.com>
14132
14133 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14134 Clean up when turned off. (Bug#14395)
14135 (smie--highlight-matching-block-overlay): No longer buffer-local.
14136 (smie-highlight-matching-block): Adjust.
14137
14138 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14139
14140 Doc string fix for "nanoseconds" (Bug#14406).
14141 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14142 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14143
14144 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14145
14146 * calc/calc-units.el (math-extract-units): Preserve powers
14147 of units.
14148
14149 2013-05-17 Leo Liu <sdl.web@gmail.com>
14150
14151 * subr.el (delete-consecutive-dups): New function.
14152 * ido.el (ido-set-matches-1): Use it.
14153 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14154 * ido.el (ido-remove-consecutive-dups): Remove.
14155
14156 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14157
14158 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14159 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14160 regexp-opt's `words'.
14161
14162 2013-05-16 Leo Liu <sdl.web@gmail.com>
14163
14164 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14165 (smie--highlight-matching-block-overlay)
14166 (smie--highlight-matching-block-lastpos)
14167 (smie--highlight-matching-block-timer): New variables.
14168 (smie-highlight-matching-block): New function.
14169 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14170 (smie-setup): Conditionally enable smie-blink-matching-open.
14171
14172 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14173
14174 Sync with upstream verilog-mode r840.
14175 * progmodes/verilog-mode.el (verilog-mode-version)
14176 (verilog-mode-release-date): Update.
14177 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14178 (verilog-sig-tieoff): Fix string error on
14179 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14180 (verilog-read-decls): Fix parameters confusing
14181 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14182
14183 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14184
14185 * subr.el (reveal-filename): New function.
14186
14187 * loadup.el: Compute Emacs executable versions on MS-Windows,
14188 where executables have the .exe extension. Add a hard link
14189 emacs-XX.YY.ZZ.exe on MS-Windows.
14190
14191 * Makefile.in (XARGS_LIMIT): New variable.
14192 (custom-deps, finder-data, autoloads)
14193 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14194 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14195 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14196 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14197
14198 2013-05-16 Leo Liu <sdl.web@gmail.com>
14199
14200 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14201 (octave-mode-menu, octave-mode-map): Remove its uses.
14202
14203 2013-05-16 Reto Zimmermann <reto@gnu.org>
14204
14205 Sync with upstream vhdl mode v3.34.2.
14206 * progmodes/vhdl-mode.el: Use `push' throughout.
14207 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14208 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14209 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14210 (vhdl-actual-generic-name): New option to derive actual generic name.
14211 (vhdl-port-paste-signals): Replace formal by actual generics.
14212 (vhdl-beautify): New name for old group vhdl-align. Update users.
14213 (vhdl-beautify-options): New option.
14214 (vhdl-last-input-event): New compat alias. Use throughout.
14215 (vhdl-goto-line): Replace user level function `goto-line'.
14216 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14217 vhdl-fix-statement-buffer.
14218 (vhdl-create-mode-menu): Add some entries.
14219 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14220 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14221 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14222 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14223 to force statements on one line.
14224 (vhdl-remove-trailing-spaces-region):
14225 New, split from vhdl-remove-trailing-spaces.
14226 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14227 Respect vhdl-beautify-options.
14228 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14229 (vhdl-update-sensitivity-list): Not add with index if exists without.
14230 Not include array index with signal. Ignore keywords in comments.
14231 (vhdl-get-visible-signals): Regexp tweaks.
14232 (vhdl-template-component-inst): Handle empty library.
14233 (vhdl-template-type): Add template for 'enum' type.
14234 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14235 Use vhdl-replace-string.
14236 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14237 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14238 (vhdl-speedbar-initialize): Update for above name change.
14239 (vhdl-compose-wire-components): Fix in handling of constants.
14240 (vhdl-error-regexp-emacs-alist): New variable.
14241 (vhdl-error-regexp-add-emacs): New function;
14242 adds support for new compile.el (Emacs 22+)
14243 (vhdl-generate-makefile-1): Change target order for single lib. units.
14244 Allow use of absolute file names.
14245
14246 2013-05-16 Leo Liu <sdl.web@gmail.com>
14247
14248 * simple.el (prog-indent-sexp): Indent enclosing defun.
14249
14250 2013-05-15 Glenn Morris <rgm@gnu.org>
14251
14252 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14253 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14254 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14255 (whitespace-highlight): Move to whitespace group.
14256
14257 * comint.el (comint-source):
14258 * pcmpl-linux.el (pcmpl-linux):
14259 * shell.el (shell-faces):
14260 * eshell/esh-opt.el (eshell-opt):
14261 * international/ccl.el (ccl): Remove empty custom groups.
14262
14263 * completion.el (dynamic-completion-mode):
14264 * jit-lock.el (jit-lock-debug-mode):
14265 * minibuffer.el (completion-in-region-mode):
14266 * type-break.el (type-break-mode-line-message-mode)
14267 (type-break-query-mode):
14268 * emulation/tpu-edt.el (tpu-edt-mode):
14269 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14270 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14271 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14272
14273 * term/xterm.el (xterm): Change parent group to terminals.
14274
14275 * master.el (master): Remove empty custom group.
14276 (master-mode): Remove unused :group argument.
14277 * textmodes/refill.el (refill): Remove empty custom group.
14278 (refill-mode): Remove unused :group argument.
14279
14280 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14281
14282 * cus-dep.el: Provide a feature.
14283 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14284 Don't mistakenly ignore files whose basenames match a basename
14285 from preloaded-file-list (eg cedet/ede/simple.el).
14286 Add a fallback method for getting :group.
14287
14288 2013-05-15 Juri Linkov <juri@jurta.org>
14289
14290 * isearch.el (isearch-char-by-name): Rename from
14291 `isearch-insert-char-by-name'. Doc fix.
14292 (isearch-forward): Mention `isearch-char-by-name' in
14293 the docstring. (Bug#13348)
14294
14295 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14296 `exit-minibuffer' instead of
14297 `isearch-nonincremental-exit-minibuffer'.
14298 (isearch-edit-string): Remove mention of
14299 `isearch-nonincremental-exit-minibuffer' from docstring.
14300 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14301 (isearch-forward-exit-minibuffer)
14302 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14303
14304 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * loadup.el: Just use unversioned DOC.
14307
14308 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14309 literals as extending to EOB.
14310 (nxml-last-fontify-end): Remove unused variable.
14311 (nxml-after-change1): Use with-silent-modifications.
14312 (nxml-extend-after-change-region): Simplify.
14313 (nxml-extend-after-change-region1): Remove function.
14314 (nxml-after-change1): Don't adjust for dependent regions.
14315 (nxml-fontify-matcher): Simplify.
14316 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14317 (xmltok-add-dependent): Remove function.
14318 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14319 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14320 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14321 unclosed <[[, <?, comment, and other literals as extending to EOB.
14322 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14323 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14324 Remove functions.
14325 (rng-do-some-validation-1): Don't mark dependent regions.
14326 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14327 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14328 (nxml-clear-dependent-regions): Remove functions.
14329 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14330 (nxml-ensure-scan-up-to-date):
14331 Don't clear&mark dependent regions.
14332
14333 2013-05-15 Leo Liu <sdl.web@gmail.com>
14334
14335 * progmodes/octave.el (octave-goto-function-definition):
14336 Improve and fix callers.
14337
14338 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14339
14340 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14341 the setter (bug#14387).
14342
14343 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14344 surrounding group (bug#14402).
14345
14346 2013-05-14 Juri Linkov <juri@jurta.org>
14347
14348 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14349 (Bug#14390)
14350
14351 2013-05-14 Glenn Morris <rgm@gnu.org>
14352
14353 * progmodes/f90.el (f90-imenu-generic-expression):
14354 Fix typo in 2013-05-08 change. (Bug#14402)
14355
14356 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14357
14358 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14359 Remove signals for which replies are never received.
14360
14361 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14362
14363 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14364 (gdb-handler-alist, gdb-handler-number): Remove variables.
14365 (gdb-handler-list): New variable.
14366 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14367 (gdb-pending-handler-p, gdb-handle-reply)
14368 (gdb-remove-all-pending-triggers): New functions.
14369 (gdb-discard-unordered-replies): New defcustom.
14370 (gdb-handler): New defstruct.
14371 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14372 instead of gdb-pending-triggers. Update docstring.
14373 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14374 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14375 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14376 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14377 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14378 (gdb-frame-handler): Pending triggers are now automatically managed.
14379 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14380 Remove argument.
14381 (gdb-input): Automatically handles pending triggers. Update docstring.
14382 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14383 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14384 Update comments.
14385 (gdb-done-or-error): Now use gdb-handle-reply.
14386
14387 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14388
14389 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14390 gdb-debug-log.
14391
14392 2013-05-14 Glenn Morris <rgm@gnu.org>
14393
14394 * subr.el (user-emacs-directory-warning): New option.
14395 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14396
14397 2013-05-14 Leo Liu <sdl.web@gmail.com>
14398
14399 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14400 during redisplay.
14401 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14402 (octave-font-lock-texinfo-comment): Fix invalid search bound
14403 error: wrong side of point.
14404
14405 2013-05-14 Glenn Morris <rgm@gnu.org>
14406
14407 * progmodes/flymake.el (flymake-xml-program): New option.
14408 (flymake-xml-init): Use it.
14409
14410 * term/xterm.el: Provide a feature.
14411
14412 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14413
14414 2013-05-13 Glenn Morris <rgm@gnu.org>
14415
14416 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14417 Add compat aliases as a hack workaround. (Bug#14384)
14418
14419 2013-05-13 Leo Liu <sdl.web@gmail.com>
14420
14421 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14422 ###, and %!.
14423 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14424 C-M-q.
14425 (octave-comment-start-skip): Include %!.
14426 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14427
14428 2013-05-12 Leo Liu <sdl.web@gmail.com>
14429
14430 * progmodes/octave.el (inferior-octave-startup): Store the value
14431 of __octave_srcdir__ for octave-source-directories.
14432 (inferior-octave-check-process): New function refactored out of
14433 inferior-octave-send-list-and-digest.
14434 (octave-source-directories)
14435 (octave-find-definition-filename-function): New variables.
14436 (octave-source-directories)
14437 (octave-find-definition-default-filename): New functions.
14438 (octave-find-definition): Improve to find functions implemented in C++.
14439
14440 2013-05-12 Glenn Morris <rgm@gnu.org>
14441
14442 * calendar/diary-lib.el (diary-outlook-format-1):
14443 Don't include dayname in the output. (Bug#14349)
14444
14445 2013-05-11 Glenn Morris <rgm@gnu.org>
14446
14447 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14448
14449 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14450 Treat cc-provide like provide.
14451
14452 2013-05-11 Kevin Ryde <user42@zip.com.au>
14453
14454 * cus-dep.el (custom-make-dependencies):
14455 Use generated-autoload-load-name for the sake of files such
14456 such cedet/semantic/bovine/c.el, where the base file name
14457 is not in load-path. (Bug#5277)
14458
14459 2013-05-11 Glenn Morris <rgm@gnu.org>
14460
14461 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14462 Provide features.
14463
14464 2013-05-11 Leo Liu <sdl.web@gmail.com>
14465
14466 * progmodes/octave.el (octave-indent-comment): Improve.
14467 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14468 (octave-eldoc-function-signatures, octave-eldoc-function):
14469 New functions.
14470 (octave-mode, inferior-octave-mode): Add eldoc support.
14471
14472 2013-05-11 Richard Stallman <rms@gnu.org>
14473
14474 * epa.el (epa-decrypt-file): Take output file name as argument
14475 and read it using `interactive'.
14476
14477 2013-05-11 Leo Liu <sdl.web@gmail.com>
14478
14479 * progmodes/octave.el (octave-beginning-of-line)
14480 (octave-end-of-line): Check before using up-list because it jumps
14481 out of more syntactic contructs since moving to smie.
14482 (octave-indent-comment): New function.
14483 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14484 (octave-begin-keywords, octave-end-keywords)
14485 (octave-reserved-words, octave-smie-bnf-table)
14486 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14487
14488 2013-05-11 Glenn Morris <rgm@gnu.org>
14489
14490 * faces.el (internal-face-x-get-resource):
14491 * frame.el (ns-display-monitor-attributes-list):
14492 * calc/calc-aent.el (math-to-radians-2):
14493 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14494 Fix declarations.
14495
14496 * calc/calc-menu.el: Make it loadable in isolation.
14497
14498 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14499 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14500 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14501 (eudc-bbdb-query-internal): Require 'bbdb.
14502
14503 * lpr.el (lpr-headers-switches):
14504 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14505
14506 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14507
14508 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14509
14510 * term.el (term-set-escape-char): Make it idempotent.
14511
14512 2013-05-10 Leo Liu <sdl.web@gmail.com>
14513
14514 * progmodes/octave.el (inferior-octave-completion-table):
14515 No longer a function and all uses changed. Use cache to speed up
14516 completion due to bug#11906.
14517 (octave-beginning-of-defun): Re-write to be more general.
14518
14519 2013-05-10 Glenn Morris <rgm@gnu.org>
14520
14521 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14522
14523 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * comint.el (comint-redirect-send-command-to-process): Use :around
14526 rather than :override for comint-redirect-filter.
14527 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14528 Call it instead of comint-redirect-original-filter-function (which
14529 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14530
14531 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14532
14533 * frame.el (display-monitor-attributes-list): Add NS case.
14534 (ns-display-monitor-attributes-list): Declare.
14535
14536 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14537
14538 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14539
14540 2013-05-09 Glenn Morris <rgm@gnu.org>
14541
14542 * international/fontset.el (vertical-centering-font-regexp):
14543 Set standard-value.
14544
14545 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14546
14547 * bookmark.el (bookmark-search-delay):
14548 * cus-start.el (vertical-centering-font-regexp):
14549 * ps-mule.el (ps-mule-font-info-database-default):
14550 * ps-print.el (ps-default-fg, ps-default-bg):
14551 * type-break.el (type-break-good-break-interval):
14552 * whitespace.el (whitespace-indentation-regexp)
14553 (whitespace-space-after-tab-regexp):
14554 * emacs-lisp/testcover.el (testcover-1value-functions)
14555 (testcover-noreturn-functions, testcover-progn-functions)
14556 (testcover-prog1-functions):
14557 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14558 * eshell/em-glob.el (eshell-glob-translate-alist):
14559 * play/tetris.el (tetris-tty-colors):
14560 * progmodes/cpp.el (cpp-face-default-list):
14561 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14562 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14563 (idlwave-help-browser-generic-args):
14564 * progmodes/make-mode.el (makefile-special-targets-list):
14565 * progmodes/python.el (python-shell-virtualenv-path):
14566 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14567 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14568 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14569 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14570 * textmodes/reftex-vars.el (reftex-format-label-function):
14571 * textmodes/remember.el (remember-diary-file): Fix custom types.
14572
14573 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14574 Add :version.
14575
14576 2013-05-09 Leo Liu <sdl.web@gmail.com>
14577
14578 * progmodes/octave.el (inferior-octave-completion-at-point):
14579 Restore file completion. (Bug#14300)
14580 (inferior-octave-startup): Fix incorrect highlighting for the
14581 first prompt.
14582
14583 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14584
14585 * progmodes/ruby-mode.el: First cut at SMIE support.
14586 (ruby-use-smie): New var.
14587 (ruby-smie-grammar): New constant.
14588 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14589 (ruby-smie--forward-token, ruby-smie--backward-token)
14590 (ruby-smie-rules): New functions.
14591 (ruby-mode-variables): Setup SMIE if applicable.
14592
14593 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14594
14595 * simple.el (line-move-visual): Signal beginning/end of buffer
14596 only if vertical-motion moved less than it was requested. Avoids
14597 silly incorrect error messages when there are display strings with
14598 multiple newlines at EOL.
14599
14600 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14601
14602 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14603 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14604 (prolog-char-quote-workaround):
14605 * progmodes/cperl-mode.el (cperl-under-as-char):
14606 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14607 Mark as obsolete.
14608 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14609 their declaration.
14610 (vhdl-mode-syntax-table-init): Remove.
14611
14612 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14613 last change.
14614
14615 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14616 syntax for "_".
14617 (ld-script-font-lock-keywords):
14618 Change regexps to use things like \_< and \_>.
14619
14620 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14621 Change all regexps to use things like \_< and \_>.
14622
14623 * progmodes/autoconf.el (autoconf-definition-regexp)
14624 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14625 Handle a _ with symbol syntax.
14626 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14627
14628 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14629 Consolidate declaration.
14630 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14631 the declaration.
14632 (ada-create-syntax-table): Remove.
14633 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14634 already has the right syntax nowadays.
14635 (ada-goto-next-word): Don't change the syntax of "_".
14636
14637 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14638 with-wrapper-hook.
14639
14640 2013-05-08 Sam Steingold <sds@gnu.org>
14641
14642 * thingatpt.el (thing-at-point): Accept optional second argument
14643 NO-PROPERTIES to strip the text properties from the return value.
14644 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14645 to `thing-at-point' instead of stripping the properties ourselves.
14646 Also, when `thing-at-point' fails to find a url, prepend "http://"
14647 to the filename at point on the assumption that the user is
14648 pointing at something like gnu.org/gnu.
14649
14650 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14651
14652 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14653 * faces.el (crm-separator):
14654 Silence byte-compiler.
14655
14656 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14657 (tool-bar-map): Remove unneeded defvars.
14658
14659 2013-05-08 Leo Liu <sdl.web@gmail.com>
14660
14661 Re-work a fix for bug#10994 based on Le Wang's patch.
14662 * ido.el (ido-remove-consecutive-dups): New helper.
14663 (ido-completing-read): Use it.
14664 (ido-chop): Revert fix for bug#10994.
14665
14666 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14667
14668 * cus-edit.el (custom-save-variables):
14669 Pretty-print long values. (Bug#14187)
14670
14671 2013-05-08 Glenn Morris <rgm@gnu.org>
14672
14673 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14674 (m4-mode-syntax-table): Init in the defvar.
14675 (m4-mode-abbrev-table): Let define-derived-mode define it.
14676
14677 2013-05-08 Tom Tromey <tromey@redhat.com>
14678
14679 * progmodes/m4-mode.el (m4-mode-syntax-table):
14680 Do not treat "_" as word constituent. (Bug#14167)
14681
14682 2013-05-07 Glenn Morris <rgm@gnu.org>
14683
14684 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14685 Remove explicit eshell-isearch-cancel-map.
14686
14687 * progmodes/f90.el (f90-smart-end-names): New option.
14688 (f90-smart-end): Doc fix.
14689 (f90-end-block-optional-name): New constant.
14690 (f90-block-match): Respect f90-smart-end-names.
14691
14692 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14695 about implicit semi-colons (bug#14218).
14696
14697 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14698
14699 * frame.el (display-monitor-attributes-list)
14700 (frame-monitor-attributes): New functions.
14701
14702 2013-05-06 Leo Liu <sdl.web@gmail.com>
14703
14704 * progmodes/octave.el (octave-syntax-propertize-function): Change
14705 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14706 (octave-font-lock-keywords): Use octave-operator-regexp.
14707 (octave-completion-at-point): Rename from
14708 octave-completion-at-point-function.
14709 (inferior-octave-directory-tracker): Robustify.
14710 (octave-text-functions): Remove and fix its uses. No such things
14711 any more.
14712
14713 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * emacs-lisp/trace.el (trace--display-buffer): New function.
14716 (trace-make-advice): Use it.
14717
14718 2013-05-06 Juri Linkov <juri@jurta.org>
14719
14720 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14721 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14722 Doc fix.
14723 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14724 in the help string. (Bug#12985)
14725
14726 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14727
14728 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14729
14730 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * progmodes/perl-mode.el: Add support for here documents.
14733 (perl-syntax-propertize-function): Match here-doc markers.
14734 (perl-syntax-propertize-special-constructs): Find their end.
14735 (perl-imenu-generic-expression): Use [:alnum:].
14736
14737 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14738 (advice--add-function): Refresh the advice if already present
14739 (bug#14317).
14740
14741 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14742
14743 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14744
14745 2013-05-06 Glenn Morris <rgm@gnu.org>
14746
14747 * w32-fns.el (w32-charset-info-alist): Declare.
14748
14749 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14750 of its defcustom properties.
14751 (eshell-cmpl-initialize): No need to load pcomplete.
14752
14753 * generic-x.el: No need to require comint when compiling.
14754
14755 * net/eudc-export.el: Make it loadable without bbdb.
14756 (top-level): Use require rather than load-library.
14757 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14758 (eudc-batch-export-records-to-bbdb)
14759 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14760 Require bbdb.
14761
14762 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14763
14764 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14765 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14766 some tweaks, instead.
14767
14768 2013-05-05 Leo Liu <sdl.web@gmail.com>
14769
14770 * progmodes/octave.el (octave-font-lock-keywords)
14771 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14772 (inferior-octave-send-list-and-digest): Improve error message.
14773 (octave-mode, inferior-octave-mode): Use setq-local.
14774 (octave-help): Set info-lookup-mode.
14775
14776 2013-05-05 Richard Stallman <rms@gnu.org>
14777
14778 * vc/compare-w.el (compare-windows-whitespace):
14779 Treat no-break space as whitespace.
14780
14781 * mail/rmailsum.el (rmail-summary-rmail-update):
14782 Detect empty summary and don't change selected message.
14783 (rmail-summary-goto-msg): Likewise.
14784
14785 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14786 Doc fixes, rename args.
14787
14788 2013-05-05 Alan Mackenzie <acm@muc.de>
14789
14790 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14791
14792 2013-05-05 Juri Linkov <juri@jurta.org>
14793
14794 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14795 to not add the length of the summary segment to the return value.
14796 (Bug#14125)
14797
14798 2013-05-05 Leo Liu <sdl.web@gmail.com>
14799
14800 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14801 (inferior-octave-output-filter): Remove.
14802 (octave-send-region, inferior-octave-startup): Fix callers.
14803 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14804 (octave-binary-file-extensions): New user variable.
14805 (octave-find-definition): Confirm if opening binary files.
14806 (octave-help-file): Use octave-find-definition to get the binary
14807 confirmation.
14808 (octave-help): Adjust for octave-help-file change.
14809
14810 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14811
14812 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14813 Merge the two entries that handle function definitions.
14814 (pascal--syntax-propertize): New const.
14815 (pascal-mode): Use it. Use setq-local.
14816
14817 2013-05-04 Glenn Morris <rgm@gnu.org>
14818
14819 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14820 (diary-from-outlook): Respect diary-from-outlook-function.
14821
14822 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14825 Move the declaration from C.
14826 (read-minibuffer, eval-minibuffer): Move from C.
14827 (completion-setup-function): Avoid minibuffer-completion-contents.
14828
14829 2013-05-03 Leo Liu <sdl.web@gmail.com>
14830
14831 * progmodes/octave.el (octave-font-lock-keywords): Do not
14832 dehighlight 'end' in comments or strings.
14833 (octave-completing-read, octave-goto-function-definition):
14834 New helpers.
14835 (octave-help-buffer): New user variable.
14836 (octave-help-file, octave-help-function): New button types.
14837 (octave-help): New command and bind it to C-h ;.
14838 (octave-find-definition): New command and bind it to M-.
14839 (user-error): Alias to error if not defined.
14840
14841 2013-05-02 Leo Liu <sdl.web@gmail.com>
14842
14843 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14844 for \. (bug#14332)
14845 (octave-font-lock-keywords): Include [ and {.
14846
14847 2013-05-02 Leo Liu <sdl.web@gmail.com>
14848
14849 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14850 (inferior-octave): Remove calling comint-mode and return the buffer.
14851 (inferior-octave-startup): Cosmetic changes.
14852
14853 2013-05-02 Leo Liu <sdl.web@gmail.com>
14854
14855 * progmodes/octave.el (octave-syntax-propertize-function):
14856 Include the case when ' is at line beginning. (Bug#14336)
14857
14858 2013-05-02 Glenn Morris <rgm@gnu.org>
14859
14860 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14861 * desktop.el (vc-dir-mode): Just autoload it here.
14862
14863 2013-05-02 Alan Mackenzie <acm@muc.de>
14864
14865 Eliminate variable c-standard-font-lock-fontify-region-function.
14866 * progmodes/cc-mode.el
14867 (c-standard-font-lock-fontify-region-function): Remove.
14868 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14869
14870 2013-05-01 Leo Liu <sdl.web@gmail.com>
14871
14872 * progmodes/octave.el: Compatible with older emacs-24 releases.
14873 (inferior-octave-has-built-in-variables): Remove. Built-in
14874 variables were removed from Octave in 2007.
14875 (inferior-octave-startup): Fix uses.
14876 (comint-line-beginning-position): Remove compatibility code for
14877 emacs 21.
14878
14879 2013-05-01 Juri Linkov <juri@jurta.org>
14880
14881 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14882
14883 2013-05-01 Juri Linkov <juri@jurta.org>
14884
14885 * comint.el (comint-previous-matching-input): Don't print message
14886 "History item: %d" when `isearch-mode' is active.
14887 (comint-history-isearch-message): Print message "History item: %d"
14888 when `comint-input-ring-index' is not empty and this function is
14889 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14890
14891 2013-05-01 Leo Liu <sdl.web@gmail.com>
14892
14893 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14894 definitions. Use completion-at-point to insert keywords.
14895 (octave-abbrev-start): Remove.
14896 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14897
14898 2013-04-30 Leo Liu <sdl.web@gmail.com>
14899
14900 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14901 change.
14902
14903 2013-04-30 Alan Mackenzie <acm@muc.de>
14904
14905 Handle arbitrarily long C++ member initialisation lists.
14906 * progmodes/cc-engine.el (c-back-over-member-initializers):
14907 new function.
14908 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14909 (most) member init lists.
14910
14911 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14912
14913 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14914 variable.
14915
14916 2013-04-30 Leo Liu <sdl.web@gmail.com>
14917
14918 * progmodes/octave.el (octave-variables): Remove. No builtin
14919 variables any more. All converted to functions.
14920 (octave-font-lock-keywords, octave-completion-at-point-function):
14921 Fix uses.
14922 (octave-font-lock-texinfo-comment): New user variable.
14923 (octave-texinfo-font-lock-keywords): New variable for texinfo
14924 comment block.
14925 (octave-function-comment-block): New face.
14926 (octave-font-lock-texinfo-comment): New function.
14927 (octave-mode): Font lock texinfo comment block.
14928
14929 2013-04-29 Leo Liu <sdl.web@gmail.com>
14930
14931 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14932 indexing expression.
14933 (octave-continuation-string): Do not use \.
14934 (inferior-octave-complete-impossible): Remove.
14935 (inferior-octave-completion-table)
14936 (inferior-octave-completion-at-point): Remove its uses.
14937 (inferior-octave-startup): completion_matches was introduced to
14938 Octave in 1996 so safe to assume it.
14939 (octave-function-file-comment): Improve to follow how Octave does it.
14940 (octave-update-function-file-comment): Tweak.
14941
14942 2013-04-29 Leo Liu <sdl.web@gmail.com>
14943
14944 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14945 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14946 (octave-function-file-comment): Fix typo.
14947 (octave-sync-function-file-names): Use read-char-choice.
14948
14949 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14950
14951 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14952 to t for the less important warnings.
14953
14954 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14955
14956 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14957
14958 2013-04-27 Glenn Morris <rgm@gnu.org>
14959
14960 * vc/log-view.el (log-view-current-entry):
14961 Treat "---" separator lines as part of the following rev. (Bug#14169)
14962
14963 2013-04-27 Juri Linkov <juri@jurta.org>
14964
14965 * subr.el (read-number): Doc fix about using it by interactive
14966 code letter `n'. (Bug#14254)
14967
14968 2013-04-27 Juri Linkov <juri@jurta.org>
14969
14970 * desktop.el (desktop-auto-save-timeout): New option.
14971 (desktop-file-checksum): New variable.
14972 (desktop-save): Add optional arg `auto-save' and don't auto-save
14973 if nothing changed.
14974 (desktop-auto-save-timer): New variable.
14975 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14976 (after-init-hook): Call `desktop-auto-save-set-timer'.
14977 Suggested by Reuben Thomas <rrt@sc3d.org> in
14978 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14979
14980 2013-04-27 Leo Liu <sdl.web@gmail.com>
14981
14982 * progmodes/octave.el (octave-function-file-p)
14983 (octave-skip-comment-forward, octave-function-file-comment)
14984 (octave-update-function-file-comment): New functions.
14985 (octave-mode-map): Bind C-c ; to
14986 octave-update-function-file-comment.
14987 (octave-mode-menu): Add octave-update-function-file-comment.
14988 (octave-mode, inferior-octave-mode): Fix doc-string.
14989 (octave-insert-defun): Conform to Octave's coding convention.
14990 (Bug#14285)
14991
14992 * files.el (basic-save-buffer): Don't let errors in
14993 before-save-hook prevent saving buffer.
14994
14995 2013-04-20 Roland Winkler <winkler@gnu.org>
14996
14997 * faces.el (read-face-name): Use completing-read if arg multiple
14998 is nil.
14999
15000 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15001
15002 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15003 displayed, move point to after the totals line.
15004 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15005 for the details.
15006
15007 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15008
15009 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15010 Add current dir to the load-path.
15011 (package-generate-autoloads): Don't rely on
15012 autoload-ensure-default-file.
15013
15014 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15015
15016 * textmodes/remember.el (remember-store-in-files): Document that
15017 the file name format is passed to `format-time-string'.
15018
15019 2013-04-26 Leo Liu <sdl.web@gmail.com>
15020
15021 * progmodes/octave.el (octave-sync-function-file-names): New function.
15022 (octave-mode): Use it in before-save-hook.
15023
15024 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15025
15026 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15027 (bug#14274).
15028
15029 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15030 \n and comment, even if it's not an implicit ; (bug#14218).
15031
15032 2013-04-26 Glenn Morris <rgm@gnu.org>
15033
15034 * subr.el (read-number): Once more use `read' rather than
15035 `string-to-number', to trap non-numeric input. (Bug#14254)
15036
15037 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15038
15039 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15040 Use `syntax-multiline' text property consistently instead of
15041 `font-lock-multiline'. (Bug#14237)
15042
15043 2013-04-26 Glenn Morris <rgm@gnu.org>
15044
15045 * emacs-lisp/shadow.el (list-load-path-shadows):
15046 No longer necessary to check for duplicate simple.el, since
15047 2012-07-07 change to init_lread to not include installation lisp
15048 directories in load-path when running uninstalled. (Bug#14270)
15049
15050 2013-04-26 Leo Liu <sdl.web@gmail.com>
15051
15052 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15053 (octave-mode, inferior-octave-mode): Use setq-local.
15054 (octave-not-in-string-or-comment-p): Rename to
15055 octave-in-string-or-comment-p.
15056 (octave-in-comment-p, octave-in-string-p)
15057 (octave-in-string-or-comment-p): Replace defsubst with defun.
15058
15059 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15060
15061 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15062
15063 2013-04-25 Bastien Guerry <bzg@gnu.org>
15064
15065 * textmodes/remember.el (remember-data-directory)
15066 (remember-directory-file-name-format): Fix custom types.
15067
15068 2013-04-25 Leo Liu <sdl.web@gmail.com>
15069
15070 * progmodes/octave.el (octave-completion-at-point-function):
15071 Make use of inferior octave process.
15072 (octave-initialize-completions): Remove.
15073 (inferior-octave-completion-table): New function.
15074 (inferior-octave-completion-at-point): Use it.
15075 (octave-completion-alist): Remove.
15076
15077 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15078
15079 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15080 (opascal-mode-syntax-table): New var.
15081 (opascal-literal-kind, opascal-is-literal-end)
15082 (opascal-literal-token-at): Rewrite.
15083 (opascal--literal-start-re, opascal-font-lock-keywords)
15084 (opascal--syntax-propertize): New constants.
15085 (opascal-font-lock-defaults): Adjust.
15086 (opascal-mode): Use them. Set comment-<foo> variables as well.
15087 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15088 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15089 (delphi-other-face, opascal-other-face): Remove face variables.
15090 (opascal-save-state): Remove macro.
15091 (opascal-fontifying-progress-step): Remove constant.
15092 (opascal--ignore-changes): Remove var.
15093 (opascal-set-token-property, opascal-parse-next-literal)
15094 (opascal-is-stable-literal, opascal-complete-literal)
15095 (opascal-is-literal-start, opascal-face-of)
15096 (opascal-parse-region, opascal-parse-region-until-stable)
15097 (opascal-fontify-region, opascal-after-change)
15098 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15099 (opascal-debug-parse-region, opascal-debug-parse-window)
15100 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15101 (opascal-debug-fontify-buffer): Remove.
15102 (opascal-debug-mode-map): Adjust accordingly.
15103
15104 2013-04-25 Leo Liu <sdl.web@gmail.com>
15105
15106 Merge octave-mod.el and octave-inf.el into octave.el with some
15107 cleanups.
15108 * progmodes/octave.el: New file renamed from octave-mod.el.
15109 * progmodes/octave-inf.el: Merged into octave.el.
15110 * progmodes/octave-mod.el: Renamed to octave.el.
15111
15112 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15113
15114 * textmodes/reftex-vars.el
15115 (reftex-label-ignored-macros-and-environments): New defcustom.
15116
15117 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15118
15119 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15122 (smie-indent-keyword): Improve the check to ensure that the next
15123 comment is really on the same line.
15124 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15125
15126 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15127 semi-colons if the line is not otherwise empty (bug#14218).
15128
15129 2013-04-25 Glenn Morris <rgm@gnu.org>
15130
15131 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15132
15133 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * progmodes/opascal.el (opascal-set-token-property): Rename from
15136 opascal-set-text-properties and only set `token' (bug#14134).
15137 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15138 (opascal-literal-text-properties): Remove.
15139 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15140 Adjust callers.
15141
15142 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15143
15144 * textmodes/remember.el (remember-handler-functions): Add an
15145 option for a new handler `remember-store-in-files'.
15146 (remember-data-directory, remember-directory-file-name-format):
15147 New options.
15148 (remember-store-in-files): New function to store remember notes
15149 as separate files within a directory.
15150
15151 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15152
15153 * progmodes/compile.el (compilation-next-error-function):
15154 Pass "formats" to compilation-find-file (bug#11777).
15155
15156 2013-04-24 Glenn Morris <rgm@gnu.org>
15157
15158 * vc/vc-bzr.el (vc-bzr-print-log):
15159 * vc/vc-hg.el (vc-hg-print-log):
15160 * vc/vc-svn.el (vc-svn-print-log):
15161 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15162
15163 * vc/vc-bzr.el (vc-bzr-print-log):
15164 * vc/vc-cvs.el (vc-cvs-print-log):
15165 * vc/vc-git.el (vc-git-print-log):
15166 * vc/vc-hg.el (vc-hg-print-log):
15167 * vc/vc-mtn.el (vc-mtn-print-log):
15168 * vc/vc-rcs.el (vc-rcs-print-log):
15169 * vc/vc-sccs.el (vc-sccs-print-log):
15170 * vc/vc-svn.el (vc-svn-print-log):
15171 * vc/vc.el (vc-print-log-internal): Doc fixes.
15172
15173 2013-04-23 Glenn Morris <rgm@gnu.org>
15174
15175 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15176 Remove venerable code attempting to avoid substitute-command-keys.
15177
15178 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15179
15180 * textmodes/reftex-vars.el (reftex-label-regexps):
15181 Call `reftex-compile-variables' after changes to this variable.
15182
15183 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15186 Use lexical-binding.
15187 (jit-lock-force-redisplay): Use markers, check buffer's continued
15188 existence and beware narrowed buffers.
15189 (jit-lock-fontify-now): Adjust call accordingly.
15190
15191 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15192
15193 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15194 to avoid misleading the user.
15195
15196 2013-04-22 Leo Liu <sdl.web@gmail.com>
15197
15198 * info-look.el: Prefer latex2e.info. (Bug#14240)
15199
15200 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15201
15202 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15203
15204 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15205 * net/tramp.el (tramp-call-process): ... here.
15206 (tramp-set-completion-function, tramp-parse-putty):
15207 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15208 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15209 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15210 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15211 (tramp-call-local-coding-command): Use `tramp-call-process'
15212 instead of `tramp-compat-call-process'.
15213
15214 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15215 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15216 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15217 (tramp-find-inline-compress): Improve traces.
15218 (tramp-maybe-send-script): Check for Perl binary.
15219 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15220
15221 2013-04-22 Daiki Ueno <ueno@gnu.org>
15222
15223 * epg.el (epg-context-pinentry-mode): New function.
15224 (epg-context-set-pinentry-mode): New function.
15225 (epg--start): Pass --pinentry-mode option to gpg command.
15226
15227 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15228
15229 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15230 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15231 `completion-at-point'. (Bug#13774)
15232
15233 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15234 default key binding for `describe-distribution' has been moved to
15235 `C-h C-o'. (Bug#13970)
15236
15237 2013-04-21 Glenn Morris <rgm@gnu.org>
15238
15239 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15240 Add doc strings.
15241 (vc-print-log): Clarify interactive prompt.
15242
15243 2013-04-20 Glenn Morris <rgm@gnu.org>
15244
15245 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15246 No longer include timestamp etc information.
15247
15248 2013-04-20 Roland Winkler <winkler@gnu.org>
15249
15250 * faces.el (read-face-name): Bug fix, return just one face if arg
15251 multiple is nil. (Bug#14209)
15252
15253 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15254
15255 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15256 (remove-function): Autoload.
15257
15258 * comint.el (comint-redirect-original-filter-function): Remove.
15259 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15260 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15261 (vc-cvs-annotate-command):
15262 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15263 * progmodes/prolog.el (prolog-consult-compile):
15264 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15265 Use add/remove-function instead.
15266 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15267 (gud-tooltip-process-output, gud-tooltip-tips):
15268 Use add/remove-function instead.
15269 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15270 (scheme-interaction-mode, exit-scheme-interaction-mode):
15271 Use add/remove-function instead.
15272
15273 * vc/vc-dispatcher.el: Use lexical-binding.
15274 (vc--process-sentinel): Rename from vc-process-sentinel.
15275 Change last arg to be the code to run. Don't use vc-previous-sentinel
15276 and vc-sentinel-commands any more.
15277 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15278 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15279
15280 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15281
15282 * progmodes/sh-script.el (sh-imenu-generic-expression):
15283 Handle function names with a single character. (Bug#14111)
15284
15285 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15286
15287 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15288 for subroutines defined in an eval (bug#14182).
15289
15290 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15291
15292 * bookmark.el (bookmark-completing-read): Improve handling of empty
15293 string (bug#14176).
15294
15295 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15296
15297 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15298
15299 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15300
15301 New faster Imenu implementation (bug#14058).
15302 * progmodes/python.el (python-imenu-prev-index-position)
15303 (python-imenu-format-item-label-function)
15304 (python-imenu-format-parent-item-label-function)
15305 (python-imenu-format-parent-item-jump-label-function):
15306 New vars.
15307 (python-imenu-format-item-label)
15308 (python-imenu-format-parent-item-label)
15309 (python-imenu-format-parent-item-jump-label)
15310 (python-imenu--put-parent, python-imenu--build-tree)
15311 (python-imenu-create-index, python-imenu-create-flat-index)
15312 (python-util-popn): New functions.
15313 (python-mode): Set imenu-create-index-function to
15314 python-imenu-create-index.
15315
15316 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15317
15318 * winner.el (winner-active-region): Use region-active-p, activate-mark
15319 and deactivate-mark (bug#14225).
15320
15321 * simple.el (deactivate-mark): Don't inline it.
15322
15323 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15324
15325 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15326
15327 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15328
15329 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15330 file extensions from the archive-mode entry in order to prefer
15331 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15332
15333 2013-04-18 Leo Liu <sdl.web@gmail.com>
15334
15335 * bindings.el (help-event-list): Add ?\?.
15336
15337 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * subr.el (with-wrapper-hook): Declare obsolete.
15340 * simple.el (filter-buffer-substring-function): New hook.
15341 (filter-buffer-substring): Use it.
15342 (filter-buffer-substring-functions): Mark obsolete.
15343 * minibuffer.el (completion-in-region-function): New hook.
15344 (completion-in-region): Use it.
15345 (completion-in-region-functions): Mark obsolete.
15346 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15347 * abbrev.el (abbrev-expand-function): New hook.
15348 (expand-abbrev): Use it.
15349 (abbrev-expand-functions): Mark obsolete.
15350 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15351 and :filter-return.
15352
15353 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15354
15355 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15356 and do not care about match data.
15357
15358 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15359
15360 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15361 completion tables when completing error conditions and
15362 `declare' arguments.
15363 (lisp-complete-symbol, field-complete): Mark as obsolete.
15364 (check-parens): Unmatched parens are user errors.
15365 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15366
15367 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15368
15369 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15370 command changed buffer (ie. `flyspell-pre-buffer' is not current
15371 buffer), which prevents making decisions based on invalid value of
15372 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15373 cause an error when `flyspell-pre-point' was nil after switching
15374 buffers.
15375 (flyspell-post-command-hook): No longer needs to change buffers when
15376 checking pre-word. While at it remove unnecessary progn.
15377
15378 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15379
15380 * textmodes/ispell.el (ispell-add-per-file-word-list):
15381 Fix `flyspell-correct-word-before-point' error when accepting
15382 words and `coment-padding' is an integer by using
15383 `comment-normalize-vars' (Bug #14214).
15384
15385 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15386
15387 New defun movement commands.
15388 * progmodes/python.el (python-nav--syntactically)
15389 (python-nav--forward-defun, python-nav-backward-defun)
15390 (python-nav-forward-defun): New functions.
15391
15392 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15393
15394 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15395 (python-syntax-context): Use named compiler-macro for backwards
15396 compatibility with Emacs 24.x.
15397
15398 2013-04-17 Leo Liu <sdl.web@gmail.com>
15399
15400 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15401 octave-hide-process-buffer.
15402
15403 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15406 (bug#14216).
15407
15408 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15409
15410 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15411 Fix adjustment of offset when receiving incomplete responses from GDB
15412 (bug#14129).
15413
15414 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15415
15416 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15417 python-mode-abbrev-table.
15418 (python-skeleton-define): Adjust accordingly.
15419 (python-mode-abbrev-table): New table that inherits from it so that
15420 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15421
15422 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15423 (abbrev-symbol): Use it.
15424 (abbrev--before-point): Use it since we already handle inheritance.
15425
15426 2013-04-16 Leo Liu <sdl.web@gmail.com>
15427
15428 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15429 binding to info-lookup-symbol.
15430
15431 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15432
15433 * minibuffer.el (completion--twq-all):
15434 * term/ns-win.el (ns-initialize-window-system):
15435 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15436
15437 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15438
15439 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15440 global bindings.
15441
15442 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15443
15444 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15445
15446 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15447 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15448 to nil.
15449 (ruby-end-of-defun): Remove the unused arg, change the docstring
15450 to reflect that this function is only used as the value of
15451 `end-of-defun-function'.
15452 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15453 to reflect an earlier change that beginning/end-of-defun functions
15454 jump between methods in a class definition, as well as top-level
15455 functions.
15456
15457 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15458
15459 * minibuffer.el (minibuffer-complete): Don't just scroll
15460 a *Completions* that's been iconified.
15461 (minibuffer-force-complete): Make sure repetitions do cycle when going
15462 through completion-in-region -> minibuffer-complete.
15463
15464 2013-04-15 Alan Mackenzie <acm@muc.de>
15465
15466 Correct the placement of c-cpp-delimiters when there're #s not at
15467 col 0.
15468
15469 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15470 place a submatch around the #.
15471 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15472 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15473 on the #, not BOL.
15474
15475 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15478 (advice--member-p): New arg `name'.
15479 (advice--add-function, advice-member-p): Use it (bug#14202).
15480
15481 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15482
15483 Reformulate java imenu-generic-expression.
15484 The old expression contained ill formed regexps.
15485
15486 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15487 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15488 (cc-imenu-java-method-arg-regexp): New defconsts.
15489 (cc-imenu-java-build-type-args-regex): New defun.
15490 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15491 handling of spaces in the regexp.
15492
15493 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15494
15495 * textmodes/ispell.el (ispell-command-loop): Remove
15496 flyspell highlight of a word when ispell accepts it (bug #14178).
15497
15498 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15499
15500 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15501 uses code from the previous `ange-ftp-run-real-handler'.
15502 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15503 only in case that function exist. This is needed for proper
15504 unloading of Tramp.
15505
15506 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15507
15508 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15509
15510 * textmodes/reftex.el (reftex-compile-variables): Use it.
15511
15512 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15513
15514 * files.el (normal-mode): Only use default major-mode if no other mode
15515 was specified.
15516
15517 * emacs-lisp/trace.el (trace-values): New function.
15518
15519 * files.el: Allow : in local variables (bug#14089).
15520 (hack-local-variable-regexp): New var.
15521 (hack-local-variables-prop-line, hack-local-variables): Use it.
15522
15523 2013-04-13 Roland Winkler <winkler@gnu.org>
15524
15525 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15526 data before it gets modified by bibtex-beginning-of-entry.
15527
15528 2013-04-13 Roland Winkler <winkler@gnu.org>
15529
15530 * textmodes/bibtex.el (bibtex-url): Doc fix.
15531
15532 2013-04-13 Roland Winkler <winkler@gnu.org>
15533
15534 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15535 does not visit a BibTeX file, exclude it from the list of buffers
15536 returned by bibtex-initialize.
15537
15538 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15539
15540 * window.el (split-window): Remove interactive form, since as a
15541 command this function is a special case of split-window-below.
15542 Correct doc string.
15543
15544 2013-04-12 Roland Winkler <winkler@gnu.org>
15545
15546 * faces.el (read-face-name): Do not override value of arg default.
15547 Allow single faces and strings as default values. Remove those
15548 elements from return value that are not faces.
15549 (describe-face): Simplify.
15550 (face-at-point): New optional args thing and multiple so that this
15551 function can provide the same functionality previously provided by
15552 read-face-name.
15553 (make-face-bold, make-face-unbold, make-face-italic)
15554 (make-face-unitalic, make-face-bold-italic, invert-face)
15555 (modify-face, read-face-and-attribute): Use face-at-point.
15556
15557 * cus-edit.el (customize-face, customize-face-other-window)
15558 * cus-theme.el (custom-theme-add-face)
15559 * face-remap.el (buffer-face-set)
15560 * facemenu.el (facemenu-set-face): Use face-at-point.
15561
15562 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15563
15564 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15565
15566 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15567
15568 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15569 off leading { and trailing } from field values.
15570
15571 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15572
15573 * emacs-lisp/timer.el (timer--check): New function.
15574 (timer--time, timer-set-function, timer-event-handler): Use it.
15575 (timer-set-idle-time): Simplify.
15576 (timer--activate): CSE.
15577 (timer-event-handler): Give more info in error message.
15578 (internal-timer-start-idle): New function, moved from C.
15579
15580 * mpc.el (mpc-proc): Add `restart' argument.
15581 (mpc-proc-cmd): Use it.
15582 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15583 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15584 less often.
15585
15586 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15587
15588 * progmodes/sh-script.el: Implement `sh-mode' own
15589 `add-log-current-defun-function' (bug#14112).
15590 (sh-current-defun-name): New function.
15591 (sh-mode): Use the function.
15592
15593 2013-04-09 Bastien Guerry <bzg@gnu.org>
15594
15595 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15596
15597 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15598
15599 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15600
15601 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15602 timer (bug#14156).
15603
15604 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15605
15606 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15607 declaration.
15608
15609 2013-04-07 Leo Liu <sdl.web@gmail.com>
15610
15611 * pcmpl-x.el: New file.
15612
15613 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15614
15615 Do not set x-display-name until X connection is established.
15616 This is needed to prevent from weird situation described at
15617 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15618 * frame.el (make-frame): Set x-display-name after call to
15619 window system initialization function, not before.
15620 * term/x-win.el (x-initialize-window-system): Add optional
15621 display argument and use it.
15622 * term/w32-win.el (w32-initialize-window-system):
15623 * term/ns-win.el (ns-initialize-window-system):
15624 * term/pc-win.el (msdos-initialize-window-system):
15625 Add compatible optional display argument.
15626
15627 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15628
15629 * files.el (normal-backup-enable-predicate): On MS-Windows and
15630 MS-DOS compare truenames of temporary-file-directory and of the
15631 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15632 don't fail comparison by compare-strings. Also, compare file
15633 names case-insensitively on MS-Windows and MS-DOS.
15634
15635 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15636
15637 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15638 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15639
15640 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15641
15642 * whitespace.el (whitespace-color-on, whitespace-color-off):
15643 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15644
15645 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15646
15647 * ispell.el (ispell-set-spellchecker-params):
15648 Really set `ispell-args' for all equivs.
15649
15650 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15651
15652 * ido.el (ido-completions): Use extra elements of ido-decorations
15653 (bug#14143).
15654 (ido-decorations): Update docstring.
15655
15656 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15657
15658 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15659 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15660 nil during initialization, in order not to miss changes since the
15661 file was opened. (Bug#14140)
15662
15663 2013-04-05 Leo Liu <sdl.web@gmail.com>
15664
15665 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15666
15667 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15668
15669 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15670
15671 2013-04-04 Glenn Morris <rgm@gnu.org>
15672
15673 * electric.el (electric-pair-inhibit-predicate): Add :version.
15674
15675 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15678 when a package is required several times (bug#14082).
15679
15680 2013-04-04 Roland Winkler <winkler@gnu.org>
15681
15682 * faces.el (read-face-name): Behave as promised by the docstring.
15683 Assume that arg default is a list of faces.
15684 (describe-face): Call read-face-name with list of default faces.
15685
15686 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15687
15688 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15689 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15690 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15691 the header.
15692 (bookmark-exit-hook-internal): Save even if list is empty.
15693
15694 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15695
15696 * emacs-lisp/package.el (package-pinned-packages): New var.
15697 (package--add-to-archive-contents): Obey it (bug#14118).
15698
15699 2013-04-03 Alan Mackenzie <acm@muc.de>
15700
15701 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15702 Also adapt to the new values of element 7 of a parse state.
15703
15704 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15705 parameter `not-in-delimiter'. Handle being inside comment opener.
15706 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15707 character in case we're typing a '*' after a '/'.
15708 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15709 instead by passing the parameter to c-state-pp-to-literal.
15710
15711 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15712 for elt. 7 of a parse state.
15713
15714 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15715
15716 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15717 * international/latin1-disp.el, international/mule-util.el:
15718 * language/cyril-util.el, language/european.el, language/ind-util.el:
15719 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15720 * language/tibetan.el, language/viet-util.el:
15721 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15722
15723 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15724
15725 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15726 (electric-pair-post-self-insert-function): Use it.
15727 (electric-pair-default-inhibit): New function, extracted from
15728 electric-pair-post-self-insert-function.
15729
15730 2013-03-31 Roland Winkler <winkler@gnu.org>
15731
15732 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15733
15734 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15737
15738 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15739
15740 Un-indent after "pass" and "return" statements (Bug#13888)
15741 * progmodes/python.el (python-indent-block-enders): New var.
15742 (python-indent-calculate-indentation): Use it.
15743
15744 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15745
15746 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15747 defun. Defining it as defalias could introduce too eager
15748 byte-compiler optimization. (Bug#14030)
15749
15750 2013-03-30 Chong Yidong <cyd@gnu.org>
15751
15752 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15753
15754 2013-03-30 Leo Liu <sdl.web@gmail.com>
15755
15756 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15757 (kmacro-execute-from-register): Pass the keyboard macro to
15758 kmacro-call-macro or repeating won't work correctly.
15759
15760 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15761
15762 * progmodes/subword.el: Back to using `forward-symbol'.
15763
15764 * subr.el (forward-whitespace, forward-symbol)
15765 (forward-same-syntax): Move from thingatpt.el.
15766
15767 2013-03-29 Leo Liu <sdl.web@gmail.com>
15768
15769 * kmacro.el (kmacro-to-register): New command.
15770 (kmacro-execute-from-register): New function.
15771 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15772
15773 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * mpc.el: Use defvar-local and setq-local.
15776 (mpc--proc-connect): Connection failures are not bugs.
15777 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15778 (mpc-volume-map): Bind to the up-events.
15779
15780 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15781
15782 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15783 instead of `forward-symbol'.
15784
15785 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15786
15787 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15788 (edebug--recursive-edit): Use it.
15789 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15790 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15791
15792 2013-03-28 Leo Liu <sdl.web@gmail.com>
15793
15794 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15795
15796 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15797
15798 * facemenu.el (list-colors-callback): New defvar.
15799 (list-colors-redisplay): New function.
15800 (list-colors-display): Install list-colors-redisplay as the
15801 revert-buffer-function. (Bug#14063)
15802
15803 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15806 and suffixes don't overlap (bug#14061).
15807
15808 * case-table.el: Use lexical-binding.
15809 (case-table-get-table): New function.
15810 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15811
15812 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15813
15814 * progmodes/subword.el: Add `superword-mode' to do word motion
15815 over symbol_words (parallels and leverages `subword-mode' which
15816 does word motion inside MixedCaseWords).
15817
15818 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15819
15820 * eshell/em-unix.el: Move su and sudo to...
15821 * eshell/em-tramp.el: ...Eshell tramp module.
15822
15823 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15824
15825 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15826 Change return value to be a sexp. Delay `get-buffer' to after
15827 restoring the desktop (bug#13951).
15828
15829 2013-03-26 Leo Liu <sdl.web@gmail.com>
15830
15831 * register.el: Move semantic tag handling back to
15832 cedet/semantic/senator.el. (Bug#14052)
15833
15834 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15835
15836 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15837 into the prompt either (bug#13963).
15838
15839 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15842 part of "(error-foo)".
15843
15844 2013-03-24 Juri Linkov <juri@jurta.org>
15845
15846 * replace.el (list-matching-lines-prefix-face): New defcustom.
15847 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15848 `occur-engine' if `face-differs-from-default-p' returns t.
15849 (occur-engine): Add `,' inside backquote construct to evaluate
15850 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15851 Pass `prefix-face' to the functions `occur-context-lines' and
15852 `occur-engine-add-prefix'.
15853 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15854 `prefix-face' and propertize the prefix with `prefix-face'.
15855 (Bug#14017)
15856
15857 2013-03-24 Leo Liu <sdl.web@gmail.com>
15858
15859 * nxml/rng-valid.el (rng-validate-while-idle)
15860 (rng-validate-quick-while-idle): Guard against deleted buffer.
15861 (Bug#13999)
15862
15863 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15864 is the last entry in kill-buffer-hook.
15865
15866 * files.el (kill-buffer-hook): Doc fix.
15867
15868 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15869
15870 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15871 Make it safe-local.
15872
15873 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15874
15875 2013-03-23 Leo Liu <sdl.web@gmail.com>
15876
15877 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15878 Remove.
15879
15880 * nxml/rng-valid.el (rng-validate-mode)
15881 (rng-after-change-function, rng-do-some-validation):
15882 * nxml/rng-maint.el (rng-validate-buffer):
15883 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15884 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15885 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15886 (nxml-extend-after-change-region): Use with-silent-modifications.
15887
15888 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15889 timer-idle-list.
15890
15891 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15892 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15893 timer-idle-list. (Bug#13999)
15894
15895 2013-03-23 Juri Linkov <juri@jurta.org>
15896
15897 * info.el (info-index-match): New face.
15898 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15899 main pattern and add text properties with the new face to matches
15900 in index entries relative to the beginning of the index entry.
15901 (Bug#14015)
15902
15903 2013-03-21 Eric Ludlam <zappo@gnu.org>
15904
15905 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15906 Inhibit read only while inserting objects.
15907
15908 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15909
15910 * progmodes/cfengine.el: Update docs to mention
15911 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15912 symbol motion. Remove "_" from the word syntax.
15913
15914 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15915
15916 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15917 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15918
15919 2013-03-20 Juri Linkov <juri@jurta.org>
15920
15921 * info.el (Info-next-reference-or-link)
15922 (Info-prev-reference-or-link): New functions.
15923 (Info-next-reference, Info-prev-reference): Use them.
15924 (Info-try-follow-nearest-node): Handle footnote navigation.
15925 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15926
15927 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15930 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15931
15932 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15933
15934 Suppress unnecessary non-ASCII chatter during build process.
15935 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15936 (batch-skkdic-convert): Suppress most of the chatter.
15937 It's not needed so much now that machines are faster,
15938 and its non-ASCII component was confusing; see Dmitry Gutov in
15939 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15940
15941 2013-03-20 Leo Liu <sdl.web@gmail.com>
15942
15943 * ido.el (ido-chop): Fix bug#10994.
15944
15945 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15946
15947 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15948 Remove vars.
15949 (whitespace-color-on, whitespace-color-off):
15950 Use `font-lock-fontify-buffer' (Bug#13817).
15951
15952 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15953
15954 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15955 remapping in mode-line.
15956 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15957
15958 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15959
15960 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15961 value for `whitespace-line' face (Bug#13875).
15962 (whitespace-font-lock-keywords): Change description.
15963 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15964 the constructed keywords instead.
15965 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15966
15967 2013-03-19 Leo Liu <sdl.web@gmail.com>
15968
15969 * progmodes/compile.el (compilation-display-error): New command.
15970 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15971 C-o. (Bug#13992)
15972
15973 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15974
15975 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15976
15977 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15978
15979 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15980
15981 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15982
15983 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15984
15985 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15986 * net/tramp-gvfs.el (top):
15987 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15988 (tramp-handle-shell-command): Use it.
15989 (tramp-dissect-file-name): Raise an error when hostname is a
15990 method name, and neither method nor user is specified.
15991
15992 * net/trampver.el: Update release number.
15993
15994 2013-03-18 Leo Liu <sdl.web@gmail.com>
15995
15996 Make sure eldoc can be turned off properly.
15997 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15998 eldoc-mode.
15999 (eldoc-display-message-p): Revert last change.
16000 (eldoc-display-message-no-interference-p)
16001 (eldoc-print-current-symbol-info): Tweak.
16002
16003 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16004
16005 * doc-view.el (doc-view-new-window-function): Check the new window
16006 overlay's display property instead the char property of the
16007 buffer's first char. Use `with-selected-window' instead of
16008 `save-window-excursion' with `select-window'.
16009 (doc-view-document->bitmap): Check the current doc-view overlay's
16010 display property instead the char property of the buffer's first char.
16011
16012 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16013
16014 Automate the build of ja-dic.el (Bug#13984).
16015 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16016 from the input, rather than assume that it's been done for us by the
16017 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16018 the current date into a ja-dic.el comment, as that complicates
16019 regression testing.
16020
16021 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * whitespace.el: Fix double evaluation.
16024 (whitespace-space, whitespace-hspace, whitespace-tab)
16025 (whitespace-newline, whitespace-trailing, whitespace-line)
16026 (whitespace-space-before-tab, whitespace-indentation)
16027 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16028 obsolete defvars.
16029 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16030 (whitespace-color-on): Use a single font-lock-add-keywords call.
16031 Fix double-evaluation of face variables.
16032
16033 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16034
16035 * net/tramp-adb.el (tramp-adb-parse-device-names):
16036 Use `start-process' instead of `call-process'. Otherwise, the
16037 function might be blocked under MS Windows. (Bug#13299)
16038
16039 2013-03-17 Leo Liu <sdl.web@gmail.com>
16040
16041 Extend eldoc to display info in the mode-line. (Bug#13978)
16042 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16043 (eldoc-mode-line-string): New variable.
16044 (eldoc-minibuffer-message): New function.
16045 (eldoc-message-function): New variable.
16046 (eldoc-message): Use it.
16047 (eldoc-display-message-p)
16048 (eldoc-display-message-no-interference-p):
16049 Support eldoc-post-insert-mode.
16050
16051 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16052 (eval-expression): Run it.
16053
16054 2013-03-17 Roland Winkler <winkler@gnu.org>
16055
16056 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16057 strings in the list of return values.
16058
16059 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16060
16061 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16062 radix before checking for HMS forms.
16063
16064 2013-03-16 Leo Liu <sdl.web@gmail.com>
16065
16066 * progmodes/scheme.el: Add indentation and font-locking for λ.
16067 (Bug#13975)
16068
16069 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16072 token before point (bug#13942).
16073
16074 2013-03-16 Leo Liu <sdl.web@gmail.com>
16075
16076 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16077
16078 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16079
16080 * startup.el (command-line-normalize-file-name): Fix handling of
16081 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16082 <xfq.free@gmail.com> in
16083 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16084
16085 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16086
16087 Sync with Tramp 2.2.7.
16088
16089 * net/trampver.el: Update release number.
16090
16091 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16092
16093 * doc-view.el: Fix bug#13887.
16094 (doc-view-insert-image): Don't modify overlay associated to
16095 non-live windows, and implement horizontal centering of image in
16096 case it's smaller than the window.
16097 (doc-view-new-window-function): Force redisplay of new windows on
16098 doc-view buffers.
16099
16100 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16101
16102 * saveplace.el (save-place-alist-to-file): Don't sort
16103 `save-place-alist', just pretty-print it (bug#13882).
16104
16105 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16106
16107 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16108 Check whether `default-file-name-coding-system' is bound.
16109 It isn't in XEmacs.
16110
16111 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16112
16113 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16114 backquotes for `obsolete' (bug#13929).
16115
16116 * international/mule.el (find-auto-coding): Include file name in
16117 obsolescence warning (bug#13922).
16118
16119 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16120
16121 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16122 for CFEngine 3-specific indentation.
16123 (cfengine3-indent-line): Use it. Fix up category regex.
16124 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16125
16126 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16127
16128 * type-break.el (type-break-file-name):
16129 * textmodes/remember.el (remember-data-file):
16130 * strokes.el (strokes-file):
16131 * shadowfile.el (shadow-initialize):
16132 * saveplace.el (save-place-file):
16133 * ps-bdf.el (bdf-cache-file):
16134 * progmodes/idlwave.el (idlwave-config-directory):
16135 * net/quickurl.el (quickurl-url-file):
16136 * international/kkc.el (kkc-init-file-name):
16137 * ido.el (ido-save-directory-list-file):
16138 * emulation/viper.el (viper-custom-file-name):
16139 * emulation/vip.el (vip-startup-file):
16140 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16141 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16142
16143 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16144
16145 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16146 * language/thai-word.el: Switch to UTF-8.
16147
16148 See ChangeLog.16 for earlier changes.
16149
16150 ;; Local Variables:
16151 ;; coding: utf-8
16152 ;; End:
16153
16154 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16155
16156 This file is part of GNU Emacs.
16157
16158 GNU Emacs is free software: you can redistribute it and/or modify
16159 it under the terms of the GNU General Public License as published by
16160 the Free Software Foundation, either version 3 of the License, or
16161 (at your option) any later version.
16162
16163 GNU Emacs is distributed in the hope that it will be useful,
16164 but WITHOUT ANY WARRANTY; without even the implied warranty of
16165 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16166 GNU General Public License for more details.
16167
16168 You should have received a copy of the GNU General Public License
16169 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.