* lisp/subr.el (pop): Use `car-safe'.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (pop): Use `car-safe'.
4 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5 to detect unused `pop' return value.
6
7 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8 var `block-regexp'.
9 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10 (python-fill-string): Remove unused var `marker'.
11 (python-skeleton-add-menu-items): Remove unused var `items'.
12
13 * international/mule-cmds.el: Require CL.
14 (find-coding-systems-for-charsets): Avoid add-to-list.
15 (sanitize-coding-system-list): New function, extracted from
16 select-safe-coding-system-interactively.
17 (select-safe-coding-system-interactively): Use it.
18 (read-input-method-name): Accept symbols for `default'.
19
20 * emacs-lisp/advice.el (defadvice): Add indent rule.
21
22 2013-09-05 Daniel Hackney <dan@haxney.org>
23
24 * dired-x.el:
25 * net/ange-ftp.el:
26 * net/browse-url.el:
27 * net/dbus.el:
28 * net/eudc.el:
29 * net/eudcb-ldap.el:
30 * net/eww.el:
31 * net/imap.el:
32 * printing.el:
33 * vc/ediff-diff.el:
34 * vc/ediff-init.el:
35 * vc/ediff-merg.el:
36 * vc/ediff-mult.el:
37 * vc/ediff-util.el:
38 * vc/ediff-wind.el:
39 * vc/ediff.el:
40 * vc/emerge.el:
41 * vc/pcvs.el:
42 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
43 byte compiler. Remove some unused let-bound variables.
44
45 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
48 a "ref-cell", since it gets better optimized (bug#14883).
49
50 2013-09-05 Glenn Morris <rgm@gnu.org>
51
52 * progmodes/cc-awk.el (c-forward-sws): Declare.
53
54 2013-09-04 Glenn Morris <rgm@gnu.org>
55
56 * generic-x.el [rul-generic-mode]: Require cc-mode.
57 (c++-mode-syntax-table): Declare.
58 (rul-generic-mode-syntax-table): Init in the defvar.
59
60 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
63 `deleted'. Don't drop errors silently.
64
65 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
66
67 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
68
69 * vc/vc.el (vc-ignore): Rewrite.
70 (vc-default-ignore): New function.
71 (vc-default-ignore-completion-table): Use find-ignore-file.
72
73 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
74 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
75 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
76 Remove. Most code moved to vc.el.
77
78 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
81 * net/tramp-smb.el (tramp-smb-get-file-entries):
82 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
83 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
84
85 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
86 Update call to it.
87 (eww-change-select): Remove unused var `properties'.
88 (eww-make-unique-file-name): Remove unused var `base'.
89
90 * finder.el (finder-compile-keywords): Don't mess with windows.
91
92 * calculator.el (calculator-funcall): Fix typo in last change.
93
94 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
95
96 * emacs-lisp/package.el (package-activate-1): Don't let a missing
97 <pkg>-autoloads.el file stop us.
98
99 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
100 warnings, and factor out common code.
101
102 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
103
104 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
105 two-character operators and whether the character preceding them
106 changes their meaning (Bug#15208).
107
108 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
109
110 Format code sent to Python shell for robustness.
111 * progmodes/python.el (python-shell-buffer-substring):
112 New function.
113 (python-shell-send-region, python-shell-send-buffer): Use it.
114
115 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
118 * net/tramp.el (tramp-user-error): ... here.
119 (tramp-find-method, tramp-check-proper-host)
120 (tramp-dissect-file-name, tramp-debug-message)
121 (tramp-handle-shell-command):
122 * net/tramp-adb.el (tramp-adb-handle-shell-command):
123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
124
125 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
126
127 2013-09-02 Martin Rudalics <rudalics@gmx.at>
128
129 * avoid.el (mouse-avoidance-point-position)
130 (mouse-avoidance-too-close-p): Handle case where posn-at-point
131 returns nil.
132
133 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
134
135 * progmodes/python.el (python-shell-completion-get-completions):
136 Drop use of deleted `comint-last-prompt-overlay'.
137 (python-nav-if-name-main): New command.
138
139 2013-09-01 Glenn Morris <rgm@gnu.org>
140
141 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
142 Avoid leading space in $wins. Otherwise the sed command used by
143 eg compile-main ends up containing "/*.el". (Bug#15170)
144
145 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
146
147 2013-08-30 Glenn Morris <rgm@gnu.org>
148
149 * emacs-lisp/bytecomp.el (byte-recompile-directory):
150 Fix is-this-a-directory logic. (Bug#15220)
151
152 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * textmodes/css-mode.el: Use SMIE.
155 (css-smie-grammar): New var.
156 (css-smie--forward-token, css-smie--backward-token)
157 (css-smie-rules): New functions.
158 (css-mode): Use them.
159 (css-navigation-syntax-table): Remove var.
160 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
161 (css-indent-calculate, css-indent-line): Remove functions.
162
163 Misc changes to reduce use of `(lambda...); and other cleanups.
164 * cus-edit.el: Use lexical-binding.
165 (customize-push-and-save, customize-apropos)
166 (custom-buffer-create-internal): Use closures.
167 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
168 * progmodes/ada-xref.el: Use setq.
169 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
170 * dframe.el: Use lexical-binding.
171 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
172 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
173 * descr-text.el: Use lexical-binding.
174 (describe-text-widget, describe-text-sexp, describe-property-list):
175 Use closures.
176 * comint.el (comint-history-isearch-push-state): Use a closure.
177 * calculator.el: Use lexical-binding.
178 (calculator-number-to-string): Make it work with lexical-binding.
179 (calculator-funcall): Same and use cl-letf.
180
181 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
182 (lisp--company-doc-string, lisp--company-location): New functions.
183 (lisp-completion-at-point): Use them to improve Company support.
184
185 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
186 params of lambda expressions.
187 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
188 (ruby-smie--opening-pipe-p): New function.
189 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
190 symbols and matched |...| for formal params.
191 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
192 from being treated as hanging. Handle "rescue".
193
194 2013-08-29 Glenn Morris <rgm@gnu.org>
195
196 * progmodes/cc-engine.el (c-pull-open-brace):
197 Move definition before use.
198
199 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
202 are immutable. Don't use `unsafe' any more.
203 (cl--defsubst-expand): Don't substitute at the same time as keeping
204 a residual unused let-binding. Don't use `unsafe' any more.
205
206 2013-08-29 Glenn Morris <rgm@gnu.org>
207
208 * calendar/cal-china.el (calendar-chinese-year-cache):
209 Recenter on 2015.
210
211 * nxml/nxml-util.el (nxml-debug-clear-inside):
212 Use cl-loop rather than loop.
213
214 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
215
216 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
217
218 2013-08-28 Glenn Morris <rgm@gnu.org>
219
220 * progmodes/antlr-mode.el: No need to require cc-mode twice.
221
222 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
223
224 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
225
226 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * simple.el (repeat-complex-command--called-interactively-skip):
229 New function.
230 (repeat-complex-command): Use it (bug#14136).
231
232 * progmodes/cc-mode.el: Minor cleanup of var declarations.
233 (c-define-abbrev-table): Add `doc' argument.
234 (c-mode-abbrev-table, c++-mode-abbrev-table)
235 (objc-mode-abbrev-table, java-mode-abbrev-table)
236 (idl-mode-abbrev-table, pike-mode-abbrev-table)
237 (awk-mode-abbrev-table): Use it.
238 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
239 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
240 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
241 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
242 Move initialization into the declaration; and remove any
243 autoload cookie.
244
245 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
246 and dynamic let binding.
247
248 * vc/smerge-mode.el: Remove redundant :group args.
249
250 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
251 to load-path.
252
253 2013-08-28 Juri Linkov <juri@jurta.org>
254
255 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
256 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
257 (isearch-other-meta-char): Handle an undefined shifted printing
258 character by downshifting it. (Bug#15200)
259
260 2013-08-28 Juri Linkov <juri@jurta.org>
261
262 * isearch.el (isearch-search): Change regexp error message for
263 non-regexp searches. (Bug#15166)
264
265 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
266
267 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
268 for portability to hosts where /bin/sh has problems.
269
270 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
273
274 2013-08-27 Juri Linkov <juri@jurta.org>
275
276 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
277 in the keyboard macro. (Bug#15126)
278
279 2013-08-27 Juri Linkov <juri@jurta.org>
280
281 * isearch.el (isearch-quote-char): Comment out converting unibyte
282 to multibyte, thus syncing with its `quoted-insert' counterpart.
283 (Bug#15166)
284
285 2013-08-27 Martin Rudalics <rudalics@gmx.at>
286
287 * window.el (display-buffer-use-some-window): Add missing
288 argument in call of get-largest-window (Bug#15185).
289 Reported by Stephen Leake.
290
291 2013-08-27 Glenn Morris <rgm@gnu.org>
292
293 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
294
295 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * progmodes/python.el (python-font-lock-keywords): Don't return nil
298 from a matcher-function unless there's no more matches (bug#15161).
299
300 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
301
302 * minibuffer.el: Revert change from 2013-08-20.
303
304 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
305 with text property `tramp-default', if appropriate.
306 (tramp-check-proper-host): New defun.
307 (tramp-dissect-file-name): Do not check hostname. Revert change
308 of 2013-03-18.
309 (tramp-backtrace): Make VEC-OR-PROC optional.
310
311 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
312 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
313 * net/tramp-sh.el (tramp-maybe-open-connection):
314 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
315 Apply `tramp-check-proper-host'.
316
317 2013-08-26 Tassilo Horn <tsdh@gnu.org>
318
319 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
320 lambda expression in order to have `describe-variable' display it.
321
322 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
323
324 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
325 BUF can be optional. (Bug#15186)
326
327 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
328
329 * progmodes/flymake.el (flymake-get-real-file-name-function):
330 Fix broken customization. (Bug#15184)
331
332 2013-08-25 Alan Mackenzie <acm@muc.de>
333
334 Improve indentation of bracelists defined by macros (without "=").
335
336 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
337 expansion begins with "{", regard it as bracelist when it doesn't
338 contain a ";".
339
340 Parse C++ inher-intro when there's a template split over 2 lines.
341
342 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
343 rigorously the search for "class" etc. followed by ":".
344
345 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
346 random languages a regexp which never matches rather than nil.
347
348 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
349
350 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
351 (c-awk-regexp-one-line-possibly-open-char-list-re)
352 (c-awk-one-line-possibly-open-regexp-re)
353 (c-awk-one-line-non-syn-ws*-re): Remove.
354 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
355 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
356 (c-awk-space*-unclosed-regexp-/-re): New constants.
357 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
358 aren't regexp delimiters.
359
360 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
361 handling for a rare situation in AWK Mode involving unterminated
362 strings/regexps.
363
364 2013-08-23 Glenn Morris <rgm@gnu.org>
365
366 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
367
368 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
369
370 * files.el (create-file-buffer): If the result would begin with
371 spaces, prepend a "|" instead of removing them. (Bug#15162)
372
373 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
376 text-properties (bug#15155).
377
378 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
379 exist any more.
380 (calc-keypad-redraw): Remove unused var `pad'.
381 (calc-keypad-press): Remove unused var `menu'.
382
383 2013-08-23 Martin Rudalics <rudalics@gmx.at>
384
385 * window.el (display-buffer-pop-up-frame):
386 Call pop-up-frame-function with BUFFER current so `make-frame' will
387 use it as the new frame's buffer (Bug#15133).
388
389 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * calendar/timeclock.el: Minor cleanups.
392 (timeclock-ask-before-exiting, timeclock-use-display-time):
393 Use `symbol'.
394 (timeclock-modeline-display): Define as alias before the
395 actual definition.
396 (timeclock-mode-line-display): Use define-minor-mode.
397 (timeclock-day-list-template): Make it a function, add an argument.
398 (timeclock-day-list-required, timeclock-day-list-length)
399 (timeclock-day-list-debt, timeclock-day-list-span)
400 (timeclock-day-list-break): Adjust calls accordingly.
401
402 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
405 Use read--expression so that completion works again.
406
407 2013-08-21 Sam Steingold <sds@gnu.org>
408
409 Add rudimentary inferior shell interaction
410 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
411 (sh-set-shell): Reset it.
412 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
413 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
414
415 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * align.el: Use lexical-binding.
418 (align-region): Simplify accordingly.
419
420 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
421
422 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
423
424 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
425 `non-essential' up.
426
427 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
428
429 * net/tramp.el:
430 * net/tramp-adb.el:
431 * net/tramp-cmds.el:
432 * net/tramp-ftp.el:
433 * net/tramp-gvfs.el:
434 * net/tramp-gw.el:
435 * net/tramp-sh.el: Don't wrap external variable declarations by
436 `eval-when-compile'.
437
438 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
439
440 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
441 now that Emacs supports ImageMagick animations.
442
443 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
444
445 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
446 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
447
448 2013-08-16 Martin Rudalics <rudalics@gmx.at>
449
450 * window.el (mouse-autoselect-window-select): Do autoselect when
451 mouse pointer is on margin.
452
453 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
454
455 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
456
457 2013-08-16 Glenn Morris <rgm@gnu.org>
458
459 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
460 Handle "Remote Directory" response of some clients. (Bug#15058)
461
462 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
463 Tweak warning. (Bug#14926)
464
465 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
466 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
467
468 * image-mode.el (image-mode-map): Add menu items to reverse,
469 increase, decrease, reset animation speed.
470 (image--set-speed, image-increase-speed, image-decrease-speed)
471 (image-reverse-speed, image-reset-speed): New functions.
472 (image-mode-map): Add bindings for speed commands.
473
474 * image.el (image-animate-get-speed, image-animate-set-speed):
475 New functions.
476 (image-animate-timeout): Respect image :speed property.
477
478 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
481 previous line (bug#15101).
482 (debugger-eval-expression, debugger-record-expression):
483 Use read--expression (bug#15102).
484
485 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
486
487 Remove byte compiler warnings, visible when compiling with
488 `byte-compile-force-lexical-warnings' set to t.
489
490 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
491 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
492 (tramp-handle-unhandled-file-name-directory)
493 (tramp-handle-file-notify-add-watch, tramp-action-login)
494 (tramp-action-succeed, tramp-action-permission-denied)
495 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
496 arguments with "_".
497
498 * net/tramp-adb.el (tramp-adb-parse-device-names)
499 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
500 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
501 (tramp-adb-handle-file-truename): Remove unused arguments.
502
503 * net/tramp-cache.el (tramp-flush-directory-property)
504 (tramp-flush-connection-property, tramp-list-connections)
505 (tramp-parse-connection-properties): Prefix unused arguments with "_".
506
507 * net/tramp-compat.el (tramp-compat-make-temp-file):
508 Rename FILENAME to F.
509
510 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
511 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
512 (tramp-zeroconf-parse-workstation-device-names)
513 (tramp-zeroconf-parse-webdav-device-names)
514 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
515
516 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
517 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
518
519 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
520 arguments.
521 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
522 (tramp-sh-handle-insert-file-contents-literally)
523 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
524 with "_".
525 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
526 Remove unused variables.
527
528 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
529 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
530 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
531
532 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
533 Make them a defconst.
534 (tramp-uuencode-region): Remove unused variable.
535
536 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
537
538 * frameset.el (frameset--prop-setter): New function.
539 (frameset-prop): Add gv-setter declaration.
540 (frameset-filter-minibuffer): Deal with the case that the minibuffer
541 parameter was already set in FILTERED. Doc fix.
542 (frameset--record-minibuffer-relationships): Allow saving a
543 minibufferless frame without its corresponding minibuffer frame.
544 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
545 frame, if the frame id matches.
546 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
547 frames before orphaned ones.
548 (frameset-restore): Warn about orphaned windows, instead of error out.
549
550 2013-08-14 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (window-make-atom): Don't overwrite parameter
553 already present.
554 (display-buffer-in-atom-window): Handle special case where we
555 split an already atomic window.
556 (window--major-non-side-window, display-buffer-in-side-window)
557 (window--side-check): Ignore minibuffer window when walking
558 window tree.
559 (window-deletable-p): Return 'frame only if no other frame uses
560 our minibuffer window.
561 (record-window-buffer): Run buffer-list-update-hook.
562 (split-window): Make sure window--check-frame won't destroy an
563 existing atomic window in case the new window gets nested
564 inside.
565 (display-buffer-at-bottom): Ignore minibuffer window when
566 walking window tree. Don't split a side window.
567 (pop-to-buffer): Don't set-buffer here, the select-window call
568 should do that.
569 (mouse-autoselect-window-select): Autoselect only if we are in the
570 text portion of the window.
571
572 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
573
574 * net/shr.el (shr-parse-image-data): New function to grab both the
575 data itself and the Content-Type.
576 (shr-put-image): Use it.
577
578 * net/eww.el (eww-display-image): Ditto.
579
580 * image.el (image-content-type-suffixes): New variable.
581
582 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
583
584 * progmodes/python.el (python-imenu--build-tree)
585 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
586
587 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
588
589 * simple.el (backward-word): Mention the optional argument.
590
591 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * frameset.el (frameset--make): Rename constructor from make-frameset.
594 (frameset-p, frameset-valid-p): Don't autoload.
595 (frameset-valid-p): Use normal accessors.
596
597 2013-08-13 Glenn Morris <rgm@gnu.org>
598
599 * progmodes/compile.el (compile-command): Tweak example in doc.
600 * obsolete/scribe.el (scribe-mode):
601 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
602
603 * mail/feedmail.el (feedmail-confirm-outgoing)
604 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
605
606 * cus-start.el (truncate-partial-width-windows): Fix type.
607
608 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
609
610 * net/shr.el (shr-table-horizontal-line): Fix custom type.
611
612 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/timer.el (timer--time-setter): New function.
615 (timer--time): Use it as gv-setter.
616
617 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
618 setter is not a symbol.
619
620 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
621
622 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
623 if sending fails. This makes debugging easier.
624
625 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
626
627 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
628 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
629 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
630
631 2013-08-12 Eli Zaretskii <eliz@gnu.org>
632
633 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
634
635 2013-08-12 Glenn Morris <rgm@gnu.org>
636
637 * format.el (format-annotate-function):
638 Handle read-only text properties in the source. (Bug#14887)
639
640 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
641
642 * net/eww.el (eww-display-html): Ignore coding system errors.
643 One web site uses "utf-8lias" as the coding system.
644
645 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
646
647 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
648
649 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
650
651 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
652 (tutorial--detailed-help): Remove unused local variables.
653 (tutorial--save-tutorial-to): Use ignore-errors.
654 (help-with-tutorial): Use looking-at-p.
655
656 * view.el (view-buffer-other-window, view-buffer-other-frame):
657 Mark unused arguments.
658
659 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
660 (woman-select-symbol-fonts, woman, woman-find-file)
661 (woman-insert-file-contents, woman-non-underline-faces):
662 Use string-match-p.
663 (woman1-unquote): Move declaration.
664
665 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
666 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
667 argument. Remove unused local variable.
668 (xml-parse-elem-type): Use string-match-p.
669 (xml-substitute-numeric-entities): Use ignore-errors.
670
671 * calculator.el (calculator): Mark unused argument.
672 (calculator-paste, calculator-quit, calculator-integer-p):
673 Use ignore-errors.
674 (calculator-string-to-number, calculator-decimal, calculator-exp)
675 (calculator-op-or-exp): Use string-match-p.
676
677 * dired.el (dired-buffer-more-recently-used-p): Declare.
678 (dired-insert-set-properties, dired-insert-old-subdirs):
679 Use ignore-errors.
680
681 * dired-aux.el (dired-compress): Use ignore-errors.
682 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
683 (dired-do-async-shell-command, dired-do-shell-command)
684 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
685 (dired-insert-subdir-validate): Use string-match-p.
686 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
687 (dired-add-entry): Use string-match-p, looking-at-p.
688 (dired-insert-subdir-newpos): Remove unused local variable.
689
690 * filenotify.el (file-notify-callback): Remove unused local variable.
691
692 * filesets.el (filesets-error): Mark unused argument.
693 (filesets-which-command-p, filesets-filter-dir-names)
694 (filesets-directory-files, filesets-get-external-viewer)
695 (filesets-ingroup-get-data): Use string-match-p.
696
697 * find-file.el (ff-other-file-name, ff-other-file-name)
698 (ff-find-the-other-file, ff-cc-hh-converter):
699 Remove unused local variables.
700 (ff-get-file-name): Use string-match-p.
701 (ff-all-dirs-under): Use ignore-errors.
702
703 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
704 (follow-select-if-visible): Remove unused local variable.
705
706 * forms.el (read-file-filter): Move declaration.
707 (forms--make-format, forms--make-parser, forms-insert-record):
708 Quote function with #'.
709 (forms--update): Use string-match-p. Quote function with #'.
710
711 * help-mode.el (help-dir-local-var-def): Mark unused argument.
712 (help-make-xrefs): Use looking-at-p.
713 (help-xref-on-pp): Use looking-at-p, ignore-errors.
714
715 * ibuffer.el (ibuffer-ext-visible-p): Declare.
716 (ibuffer-confirm-operation-on): Use string-match-p.
717
718 * msb.el (msb-item-handler, msb-dired-item-handler):
719 Mark unused arguments.
720
721 * ses.el (ses-decode-cell-symbol)
722 (ses-kill-override): Remove unused local variable.
723 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
724 (ses-load): Use ignore-errors, looking-at-p.
725 (ses-jump-safe): Use ignore-errors.
726 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
727
728 * tabify.el (untabify, tabify): Mark unused arguments.
729
730 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
731 Mark unused argument.
732 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
733 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
734
735 * emacs-lisp/timer.el (timer--time): Define setter with
736 gv-define-setter to avoid deprecation warning.
737
738 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
739 (*record-cmpl-statistics-p*): Remove (was commented out).
740 (cmpl-statistics-block): Remove (body was commented out).
741 All callers changed.
742 (add-completions-from-buffer, load-completions-from-file):
743 Remove unused variables.
744
745 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
746
747 * filecache.el (file-cache-delete-file-list):
748 Print message only when told so.
749 (file-cache-files-matching): Use #' in mapconcat argument.
750
751 * ffap.el (ffap-url-at-point): Fix reference to variable
752 thing-at-point-default-mail-uri-scheme.
753
754 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * subr.el (define-error): New function.
757 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
758 error-file-not-found and define with define-error.
759 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
760 and define with define-error.
761 * userlock.el (file-locked, file-supersession):
762 * simple.el (mark-inactive):
763 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
764 * progmodes/ada-mode.el (ada-mode-errors):
765 * play/life.el (life-extinct):
766 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
767 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
768 * nxml/rng-util.el (rng-error):
769 * nxml/rng-uri.el (rng-uri-error):
770 * nxml/rng-match.el (rng-compile-error):
771 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
772 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
773 * nxml/nxml-rap.el (nxml-scan-error):
774 * nxml/nxml-outln.el (nxml-outline-error):
775 * net/soap-client.el (soap-error):
776 * net/gnutls.el (gnutls-error):
777 * net/ange-ftp.el (ftp-error):
778 * mpc.el (mpc-proc-error):
779 * json.el (json-error, json-readtable-error, json-unknown-keyword)
780 (json-number-format, json-string-escape, json-string-format)
781 (json-key-format, json-object-format):
782 * jka-compr.el (compression-error):
783 * international/quail.el (quail-error):
784 * international/kkc.el (kkc-error):
785 * emacs-lisp/ert.el (ert-test-failed):
786 * calc/calc.el (calc-error, inexact-result, math-overflow)
787 (math-underflow):
788 * bookmark.el (bookmark-error-no-filename):
789 * epg.el (epg-error): Define with define-error.
790
791 * time.el (display-time-event-handler)
792 (display-time-next-load-average): Don't call sit-for since it seems
793 unnecessary (bug#15045).
794
795 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
796 Use #' instead of ' to quote functions.
797 (checkdoc-output-mode): Use setq-local.
798 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
799 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
800 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
801 (checkdoc-ispell, checkdoc-ispell-current-buffer)
802 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
803 (checkdoc-ispell-message-text, checkdoc-ispell-start)
804 (checkdoc-ispell-continue, checkdoc-ispell-comments)
805 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
806
807 * ido.el (ido-completion-help): Fix up compiler warning.
808
809 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
810
811 * frameset.el (frameset-p): Add autoload cookie.
812 (frameset--jump-to-register): New function, based on code moved from
813 register.el.
814 (frameset-to-register): Move from register.el. Adapt to `registerv'.
815
816 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
817 (frameset-restore, frameset-save, frameset-session-filter-alist):
818 Remove declarations.
819 (register-alist): Doc fix.
820 (frameset-to-register): Move to frameset.el.
821 (jump-to-register, describe-register-1): Remove frameset-specific code.
822
823 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
824
825 * allout-widgets.el (allout-widgets-pre-command-business)
826 (allout-widgets-post-command-business)
827 (allout-widgets-after-change-handler)
828 (allout-decorate-item-and-context, allout-set-boundary-marker)
829 (allout-body-modification-handler)
830 (allout-graphics-modification-handler): Mark ignored arguments.
831 (allout-widgets-post-command-business)
832 (allout-widgets-exposure-change-processor)
833 (allout-widgets-exposure-undo-processor)
834 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
835 (allout-parse-item-at-point, allout-decorate-item-guides)
836 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
837 * allout.el (epa-passphrase-callback-function): Declare.
838 (allout-overlay-insert-in-front-handler)
839 (allout-overlay-interior-modification-handler)
840 (allout-isearch-end-handler, allout-chart-siblings)
841 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
842 (allout-yank-processing, allout-process-exposed)
843 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
844 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
845 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
846 (lisp-indent-defform): Mark ignored arguments.
847 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
848 (calculate-lisp-indent): Remove unused variables.
849 * international/characters.el (indian-2-column, arabic-2-column)
850 (tibetan): Mark ignored arguments.
851 (use-cjk-char-width-table): Mark ignored arguments.
852 Remove unused variables.
853 * international/fontset.el (build-default-fontset-data)
854 (x-compose-font-name, create-fontset-from-fontset-spec):
855 Mark ignored arguments.
856 (fontset-plain-name): Remove unused variables.
857 * international/mule.el (charset-id, charset-bytes, generic-char-p)
858 (keyboard-coding-system): Mark ignored arguments.
859 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
860 * help.el (resize-temp-buffer-window):
861 * window.el (display-buffer-in-major-side-window)
862 (display-buffer-in-side-window, display-buffer-in-previous-window):
863 Remove unused variables.
864 * isearch.el (isearch-forward-symbol):
865 * version.el (emacs-bzr-version-bzr):
866 * international/mule-cmds.el (current-language-environment):
867 * term/common-win.el (x-handle-iconic, x-handle-geometry)
868 (x-handle-display):
869 * term/pc-win.el (x-list-fonts, x-display-planes)
870 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
871 (x-server-version, x-display-screens, x-display-mm-height)
872 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
873 (x-selection-owner-p, x-own-selection-internal)
874 (x-disown-selection-internal, x-get-selection-internal)
875 (msdos-initialize-window-system):
876 * term/tty-colors.el (tty-color-alist, tty-color-clear):
877 * term/x-win.el (x-handle-no-bitmap-icon):
878 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
879 (vc-default-find-file-hook, vc-default-extra-menu):
880 Mark ignored arguments.
881
882 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
885 break-condition in the context of the debugged code (bug#12685).
886
887 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
888
889 * comint.el:
890 Do not use an overlay to highlight the last prompt. (Bug#14744)
891 (comint-mode): Make comint-last-prompt buffer local.
892 (comint-last-prompt): New variable.
893 (comint-last-prompt-overlay): Remove. Superseded by
894 comint-last-prompt.
895 (comint-snapshot-last-prompt, comint-output-filter):
896 Use comint-last-prompt.
897
898 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
899
900 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
901 (frameset-save): Check validity of the resulting frameset.
902
903 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
904
905 * ido.el (ido-record-command): Add doc string.
906
907 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
908
909 * frameset.el (frameset): Do not disable creation of the default
910 frameset-p predicate. Doc fix.
911 (frameset-valid-p): New function, copied from the old predicate-p.
912 Add additional checks.
913 (frameset-restore): Check with frameset-valid-p.
914 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
915 (frameset-name, frameset-description, frameset-properties)
916 (frameset-states): Add docstring.
917 (frameset-session-filter-alist, frameset-persistent-filter-alist)
918 (frameset-filter-alist): Doc fixes.
919
920 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
921
922 * frameset.el (frameset-p, frameset-prop): Doc fixes.
923
924 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
925
926 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
927 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
928 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
929 (byte-compile-normal-call): Remove obsolescence check.
930
931 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
932
933 * frameset.el (frameset-restore): Doc fix.
934
935 * register.el (frameset-frame-id, frameset-frame-with-id)
936 (frameset-p, frameset-restore, frameset-save): Declare.
937 (register-alist): Document framesets.
938 (frameset-session-filter-alist): Declare.
939 (frameset-to-register): New function.
940 (jump-to-register): Implement jumping to framesets. Doc fix.
941 (describe-register-1): Describe framesets.
942
943 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
944
945 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
946
947 * desktop.el (desktop-save-frameset): Use new frameset-save args.
948 Use lexical-binding.
949
950 * frameset.el (frameset): Use type vector, not list (incompatible
951 change). Do not declare a new constructor, use the default one.
952 Upgrade suggested properties `app', `name' and `desc' to slots `app',
953 `name' and `description', respectively, and add read-only slot
954 `timestamp'. Doc fixes.
955 (frameset-copy, frameset-persistent-filter-alist)
956 (frameset-filter-alist, frameset-switch-to-gui-p)
957 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
958 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
959 (frameset-filter-iconified, frameset-keep-original-display-p):
960 Doc fixes.
961 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
962 Rename from frameset-filter-(save|restore)-param. All callers changed.
963 Doc fix.
964 (frameset-p): Adapt to change to vector and be more thorough.
965 Change arg name to OBJECT. Doc fix.
966 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
967 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
968 All callers changed.
969 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
970 All callers changed.
971 (frameset--record-minibuffer-relationships): Rename from
972 frameset--process-minibuffer-frames. All callers changed.
973 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
974 Use new default constructor (again). Doc fix.
975 (frameset--find-frame-if): Rename from `frameset--find-frame.
976 All callers changed.
977 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
978 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
979 Doc fix.
980 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
981 PARAMETERS and WINDOW-STATE, respectively.
982 (frameset-restore): Add new keyword argument PREDICATE.
983 Reset frameset--target-display to nil. Doc fix.
984
985 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
988 (bat-mode): Use it.
989 (bat-mode-syntax-table): Mark \n as end-of-comment.
990 (bat-font-lock-keywords): Remove comment rule.
991
992 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
993 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
994
995 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
996 (byte-compile-callargs-warn): Use `push'.
997 (byte-compile-arglist-warn): Ignore higher-order "calls".
998 (byte-compile-file-form-autoload): Use `pcase'.
999 (byte-compile-function-form): If quoting a symbol, check that it exists.
1000
1001 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1002
1003 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1004 and add a few popular commands found in batch files.
1005 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1006 (dos-mode): Doc fixes.
1007
1008 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1011 (dos-mode): Use setq-local. Add space after "rem".
1012 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1013 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1014
1015 2013-08-07 Arni Magnusson <arnima@hafro.is>
1016
1017 * progmodes/dos.el: New file.
1018 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1019 dos-mode.
1020
1021 2013-08-06 Glenn Morris <rgm@gnu.org>
1022
1023 * calendar/calendar.el: Add new faces, and day-header-array.
1024 (calendar-weekday-header, calendar-weekend-header)
1025 (calendar-month-header): New faces.
1026 (calendar-day-header-construct): New function.
1027 (calendar-day-header-width): Also :set calendar-day-header-array.
1028 (calendar-american-month-header, calendar-european-month-header)
1029 (calendar-iso-month-header): Use calendar- faces.
1030 (calendar-generate-month):
1031 Use calendar-day-header-array for day headers; apply faces to them.
1032 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1033 (calendar-abbrev-construct): Add optional maxlen argument.
1034 (calendar-day-name-array): Doc fix.
1035 (calendar-day-name-array, calendar-abbrev-length)
1036 (calendar-day-abbrev-array):
1037 Also :set calendar-day-header-array, and maybe redraw.
1038 (calendar-day-header-array): New option. (Bug#15007)
1039 (calendar-font-lock-keywords): Set to nil and make obsolete.
1040 (calendar-day-name): Add option to use header array.
1041
1042 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1043
1044 * net/shr.el (shr-render-td): Remove debugging.
1045 (shr-render-td): Make width computation consistent by defaulting
1046 all zero-width columns to 10 characters. This may not be optimal,
1047 but it's at least consistent.
1048 (shr-make-table-1): Redo last change to fix the real problem in
1049 colspan handling.
1050
1051 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1052
1053 * files.el (cache-long-line-scans):
1054 Make obsolete alias to `cache-long-scans'.
1055
1056 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1057
1058 * frameset.el (frameset, frameset-filter-alist)
1059 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1060 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1061 (frameset-compute-pos): Rename from frameset--compute-pos,
1062 and add docstring.
1063 (frameset-move-onscreen): Use frameset-compute-pos.
1064 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1065
1066 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1067 Fix typos in docstrings.
1068
1069 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1070
1071 * frame.el (get-other-frame): Tiny cleanup.
1072
1073 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1074
1075 * vc/vc.el (vc-default-ignore-completion-table):
1076 Silence byte-compiler warning.
1077
1078 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1079 slot , which can indeed be nil.
1080 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1081 Move entry for `left' from persistent to live filter alist.
1082 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1083 Doc fixes.
1084 (frameset-filter-params): When restoring a frame, copy items added to
1085 `filtered', to avoid unwittingly modifying the original parameters.
1086 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1087 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1088
1089 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1090 to use looking-at-p instead of looking-at. (Bug#15028)
1091
1092 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 Revert introduction of isearch-filter-predicates (bug#14714).
1095 Rely on add-function instead.
1096 * isearch.el (isearch-filter-predicates): Rename it back to
1097 isearch-filter-predicate.
1098 (isearch-message-prefix): Use advice-function-mapc and advice
1099 properties to get the isearch-message-prefix.
1100 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1101 instead of run-hook-with-args-until-failure.
1102 (isearch-filter-visible): Not obsolete any more.
1103 * loadup.el: Preload nadvice.
1104 * replace.el (perform-replace): Revert to funcall
1105 instead of run-hook-with-args-until-failure.
1106 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1107 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1108 dired-isearch-filenames-toggle; make it into a proper minor mode.
1109 Use add/remove-function.
1110 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1111 Call the minor-mode rather than add/remove-hook.
1112 (dired-isearch-filter-filenames):
1113 Remove isearch-message-prefix property.
1114 * info.el (Info--search-loop): New function, extracted from Info-search.
1115 Funcall isearch-filter-predicate instead of
1116 run-hook-with-args-until-failure isearch-filter-predicates.
1117 (Info-search): Use it.
1118 (Info-mode): Use isearch-filter-predicate instead of
1119 isearch-filter-predicates.
1120
1121 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1122
1123 Do not call to `selected-window' where it is assumed by default.
1124 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1125 `window-hscroll', `window-width', `window-height', `window-buffer',
1126 `window-frame', `window-start', `window-point', `next-window'
1127 and `window-display-table'.
1128 * abbrev.el (abbrev--default-expand):
1129 * bs.el (bs--show-with-configuration):
1130 * buff-menu.el (Buffer-menu-mouse-select):
1131 * calc/calc.el (calc):
1132 * calendar/calendar.el (calendar-generate-window):
1133 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1134 (diary-make-entry):
1135 * comint.el (send-invisible, comint-dynamic-complete-filename)
1136 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1137 * completion.el (complete):
1138 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1139 * disp-table.el (describe-current-display-table):
1140 * doc-view.el (doc-view-insert-image):
1141 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1142 * ehelp.el (with-electric-help):
1143 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1144 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1145 * emacs-lisp/helper.el (Helper-help-scroller):
1146 * emulation/cua-base.el (cua--post-command-handler-1):
1147 * eshell/esh-mode.el (eshell-output-filter):
1148 * ffap.el (ffap-gnus-wrapper):
1149 * help-macro.el (make-help-screen):
1150 * hilit-chg.el (highlight-compare-buffers):
1151 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1152 * hl-line.el (global-hl-line-highlight):
1153 * icomplete.el (icomplete-simple-completing-p):
1154 * isearch.el (isearch-done):
1155 * jit-lock.el (jit-lock-stealth-fontify):
1156 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1157 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1158 * mpc.el (mpc-tagbrowser, mpc):
1159 * net/rcirc.el (rcirc-any-buffer):
1160 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1161 * play/landmark.el (landmark-max-width, landmark-max-height):
1162 * play/zone.el (zone):
1163 * progmodes/compile.el (compilation-goto-locus):
1164 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1165 * progmodes/etags.el (find-tag-other-window):
1166 * progmodes/fortran.el (fortran-column-ruler):
1167 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1168 * progmodes/verilog-mode.el (verilog-point-text):
1169 * reposition.el (reposition-window):
1170 * rot13.el (toggle-rot13-mode):
1171 * server.el (server-switch-buffer):
1172 * shell.el (shell-dynamic-complete-command)
1173 (shell-dynamic-complete-environment-variable):
1174 * simple.el (insert-buffer, set-selective-display)
1175 (delete-completion-window):
1176 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1177 (speedbar-recenter):
1178 * startup.el (fancy-splash-head):
1179 * textmodes/ispell.el (ispell-command-loop):
1180 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1181 * tutorial.el (help-with-tutorial):
1182 * vc/add-log.el (add-change-log-entry):
1183 * vc/compare-w.el (compare-windows):
1184 * vc/ediff-help.el (ediff-indent-help-message):
1185 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1186 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1187 (ediff-setup-control-frame):
1188 * vc/emerge.el (emerge-position-region):
1189 * vc/pcvs-util.el (cvs-bury-buffer):
1190 * window.el (walk-windows, mouse-autoselect-window-select):
1191 * winner.el (winner-set-conf, winner-undo): Related users changed.
1192
1193 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1194
1195 * frameset.el (frameset--set-id): Doc fix.
1196 (frameset-frame-id, frameset-frame-id-equal-p)
1197 (frameset-locate-frame-id): New functions.
1198 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1199 (frameset-restore): Use them.
1200
1201 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1202
1203 Do not call to `selected-frame' where it is assumed by default.
1204 Affected functions are `raise-frame', `redraw-frame',
1205 `frame-first-window', `frame-terminal' and `delete-frame'.
1206 * calendar/appt.el (appt-disp-window):
1207 * epg.el (epg-wait-for-completion):
1208 * follow.el (follow-delete-other-windows-and-split)
1209 (follow-avoid-tail-recenter):
1210 * international/mule.el (set-terminal-coding-system):
1211 * mail/rmail.el (rmail-mail-return):
1212 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1213 * progmodes/f90.el (f90-add-imenu-menu):
1214 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1215 * server.el (server-switch-buffer):
1216 * simple.el (delete-completion-window):
1217 * talk.el (talk):
1218 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1219 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1220 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1221 * vc/ediff.el (ediff-documentation): Related users changed.
1222 * frame.el (selected-terminal): Remove the leftover.
1223
1224 2013-08-05 Glenn Morris <rgm@gnu.org>
1225
1226 * calendar/calendar.el (calendar-generate-month):
1227 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1228 (calendar-generate-month, calendar-font-lock-keywords):
1229 Fix for calendar-day-header-width > length of any day name.
1230
1231 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1232
1233 * desktop.el (desktop-clear): Use new name of sort predicate.
1234
1235 * frameset.el (frameset): Add docstring. Move :version property to its
1236 own `version' slot.
1237 (frameset-copy): Rename from copy-frameset.
1238 (frameset-p): Check more thoroughly.
1239 (frameset-prop): Do not check for :version, which is no longer a prop.
1240 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1241 Use new :never value instead of t.
1242 (frameset-filter-alist): Expand and clarify docstring.
1243 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1244 (frameset-filter-minibuffer, frameset-filter-save-param)
1245 (frameset-filter-restore-param, frameset-filter-iconified):
1246 Add pointer to docstring of frameset-filter-alist.
1247 (frameset-filter-params): Rename filter values to be more meaningful:
1248 :never instead of t, and reverse the meanings of :save and :restore.
1249 (frameset--process-minibuffer-frames): Clarify error message.
1250 (frameset-save): Avoid unnecessary and confusing call to framep.
1251 Use new BOA constructor for framesets.
1252 (frameset--reuse-list): Doc fix.
1253 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1254 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1255 (frameset-minibufferless-first-p): Doc fix.
1256 Rename from frameset-sort-frames-for-deletion.
1257 (frameset-restore): Doc fixes. Use new function names.
1258 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1259
1260 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1261
1262 * desktop.el (desktop-restore-forces-onscreen)
1263 (desktop-restore-reuses-frames): Document :keyword constant values.
1264 (desktop-filter-parameters-alist): Remove, now identical to
1265 frameset-filter-alist.
1266 (desktop--filter-tty*): Remove, moved to frameset.el.
1267 (desktop-save-frameset, desktop-restore-frameset):
1268 Do not pass :filters argument.
1269
1270 * frameset.el (frameset-live-filter-alist)
1271 (frameset-persistent-filter-alist): New variables.
1272 (frameset-filter-alist): Use them. Add autoload cookie.
1273 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1274 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1275 `frameset--id' (it's supposed to be internal to frameset.el).
1276 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1277 (frameset--initial-params): New function.
1278 (frameset--get-frame): Use it. Doc fix.
1279 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1280 Accept :all, not 'all.
1281 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1282 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1283 with fbound symbols. Fix frame id matching, and remove matching ids if
1284 the frame being restored is deleted. Obey :delete.
1285
1286 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * subr.el (macrop): New function.
1289 (text-clone--maintaining): New var.
1290 (text-clone--maintain): Rename from text-clone-maintain. Use it
1291 instead of inhibit-modification-hooks.
1292
1293 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1294 a proxy, so as handle autoloads and redefinitions of the target.
1295 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1296
1297 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1298 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1299 (pcase--mutually-exclusive-p): New function.
1300 (pcase--split-consp): Use it.
1301 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1302 mutually exclusive with the current predicate.
1303
1304 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1305 (edebug-macrop): Remove. Use `macrop' instead.
1306 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1307 (ad-macro-p):
1308 * eshell/esh-cmd.el (eshell-macrop):
1309 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1310
1311 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1314 (advice-mapc): New function, using it.
1315 (advice-function-member-p): New function.
1316 (advice--normalize): Store the cdr in advice--saved-rewrite since
1317 that's the part that will be changed.
1318 (advice--symbol-function): New function.
1319 (advice-remove): Handle removal before the function is defined.
1320 Adjust to new advice--saved-rewrite.
1321 (advice-member-p): Use advice-function-member-p and
1322 advice--symbol-function.
1323
1324 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1325
1326 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1327 (frameset-filter-minibuffer): Doc fix.
1328 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1329 (frameset--set-id, frameset--process-minibuffer-frames)
1330 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1331 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1332
1333 * desktop.el (desktop-clear): Only delete frames when called
1334 interactively and desktop-restore-frames is non-nil. Doc fix.
1335 (desktop-read): Set desktop-saved-frameset to nil.
1336
1337 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1338
1339 * vc/vc.el (vc-ignore): Rewrite.
1340 (vc-default-ignore-completion-table):
1341 (vc--read-lines):
1342 (vc--add-line, vc--remove-regexp): New functions.
1343
1344 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1345 (vc-svn-ignore-completion-table): New function.
1346
1347 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1348 (vc-hg-ignore-completion-table):
1349 (vc-hg-find-ignore-file): New functions.
1350
1351 * vc/vc-git.el (vc-git-ignore): Rewrite.
1352 (vc-git-ignore-completion-table):
1353 (vc-git-find-ignore-file): New functions.
1354
1355 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1356
1357 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1358 (vc-bzr-ignore-completion-table):
1359 (vc-bzr-find-ignore-file): New functions.
1360
1361 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1362
1363 * frameset.el (frameset-prop): New function and setter.
1364 (frameset-save): Do not modify frame list passed by the caller.
1365
1366 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1367
1368 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1369
1370 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1373 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1374
1375 * custom.el (custom-initialize-default, custom-initialize-set)
1376 (custom-initialize-reset, custom-initialize-changed): Affect the
1377 toplevel-default-value (bug#6275, bug#14586).
1378 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1379 for bug#6275.
1380
1381 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1384 Add cl-def* expressions.
1385
1386 * frameset.el (frameset-filter-params): Fix order of arguments.
1387
1388 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1389
1390 Move code related to saving frames to frameset.el.
1391 * desktop.el: Require frameset.
1392 (desktop-restore-frames): Doc fix.
1393 (desktop-restore-reuses-frames): Rename from
1394 desktop-restoring-reuses-frames.
1395 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1396 (desktop-clear): Clear frames too.
1397 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1398 (desktop--filter-tty*, desktop-save, desktop-read):
1399 Use frameset functions.
1400 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1401 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1402 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1403 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1404 (desktop--process-minibuffer-frames, desktop-save-frames)
1405 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1406 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1407 (desktop--sort-states, desktop-restoring-frames-p)
1408 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1409 (desktop-restoring-frameset-p, desktop-restore-frameset)
1410 (desktop--check-dont-save, desktop-save-frameset): New functions.
1411 (desktop--app-id): New constant.
1412 (desktop-first-buffer, desktop-buffer-ok-count)
1413 (desktop-buffer-fail-count): Move before first use.
1414 * frameset.el: New file.
1415
1416 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * files.el: Use lexical-binding.
1419 (dir-locals-read-from-file): Remove unused `err' variable.
1420 (hack-dir-local-variables--warned-coding): New var.
1421 (hack-dir-local-variables): Use it to avoid repeated warnings.
1422 (make-backup-file-name--default-function): New function.
1423 (make-backup-file-name-function): Use it as default.
1424 (buffer-stale--default-function): New function.
1425 (buffer-stale-function): Use it as default.
1426 (revert-buffer-insert-file-contents--default-function): New function.
1427 (revert-buffer-insert-file-contents-function): Use it as default.
1428 (insert-directory): Avoid add-to-list.
1429
1430 * autorevert.el (auto-revert-handler): Simplify.
1431 Use buffer-stale--default-function.
1432
1433 2013-08-01 Tassilo Horn <tsdh@gnu.org>
1434
1435 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1436
1437 * whitespace.el (whitespace-ensure-local-variables): New function.
1438 (whitespace-cleanup-region): Call it.
1439 (whitespace-turn-on): Call it.
1440
1441 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
1442
1443 Complete file name handlers.
1444
1445 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1446 (tramp-handle-verify-visited-file-modtime)
1447 (tramp-handle-file-notify-rm-watch): New functions.
1448 (tramp-call-process): Do not bind `default-directory'.
1449
1450 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1451 Order alphabetically.
1452 [access-file, add-name-to-file, dired-call-process]:
1453 [dired-compress-file, file-acl, file-notify-rm-watch]:
1454 [file-ownership-preserved-p, file-selinux-context]:
1455 [make-directory-internal, make-symbolic-link, set-file-acl]:
1456 [set-file-selinux-context, set-visited-file-modtime]:
1457 [verify-visited-file-modtime]: Add handler.
1458 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1459
1460 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1461 [file-notify-add-watch, file-notify-rm-watch]:
1462 [set-file-times, set-visited-file-modtime]:
1463 [verify-visited-file-modtime]: Add handler.
1464 (with-tramp-gvfs-error-message)
1465 (tramp-gvfs-handle-set-visited-file-modtime)
1466 (tramp-gvfs-fuse-file-name): Remove.
1467 (tramp-gvfs-handle-file-notify-add-watch)
1468 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1469 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1470
1471 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1472 Order alphabetically.
1473 [file-notify-rm-watch ]: Use default Tramp handler.
1474 [executable-find]: Remove private handler.
1475 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1476 `default-directory'.
1477 (tramp-sh-handle-executable-find)
1478 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1479 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1480 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1481 Do not use `format' in `tramp-message'.
1482
1483 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1484 [file-notify-rm-watch, set-visited-file-modtime]:
1485 [verify-visited-file-modtime]: Add handler.
1486 (tramp-smb-call-winexe): Do not bind `default-directory'.
1487
1488 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1489
1490 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1491
1492 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1493
1494 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1495 use it.
1496 (log-view-diff-changeset): Same.
1497 (log-view-diff-common): Call backend command `previous-revision'
1498 to find out the previous revision, in both cases. Swap the
1499 variables `to' and `fr', so that `fr' usually refers to the
1500 earlier revision (Bug#14989).
1501
1502 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
1503
1504 * ibuf-ext.el (ibuffer-filter-by-filename):
1505 Make it work with dired buffers too.
1506
1507 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
1508
1509 * emacs-lisp/re-builder.el (reb-color-display-p):
1510 * files.el (save-buffers-kill-terminal):
1511 * net/browse-url.el (browse-url):
1512 * server.el (server-save-buffers-kill-terminal):
1513 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1514 Prefer nil to selected-frame for the first arg of frame-parameter.
1515
1516 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1517
1518 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1519
1520 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
1521
1522 * minibuffer.el (completion--twq-all): Try and preserve each
1523 completion's case choice (bug#14907).
1524
1525 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1526
1527 * net/network-stream.el (open-network-stream): Mention the new
1528 :nogreeting parameter.
1529 (network-stream-open-starttls): Use the :nogreeting parameter
1530 (bug#14938).
1531
1532 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1533
1534 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1535 more natural than popping.
1536
1537 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
1538 (shr-urlify): Highlight under mouse.
1539
1540 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1541
1542 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1543
1544 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1545
1546 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1547 buffer for output.
1548
1549 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1550 point-min==1. Fix search string. Fix parentheses missing.
1551
1552 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
1553 assume point-min==1. Fix search string. Fix parentheses missing.
1554
1555 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1556
1557 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1558 buffer for output.
1559
1560 2013-07-29 Eli Zaretskii <eliz@gnu.org>
1561
1562 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1563 initial frame is minibuffer-less. (Bug#14841)
1564
1565 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
1566
1567 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1568 option.
1569
1570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1571 (tramp-maybe-open-connection): Use it.
1572
1573 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1574
1575 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1576 minimal set of parameters passed when creating a frame, because
1577 the minibuffer status of a frame cannot be changed later.
1578
1579 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
1580
1581 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1582 replace-regexp-in-string and inadvertent omissions in previous change.
1583 (todo-filter-items): Ensure only file names are comma-separated in
1584 name of filtered items buffer.
1585
1586 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1587
1588 * desktop.el: Optionally force offscreen frames back onscreen.
1589 (desktop-restoring-reuses-frames): New option.
1590 (desktop--compute-pos, desktop--move-onscreen): New functions.
1591 (desktop--make-frame): Use desktop--move-onscreen.
1592
1593 2013-07-27 Alan Mackenzie <acm@muc.de>
1594
1595 Fontify a Java generic method as a function.
1596 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1597 value to t.
1598
1599 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
1600
1601 * calendar/todo-mode.el: Add command to rename todo files.
1602 (todo-rename-file): New command.
1603 (todo-key-bindings-t): Add key binding for it. Change the
1604 bindings of todo-filter-regexp-items(-multifile) to use `x'
1605 instead of `r', since the latter is better suited to the new
1606 renaming command.
1607
1608 2013-07-27 Alan Mackenzie <acm@muc.de>
1609
1610 Make Java try-with-resources statement parse properly.
1611 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1612 (c-block-stmt-1-2-key): New language constants/variables.
1613 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1614 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1615 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
1616 with c-block-stmt-1-2-key.
1617
1618 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
1619
1620 * desktop.el (desktop--make-frame): Apply most frame parameters after
1621 creating the frame to force (partially or totally) offscreen frames to
1622 be restored as such.
1623
1624 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1625
1626 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
1627 (Bug#14948)
1628
1629 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1632 `base' arg of backtrace-frame.
1633
1634 2013-07-26 Eli Zaretskii <eliz@gnu.org>
1635
1636 * simple.el (list-processes): Doc fix.
1637
1638 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1639
1640 * desktop.el (desktop--select-frame):
1641 Try harder to reuse existing frames.
1642
1643 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1646 (edebug-eval): Use backtrace-eval.
1647 (edebug--display, edebug--recursive-edit): Don't let-bind the
1648 edebug-outer-* vars that keep track of variables we locally let-bind.
1649 (edebug-outside-excursion): Don't restore outside values of locally
1650 let-bound vars.
1651 (edebug--display): Use user-error.
1652 (cl-lexical-debug, cl-debug-env): Remove.
1653
1654 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1657 are restored to be sure that they are visible before deleting any
1658 remaining ones.
1659
1660 2013-07-26 Matthias Meulien <orontee@gmail.com>
1661
1662 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1663 vc-print-root-log. (Bug#14948)
1664
1665 2013-07-26 Richard Stallman <rms@gnu.org>
1666
1667 Add aliases for encrypting mail.
1668 * epa.el (epa-mail-aliases): New option.
1669 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1670 Bind inhibit-read-only so read-only text doesn't ruin everything.
1671 (epa-mail-default-recipients): New subroutine broken out.
1672 Handle epa-mail-aliases.
1673
1674 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1676 Add support for lexical variables to the debugger's `e' command.
1677 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1678 vars, except for debugger-outer-match-data.
1679 (debugger-frame-number): Move check for "on a function call" from
1680 callers into it. Add `skip-base' argument.
1681 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1682 (debugger-env-macro): Only reset the state stored in non-variables,
1683 i.e. current-buffer and match-data.
1684 (debugger-eval-expression): Rewrite using backtrace-eval.
1685 * subr.el (internal--called-interactively-p--get-frame): Remove.
1686 (called-interactively-p):
1687 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1688 `base' arg of backtrace-frame instead.
1689
1690 2013-07-26 Glenn Morris <rgm@gnu.org>
1691
1692 * align.el (align-regexp): Doc fix. (Bug#14857)
1693 (align-region): Explicit error if subexpression missing/does not match.
1694
1695 * simple.el (global-visual-line-mode):
1696 Do not duplicate the mode lighter. (Bug#14858)
1697
1698 2013-07-25 Martin Rudalics <rudalics@gmx.at>
1699
1700 * window.el (display-buffer): In display-buffer bind
1701 split-window-keep-point to t, bug#14829.
1702
1703 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1704
1705 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1706 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1707 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1708 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1709 Change accordingly.
1710 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1711 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
1712
1713 2013-07-25 Glenn Morris <rgm@gnu.org>
1714
1715 * dired-x.el (dired-mark-extension): Convert comment to doc string.
1716
1717 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1720 parameter to modify-frame-parameters if the value has not changed;
1721 this is a workaround for bug#14949.
1722 (desktop--make-frame): On cl-delete-if call, check parameter name,
1723 not full parameter.
1724
1725 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1726
1727 * vc/vc.el (vc-ignore): New function.
1728
1729 * vc/vc-svn.el (vc-svn-ignore): New function.
1730
1731 * vc/vc-hg.el (vc-hg-ignore): New function.
1732
1733 * vc/vc-git.el (vc-git-ignore): New function.
1734
1735 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1736 (vc-dir-ignore): New function.
1737
1738 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1739 (cvs-append-to-ignore): Move here from pcvs.el.
1740
1741 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1742
1743 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1744
1745 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1746
1747 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1748 (desktop-restore-frames): Warn when deleting an existing frame failed.
1749
1750 2013-07-24 Glenn Morris <rgm@gnu.org>
1751
1752 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1753
1754 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1755
1756 * filenotify.el (file-notify-supported-p):
1757 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1758 Remove functions.
1759
1760 * autorevert.el (auto-revert-use-notify):
1761 (auto-revert-notify-add-watch):
1762 * net/tramp.el (tramp-file-name-for-operation):
1763 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1764 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1765 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1766 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1767 Remove `file-notify-supported-p' entry.
1768
1769 2013-07-24 Glenn Morris <rgm@gnu.org>
1770
1771 * printing.el: Replace all uses of deleted ps-windows-system,
1772 ps-lp-system, ps-flatten-list with lpr- versions.
1773
1774 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1777 checked with memq (bug#14935).
1778
1779 * files.el (revert-buffer-function): Use a non-nil default.
1780 (revert-buffer-preserve-modes): Declare var to
1781 provide access to the `preserve-modes' argument.
1782 (revert-buffer): Let-bind it.
1783 (revert-buffer--default): New function, extracted from revert-buffer.
1784
1785 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * lpr.el: Signal print errors more prominently.
1788 (print-region-function): Don't default to nil.
1789 (lpr-print-region): New function, extracted from print-region-1.
1790 Check lpr's return value and signal an error in case of problem.
1791 (print-region-1): Use it.
1792 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1793 versions instead.
1794 (ps-printer-name): Default to nil.
1795 (ps-printer-name-option): Default to lpr-printer-switch.
1796 (ps-print-region-function): Don't default to nil.
1797 (ps-postscript-code-directory): Simplify default.
1798 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1799 (ps-string-list, ps-eval-switch, ps-flatten-list)
1800 (ps-flatten-list-1): Remove.
1801 (ps-multibyte-buffer): Avoid setq.
1802 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1803 (print-region-function, ps-print-region-function): Don't set them here.
1804
1805 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1806
1807 * ido.el (ido-fractionp):
1808 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1809 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1810 (ido-max-directory-size, ido-max-dir-file-cache)
1811 (ido-decorations): Doc fix.
1812
1813 * ansi-color.el: Fix old URL.
1814
1815 2013-07-23 Michael R. Mauger <michael@mauger.com>
1816
1817 * progmodes/sql.el Version 3.3
1818 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1819 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1820 (sql-interactive-remove-continuation-prompt): Rewrite, use
1821 functions above. Fix continuation prompt and complete output line
1822 handling.
1823 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1824 redirected output buffer.
1825 (sql-mode): Restore deleted code (Bug#13591).
1826
1827 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1828
1829 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1830
1831 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1832
1833 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1834
1835 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1836 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1837 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1838
1839 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1840
1841 * desktop.el (desktop-clear): Simplify; remove useless checks
1842 against invalid buffer names.
1843 (desktop-list*): Use cl-list*.
1844 (desktop-buffer-info, desktop-create-buffer): Simplify.
1845
1846 2013-07-23 Leo Liu <sdl.web@gmail.com>
1847
1848 * bookmark.el (bookmark-make-record): Restore NAME as a default
1849 value. (Bug#14933)
1850
1851 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1854 extracted from autoload--insert-text.
1855 (autoload--insert-text): Remove.
1856 (autoload--print-cookie-text): New function, extracted from
1857 autoload--insert-cookie-text.
1858 (autoload--insert-cookie-text): Remove.
1859 (autoload-generate-file-autoloads): Adjust calls accordingly.
1860
1861 * winner.el (winner-hook-installed-p): Remove.
1862 (winner-mode): Simplify accordingly.
1863
1864 * subr.el (add-to-list): Fix compiler-macro when `append' is
1865 not constant. Don't use `cl-member' for the base case.
1866
1867 * progmodes/subword.el: Fix boundary case (bug#13758).
1868 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1869 own group.
1870 (subword-backward-regexp): Make it a constant.
1871 (subword-forward-internal): Don't treat a trailing capital as the
1872 beginning of a word.
1873
1874 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1875
1876 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1877 global value of tabulated-list-revert-hook (bug#14930).
1878
1879 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1880
1881 * desktop.el: Require 'cl-lib.
1882 (desktop-before-saving-frames-functions): New hook.
1883 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1884 for frames being saved. Rename from desktop--save-minibuffer-frames.
1885 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1886 Do not save frames with non-nil `desktop-dont-save' parameter.
1887 Filter out deleted frames.
1888 (desktop--find-frame): Use cl-find-if.
1889 (desktop--select-frame): Use cl-(first|second|third) to access values
1890 of desktop-mini.
1891 (desktop--make-frame): Use cl-delete-if.
1892 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1893 (desktop-restore-frames): Use cl-(first|second|third) to access values
1894 of desktop-mini. Look for visible frame at the end, not while
1895 restoring frames.
1896
1897 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1898 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1899 Use string-match-p, looking-at-p (bug#14927).
1900
1901 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1902
1903 * desktop.el (desktop-saved-frame-states):
1904 Rename from desktop--saved-states; all users changed.
1905 (desktop-save-frames): Rename from desktop--save-frames.
1906 Do not save state to desktop file.
1907 (desktop-save): Save desktop-saved-frame-states to desktop file
1908 and reset to nil.
1909 (desktop-restoring-frames-p): New function.
1910 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1911 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1912 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1913
1914 * desktop.el: Correctly restore iconified frames.
1915 (desktop--filter-iconified-position): New function.
1916 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1917
1918 2013-07-20 Glenn Morris <rgm@gnu.org>
1919
1920 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1921 Let `message' do the formatting.
1922 (def-gdb-preempt-display-buffer): Add explicit format.
1923
1924 * image-dired.el (image-dired-track-original-file):
1925 Use with-current-buffer.
1926 (image-dired-track-thumbnail): Use with-current-buffer.
1927 Avoid changing point of wrong window.
1928
1929 * image-dired.el (image-dired-track-original-file):
1930 Avoid changing point of wrong window. (Bug#14909)
1931
1932 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1933
1934 * progmodes/gdb-mi.el (gdb-done-or-error):
1935 Guard against "%" in gdb output. (Bug#14127)
1936
1937 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1940 (Bug#14826)
1941
1942 * international/mule.el (coding-system-iso-2022-flags): Fix last
1943 change.
1944
1945 2013-07-20 Kenichi Handa <handa@gnu.org>
1946
1947 * international/mule.el (coding-system-iso-2022-flags):
1948 Add `8-bit-level-4'. (Bug#8522)
1949
1950 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1951
1952 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1953 (bug#14815).
1954
1955 * net/eww.el (eww-process-text-input): Allow inputting when the
1956 point is at the start of the line, as the properties aren't
1957 front-sticky.
1958
1959 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1960 degenerate widths.
1961
1962 2013-07-19 Richard Stallman <rms@gnu.org>
1963
1964 * epa.el (epa-popup-info-window): Doc fix.
1965
1966 * subr.el (split-string): New arg TRIM.
1967
1968 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1969
1970 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1971 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1972
1973 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1974
1975 * filenotify.el (file-notify--library): Rename from
1976 `file-notify-support'. Do not autoload. Adapt all uses.
1977 (file-notify-supported-p): New defun.
1978
1979 * autorevert.el (auto-revert-use-notify):
1980 Use `file-notify-supported-p' instead of `file-notify-support'.
1981 Adapt docstring.
1982 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1983
1984 * net/tramp.el (tramp-file-name-for-operation):
1985 Add `file-notify-supported-p'.
1986
1987 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1988 New defun.
1989 (tramp-sh-file-name-handler-alist): Add it as handler for
1990 `file-notify-supported-p '.
1991
1992 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1994 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1995 Add `ignore' as handler for `file-notify-*' functions.
1996
1997 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1998
1999 * simple.el (line-move-partial, line-move): Don't start vscroll or
2000 scroll-up if the current line is not taller than the window.
2001 (Bug#14881)
2002
2003 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2006 highlight question marks in the method names as strings.
2007 (ruby-block-beg-keywords): Inline.
2008 (ruby-font-lock-keyword-beg-re): Extract from
2009 `ruby-font-lock-keywords'.
2010
2011 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2012
2013 * frame.el (blink-cursor-blinks): New defcustom.
2014 (blink-cursor-blinks-done): New defvar.
2015 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2016 (blink-cursor-timer-function): Check if number of blinks has been
2017 done on X and NS.
2018 (blink-cursor-suspend, blink-cursor-check): New defuns.
2019
2020 2013-07-15 Glenn Morris <rgm@gnu.org>
2021
2022 * edmacro.el (edmacro-format-keys): Fix previous change.
2023
2024 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2025
2026 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2027 The hack didn't work outside English locales anyway.
2028
2029 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2030
2031 * simple.el (define-alternatives): Rename from alternatives-define,
2032 per RMS' suggestion.
2033
2034 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2035
2036 * desktop.el (desktop-restore-frames): Change default to t.
2037 (desktop-restore-in-current-display): Now offer more options.
2038 (desktop-restoring-reuses-frames): New customization option.
2039 (desktop--saved-states): Doc fix.
2040 (desktop-filter-parameters-alist): New variable, renamed and expanded
2041 from desktop--excluded-frame-parameters.
2042 (desktop--target-display): New variable.
2043 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2044 (desktop--filter-tty*, desktop--filter-*-color)
2045 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2046 (desktop--filter-save-desktop-parm)
2047 (desktop-restore-in-original-display-p): New functions.
2048 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2049 (desktop--save-minibuffer-frames): New function, inspired by a similar
2050 function from Martin Rudalics.
2051 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2052 (desktop--restore-in-this-display-p): Remove.
2053 (desktop--find-frame): Rename from desktop--find-frame-in-display
2054 and add predicate argument.
2055 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2056 (desktop--reuse-list): New variable.
2057 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2058 New functions.
2059 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2060
2061 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2062
2063 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2064
2065 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2068 Highlight conversion methods on Kernel.
2069
2070 2013-07-13 Alan Mackenzie <acm@muc.de>
2071
2072 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2073 and comment it out. This out-commenting enables certain C++
2074 declarations to be parsed correctly.
2075
2076 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2077
2078 * international/mule.el (define-coding-system): Doc fix.
2079
2080 * simple.el (default-font-height): Don't call font-info if the
2081 frame's default font didn't change since the frame was created.
2082 (Bug#14838)
2083
2084 2013-07-13 Leo Liu <sdl.web@gmail.com>
2085
2086 * ido.el (ido-read-file-name): Guard against non-symbol value.
2087
2088 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2089
2090 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2091 in nested defuns.
2092
2093 2013-07-13 Leo Liu <sdl.web@gmail.com>
2094
2095 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2096 ido-set-matches call. (Bug#6852)
2097
2098 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2099
2100 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2101 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2102 Ruby 2.0.
2103 (ruby-font-lock-keywords): Distinguish calls to functions with
2104 module-like names from module references. Highlight character
2105 literals.
2106
2107 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2108
2109 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2110 (gdb-send): Handle continued commands. (Bug#14847)
2111
2112 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2113
2114 * desktop.el (desktop--v2s): Remove unused local variable.
2115 (desktop-save-buffer): Make defvar-local; adjust docstring.
2116 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2117 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2118
2119 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2120
2121 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2122
2123 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2124
2125 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2126 (Bug#14842)
2127
2128 2013-07-12 Glenn Morris <rgm@gnu.org>
2129
2130 * doc-view.el: Require cl-lib at runtime too.
2131 (doc-view-remove-if): Remove.
2132 (doc-view-search-next-match, doc-view-search-previous-match):
2133 Use cl-remove-if.
2134
2135 * edmacro.el: Require cl-lib at runtime too.
2136 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2137 (edmacro-mismatch, edmacro-subseq): Remove.
2138
2139 * shadowfile.el: Require cl-lib.
2140 (shadow-remove-if): Remove.
2141 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2142 Use cl-remove-if.
2143
2144 * wid-edit.el: Require cl-lib.
2145 (widget-choose): Use cl-remove-if.
2146 (widget-remove-if): Remove.
2147
2148 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2149 (ebrowse-delete-if-not): Remove.
2150 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2151 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2152 Use cl-delete-if-not.
2153
2154 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2155
2156 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2157 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2158
2159 2013-07-12 Leo Liu <sdl.web@gmail.com>
2160
2161 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2162
2163 2013-07-11 Glenn Morris <rgm@gnu.org>
2164
2165 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2166 (edebug-gensym-index, edebug-gensym):
2167 Remove reimplementation of cl-gensym.
2168 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2169
2170 * thumbs.el: Require cl-lib at run-time too.
2171 (thumbs-gensym-counter, thumbs-gensym):
2172 Remove reimplementation of cl-gensym.
2173 (thumbs-temp-file): Use cl-gensym.
2174
2175 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2176 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2177 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2178 (ert--union, ert--gensym-counter, ert--gensym-counter)
2179 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2180 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2181 (ert-make-test-unbound, ert--expand-should-1)
2182 (ert--expand-should, ert--should-error-handle-error)
2183 (should-error, ert--explain-equal-rec)
2184 (ert--plist-difference-explanation, ert-select-tests)
2185 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2186 Use cl-lib functions rather than reimplementations.
2187
2188 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2189
2190 * net/tramp.el (tramp-methods): Extend docstring.
2191 (tramp-connection-timeout): New defcustom.
2192 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2193 (with-tramp-progress-reporter): Simplify.
2194 (tramp-process-actions): Improve messages.
2195
2196 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2197 * net/tramp-sh.el (tramp-maybe-open-connection):
2198 Use `tramp-connection-timeout'.
2199 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2200 (Bug#14808)
2201
2202 2013-07-11 Leo Liu <sdl.web@gmail.com>
2203
2204 * ido.el (ido-read-file-name): Conform to the requirements of
2205 read-file-name. (Bug#11861)
2206 (ido-read-directory-name): Conform to the requirements of
2207 read-directory-name.
2208
2209 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2210
2211 * subr.el (delay-warning): New function.
2212
2213 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2214
2215 * simple.el (default-line-height): New function.
2216 (line-move-partial, line-move): Use it instead of computing the
2217 line height inline.
2218 (line-move-partial): Always compute ROWH. If the last line is
2219 partially-visible, but its text is completely visible, allow
2220 cursor to enter such a partially-visible line.
2221
2222 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2223
2224 Improve error messages. (Bug#14808)
2225
2226 * net/tramp.el (tramp-current-connection): New defvar, moved from
2227 tramp-sh.el.
2228 (tramp-message-show-progress-reporter-message): Remove, not
2229 needed anymore.
2230 (tramp-error-with-buffer): Show message in minibuffer.
2231 Discard input before waiting. Reset connection timestamp.
2232 (with-tramp-progress-reporter): Improve messages.
2233 (tramp-process-actions): Use progress reporter. Delete process in
2234 case of error. Improve messages.
2235
2236 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2237 Call `tramp-error-with-buffer' with vector and buffer.
2238 (tramp-current-connection): Remove.
2239 (tramp-maybe-open-connection): The car of
2240 `tramp-current-connection' are the first 3 slots of the vector.
2241
2242 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2243
2244 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2245 inside continued strings.
2246
2247 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2248
2249 Timestamp fixes for undo (Bug#14824).
2250 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2251
2252 2013-07-10 Leo Liu <sdl.web@gmail.com>
2253
2254 * files.el (require-final-newline): Allow safe local value.
2255 (Bug#14834)
2256
2257 2013-07-09 Leo Liu <sdl.web@gmail.com>
2258
2259 * ido.el (ido-read-directory-name): Handle fallback.
2260 (ido-read-file-name): Update DIR to ido-current-directory.
2261 (Bug#1516)
2262 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2263
2264 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2265
2266 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2267 "autoload". Remove "warn lower camel case" section, previously
2268 commented out. Highlight negation char. Do not highlight the
2269 target in singleton method definitions.
2270
2271 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * faces.el (tty-setup-hook): Declare the hook.
2274
2275 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2276 and detect when a guard/pred depends on local vars (bug#14773).
2277 (pcase--u1): Adjust caller.
2278
2279 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2280
2281 * simple.el (line-move-partial, line-move): Account for
2282 line-spacing.
2283 (line-move-partial): Avoid setting vscroll when the last
2284 partially-visible line in window is of default height.
2285
2286 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2287
2288 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2289 been used a while.
2290
2291 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2292
2293 * subr.el (read-quoted-char): Remove unused local variable `char'.
2294
2295 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2296
2297 * ediff.el (ediff-version): Version update.
2298 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2299 (ediff-merge-with-ancestor-command, ediff-directories-command)
2300 (ediff-directories3-command, ediff-merge-directories-command)
2301 (ediff-merge-directories-with-ancestor-command): New functions.
2302 All are command-line interfaces to ediff: to facilitate calling
2303 Emacs with the appropriate ediff functions invoked.
2304
2305 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2306 (viper-save-kill-buffer): Check if buffer is modified.
2307
2308 * viper.el (viper-version): Version update.
2309 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2310
2311 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2314 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2315 (viper-intercept-ESC-key): Simplify.
2316 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2317 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2318 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2319 (viper-setup-ESC-to-escape): New functions.
2320 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2321 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2322
2323 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2324
2325 * simple.el (default-font-height, window-screen-lines):
2326 New functions.
2327 (line-move, line-move-partial): Use them instead of
2328 frame-char-height and window-text-height. This makes scrolling
2329 text smoother when the buffer's default face uses a font that is
2330 different from the frame's default font.
2331
2332 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2333
2334 * files.el (write-file): Do not display confirm dialog for NS,
2335 it does its own dialog, which can't be cancelled (Bug#14578).
2336
2337 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2338
2339 * simple.el (line-move-partial): Adjust the row returned by
2340 posn-at-point for the current window-vscroll. (Bug#14567)
2341
2342 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2343
2344 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2345 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2346 spaces.
2347
2348 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2349
2350 * window.el (window-state-put-stale-windows): New variable.
2351 (window--state-put-2): Save list of windows without matching buffer.
2352 (window-state-put): Remove "bufferless" windows if possible.
2353
2354 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2355
2356 * simple.el (alternatives-define): Remove leftover :group keyword.
2357 Tweak docstring.
2358
2359 2013-07-06 Leo Liu <sdl.web@gmail.com>
2360
2361 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2362 (ido-enable-virtual-buffers): New variable.
2363 (ido-buffer-internal, ido-toggle-virtual-buffers)
2364 (ido-make-buffer-list): Use it.
2365 (ido-exhibit): Support turning on and off virtual buffers
2366 automatically.
2367
2368 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2369
2370 * simple.el (alternatives-define): New macro.
2371
2372 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * subr.el (read-quoted-char): Use read-key.
2375 (sit-for): Let read-event decode tty input (bug#14782).
2376
2377 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
2378
2379 * calendar/todo-mode.el: Add handling of file deletion, both by
2380 mode command and externally. Fix various related bugs.
2381 Clarify Commentary and improve some documentation strings and code.
2382 (todo-delete-file): New command.
2383 (todo-check-file): New function.
2384 (todo-show): Handle external deletion of the file we're trying to
2385 show (bug#14688). Replace called-interactively-p by an optional
2386 prefix argument to avoid problematic interaction with catch form
2387 when byte compiled (bug#14702).
2388 (todo-quit): Handle external deletion of the archive's todo file.
2389 Make sure the buffer that was visiting the archive file is still
2390 live before trying to bury it.
2391 (todo-category-completions): Handle external deletion of any
2392 category completion files.
2393 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2394 of todo files, in case of external deletion.
2395 (todo-add-file): Replace unnecessary setq by let-binding.
2396 (todo-find-archive): Check whether there are any archives.
2397 Replace unnecessary setq by let-binding.
2398 (todo-archive-done-item): Use find-file-noselect to get the
2399 archive buffer whether or not the archive already exists.
2400 Remove superfluous code. Use file size instead of buffer-file-name to
2401 check if the archive is new; if it is, update list of archives.
2402 (todo-default-todo-file): Allow nil to be a valid value for when
2403 there are no todo files.
2404 (todo-reevaluate-default-file-defcustom): Use corrected definition
2405 of todo-default-todo-file.
2406 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2407 (todo-delete-category, todo-show-categories-table)
2408 (todo-category-number): Clarify comment.
2409 (todo-filter-items): Clarify documentation string.
2410 (todo-show-current-file, todo-display-as-todo-file)
2411 (todo-reset-and-enable-done-separator): Tweak documentation string.
2412 (todo-done-separator): Make separator length window-width, since
2413 bug#2749 is now fixed.
2414
2415 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
2416
2417 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2418 Support both "gvfs-monitor-dir" and "inotifywait".
2419 (tramp-sh-file-inotifywait-process-filter): Rename from
2420 `tramp-sh-file-notify-process-filter'.
2421 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2422 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2423
2424 2013-07-05 Leo Liu <sdl.web@gmail.com>
2425
2426 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2427
2428 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2429
2430 * frame.el (display-pixel-height, display-pixel-width)
2431 (display-mm-height, display-mm-width): Mention behavior on
2432 multi-monitor setups in docstrings.
2433 (w32-display-monitor-attributes-list): Declare function.
2434 (display-monitor-attributes-list): Use it.
2435
2436 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * filenotify.el: New package.
2439
2440 * autorevert.el (top): Require filenotify.el.
2441 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2442 instead.
2443 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2444 (auto-revert-notify-handler): Use `file-notify-*' functions.
2445
2446 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2447
2448 * net/tramp.el (tramp-file-name-for-operation):
2449 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
2450
2451 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2452 for `file-notify-add-watch' and `file-notify-rm-watch'.
2453 (tramp-process-sentinel): Improve trace.
2454 (tramp-sh-handle-file-notify-add-watch)
2455 (tramp-sh-file-notify-process-filter)
2456 (tramp-sh-handle-file-notify-rm-watch)
2457 (tramp-get-remote-inotifywait): New defuns.
2458
2459 2013-07-03 Juri Linkov <juri@jurta.org>
2460
2461 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2462 call of `occur-read-primary-args' to interactive spec.
2463
2464 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2465 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2466
2467 2013-07-03 Matthias Meulien <orontee@gmail.com>
2468
2469 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2470 `Buffer-menu-multi-occur'. Add it to the menu.
2471 (Buffer-menu-mode): Document it in docstring.
2472 (Buffer-menu-multi-occur): New command. (Bug#14673)
2473
2474 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2475
2476 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2477 keywords and built-ins.
2478
2479 2013-07-03 Glenn Morris <rgm@gnu.org>
2480
2481 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2482
2483 Make info-xref checks case-sensitive by default
2484 * info.el (Info-find-node, Info-find-in-tag-table)
2485 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2486 Add option for exact case matching of nodes.
2487 * info-xref.el (info-xref): New custom group.
2488 (info-xref-case-fold): New option.
2489 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2490
2491 2013-07-03 Leo Liu <sdl.web@gmail.com>
2492
2493 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2494
2495 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2496
2497 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2498 middle of block statement initially, lower the depth. Remove
2499 FIXME comment, not longer valid. Remove middle of block statement
2500 detection, no need to do that anymore since we've been using
2501 `ruby-parse-region' here.
2502
2503 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2504
2505 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2506
2507 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
2508
2509 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2510
2511 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
2512
2513 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2514 (desktop-restore-in-current-display): New customization option.
2515 (desktop--excluded-frame-parameters): Add `font'.
2516 (desktop--save-frames): Rename from desktop--save-windows.
2517 (desktop--restore-in-this-display-p): New function.
2518 (desktop--make-full-frame): Remove unwanted width/height from
2519 full(width|height) frames.
2520 (desktop--restore-frames): Rename from desktop--restore-windows.
2521 Obey desktop-restore-current-display. Do not delete old frames or
2522 select a new frame unless we were able to restore at least one frame.
2523
2524 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
2525
2526 * files.el (find-file-noselect): Simplify conditional expression.
2527
2528 * remember.el (remember-append-to-file):
2529 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2530
2531 Add `remember-notes' function to store random notes across Emacs
2532 restarts.
2533 * remember.el (remember-data-file): Add :set callback to affect
2534 notes buffer (if any).
2535 (remember-notes): New command.
2536 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2537 New defcustoms for the `remember-notes' function.
2538 (remember-notes-save-and-bury-buffer): New command.
2539 (remember-notes-mode-map): New variable.
2540 (remember-mode): New minor mode.
2541 (remember-notes--kill-buffer-query): New function.
2542 * startup.el (initial-buffer-choice): Add notes to custom type.
2543
2544 2013-06-30 Eli Zaretskii <eliz@gnu.org>
2545
2546 * bindings.el (right-char, left-char): Don't call sit-for, this is
2547 no longer needed. Use arithmetic comparison only for numerical
2548 arguments.
2549
2550 * international/mule-cmds.el (select-safe-coding-system):
2551 Handle the case of FROM being a string correctly. (Bug#14755)
2552
2553 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2554
2555 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2556 progression on degenerate tables.
2557 (shr-rescale-image): ImageMagick animated images currently don't work.
2558
2559 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
2560
2561 Some fixes and improvements for desktop frame restoration.
2562 It is still experimental and disabled by default.
2563 * desktop.el (desktop--save-windows): Put the selected frame at
2564 the head of the list.
2565 (desktop--make-full-frame): New function.
2566 (desktop--restore-windows): Try to re-select the frame that was
2567 selected upon saving. Do not abort if some frames fail to restore,
2568 just show an error message and continue. Set up maximized frames
2569 so they have default non-maximized dimensions.
2570
2571 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2572
2573 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2574 Don't start heredoc inside a string or comment.
2575
2576 2013-06-29 Eli Zaretskii <eliz@gnu.org>
2577
2578 * bindings.el (visual-order-cursor-movement): New defcustom.
2579 (right-char, left-char): Provide visual-order cursor motion by
2580 calling move-point-visually. Update the doc strings.
2581
2582 2013-06-28 Kenichi Handa <handa@gnu.org>
2583
2584 * international/mule.el (define-coding-system): New coding system
2585 properties :inhibit-null-byte-detection,
2586 :inhibit-iso-escape-detection, and :prefer-utf-8.
2587 (set-buffer-file-coding-system): If :charset-list property of
2588 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2589 appropriate for setting.
2590
2591 * international/mule-cmds.el (select-safe-coding-system):
2592 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2593 multibyte characters, return utf-8 (or one of its siblings).
2594
2595 * international/mule-conf.el (prefer-utf-8): New coding system.
2596 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2597 files.
2598
2599 2013-06-28 Ivan Kanis <ivan@kanis.fr>
2600
2601 * net/shr.el (shr-render-region): New function.
2602
2603 * net/eww.el: Autoload `eww-browse-url'.
2604
2605 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2606
2607 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2608 Adapt to `package-desc-version' being a list.
2609 Use `package--ac-desc-version' to retrieve version from a package
2610 archive element.
2611
2612 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2613
2614 New experimental feature to save&restore window and frame setup.
2615 * desktop.el (desktop-save-windows): New defcustom.
2616 (desktop--saved-states): New var.
2617 (desktop--excluded-frame-parameters): New defconst.
2618 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2619 (desktop--restore-windows, desktop--save-windows): New functions.
2620 (desktop-save): Call `desktop--save-windows'.
2621 (desktop-read): Call `desktop--restore-windows'.
2622
2623 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2624
2625 * net/shr.el (add-face-text-property): Remove compat definition.
2626
2627 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2628
2629 * info.el (Info-try-follow-nearest-node): Move search for footnote
2630 above search for node name to prevent missing a footnote (bug#14717).
2631
2632 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2633
2634 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2635
2636 2013-06-27 Leo Liu <sdl.web@gmail.com>
2637
2638 * net/eww.el (eww-read-bookmarks): Check file size.
2639
2640 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2643 advice--pending if newdef is nil or an autoload (bug#13820).
2644 (advice-mapc): New function.
2645
2646 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2647
2648 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2649 probably.
2650 (eww-mode-map): Add a menu bar.
2651 (eww-add-bookmark): New command.
2652 (eww-bookmark-mode): New mode and commands.
2653 (eww-add-bookmark): Remove newlines from the title.
2654 (eww-bookmark-browse): Don't bug out if it's the only window.
2655
2656 2013-06-26 Glenn Morris <rgm@gnu.org>
2657
2658 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2659 (hfy-size): Handle ttys. (Bug#14668)
2660
2661 * info-xref.el: Update for Texinfo 5 change in *note format.
2662 (info-xref-node-re, info-xref-note-re): New constants.
2663 (info-xref-check-buffer): Use info-xref-note-re.
2664
2665 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2668
2669 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2670 nil terminate the loop (bug#14718).
2671
2672 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2673
2674 * net/eww.el: Rework history traversal. When going forward/back,
2675 put these actions into the history, too, so that they can be
2676 replayed.
2677 (eww-render): Move the history reset to the correct buffer.
2678
2679 2013-06-25 Juri Linkov <juri@jurta.org>
2680
2681 * files-x.el (modify-dir-local-variable): Change the header comment
2682 in the file with directory local variables. (Bug#14692)
2683
2684 * files-x.el (read-file-local-variable-value): Add `default'.
2685 (Bug#14710)
2686
2687 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2688
2689 * net/eww.el (eww-make-unique-file-name): Create a unique file
2690 name before saving to entering `y' accidentally asynchronously.
2691
2692 2013-06-25 Ivan Kanis <ivan@kanis.fr>
2693
2694 * net/eww.el (eww-download): New command and keystroke.
2695
2696 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2697
2698 * net/eww.el (eww-copy-page-url): Change name of command.
2699
2700 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2701 be more consistent with Info and dired.
2702
2703 * net/eww.el (eww-mode-map): Ditto.
2704
2705 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2708 packages from archives.
2709 (package-archive-contents): Change format; include obsolete packages.
2710 (package-desc): Use `dir' to mark builtin packages.
2711 (package--from-builtin): Set the `dir' field to `builtin'.
2712 (generated-autoload-file, version-control): Declare.
2713 (package-compute-transaction): Change first arg and return value to be
2714 lists of package-descs. Adjust to new package-archive-contents format.
2715 (package--add-to-archive-contents): Adjust to new
2716 package-archive-contents format.
2717 (package-download-transaction): Arg is now a list of package-descs.
2718 (package-install): If `pkg' is a package name, pass it as
2719 a requirement, so it is subject to the usual (e.g. disabled) checks.
2720 (describe-package): Accept package-desc as well.
2721 (describe-package-1): Describe a specific package-desc. Add links to
2722 other package-descs for the same package name.
2723 (package-menu-describe-package): Pass the actual package-desc.
2724 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2725 works correctly.
2726 (package-desc-status): New function.
2727 (package-menu--refresh): New function, extracted
2728 from package-menu--generate.
2729 (package-menu--generate): Use it.
2730 (package-delete): Update package-alist.
2731 (package-menu-execute): Don't call package-initialize.
2732
2733 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2734 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2735 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2736 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2737 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2738 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2739
2740 2013-06-25 Martin Rudalics <rudalics@gmx.at>
2741
2742 * window.el (window--state-get-1): Workaround for bug#14527.
2743 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2744
2745 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2746
2747 * net/eww.el (eww-back-url): Implement the history by stashing all
2748 the data into a list.
2749 (eww-forward-url): Allow going forward in the history, too.
2750
2751 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2754 for values and use read--expression for expressions (bug#14710).
2755 (read-file-local-variable): Avoid setq.
2756 (read-file-local-variable-mode): Use minor-mode-list.
2757
2758 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2759
2760 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2761 for DOI URLs.
2762
2763 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2764
2765 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2766 Update imenu-support when dialect changes.
2767
2768 2013-06-25 Leo Liu <sdl.web@gmail.com>
2769
2770 * ido.el (ido-read-internal): Allow forward slash on windows.
2771
2772 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2773
2774 * net/eww.el (eww): Start of strings is \\`, not ^.
2775
2776 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2777
2778 * net/shr.el (shr-browse-url): Fix interactive spec.
2779
2780 * net/eww.el (eww): Add a trailing slash to domain names.
2781
2782 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2783
2784 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2785
2786 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2787
2788 * net/shr.el (shr-browse-url): Use an external browser if given a
2789 prefix.
2790
2791 * net/eww.el (eww-external-browser): Move to shr.
2792
2793 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2794
2795 * net/eww.el (eww): Work more correctly for file: URLs.
2796 (eww-detect-charset): Allow quoted charsets.
2797 (eww-yank-page-url): New command and keystroke.
2798
2799 2013-06-24 Daiki Ueno <ueno@gnu.org>
2800
2801 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2802 file name of gpg executable.
2803 (epg-context-program): New function.
2804 (epg-context-home-directory): New function.
2805 (epg-context-set-program): New function.
2806 (epg-context-set-home-directory): New function.
2807 (epg--start): Use `epg-context-program' instead of
2808 'epg-gpg-program'.
2809 (epg--list-keys-1): Likewise.
2810
2811 2013-06-24 Leo Liu <sdl.web@gmail.com>
2812
2813 * ido.el (ido-read-internal): Fix bug#14620.
2814
2815 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * faces.el (face-documentation): Simplify.
2818 (read-face-attribute, tty-find-type, x-resolve-font-name):
2819 Use `string-match-p'.
2820 (list-faces-display): Use `string-match-p'. Simplify.
2821 (face-spec-recalc): Check face to avoid face alias loops.
2822 (read-color): Use `string-match-p' and non-capturing parenthesis.
2823
2824 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2825
2826 * net/shr.el (shr-rescale-image): Use the new
2827 :max-width/:max-height functionality.
2828
2829 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2830
2831 * net/eww.el (eww-search-prefix): New variable.
2832 (eww): Use it.
2833 (eww-external-browser): New variable.
2834 (eww-mode-map): New keystroke.
2835 (eww-browse-with-external-browser): New command.
2836
2837 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2838
2839 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2840
2841 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2842 Don't skip aligning the next header field when padding is 0;
2843 otherwise, field width is not respected unless the title is as
2844 wide as the field.
2845
2846 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * emacs-lisp/package.el (package-el-version): Remove.
2849 (package-process-define-package): Fix inf-loop.
2850 (package-install): Allow symbols as arguments again.
2851
2852 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2853
2854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2855 add some more keyword-like methods.
2856 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2857
2858 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * bs.el (bs-buffer-show-mark): Make defvar-local.
2861 (bs-mode): Use setq-local.
2862
2863 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2864 (emacs-lock--try-unlocking): Make defvar-local.
2865
2866 2013-06-22 Glenn Morris <rgm@gnu.org>
2867
2868 * play/cookie1.el (cookie-apropos): Minor simplification.
2869
2870 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2871
2872 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2875 `regexp-opt', it breaks the build during dumping.
2876
2877 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2878
2879 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2880 Highlight keyword-like methods on Kernel and Module with
2881 font-lock-builtin-face.
2882 (auto-mode-alist): Consolidate different entries into one regexp
2883 and add more *file-s.
2884
2885 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2886
2887 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2888
2889 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2890 (diary-entry): Use it in the action of this button type instead of
2891 diary-goto-entry.
2892
2893 * calendar/todo-mode.el: New version.
2894 (todo-add-category): Append new category to end of file and give
2895 it the highest number, instead of putting it at the beginning and
2896 giving it 0. Incorporate noninteractive functionality.
2897 (todo-forward-category): Adapt to 1-based category numbering.
2898 Allow skipping over archived categories.
2899 (todo-backward-category): Derive from todo-forward-category.
2900 (todo-backward-item, todo-forward-item): Make noninteractive and
2901 delegate interactive part to new commands. Make sensitive to done items.
2902 (todo-categories): Make value an alist of category names and
2903 vectors of item counts.
2904 (todo-category-beg): Make a defconst.
2905 (todo-category-number): Use 1 instead of 0 as initial value.
2906 (todo-category-select): Make sensitive to overlays, optional item
2907 highlighting and done items.
2908 (todo-delete-item): Make sensitive to overlays and marked and done items.
2909 (todo-edit-item): Make sensitive to overlays and editing of
2910 date/time header optional. Add format checks.
2911 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2912 no-op if point is not on an item. Advertise using todo-edit-quit.
2913 (todo-edit-mode): Make sensitive to new format, font-locking, and
2914 multiple todo files.
2915 (todo-insert-item, todo-insert-item-here): Derive from
2916 todo-basic-insert-item and extend functionality.
2917 (todo-item-end, todo-item-start): Make sensitive to done items.
2918 (todo-item-string): Don't return text properties. Restore point.
2919 (todo-jump-to-category): Make sensitive to multiple todo files and
2920 todo archives. Use extended category completion.
2921 (todo-lower-item, todo-raise-item): Rename to *-priority and
2922 derive from todo-set-item-priority.
2923 (todo-mode): Derive from special-mode. Make sensitive to new
2924 format, font-locking and multiple todo files. Make read-only.
2925 (todo-mode-map): Don't suppress digit keys, so they can supply
2926 prefix arguments. Add many new key bindings.
2927 (todo-prefix): Insert as an overlay instead of file text.
2928 Change semantics from diary date expression to purely visual mark.
2929 (todo-print): Rename to todo-print-buffer. Make buffer display
2930 features printable. Remove option to restrict number of items
2931 printed. Add option to print to file.
2932 (todo-print-function): Rename to todo-print-buffer-function.
2933 (todo-quit): Extend to handle exiting new todo modes.
2934 (todo-remove-item): Make sensitive to overlays.
2935 (todo-save): Extend to buffers of filtered items.
2936 (todo-show): Make sensitive to done items, multiple todo files and
2937 new todo modes. Offer to convert legacy todo file before creating
2938 first new todo file.
2939 (todo-show-priorities): Rename to todo-top-priorities.
2940 Change semantics of value 0.
2941 (todo-top-priorities): Rename to todo-filter-top-priorities,
2942 derive from todo-filter-items and extend functionality.
2943 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2944 and extend functionality to other types of filtered items.
2945 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2946 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2947 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2948 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2949 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2950 (todo-edit-mode-hook, todo-entry-prefix-function)
2951 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2952 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2953 (todo-initials, todo-insert-threshold, todo-item-string-start)
2954 (todo-line-string, todo-menu, todo-mode-hook)
2955 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2956 (todo-print-priorities, todo-remove-separator)
2957 (todo-save-top-priorities-too, todo-string-count-lines)
2958 (todo-string-multiline-p, todo-time-string-format)
2959 (todo-tmp-buffer-name): Remove.
2960 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2961 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2962 (todo-edit-category-diary-inclusion)
2963 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2964 (todo-edit-file, todo-edit-item-date-day)
2965 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2966 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2967 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2968 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2969 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2970 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2971 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2972 (todo-filter-top-priorities-multifile, todo-find-archive)
2973 (todo-find-filtered-items-file, todo-go-to-source-item)
2974 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2975 (todo-jump-to-archive-category, todo-lower-category)
2976 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2977 (todo-move-category, todo-move-item, todo-next-button)
2978 (todo-next-item, todo-padded-string, todo-powerset)
2979 (todo-previous-button, todo-previous-item)
2980 (todo-print-buffer-to-file, todo-raise-category)
2981 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2982 (todo-set-category-number, todo-set-item-priority)
2983 (todo-set-top-priorities-in-category)
2984 (todo-set-top-priorities-in-file, todo-show-categories-table)
2985 (todo-sort-categories-alphabetically-or-numerically)
2986 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2987 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2988 (todo-toggle-item-header, todo-toggle-item-highlighting)
2989 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2990 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2991 (todo-unarchive-items, todo-unmark-category): New commands.
2992 (todo-absolute-file-name, todo-add-to-buffer-list)
2993 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2994 (todo-basic-insert-item, todo-category-completions)
2995 (todo-category-number, todo-category-string-matcher-1)
2996 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2997 (todo-check-format, todo-clear-matches)
2998 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2999 (todo-current-category, todo-date-string-matcher)
3000 (todo-define-insertion-command, todo-diary-expired-matcher)
3001 (todo-diary-goto-entry, todo-diary-item-p)
3002 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3003 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3004 (todo-done-item-section-p, todo-done-separator)
3005 (todo-done-string-matcher, todo-files, todo-filter-items)
3006 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3007 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3008 (todo-insert-category-line, todo-insert-item-from-calendar)
3009 (todo-insert-sort-button, todo-insert-with-overlays)
3010 (todo-insertion-command-name, todo-insertion-key-bindings)
3011 (todo-label-to-key, todo-longest-category-name-length)
3012 (todo-make-categories-list, todo-mode-external-set)
3013 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3014 (todo-modes-set-3, todo-multiple-filter-files)
3015 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3016 (todo-read-category, todo-read-date, todo-read-dayname)
3017 (todo-read-file-name, todo-read-time)
3018 (todo-reevaluate-category-completions-files-defcustom)
3019 (todo-reevaluate-default-file-defcustom)
3020 (todo-reevaluate-filelist-defcustoms)
3021 (todo-reevaluate-filter-files-defcustom)
3022 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3023 (todo-reset-done-separator, todo-reset-done-separator-string)
3024 (todo-reset-done-string, todo-reset-global-current-todo-file)
3025 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3026 (todo-reset-prefix, todo-set-categories)
3027 (todo-set-date-from-calendar, todo-set-show-current-file)
3028 (todo-set-top-priorities, todo-short-file-name)
3029 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3030 (todo-total-item-counts, todo-update-buffer-list)
3031 (todo-update-categories-display, todo-update-categories-sexp)
3032 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3033 New functions.
3034 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3035 New major modes.
3036 (todo-categories, todo-display, todo-edit, todo-faces)
3037 (todo-filtered): New defgroups.
3038 (todo-archived-only, todo-button, todo-category-string, todo-date)
3039 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3040 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3041 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3042 (todo-add-item-if-new-category, todo-always-add-time-string)
3043 (todo-categories-align, todo-categories-archived-label)
3044 (todo-categories-category-label, todo-categories-diary-label)
3045 (todo-categories-done-label, todo-categories-number-separator)
3046 (todo-categories-todo-label, todo-categories-totals-label)
3047 (todo-category-completions-files, todo-completion-ignore-case)
3048 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3049 (todo-done-separator-string, todo-done-string)
3050 (todo-files-function, todo-filter-done-items, todo-filter-files)
3051 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3052 (todo-initial-category, todo-initial-file, todo-item-mark)
3053 (todo-legacy-date-time-regexp, todo-mode-line-function)
3054 (todo-nondiary-marker, todo-number-prefix)
3055 (todo-print-buffer-function, todo-show-current-file)
3056 (todo-show-done-only, todo-show-first, todo-show-with-done)
3057 (todo-skip-archived-categories, todo-top-priorities-overrides)
3058 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3059 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3060 New defcustoms.
3061 (todo-category-done, todo-date-pattern, todo-date-string-start)
3062 (todo-diary-items-buffer, todo-done-string-start)
3063 (todo-filtered-items-buffer, todo-item-start)
3064 (todo-month-abbrev-array, todo-month-name-array)
3065 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3066 (todo-top-priorities-buffer): New defconsts.
3067 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3068 (todo-categories-with-marks, todo-category-string-face)
3069 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3070 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3071 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3072 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3073 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3074 (todo-font-lock-keywords, todo-global-current-todo-file)
3075 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3076 (todo-insertion-commands-args)
3077 (todo-insertion-commands-args-genlist)
3078 (todo-insertion-commands-names, todo-insertion-map)
3079 (todo-key-bindings-t, todo-key-bindings-t+a)
3080 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3081 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3082 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3083 (todo-visited): New variables.
3084
3085 2013-06-21 Glenn Morris <rgm@gnu.org>
3086
3087 * play/cookie1.el (cookie-apropos): Add optional display argument.
3088 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3089 (psychoanalyze-pinhead): Use cookie-doctor.
3090
3091 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3092
3093 * emacs-lisp/package.el (tar-get-file-descriptor)
3094 (tar--extract): Declare.
3095
3096 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3097
3098 Extend flymake's warning predicate to be a function (bug#14217).
3099 * progmodes/flymake.el (flymake-warning-predicate): New.
3100 (flymake-parse-line): Use it.
3101 (flymake-warning-re): Make obsolete alias to
3102 `flymake-warning-predicate'.
3103
3104 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3107 (package-obsolete-list): Remove.
3108 (package-activate): Remove min-version argument. Add `force' argument.
3109 Adjust to new package-alist format.
3110 (package-mark-obsolete): Remove.
3111 (package-unpack): Force reload of the package's autoloads.
3112 (package-installed-p): Check builtins if the installed package is not
3113 recent enough.
3114 (package-initialize): Don't reset package-obsolete-list.
3115 Don't specify which package version to activate.
3116 (package-process-define-package, describe-package-1)
3117 (package-menu--generate): Adjust to new package-alist format.
3118
3119 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3120
3121 * allout-widgets.el (allout-widgets-mode-off)
3122 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3123 (allout-widgets-post-command-business)
3124 (allout-widgets-after-copy-or-kill-function)
3125 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3126 (allout-decorate-item-and-context)
3127 (allout-graphics-modification-handler): Fix typos in docstrings.
3128 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3129
3130 * cmuscheme.el (scheme-start-file): Doc fix.
3131 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3132 (scheme-input-filter): Use `string-match-p'.
3133
3134 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3135
3136 * dired-x.el: Use Dired consistently in docstrings.
3137
3138 * dired.el: Use Dired consistently in docstrings.
3139 (dired-readin, dired-mode): Use `setq-local'.
3140 (dired-switches-alist): Make defvar-local.
3141 (dired-buffers-for-dir): Use `zerop'.
3142 (dired-safe-switches-p, dired-switches-escape-p)
3143 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3144 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3145 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3146 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3147 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3148 (dired-toggle-marks, dired-mark-files-containing-regexp)
3149 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3150 (dired-flag-auto-save-files, dired-flag-backup-files):
3151 Use `looking-at-p'.
3152 (dired-mark-files-regexp, dired-build-subdir-alist):
3153 Use `string-match-p', `looking-at-p'.
3154
3155 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3156 (direct-print-region-helper): Use `string-match-p'.
3157
3158 2013-06-21 Leo Liu <sdl.web@gmail.com>
3159
3160 * comint.el (comint-redirect-results-list-from-process):
3161 Fix infinite loop.
3162
3163 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3164
3165 * net/eww.el (eww-update-header-line-format): Quote % characters.
3166
3167 2013-06-21 Glenn Morris <rgm@gnu.org>
3168
3169 * play/cookie1.el (cookie): New custom group.
3170 (cookie-file): New option.
3171 (cookie-check-file): New function.
3172 (cookie): Make it interactive. Make start and end messages optional.
3173 Interactively, display the result. Default to cookie-file.
3174 (cookie-insert): Default to cookie-file.
3175 (cookie-snarf): Make start and end messages optional.
3176 Default to cookie-file. Use with-temp-buffer.
3177 (cookie-read): Rename from read-cookie.
3178 Make start and end messages optional. Default to cookie-file.
3179 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3180 Do not autoload it.
3181 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3182 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3183
3184 2013-06-21 Leo Liu <sdl.web@gmail.com>
3185
3186 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3187
3188 2013-06-21 Glenn Morris <rgm@gnu.org>
3189
3190 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3191
3192 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3193 Daniel Hackney <dan@haxney.org>
3194
3195 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3196 Consolidate the single-file vs tarball code.
3197 (package-desc-suffix): New function.
3198 (package-desc-full-name): Don't bother inlining it.
3199 (package-load-descriptor): Return the new package-desc.
3200 (package-mark-obsolete): Remove unused arg `package'.
3201 (package-unpack): Make it work for single files as well.
3202 Make it update package-alist.
3203 (package--make-autoloads-and-stuff): Rename from
3204 package--make-autoloads-and-compile. Don't compile any more.
3205 (package--compile): New function.
3206 (package-generate-description-file): New function, extracted from
3207 package-unpack-single.
3208 (package-unpack-single): Remove.
3209 (package--with-work-buffer): Add indentation and debugging info.
3210 (package-download-single): Remove.
3211 (package-install-from-archive): Rename from package-download-tar, make
3212 it take a pkg-desc, and make it work for single files as well.
3213 (package-download-transaction): Simplify.
3214 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3215 external tar program.
3216 (package-install-from-buffer): Remove `pkg-desc' argument.
3217 Use package-tar-file-info for tar-mode buffers.
3218 (package-install-file): Simplify accordingly.
3219 (package-archive-base): Change to take a pkg-desc.
3220 * tar-mode.el (tar--check-descriptor): New function, extracted from
3221 tar-get-descriptor.
3222 (tar-get-descriptor): Use it.
3223 (tar-get-file-descriptor): New function.
3224 (tar--extract): New function, extracted from tar-extract.
3225 (tar--extract): Use it.
3226 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3227 case the summary uses non-ascii. Adjust to new calling convention of
3228 package-tar-file-info.
3229
3230 2013-06-21 Leo Liu <sdl.web@gmail.com>
3231
3232 * comint.el (comint-redirect-results-list-from-process):
3233 Fix random delay. (Bug#14681)
3234
3235 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3236
3237 * profiler.el (profiler-format-number): Use log, not log10.
3238
3239 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3242
3243 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3246 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3247 yet available.
3248 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3249 (AUTOGENEL): ... here.
3250 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3251 (cl--defsubst-expand): Use it.
3252
3253 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3254
3255 * subr.el (log10): Move here from C code, and declare as obsolete.
3256 All uses of (log10 X) replaced with (log X 10).
3257
3258 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3261 Declare with `defvar-local'.
3262 (tabulated-list-use-header-line, tabulated-list-entries)
3263 (tabulated-list-padding, tabulated-list-printer)
3264 (tabulated-list-sort-key): Declare with `defvar-local'.
3265 (tabulated-list-init-header, tabulated-list-print-fake-header):
3266 Use `setq-local'.
3267
3268 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * arc-mode.el (archive-mode): Add `archive-write-file' to
3271 `write-contents-functions' also for remote files. (Bug#14652)
3272
3273 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3274
3275 * cus-edit.el (custom-commands): Fix typos.
3276 (custom-display): Fix tooltip text.
3277 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3278 Fix typos in docstrings.
3279 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3280 (custom-unlispify-menu-entry, custom-magic-value-create)
3281 (custom-add-see-also, custom-group-value-create): Use ?\s.
3282 (custom-guess-type, customize-apropos, editable-field)
3283 (custom-face-value-create): Use `string-match-p'.
3284 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3285
3286 * custom.el (custom-load-symbol): Use `string-match-p'.
3287
3288 * ansi-color.el: Convert to lexical binding.
3289 (ansi-colors): Fix URL.
3290 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3291 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3292 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3293
3294 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3295
3296 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3297
3298 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3299
3300 2013-06-19 Tom Tromey <tromey@redhat.com>
3301
3302 * net/eww.el (eww-top-url): Remove.
3303 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3304 (eww-render): Set new variables. Don't set eww-top-url.
3305 (eww-handle-link): Handle "prev", "home", and "contents".
3306 Downcase the rel text.
3307 (eww-top-url): Choose best top URL.
3308
3309 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3310
3311 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3312 relying in widget.el. Using widget.el leads to too many
3313 user interface inconsistencies.
3314 (eww-self-insert): Implement entering commands in text fields.
3315 (eww-process-text-input): New function to make text input field editing
3316 work.
3317 (eww-submit): Rewrite to use the new-style form methods.
3318 (eww-select-display): Display the correct selected item.
3319 (eww-change-select): Implement changing the select value.
3320 (eww-toggle-checkbox): Implement radio/checkboxes.
3321 (eww-update-field): Fix compilation error.
3322 (eww-tag-textarea): Implement <textarea>.
3323
3324 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3325 we don't shadow mode-specific bindings.
3326
3327 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3328 nothing to push.
3329
3330 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3331
3332 2013-06-19 Glenn Morris <rgm@gnu.org>
3333
3334 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3335
3336 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3337
3338 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3339 not needed.
3340
3341 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3342
3343 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3344
3345 * net/browse-url.el (browse-url-browser-function):
3346 `eww-browse-url' has the right calling signature, `eww' does not.
3347
3348 2013-06-19 Glenn Morris <rgm@gnu.org>
3349
3350 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3351 Only eval autoloaded macros.
3352 (byte-compile-autoload): Only give the macro warning for macros.
3353
3354 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3355 (ps-underlined-faces): Declare.
3356
3357 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3358 (speedbar-add-supported-extension): Declare.
3359
3360 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3361 Don't include a date stamp in the header of the generated file;
3362 it leads to needless differences between output files.
3363
3364 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * net/secrets.el (secrets-struct-secret-content-type):
3367 Replace check of introspection data by a test call of "CreateItem".
3368 Some servers do not offer introspection.
3369
3370 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * electric.el (electric-pair-mode): Improve interaction with
3373 electric-layout-mode.
3374 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3375 (electric-pair-syntax): Use text-mode-syntax-table in comments
3376 and strings.
3377 (electric-pair--insert): New function.
3378 (electric-pair-post-self-insert-function): Use it and
3379 electric--after-char-pos.
3380
3381 2013-06-19 Leo Liu <sdl.web@gmail.com>
3382
3383 * progmodes/octave.el (octave-help): Fix regexp.
3384
3385 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3386
3387 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3388 (shr-table-horizontal-line): Allow nil as a value, and change the
3389 default.
3390 (shr-insert-table-ruler): Respect the nil value.
3391
3392 2013-06-18 Tom Tromey <tromey@barimba>
3393
3394 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3395 New defvars.
3396 (eww-open-file): New defun.
3397 (eww-render): Initialize new variables.
3398 (eww-display-html): Handle "link" and "a".
3399 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3400 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3401 (eww-back-url): Rename from eww-previous-url.
3402 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3403 New defuns.
3404
3405 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3406
3407 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3408 Distinguish ternary operator tokens from slash symbol and slash
3409 char literal.
3410
3411 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3412
3413 Convert symbol prettification into minor mode and global minor mode.
3414
3415 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3416 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3417 (prettify-symbols--keywords): Rename from
3418 `prog-prettify-symbols-alist' and make a local defvar.
3419 (prettify-symbols--compose-symbol): Rename from
3420 `prog--prettify-font-lock-compose-symbol'.
3421 (prettify-symbols--make-keywords): Rename from
3422 `prog-prettify-font-lock-symbols-keywords' and simplify.
3423 (prog-prettify-install): Remove.
3424 (prettify-symbols-mode): New minor mode, based on
3425 `prog-prettify-install'.
3426 (turn-on-prettify-symbols-mode): New function.
3427 (global-prettify-symbols-mode): New globalized minor mode.
3428
3429 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3430 * progmodes/cfengine.el (cfengine3-mode):
3431 * progmodes/perl-mode.el (perl-mode): Don't call
3432 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3433
3434 2013-06-18 Juri Linkov <juri@jurta.org>
3435
3436 * files-x.el (modify-file-local-variable-message): New function.
3437 (modify-file-local-variable)
3438 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3439 and call `modify-file-local-variable-message' when it's non-nil.
3440 (add-file-local-variable, delete-file-local-variable)
3441 (add-file-local-variable-prop-line)
3442 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3443 and use it. (Bug#9820)
3444
3445 2013-06-18 Juri Linkov <juri@jurta.org>
3446
3447 * emulation/vi.el (vi-shell-op):
3448 * emulation/vip.el (vip-execute-com, ex-command):
3449 * emulation/viper-cmd.el (viper-exec-bang):
3450 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3451 the call of `shell-command-on-region'. (Bug#14637)
3452
3453 * simple.el (shell-command-on-region): Doc fix.
3454
3455 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3458 (bug#14633).
3459
3460 2013-06-18 Glenn Morris <rgm@gnu.org>
3461
3462 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3463
3464 * newcomment.el (comment-search-forward, comment-search-backward):
3465 Doc fix. (Bug#14376)
3466
3467 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3468
3469 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3470 (buffer-face-mode-invoke): Doc fix.
3471
3472 2013-06-18 Matthias Meulien <orontee@gmail.com>
3473
3474 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
3475 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
3476
3477 2013-06-18 Glenn Morris <rgm@gnu.org>
3478
3479 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3480 Replace obsolete function generic-make-keywords with its expansion.
3481
3482 * progmodes/python.el (ffap-alist): Declare.
3483
3484 * textmodes/reftex.el (bibtex-mode-map): Declare.
3485
3486 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3489 (package-unpack, package-unpack-single): Return the pkg-dir.
3490 (package-download-transaction): Use it to update package-alist.
3491
3492 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3493
3494 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3495 possible choice.
3496
3497 2013-06-17 Juri Linkov <juri@jurta.org>
3498
3499 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3500
3501 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3502
3503 * emacs-lisp/package.el (package-load-descriptor):
3504 Remove `with-syntax-table' call, `read' doesn't need it.
3505 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3506
3507 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * startup.el (command-line): Expand package name returned by
3510 `package--description-file' (bug#14639).
3511
3512 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3513
3514 * emacs-lisp/package.el (package-load-descriptor): Do not call
3515 `emacs-lisp-mode', just use its syntax table.
3516
3517 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3520 `font-lock-extra-managed-props' if any prettifying keyword is added.
3521 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3522 (prog-mode): Use `setq-local'.
3523
3524 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * international/characters.el (standard-case-table): Set syntax of ?»
3527 and ?« to punctuation.
3528
3529 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
3530
3531 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3532 Save relevant match data before calling `syntax-ppss' (bug#14595).
3533
3534 2013-06-15 Juri Linkov <juri@jurta.org>
3535
3536 * files-x.el (modify-file-local-variable-prop-line): Add local
3537 variables to the end of the existing comment on the first line.
3538 Use `file-auto-mode-skip' to skip interpreter magic line,
3539 and also skip XML declaration.
3540
3541 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * startup.el (package--builtin-versions): New var.
3544 (package-subdirectory-regexp): Remove.
3545 (package--description-file): Hard code its value instead.
3546
3547 * emacs-lisp/package.el: Don't activate packages older than builtin.
3548 (package-obsolete-list): Rename from package-obsolete-alist, and make
3549 it into a simple list of package-desc.
3550 (package-strip-version): Remove.
3551 (package-built-in-p): Use package--builtin-versions.
3552 (package-mark-obsolete): Simplify.
3553 (package-process-define-package): Mark it obsolete if older than the
3554 builtin version.
3555 (package-handle-response): Use line-end-position.
3556 (package-read-archive-contents, package--download-one-archive):
3557 Simplify.
3558 (package--add-to-archive-contents): Skip if older than the builtin or
3559 installed version.
3560 (package-menu-describe-package): Fix last change.
3561 (package-list-unversioned): New var.
3562 (package-menu--generate): Use it.
3563
3564 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3565 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3566 (autoload-builtin-package-versions): New variable.
3567 (autoload-generate-file-autoloads): Use them.
3568 Remove the list of autoloaded functions/macros from the
3569 (autoload...) comments.
3570
3571 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3572
3573 2013-06-15 Eli Zaretskii <eliz@gnu.org>
3574
3575 * simple.el (line-move-partial): Don't jump to the next screen
3576 line as soon as it becomes visible. Instead, continue enlarging
3577 the vscroll until the portion of a tall screen line that's left on
3578 display is about the height of the frame's default font.
3579 (Bug#14567)
3580
3581 2013-06-15 Glenn Morris <rgm@gnu.org>
3582
3583 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3584 compilation-error-regexp-alist void, or local while let-bound.
3585
3586 * progmodes/make-mode.el (makefile-mode-syntax-table):
3587 Treat "=" as punctuation. (Bug#14614)
3588
3589 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
3590
3591 * help-fns.el (describe-variable):
3592 Add extra line for permanent-local variables.
3593
3594 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3595
3596 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3597 Add export, import, library. (Bug#9164)
3598 (library): Set indent function.
3599
3600 2013-06-14 Glenn Morris <rgm@gnu.org>
3601
3602 * term/xterm.el (xterm--query):
3603 Stop after first matching handler. (Bug#14615)
3604
3605 2013-06-14 Ivan Kanis <ivan@kanis.fr>
3606
3607 Add support for dired in saveplace.
3608 * dired.el (dired-initial-position-hook): New variable.
3609 (dired-initial-position): Call hook to place cursor position.
3610 * saveplace.el (save-place-to-alist): Add dired position.
3611 (save-place-dired-hook): New function.
3612
3613 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3616 through a symbol rather than letrec.
3617
3618 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3619 (package-desc): Add `dir' field.
3620 (package-desc-full-name): New function.
3621 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3622 (package-maybe-load-descriptor): Remove.
3623 (package-load-all-descriptors): Just call package-load-descriptor.
3624 (package--disabled-p): New function.
3625 (package-desc-vers, package-desc-doc): Remove aliases.
3626 (package--dir): Remove function.
3627 (package-activate): Check if a package is disabled.
3628 (package-process-define-package): New function, extracted from
3629 define-package.
3630 (define-package): Turn into a place holder.
3631 (package-unpack-single, package-tar-file-info):
3632 Use package--description-file.
3633 (package-compute-transaction): Use package--disabled-p.
3634 (package-download-transaction): Don't call
3635 package-maybe-load-descriptor since they're all loaded anyway.
3636 (package-install): Change argument to be a pkg-desc.
3637 (package-delete): Use a single pkg-desc argument.
3638 (describe-package-1): Use package-desc-dir instead of package--dir.
3639 Use package-desc property instead of package-symbol.
3640 (package-install-button-action): Adjust accordingly.
3641 (package--push): Rewrite.
3642 (package-menu--print-info): Adjust accordingly. Change the ID format
3643 to be a pkg-desc.
3644 (package-menu-describe-package, package-menu-get-status)
3645 (package-menu--find-upgrades, package-menu-mark-upgrades)
3646 (package-menu-execute, package-menu--name-predicate):
3647 Adjust accordingly.
3648 * startup.el (package--description-file): New function.
3649 (command-line): Use it.
3650 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3651 Use package-desc-version.
3652
3653 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3654 (byte-compile-preprocess): Use it.
3655 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3656 can't quite recognize.
3657 (byte-compile-add-to-list): Remove.
3658 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3659 (cconv-closure-convert): Add assertion.
3660
3661 * emacs-lisp/map-ynp.el: Use lexical-binding.
3662 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3663 Factor out some repeated code.
3664
3665 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 * subr.el (with-eval-after-load): New macro.
3668 (eval-after-load): Allow form to be a function.
3669 take advantage of lexical-binding.
3670 (do-after-load-evaluation): Use dolist and adjust to new format.
3671 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3672
3673 2013-06-13 Juri Linkov <juri@jurta.org>
3674
3675 * replace.el (perform-replace): Display "symbol " and other search
3676 modes from `isearch-message-prefix' in the *Help* buffer.
3677
3678 * isearch.el (isearch-query-replace): Add " symbol" and other
3679 possible search modes from `isearch-message-prefix' to the prompt.
3680 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3681 when reading a regexp to collect.
3682
3683 2013-06-13 Juri Linkov <juri@jurta.org>
3684
3685 * isearch.el (word-search-regexp): Match whitespace if the search
3686 string begins or ends in whitespace. The LAX arg is applied to
3687 both ends of the search string. Use `regexp-quote' and explicit
3688 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3689 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3690 boundaries are replaced with symbol boundaries, and characters
3691 between symbols match non-word non-symbol syntax. (Bug#14602)
3692
3693 2013-06-13 Juri Linkov <juri@jurta.org>
3694
3695 * isearch.el (isearch-del-char): Don't exceed the length of
3696 `isearch-string' by the prefix arg. (Bug#14563)
3697
3698 2013-06-13 Juri Linkov <juri@jurta.org>
3699
3700 * isearch.el (isearch-yank-word, isearch-yank-line)
3701 (isearch-char-by-name, isearch-quote-char)
3702 (isearch-printing-char, isearch-process-search-char):
3703 Add optional count prefix arg. (Bug#14563)
3704
3705 * international/isearch-x.el
3706 (isearch-process-search-multibyte-characters):
3707 Add optional count prefix arg.
3708
3709 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3712 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3713 lexical-binding.
3714
3715 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3716
3717 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3718
3719 2013-06-13 Glenn Morris <rgm@gnu.org>
3720
3721 * startup.el (tty-handle-args):
3722 Don't just discard "--" and anything after. (Bug#14608)
3723
3724 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3725
3726 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
3727
3728 Implement changes in Secret Service API. Make it backward compatible.
3729 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3730 (secrets-create-item): Use it. Prefix properties with interface.
3731
3732 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3733
3734 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3735 (term-emulate-terminal): Respect term-suppress-hard-newline.
3736
3737 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3738
3739 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3740 Only remove a `thumb-file' overlay. (Bug#14548)
3741
3742 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
3743
3744 * mail/reporter.el (reporter-submit-bug-report):
3745 Handle missing package-name. (Bug#14600)
3746
3747 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3748
3749 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3750 (reftex-citation-prompt, reftex-default-bibliography)
3751 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3752 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3753 (reftex-bib-sort-author, reftex-bib-sort-year)
3754 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3755 (reftex-extract-bib-entries-from-thebibliography)
3756 (reftex-get-bibkey-default, reftex-get-bib-names)
3757 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3758 (reftex-format-bib-entry, reftex-parse-bibitem)
3759 (reftex-format-bibitem, reftex-do-citation)
3760 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3761 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3762 (reftex-insert-bib-matches, reftex-format-citation)
3763 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3764 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3765 existing comments into docstrings.
3766
3767 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3768
3769 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3770
3771 2013-06-12 Andreas Schwab <schwab@suse.de>
3772
3773 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3774 for auto-save files.
3775
3776 2013-06-12 Glenn Morris <rgm@gnu.org>
3777
3778 * ido.el (ido-delete-ignored-files): Remove.
3779 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3780 Go back to calling ido-ignore-item-p directly.
3781
3782 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3783
3784 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3785
3786 * ido.el (ido-delete-ignored-files): New function,
3787 split from ido-make-file-list-1.
3788 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3789 (ido-make-file-list-1): Use ido-delete-ignored-files.
3790
3791 2013-06-12 Leo Liu <sdl.web@gmail.com>
3792
3793 * progmodes/octave.el (inferior-octave-startup)
3794 (inferior-octave-completion-table)
3795 (inferior-octave-track-window-width-change)
3796 (octave-eldoc-function-signatures, octave-help)
3797 (octave-find-definition): Use single quoted strings.
3798 (inferior-octave-startup-args): Change default value.
3799 (inferior-octave-startup): Do not hard code "-i" and
3800 "--no-line-editing".
3801 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3802 (inferior-octave-directory-tracker): Use it.
3803 (octave-goto-function-definition): Robustify.
3804 (octave-help): Support highlighting operators in 'See also'.
3805 (octave-find-definition): Find subfunctions only in Octave mode.
3806
3807 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * help-fns.el (help-fns--compiler-macro): If the handler function is
3810 named, then put a link to it.
3811 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3812 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3813 (cl-typep): Use it.
3814 (cl-eval-when): Simplify debug spec.
3815 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3816 compiler-macro function instead of setting `compiler-macro-file'.
3817
3818 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3819
3820 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3821 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3822
3823 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3824 Daniel Hackney <dan@haxney.org>
3825
3826 First part of Daniel Hackney's patch to package.el.
3827 * emacs-lisp/package.el: Use defstruct.
3828 (package-desc): New, main struct.
3829 (package--bi-desc, package--ac-desc): New structs, used to describe the
3830 format in external files.
3831 (package-desc-vers): Replace with package-desc-version accessor.
3832 (package-desc-doc): Replace with package-desc-summary accessor.
3833 (package-activate-1): Remove `package' arg since the pkg-vec now
3834 includes the name.
3835 (define-package): Use package-desc-from-define.
3836 (package-unpack-single): Change file-name arg to be a symbol.
3837 (package--add-to-archive-contents): Use package-desc-create and new
3838 accessor functions to package--ac-desc.
3839 (package-buffer-info, package-tar-file-info): Return a package-desc.
3840 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3841 arg to be a package-desc.
3842 (package-install-file): Adjust accordingly. Use \' to match EOS.
3843 (package--from-builtin): New function.
3844 (describe-package-1, package-menu--generate): Use it.
3845 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3846 (package-generate-autoloads): Idem and return the name of the file.
3847 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3848 Change pkg-info arg to be a package-desc.
3849 Use package-make-ac-desc.
3850 (package-upload-file): Use \' to match EOS.
3851 * finder.el (finder-compile-keywords): Use package-make-builtin.
3852
3853 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * vc/vc.el (vc-deduce-fileset): Change error message.
3856 (vc-read-backend): New function.
3857 (vc-next-action): Use it.
3858
3859 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3860
3861 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3862 (prolog-font-lock-keywords): Use regexp-opt instead.
3863 Don't manually highlight strings.
3864 (prolog-mode-variables): Simplify comment-start-skip.
3865 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3866
3867 * emacs-lisp/generic.el (generic--normalise-comments)
3868 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3869 (generic-mode-set-comments): Use them.
3870 (generic-bracket-support): Use setq-local.
3871 (generic-make-keywords-list): Declare obsolete.
3872
3873 2013-06-11 Glenn Morris <rgm@gnu.org>
3874
3875 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3876 Prettify after setting font-lock-defaults. (Bug#14574)
3877
3878 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3879
3880 * replace.el (query-replace, occur-read-regexp-defaults-function)
3881 (replace-search):
3882 * subr.el (declare-function, number-sequence, local-set-key)
3883 (substitute-key-definition, locate-user-emacs-file)
3884 (with-silent-modifications, split-string, eval-after-load):
3885 Fix typos, remove unneeded backslashes and reflow some docstrings.
3886
3887 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3890 default for Elisp files.
3891
3892 2013-06-11 Glenn Morris <rgm@gnu.org>
3893
3894 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3895 although define-derived-mode was doing this anyway. (Bug#14583)
3896
3897 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3898
3899 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3900 Fix make-variable-buffer-local call to refer to the correct variable.
3901
3902 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3903
3904 * eshell/em-term.el (eshell-visual-commands)
3905 (eshell-visual-subcommands, eshell-visual-options):
3906 Add summary line to docstrings. Add cross-references.
3907
3908 2013-06-10 Glenn Morris <rgm@gnu.org>
3909
3910 * epa.el (epa-read-file-name): New function. (Bug#14510)
3911 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3912
3913 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3914
3915 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3916 output redirection to be ignored with visual commands.
3917
3918 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3919
3920 * eshell/em-term.el (eshell-visual-command-p): New function.
3921 (eshell-term-initialize): Move long lambda to separate function
3922 eshell-visual-command-p.
3923 * eshell/em-dirs.el (eshell-dirs-initialise):
3924 * eshell/em-script.el (eshell-script-initialize):
3925 Add missing #' to lambda.
3926
3927 2013-06-08 Leo Liu <sdl.web@gmail.com>
3928
3929 * progmodes/octave.el (octave-add-log-current-defun): New function.
3930 (octave-mode): Set add-log-current-defun-function.
3931 (octave-goto-function-definition): Do not move point if not found.
3932 (octave-find-definition): Enhance to try subfunctions first.
3933
3934 2013-06-08 Glenn Morris <rgm@gnu.org>
3935
3936 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3937 (byte-compile-backward-char, byte-compile-backward-word):
3938 Improve previous change, to handle non-explicit nil.
3939
3940 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3943 (smie--opener/closer-at-point): New function.
3944 (smie--matching-block-data): Use it. Don't match from right after an
3945 opener or right before a closer. Obey smie-blink-matching-inners.
3946 Don't signal a mismatch for repeated inners like "switch..case..case".
3947
3948 2013-06-07 Leo Liu <sdl.web@gmail.com>
3949
3950 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3951 to t. (Bug#14303)
3952 (octave-function-header-regexp): Fix. (Bug#14570)
3953 (octave-help-mode-finish-hook, octave-help-mode-finish):
3954 Remove. Just use temp-buffer-show-hook.
3955
3956 * newcomment.el (comment-search-backward): Revert last change.
3957 (Bug#14434)
3958
3959 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3960
3961 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3962
3963 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3964 through xargs, to avoid failure due to MS-Windows limitations on
3965 command-line length.
3966
3967 2013-06-06 Glenn Morris <rgm@gnu.org>
3968
3969 * font-lock.el (lisp-font-lock-keywords-2):
3970 Treat user-error like error.
3971
3972 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3973 (byte-compile-backward-char, byte-compile-backward-word):
3974 Handle explicit nil arguments. (Bug#14565)
3975
3976 2013-06-05 Alan Mackenzie <acm@muc.de>
3977
3978 * isearch.el (isearch-allow-prefix): New user option.
3979 (isearch-other-meta-char): Don't exit isearch when a prefix
3980 argument is typed whilst `isearch-allow-prefix' is non-nil.
3981 (Bug#9706)
3982
3983 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * autorevert.el (auto-revert-notify-handler): Use memq.
3986 Hide assertion failure.
3987
3988 * skeleton.el: Use cl-lib.
3989 (skeleton-further-elements): Use defvar-local.
3990 (skeleton-insert): Use cl-progv.
3991
3992 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3993
3994 * progmodes/prog-mode.el (prog-prettify-symbols)
3995 (prog-prettify-install): Update docstrings.
3996
3997 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * simple.el: Move all the prog-mode code to prog-mode.el.
4000 * progmodes/prog-mode.el: New file.
4001 * loadup.el: Add prog-mode.el.
4002
4003 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4004
4005 * simple.el (prog-prettify-symbols): Add version.
4006 (prog-prettify-install): Add convenience function to prettify symbols.
4007
4008 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4009 (perl--augmented-font-lock-keywords-1)
4010 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4011 variables and use it.
4012
4013 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4014 (cfengine3-mode): Remove unneeded variable and use it.
4015
4016 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4017 (lisp--augmented-font-lock-keywords-1)
4018 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4019 Remove unneeded variables and use it.
4020
4021 2013-06-05 João Távora <joaotavora@gmail.com>
4022
4023 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4024 to point when opening the connection. (Bug#14380)
4025
4026 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * subr.el (load-history-regexp, load-history-filename-element)
4029 (eval-after-load, after-load-functions, do-after-load-evaluation)
4030 (eval-next-after-load, display-delayed-warnings)
4031 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4032 definition of save-match-data.
4033 (overriding-local-map): Remove accidental obsolescence declaration.
4034
4035 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4036
4037 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4038
4039 Generalize symbol prettify support to prog-mode and implement it
4040 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4041 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4042 (prog--prettify-font-lock-compose-symbol)
4043 (prog-prettify-font-lock-symbols-keywords): New variables and
4044 functions to support symbol prettification.
4045 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4046 (lisp--augmented-font-lock-keywords-1)
4047 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4048 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4049 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4050 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4051 Implement prettify of -> => :: strings.
4052 * progmodes/perl-mode.el (perl-prettify-symbols)
4053 (perl--font-lock-compose-symbol)
4054 (perl--font-lock-symbols-keywords): Move to prog-mode.
4055 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4056 (perl-font-lock-keywords-1)
4057 (perl-font-lock-keywords-2): Remove explicit prettify support.
4058 (perl--augmented-font-lock-keywords)
4059 (perl--augmented-font-lock-keywords-1)
4060 (perl--augmented-font-lock-keywords-2, perl-mode):
4061 Implement prettify support.
4062
4063 2013-06-05 Leo Liu <sdl.web@gmail.com>
4064
4065 Re-implement smie matching block highlight using
4066 show-paren-data-function. (Bug#14395)
4067 * emacs-lisp/smie.el (smie-matching-block-highlight)
4068 (smie--highlight-matching-block-overlay)
4069 (smie--highlight-matching-block-lastpos)
4070 (smie-highlight-matching-block)
4071 (smie-highlight-matching-block-mode): Remove.
4072 (smie--matching-block-data-cache): New variable.
4073 (smie--matching-block-data): New function.
4074 (smie-setup): Use smie--matching-block-data for
4075 show-paren-data-function.
4076
4077 * progmodes/octave.el (octave-mode-menu): Fix.
4078 (octave-find-definition): Skip garbage lines.
4079
4080 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 Fix compilation error with simultaneous dynamic+lexical scoping.
4083 Add warning when a defvar appears after the first let-binding.
4084 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4085 (byte-compile-close-variables): Initialize it.
4086 (byte-compile--declare-var): New function.
4087 (byte-compile-file-form-defvar)
4088 (byte-compile-file-form-define-abbrev-table)
4089 (byte-compile-file-form-custom-declare-variable): Use it.
4090 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4091 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4092 (byte-compile-bind): Handle dynamic bindings that shadow
4093 lexical bindings.
4094 (byte-compile-unbind): Make arg non-optional.
4095 (byte-compile-let): Simplify.
4096 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4097 (cconv--analyse-function, cconv-analyse-form): Populate it.
4098 Protect byte-compile-bound-variables to limit the scope of defvars.
4099 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4100 Remove unneeded rule for `declare'.
4101
4102 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4103 so as to avoid depending on cl-adjoin at run-time.
4104 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4105
4106 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4107 (macroexp--warn-and-return): Use it.
4108
4109 2013-06-05 Leo Liu <sdl.web@gmail.com>
4110
4111 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4112
4113 2013-06-04 Leo Liu <sdl.web@gmail.com>
4114
4115 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4116 (compilation-auto-jump): Suppress the "Mark set" message to give
4117 way to exit message.
4118
4119 2013-06-04 Alan Mackenzie <acm@muc.de>
4120
4121 Remove faulty optimisation from indentation calculation.
4122 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4123 search limit based on 2000 characters back from indent-point.
4124
4125 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4126
4127 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4128
4129 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * emacs-lisp/lisp.el: Use lexical-binding.
4132 (lisp--local-variables-1, lisp--local-variables): New functions.
4133 (lisp--local-variables-completion-table): New var.
4134 (lisp-completion-at-point): Use it complete let-bound vars.
4135
4136 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4137 eagerly (bug#14422).
4138
4139 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4140
4141 * autorevert.el (auto-revert-notify-enabled)
4142 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4143 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4144 (auto-revert-notify-handler): Handle also gfilenotify.
4145
4146 * subr.el (file-notify-handle-event): New defun. Replacing ...
4147 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4148 Remove.
4149
4150 2013-06-03 Juri Linkov <juri@jurta.org>
4151
4152 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4153 `M-s h .'. (Bug#14427)
4154
4155 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4156 command `hi-lock-face-symbol-at-point'.
4157 (hi-lock-face-symbol-at-point): New command.
4158 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4159 (hi-lock-menu): Add `highlight-symbol-at-point'.
4160 (hi-lock-mode): Doc fix.
4161
4162 * isearch.el (isearch-forward-symbol-at-point): New command.
4163 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4164 (isearch-highlight-regexp): Add a regexp which matches
4165 words/symbols for word/symbol mode.
4166
4167 * subr.el (find-tag-default-bounds): New function with the body
4168 mostly moved from `find-tag-default'.
4169 (find-tag-default): Move most code to `find-tag-default-bounds',
4170 call it and apply `buffer-substring-no-properties' afterwards.
4171
4172 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4173
4174 * eshell/em-term.el (eshell-term-initialize):
4175 Use `cl-intersection' rather than `intersection'.
4176
4177 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4178
4179 * vc/log-view.el: Doc fix.
4180 (log-view-mode-map): Copy keymap from `special-mode-map'.
4181
4182 2013-06-02 Eric Ludlam <zappo@gnu.org>
4183
4184 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4185 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4186 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4187 (eieio-unbound, eieio-default-superclass)
4188 (eieio--define-field-accessors, method-static, method-before)
4189 (method-primary, method-after, method-num-lists)
4190 (method-generic-before, method-generic-primary)
4191 (method-generic-after, method-num-slots)
4192 (eieio-specialized-key-to-generic-key)
4193 (eieio--check-type, class-v, class-p)
4194 (eieio-class-name, define-obsolete-function-alias)
4195 (eieio-class-parents-fast, eieio-class-children-fast)
4196 (same-class-fast-p, class-constructor, generic-p)
4197 (generic-primary-only-p, generic-primary-only-one-p)
4198 (class-option-assoc, class-option, eieio-object-p)
4199 (class-abstract-p, class-method-invocation-order)
4200 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4201 (eieio-class-un-autoload, eieio-defclass)
4202 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4203 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4204 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4205 (eieio-defgeneric-reset-generic-form)
4206 (eieio-defgeneric-form-primary-only)
4207 (eieio-defgeneric-reset-generic-form-primary-only)
4208 (eieio-defgeneric-form-primary-only-one)
4209 (eieio-defgeneric-reset-generic-form-primary-only-one)
4210 (eieio-unbind-method-implementations)
4211 (eieio--defmethod, eieio--typep)
4212 (eieio-perform-slot-validation, eieio-validate-slot-value)
4213 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4214 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4215 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4216 (eieio-slot-name-index, eieio-class-slot-name-index)
4217 (eieio-set-defaults, eieio-initarg-to-attribute)
4218 (eieio-attribute-to-initarg, eieio-c3-candidate)
4219 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4220 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4221 (eieio-class-precedence-list, eieio-generic-call-methodname)
4222 (eieio-generic-call-arglst, eieio-generic-call-key)
4223 (eieio-generic-call-next-method-list)
4224 (eieio-pre-method-execution-functions, eieio-generic-call)
4225 (eieio-generic-call-primary-only, eieiomt-method-list)
4226 (eieiomt-optimizing-obarray, eieiomt-install)
4227 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4228 (eieio-generic-form, eieio-defmethod, make-obsolete)
4229 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4230 (defclass): Remove `eval-and-compile' from macro.
4231 (call-next-method, shared-initialize): Instead of using
4232 `scoped-class' variable, use new eieio--scoped-class, and
4233 eieio--with-scoped-class.
4234 (initialize-instance): Rename local variable 'scoped-class' to
4235 'this-class' to remove ambiguitity from old global.
4236
4237 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4238 eieio.el.
4239 (eieio--scoped-class-stack): New variable.
4240 (eieio--scoped-class): New fcn.
4241 (eieio--with-scoped-class): New scoping macro.
4242 (eieio-defclass): Use pushnew instead of add-to-list.
4243 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4244 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4245 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4246 `scoped-class' variable, use new eieio--scoped-class, and
4247 eieio--with-scoped-class.
4248
4249 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4250
4251 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4252
4253 * eshell/esh-ext.el (eshell-external-command): Pass args to
4254 `eshell-find-interpreter'.
4255 (eshell-find-interpreter): Add new second parameter ARGS.
4256
4257 * eshell/em-script.el (eshell-script-initialize): Add second arg
4258 to the function added as MATCH to `eshell-interpreter-alist'.
4259
4260 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4261 the function added as MATCH to `eshell-interpreter-alist'.
4262
4263 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4264 (eshell-visual-options): New defcustom.
4265 (eshell-escape-control-x): Adapt docstring.
4266 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4267 `eshell-visual-options' in addition to `eshell-visual-commands'.
4268 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4269
4270 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4271
4272 * progmodes/python.el (python-indent-block-enders): Add break,
4273 continue and raise keywords.
4274
4275 2013-06-01 Glenn Morris <rgm@gnu.org>
4276
4277 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4278
4279 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4280 * progmodes/cc-cmds.el (delete-forward-p):
4281 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4282 * progmodes/cc-engine.el (buffer-syntactic-context):
4283 * progmodes/cc-fonts.el (face-property-instance):
4284 * progmodes/cc-mode.el (set-keymap-parents):
4285 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4286 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4287 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4288 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4289 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4290
4291 * progmodes/cc-vars.el (other): Emacs has this widget since
4292 at least 21.1, so don't (re)define it.
4293
4294 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4295 Replace the obsolete alias pcomplete-arg-quote-list.
4296
4297 2013-06-01 Leo Liu <sdl.web@gmail.com>
4298
4299 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4300 punctuation syntax.
4301 (inferior-octave-minimal-columns)
4302 (inferior-octave-last-column-width): New variables.
4303 (inferior-octave-track-window-width-change): New function.
4304 (inferior-octave-mode): Adjust column width so that Octave output,
4305 for example from 'ls', can fit into the window nicely.
4306
4307 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4308
4309 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4310 Highlight expansions inside regexp literals.
4311
4312 2013-05-31 Glenn Morris <rgm@gnu.org>
4313
4314 * obsolete/sym-comp.el (symbol-complete):
4315 Replace obsolete completion-annotate-function.
4316
4317 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4318
4319 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4320
4321 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4322 New function, checks if point is inside a literal that allows
4323 expression expansion.
4324 (ruby-syntax-propertize-expansion): Use it.
4325 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4326 around the body.
4327
4328 2013-05-30 Juri Linkov <juri@jurta.org>
4329
4330 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4331 to "\M-si".
4332 (isearch-invisible): New variable.
4333 (isearch-forward): Doc fix.
4334 (isearch-mode): Set `isearch-invisible'
4335 to the value of `search-invisible'.
4336 (isearch-toggle-case-fold): Doc fix.
4337 (isearch-toggle-invisible): New command.
4338 (isearch-query-replace): Let-bind `search-invisible'
4339 to the value of `isearch-invisible'.
4340 (isearch-search): Use `isearch-invisible' instead of
4341 `search-invisible'. Let-bind `search-invisible'
4342 to the value of `isearch-invisible'. (Bug#11378)
4343
4344 2013-05-30 Juri Linkov <juri@jurta.org>
4345
4346 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4347 call when `query-flag' is nil and `search-invisible' is non-nil.
4348 (Bug#11746)
4349
4350 2013-05-30 Glenn Morris <rgm@gnu.org>
4351
4352 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4353
4354 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4355 (cc-require): Suppress spurious "noruntime" warnings.
4356 (cc-require-when-compile): Use fboundp, for sake of compiler.
4357
4358 * progmodes/cc-mode.el: Move load of cc-vars before that of
4359 cc-langs (which in turn loads cc-vars), to quieten compiler.
4360
4361 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * paren.el: Simplify the code.
4364 (show-paren-mode): Always start the timer.
4365 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4366 (show-paren--overlay, show-paren--overlay-1): Rename from
4367 show-paren-overlay and show-paren-overlay-1, and initialize to an
4368 overlay rather than to nil.
4369 (show-paren-function): Misc cleanup and simplifications.
4370
4371 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * paren.el (show-paren-data-function): New hook.
4374 (show-paren--default): New function, extracted from show-paren-function.
4375 (show-paren-function): Use show-paren-data-function.
4376
4377 2013-05-30 Glenn Morris <rgm@gnu.org>
4378
4379 * ielm.el (ielm-map, ielm-complete-symbol):
4380 Use completion-at-point rather than obsolete functions.
4381 (inferior-emacs-lisp-mode): Doc fix.
4382 Set completion-at-point-functions, rather than
4383 comint-dynamic-complete-functions.
4384
4385 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4386 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4387 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4388
4389 * image.el (image-animated-p): Tweak definition.
4390
4391 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4392 (rlogin-process-connection-type): Tweak default. Add set-after.
4393 (rlogin-host): Doc fix.
4394 (rlogin): Tweak prompt.
4395 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4396
4397 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4398 * progmodes/tcl.el (inferior-tcl-mode-map):
4399 Use completion-at-point rather than obsolete alias.
4400
4401 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4402
4403 * minibuffer.el (read-file-name-completion-ignore-case):
4404 Move before completion--in-region, for eager macro expansion.
4405
4406 2013-05-29 Juri Linkov <juri@jurta.org>
4407
4408 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4409 for total count of matching lines. Add `global-matches' for total
4410 count of matches. Rename `matches' to `lines' for count of
4411 matching lines. Add `matches' for count of matches.
4412 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4413 to `prev-line' for line number of prev match endpt.
4414 Increment `matches' for every match. Print the number of
4415 matching lines in the header.
4416 (occur-context-lines): Rename `lines' to `curr-line'.
4417 Rename `prev-lines' to `prev-line'. (Bug#14017)
4418
4419 2013-05-29 Juri Linkov <juri@jurta.org>
4420
4421 * replace.el (perform-replace): Add `skip-read-only-count',
4422 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4423 Increment them for corresponding conditions and report the number
4424 of skipped occurrences in the final message. (Bug#11746)
4425 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4426 (replace-string, replace-regexp): Doc fix.
4427
4428 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4431
4432 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
4433 prog-mode-map (bug#14504).
4434
4435 2013-05-29 Leo Liu <sdl.web@gmail.com>
4436
4437 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4438 (octave-help): Small simplification.
4439
4440 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4441 off the highlight first.
4442
4443 2013-05-29 Glenn Morris <rgm@gnu.org>
4444
4445 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4446 Handle idlwave-last-system-routine-info-cons-cell being nil.
4447
4448 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4449 (idlwave-write-paths): Simplify via with-temp-buffer.
4450
4451 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4452 * emulation/cua-rect.el: Also load cua-base at run time.
4453
4454 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4455 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4456 (cperl-imenu-on-info): Require imenu.
4457
4458 2013-05-28 Alan Mackenzie <acm@muc.de>
4459
4460 Handle "capitalised keywords" correctly.
4461 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
4462
4463 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
4464
4465 * eshell/em-unix.el: Add -r option to cp.
4466
4467 2013-05-28 Glenn Morris <rgm@gnu.org>
4468
4469 * vc/vc-arch.el (vc-exec-after): Declare.
4470 (vc-switches): Autoload.
4471 * vc/vc-bzr.el: No need to require vc when compiling.
4472 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4473 (vc-resynch-buffer, vc-dir-refresh): Declare.
4474 (vc-setup-buffer, vc-switches): Autoload.
4475 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4476 (vc-resynch-buffer): Declare.
4477 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
4478 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
4479 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4480 (grep-read-regexp, grep-read-files, grep-expand-template)
4481 (vc-dir-refresh): Declare.
4482 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4483 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4484 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
4485 * vc/vc-mtn.el (vc-exec-after): Declare.
4486 (vc-switches): Autoload.
4487 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4488 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4489 (vc-file-tree-walk): Declare.
4490 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4491 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4492 (vc-tag-precondition, vc-rename-master): Autoload.
4493 * vc/vc-svn.el (vc-exec-after): Declare.
4494 (vc-switches, vc-setup-buffer): Autoload.
4495 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4496 Autoload.
4497 (vc-resynch-buffer): Declare.
4498
4499 * obsolete/fast-lock.el (byte-compile-warnings):
4500 Don't warn about obsolete features in this obsolete file.
4501
4502 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4503 Move definition before use.
4504
4505 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4506 (dun-unix-verbs): Remove dun-zippy.
4507 (dun-zippy): Remove function.
4508
4509 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4510
4511 2013-05-27 Juri Linkov <juri@jurta.org>
4512
4513 * replace.el (replace-search): New function with code moved out
4514 from `perform-replace'.
4515 (replace-highlight, replace-dehighlight): Move function definitions
4516 up closer to `replace-search'. (Bug#11746)
4517
4518 2013-05-27 Juri Linkov <juri@jurta.org>
4519
4520 * replace.el (perform-replace): Ignore invisible matches.
4521 In addition to checking `query-replace-skip-read-only', also
4522 filter out matches by calling `run-hook-with-args-until-failure'
4523 on `isearch-filter-predicates', and also check `search-invisible'
4524 for t or call `isearch-range-invisible'.
4525 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4526
4527 2013-05-27 Juri Linkov <juri@jurta.org>
4528
4529 * isearch.el (isearch-filter-predicates): Rename from
4530 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4531 (isearch-message-prefix): Display text from the property
4532 `isearch-message-prefix' of the currently active filters.
4533 (isearch-search): Don't compare `isearch-filter-predicate' with
4534 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4535 on `isearch-filter-predicates'. Also check `search-invisible' for t
4536 or call `isearch-range-invisible'.
4537 (isearch-filter-visible): Make obsolete.
4538 (isearch-lazy-highlight-search):
4539 Call `run-hook-with-args-until-failure' on
4540 `isearch-filter-predicates' and use `isearch-range-invisible'.
4541
4542 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4543 `isearch-filter-predicates' instead of `funcall'ing
4544 `isearch-filter-predicate'.
4545 (Info-mode): Set `Info-isearch-filter' to
4546 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4547
4548 * dired-aux.el (dired-isearch-filter-predicate-orig):
4549 Remove variable.
4550 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4551 (dired-isearch-filenames-end): Add and remove
4552 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4553 instead of changing the value of `isearch-filter-predicate'.
4554 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4555 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4556 Put property `isearch-message-prefix' to "filename " on
4557 `dired-isearch-filter-filenames'.
4558
4559 * wdired.el (wdired-change-to-wdired-mode):
4560 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4561 locally instead of changing `isearch-filter-predicate'.
4562 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4563
4564 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4565
4566 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4567 return the commit hash (Bug#14459). Also set the
4568 `vc-git-detached' property.
4569 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4570 (vc-git-mode-line-string): Use the same help-echo format whether
4571 in detached mode or not, because we know the actual revision now.
4572 When in detached mode, shorten the revision to 7 chars.
4573
4574 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * emacs-lisp/easy-mmode.el (define-minor-mode):
4577 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4578 mode hook and provide a docstring.
4579
4580 2013-05-27 Alan Mackenzie <acm@muc.de>
4581
4582 Remove spurious syntax-table text properties inserted by C-y.
4583 * progmodes/cc-mode.el (c-after-change): Also clear hard
4584 syntax-table property with value nil.
4585
4586 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4589 when reading the events; the buffer layout shall not be changed.
4590
4591 2013-05-27 Leo Liu <sdl.web@gmail.com>
4592
4593 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4594 New variable.
4595 (inferior-octave-directory-tracker): Automatically re-sync
4596 default-directory.
4597 (octave-help): Improve handling of 'See also'.
4598
4599 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * doc-view.el: Minor naming convention tweaks.
4602 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4603
4604 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4605 even if there's no `display' property yet (bug#14435).
4606
4607 2013-05-25 Eli Zaretskii <eliz@gnu.org>
4608
4609 * subr.el (unmsys--file-name): Rename from reveal-filename.
4610
4611 * Makefile.in (custom-deps, finder-data, autoloads)
4612 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4613 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4614 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4615
4616 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4619 error-completion on the first 2 args of condition-case (bug#14446).
4620 Don't burp at EOB.
4621
4622 2013-05-25 Leo Liu <sdl.web@gmail.com>
4623
4624 * comint.el (comint-previous-matching-input): Do not flood the
4625 *Messages* buffer with trivial messages.
4626
4627 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * progmodes/flymake.el (flymake-nop): Don't return a string.
4630 (flymake-set-at): Fix typo.
4631
4632 * simple.el (read--expression): New function, extracted from
4633 eval-expression. Set completion-at-point-functions (bug#14465).
4634 (eval-expression, eval-minibuffer): Use it.
4635
4636 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4637
4638 * progmodes/flymake.el (flymake-save-buffer-in-file)
4639 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4640 (flymake-selected-frame, flymake-log, flymake-ins-after)
4641 (flymake-set-at, flymake-get-buildfile-from-cache)
4642 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4643 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4644 Refine the doc string.
4645 (flymake-get-file-name-mode-and-masks): Reformat.
4646 (flymake-get-real-file-name-function): Fix a minor bug.
4647
4648 2013-05-24 Juri Linkov <juri@jurta.org>
4649
4650 * progmodes/grep.el (grep-mode-font-lock-keywords):
4651 Support =linenumber= format used by git-grep for lines with
4652 function names. (Bug#13549)
4653
4654 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4657 0 after a semi-colon; it works better for smie-auto-fill.
4658 (octave--indent-new-comment-line): New function.
4659 (octave-indent-new-comment-line): Use it (indirectly).
4660 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4661 modify comment-line-break-function.
4662
4663 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4664 (smie-setup): Use add-function to set it.
4665
4666 2013-05-24 Sam Steingold <sds@gnu.org>
4667
4668 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4669 argument (before the `interactive' argument).
4670
4671 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * image-mode.el (image-mode-winprops): Add winprops to
4674 image-mode-winprops-alist before running
4675 image-mode-new-window-functions.
4676 * doc-view.el (doc-view-new-window-function): Don't delay
4677 doc-view-goto-page via timers (bug#14435).
4678
4679 2013-05-24 Tassilo Horn <tsdh@gnu.org>
4680
4681 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4682 (doc-view-desktop-save-buffer): New function.
4683 (doc-view-restore-desktop-buffer): New function.
4684 (desktop-buffer-mode-handlers):
4685 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
4686 handler.
4687 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4688 `desktop-save-buffer' function.
4689
4690 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4693 (tramp-gvfs-file-name-handler): Raise a user error when
4694 `tramp-gvfs-enabled' is nil.
4695 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4696 Do not raise a user error when loading package. (Bug#14447)
4697
4698 * net/xesam.el: Move to obsolete/.
4699
4700 2013-05-24 Glenn Morris <rgm@gnu.org>
4701
4702 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4703
4704 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4705
4706 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4707 (Info-find-node, Man-getpage-in-background): Declare.
4708
4709 * mail/unrmail.el (unrmail):
4710 Replace obsolete detect-coding-with-priority.
4711
4712 * net/socks.el (socks-split-string): Use this rather than split-string.
4713 (socks-nslookup-host): Update for above change.
4714 (dynamic-choice, s5-dynamic-choice-match)
4715 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4716 Comment out unused code.
4717
4718 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4719 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4720 (gud-tooltip-echo-area): Make obsolete.
4721 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4722
4723 * progmodes/js.el (js--optimize-arglist): Declare.
4724
4725 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4726
4727 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4728 (ediff-window-C): Declare.
4729
4730 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4731 Tweak requires to silence compiler.
4732
4733 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4734 (he-search-string, he-tried-table, he-expand-list)
4735 (he-init-string, he-string-member, he-substitute-string)
4736 (he-reset-string): Declare.
4737
4738 * obsolete/options.el (list-options): Use custom-variable-p,
4739 rather than obsolete alias.
4740
4741 2013-05-23 Sam Steingold <sds@gnu.org>
4742
4743 * simple.el (shell-command-on-region): Pass the `replace' argument
4744 down to `call-process-region' to comply with the doc as reported on
4745 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4746
4747 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * emacs-lisp/smie.el (smie-indent-forward-token)
4750 (smie-indent-backward-token): Handle string tokens (bug#14381).
4751
4752 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4753
4754 * ielm.el (ielm-menu): New menu.
4755 (inferior-emacs-lisp-mode): Set comment-start.
4756
4757 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4758
4759 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4760 Fix deactivate action.
4761
4762 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4763 Add cleveref macros.
4764
4765 * lisp/textmodes/reftex-parse.el
4766 (reftex-locate-bibliography-files): Accept options for
4767 bibliography commands.
4768 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4769 Add addbibresource. Basic Biblatex support.
4770
4771 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4772
4773 * net/tramp-gvfs.el (top):
4774 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4775 when loading package. (Bug#14447)
4776
4777 2013-05-23 Glenn Morris <rgm@gnu.org>
4778
4779 * progmodes/js.el: No need to load comint when compiling.
4780 (ring-insert, comint-send-string, comint-send-input)
4781 (comint-last-input-end, ido-chop): Declare.
4782
4783 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4784 * vc/ediff-mult.el: Adjust requires.
4785 (ediff-directories-internal, ediff-directory-revisions-internal)
4786 (ediff-patch-file-internal): Declare.
4787 * vc/ediff-ptch.el: Adjust requires.
4788 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4789 (ediff-find-file): Autoload.
4790 * vc/ediff-util.el: No need to load ediff when compiling.
4791 (ediff-regions-internal): Declare.
4792 * vc/ediff-wind.el: Adjust requires.
4793 (ediff-compute-toolbar-width): Define when compiling.
4794 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4795 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4796 (dired-get-filename, dired-get-marked-files)
4797 (ediff-last-dir-patch, ediff-patch-default-directory)
4798 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4799 (ediff-patch-buffer-internal): Declare.
4800
4801 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4802 (ispell-process, ispell-buffer-local-words, lm-summary)
4803 (lm-section-start, lm-section-end): Declare.
4804 (checkdoc-ispell-init): Simplify.
4805
4806 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4807 (he-string-member, he-reset-string, he-substitute-string): Declare.
4808
4809 * eshell/em-ls.el: Adjust requires.
4810 (eshell-glob-regexp): Declare.
4811 * eshell/em-tramp.el: Adjust requires.
4812 (eshell-parse-command): Autoload.
4813 * eshell/em-xtra.el: Adjust requires.
4814 (eshell-parse-command): Autoload.
4815 * eshell/esh-ext.el: Adjust requires.
4816 (eshell-parse-command, eshell-close-handles): Autoload.
4817 * eshell/esh-io.el: Adjust requires.
4818 (eshell-output-filter): Autoload.
4819 * eshell/esh-util.el: No need to load tramp when compiling.
4820 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4821 Declare.
4822 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4823 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4824 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4825 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4826 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4827 * eshell/esh-opt.el, eshell/esh-proc.el:
4828 * eshell/esh-var.el: Adjust requires.
4829 * eshell/eshell.el: Do not require esh-util twice.
4830 (eshell-add-input-to-history): Declare.
4831 (eshell-command): Check history module is active before using it.
4832
4833 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4834
4835 2013-05-22 Leo Liu <sdl.web@gmail.com>
4836
4837 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4838
4839 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4840
4841 * autorevert.el (auto-revert-notify-add-watch)
4842 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4843 it indicates changes in file modification time.
4844
4845 2013-05-22 Glenn Morris <rgm@gnu.org>
4846
4847 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4848 Always delete the autoloaded function from the noruntime and
4849 unresolved functions lists.
4850
4851 * allout.el: No need to load epa, epg, overlay when compiling.
4852 (epg-context-set-passphrase-callback, epg-list-keys)
4853 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4854 (epg-key-user-id-list): Declare.
4855
4856 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4857 (viper-set-parsing-style-toggling-macro)
4858 (viper-set-emacs-state-searchstyle-macros):
4859 Use called-interactively-p on Emacs.
4860 (viper-looking-back): Make it an obsolete alias. Update callers.
4861 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4862 Use looking-back rather than viper-looking-back.
4863 (viper-tmp-insert-at-eob, viper-enlarge-region)
4864 (viper-read-string-with-history, viper-register-to-point)
4865 (viper-append-to-register, viper-change-state-to-vi)
4866 (viper-backward-char-carefully, viper-forward-char-carefully)
4867 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4868 (viper-change-state-to-emacs): Declare.
4869 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4870 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4871 * emulation/viper-mous.el: Do not load viper-cmd.
4872 (viper-backward-char-carefully, viper-forward-char-carefully)
4873 (viper-forward-word, viper-adjust-window): Declare.
4874
4875 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4876
4877 * progmodes/idlw-help.el (idlwave-help-fontify):
4878 Use called-interactively-p.
4879
4880 * term/w32console.el (w32-get-console-codepage)
4881 (w32-get-console-output-codepage): Declare.
4882
4883 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4884 Remove unnecessary declarations.
4885 (dframe-message): Doc fix.
4886
4887 * info.el (dframe-select-attached-frame, dframe-current-frame):
4888 Declare.
4889
4890 * speedbar.el (speedbar-message): Make it an obsolete alias.
4891 Update all callers.
4892 (speedbar-with-attached-buffer)
4893 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4894 (speedbar-with-writable): Use backquote.
4895 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4896 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4897 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4898 rather than speedbar- aliases.
4899 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4900 (speedbar-make-specialized-keymap, speedbar-insert-button)
4901 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4902 (speedbar-do-function-pointer): Declare.
4903 (rmail-speedbar-button, rmail-speedbar-find-file)
4904 (rmail-speedbar-move-message):
4905 Use dframe-with-attached-buffer rather than speedbar- alias.
4906 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4907 (dframe-message, speedbar-make-specialized-keymap)
4908 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4909 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4910 (speedbar-insert-button, dframe-select-attached-frame)
4911 (dframe-maybee-jump-to-attached-frame)
4912 (speedbar-change-initial-expansion-list)
4913 (speedbar-previously-used-expansion-list-name): Declare.
4914 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4915 Use dframe-message, dframe-with-attached-buffer rather than
4916 speedbar- aliases.
4917 (gud-sentinel): Silence compiler.
4918 * progmodes/vhdl-mode.el (speedbar-refresh)
4919 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4920 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4921 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4922 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4923 (speedbar-file-lists, speedbar-make-tag-line)
4924 (speedbar-line-directory, speedbar-goto-this-file)
4925 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4926 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4927 (speedbar-make-button, speedbar-reset-scanners)
4928 (speedbar-files-item-info, speedbar-line-text)
4929 (speedbar-find-file-in-frame, speedbar-set-timer)
4930 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4931 (speedbar-with-writable): Do not (re)define it.
4932 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4933 rather than speedbar- alias.
4934
4935 2013-05-21 Leo Liu <sdl.web@gmail.com>
4936
4937 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4938 menu items.
4939 (octave-mode): Tweak fill-nobreak-predicate.
4940 (inferior-octave-startup): Check process to avoid infinite loop.
4941 (inferior-octave): Pop to buffer first to show abornmal process
4942 exit information.
4943
4944 2013-05-21 Glenn Morris <rgm@gnu.org>
4945
4946 * printing.el (pr-menu-bar): Define when compiling.
4947
4948 2013-05-21 Leo Liu <sdl.web@gmail.com>
4949
4950 * progmodes/octave.el (octave-auto-fill): Remove.
4951 (octave-indent-new-comment-line): Improve.
4952 (octave-mode): Use auto fill mode through
4953 comment-line-break-function and fill-nobreak-predicate.
4954 (octave-goto-function-definition): Support DEFUN_DLD.
4955 (octave-beginning-of-defun): Small tweak.
4956 (octave-help): Show parent directory.
4957
4958 2013-05-21 Glenn Morris <rgm@gnu.org>
4959
4960 * files.el (dired-unmark):
4961 * progmodes/gud.el (gdb-input): Update declarations.
4962
4963 * calculator.el (electric, ehelp): No need to load when compiling.
4964 (Electric-command-loop, electric-describe-mode): Declare.
4965
4966 * doc-view.el (doc-view-current-converter-processes): Move before use.
4967
4968 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4969 Move MODE-set-explicitly definition before use.
4970
4971 * international/mule-diag.el (mule-diag):
4972 Don't use obsolete window-system-version.
4973
4974 * mail/feedmail.el (smtpmail): No need to load when compiling.
4975 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4976
4977 * mail/mail-utils.el (rfc822): No need to load when compiling.
4978 (rfc822-addresses): Autoload it.
4979 (mail-strip-quoted-names): Trivial simplification.
4980
4981 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4982 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4983
4984 * net/snmp-mode.el (tempo): Don't duplicate requires.
4985
4986 * progmodes/prolog.el (info): No need to load when compiling.
4987 (comint): Require before shell requires it.
4988 (Info-goto-node): Autoload it.
4989 (Info-follow-nearest-node): Declare.
4990 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4991
4992 * textmodes/artist.el (picture-mode-exit): Declare.
4993
4994 * textmodes/reftex-parse.el (reftex-parse-from-file):
4995 Trivial rewrite so the compiler can parse it better.
4996
4997 2013-05-20 Leo Liu <sdl.web@gmail.com>
4998
4999 * progmodes/octave.el (octave-help-mode-map)
5000 (octave-help-mode-finish-hook): New variables.
5001 (octave-help-mode, octave-help-mode-finish): New functions.
5002 (octave-help): Use octave-help-mode.
5003
5004 2013-05-20 Glenn Morris <rgm@gnu.org>
5005
5006 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5007
5008 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5009
5010 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5011 start at point, so that expansion starting right after opening
5012 slash in a regexp is recognized.
5013 (ruby-syntax-before-regexp-re): New defvar, extracted from
5014 ruby-syntax-propertize-function. Since the value of this regexp
5015 is looked up at runtime now, we should be able to turn
5016 `ruby-syntax-methods-before-regexp' into a defcustom later.
5017 (ruby-syntax-propertize-function): Split regexp matching into two
5018 parts, for opening and closing slashes. That allows us to skip
5019 over string interpolations and support multiline regexps.
5020 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5021 for them, which calls `ruby-syntax-propertize-expansion'.
5022 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5023 call to `ruby-syntax-propertize-function'.
5024 (ruby-syntax-propertize-expansion): Extracted from
5025 `ruby-syntax-propertize-expansions'. Handles one expansion.
5026 (ruby-syntax-propertize-percent-literal): Leave point right after
5027 the percent symbol, so that the expression expansion rule can
5028 propertize the contents.
5029 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5030 heredoc openers.
5031 (ruby-syntax-propertize-expansions): Remove.
5032
5033 2013-05-18 Juri Linkov <juri@jurta.org>
5034
5035 * man.el (Man-default-man-entry): Remove `-' from the end
5036 of the default value. (Bug#14400)
5037
5038 2013-05-18 Glenn Morris <rgm@gnu.org>
5039
5040 * comint.el (comint-password-prompt-regexp):
5041 Allow "password for XXX" where XXX contains colons (eg https://...).
5042
5043 2013-05-18 Leo Liu <sdl.web@gmail.com>
5044
5045 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5046 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5047 (octave-source-directories): Don't check process.
5048 (octave-source-directories, octave-find-definition): Doc fix.
5049
5050 2013-05-18 Glenn Morris <rgm@gnu.org>
5051
5052 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5053 Remove backspace/delete bindings. (Bug#14392)
5054
5055 * cus-dep.el (custom-make-dependencies): Sort the output.
5056 (custom-versions-load-alist): Convert comment to doc.
5057
5058 2013-05-17 Leo Liu <sdl.web@gmail.com>
5059
5060 * newcomment.el (comment-search-backward): Stricter in finding
5061 comment start. (Bug#14303)
5062
5063 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5064 (octave-comment-start-skip): Properly anchored.
5065
5066 2013-05-17 Leo Liu <sdl.web@gmail.com>
5067
5068 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5069 Clean up when turned off. (Bug#14395)
5070 (smie--highlight-matching-block-overlay): No longer buffer-local.
5071 (smie-highlight-matching-block): Adjust.
5072
5073 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5074
5075 Doc string fix for "nanoseconds" (Bug#14406).
5076 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5077 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5078
5079 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5080
5081 * calc/calc-units.el (math-extract-units): Preserve powers
5082 of units.
5083
5084 2013-05-17 Leo Liu <sdl.web@gmail.com>
5085
5086 * subr.el (delete-consecutive-dups): New function.
5087 * ido.el (ido-set-matches-1): Use it.
5088 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5089 * ido.el (ido-remove-consecutive-dups): Remove.
5090
5091 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5094 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5095 regexp-opt's `words'.
5096
5097 2013-05-16 Leo Liu <sdl.web@gmail.com>
5098
5099 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5100 (smie--highlight-matching-block-overlay)
5101 (smie--highlight-matching-block-lastpos)
5102 (smie--highlight-matching-block-timer): New variables.
5103 (smie-highlight-matching-block): New function.
5104 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5105 (smie-setup): Conditionally enable smie-blink-matching-open.
5106
5107 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5108
5109 Sync with upstream verilog-mode r840.
5110 * progmodes/verilog-mode.el (verilog-mode-version)
5111 (verilog-mode-release-date): Update.
5112 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5113 (verilog-sig-tieoff): Fix string error on
5114 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5115 (verilog-read-decls): Fix parameters confusing
5116 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5117
5118 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5119
5120 * subr.el (reveal-filename): New function.
5121
5122 * loadup.el: Compute Emacs executable versions on MS-Windows,
5123 where executables have the .exe extension. Add a hard link
5124 emacs-XX.YY.ZZ.exe on MS-Windows.
5125
5126 * Makefile.in (XARGS_LIMIT): New variable.
5127 (custom-deps, finder-data, autoloads)
5128 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5129 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5130 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5131 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5132
5133 2013-05-16 Leo Liu <sdl.web@gmail.com>
5134
5135 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5136 (octave-mode-menu, octave-mode-map): Remove its uses.
5137
5138 2013-05-16 Reto Zimmermann <reto@gnu.org>
5139
5140 Sync with upstream vhdl mode v3.34.2.
5141 * progmodes/vhdl-mode.el: Use `push' throughout.
5142 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5143 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5144 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5145 (vhdl-actual-generic-name): New option to derive actual generic name.
5146 (vhdl-port-paste-signals): Replace formal by actual generics.
5147 (vhdl-beautify): New name for old group vhdl-align. Update users.
5148 (vhdl-beautify-options): New option.
5149 (vhdl-last-input-event): New compat alias. Use throughout.
5150 (vhdl-goto-line): Replace user level function `goto-line'.
5151 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5152 vhdl-fix-statement-buffer.
5153 (vhdl-create-mode-menu): Add some entries.
5154 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5155 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5156 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5157 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5158 to force statements on one line.
5159 (vhdl-remove-trailing-spaces-region):
5160 New, split from vhdl-remove-trailing-spaces.
5161 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5162 Respect vhdl-beautify-options.
5163 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5164 (vhdl-update-sensitivity-list): Not add with index if exists without.
5165 Not include array index with signal. Ignore keywords in comments.
5166 (vhdl-get-visible-signals): Regexp tweaks.
5167 (vhdl-template-component-inst): Handle empty library.
5168 (vhdl-template-type): Add template for 'enum' type.
5169 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5170 Use vhdl-replace-string.
5171 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5172 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5173 (vhdl-speedbar-initialize): Update for above name change.
5174 (vhdl-compose-wire-components): Fix in handling of constants.
5175 (vhdl-error-regexp-emacs-alist): New variable.
5176 (vhdl-error-regexp-add-emacs): New function;
5177 adds support for new compile.el (Emacs 22+)
5178 (vhdl-generate-makefile-1): Change target order for single lib. units.
5179 Allow use of absolute file names.
5180
5181 2013-05-16 Leo Liu <sdl.web@gmail.com>
5182
5183 * simple.el (prog-indent-sexp): Indent enclosing defun.
5184
5185 2013-05-15 Glenn Morris <rgm@gnu.org>
5186
5187 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5188 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5189 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5190 (whitespace-highlight): Move to whitespace group.
5191
5192 * comint.el (comint-source):
5193 * pcmpl-linux.el (pcmpl-linux):
5194 * shell.el (shell-faces):
5195 * eshell/esh-opt.el (eshell-opt):
5196 * international/ccl.el (ccl): Remove empty custom groups.
5197
5198 * completion.el (dynamic-completion-mode):
5199 * jit-lock.el (jit-lock-debug-mode):
5200 * minibuffer.el (completion-in-region-mode):
5201 * type-break.el (type-break-mode-line-message-mode)
5202 (type-break-query-mode):
5203 * emulation/tpu-edt.el (tpu-edt-mode):
5204 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5205 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5206 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5207
5208 * term/xterm.el (xterm): Change parent group to terminals.
5209
5210 * master.el (master): Remove empty custom group.
5211 (master-mode): Remove unused :group argument.
5212 * textmodes/refill.el (refill): Remove empty custom group.
5213 (refill-mode): Remove unused :group argument.
5214
5215 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5216
5217 * cus-dep.el: Provide a feature.
5218 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5219 Don't mistakenly ignore files whose basenames match a basename
5220 from preloaded-file-list (eg cedet/ede/simple.el).
5221 Add a fallback method for getting :group.
5222
5223 2013-05-15 Juri Linkov <juri@jurta.org>
5224
5225 * isearch.el (isearch-char-by-name): Rename from
5226 `isearch-insert-char-by-name'. Doc fix.
5227 (isearch-forward): Mention `isearch-char-by-name' in
5228 the docstring. (Bug#13348)
5229
5230 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5231 `exit-minibuffer' instead of
5232 `isearch-nonincremental-exit-minibuffer'.
5233 (isearch-edit-string): Remove mention of
5234 `isearch-nonincremental-exit-minibuffer' from docstring.
5235 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5236 (isearch-forward-exit-minibuffer)
5237 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5238
5239 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * loadup.el: Just use unversioned DOC.
5242
5243 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5244 literals as extending to EOB.
5245 (nxml-last-fontify-end): Remove unused variable.
5246 (nxml-after-change1): Use with-silent-modifications.
5247 (nxml-extend-after-change-region): Simplify.
5248 (nxml-extend-after-change-region1): Remove function.
5249 (nxml-after-change1): Don't adjust for dependent regions.
5250 (nxml-fontify-matcher): Simplify.
5251 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5252 (xmltok-add-dependent): Remove function.
5253 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5254 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5255 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5256 unclosed <[[, <?, comment, and other literals as extending to EOB.
5257 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5258 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5259 Remove functions.
5260 (rng-do-some-validation-1): Don't mark dependent regions.
5261 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5262 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5263 (nxml-clear-dependent-regions): Remove functions.
5264 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5265 (nxml-ensure-scan-up-to-date):
5266 Don't clear&mark dependent regions.
5267
5268 2013-05-15 Leo Liu <sdl.web@gmail.com>
5269
5270 * progmodes/octave.el (octave-goto-function-definition):
5271 Improve and fix callers.
5272
5273 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5276 the setter (bug#14387).
5277
5278 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5279 surrounding group (bug#14402).
5280
5281 2013-05-14 Juri Linkov <juri@jurta.org>
5282
5283 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5284 (Bug#14390)
5285
5286 2013-05-14 Glenn Morris <rgm@gnu.org>
5287
5288 * progmodes/f90.el (f90-imenu-generic-expression):
5289 Fix typo in 2013-05-08 change. (Bug#14402)
5290
5291 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5292
5293 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5294 Remove signals for which replies are never received.
5295
5296 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5297
5298 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5299 (gdb-handler-alist, gdb-handler-number): Remove variables.
5300 (gdb-handler-list): New variable.
5301 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5302 (gdb-pending-handler-p, gdb-handle-reply)
5303 (gdb-remove-all-pending-triggers): New functions.
5304 (gdb-discard-unordered-replies): New defcustom.
5305 (gdb-handler): New defstruct.
5306 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5307 instead of gdb-pending-triggers. Update docstring.
5308 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5309 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5310 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5311 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5312 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5313 (gdb-frame-handler): Pending triggers are now automatically managed.
5314 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5315 Remove argument.
5316 (gdb-input): Automatically handles pending triggers. Update docstring.
5317 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5318 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5319 Update comments.
5320 (gdb-done-or-error): Now use gdb-handle-reply.
5321
5322 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5323
5324 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5325 gdb-debug-log.
5326
5327 2013-05-14 Glenn Morris <rgm@gnu.org>
5328
5329 * subr.el (user-emacs-directory-warning): New option.
5330 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5331
5332 2013-05-14 Leo Liu <sdl.web@gmail.com>
5333
5334 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5335 during redisplay.
5336 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5337 (octave-font-lock-texinfo-comment): Fix invalid search bound
5338 error: wrong side of point.
5339
5340 2013-05-14 Glenn Morris <rgm@gnu.org>
5341
5342 * progmodes/flymake.el (flymake-xml-program): New option.
5343 (flymake-xml-init): Use it.
5344
5345 * term/xterm.el: Provide a feature.
5346
5347 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5348
5349 2013-05-13 Glenn Morris <rgm@gnu.org>
5350
5351 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5352 Add compat aliases as a hack workaround. (Bug#14384)
5353
5354 2013-05-13 Leo Liu <sdl.web@gmail.com>
5355
5356 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5357 ###, and %!.
5358 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5359 C-M-q.
5360 (octave-comment-start-skip): Include %!.
5361 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5362
5363 2013-05-12 Leo Liu <sdl.web@gmail.com>
5364
5365 * progmodes/octave.el (inferior-octave-startup): Store the value
5366 of __octave_srcdir__ for octave-source-directories.
5367 (inferior-octave-check-process): New function refactored out of
5368 inferior-octave-send-list-and-digest.
5369 (octave-source-directories)
5370 (octave-find-definition-filename-function): New variables.
5371 (octave-source-directories)
5372 (octave-find-definition-default-filename): New functions.
5373 (octave-find-definition): Improve to find functions implemented in C++.
5374
5375 2013-05-12 Glenn Morris <rgm@gnu.org>
5376
5377 * calendar/diary-lib.el (diary-outlook-format-1):
5378 Don't include dayname in the output. (Bug#14349)
5379
5380 2013-05-11 Glenn Morris <rgm@gnu.org>
5381
5382 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5383
5384 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5385 Treat cc-provide like provide.
5386
5387 2013-05-11 Kevin Ryde <user42@zip.com.au>
5388
5389 * cus-dep.el (custom-make-dependencies):
5390 Use generated-autoload-load-name for the sake of files such
5391 such cedet/semantic/bovine/c.el, where the base file name
5392 is not in load-path. (Bug#5277)
5393
5394 2013-05-11 Glenn Morris <rgm@gnu.org>
5395
5396 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5397 Provide features.
5398
5399 2013-05-11 Leo Liu <sdl.web@gmail.com>
5400
5401 * progmodes/octave.el (octave-indent-comment): Improve.
5402 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5403 (octave-eldoc-function-signatures, octave-eldoc-function):
5404 New functions.
5405 (octave-mode, inferior-octave-mode): Add eldoc support.
5406
5407 2013-05-11 Richard Stallman <rms@gnu.org>
5408
5409 * epa.el (epa-decrypt-file): Take output file name as argument
5410 and read it using `interactive'.
5411
5412 2013-05-11 Leo Liu <sdl.web@gmail.com>
5413
5414 * progmodes/octave.el (octave-beginning-of-line)
5415 (octave-end-of-line): Check before using up-list because it jumps
5416 out of more syntactic contructs since moving to smie.
5417 (octave-indent-comment): New function.
5418 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
5419 (octave-begin-keywords, octave-end-keywords)
5420 (octave-reserved-words, octave-smie-bnf-table)
5421 (octave-smie-rules): Add new keywords from Octave 3.6.4.
5422
5423 2013-05-11 Glenn Morris <rgm@gnu.org>
5424
5425 * faces.el (internal-face-x-get-resource):
5426 * frame.el (ns-display-monitor-attributes-list):
5427 * calc/calc-aent.el (math-to-radians-2):
5428 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
5429 Fix declarations.
5430
5431 * calc/calc-menu.el: Make it loadable in isolation.
5432
5433 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5434 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5435 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5436 (eudc-bbdb-query-internal): Require 'bbdb.
5437
5438 * lpr.el (lpr-headers-switches):
5439 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5440
5441 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5442
5443 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5444
5445 * term.el (term-set-escape-char): Make it idempotent.
5446
5447 2013-05-10 Leo Liu <sdl.web@gmail.com>
5448
5449 * progmodes/octave.el (inferior-octave-completion-table):
5450 No longer a function and all uses changed. Use cache to speed up
5451 completion due to bug#11906.
5452 (octave-beginning-of-defun): Re-write to be more general.
5453
5454 2013-05-10 Glenn Morris <rgm@gnu.org>
5455
5456 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5457
5458 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * comint.el (comint-redirect-send-command-to-process): Use :around
5461 rather than :override for comint-redirect-filter.
5462 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5463 Call it instead of comint-redirect-original-filter-function (which
5464 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5465
5466 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5467
5468 * frame.el (display-monitor-attributes-list): Add NS case.
5469 (ns-display-monitor-attributes-list): Declare.
5470
5471 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
5472
5473 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5474
5475 2013-05-09 Glenn Morris <rgm@gnu.org>
5476
5477 * international/fontset.el (vertical-centering-font-regexp):
5478 Set standard-value.
5479
5480 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5481
5482 * bookmark.el (bookmark-search-delay):
5483 * cus-start.el (vertical-centering-font-regexp):
5484 * ps-mule.el (ps-mule-font-info-database-default):
5485 * ps-print.el (ps-default-fg, ps-default-bg):
5486 * type-break.el (type-break-good-break-interval):
5487 * whitespace.el (whitespace-indentation-regexp)
5488 (whitespace-space-after-tab-regexp):
5489 * emacs-lisp/testcover.el (testcover-1value-functions)
5490 (testcover-noreturn-functions, testcover-progn-functions)
5491 (testcover-prog1-functions):
5492 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5493 * eshell/em-glob.el (eshell-glob-translate-alist):
5494 * play/tetris.el (tetris-tty-colors):
5495 * progmodes/cpp.el (cpp-face-default-list):
5496 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5497 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5498 (idlwave-help-browser-generic-args):
5499 * progmodes/make-mode.el (makefile-special-targets-list):
5500 * progmodes/python.el (python-shell-virtualenv-path):
5501 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5502 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5503 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5504 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5505 * textmodes/reftex-vars.el (reftex-format-label-function):
5506 * textmodes/remember.el (remember-diary-file): Fix custom types.
5507
5508 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5509 Add :version.
5510
5511 2013-05-09 Leo Liu <sdl.web@gmail.com>
5512
5513 * progmodes/octave.el (inferior-octave-completion-at-point):
5514 Restore file completion. (Bug#14300)
5515 (inferior-octave-startup): Fix incorrect highlighting for the
5516 first prompt.
5517
5518 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * progmodes/ruby-mode.el: First cut at SMIE support.
5521 (ruby-use-smie): New var.
5522 (ruby-smie-grammar): New constant.
5523 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5524 (ruby-smie--forward-token, ruby-smie--backward-token)
5525 (ruby-smie-rules): New functions.
5526 (ruby-mode-variables): Setup SMIE if applicable.
5527
5528 2013-05-08 Eli Zaretskii <eliz@gnu.org>
5529
5530 * simple.el (line-move-visual): Signal beginning/end of buffer
5531 only if vertical-motion moved less than it was requested. Avoids
5532 silly incorrect error messages when there are display strings with
5533 multiple newlines at EOL.
5534
5535 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5538 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5539 (prolog-char-quote-workaround):
5540 * progmodes/cperl-mode.el (cperl-under-as-char):
5541 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
5542 Mark as obsolete.
5543 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
5544 their declaration.
5545 (vhdl-mode-syntax-table-init): Remove.
5546
5547 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5548 last change.
5549
5550 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5551 syntax for "_".
5552 (ld-script-font-lock-keywords):
5553 Change regexps to use things like \_< and \_>.
5554
5555 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5556 Change all regexps to use things like \_< and \_>.
5557
5558 * progmodes/autoconf.el (autoconf-definition-regexp)
5559 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5560 Handle a _ with symbol syntax.
5561 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5562
5563 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5564 Consolidate declaration.
5565 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5566 the declaration.
5567 (ada-create-syntax-table): Remove.
5568 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5569 already has the right syntax nowadays.
5570 (ada-goto-next-word): Don't change the syntax of "_".
5571
5572 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5573 with-wrapper-hook.
5574
5575 2013-05-08 Sam Steingold <sds@gnu.org>
5576
5577 * thingatpt.el (thing-at-point): Accept optional second argument
5578 NO-PROPERTIES to strip the text properties from the return value.
5579 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5580 to `thing-at-point' instead of stripping the properties ourselves.
5581 Also, when `thing-at-point' fails to find a url, prepend "http://"
5582 to the filename at point on the assumption that the user is
5583 pointing at something like gnu.org/gnu.
5584
5585 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5588 * faces.el (crm-separator):
5589 Silence byte-compiler.
5590
5591 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5592 (tool-bar-map): Remove unneeded defvars.
5593
5594 2013-05-08 Leo Liu <sdl.web@gmail.com>
5595
5596 Re-work a fix for bug#10994 based on Le Wang's patch.
5597 * ido.el (ido-remove-consecutive-dups): New helper.
5598 (ido-completing-read): Use it.
5599 (ido-chop): Revert fix for bug#10994.
5600
5601 2013-05-08 Adam Spiers <emacs@adamspiers.org>
5602
5603 * cus-edit.el (custom-save-variables):
5604 Pretty-print long values. (Bug#14187)
5605
5606 2013-05-08 Glenn Morris <rgm@gnu.org>
5607
5608 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5609 (m4-mode-syntax-table): Init in the defvar.
5610 (m4-mode-abbrev-table): Let define-derived-mode define it.
5611
5612 2013-05-08 Tom Tromey <tromey@redhat.com>
5613
5614 * progmodes/m4-mode.el (m4-mode-syntax-table):
5615 Do not treat "_" as word constituent. (Bug#14167)
5616
5617 2013-05-07 Glenn Morris <rgm@gnu.org>
5618
5619 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5620 Remove explicit eshell-isearch-cancel-map.
5621
5622 * progmodes/f90.el (f90-smart-end-names): New option.
5623 (f90-smart-end): Doc fix.
5624 (f90-end-block-optional-name): New constant.
5625 (f90-block-match): Respect f90-smart-end-names.
5626
5627 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5630 about implicit semi-colons (bug#14218).
5631
5632 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5633
5634 * frame.el (display-monitor-attributes-list)
5635 (frame-monitor-attributes): New functions.
5636
5637 2013-05-06 Leo Liu <sdl.web@gmail.com>
5638
5639 * progmodes/octave.el (octave-syntax-propertize-function): Change
5640 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5641 (octave-font-lock-keywords): Use octave-operator-regexp.
5642 (octave-completion-at-point): Rename from
5643 octave-completion-at-point-function.
5644 (inferior-octave-directory-tracker): Robustify.
5645 (octave-text-functions): Remove and fix its uses. No such things
5646 any more.
5647
5648 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * emacs-lisp/trace.el (trace--display-buffer): New function.
5651 (trace-make-advice): Use it.
5652
5653 2013-05-06 Juri Linkov <juri@jurta.org>
5654
5655 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5656 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5657 Doc fix.
5658 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5659 in the help string. (Bug#12985)
5660
5661 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5662
5663 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5664
5665 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * progmodes/perl-mode.el: Add support for here documents.
5668 (perl-syntax-propertize-function): Match here-doc markers.
5669 (perl-syntax-propertize-special-constructs): Find their end.
5670 (perl-imenu-generic-expression): Use [:alnum:].
5671
5672 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5673 (advice--add-function): Refresh the advice if already present
5674 (bug#14317).
5675
5676 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
5677
5678 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5679
5680 2013-05-06 Glenn Morris <rgm@gnu.org>
5681
5682 * w32-fns.el (w32-charset-info-alist): Declare.
5683
5684 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5685 of its defcustom properties.
5686 (eshell-cmpl-initialize): No need to load pcomplete.
5687
5688 * generic-x.el: No need to require comint when compiling.
5689
5690 * net/eudc-export.el: Make it loadable without bbdb.
5691 (top-level): Use require rather than load-library.
5692 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5693 (eudc-batch-export-records-to-bbdb)
5694 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5695 Require bbdb.
5696
5697 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5700 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5701 some tweaks, instead.
5702
5703 2013-05-05 Leo Liu <sdl.web@gmail.com>
5704
5705 * progmodes/octave.el (octave-font-lock-keywords)
5706 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5707 (inferior-octave-send-list-and-digest): Improve error message.
5708 (octave-mode, inferior-octave-mode): Use setq-local.
5709 (octave-help): Set info-lookup-mode.
5710
5711 2013-05-05 Richard Stallman <rms@gnu.org>
5712
5713 * vc/compare-w.el (compare-windows-whitespace):
5714 Treat no-break space as whitespace.
5715
5716 * mail/rmailsum.el (rmail-summary-rmail-update):
5717 Detect empty summary and don't change selected message.
5718 (rmail-summary-goto-msg): Likewise.
5719
5720 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5721 Doc fixes, rename args.
5722
5723 2013-05-05 Alan Mackenzie <acm@muc.de>
5724
5725 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5726
5727 2013-05-05 Juri Linkov <juri@jurta.org>
5728
5729 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5730 to not add the length of the summary segment to the return value.
5731 (Bug#14125)
5732
5733 2013-05-05 Leo Liu <sdl.web@gmail.com>
5734
5735 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5736 (inferior-octave-output-filter): Remove.
5737 (octave-send-region, inferior-octave-startup): Fix callers.
5738 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5739 (octave-binary-file-extensions): New user variable.
5740 (octave-find-definition): Confirm if opening binary files.
5741 (octave-help-file): Use octave-find-definition to get the binary
5742 confirmation.
5743 (octave-help): Adjust for octave-help-file change.
5744
5745 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5748 Merge the two entries that handle function definitions.
5749 (pascal--syntax-propertize): New const.
5750 (pascal-mode): Use it. Use setq-local.
5751
5752 2013-05-04 Glenn Morris <rgm@gnu.org>
5753
5754 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5755 (diary-from-outlook): Respect diary-from-outlook-function.
5756
5757 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5760 Move the declaration from C.
5761 (read-minibuffer, eval-minibuffer): Move from C.
5762 (completion-setup-function): Avoid minibuffer-completion-contents.
5763
5764 2013-05-03 Leo Liu <sdl.web@gmail.com>
5765
5766 * progmodes/octave.el (octave-font-lock-keywords): Do not
5767 dehighlight 'end' in comments or strings.
5768 (octave-completing-read, octave-goto-function-definition):
5769 New helpers.
5770 (octave-help-buffer): New user variable.
5771 (octave-help-file, octave-help-function): New button types.
5772 (octave-help): New command and bind it to C-h ;.
5773 (octave-find-definition): New command and bind it to M-.
5774 (user-error): Alias to error if not defined.
5775
5776 2013-05-02 Leo Liu <sdl.web@gmail.com>
5777
5778 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5779 for \. (bug#14332)
5780 (octave-font-lock-keywords): Include [ and {.
5781
5782 2013-05-02 Leo Liu <sdl.web@gmail.com>
5783
5784 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5785 (inferior-octave): Remove calling comint-mode and return the buffer.
5786 (inferior-octave-startup): Cosmetic changes.
5787
5788 2013-05-02 Leo Liu <sdl.web@gmail.com>
5789
5790 * progmodes/octave.el (octave-syntax-propertize-function):
5791 Include the case when ' is at line beginning. (Bug#14336)
5792
5793 2013-05-02 Glenn Morris <rgm@gnu.org>
5794
5795 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5796 * desktop.el (vc-dir-mode): Just autoload it here.
5797
5798 2013-05-02 Alan Mackenzie <acm@muc.de>
5799
5800 Eliminate variable c-standard-font-lock-fontify-region-function.
5801 * progmodes/cc-mode.el
5802 (c-standard-font-lock-fontify-region-function): Remove.
5803 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5804
5805 2013-05-01 Leo Liu <sdl.web@gmail.com>
5806
5807 * progmodes/octave.el: Compatible with older emacs-24 releases.
5808 (inferior-octave-has-built-in-variables): Remove. Built-in
5809 variables were removed from Octave in 2007.
5810 (inferior-octave-startup): Fix uses.
5811 (comint-line-beginning-position): Remove compatibility code for
5812 emacs 21.
5813
5814 2013-05-01 Juri Linkov <juri@jurta.org>
5815
5816 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5817
5818 2013-05-01 Juri Linkov <juri@jurta.org>
5819
5820 * comint.el (comint-previous-matching-input): Don't print message
5821 "History item: %d" when `isearch-mode' is active.
5822 (comint-history-isearch-message): Print message "History item: %d"
5823 when `comint-input-ring-index' is not empty and this function is
5824 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5825
5826 2013-05-01 Leo Liu <sdl.web@gmail.com>
5827
5828 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5829 definitions. Use completion-at-point to insert keywords.
5830 (octave-abbrev-start): Remove.
5831 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5832
5833 2013-04-30 Leo Liu <sdl.web@gmail.com>
5834
5835 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5836 change.
5837
5838 2013-04-30 Alan Mackenzie <acm@muc.de>
5839
5840 Handle arbitrarily long C++ member initialisation lists.
5841 * progmodes/cc-engine.el (c-back-over-member-initializers):
5842 new function.
5843 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5844 (most) member init lists.
5845
5846 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5847
5848 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5849 variable.
5850
5851 2013-04-30 Leo Liu <sdl.web@gmail.com>
5852
5853 * progmodes/octave.el (octave-variables): Remove. No builtin
5854 variables any more. All converted to functions.
5855 (octave-font-lock-keywords, octave-completion-at-point-function):
5856 Fix uses.
5857 (octave-font-lock-texinfo-comment): New user variable.
5858 (octave-texinfo-font-lock-keywords): New variable for texinfo
5859 comment block.
5860 (octave-function-comment-block): New face.
5861 (octave-font-lock-texinfo-comment): New function.
5862 (octave-mode): Font lock texinfo comment block.
5863
5864 2013-04-29 Leo Liu <sdl.web@gmail.com>
5865
5866 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5867 indexing expression.
5868 (octave-continuation-string): Do not use \.
5869 (inferior-octave-complete-impossible): Remove.
5870 (inferior-octave-completion-table)
5871 (inferior-octave-completion-at-point): Remove its uses.
5872 (inferior-octave-startup): completion_matches was introduced to
5873 Octave in 1996 so safe to assume it.
5874 (octave-function-file-comment): Improve to follow how Octave does it.
5875 (octave-update-function-file-comment): Tweak.
5876
5877 2013-04-29 Leo Liu <sdl.web@gmail.com>
5878
5879 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5880 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5881 (octave-function-file-comment): Fix typo.
5882 (octave-sync-function-file-names): Use read-char-choice.
5883
5884 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5885
5886 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5887 to t for the less important warnings.
5888
5889 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5890
5891 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5892
5893 2013-04-27 Glenn Morris <rgm@gnu.org>
5894
5895 * vc/log-view.el (log-view-current-entry):
5896 Treat "---" separator lines as part of the following rev. (Bug#14169)
5897
5898 2013-04-27 Juri Linkov <juri@jurta.org>
5899
5900 * subr.el (read-number): Doc fix about using it by interactive
5901 code letter `n'. (Bug#14254)
5902
5903 2013-04-27 Juri Linkov <juri@jurta.org>
5904
5905 * desktop.el (desktop-auto-save-timeout): New option.
5906 (desktop-file-checksum): New variable.
5907 (desktop-save): Add optional arg `auto-save' and don't auto-save
5908 if nothing changed.
5909 (desktop-auto-save-timer): New variable.
5910 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5911 (after-init-hook): Call `desktop-auto-save-set-timer'.
5912 Suggested by Reuben Thomas <rrt@sc3d.org> in
5913 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5914
5915 2013-04-27 Leo Liu <sdl.web@gmail.com>
5916
5917 * progmodes/octave.el (octave-function-file-p)
5918 (octave-skip-comment-forward, octave-function-file-comment)
5919 (octave-update-function-file-comment): New functions.
5920 (octave-mode-map): Bind C-c ; to
5921 octave-update-function-file-comment.
5922 (octave-mode-menu): Add octave-update-function-file-comment.
5923 (octave-mode, inferior-octave-mode): Fix doc-string.
5924 (octave-insert-defun): Conform to Octave's coding convention.
5925 (Bug#14285)
5926
5927 * files.el (basic-save-buffer): Don't let errors in
5928 before-save-hook prevent saving buffer.
5929
5930 2013-04-20 Roland Winkler <winkler@gnu.org>
5931
5932 * faces.el (read-face-name): Use completing-read if arg multiple
5933 is nil.
5934
5935 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5936
5937 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5938 displayed, move point to after the totals line.
5939 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5940 for the details.
5941
5942 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5945 Add current dir to the load-path.
5946 (package-generate-autoloads): Don't rely on
5947 autoload-ensure-default-file.
5948
5949 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5950
5951 * textmodes/remember.el (remember-store-in-files): Document that
5952 the file name format is passed to `format-time-string'.
5953
5954 2013-04-26 Leo Liu <sdl.web@gmail.com>
5955
5956 * progmodes/octave.el (octave-sync-function-file-names): New function.
5957 (octave-mode): Use it in before-save-hook.
5958
5959 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5962 (bug#14274).
5963
5964 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5965 \n and comment, even if it's not an implicit ; (bug#14218).
5966
5967 2013-04-26 Glenn Morris <rgm@gnu.org>
5968
5969 * subr.el (read-number): Once more use `read' rather than
5970 `string-to-number', to trap non-numeric input. (Bug#14254)
5971
5972 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5973
5974 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5975 Use `syntax-multiline' text property consistently instead of
5976 `font-lock-multiline'. (Bug#14237)
5977
5978 2013-04-26 Glenn Morris <rgm@gnu.org>
5979
5980 * emacs-lisp/shadow.el (list-load-path-shadows):
5981 No longer necessary to check for duplicate simple.el, since
5982 2012-07-07 change to init_lread to not include installation lisp
5983 directories in load-path when running uninstalled. (Bug#14270)
5984
5985 2013-04-26 Leo Liu <sdl.web@gmail.com>
5986
5987 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5988 (octave-mode, inferior-octave-mode): Use setq-local.
5989 (octave-not-in-string-or-comment-p): Rename to
5990 octave-in-string-or-comment-p.
5991 (octave-in-comment-p, octave-in-string-p)
5992 (octave-in-string-or-comment-p): Replace defsubst with defun.
5993
5994 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5995
5996 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5997
5998 2013-04-25 Bastien Guerry <bzg@gnu.org>
5999
6000 * textmodes/remember.el (remember-data-directory)
6001 (remember-directory-file-name-format): Fix custom types.
6002
6003 2013-04-25 Leo Liu <sdl.web@gmail.com>
6004
6005 * progmodes/octave.el (octave-completion-at-point-function):
6006 Make use of inferior octave process.
6007 (octave-initialize-completions): Remove.
6008 (inferior-octave-completion-table): New function.
6009 (inferior-octave-completion-at-point): Use it.
6010 (octave-completion-alist): Remove.
6011
6012 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6015 (opascal-mode-syntax-table): New var.
6016 (opascal-literal-kind, opascal-is-literal-end)
6017 (opascal-literal-token-at): Rewrite.
6018 (opascal--literal-start-re, opascal-font-lock-keywords)
6019 (opascal--syntax-propertize): New constants.
6020 (opascal-font-lock-defaults): Adjust.
6021 (opascal-mode): Use them. Set comment-<foo> variables as well.
6022 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6023 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6024 (delphi-other-face, opascal-other-face): Remove face variables.
6025 (opascal-save-state): Remove macro.
6026 (opascal-fontifying-progress-step): Remove constant.
6027 (opascal--ignore-changes): Remove var.
6028 (opascal-set-token-property, opascal-parse-next-literal)
6029 (opascal-is-stable-literal, opascal-complete-literal)
6030 (opascal-is-literal-start, opascal-face-of)
6031 (opascal-parse-region, opascal-parse-region-until-stable)
6032 (opascal-fontify-region, opascal-after-change)
6033 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6034 (opascal-debug-parse-region, opascal-debug-parse-window)
6035 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6036 (opascal-debug-fontify-buffer): Remove.
6037 (opascal-debug-mode-map): Adjust accordingly.
6038
6039 2013-04-25 Leo Liu <sdl.web@gmail.com>
6040
6041 Merge octave-mod.el and octave-inf.el into octave.el with some
6042 cleanups.
6043 * progmodes/octave.el: New file renamed from octave-mod.el.
6044 * progmodes/octave-inf.el: Merged into octave.el.
6045 * progmodes/octave-mod.el: Renamed to octave.el.
6046
6047 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6048
6049 * textmodes/reftex-vars.el
6050 (reftex-label-ignored-macros-and-environments): New defcustom.
6051
6052 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6053
6054 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6057 (smie-indent-keyword): Improve the check to ensure that the next
6058 comment is really on the same line.
6059 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6060
6061 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6062 semi-colons if the line is not otherwise empty (bug#14218).
6063
6064 2013-04-25 Glenn Morris <rgm@gnu.org>
6065
6066 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6067
6068 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * progmodes/opascal.el (opascal-set-token-property): Rename from
6071 opascal-set-text-properties and only set `token' (bug#14134).
6072 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6073 (opascal-literal-text-properties): Remove.
6074 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6075 Adjust callers.
6076
6077 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6078
6079 * textmodes/remember.el (remember-handler-functions): Add an
6080 option for a new handler `remember-store-in-files'.
6081 (remember-data-directory, remember-directory-file-name-format):
6082 New options.
6083 (remember-store-in-files): New function to store remember notes
6084 as separate files within a directory.
6085
6086 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6087
6088 * progmodes/compile.el (compilation-next-error-function):
6089 Pass "formats" to compilation-find-file (bug#11777).
6090
6091 2013-04-24 Glenn Morris <rgm@gnu.org>
6092
6093 * vc/vc-bzr.el (vc-bzr-print-log):
6094 * vc/vc-hg.el (vc-hg-print-log):
6095 * vc/vc-svn.el (vc-svn-print-log):
6096 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6097
6098 * vc/vc-bzr.el (vc-bzr-print-log):
6099 * vc/vc-cvs.el (vc-cvs-print-log):
6100 * vc/vc-git.el (vc-git-print-log):
6101 * vc/vc-hg.el (vc-hg-print-log):
6102 * vc/vc-mtn.el (vc-mtn-print-log):
6103 * vc/vc-rcs.el (vc-rcs-print-log):
6104 * vc/vc-sccs.el (vc-sccs-print-log):
6105 * vc/vc-svn.el (vc-svn-print-log):
6106 * vc/vc.el (vc-print-log-internal): Doc fixes.
6107
6108 2013-04-23 Glenn Morris <rgm@gnu.org>
6109
6110 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6111 Remove venerable code attempting to avoid substitute-command-keys.
6112
6113 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6114
6115 * textmodes/reftex-vars.el (reftex-label-regexps):
6116 Call `reftex-compile-variables' after changes to this variable.
6117
6118 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6121 Use lexical-binding.
6122 (jit-lock-force-redisplay): Use markers, check buffer's continued
6123 existence and beware narrowed buffers.
6124 (jit-lock-fontify-now): Adjust call accordingly.
6125
6126 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6129 to avoid misleading the user.
6130
6131 2013-04-22 Leo Liu <sdl.web@gmail.com>
6132
6133 * info-look.el: Prefer latex2e.info. (Bug#14240)
6134
6135 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6136
6137 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6138
6139 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6140 * net/tramp.el (tramp-call-process): ... here.
6141 (tramp-set-completion-function, tramp-parse-putty):
6142 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6143 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6144 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6145 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6146 (tramp-call-local-coding-command): Use `tramp-call-process'
6147 instead of `tramp-compat-call-process'.
6148
6149 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6150 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6151 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6152 (tramp-find-inline-compress): Improve traces.
6153 (tramp-maybe-send-script): Check for Perl binary.
6154 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6155
6156 2013-04-22 Daiki Ueno <ueno@gnu.org>
6157
6158 * epg.el (epg-context-pinentry-mode): New function.
6159 (epg-context-set-pinentry-mode): New function.
6160 (epg--start): Pass --pinentry-mode option to gpg command.
6161
6162 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6163
6164 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6165 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6166 `completion-at-point'. (Bug#13774)
6167
6168 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6169 default key binding for `describe-distribution' has been moved to
6170 `C-h C-o'. (Bug#13970)
6171
6172 2013-04-21 Glenn Morris <rgm@gnu.org>
6173
6174 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6175 Add doc strings.
6176 (vc-print-log): Clarify interactive prompt.
6177
6178 2013-04-20 Glenn Morris <rgm@gnu.org>
6179
6180 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6181 No longer include timestamp etc information.
6182
6183 2013-04-20 Roland Winkler <winkler@gnu.org>
6184
6185 * faces.el (read-face-name): Bug fix, return just one face if arg
6186 multiple is nil. (Bug#14209)
6187
6188 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6191 (remove-function): Autoload.
6192
6193 * comint.el (comint-redirect-original-filter-function): Remove.
6194 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6195 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6196 (vc-cvs-annotate-command):
6197 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6198 * progmodes/prolog.el (prolog-consult-compile):
6199 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6200 Use add/remove-function instead.
6201 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6202 (gud-tooltip-process-output, gud-tooltip-tips):
6203 Use add/remove-function instead.
6204 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6205 (scheme-interaction-mode, exit-scheme-interaction-mode):
6206 Use add/remove-function instead.
6207
6208 * vc/vc-dispatcher.el: Use lexical-binding.
6209 (vc--process-sentinel): Rename from vc-process-sentinel.
6210 Change last arg to be the code to run. Don't use vc-previous-sentinel
6211 and vc-sentinel-commands any more.
6212 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6213 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6214
6215 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6216
6217 * progmodes/sh-script.el (sh-imenu-generic-expression):
6218 Handle function names with a single character. (Bug#14111)
6219
6220 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6221
6222 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6223 for subroutines defined in an eval (bug#14182).
6224
6225 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6226
6227 * bookmark.el (bookmark-completing-read): Improve handling of empty
6228 string (bug#14176).
6229
6230 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6233
6234 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6235
6236 New faster Imenu implementation (bug#14058).
6237 * progmodes/python.el:
6238 (python-imenu-prev-index-position):
6239 (python-imenu-format-item-label-function)
6240 (python-imenu-format-parent-item-label-function)
6241 (python-imenu-format-parent-item-jump-label-function):
6242 New vars.
6243 (python-imenu-format-item-label)
6244 (python-imenu-format-parent-item-label)
6245 (python-imenu-format-parent-item-jump-label)
6246 (python-imenu--put-parent, python-imenu--build-tree)
6247 (python-imenu-create-index, python-imenu-create-flat-index)
6248 (python-util-popn): New functions.
6249 (python-mode): Set imenu-create-index-function to
6250 python-imenu-create-index.
6251
6252 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * winner.el (winner-active-region): Use region-active-p, activate-mark
6255 and deactivate-mark (bug#14225).
6256
6257 * simple.el (deactivate-mark): Don't inline it.
6258
6259 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6260
6261 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6262
6263 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6264
6265 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6266 file extensions from the archive-mode entry in order to prefer
6267 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6268
6269 2013-04-18 Leo Liu <sdl.web@gmail.com>
6270
6271 * bindings.el (help-event-list): Add ?\?.
6272
6273 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * subr.el (with-wrapper-hook): Declare obsolete.
6276 * simple.el (filter-buffer-substring-function): New hook.
6277 (filter-buffer-substring): Use it.
6278 (filter-buffer-substring-functions): Mark obsolete.
6279 * minibuffer.el (completion-in-region-function): New hook.
6280 (completion-in-region): Use it.
6281 (completion-in-region-functions): Mark obsolete.
6282 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6283 * abbrev.el (abbrev-expand-function): New hook.
6284 (expand-abbrev): Use it.
6285 (abbrev-expand-functions): Mark obsolete.
6286 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6287 and :filter-return.
6288
6289 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6290
6291 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6292 and do not care about match data.
6293
6294 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6295
6296 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6297 completion tables when completing error conditions and
6298 `declare' arguments.
6299 (lisp-complete-symbol, field-complete): Mark as obsolete.
6300 (check-parens): Unmatched parens are user errors.
6301 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6302
6303 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6304
6305 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6306 command changed buffer (ie. `flyspell-pre-buffer' is not current
6307 buffer), which prevents making decisions based on invalid value of
6308 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6309 cause an error when `flyspell-pre-point' was nil after switching
6310 buffers.
6311 (flyspell-post-command-hook): No longer needs to change buffers when
6312 checking pre-word. While at it remove unnecessary progn.
6313
6314 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6315
6316 * textmodes/ispell.el (ispell-add-per-file-word-list):
6317 Fix `flyspell-correct-word-before-point' error when accepting
6318 words and `coment-padding' is an integer by using
6319 `comment-normalize-vars' (Bug #14214).
6320
6321 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6322
6323 New defun movement commands.
6324 * progmodes/python.el (python-nav--syntactically)
6325 (python-nav--forward-defun, python-nav-backward-defun)
6326 (python-nav-forward-defun): New functions.
6327
6328 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6329
6330 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6331 (python-syntax-context): Use named compiler-macro for backwards
6332 compatibility with Emacs 24.x.
6333
6334 2013-04-17 Leo Liu <sdl.web@gmail.com>
6335
6336 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6337 octave-hide-process-buffer.
6338
6339 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6342 (bug#14216).
6343
6344 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6345
6346 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6347 Fix adjustment of offset when receiving incomplete responses from GDB
6348 (bug#14129).
6349
6350 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6353 python-mode-abbrev-table.
6354 (python-skeleton-define): Adjust accordingly.
6355 (python-mode-abbrev-table): New table that inherits from it so that
6356 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6357
6358 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6359 (abbrev-symbol): Use it.
6360 (abbrev--before-point): Use it since we already handle inheritance.
6361
6362 2013-04-16 Leo Liu <sdl.web@gmail.com>
6363
6364 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6365 binding to info-lookup-symbol.
6366
6367 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6368
6369 * minibuffer.el (completion--twq-all):
6370 * term/ns-win.el (ns-initialize-window-system):
6371 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6372
6373 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6376 global bindings.
6377
6378 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6379
6380 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6381
6382 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6383 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6384 to nil.
6385 (ruby-end-of-defun): Remove the unused arg, change the docstring
6386 to reflect that this function is only used as the value of
6387 `end-of-defun-function'.
6388 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6389 to reflect an earlier change that beginning/end-of-defun functions
6390 jump between methods in a class definition, as well as top-level
6391 functions.
6392
6393 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6394
6395 * minibuffer.el (minibuffer-complete): Don't just scroll
6396 a *Completions* that's been iconified.
6397 (minibuffer-force-complete): Make sure repetitions do cycle when going
6398 through completion-in-region -> minibuffer-complete.
6399
6400 2013-04-15 Alan Mackenzie <acm@muc.de>
6401
6402 Correct the placement of c-cpp-delimiters when there're #s not at
6403 col 0.
6404
6405 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6406 place a submatch around the #.
6407 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6408 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
6409 on the #, not BOL.
6410
6411 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6414 (advice--member-p): New arg `name'.
6415 (advice--add-function, advice-member-p): Use it (bug#14202).
6416
6417 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6418
6419 Reformulate java imenu-generic-expression.
6420 The old expression contained ill formed regexps.
6421
6422 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6423 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6424 (cc-imenu-java-method-arg-regexp): New defconsts.
6425 (cc-imenu-java-build-type-args-regex): New defun.
6426 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
6427 handling of spaces in the regexp.
6428
6429 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6430
6431 * textmodes/ispell.el (ispell-command-loop): Remove
6432 flyspell highlight of a word when ispell accepts it (bug #14178).
6433
6434 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
6435
6436 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6437 uses code from the previous `ange-ftp-run-real-handler'.
6438 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6439 only in case that function exist. This is needed for proper
6440 unloading of Tramp.
6441
6442 2013-04-15 Tassilo Horn <tsdh@gnu.org>
6443
6444 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6445
6446 * textmodes/reftex.el (reftex-compile-variables): Use it.
6447
6448 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * files.el (normal-mode): Only use default major-mode if no other mode
6451 was specified.
6452
6453 * emacs-lisp/trace.el (trace-values): New function.
6454
6455 * files.el: Allow : in local variables (bug#14089).
6456 (hack-local-variable-regexp): New var.
6457 (hack-local-variables-prop-line, hack-local-variables): Use it.
6458
6459 2013-04-13 Roland Winkler <winkler@gnu.org>
6460
6461 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6462 data before it gets modified by bibtex-beginning-of-entry.
6463
6464 2013-04-13 Roland Winkler <winkler@gnu.org>
6465
6466 * textmodes/bibtex.el (bibtex-url): Doc fix.
6467
6468 2013-04-13 Roland Winkler <winkler@gnu.org>
6469
6470 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6471 does not visit a BibTeX file, exclude it from the list of buffers
6472 returned by bibtex-initialize.
6473
6474 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
6475
6476 * window.el (split-window): Remove interactive form, since as a
6477 command this function is a special case of split-window-below.
6478 Correct doc string.
6479
6480 2013-04-12 Roland Winkler <winkler@gnu.org>
6481
6482 * faces.el (read-face-name): Do not override value of arg default.
6483 Allow single faces and strings as default values. Remove those
6484 elements from return value that are not faces.
6485 (describe-face): Simplify.
6486 (face-at-point): New optional args thing and multiple so that this
6487 function can provide the same functionality previously provided by
6488 read-face-name.
6489 (make-face-bold, make-face-unbold, make-face-italic)
6490 (make-face-unitalic, make-face-bold-italic, invert-face)
6491 (modify-face, read-face-and-attribute): Use face-at-point.
6492
6493 * cus-edit.el (customize-face, customize-face-other-window)
6494 * cus-theme.el (custom-theme-add-face)
6495 * face-remap.el (buffer-face-set)
6496 * facemenu.el (facemenu-set-face): Use face-at-point.
6497
6498 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
6499
6500 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6501
6502 2013-04-10 Tassilo Horn <tsdh@gnu.org>
6503
6504 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6505 off leading { and trailing } from field values.
6506
6507 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * emacs-lisp/timer.el (timer--check): New function.
6510 (timer--time, timer-set-function, timer-event-handler): Use it.
6511 (timer-set-idle-time): Simplify.
6512 (timer--activate): CSE.
6513 (timer-event-handler): Give more info in error message.
6514 (internal-timer-start-idle): New function, moved from C.
6515
6516 * mpc.el (mpc-proc): Add `restart' argument.
6517 (mpc-proc-cmd): Use it.
6518 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6519 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6520 less often.
6521
6522 2013-04-10 Masatake YAMATO <yamato@redhat.com>
6523
6524 * progmodes/sh-script.el: Implement `sh-mode' own
6525 `add-log-current-defun-function' (bug#14112).
6526 (sh-current-defun-name): New function.
6527 (sh-mode): Use the function.
6528
6529 2013-04-09 Bastien Guerry <bzg@gnu.org>
6530
6531 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6532
6533 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6536
6537 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6538 timer (bug#14156).
6539
6540 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6541
6542 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6543 declaration.
6544
6545 2013-04-07 Leo Liu <sdl.web@gmail.com>
6546
6547 * pcmpl-x.el: New file.
6548
6549 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6550
6551 Do not set x-display-name until X connection is established.
6552 This is needed to prevent from weird situation described at
6553 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6554 * frame.el (make-frame): Set x-display-name after call to
6555 window system initialization function, not before.
6556 * term/x-win.el (x-initialize-window-system): Add optional
6557 display argument and use it.
6558 * term/w32-win.el (w32-initialize-window-system):
6559 * term/ns-win.el (ns-initialize-window-system):
6560 * term/pc-win.el (msdos-initialize-window-system):
6561 Add compatible optional display argument.
6562
6563 2013-04-06 Eli Zaretskii <eliz@gnu.org>
6564
6565 * files.el (normal-backup-enable-predicate): On MS-Windows and
6566 MS-DOS compare truenames of temporary-file-directory and of the
6567 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6568 don't fail comparison by compare-strings. Also, compare file
6569 names case-insensitively on MS-Windows and MS-DOS.
6570
6571 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6574 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6575
6576 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6577
6578 * whitespace.el (whitespace-color-on, whitespace-color-off):
6579 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
6580
6581 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
6582
6583 * ispell.el (ispell-set-spellchecker-params):
6584 Really set `ispell-args' for all equivs.
6585
6586 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * ido.el (ido-completions): Use extra elements of ido-decorations
6589 (bug#14143).
6590 (ido-decorations): Update docstring.
6591
6592 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
6593
6594 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6595 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6596 nil during initialization, in order not to miss changes since the
6597 file was opened. (Bug#14140)
6598
6599 2013-04-05 Leo Liu <sdl.web@gmail.com>
6600
6601 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6602
6603 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6604
6605 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6606
6607 2013-04-04 Glenn Morris <rgm@gnu.org>
6608
6609 * electric.el (electric-pair-inhibit-predicate): Add :version.
6610
6611 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6614 when a package is required several times (bug#14082).
6615
6616 2013-04-04 Roland Winkler <winkler@gnu.org>
6617
6618 * faces.el (read-face-name): Behave as promised by the docstring.
6619 Assume that arg default is a list of faces.
6620 (describe-face): Call read-face-name with list of default faces.
6621
6622 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6623
6624 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6625 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6626 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6627 the header.
6628 (bookmark-exit-hook-internal): Save even if list is empty.
6629
6630 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6631
6632 * emacs-lisp/package.el (package-pinned-packages): New var.
6633 (package--add-to-archive-contents): Obey it (bug#14118).
6634
6635 2013-04-03 Alan Mackenzie <acm@muc.de>
6636
6637 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6638 Also adapt to the new values of element 7 of a parse state.
6639
6640 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6641 parameter `not-in-delimiter'. Handle being inside comment opener.
6642 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6643 character in case we're typing a '*' after a '/'.
6644 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6645 instead by passing the parameter to c-state-pp-to-literal.
6646
6647 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6648 for elt. 7 of a parse state.
6649
6650 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6651
6652 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6653 * international/latin1-disp.el, international/mule-util.el:
6654 * language/cyril-util.el, language/european.el, language/ind-util.el:
6655 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6656 * language/tibetan.el, language/viet-util.el:
6657 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6658
6659 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6662 (electric-pair-post-self-insert-function): Use it.
6663 (electric-pair-default-inhibit): New function, extracted from
6664 electric-pair-post-self-insert-function.
6665
6666 2013-03-31 Roland Winkler <winkler@gnu.org>
6667
6668 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6669
6670 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6673
6674 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
6675
6676 Un-indent after "pass" and "return" statements (Bug#13888)
6677 * progmodes/python.el (python-indent-block-enders): New var.
6678 (python-indent-calculate-indentation): Use it.
6679
6680 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
6681
6682 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6683 defun. Defining it as defalias could introduce too eager
6684 byte-compiler optimization. (Bug#14030)
6685
6686 2013-03-30 Chong Yidong <cyd@gnu.org>
6687
6688 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6689
6690 2013-03-30 Leo Liu <sdl.web@gmail.com>
6691
6692 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6693 (kmacro-execute-from-register): Pass the keyboard macro to
6694 kmacro-call-macro or repeating won't work correctly.
6695
6696 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6697
6698 * progmodes/subword.el: Back to using `forward-symbol'.
6699
6700 * subr.el (forward-whitespace, forward-symbol)
6701 (forward-same-syntax): Move from thingatpt.el.
6702
6703 2013-03-29 Leo Liu <sdl.web@gmail.com>
6704
6705 * kmacro.el (kmacro-to-register): New command.
6706 (kmacro-execute-from-register): New function.
6707 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6708
6709 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * mpc.el: Use defvar-local and setq-local.
6712 (mpc--proc-connect): Connection failures are not bugs.
6713 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6714 (mpc-volume-map): Bind to the up-events.
6715
6716 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6717
6718 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6719 instead of `forward-symbol'.
6720
6721 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6722
6723 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6724 (edebug--recursive-edit): Use it.
6725 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6726 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6727
6728 2013-03-28 Leo Liu <sdl.web@gmail.com>
6729
6730 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6731
6732 2013-03-27 Eli Zaretskii <eliz@gnu.org>
6733
6734 * facemenu.el (list-colors-callback): New defvar.
6735 (list-colors-redisplay): New function.
6736 (list-colors-display): Install list-colors-redisplay as the
6737 revert-buffer-function. (Bug#14063)
6738
6739 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6742 and suffixes don't overlap (bug#14061).
6743
6744 * case-table.el: Use lexical-binding.
6745 (case-table-get-table): New function.
6746 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6747
6748 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6749
6750 * progmodes/subword.el: Add `superword-mode' to do word motion
6751 over symbol_words (parallels and leverages `subword-mode' which
6752 does word motion inside MixedCaseWords).
6753
6754 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6755
6756 * eshell/em-unix.el: Move su and sudo to...
6757 * eshell/em-tramp.el: ...Eshell tramp module.
6758
6759 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6762 Change return value to be a sexp. Delay `get-buffer' to after
6763 restoring the desktop (bug#13951).
6764
6765 2013-03-26 Leo Liu <sdl.web@gmail.com>
6766
6767 * register.el: Move semantic tag handling back to
6768 cedet/semantic/senator.el. (Bug#14052)
6769
6770 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6773 into the prompt either (bug#13963).
6774
6775 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6778 part of "(error-foo)".
6779
6780 2013-03-24 Juri Linkov <juri@jurta.org>
6781
6782 * replace.el (list-matching-lines-prefix-face): New defcustom.
6783 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6784 `occur-engine' if `face-differs-from-default-p' returns t.
6785 (occur-engine): Add `,' inside backquote construct to evaluate
6786 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6787 Pass `prefix-face' to the functions `occur-context-lines' and
6788 `occur-engine-add-prefix'.
6789 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6790 `prefix-face' and propertize the prefix with `prefix-face'.
6791 (Bug#14017)
6792
6793 2013-03-24 Leo Liu <sdl.web@gmail.com>
6794
6795 * nxml/rng-valid.el (rng-validate-while-idle)
6796 (rng-validate-quick-while-idle): Guard against deleted buffer.
6797 (Bug#13999)
6798
6799 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6800 is the last entry in kill-buffer-hook.
6801
6802 * files.el (kill-buffer-hook): Doc fix.
6803
6804 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6805
6806 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6807 Make it safe-local.
6808
6809 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6810
6811 2013-03-23 Leo Liu <sdl.web@gmail.com>
6812
6813 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6814 Remove.
6815
6816 * nxml/rng-valid.el (rng-validate-mode)
6817 (rng-after-change-function, rng-do-some-validation):
6818 * nxml/rng-maint.el (rng-validate-buffer):
6819 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6820 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6821 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6822 (nxml-extend-after-change-region): Use with-silent-modifications.
6823
6824 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6825 timer-idle-list.
6826
6827 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6828 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6829 timer-idle-list. (Bug#13999)
6830
6831 2013-03-23 Juri Linkov <juri@jurta.org>
6832
6833 * info.el (info-index-match): New face.
6834 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6835 main pattern and add text properties with the new face to matches
6836 in index entries relative to the beginning of the index entry.
6837 (Bug#14015)
6838
6839 2013-03-21 Eric Ludlam <zappo@gnu.org>
6840
6841 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6842 Inhibit read only while inserting objects.
6843
6844 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6845
6846 * progmodes/cfengine.el: Update docs to mention
6847 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6848 symbol motion. Remove "_" from the word syntax.
6849
6850 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6851
6852 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6853 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6854
6855 2013-03-20 Juri Linkov <juri@jurta.org>
6856
6857 * info.el (Info-next-reference-or-link)
6858 (Info-prev-reference-or-link): New functions.
6859 (Info-next-reference, Info-prev-reference): Use them.
6860 (Info-try-follow-nearest-node): Handle footnote navigation.
6861 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6862
6863 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6866 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6867
6868 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6869
6870 Suppress unnecessary non-ASCII chatter during build process.
6871 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6872 (batch-skkdic-convert): Suppress most of the chatter.
6873 It's not needed so much now that machines are faster,
6874 and its non-ASCII component was confusing; see Dmitry Gutov in
6875 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6876
6877 2013-03-20 Leo Liu <sdl.web@gmail.com>
6878
6879 * ido.el (ido-chop): Fix bug#10994.
6880
6881 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6882
6883 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6884 Remove vars.
6885 (whitespace-color-on, whitespace-color-off):
6886 Use `font-lock-fontify-buffer' (Bug#13817).
6887
6888 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6891 remapping in mode-line.
6892 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6893
6894 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6895
6896 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6897 value for `whitespace-line' face (Bug#13875).
6898 (whitespace-font-lock-keywords): Change description.
6899 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6900 the constructed keywords instead.
6901 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6902
6903 2013-03-19 Leo Liu <sdl.web@gmail.com>
6904
6905 * progmodes/compile.el (compilation-display-error): New command.
6906 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6907 C-o. (Bug#13992)
6908
6909 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6910
6911 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6912
6913 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6914
6915 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6916
6917 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6918
6919 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6920
6921 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6922 * net/tramp-gvfs.el (top):
6923 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6924 (tramp-handle-shell-command): Use it.
6925 (tramp-dissect-file-name): Raise an error when hostname is a
6926 method name, and neither method nor user is specified.
6927
6928 * net/trampver.el: Update release number.
6929
6930 2013-03-18 Leo Liu <sdl.web@gmail.com>
6931
6932 Make sure eldoc can be turned off properly.
6933 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6934 eldoc-mode.
6935 (eldoc-display-message-p): Revert last change.
6936 (eldoc-display-message-no-interference-p)
6937 (eldoc-print-current-symbol-info): Tweak.
6938
6939 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6940
6941 * doc-view.el (doc-view-new-window-function): Check the new window
6942 overlay's display property instead the char property of the
6943 buffer's first char. Use `with-selected-window' instead of
6944 `save-window-excursion' with `select-window'.
6945 (doc-view-document->bitmap): Check the current doc-view overlay's
6946 display property instead the char property of the buffer's first char.
6947
6948 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6949
6950 Automate the build of ja-dic.el (Bug#13984).
6951 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6952 from the input, rather than assume that it's been done for us by the
6953 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6954 the current date into a ja-dic.el comment, as that complicates
6955 regression testing.
6956
6957 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * whitespace.el: Fix double evaluation.
6960 (whitespace-space, whitespace-hspace, whitespace-tab)
6961 (whitespace-newline, whitespace-trailing, whitespace-line)
6962 (whitespace-space-before-tab, whitespace-indentation)
6963 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6964 obsolete defvars.
6965 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6966 (whitespace-color-on): Use a single font-lock-add-keywords call.
6967 Fix double-evaluation of face variables.
6968
6969 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6970
6971 * net/tramp-adb.el (tramp-adb-parse-device-names):
6972 Use `start-process' instead of `call-process'. Otherwise, the
6973 function might be blocked under MS Windows. (Bug#13299)
6974
6975 2013-03-17 Leo Liu <sdl.web@gmail.com>
6976
6977 Extend eldoc to display info in the mode-line. (Bug#13978)
6978 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6979 (eldoc-mode-line-string): New variable.
6980 (eldoc-minibuffer-message): New function.
6981 (eldoc-message-function): New variable.
6982 (eldoc-message): Use it.
6983 (eldoc-display-message-p)
6984 (eldoc-display-message-no-interference-p):
6985 Support eldoc-post-insert-mode.
6986
6987 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6988 (eval-expression): Run it.
6989
6990 2013-03-17 Roland Winkler <winkler@gnu.org>
6991
6992 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6993 strings in the list of return values.
6994
6995 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6996
6997 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6998 radix before checking for HMS forms.
6999
7000 2013-03-16 Leo Liu <sdl.web@gmail.com>
7001
7002 * progmodes/scheme.el: Add indentation and font-locking for λ.
7003 (Bug#13975)
7004
7005 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7008 token before point (bug#13942).
7009
7010 2013-03-16 Leo Liu <sdl.web@gmail.com>
7011
7012 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7013
7014 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7015
7016 * startup.el (command-line-normalize-file-name): Fix handling of
7017 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7018 <xfq.free@gmail.com> in
7019 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7020
7021 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7022
7023 Sync with Tramp 2.2.7.
7024
7025 * net/trampver.el: Update release number.
7026
7027 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7028
7029 * doc-view.el Fix bug#13887.
7030 (doc-view-insert-image): Don't modify overlay associated to
7031 non-live windows, and implement horizontal centering of image in
7032 case it's smaller than the window.
7033 (doc-view-new-window-function): Force redisplay of new windows on
7034 doc-view buffers.
7035
7036 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7037
7038 * saveplace.el (save-place-alist-to-file): Don't sort
7039 `save-place-alist', just pretty-print it (bug#13882).
7040
7041 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7042
7043 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7044 Check whether `default-file-name-coding-system' is bound.
7045 It isn't in XEmacs.
7046
7047 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7050 backquotes for `obsolete' (bug#13929).
7051
7052 * international/mule.el (find-auto-coding): Include file name in
7053 obsolescence warning (bug#13922).
7054
7055 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7056
7057 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7058 for CFEngine 3-specific indentation.
7059 (cfengine3-indent-line): Use it. Fix up category regex.
7060 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7061
7062 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * type-break.el (type-break-file-name):
7065 * textmodes/remember.el (remember-data-file):
7066 * strokes.el (strokes-file):
7067 * shadowfile.el (shadow-initialize):
7068 * saveplace.el (save-place-file):
7069 * ps-bdf.el (bdf-cache-file):
7070 * progmodes/idlwave.el (idlwave-config-directory):
7071 * net/quickurl.el (quickurl-url-file):
7072 * international/kkc.el (kkc-init-file-name):
7073 * ido.el (ido-save-directory-list-file):
7074 * emulation/viper.el (viper-custom-file-name):
7075 * emulation/vip.el (vip-startup-file):
7076 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7077 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7078
7079 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7080
7081 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7082 * language/thai-word.el: Switch to UTF-8.
7083
7084 See ChangeLog.16 for earlier changes.
7085
7086 ;; Local Variables:
7087 ;; coding: utf-8
7088 ;; End:
7089
7090 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7091
7092 This file is part of GNU Emacs.
7093
7094 GNU Emacs is free software: you can redistribute it and/or modify
7095 it under the terms of the GNU General Public License as published by
7096 the Free Software Foundation, either version 3 of the License, or
7097 (at your option) any later version.
7098
7099 GNU Emacs is distributed in the hope that it will be useful,
7100 but WITHOUT ANY WARRANTY; without even the implied warranty of
7101 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7102 GNU General Public License for more details.
7103
7104 You should have received a copy of the GNU General Public License
7105 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.