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