* lisp/progmodes/ruby-mode.el (ruby-smie--args-separator-p): Handle
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Handle
4 methods ending with `?' and `!'.
5
6 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7
8 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9 `japanese-cp932' to `cp932' to fix the problem where saving a
10 source file written in Shift_JIS twice would end up having
11 `coding: japanese-cp932' which Ruby could not recognize.
12 (ruby-mode-set-encoding): Add support for encodings mapped to nil
13 in `ruby-encoding-map'.
14 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
15 doesn't need to be explicitly declared in magic comment.
16 (ruby-encoding-map): Add type declaration for better customize UI.
17
18 2013-10-13 Glenn Morris <rgm@gnu.org>
19
20 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
21 Occur buffers are read-only. http://bugs.debian.org/720775
22
23 * emacs-lisp/authors.el (authors-fixed-entries):
24 Comment out old alpha stuff.
25
26 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
29 to `after-save-hook' instead of `before-save-hook'.
30 (ruby-mode-set-encoding): Use the value of coding system used to
31 write the file. Call `basic-save-buffer-1' after modifying the
32 buffer.
33
34 2013-10-13 Alan Mackenzie <acm@muc.de>
35
36 Fix indentation/fontification of Java enum with
37 "implements"/generic.
38
39 * progmodes/cc-engine.el (c-backward-over-enum-header): Extracted
40 from the three other places and enhanced to handle generics.
41 (c-inside-bracelist-p): Uses new function above.
42 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
43 function above.
44 (c-font-lock-enum-tail): Uses new function above.
45
46 2013-10-13 Kenichi Handa <handa@gnu.org>
47
48 * international/mule-cmds.el (select-safe-coding-system): Remove a
49 superfluous condition in chekcing whether a coding system is safe
50 or not.
51
52 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
53
54 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
55
56 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
57
58 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
59
60 2013-10-13 Glenn Morris <rgm@gnu.org>
61
62 * menu-bar.el (menu-bar-update-buffers):
63 Unify Buffers menu prompt string. (Bug#15576)
64
65 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
66
67 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
68 Add some entries.
69 (authors-fixed-entries): Use accented form of name.
70
71 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
74 method calls (bug#15594).
75 (ruby-smie--args-separator-p): New function.
76 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
77 recognize paren-free method calls.
78
79 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
80 internals of universal-argument.
81
82 2013-10-11 Eli Zaretskii <eliz@gnu.org>
83
84 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
85 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
86 dropped menu on second mouse click on the menu bar.
87
88 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
91 (explicit-shell-file-name): Declare.
92 (sh--vars-before-point, sh--cmd-completion-table): New functions.
93 (sh-completion-at-point-function): New function.
94 (sh-mode): Use it.
95 (sh-smie--keyword-p): Remove unused argument.
96 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
97 vars.
98 (sh-set-shell): Always setup SMIE, even if we use the
99 old indentation code.
100
101 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
102
103 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
104 cases of ? and =.
105 (ruby-smie-rules): Simplify the "do" rule. The cases when the
106 predicate would return nil are almost non-existent.
107 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
108
109 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
110 cache also after commands that modify the buffer but don't move
111 point.
112
113 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * env.el (substitute-env-in-file-name): New function.
116 (substitute-env-vars): Extend the meaning of the optional arg.
117
118 2013-10-10 Eli Zaretskii <eliz@gnu.org>
119
120 * term/w32-win.el (dynamic-library-alist): Define separate lists
121 of GIF DLLs for versions before and after 5.0.0 of giflib.
122 (Bug#15531)
123
124 2013-10-10 João Távora <joaotavora@gmail.com>
125
126 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
127 not locked, use last revision and current source as
128 defaults. (Bug#15569)
129
130 2013-10-10 Masatake YAMATO <yamato@redhat.com>
131
132 * menu-bar.el (menu-bar-open): Don't use popup-menu if
133 menu-bar is hidden.
134
135 2013-10-10 Martin Rudalics <rudalics@gmx.at>
136
137 * window.el (pop-to-buffer-same-window): Fix doc-string.
138 (Bug#15492)
139
140 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
143
144 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
145
146 * calendar/icalendar.el (icalendar-import-file):
147 Fix interactive spec. (Bug#15482)
148
149 2013-10-10 Glenn Morris <rgm@gnu.org>
150
151 * desktop.el (desktop-save): Default to saving in .emacs.d,
152 since PWD is no longer in desktop-path by default. (Bug#15319)
153
154 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
155 now that text mode has a menu with the same entry.
156 (menu-bar-text-mode-auto-fill): Remove now unused func.
157 * textmodes/text-mode.el (text-mode-map):
158 Use auto-fill help text from menu-bar.el.
159
160 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
161
162 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
163
164 2013-10-09 Juri Linkov <juri@jurta.org>
165
166 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
167 instead of this-command-keys. Add universal-argument-more and
168 universal-argument-minus to the list of prefix commands. (Bug#15568)
169
170 2013-10-09 Glenn Morris <rgm@gnu.org>
171
172 * vc/vc-svn.el (vc-svn-create-repo):
173 Expand paths in file://... url. (Bug#15446)
174
175 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
176 Add some entries.
177 (authors): Remove unused local variables.
178
179 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * profiler.el: Create a more coherent calltree from partial backtraces.
182 (profiler-format): Hide the tail with `invisible' so that C-s can still
183 find the hidden elements.
184 (profiler-calltree-depth): Don't recurse so enthusiastically.
185 (profiler-function-equal): New hash-table-test.
186 (profiler-calltree-build-unified): New function.
187 (profiler-calltree-build): Use it.
188 (profiler-report-make-name-part): Indent the calltree less.
189 (profiler-report-mode): Add visibility specs for profiler-format.
190 (profiler-report-expand-entry, profiler-report-toggle-entry):
191 Expand the whole subtree when provided with a prefix arg.
192
193 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
194
195 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
196 iuwu-mod token.
197 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
198 hanging iuwu-mod token.
199 (ruby-smie--forward-token): Do not include a dot after a token in
200 that token.
201 (ruby-smie--backward-token): Likewise.
202
203 2013-10-08 Juri Linkov <juri@jurta.org>
204
205 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
206 to isearch-other-control-char.
207 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
208 and isearch-post-command-hook to post-command-hook.
209 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
210 and isearch-post-command-hook from post-command-hook.
211 (isearch-unread-key-sequence)
212 (isearch-reread-key-sequence-naturally)
213 (isearch-lookup-scroll-key, isearch-other-control-char)
214 (isearch-other-meta-char): Remove functions.
215 (isearch-pre-command-hook, isearch-post-command-hook):
216 New functions based on isearch-other-meta-char rewritten
217 relying on the new behavior of overriding-terminal-local-map
218 that does not replace the local keymaps any more. (Bug#15200)
219
220 2013-10-08 Eli Zaretskii <eliz@gnu.org>
221
222 Support menus on text-mode terminals.
223 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
224 functionality.
225
226 * tooltip.el (tooltip-mode): Don't error out on TTYs.
227
228 * menu-bar.el (popup-menu, popup-menu-normalize-position): Moved
229 here from mouse.el.
230 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
231 and arrow keys.
232 (tty-menu-navigation-map): New map for TTY menu navigation.
233
234 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
235
236 * frame.el (display-mouse-p): Report text-mode mouse as available
237 on w32.
238 (display-popup-menus-p): Report availability if mouse is
239 available; don't condition on window-system.
240
241 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
242 (tty-menu-selected-face): New faces.
243
244 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
247 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
248 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
249 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
250 New constants.
251 (lisp-mode-variables): New `elisp' argument.
252 (emacs-lisp-mode): Use it.
253 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
254 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
255
256 * indent.el: Use lexical-binding.
257 (indent-region): Add progress reporter.
258 (tab-stop-list): Make it implicitly extend to infinity by repeating the
259 last step.
260 (indent--next-tab-stop): New function to implement this behavior.
261 (tab-to-tab-stop, move-to-tab-stop): Use it.
262
263 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
264
265 * indent.el (indent-rigidly--current-indentation): New function.
266 (indent-rigidly-map): New var.
267 (indent-rigidly): Use it to provide interactive mode (bug#8196).
268
269 2013-10-08 Bastien Guerry <bzg@gnu.org>
270
271 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
272
273 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * progmodes/perl-mode.el: Use lexical-binding.
276 Remove redundant :group args.
277 (perl-nochange): Change default to be closer to other major modes's
278 standard behavior.
279 (perl-indent-line): Don't consider text on current line as a
280 valid beginning of function from which to indent.
281
282 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
283 with more than one argument (bug#15538).
284
285 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
286
287 * vc/pcvs.el: Use lexical-binding.
288 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
289 environment of `eval'.
290 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
291 than a list of expressions. Adjust callers.
292 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
293
294 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
297 case of the dot in a chained method call being on the following line.
298
299 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * electric.el (electric-indent-inhibit): New var.
302 (electric-indent-post-self-insert-function): Use it.
303 * progmodes/python.el (python-mode): Set it.
304
305 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
306 open braces.
307
308 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
309
310 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
311 (css-mode): Use electric-indent-chars.
312
313 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
314 (font-lock-beg, font-lock-end): Move before first use.
315 (nxml-mode): Use syntax-propertize-function.
316 (nxml-after-change, nxml-after-change1): Adjust accordingly.
317 (nxml-extend-after-change-region): Remove.
318 * nxml/xmltok.el: Use lexical-binding.
319 (xmltok-save): Use `declare'.
320 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
321 * nxml/nxml-util.el: Use lexical-binding.
322 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
323 Use `declare'.
324 * nxml/nxml-ns.el: Use lexical-binding.
325 (nxml-ns-save): Use `declare'.
326 (nxml-ns-prefixes-for): Avoid add-to-list.
327 * nxml/rng-match.el: Use lexical-binding.
328 (rng--ipattern): Use cl-defstruct.
329 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
330 (rng-cons-group-after, rng-subst-group-after)
331 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
332 Use closures instead of `(lambda...).
333
334 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
335
336 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
337 of BEG and END.
338
339 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
340 Use `tramp-handle-insert-file-contents'.
341 (tramp-gvfs-handle-insert-file-contents): Remove function.
342
343 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
344 Use `save-restriction' in order to keep markers.
345
346 * net/trampver.el: Update release number.
347
348 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * progmodes/compile.el (compilation-parse-errors):
351 Use compilation--put-prop.
352 (compilation--ensure-parse): Check compilation-multiline.
353
354 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
355
356 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
357 lexical-binding.
358
359 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
360
361 * progmodes/ruby-mode.el: Fix recently added tests.
362 (ruby-smie-grammar): Add - and +.
363 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
364 (ruby-smie--backward-id): New functions.
365 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
366 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
367 any more.
368
369 2013-10-07 Leo Liu <sdl.web@gmail.com>
370
371 * register.el (register-preview-delay)
372 (register-preview-functions): New variables.
373 (register-read-with-preview, register-preview)
374 (register-describe-oneline): New functions.
375 (point-to-register, window-configuration-to-register)
376 (frame-configuration-to-register, jump-to-register)
377 (number-to-register, view-register, insert-register)
378 (copy-to-register, append-to-register, prepend-to-register)
379 (copy-rectangle-to-register): Use register-read-with-preview to
380 read register. (Bug#15525)
381
382 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
383
384 * net/network-stream.el (network-stream-open-starttls): Don't add
385 --insecure if it's already present, because that gnutls-cli
386 rejects getting that parameter twice.
387
388 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
389
390 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
391 keyword, too.
392
393 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
394
395 * newcomment.el (comment-use-global-state): Change default value
396 to t, mark obsolete (Bug#15251).
397 (comment-beginning): In addition to `comment-to-syntax', check the
398 value of `comment-use-global-state'.
399
400 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
403 (ruby-comment-column): Follow the global default, by default.
404 (ruby-smie-grammar): Add assignment syntax.
405 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
406 open-paren, a comma, or a \.
407 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
408 and line continuations.
409 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
410 followed by implicit semi-colons. Add rule for string concatenation
411 and for indentation at BOB.
412 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
413
414 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
415 calling next-sexp, since next-token may have skipped chars which
416 next-sexp doesn't know should be skipped!
417
418 2013-10-05 Leo Liu <sdl.web@gmail.com>
419
420 * progmodes/octave.el (octave-send-region):
421 Call compilation-forget-errors.
422
423 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
424
425 * vc/vc-svn.el (vc-svn-find-admin-dir):
426 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
427 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
428 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
429 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
430
431 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
434
435 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * subr.el (read-passwd): Hide chars even when called within a context
438 where after-change-functions is disabled (bug#15501).
439 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
440 until we removed ourself from overriding-terminal-local-map.
441
442 2013-10-04 Leo Liu <sdl.web@gmail.com>
443
444 * progmodes/octave.el (inferior-octave-mode):
445 Call compilation-forget-errors.
446
447 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
448
449 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
450
451 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
452
453 * net/secrets.el (secrets-create-collection): Add optional
454 argument ALIAS. Use proper Label keyword. Append ALIAS as
455 dbus-call-method argument. (Bug#15516)
456
457 2013-10-04 Leo Liu <sdl.web@gmail.com>
458
459 * progmodes/octave.el (inferior-octave-error-regexp-alist)
460 (inferior-octave-compilation-font-lock-keywords): New variables.
461 (compilation-error-regexp-alist)
462 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
463 (inferior-octave-mode): Use compilation-shell-minor-mode.
464
465 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
466
467 * minibuffer.el (completion--replace): Be careful that `end' might be
468 a marker.
469
470 2013-10-03 Daiki Ueno <ueno@gnu.org>
471
472 Add support for package signature checking.
473 * emacs-lisp/package.el (url-http-file-exists-p)
474 (epg-make-context, epg-context-set-home-directory)
475 (epg-verify-string, epg-context-result-for)
476 (epg-signature-status, epg-signature-to-string)
477 (epg-check-configuration, epg-configuration)
478 (epg-import-keys-from-file): Declare.
479 (package-check-signature): New user option.
480 (package-unsigned-archives): New user option.
481 (package-desc): Add `signed' field.
482 (package-load-descriptor): Set `signed' field if .signed file exists.
483 (package--archive-file-exists-p): New function.
484 (package--check-signature): New function.
485 (package-install-from-archive): Check package signature.
486 (package--download-one-archive): Check archive signature.
487 (package-delete): Remove .signed file.
488 (package-import-keyring): New command.
489 (package-refresh-contents): Import default keyring.
490 (package-desc-status): Add "unsigned" status.
491 (describe-package-1, package-menu--print-info)
492 (package-menu-mark-delete, package-menu--find-upgrades)
493 (package-menu--status-predicate): Support "unsigned" status.
494
495 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
498 the new compilation scheme using the new byte-codes.
499
500 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
501 (byte-pophandler): New byte codes.
502 (byte-goto-ops): Adjust accordingly.
503 (byte-compile--use-old-handlers): New var.
504 (byte-compile-catch): Use new byte codes depending on
505 byte-compile--use-old-handlers.
506 (byte-compile-condition-case--old): Rename from
507 byte-compile-condition-case.
508 (byte-compile-condition-case--new): New function.
509 (byte-compile-condition-case): New function that dispatches depending
510 on byte-compile--use-old-handlers.
511 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
512 when we can.
513
514 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
515 Optimize under `condition-case' and `catch' if
516 byte-compile--use-old-handlers is nil.
517 (disassemble-offset): Handle new bytecodes.
518
519 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * subr.el (error): Use `declare'.
522 (decode-char, encode-char): Use advertised-calling-convention instead
523 of the docstring to discourage use of the `restriction' arg.
524
525 2013-10-03 Daiki Ueno <ueno@gnu.org>
526
527 * epg.el (epg-verify-file): Add a comment saying that it does not
528 notify verification error as a return value nor a signal.
529 (epg-verify-string): Ditto.
530
531 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
532
533 * progmodes/compile.el (compilation-start): Try globbing the arg to
534 `cd' (bug#15417).
535
536 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
537
538 Sync with Tramp 2.2.8.
539
540 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
541 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
542 * net/trampver.el: Update release number.
543
544 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
545
546 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
547 and default-process-coding-system for darwin only.
548
549 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
552
553 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
554
555 * vc/vc-git.el (vc-git-grep): Disable pager.
556
557 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
558
559 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
560 Use :url instead of :homepage, as per
561 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
562
563 * newcomment.el (comment-beginning): When `comment-use-syntax' is
564 non-nil, use `syntax-ppss' (Bug#15251).
565
566 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
567
568 * progmodes/octave.el (inferior-octave-startup-file):
569 Prefer ~/.emacs.d/init_octave.m.
570
571 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
572
573 * emacs-lisp/package.el (package-desc-from-define):
574 Accept additional arguments as plist, convert them to an alist and store
575 them in the `extras' slot.
576 (package-generate-description-file): Convert extras alist back to
577 plist and append to the `define-package' form arguments.
578 (package--alist-to-plist): New function.
579 (package--ac-desc): Add `extras' slot.
580 (package--add-to-archive-contents): Check if the archive-contents
581 vector is long enough, and if it is, pass its `extras' slot value
582 to `package-desc-create'.
583 (package-buffer-info): Call `lm-homepage', pass the returned value
584 to `package-desc-from-define'.
585 (describe-package-1): Render the homepage button (Bug#13291).
586
587 * emacs-lisp/package-x.el (package-upload-buffer-internal):
588 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
589
590 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
591
592 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
593 and default-process-coding-system to utf-8-unix (Bug#15402).
594
595 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
596
597 * subr.el (looking-back): Do not recommend using looking-back.
598
599 2013-09-28 Alan Mackenzie <acm@muc.de>
600
601 Fix indentation/fontification of Java enum with "implements".
602
603 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
604 regexp which matches "implements", etc., in Java.
605 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
606 specifier clauses coming after "enum".
607 * progmodes/cc-fonts.el (c-font-lock-declarations)
608 (c-font-lock-enum-tail): Check for extra specifier clauses coming
609 after "enum".
610
611 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
612
613 * faces.el (region): Change ns_selection_color to
614 ns_selection_fg_color, add ns_selection_bg_color.
615
616 2013-09-28 Leo Liu <sdl.web@gmail.com>
617
618 * progmodes/octave.el (inferior-octave-completion-table)
619 (inferior-octave-completion-at-point): Minor tweaks.
620
621 * textmodes/ispell.el (ispell-lookup-words): Rename from
622 lookup-words. (Bug#15460)
623 (lookup-words): Obsolete.
624 (ispell-complete-word, ispell-command-loop): All uses changed.
625
626 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
627
628 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
629 (octave-mode-menu): Add octave-send-buffer.
630 (octave-send-buffer): New function.
631
632 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
633
634 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
635 octave-lookfor.
636 (octave-mode-menu): Add octave-lookfor.
637 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
638 octave-lookfor.
639 (octave-lookfor): New function.
640
641 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * emacs-lisp/cl-macs.el:
644 (cl--loop-destr-temps): Remove.
645 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
646 its convention.
647 (cl--loop-set-iterator-function): New function.
648 (cl-loop): Adjust accordingly, so as not to use cl-subst.
649 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
650 Bind `it' with `let' instead of substituting it with `cl-subst'.
651 (cl--unused-var-p): New function.
652 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
653 Eliminate some unused variable warnings (bug#15326).
654
655 2013-09-27 Tassilo Horn <tsdh@gnu.org>
656
657 * doc-view.el (doc-view-scale-reset): Rename from
658 `doc-view-reset-zoom-level'.
659 (doc-view-scale-adjust): New command.
660 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
661 `doc-view-scale-adjust'.
662
663 2013-09-26 Tassilo Horn <tsdh@gnu.org>
664
665 * doc-view.el (doc-view-reset-zoom-level): New command.
666 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
667 zoom commands (bug#15466).
668
669 2013-09-26 Kenichi Handa <handa@gnu.org>
670
671 * international/quail.el (quail-help): Make it not a command.
672
673 2013-09-26 Leo Liu <sdl.web@gmail.com>
674
675 * minibuffer.el (completion-all-sorted-completions): Make args
676 optional as they are.
677
678 2013-09-25 Daniel Colascione <dancol@dancol.org>
679
680 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
681 specs are and that they're not evaluated.
682
683 2013-09-24 Sam Steingold <sds@gnu.org>
684
685 * midnight.el (clean-buffer-list-kill-regexps)
686 (clean-buffer-list-kill-buffer-names): Update for the new Man
687 buffer naming which includes the object name.
688
689 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * eshell/esh-cmd.el (eshell--sep-terms): New var.
692 (eshell-parse-command, eshell-parse-pipeline): Use it since
693 eshell-separate-commands requires a dynamic scoped var.
694 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
695
696 2013-09-23 Leo Liu <sdl.web@gmail.com>
697
698 * autoinsert.el (auto-insert-alist): Make the value of
699 lexical-binding match its file setting.
700
701 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
702
703 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
704
705 * autoarg.el (autoarg-kp-digit-argument):
706 * electric.el (Electric-command-loop):
707 * kmacro.el (kmacro-step-edit-insert):
708 Do not set universal-argument-num-events.
709
710 2013-09-22 Leo Liu <sdl.web@gmail.com>
711
712 * files.el (interpreter-mode-alist): Add octave.
713
714 2013-09-21 Alan Mackenzie <acm@muc.de>
715
716 C++: fontify identifier in declaration following "public:" correctly.
717 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
718 to match "public", etc.
719 (c-decl-prefix-re): Add ":" into the C++ value.
720 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
721 bit. Add a check for a ":" preceded by "public", etc.
722
723 2013-09-21 Eli Zaretskii <eliz@gnu.org>
724
725 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
726 recognized by GDB 7.5 and later.
727
728 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
729
730 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
731
732 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * subr.el (internal--call-interactively): New const.
735 (called-interactively-p): Use it (bug#3984).
736
737 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
738
739 * vc/pcvs.el (cvs-mode-ignore):
740 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
741 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
742
743 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
746 (eshell-ls-orig-insert-directory): Remove.
747 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
748 (eshell-ls-use-in-dired): Use advice-add/remove.
749 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
750 Add `orig-fun' arg for use in :around advice.
751 Make it check (redundantly) eshell-ls-use-in-dired.
752
753 2013-09-19 Glenn Morris <rgm@gnu.org>
754
755 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
756
757 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
758
759 * emacs-lisp/eieio.el (class-parent): Undo previous change.
760
761 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
762
763 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
764 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
765 (tramp-get-remote-python): New defuns.
766 (tramp-get-remote-uid-with-perl)
767 (tramp-get-remote-gid-with-perl): New defuns. Perl code
768 contributed by yary <not.com@gmail.com> (tiny change).
769 (tramp-get-remote-uid-with-python)
770 (tramp-get-remote-gid-with-python): New defuns. Python code
771 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
772 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
773
774 2013-09-19 Glenn Morris <rgm@gnu.org>
775
776 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
777
778 * eshell/em-unix.el (eshell-remove-entries):
779 Rename argument to avoid name-clash with global `top-level'.
780
781 * eshell/esh-proc.el (eshell-kill-process-function):
782 Remove eshell-reset-after-proc from eshell-kill-hook if present.
783 (eshell-reset-after-proc): Remove unused arg `proc'.
784
785 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
786 (directory-files-and-attributes): Mark unused arg.
787
788 * eshell/em-unix.el (eshell-remove-entries):
789 Remove unused arg `path'. Update callers.
790
791 * eshell/em-hist.el (eshell-hist-parse-arguments):
792 Remove unused arg `silent'. Update callers.
793
794 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
795 Fix (f)boundp mix-up.
796
797 * eshell/em-smart.el (eshell-smart-scroll-window)
798 (eshell-disable-after-change):
799 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
800
801 2013-09-18 Alan Mackenzie <acm@muc.de>
802
803 Fix fontification of type when followed by "const".
804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
805 "known" types from fontification.
806
807 2013-09-18 Glenn Morris <rgm@gnu.org>
808
809 * emacs-lisp/chart.el (x-display-color-cells): Declare.
810 (chart-face-list): Drop Emacsen without display-color-p.
811
812 * net/eww.el (libxml-parse-html-region): Declare.
813 (eww-display-html): Explicit error if no libxml2 support.
814
815 * doc-view.el (doc-view-mode): Silence --without-x compilation.
816
817 * image.el (image-type-from-buffer, image-multi-frame-p):
818 Remove --without-x warning/error.
819
820 * mouse.el (mouse-yank-primary):
821 * term.el (term-mouse-paste):
822 Reorder to silence --without-x compilation.
823
824 * mpc.el (doc-view-mode): Silence --without-x compilation.
825
826 * mail/rmailmm.el (rmail-mime-set-bulk-data):
827 Silence --without-x compilation.
828
829 * progmodes/gud.el (gud-find-file, gud-mode):
830 Silence --without-x compilation.
831 (tooltip-mode): Declare.
832
833 * wdired.el (dired-backup-overwrite): Remove declaration.
834 (wdired-mode-map): Add doc string.
835
836 * custom.el (x-get-resource): Declare.
837
838 * eshell/em-glob.el (ange-cache):
839 * eshell/em-unix.el (ange-cache): Declare.
840
841 * faces.el (x-display-list, x-open-connection, x-get-resource):
842 Declare.
843
844 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
845 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
846 Declare.
847
848 * frame.el (x-display-grayscale-p, x-display-name): Declare.
849
850 * net/gnutls.el (gnutls-log-level): Declare.
851
852 * net/shr.el (image-size, image-animate): Declare.
853
854 * simple.el (font-info): Declare.
855
856 * subr.el (x-popup-dialog): Declare.
857
858 * term/common-win.el (x-select-enable-primary)
859 (x-last-selected-text-primary, x-last-selected-text-clipboard):
860 Declare.
861
862 * term/ns-win.el (x-handle-args): Declare.
863
864 * term/x-win.el (x-select-enable-clipboard): Declare.
865
866 * term/w32-win.el (create-default-fontset): Declare.
867
868 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
869 Declare.
870
871 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
872 (fit-frame-to-buffer): Explicit error if --without-x.
873 (mouse-autoselect-window-select): Silence compiler.
874
875 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
876
877 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
878 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
879 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
880 * eshell/esh-util.el (eshell-sublist):
881 Remove unused local variables.
882
883 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
884
885 * textmodes/two-column.el: Make 2C-split work for --without-x.
886 (scroll-bar-columns): Autoload.
887 (top-level): Require fringe when compiling.
888
889 2013-09-18 Leo Liu <sdl.web@gmail.com>
890
891 * subr.el (add-hook): Robustify to handle closure as well.
892
893 2013-09-17 Glenn Morris <rgm@gnu.org>
894
895 * simple.el (messages-buffer-mode-map): Unbind "g".
896
897 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * help-mode.el (help-mode-finish): Use derived-mode-p.
900 Remove obsolete highlighting.
901
902 * play/life.el (life-mode): Use define-derived-mode. Derive from
903 special-mode.
904 (life): Let-bind inhibit-read-only.
905 (life-setup): Avoid `setq'. Use `life-mode'.
906
907 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
908 which should not be needed any more.
909 (package-menu-refresh, package-menu-describe-package): Use user-error.
910
911 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
912 (eshell-post-rewrite-command-hook): Make obsolete.
913 (eshell-parse-command): Simplify.
914 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
915 (eshell--cmd): Declare.
916 (eshell-parse-pipeline): Remove unused var `final-p'.
917 Pass a dynvar to eshell-post-rewrite-command-hook.
918 Implement the new eshell-post-rewrite-command-function.
919 (eshell-invoke-directly): Remove unused arg `input'.
920 * eshell/esh-io.el (eshell-io-initialize):
921 Use eshell-post-rewrite-command-function (bug#15399).
922 (eshell--apply-redirections): Rename from eshell-apply-redirections;
923 adjust to new calling convention.
924 (eshell-create-handles): Rename args to avoid clashing with dynvar
925 `standard-output'.
926
927 2013-09-17 Glenn Morris <rgm@gnu.org>
928
929 * simple.el (messages-buffer-mode): New major mode.
930 (messages-buffer): New function.
931 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
932 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
933 (ert-run-test): Use `messages-buffer' function.
934 (ert--force-message-log-buffer-truncation): Ignore read-only.
935 * help.el (view-echo-area-messages): Use `messages-buffer' function.
936 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
937
938 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
941
942 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
943
944 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * icomplete.el (icomplete-in-buffer): New var.
947 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
948 vars and replace them with functions.
949 (icomplete-minibuffer-setup): Adjust accordingly.
950 (icomplete--completion-table, icomplete--completion-predicate)
951 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
952 New functions.
953 (icomplete-forward-completions, icomplete-backward-completions)
954 (icomplete-simple-completing-p, icomplete-exhibit)
955 (icomplete-completions): Use them.
956 (icomplete--in-region-buffer): New var.
957 (icomplete--in-region-setup): New function.
958 (icomplete-mode): Use it.
959
960 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
961 (bug#15379).
962 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
963 return args and options.
964 (eshell-eval-using-options): Use the new return value of
965 eshell--do-opts to set the options's vars in their scope.
966 (eshell--set-option): Rename from eshell-set-option.
967 Add arg `opt-vals'.
968 (eshell--process-option): Rename from eshell-process-option.
969 Add arg `opt-vals'.
970 (eshell--process-args): Use an `opt-vals' alist to store the options's
971 values during their processing and return them additionally to the
972 remaining args.
973
974 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
975
976 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
977 continuation character an operator, as far as indentation is
978 concerned (Bug#15369).
979
980 2013-09-15 Martin Rudalics <rudalics@gmx.at>
981
982 * window.el (window--state-put-2): Don't process buffer state
983 when buffer doesn't exist any more (Bug#15382).
984
985 2013-09-15 Glenn Morris <rgm@gnu.org>
986
987 * eshell/em-unix.el (eshell/rm):
988 Make -f ignore missing files. (Bug#15373)
989
990 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
991 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
992 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
993
994 2013-09-14 Glenn Morris <rgm@gnu.org>
995
996 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
997
998 2013-09-13 Glenn Morris <rgm@gnu.org>
999
1000 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1001 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1002
1003 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1004
1005 * frame.el (x-focus-frame): Mark as declared in frame.c.
1006
1007 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * ls-lisp.el: Use advice-add.
1010 (original-insert-directory): Remove.
1011 (ls-lisp--insert-directory): Rename from insert-directory; add
1012 `orig-fun' argument.
1013 (insert-directory): Advise.
1014
1015 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1016
1017 * term.el (term-emulate-terminal): Decode the command string
1018 before passing it to term-command-hook. (Bug#15337)
1019
1020 2013-09-13 Glenn Morris <rgm@gnu.org>
1021
1022 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1023
1024 * eshell/esh-ext.el (eshell-search-path): Declare.
1025
1026 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1027 Otherwise an error occurs if eshell-dirs module not loaded.
1028
1029 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1030
1031 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1034 `tramp-check-proper-host'. Check for a valid method name.
1035
1036 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1037 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1038 * net/tramp-sh.el (tramp-maybe-open-connection):
1039 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1040
1041 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1042 also for hash values.
1043
1044 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * term/ns-win.el (parameters): Don't declare as dynamic.
1047 (before-make-frame-hook): Don't add ineffective function.
1048
1049 * eshell/*.el: Use lexical-binding (bug#15231).
1050
1051 2013-09-12 Kenichi Handa <handa@gnu.org>
1052
1053 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1054
1055 2013-09-12 Glenn Morris <rgm@gnu.org>
1056
1057 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1058 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1059
1060 * subr.el (do-after-load-evaluation): Also give compiler warnings
1061 when obsolete files are used (except by obsolete files).
1062
1063 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1064 in the status output, assume `filename' is the first. (Bug#15322)
1065
1066 * vc/vc.el (vc-deduce-fileset): Doc fix.
1067
1068 * calc/calc-help.el (Info-goto-node):
1069 * progmodes/cperl-mode.el (Info-find-node):
1070 * vc/ediff.el (Info-goto-node): Update declarations.
1071
1072 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1073
1074 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1075 (vc-bzr-pull): Require vc-dispatcher.
1076 * vc/vc-git.el (vc-compilation-mode): Declare.
1077 (vc-git-pull): Require vc-dispatcher.
1078
1079 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1080
1081 * progmodes/octave.el (help-button-action): Declare.
1082
1083 * shell.el (shell-directory-tracker): Output error as a message
1084 rather than just returning it as a string.
1085 (shell-process-pushd): Remove useless use of message.
1086
1087 * dframe.el (dframe-timer-fn):
1088 * files.el (dir-locals-read-from-file):
1089 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1090 (mpc-format):
1091 * reveal.el (reveal-post-command):
1092 * saveplace.el (load-save-place-alist-from-file):
1093 * shell.el (shell-resync-dirs):
1094 * w32-common-fns.el (x-get-selection-value):
1095 * emacs-lisp/copyright.el (copyright-find-copyright):
1096 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1097 * emulation/tpu-edt.el (tpu-copy-keyfile):
1098 * play/bubbles.el (bubbles--mark-neighbourhood):
1099 * progmodes/executable.el
1100 (executable-make-buffer-file-executable-if-script-p):
1101 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1102
1103 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 Cleanup Eshell to rely less on dynamic scoping.
1106 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1107 last-value, and ext-command here. Bind `args' closer to `body'.
1108 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1109 (eshell--args): Declare new dynamic var.
1110 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1111 last-value, and ext-command. Pass `args' to `body'.
1112 (eshell-process-args): Bind eshell--args.
1113 (eshell-set-option): Use eshell--args.
1114 * eshell/eshell.el (eshell): Use derived-mode-p.
1115 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1116 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1117 (eshell-glob-function): Declare.
1118 * eshell/esh-util.el: Require cl-lib.
1119 (eshell-read-hosts-file): Avoid add-to-list.
1120 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1121 `err'.
1122 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1123 Declare.
1124 (eshell/diff): Remove unused var `err'.
1125 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1126 `killflag'.
1127 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1128 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1129 first use.
1130 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1131 Move declaration before first use.
1132 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1133 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1134 rely on cl-return.
1135
1136 2013-09-12 Glenn Morris <rgm@gnu.org>
1137
1138 * term/ns-win.el (global-map): Remove binding for ispell-next,
1139 deleted 1999-05-29. (Bug#15357)
1140
1141 2013-09-11 Glenn Morris <rgm@gnu.org>
1142
1143 * echistory.el (electric-command-history): Remove call to deleted func.
1144
1145 * play/landmark.el (landmark-mode): Fix typos.
1146
1147 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1148 Check cvs-sort-ignore-file is bound.
1149
1150 * savehist.el: No need for cl when compiling on Emacs.
1151
1152 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1155 (bug#15338).
1156 (eshell-self-insert-command, eshell-send-invisible):
1157 Remove unused argument.
1158 (eshell-handle-control-codes): Remove unused var `orig'.
1159 Avoid delete-backward-char.
1160
1161 * files.el (set-auto-mode): Simplify a bit further.
1162
1163 2013-09-11 Glenn Morris <rgm@gnu.org>
1164
1165 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1166 (set-auto-mode): Don't regexp-quote elements.
1167 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1168 * progmodes/cc-mode.el (interpreter-mode-alist):
1169 * progmodes/ruby-mode.el (interpreter-mode-alist):
1170 Revert previous change.
1171
1172 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * play/snake.el (snake-mode):
1175 * play/mpuz.el (mpuz-mode):
1176 * play/landmark.el (lm-mode):
1177 * play/blackbox.el (blackbox-mode):
1178 * play/5x5.el (5x5-mode):
1179 * obsolete/options.el (Edit-options-mode):
1180 * net/quickurl.el (quickurl-list-mode):
1181 * net/newst-treeview.el (newsticker-treeview-mode):
1182 * mail/rmailsum.el (rmail-summary-mode):
1183 * mail/mspools.el (mspools-mode):
1184 * locate.el (locate-mode):
1185 * ibuffer.el (ibuffer-mode):
1186 * emulation/ws-mode.el (wordstar-mode):
1187 * emacs-lisp/debug.el (debugger-mode):
1188 * array.el (array-mode):
1189 * net/eudc.el (eudc-mode): Use define-derived-mode.
1190 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1191 Move initialization into declaration.
1192 (mairix-searches-mode): Use define-derived-mode.
1193 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1194 (eudc-edit-hotlist): Use dolist.
1195 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1196 (Man-mode): Use define-derived-mode.
1197 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1198 (Info-edit-mode): Use define-derived-mode.
1199 (Info-cease-edit): Use Info-mode.
1200 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1201 into declaration.
1202 (eshell-mode): Use define-derived-mode.
1203 * chistory.el (command-history-mode-map): Rename from
1204 command-history-map.
1205 (command-history-mode): Use define-derived-mode.
1206 (Command-history-setup): Remove function.
1207 * calc/calc.el (calc-trail-mode-map): New var.
1208 (calc-trail-mode): Use define-derived-mode.
1209 (calc-trail-buffer): Set calc-main-buffer manually.
1210 * bookmark.el (bookmark-insert-annotation): New function.
1211 (bookmark-edit-annotation): Use it.
1212 (bookmark-edit-annotation-mode): Make it a proper major mode.
1213 (bookmark-send-edited-annotation): Use derived-mode-p.
1214 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1215 closer to its ideal place. Use \' to match EOS.
1216
1217 * profiler.el (profiler-calltree-find): Use function-equal.
1218
1219 2013-09-10 Glenn Morris <rgm@gnu.org>
1220
1221 * files.el (interpreter-mode-alist): Convert to regexps.
1222 (set-auto-mode): Adapt for this. (Bug#15306)
1223 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1224 Comment out unused variable.
1225 * progmodes/cc-mode.el (interpreter-mode-alist):
1226 * progmodes/python.el (interpreter-mode-alist):
1227 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1228 * progmodes/sh-script.el (sh-set-shell):
1229 No longer use interpreter-mode-alist to get list of shells.
1230
1231 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1232
1233 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * simple.el: Use set-temporary-overlay-map for universal-argument.
1236 (universal-argument-map): Don't use default-bindings (bug#15317).
1237 Bind switch-frame explicitly. Replace universal-argument-minus with
1238 a conditional binding.
1239 (universal-argument-num-events, saved-overriding-map): Remove.
1240 (restore-overriding-map): Remove.
1241 (universal-argument--mode): Rename from save&set-overriding-map,
1242 and rewrite.
1243 (universal-argument, universal-argument-more, negative-argument)
1244 (digit-argument): Adjust accordingly.
1245 (universal-argument-minus): Remove.
1246 (universal-argument-other-key): Remove.
1247
1248 * subr.el (with-demoted-errors): Add `format' argument.
1249
1250 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1251
1252 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1253 `tramp-cleanup-connection'.
1254
1255 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1256 parameters KEEP-DEBUG and KEEP-PASSWORD.
1257
1258 * net/tramp.el (tramp-file-name-handler):
1259 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1260 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1261 (tramp-maybe-open-connection):
1262 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1263 Use `tramp-cleanup-connection'.
1264
1265 * net/tramp-sh.el (tramp-maybe-open-connection):
1266 Catch 'uname-changed inside the progress reporter.
1267
1268 2013-09-10 Glenn Morris <rgm@gnu.org>
1269
1270 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1271
1272 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1273 returns "alternate access method" in mode (eg "-rw-r--r--.").
1274
1275 2013-09-08 Glenn Morris <rgm@gnu.org>
1276
1277 * saveplace.el (load-save-place-alist-from-file):
1278 Demote errors. (Bug#15305)
1279
1280 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1281
1282 Improve compatibility with older Emacsen, and XEmacs.
1283
1284 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1285 only if it is bound. It isn't for XEmacs.
1286 (with-tramp-progress-reporter): Do not let-bind `result'.
1287 This yields to scoping errors in XEmacs.
1288 (tramp-handle-make-auto-save-file-name): New function, moved from
1289 tramp-sh.el.
1290
1291 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1292 for `make-auto-save-file-name'.
1293 (tramp-adb--gnu-switches-to-ash):
1294 Use `tramp-compat-replace-regexp-in-string'.
1295
1296 * net/tramp-cache.el (tramp-cache-print): Call
1297 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1298
1299 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1300 bound. It isn't for XEmacs.
1301
1302 * net/tramp-compat.el (tramp-compat-copy-file):
1303 Catch `wrong-number-of-arguments' error.
1304 (tramp-compat-replace-regexp-in-string): New defun.
1305
1306 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1307 for `make-auto-save-file-name'.
1308 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1309 `copy-file'.
1310 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1311 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1312 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1313
1314 * net/tramp-gw.el (tramp-gw-open-network-stream):
1315 Use `tramp-compat-replace-regexp-in-string'.
1316
1317 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1318 Call `tramp-handle-make-auto-save-file-name'.
1319 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1320 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1321 (tramp-sh-file-inotifywait-process-filter):
1322 Use `tramp-compat-replace-regexp-in-string'.
1323 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1324
1325 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1326 for `make-auto-save-file-name'.
1327 (tramp-smb-handle-copy-directory):
1328 Call `tramp-compat-replace-regexp-in-string'.
1329 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1330 (tramp-smb-handle-copy-file): Improve error message.
1331 (tramp-smb-handle-rename-file): Rename directly only in case
1332 `newname' does not exist yet. This is a restriction of smbclient.
1333 (tramp-smb-maybe-open-connection): Rerun the function only when
1334 `auth-sources' is non-nil.
1335
1336 2013-09-08 Kenichi Handa <handa@gnu.org>
1337
1338 * international/characters.el: Set category "^" (Combining) for
1339 more characters.
1340
1341 2013-09-07 Alan Mackenzie <acm@muc.de>
1342
1343 Correctly fontify Java class constructors.
1344 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1345 in Java Mode.
1346 (c-recognize-typeless-decls): Set the Java value to t.
1347 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1348 While handling a "(", add a check for, effectively, Java, and handle a
1349 "typeless" declaration there.
1350
1351 2013-09-07 Roland Winkler <winkler@gnu.org>
1352
1353 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1354 field subtitle for entry type book.
1355
1356 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * minibuffer.el: Make minibuffer-complete call completion-in-region
1359 rather than other way around.
1360 (completion--some, completion-pcm--find-all-completions):
1361 Don't delay signals when debugging.
1362 (minibuffer-completion-contents): Beware fields within the
1363 minibuffer contents.
1364 (completion-all-sorted-completions): Use defvar-local.
1365 (completion--do-completion, completion--cache-all-sorted-completions)
1366 (completion-all-sorted-completions, minibuffer-force-complete):
1367 Add args `beg' and `end'.
1368 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1369 (minibuffer-complete): Use completion-in-region.
1370 (completion-complete-and-exit): New fun, extracted from
1371 minibuffer-complete-and-exit.
1372 (minibuffer-complete-and-exit): Use it.
1373 (completion--complete-and-exit): Rename from
1374 minibuffer--complete-and-exit.
1375 (completion-in-region--single-word): New function, extracted from
1376 minibuffer-complete-word.
1377 (minibuffer-complete-word): Use it.
1378 (display-completion-list): Make `common-substring' argument obsolete.
1379 (completion--in-region): Call completion--in-region-1 instead of
1380 minibuffer-complete.
1381 (completion-help-at-point): Pass boundaries to
1382 minibuffer-completion-help as args rather than via an overlay.
1383 (completion-pcm--string->pattern): Use `any-delim'.
1384 (completion-pcm--optimize-pattern): New function.
1385 (completion-pcm--pattern->regex): Handle `any-delim'.
1386 * icomplete.el (icomplete-forward-completions)
1387 (icomplete-backward-completions, icomplete-completions):
1388 Adjust calls to completion-all-sorted-completions and
1389 completion--cache-all-sorted-completions.
1390 (icomplete-with-completion-tables): Default to t.
1391 * emacs-lisp/crm.el (crm--current-element): Rename from
1392 crm--select-current-element. Don't put an overlay but return the
1393 boundaries instead.
1394 (crm--completion-command): Take two new args to bind to the boundaries.
1395 (crm-completion-help): Adjust accordingly.
1396 (crm-complete): Use completion-in-region.
1397 (crm-complete-word): Use completion-in-region--single-word.
1398 (crm-complete-and-exit): Use completion-complete-and-exit.
1399
1400 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1403 than dynamically.
1404
1405 2013-09-06 Juri Linkov <juri@jurta.org>
1406
1407 * info.el (Info-display-images-node): When image file doesn't exist
1408 display text version of the image if it's provided in the Info file.
1409 Otherwise, display the location of missing image from SRC attribute.
1410 Add help-echo text property from ALT attribute. (Bug#15279)
1411
1412 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1415 (edit-abbrevs-mode): Use define-derived-mode.
1416
1417 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1418 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1419 that it's defined.
1420 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1421 Use define-derived-mode.
1422
1423 * epg.el (epg-start-encrypt): Minor CSE simplification.
1424
1425 2013-09-06 William Xu <william.xwl@gmail.com>
1426
1427 * arc-mode.el: Add support for 7za (bug#15264).
1428 (archive-7z-program): New var.
1429 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1430 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1431 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1432
1433 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1434
1435 Remove URL syntax.
1436
1437 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1438 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1439 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1440 (tramp-postfix-host-format, tramp-file-name-regexp)
1441 (tramp-completion-file-name-regexp)
1442 (tramp-completion-dissect-file-name)
1443 (tramp-handle-substitute-in-file-name): Remove 'url case.
1444 (tramp-file-name-regexp-url)
1445 (tramp-completion-file-name-regexp-url): Remove constants.
1446
1447 2013-09-06 Glenn Morris <rgm@gnu.org>
1448
1449 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1450
1451 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1452
1453 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1454 keywords" below "here-doc beginnings" (Bug#15270).
1455
1456 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * subr.el (pop): Use `car-safe'.
1459 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1460 to detect unused `pop' return value.
1461
1462 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1463 var `block-regexp'.
1464 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1465 (python-fill-string): Remove unused var `marker'.
1466 (python-skeleton-add-menu-items): Remove unused var `items'.
1467
1468 * international/mule-cmds.el: Require CL.
1469 (find-coding-systems-for-charsets): Avoid add-to-list.
1470 (sanitize-coding-system-list): New function, extracted from
1471 select-safe-coding-system-interactively.
1472 (select-safe-coding-system-interactively): Use it.
1473 (read-input-method-name): Accept symbols for `default'.
1474
1475 * emacs-lisp/advice.el (defadvice): Add indent rule.
1476
1477 2013-09-05 Daniel Hackney <dan@haxney.org>
1478
1479 * dired-x.el:
1480 * net/ange-ftp.el:
1481 * net/browse-url.el:
1482 * net/dbus.el:
1483 * net/eudc.el:
1484 * net/eudcb-ldap.el:
1485 * net/eww.el:
1486 * net/imap.el:
1487 * printing.el:
1488 * vc/ediff-diff.el:
1489 * vc/ediff-init.el:
1490 * vc/ediff-merg.el:
1491 * vc/ediff-mult.el:
1492 * vc/ediff-util.el:
1493 * vc/ediff-wind.el:
1494 * vc/ediff.el:
1495 * vc/emerge.el:
1496 * vc/pcvs.el:
1497 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1498 byte compiler. Remove some unused let-bound variables.
1499
1500 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1503 a "ref-cell", since it gets better optimized (bug#14883).
1504
1505 2013-09-05 Glenn Morris <rgm@gnu.org>
1506
1507 * progmodes/cc-awk.el (c-forward-sws): Declare.
1508
1509 2013-09-04 Glenn Morris <rgm@gnu.org>
1510
1511 * generic-x.el [rul-generic-mode]: Require cc-mode.
1512 (c++-mode-syntax-table): Declare.
1513 (rul-generic-mode-syntax-table): Init in the defvar.
1514
1515 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1518 (vc-do-command, vc-set-async-update):
1519 * vc/vc-mtn.el (vc-mtn-dir-status):
1520 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1521 (vc-hg-pull, vc-hg-merge-branch):
1522 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1523 (vc-git-merge-branch):
1524 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1525 (vc-cvs-dir-status-files):
1526 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1527 (vc-bzr-dir-status-files):
1528 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1529 * vc/vc-annotate.el: Use lexical-binding.
1530 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1531 (vc-sentinel-movepoint): Declare.
1532 (vc-annotate): Don't use `goto-line'.
1533 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1534 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1535 (vc-sentinel-movepoint): Declare.
1536 * vc/vc-svn.el: Use lexical-binding.
1537 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1538 * vc/vc-sccs.el:
1539 * vc/vc-rcs.el: Use lexical-binding.
1540
1541 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1542 `deleted'. Don't drop errors silently.
1543
1544 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1545
1546 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1547
1548 * vc/vc.el (vc-ignore): Rewrite.
1549 (vc-default-ignore): New function.
1550 (vc-default-ignore-completion-table): Use find-ignore-file.
1551
1552 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1553 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1554 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1555 Remove. Most code moved to vc.el.
1556
1557 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1560 * net/tramp-smb.el (tramp-smb-get-file-entries):
1561 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1562 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1563
1564 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1565 Update call to it.
1566 (eww-change-select): Remove unused var `properties'.
1567 (eww-make-unique-file-name): Remove unused var `base'.
1568
1569 * finder.el (finder-compile-keywords): Don't mess with windows.
1570
1571 * calculator.el (calculator-funcall): Fix typo in last change.
1572
1573 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1574
1575 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1576 <pkg>-autoloads.el file stop us.
1577
1578 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1579 warnings, and factor out common code.
1580
1581 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1582
1583 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1584 two-character operators and whether the character preceding them
1585 changes their meaning (Bug#15208).
1586
1587 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1588
1589 Format code sent to Python shell for robustness.
1590 * progmodes/python.el (python-shell-buffer-substring):
1591 New function.
1592 (python-shell-send-region, python-shell-send-buffer): Use it.
1593
1594 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1595
1596 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1597 * net/tramp.el (tramp-user-error): ... here.
1598 (tramp-find-method, tramp-check-proper-host)
1599 (tramp-dissect-file-name, tramp-debug-message)
1600 (tramp-handle-shell-command):
1601 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1602 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1603
1604 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1605
1606 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1607
1608 * avoid.el (mouse-avoidance-point-position)
1609 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1610 returns nil.
1611
1612 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1613
1614 * progmodes/python.el (python-shell-completion-get-completions):
1615 Drop use of deleted `comint-last-prompt-overlay'.
1616 (python-nav-if-name-main): New command.
1617
1618 2013-09-01 Glenn Morris <rgm@gnu.org>
1619
1620 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1621 Avoid leading space in $wins. Otherwise the sed command used by
1622 eg compile-main ends up containing "/*.el". (Bug#15170)
1623
1624 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1625
1626 2013-08-30 Glenn Morris <rgm@gnu.org>
1627
1628 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1629 Fix is-this-a-directory logic. (Bug#15220)
1630
1631 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * textmodes/css-mode.el: Use SMIE.
1634 (css-smie-grammar): New var.
1635 (css-smie--forward-token, css-smie--backward-token)
1636 (css-smie-rules): New functions.
1637 (css-mode): Use them.
1638 (css-navigation-syntax-table): Remove var.
1639 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1640 (css-indent-calculate, css-indent-line): Remove functions.
1641
1642 Misc changes to reduce use of `(lambda...); and other cleanups.
1643 * cus-edit.el: Use lexical-binding.
1644 (customize-push-and-save, customize-apropos)
1645 (custom-buffer-create-internal): Use closures.
1646 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1647 * progmodes/ada-xref.el: Use setq.
1648 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1649 * dframe.el: Use lexical-binding.
1650 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1651 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1652 * descr-text.el: Use lexical-binding.
1653 (describe-text-widget, describe-text-sexp, describe-property-list):
1654 Use closures.
1655 * comint.el (comint-history-isearch-push-state): Use a closure.
1656 * calculator.el: Use lexical-binding.
1657 (calculator-number-to-string): Make it work with lexical-binding.
1658 (calculator-funcall): Same and use cl-letf.
1659
1660 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1661 (lisp--company-doc-string, lisp--company-location): New functions.
1662 (lisp-completion-at-point): Use them to improve Company support.
1663
1664 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1665 params of lambda expressions.
1666 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1667 (ruby-smie--opening-pipe-p): New function.
1668 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1669 symbols and matched |...| for formal params.
1670 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1671 from being treated as hanging. Handle "rescue".
1672
1673 2013-08-29 Glenn Morris <rgm@gnu.org>
1674
1675 * progmodes/cc-engine.el (c-pull-open-brace):
1676 Move definition before use.
1677
1678 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1681 are immutable. Don't use `unsafe' any more.
1682 (cl--defsubst-expand): Don't substitute at the same time as keeping
1683 a residual unused let-binding. Don't use `unsafe' any more.
1684
1685 2013-08-29 Glenn Morris <rgm@gnu.org>
1686
1687 * calendar/cal-china.el (calendar-chinese-year-cache):
1688 Recenter on 2015.
1689
1690 * nxml/nxml-util.el (nxml-debug-clear-inside):
1691 Use cl-loop rather than loop.
1692
1693 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1694
1695 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1696
1697 2013-08-28 Glenn Morris <rgm@gnu.org>
1698
1699 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1700
1701 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1702
1703 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1704
1705 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * simple.el (repeat-complex-command--called-interactively-skip):
1708 New function.
1709 (repeat-complex-command): Use it (bug#14136).
1710
1711 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1712 (c-define-abbrev-table): Add `doc' argument.
1713 (c-mode-abbrev-table, c++-mode-abbrev-table)
1714 (objc-mode-abbrev-table, java-mode-abbrev-table)
1715 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1716 (awk-mode-abbrev-table): Use it.
1717 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1718 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1719 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1720 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1721 Move initialization into the declaration; and remove any
1722 autoload cookie.
1723
1724 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1725 and dynamic let binding.
1726
1727 * vc/smerge-mode.el: Remove redundant :group args.
1728
1729 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1730 to load-path.
1731
1732 2013-08-28 Juri Linkov <juri@jurta.org>
1733
1734 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1735 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1736 (isearch-other-meta-char): Handle an undefined shifted printing
1737 character by downshifting it. (Bug#15200)
1738
1739 2013-08-28 Juri Linkov <juri@jurta.org>
1740
1741 * isearch.el (isearch-search): Change regexp error message for
1742 non-regexp searches. (Bug#15166)
1743
1744 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1745
1746 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1747 for portability to hosts where /bin/sh has problems.
1748
1749 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1752
1753 2013-08-27 Juri Linkov <juri@jurta.org>
1754
1755 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1756 in the keyboard macro. (Bug#15126)
1757
1758 2013-08-27 Juri Linkov <juri@jurta.org>
1759
1760 * isearch.el (isearch-quote-char): Comment out converting unibyte
1761 to multibyte, thus syncing with its `quoted-insert' counterpart.
1762 (Bug#15166)
1763
1764 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1765
1766 * window.el (display-buffer-use-some-window): Add missing
1767 argument in call of get-largest-window (Bug#15185).
1768 Reported by Stephen Leake.
1769
1770 2013-08-27 Glenn Morris <rgm@gnu.org>
1771
1772 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1773
1774 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1777 from a matcher-function unless there's no more matches (bug#15161).
1778
1779 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1780
1781 * minibuffer.el: Revert change from 2013-08-20.
1782
1783 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1784 with text property `tramp-default', if appropriate.
1785 (tramp-check-proper-host): New defun.
1786 (tramp-dissect-file-name): Do not check hostname. Revert change
1787 of 2013-03-18.
1788 (tramp-backtrace): Make VEC-OR-PROC optional.
1789
1790 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1791 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1792 * net/tramp-sh.el (tramp-maybe-open-connection):
1793 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1794 Apply `tramp-check-proper-host'.
1795
1796 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1797
1798 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1799 lambda expression in order to have `describe-variable' display it.
1800
1801 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1804 BUF can be optional. (Bug#15186)
1805
1806 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1807
1808 * progmodes/flymake.el (flymake-get-real-file-name-function):
1809 Fix broken customization. (Bug#15184)
1810
1811 2013-08-25 Alan Mackenzie <acm@muc.de>
1812
1813 Improve indentation of bracelists defined by macros (without "=").
1814
1815 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1816 expansion begins with "{", regard it as bracelist when it doesn't
1817 contain a ";".
1818
1819 Parse C++ inher-intro when there's a template split over 2 lines.
1820
1821 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1822 rigorously the search for "class" etc. followed by ":".
1823
1824 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1825 random languages a regexp which never matches rather than nil.
1826
1827 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1828
1829 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1830 (c-awk-regexp-one-line-possibly-open-char-list-re)
1831 (c-awk-one-line-possibly-open-regexp-re)
1832 (c-awk-one-line-non-syn-ws*-re): Remove.
1833 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1834 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1835 (c-awk-space*-unclosed-regexp-/-re): New constants.
1836 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1837 aren't regexp delimiters.
1838
1839 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1840 handling for a rare situation in AWK Mode involving unterminated
1841 strings/regexps.
1842
1843 2013-08-23 Glenn Morris <rgm@gnu.org>
1844
1845 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1846
1847 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1848
1849 * files.el (create-file-buffer): If the result would begin with
1850 spaces, prepend a "|" instead of removing them. (Bug#15162)
1851
1852 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1855 text-properties (bug#15155).
1856
1857 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1858 exist any more.
1859 (calc-keypad-redraw): Remove unused var `pad'.
1860 (calc-keypad-press): Remove unused var `menu'.
1861
1862 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1863
1864 * window.el (display-buffer-pop-up-frame):
1865 Call pop-up-frame-function with BUFFER current so `make-frame' will
1866 use it as the new frame's buffer (Bug#15133).
1867
1868 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * calendar/timeclock.el: Minor cleanups.
1871 (timeclock-ask-before-exiting, timeclock-use-display-time):
1872 Use `symbol'.
1873 (timeclock-modeline-display): Define as alias before the
1874 actual definition.
1875 (timeclock-mode-line-display): Use define-minor-mode.
1876 (timeclock-day-list-template): Make it a function, add an argument.
1877 (timeclock-day-list-required, timeclock-day-list-length)
1878 (timeclock-day-list-debt, timeclock-day-list-span)
1879 (timeclock-day-list-break): Adjust calls accordingly.
1880
1881 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1884 Use read--expression so that completion works again.
1885
1886 2013-08-21 Sam Steingold <sds@gnu.org>
1887
1888 Add rudimentary inferior shell interaction
1889 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1890 (sh-set-shell): Reset it.
1891 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1892 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1893
1894 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * align.el: Use lexical-binding.
1897 (align-region): Simplify accordingly.
1898
1899 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1900
1901 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1902
1903 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1904 `non-essential' up.
1905
1906 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/tramp.el:
1909 * net/tramp-adb.el:
1910 * net/tramp-cmds.el:
1911 * net/tramp-ftp.el:
1912 * net/tramp-gvfs.el:
1913 * net/tramp-gw.el:
1914 * net/tramp-sh.el: Don't wrap external variable declarations by
1915 `eval-when-compile'.
1916
1917 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1918
1919 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1920 now that Emacs supports ImageMagick animations.
1921
1922 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1925 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1926
1927 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1928
1929 * window.el (mouse-autoselect-window-select): Do autoselect when
1930 mouse pointer is on margin.
1931
1932 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1933
1934 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1935
1936 2013-08-16 Glenn Morris <rgm@gnu.org>
1937
1938 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1939 Handle "Remote Directory" response of some clients. (Bug#15058)
1940
1941 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1942 Tweak warning. (Bug#14926)
1943
1944 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1945 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1946
1947 * image-mode.el (image-mode-map): Add menu items to reverse,
1948 increase, decrease, reset animation speed.
1949 (image--set-speed, image-increase-speed, image-decrease-speed)
1950 (image-reverse-speed, image-reset-speed): New functions.
1951 (image-mode-map): Add bindings for speed commands.
1952
1953 * image.el (image-animate-get-speed, image-animate-set-speed):
1954 New functions.
1955 (image-animate-timeout): Respect image :speed property.
1956
1957 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1960 previous line (bug#15101).
1961 (debugger-eval-expression, debugger-record-expression):
1962 Use read--expression (bug#15102).
1963
1964 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1965
1966 Remove byte compiler warnings, visible when compiling with
1967 `byte-compile-force-lexical-warnings' set to t.
1968
1969 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1970 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1971 (tramp-handle-unhandled-file-name-directory)
1972 (tramp-handle-file-notify-add-watch, tramp-action-login)
1973 (tramp-action-succeed, tramp-action-permission-denied)
1974 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1975 arguments with "_".
1976
1977 * net/tramp-adb.el (tramp-adb-parse-device-names)
1978 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1979 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1980 (tramp-adb-handle-file-truename): Remove unused arguments.
1981
1982 * net/tramp-cache.el (tramp-flush-directory-property)
1983 (tramp-flush-connection-property, tramp-list-connections)
1984 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1985
1986 * net/tramp-compat.el (tramp-compat-make-temp-file):
1987 Rename FILENAME to F.
1988
1989 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1990 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1991 (tramp-zeroconf-parse-workstation-device-names)
1992 (tramp-zeroconf-parse-webdav-device-names)
1993 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1994
1995 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1996 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1997
1998 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1999 arguments.
2000 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2001 (tramp-sh-handle-insert-file-contents-literally)
2002 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2003 with "_".
2004 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2005 Remove unused variables.
2006
2007 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2008 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2009 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2010
2011 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2012 Make them a defconst.
2013 (tramp-uuencode-region): Remove unused variable.
2014
2015 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2016
2017 * frameset.el (frameset--prop-setter): New function.
2018 (frameset-prop): Add gv-setter declaration.
2019 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2020 parameter was already set in FILTERED. Doc fix.
2021 (frameset--record-minibuffer-relationships): Allow saving a
2022 minibufferless frame without its corresponding minibuffer frame.
2023 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2024 frame, if the frame id matches.
2025 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2026 frames before orphaned ones.
2027 (frameset-restore): Warn about orphaned windows, instead of error out.
2028
2029 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2030
2031 * window.el (window-make-atom): Don't overwrite parameter
2032 already present.
2033 (display-buffer-in-atom-window): Handle special case where we
2034 split an already atomic window.
2035 (window--major-non-side-window, display-buffer-in-side-window)
2036 (window--side-check): Ignore minibuffer window when walking
2037 window tree.
2038 (window-deletable-p): Return 'frame only if no other frame uses
2039 our minibuffer window.
2040 (record-window-buffer): Run buffer-list-update-hook.
2041 (split-window): Make sure window--check-frame won't destroy an
2042 existing atomic window in case the new window gets nested
2043 inside.
2044 (display-buffer-at-bottom): Ignore minibuffer window when
2045 walking window tree. Don't split a side window.
2046 (pop-to-buffer): Don't set-buffer here, the select-window call
2047 should do that.
2048 (mouse-autoselect-window-select): Autoselect only if we are in the
2049 text portion of the window.
2050
2051 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2052
2053 * net/shr.el (shr-parse-image-data): New function to grab both the
2054 data itself and the Content-Type.
2055 (shr-put-image): Use it.
2056
2057 * net/eww.el (eww-display-image): Ditto.
2058
2059 * image.el (image-content-type-suffixes): New variable.
2060
2061 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2062
2063 * progmodes/python.el (python-imenu--build-tree)
2064 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2065
2066 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2067
2068 * simple.el (backward-word): Mention the optional argument.
2069
2070 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * frameset.el (frameset--make): Rename constructor from make-frameset.
2073 (frameset-p, frameset-valid-p): Don't autoload.
2074 (frameset-valid-p): Use normal accessors.
2075
2076 2013-08-13 Glenn Morris <rgm@gnu.org>
2077
2078 * progmodes/compile.el (compile-command): Tweak example in doc.
2079 * obsolete/scribe.el (scribe-mode):
2080 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2081
2082 * mail/feedmail.el (feedmail-confirm-outgoing)
2083 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2084
2085 * cus-start.el (truncate-partial-width-windows): Fix type.
2086
2087 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2088
2089 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2090
2091 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * emacs-lisp/timer.el (timer--time-setter): New function.
2094 (timer--time): Use it as gv-setter.
2095
2096 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2097 setter is not a symbol.
2098
2099 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2100
2101 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2102 if sending fails. This makes debugging easier.
2103
2104 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2105
2106 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2107 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2108 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2109
2110 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2111
2112 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2113
2114 2013-08-12 Glenn Morris <rgm@gnu.org>
2115
2116 * format.el (format-annotate-function):
2117 Handle read-only text properties in the source. (Bug#14887)
2118
2119 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2120
2121 * net/eww.el (eww-display-html): Ignore coding system errors.
2122 One web site uses "utf-8lias" as the coding system.
2123
2124 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2127
2128 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2129
2130 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2131 (tutorial--detailed-help): Remove unused local variables.
2132 (tutorial--save-tutorial-to): Use ignore-errors.
2133 (help-with-tutorial): Use looking-at-p.
2134
2135 * view.el (view-buffer-other-window, view-buffer-other-frame):
2136 Mark unused arguments.
2137
2138 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2139 (woman-select-symbol-fonts, woman, woman-find-file)
2140 (woman-insert-file-contents, woman-non-underline-faces):
2141 Use string-match-p.
2142 (woman1-unquote): Move declaration.
2143
2144 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2145 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2146 argument. Remove unused local variable.
2147 (xml-parse-elem-type): Use string-match-p.
2148 (xml-substitute-numeric-entities): Use ignore-errors.
2149
2150 * calculator.el (calculator): Mark unused argument.
2151 (calculator-paste, calculator-quit, calculator-integer-p):
2152 Use ignore-errors.
2153 (calculator-string-to-number, calculator-decimal, calculator-exp)
2154 (calculator-op-or-exp): Use string-match-p.
2155
2156 * dired.el (dired-buffer-more-recently-used-p): Declare.
2157 (dired-insert-set-properties, dired-insert-old-subdirs):
2158 Use ignore-errors.
2159
2160 * dired-aux.el (dired-compress): Use ignore-errors.
2161 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2162 (dired-do-async-shell-command, dired-do-shell-command)
2163 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2164 (dired-insert-subdir-validate): Use string-match-p.
2165 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2166 (dired-add-entry): Use string-match-p, looking-at-p.
2167 (dired-insert-subdir-newpos): Remove unused local variable.
2168
2169 * filenotify.el (file-notify-callback): Remove unused local variable.
2170
2171 * filesets.el (filesets-error): Mark unused argument.
2172 (filesets-which-command-p, filesets-filter-dir-names)
2173 (filesets-directory-files, filesets-get-external-viewer)
2174 (filesets-ingroup-get-data): Use string-match-p.
2175
2176 * find-file.el (ff-other-file-name, ff-other-file-name)
2177 (ff-find-the-other-file, ff-cc-hh-converter):
2178 Remove unused local variables.
2179 (ff-get-file-name): Use string-match-p.
2180 (ff-all-dirs-under): Use ignore-errors.
2181
2182 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2183 (follow-select-if-visible): Remove unused local variable.
2184
2185 * forms.el (read-file-filter): Move declaration.
2186 (forms--make-format, forms--make-parser, forms-insert-record):
2187 Quote function with #'.
2188 (forms--update): Use string-match-p. Quote function with #'.
2189
2190 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2191 (help-make-xrefs): Use looking-at-p.
2192 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2193
2194 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2195 (ibuffer-confirm-operation-on): Use string-match-p.
2196
2197 * msb.el (msb-item-handler, msb-dired-item-handler):
2198 Mark unused arguments.
2199
2200 * ses.el (ses-decode-cell-symbol)
2201 (ses-kill-override): Remove unused local variable.
2202 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2203 (ses-load): Use ignore-errors, looking-at-p.
2204 (ses-jump-safe): Use ignore-errors.
2205 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2206
2207 * tabify.el (untabify, tabify): Mark unused arguments.
2208
2209 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2210 Mark unused argument.
2211 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2212 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2213
2214 * emacs-lisp/timer.el (timer--time): Define setter with
2215 gv-define-setter to avoid deprecation warning.
2216
2217 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2218 (*record-cmpl-statistics-p*): Remove (was commented out).
2219 (cmpl-statistics-block): Remove (body was commented out).
2220 All callers changed.
2221 (add-completions-from-buffer, load-completions-from-file):
2222 Remove unused variables.
2223
2224 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2225
2226 * filecache.el (file-cache-delete-file-list):
2227 Print message only when told so.
2228 (file-cache-files-matching): Use #' in mapconcat argument.
2229
2230 * ffap.el (ffap-url-at-point): Fix reference to variable
2231 thing-at-point-default-mail-uri-scheme.
2232
2233 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * subr.el (define-error): New function.
2236 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2237 error-file-not-found and define with define-error.
2238 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2239 and define with define-error.
2240 * userlock.el (file-locked, file-supersession):
2241 * simple.el (mark-inactive):
2242 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2243 * progmodes/ada-mode.el (ada-mode-errors):
2244 * play/life.el (life-extinct):
2245 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2246 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2247 * nxml/rng-util.el (rng-error):
2248 * nxml/rng-uri.el (rng-uri-error):
2249 * nxml/rng-match.el (rng-compile-error):
2250 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2251 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2252 * nxml/nxml-rap.el (nxml-scan-error):
2253 * nxml/nxml-outln.el (nxml-outline-error):
2254 * net/soap-client.el (soap-error):
2255 * net/gnutls.el (gnutls-error):
2256 * net/ange-ftp.el (ftp-error):
2257 * mpc.el (mpc-proc-error):
2258 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2259 (json-number-format, json-string-escape, json-string-format)
2260 (json-key-format, json-object-format):
2261 * jka-compr.el (compression-error):
2262 * international/quail.el (quail-error):
2263 * international/kkc.el (kkc-error):
2264 * emacs-lisp/ert.el (ert-test-failed):
2265 * calc/calc.el (calc-error, inexact-result, math-overflow)
2266 (math-underflow):
2267 * bookmark.el (bookmark-error-no-filename):
2268 * epg.el (epg-error): Define with define-error.
2269
2270 * time.el (display-time-event-handler)
2271 (display-time-next-load-average): Don't call sit-for since it seems
2272 unnecessary (bug#15045).
2273
2274 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2275 Use #' instead of ' to quote functions.
2276 (checkdoc-output-mode): Use setq-local.
2277 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2278 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2279 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2280 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2281 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2282 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2283 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2284 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2285
2286 * ido.el (ido-completion-help): Fix up compiler warning.
2287
2288 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2289
2290 * frameset.el (frameset-p): Add autoload cookie.
2291 (frameset--jump-to-register): New function, based on code moved from
2292 register.el.
2293 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2294
2295 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2296 (frameset-restore, frameset-save, frameset-session-filter-alist):
2297 Remove declarations.
2298 (register-alist): Doc fix.
2299 (frameset-to-register): Move to frameset.el.
2300 (jump-to-register, describe-register-1): Remove frameset-specific code.
2301
2302 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2303
2304 * allout-widgets.el (allout-widgets-pre-command-business)
2305 (allout-widgets-post-command-business)
2306 (allout-widgets-after-change-handler)
2307 (allout-decorate-item-and-context, allout-set-boundary-marker)
2308 (allout-body-modification-handler)
2309 (allout-graphics-modification-handler): Mark ignored arguments.
2310 (allout-widgets-post-command-business)
2311 (allout-widgets-exposure-change-processor)
2312 (allout-widgets-exposure-undo-processor)
2313 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2314 (allout-parse-item-at-point, allout-decorate-item-guides)
2315 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2316 * allout.el (epa-passphrase-callback-function): Declare.
2317 (allout-overlay-insert-in-front-handler)
2318 (allout-overlay-interior-modification-handler)
2319 (allout-isearch-end-handler, allout-chart-siblings)
2320 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2321 (allout-yank-processing, allout-process-exposed)
2322 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2323 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2324 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2325 (lisp-indent-defform): Mark ignored arguments.
2326 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2327 (calculate-lisp-indent): Remove unused variables.
2328 * international/characters.el (indian-2-column, arabic-2-column)
2329 (tibetan): Mark ignored arguments.
2330 (use-cjk-char-width-table): Mark ignored arguments.
2331 Remove unused variables.
2332 * international/fontset.el (build-default-fontset-data)
2333 (x-compose-font-name, create-fontset-from-fontset-spec):
2334 Mark ignored arguments.
2335 (fontset-plain-name): Remove unused variables.
2336 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2337 (keyboard-coding-system): Mark ignored arguments.
2338 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2339 * help.el (resize-temp-buffer-window):
2340 * window.el (display-buffer-in-major-side-window)
2341 (display-buffer-in-side-window, display-buffer-in-previous-window):
2342 Remove unused variables.
2343 * isearch.el (isearch-forward-symbol):
2344 * version.el (emacs-bzr-version-bzr):
2345 * international/mule-cmds.el (current-language-environment):
2346 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2347 (x-handle-display):
2348 * term/pc-win.el (x-list-fonts, x-display-planes)
2349 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2350 (x-server-version, x-display-screens, x-display-mm-height)
2351 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2352 (x-selection-owner-p, x-own-selection-internal)
2353 (x-disown-selection-internal, x-get-selection-internal)
2354 (msdos-initialize-window-system):
2355 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2356 * term/x-win.el (x-handle-no-bitmap-icon):
2357 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2358 (vc-default-find-file-hook, vc-default-extra-menu):
2359 Mark ignored arguments.
2360
2361 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2362
2363 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2364 break-condition in the context of the debugged code (bug#12685).
2365
2366 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2367
2368 * comint.el:
2369 Do not use an overlay to highlight the last prompt. (Bug#14744)
2370 (comint-mode): Make comint-last-prompt buffer local.
2371 (comint-last-prompt): New variable.
2372 (comint-last-prompt-overlay): Remove. Superseded by
2373 comint-last-prompt.
2374 (comint-snapshot-last-prompt, comint-output-filter):
2375 Use comint-last-prompt.
2376
2377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2378
2379 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2380 (frameset-save): Check validity of the resulting frameset.
2381
2382 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2383
2384 * ido.el (ido-record-command): Add doc string.
2385
2386 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2387
2388 * frameset.el (frameset): Do not disable creation of the default
2389 frameset-p predicate. Doc fix.
2390 (frameset-valid-p): New function, copied from the old predicate-p.
2391 Add additional checks.
2392 (frameset-restore): Check with frameset-valid-p.
2393 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2394 (frameset-name, frameset-description, frameset-properties)
2395 (frameset-states): Add docstring.
2396 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2397 (frameset-filter-alist): Doc fixes.
2398
2399 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2400
2401 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2402
2403 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2406 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2407 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2408 (byte-compile-normal-call): Remove obsolescence check.
2409
2410 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2411
2412 * frameset.el (frameset-restore): Doc fix.
2413
2414 * register.el (frameset-frame-id, frameset-frame-with-id)
2415 (frameset-p, frameset-restore, frameset-save): Declare.
2416 (register-alist): Document framesets.
2417 (frameset-session-filter-alist): Declare.
2418 (frameset-to-register): New function.
2419 (jump-to-register): Implement jumping to framesets. Doc fix.
2420 (describe-register-1): Describe framesets.
2421
2422 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2423
2424 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2427 Use lexical-binding.
2428
2429 * frameset.el (frameset): Use type vector, not list (incompatible
2430 change). Do not declare a new constructor, use the default one.
2431 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2432 `name' and `description', respectively, and add read-only slot
2433 `timestamp'. Doc fixes.
2434 (frameset-copy, frameset-persistent-filter-alist)
2435 (frameset-filter-alist, frameset-switch-to-gui-p)
2436 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2437 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2438 (frameset-filter-iconified, frameset-keep-original-display-p):
2439 Doc fixes.
2440 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2441 Rename from frameset-filter-(save|restore)-param. All callers changed.
2442 Doc fix.
2443 (frameset-p): Adapt to change to vector and be more thorough.
2444 Change arg name to OBJECT. Doc fix.
2445 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2446 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2447 All callers changed.
2448 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2449 All callers changed.
2450 (frameset--record-minibuffer-relationships): Rename from
2451 frameset--process-minibuffer-frames. All callers changed.
2452 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2453 Use new default constructor (again). Doc fix.
2454 (frameset--find-frame-if): Rename from `frameset--find-frame.
2455 All callers changed.
2456 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2457 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2458 Doc fix.
2459 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2460 PARAMETERS and WINDOW-STATE, respectively.
2461 (frameset-restore): Add new keyword argument PREDICATE.
2462 Reset frameset--target-display to nil. Doc fix.
2463
2464 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2467 (bat-mode): Use it.
2468 (bat-mode-syntax-table): Mark \n as end-of-comment.
2469 (bat-font-lock-keywords): Remove comment rule.
2470
2471 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2472 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2473
2474 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2475 (byte-compile-callargs-warn): Use `push'.
2476 (byte-compile-arglist-warn): Ignore higher-order "calls".
2477 (byte-compile-file-form-autoload): Use `pcase'.
2478 (byte-compile-function-form): If quoting a symbol, check that it exists.
2479
2480 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2481
2482 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2483 and add a few popular commands found in batch files.
2484 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2485 (dos-mode): Doc fixes.
2486
2487 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2490 (dos-mode): Use setq-local. Add space after "rem".
2491 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2492 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2493
2494 2013-08-07 Arni Magnusson <arnima@hafro.is>
2495
2496 * progmodes/dos.el: New file.
2497 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2498 dos-mode.
2499
2500 2013-08-06 Glenn Morris <rgm@gnu.org>
2501
2502 * calendar/calendar.el: Add new faces, and day-header-array.
2503 (calendar-weekday-header, calendar-weekend-header)
2504 (calendar-month-header): New faces.
2505 (calendar-day-header-construct): New function.
2506 (calendar-day-header-width): Also :set calendar-day-header-array.
2507 (calendar-american-month-header, calendar-european-month-header)
2508 (calendar-iso-month-header): Use calendar- faces.
2509 (calendar-generate-month):
2510 Use calendar-day-header-array for day headers; apply faces to them.
2511 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2512 (calendar-abbrev-construct): Add optional maxlen argument.
2513 (calendar-day-name-array): Doc fix.
2514 (calendar-day-name-array, calendar-abbrev-length)
2515 (calendar-day-abbrev-array):
2516 Also :set calendar-day-header-array, and maybe redraw.
2517 (calendar-day-header-array): New option. (Bug#15007)
2518 (calendar-font-lock-keywords): Set to nil and make obsolete.
2519 (calendar-day-name): Add option to use header array.
2520
2521 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2522
2523 * net/shr.el (shr-render-td): Remove debugging.
2524 (shr-render-td): Make width computation consistent by defaulting
2525 all zero-width columns to 10 characters. This may not be optimal,
2526 but it's at least consistent.
2527 (shr-make-table-1): Redo last change to fix the real problem in
2528 colspan handling.
2529
2530 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2531
2532 * files.el (cache-long-line-scans):
2533 Make obsolete alias to `cache-long-scans'.
2534
2535 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * frameset.el (frameset, frameset-filter-alist)
2538 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2539 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2540 (frameset-compute-pos): Rename from frameset--compute-pos,
2541 and add docstring.
2542 (frameset-move-onscreen): Use frameset-compute-pos.
2543 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2544
2545 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2546 Fix typos in docstrings.
2547
2548 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2549
2550 * frame.el (get-other-frame): Tiny cleanup.
2551
2552 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2553
2554 * vc/vc.el (vc-default-ignore-completion-table):
2555 Silence byte-compiler warning.
2556
2557 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2558 slot , which can indeed be nil.
2559 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2560 Move entry for `left' from persistent to live filter alist.
2561 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2562 Doc fixes.
2563 (frameset-filter-params): When restoring a frame, copy items added to
2564 `filtered', to avoid unwittingly modifying the original parameters.
2565 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2566 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2567
2568 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2569 to use looking-at-p instead of looking-at. (Bug#15028)
2570
2571 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 Revert introduction of isearch-filter-predicates (bug#14714).
2574 Rely on add-function instead.
2575 * isearch.el (isearch-filter-predicates): Rename it back to
2576 isearch-filter-predicate.
2577 (isearch-message-prefix): Use advice-function-mapc and advice
2578 properties to get the isearch-message-prefix.
2579 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2580 instead of run-hook-with-args-until-failure.
2581 (isearch-filter-visible): Not obsolete any more.
2582 * loadup.el: Preload nadvice.
2583 * replace.el (perform-replace): Revert to funcall
2584 instead of run-hook-with-args-until-failure.
2585 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2586 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2587 dired-isearch-filenames-toggle; make it into a proper minor mode.
2588 Use add/remove-function.
2589 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2590 Call the minor-mode rather than add/remove-hook.
2591 (dired-isearch-filter-filenames):
2592 Remove isearch-message-prefix property.
2593 * info.el (Info--search-loop): New function, extracted from Info-search.
2594 Funcall isearch-filter-predicate instead of
2595 run-hook-with-args-until-failure isearch-filter-predicates.
2596 (Info-search): Use it.
2597 (Info-mode): Use isearch-filter-predicate instead of
2598 isearch-filter-predicates.
2599
2600 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2601
2602 Do not call to `selected-window' where it is assumed by default.
2603 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2604 `window-hscroll', `window-width', `window-height', `window-buffer',
2605 `window-frame', `window-start', `window-point', `next-window'
2606 and `window-display-table'.
2607 * abbrev.el (abbrev--default-expand):
2608 * bs.el (bs--show-with-configuration):
2609 * buff-menu.el (Buffer-menu-mouse-select):
2610 * calc/calc.el (calc):
2611 * calendar/calendar.el (calendar-generate-window):
2612 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2613 (diary-make-entry):
2614 * comint.el (send-invisible, comint-dynamic-complete-filename)
2615 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2616 * completion.el (complete):
2617 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2618 * disp-table.el (describe-current-display-table):
2619 * doc-view.el (doc-view-insert-image):
2620 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2621 * ehelp.el (with-electric-help):
2622 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2623 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2624 * emacs-lisp/helper.el (Helper-help-scroller):
2625 * emulation/cua-base.el (cua--post-command-handler-1):
2626 * eshell/esh-mode.el (eshell-output-filter):
2627 * ffap.el (ffap-gnus-wrapper):
2628 * help-macro.el (make-help-screen):
2629 * hilit-chg.el (highlight-compare-buffers):
2630 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2631 * hl-line.el (global-hl-line-highlight):
2632 * icomplete.el (icomplete-simple-completing-p):
2633 * isearch.el (isearch-done):
2634 * jit-lock.el (jit-lock-stealth-fontify):
2635 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2636 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2637 * mpc.el (mpc-tagbrowser, mpc):
2638 * net/rcirc.el (rcirc-any-buffer):
2639 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2640 * play/landmark.el (landmark-max-width, landmark-max-height):
2641 * play/zone.el (zone):
2642 * progmodes/compile.el (compilation-goto-locus):
2643 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2644 * progmodes/etags.el (find-tag-other-window):
2645 * progmodes/fortran.el (fortran-column-ruler):
2646 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2647 * progmodes/verilog-mode.el (verilog-point-text):
2648 * reposition.el (reposition-window):
2649 * rot13.el (toggle-rot13-mode):
2650 * server.el (server-switch-buffer):
2651 * shell.el (shell-dynamic-complete-command)
2652 (shell-dynamic-complete-environment-variable):
2653 * simple.el (insert-buffer, set-selective-display)
2654 (delete-completion-window):
2655 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2656 (speedbar-recenter):
2657 * startup.el (fancy-splash-head):
2658 * textmodes/ispell.el (ispell-command-loop):
2659 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2660 * tutorial.el (help-with-tutorial):
2661 * vc/add-log.el (add-change-log-entry):
2662 * vc/compare-w.el (compare-windows):
2663 * vc/ediff-help.el (ediff-indent-help-message):
2664 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2665 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2666 (ediff-setup-control-frame):
2667 * vc/emerge.el (emerge-position-region):
2668 * vc/pcvs-util.el (cvs-bury-buffer):
2669 * window.el (walk-windows, mouse-autoselect-window-select):
2670 * winner.el (winner-set-conf, winner-undo): Related users changed.
2671
2672 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * frameset.el (frameset--set-id): Doc fix.
2675 (frameset-frame-id, frameset-frame-id-equal-p)
2676 (frameset-locate-frame-id): New functions.
2677 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2678 (frameset-restore): Use them.
2679
2680 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2681
2682 Do not call to `selected-frame' where it is assumed by default.
2683 Affected functions are `raise-frame', `redraw-frame',
2684 `frame-first-window', `frame-terminal' and `delete-frame'.
2685 * calendar/appt.el (appt-disp-window):
2686 * epg.el (epg-wait-for-completion):
2687 * follow.el (follow-delete-other-windows-and-split)
2688 (follow-avoid-tail-recenter):
2689 * international/mule.el (set-terminal-coding-system):
2690 * mail/rmail.el (rmail-mail-return):
2691 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2692 * progmodes/f90.el (f90-add-imenu-menu):
2693 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2694 * server.el (server-switch-buffer):
2695 * simple.el (delete-completion-window):
2696 * talk.el (talk):
2697 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2698 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2699 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2700 * vc/ediff.el (ediff-documentation): Related users changed.
2701 * frame.el (selected-terminal): Remove the leftover.
2702
2703 2013-08-05 Glenn Morris <rgm@gnu.org>
2704
2705 * calendar/calendar.el (calendar-generate-month):
2706 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2707 (calendar-generate-month, calendar-font-lock-keywords):
2708 Fix for calendar-day-header-width > length of any day name.
2709
2710 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2711
2712 * desktop.el (desktop-clear): Use new name of sort predicate.
2713
2714 * frameset.el (frameset): Add docstring. Move :version property to its
2715 own `version' slot.
2716 (frameset-copy): Rename from copy-frameset.
2717 (frameset-p): Check more thoroughly.
2718 (frameset-prop): Do not check for :version, which is no longer a prop.
2719 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2720 Use new :never value instead of t.
2721 (frameset-filter-alist): Expand and clarify docstring.
2722 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2723 (frameset-filter-minibuffer, frameset-filter-save-param)
2724 (frameset-filter-restore-param, frameset-filter-iconified):
2725 Add pointer to docstring of frameset-filter-alist.
2726 (frameset-filter-params): Rename filter values to be more meaningful:
2727 :never instead of t, and reverse the meanings of :save and :restore.
2728 (frameset--process-minibuffer-frames): Clarify error message.
2729 (frameset-save): Avoid unnecessary and confusing call to framep.
2730 Use new BOA constructor for framesets.
2731 (frameset--reuse-list): Doc fix.
2732 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2733 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2734 (frameset-minibufferless-first-p): Doc fix.
2735 Rename from frameset-sort-frames-for-deletion.
2736 (frameset-restore): Doc fixes. Use new function names.
2737 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2738
2739 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2740
2741 * desktop.el (desktop-restore-forces-onscreen)
2742 (desktop-restore-reuses-frames): Document :keyword constant values.
2743 (desktop-filter-parameters-alist): Remove, now identical to
2744 frameset-filter-alist.
2745 (desktop--filter-tty*): Remove, moved to frameset.el.
2746 (desktop-save-frameset, desktop-restore-frameset):
2747 Do not pass :filters argument.
2748
2749 * frameset.el (frameset-live-filter-alist)
2750 (frameset-persistent-filter-alist): New variables.
2751 (frameset-filter-alist): Use them. Add autoload cookie.
2752 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2753 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2754 `frameset--id' (it's supposed to be internal to frameset.el).
2755 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2756 (frameset--initial-params): New function.
2757 (frameset--get-frame): Use it. Doc fix.
2758 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2759 Accept :all, not 'all.
2760 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2761 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2762 with fbound symbols. Fix frame id matching, and remove matching ids if
2763 the frame being restored is deleted. Obey :delete.
2764
2765 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * subr.el (macrop): New function.
2768 (text-clone--maintaining): New var.
2769 (text-clone--maintain): Rename from text-clone-maintain. Use it
2770 instead of inhibit-modification-hooks.
2771
2772 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2773 a proxy, so as handle autoloads and redefinitions of the target.
2774 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2775
2776 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2777 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2778 (pcase--mutually-exclusive-p): New function.
2779 (pcase--split-consp): Use it.
2780 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2781 mutually exclusive with the current predicate.
2782
2783 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2784 (edebug-macrop): Remove. Use `macrop' instead.
2785 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2786 (ad-macro-p):
2787 * eshell/esh-cmd.el (eshell-macrop):
2788 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2789
2790 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2793 (advice-mapc): New function, using it.
2794 (advice-function-member-p): New function.
2795 (advice--normalize): Store the cdr in advice--saved-rewrite since
2796 that's the part that will be changed.
2797 (advice--symbol-function): New function.
2798 (advice-remove): Handle removal before the function is defined.
2799 Adjust to new advice--saved-rewrite.
2800 (advice-member-p): Use advice-function-member-p and
2801 advice--symbol-function.
2802
2803 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2806 (frameset-filter-minibuffer): Doc fix.
2807 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2808 (frameset--set-id, frameset--process-minibuffer-frames)
2809 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2810 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2811
2812 * desktop.el (desktop-clear): Only delete frames when called
2813 interactively and desktop-restore-frames is non-nil. Doc fix.
2814 (desktop-read): Set desktop-saved-frameset to nil.
2815
2816 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2817
2818 * vc/vc.el (vc-ignore): Rewrite.
2819 (vc-default-ignore-completion-table):
2820 (vc--read-lines):
2821 (vc--add-line, vc--remove-regexp): New functions.
2822
2823 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2824 (vc-svn-ignore-completion-table): New function.
2825
2826 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2827 (vc-hg-ignore-completion-table):
2828 (vc-hg-find-ignore-file): New functions.
2829
2830 * vc/vc-git.el (vc-git-ignore): Rewrite.
2831 (vc-git-ignore-completion-table):
2832 (vc-git-find-ignore-file): New functions.
2833
2834 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2835
2836 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2837 (vc-bzr-ignore-completion-table):
2838 (vc-bzr-find-ignore-file): New functions.
2839
2840 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2841
2842 * frameset.el (frameset-prop): New function and setter.
2843 (frameset-save): Do not modify frame list passed by the caller.
2844
2845 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2848
2849 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2852 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2853
2854 * custom.el (custom-initialize-default, custom-initialize-set)
2855 (custom-initialize-reset, custom-initialize-changed): Affect the
2856 toplevel-default-value (bug#6275, bug#14586).
2857 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2858 for bug#6275.
2859
2860 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2861
2862 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2863 Add cl-def* expressions.
2864
2865 * frameset.el (frameset-filter-params): Fix order of arguments.
2866
2867 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2868
2869 Move code related to saving frames to frameset.el.
2870 * desktop.el: Require frameset.
2871 (desktop-restore-frames): Doc fix.
2872 (desktop-restore-reuses-frames): Rename from
2873 desktop-restoring-reuses-frames.
2874 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2875 (desktop-clear): Clear frames too.
2876 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2877 (desktop--filter-tty*, desktop-save, desktop-read):
2878 Use frameset functions.
2879 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2880 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2881 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2882 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2883 (desktop--process-minibuffer-frames, desktop-save-frames)
2884 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2885 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2886 (desktop--sort-states, desktop-restoring-frames-p)
2887 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2888 (desktop-restoring-frameset-p, desktop-restore-frameset)
2889 (desktop--check-dont-save, desktop-save-frameset): New functions.
2890 (desktop--app-id): New constant.
2891 (desktop-first-buffer, desktop-buffer-ok-count)
2892 (desktop-buffer-fail-count): Move before first use.
2893 * frameset.el: New file.
2894
2895 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * files.el: Use lexical-binding.
2898 (dir-locals-read-from-file): Remove unused `err' variable.
2899 (hack-dir-local-variables--warned-coding): New var.
2900 (hack-dir-local-variables): Use it to avoid repeated warnings.
2901 (make-backup-file-name--default-function): New function.
2902 (make-backup-file-name-function): Use it as default.
2903 (buffer-stale--default-function): New function.
2904 (buffer-stale-function): Use it as default.
2905 (revert-buffer-insert-file-contents--default-function): New function.
2906 (revert-buffer-insert-file-contents-function): Use it as default.
2907 (insert-directory): Avoid add-to-list.
2908
2909 * autorevert.el (auto-revert-handler): Simplify.
2910 Use buffer-stale--default-function.
2911
2912 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2913
2914 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2915
2916 * whitespace.el (whitespace-ensure-local-variables): New function.
2917 (whitespace-cleanup-region): Call it.
2918 (whitespace-turn-on): Call it.
2919
2920 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2921
2922 Complete file name handlers.
2923
2924 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2925 (tramp-handle-verify-visited-file-modtime)
2926 (tramp-handle-file-notify-rm-watch): New functions.
2927 (tramp-call-process): Do not bind `default-directory'.
2928
2929 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2930 Order alphabetically.
2931 [access-file, add-name-to-file, dired-call-process]:
2932 [dired-compress-file, file-acl, file-notify-rm-watch]:
2933 [file-ownership-preserved-p, file-selinux-context]:
2934 [make-directory-internal, make-symbolic-link, set-file-acl]:
2935 [set-file-selinux-context, set-visited-file-modtime]:
2936 [verify-visited-file-modtime]: Add handler.
2937 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2938
2939 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2940 [file-notify-add-watch, file-notify-rm-watch]:
2941 [set-file-times, set-visited-file-modtime]:
2942 [verify-visited-file-modtime]: Add handler.
2943 (with-tramp-gvfs-error-message)
2944 (tramp-gvfs-handle-set-visited-file-modtime)
2945 (tramp-gvfs-fuse-file-name): Remove.
2946 (tramp-gvfs-handle-file-notify-add-watch)
2947 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2948 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2949
2950 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2951 Order alphabetically.
2952 [file-notify-rm-watch ]: Use default Tramp handler.
2953 [executable-find]: Remove private handler.
2954 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2955 `default-directory'.
2956 (tramp-sh-handle-executable-find)
2957 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2958 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2959 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2960 Do not use `format' in `tramp-message'.
2961
2962 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2963 [file-notify-rm-watch, set-visited-file-modtime]:
2964 [verify-visited-file-modtime]: Add handler.
2965 (tramp-smb-call-winexe): Do not bind `default-directory'.
2966
2967 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2968
2969 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2970
2971 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2972
2973 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2974 use it.
2975 (log-view-diff-changeset): Same.
2976 (log-view-diff-common): Call backend command `previous-revision'
2977 to find out the previous revision, in both cases. Swap the
2978 variables `to' and `fr', so that `fr' usually refers to the
2979 earlier revision (Bug#14989).
2980
2981 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2982
2983 * ibuf-ext.el (ibuffer-filter-by-filename):
2984 Make it work with dired buffers too.
2985
2986 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2987
2988 * emacs-lisp/re-builder.el (reb-color-display-p):
2989 * files.el (save-buffers-kill-terminal):
2990 * net/browse-url.el (browse-url):
2991 * server.el (server-save-buffers-kill-terminal):
2992 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2993 Prefer nil to selected-frame for the first arg of frame-parameter.
2994
2995 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2996
2997 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2998
2999 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3000
3001 * minibuffer.el (completion--twq-all): Try and preserve each
3002 completion's case choice (bug#14907).
3003
3004 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3005
3006 * net/network-stream.el (open-network-stream): Mention the new
3007 :nogreeting parameter.
3008 (network-stream-open-starttls): Use the :nogreeting parameter
3009 (bug#14938).
3010
3011 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3012
3013 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3014 more natural than popping.
3015
3016 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3017 (shr-urlify): Highlight under mouse.
3018
3019 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3020
3021 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3022
3023 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3024
3025 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3026 buffer for output.
3027
3028 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3029 point-min==1. Fix search string. Fix parentheses missing.
3030
3031 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3032 assume point-min==1. Fix search string. Fix parentheses missing.
3033
3034 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3035
3036 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3037 buffer for output.
3038
3039 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3040
3041 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3042 initial frame is minibuffer-less. (Bug#14841)
3043
3044 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3047 option.
3048
3049 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3050 (tramp-maybe-open-connection): Use it.
3051
3052 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3053
3054 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3055 minimal set of parameters passed when creating a frame, because
3056 the minibuffer status of a frame cannot be changed later.
3057
3058 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3059
3060 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3061 replace-regexp-in-string and inadvertent omissions in previous change.
3062 (todo-filter-items): Ensure only file names are comma-separated in
3063 name of filtered items buffer.
3064
3065 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * desktop.el: Optionally force offscreen frames back onscreen.
3068 (desktop-restoring-reuses-frames): New option.
3069 (desktop--compute-pos, desktop--move-onscreen): New functions.
3070 (desktop--make-frame): Use desktop--move-onscreen.
3071
3072 2013-07-27 Alan Mackenzie <acm@muc.de>
3073
3074 Fontify a Java generic method as a function.
3075 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3076 value to t.
3077
3078 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3079
3080 * calendar/todo-mode.el: Add command to rename todo files.
3081 (todo-rename-file): New command.
3082 (todo-key-bindings-t): Add key binding for it. Change the
3083 bindings of todo-filter-regexp-items(-multifile) to use `x'
3084 instead of `r', since the latter is better suited to the new
3085 renaming command.
3086
3087 2013-07-27 Alan Mackenzie <acm@muc.de>
3088
3089 Make Java try-with-resources statement parse properly.
3090 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3091 (c-block-stmt-1-2-key): New language constants/variables.
3092 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3093 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3094 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3095 with c-block-stmt-1-2-key.
3096
3097 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3098
3099 * desktop.el (desktop--make-frame): Apply most frame parameters after
3100 creating the frame to force (partially or totally) offscreen frames to
3101 be restored as such.
3102
3103 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3104
3105 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3106 (Bug#14948)
3107
3108 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3111 `base' arg of backtrace-frame.
3112
3113 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3114
3115 * simple.el (list-processes): Doc fix.
3116
3117 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3118
3119 * desktop.el (desktop--select-frame):
3120 Try harder to reuse existing frames.
3121
3122 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3125 (edebug-eval): Use backtrace-eval.
3126 (edebug--display, edebug--recursive-edit): Don't let-bind the
3127 edebug-outer-* vars that keep track of variables we locally let-bind.
3128 (edebug-outside-excursion): Don't restore outside values of locally
3129 let-bound vars.
3130 (edebug--display): Use user-error.
3131 (cl-lexical-debug, cl-debug-env): Remove.
3132
3133 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3134
3135 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3136 are restored to be sure that they are visible before deleting any
3137 remaining ones.
3138
3139 2013-07-26 Matthias Meulien <orontee@gmail.com>
3140
3141 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3142 vc-print-root-log. (Bug#14948)
3143
3144 2013-07-26 Richard Stallman <rms@gnu.org>
3145
3146 Add aliases for encrypting mail.
3147 * epa.el (epa-mail-aliases): New option.
3148 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3149 Bind inhibit-read-only so read-only text doesn't ruin everything.
3150 (epa-mail-default-recipients): New subroutine broken out.
3151 Handle epa-mail-aliases.
3152
3153 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 Add support for lexical variables to the debugger's `e' command.
3156 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3157 vars, except for debugger-outer-match-data.
3158 (debugger-frame-number): Move check for "on a function call" from
3159 callers into it. Add `skip-base' argument.
3160 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3161 (debugger-env-macro): Only reset the state stored in non-variables,
3162 i.e. current-buffer and match-data.
3163 (debugger-eval-expression): Rewrite using backtrace-eval.
3164 * subr.el (internal--called-interactively-p--get-frame): Remove.
3165 (called-interactively-p):
3166 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3167 `base' arg of backtrace-frame instead.
3168
3169 2013-07-26 Glenn Morris <rgm@gnu.org>
3170
3171 * align.el (align-regexp): Doc fix. (Bug#14857)
3172 (align-region): Explicit error if subexpression missing/does not match.
3173
3174 * simple.el (global-visual-line-mode):
3175 Do not duplicate the mode lighter. (Bug#14858)
3176
3177 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3178
3179 * window.el (display-buffer): In display-buffer bind
3180 split-window-keep-point to t, bug#14829.
3181
3182 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3185 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3186 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3187 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3188 Change accordingly.
3189 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3190 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3191
3192 2013-07-25 Glenn Morris <rgm@gnu.org>
3193
3194 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3195
3196 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3197
3198 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3199 parameter to modify-frame-parameters if the value has not changed;
3200 this is a workaround for bug#14949.
3201 (desktop--make-frame): On cl-delete-if call, check parameter name,
3202 not full parameter.
3203
3204 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3205
3206 * vc/vc.el (vc-ignore): New function.
3207
3208 * vc/vc-svn.el (vc-svn-ignore): New function.
3209
3210 * vc/vc-hg.el (vc-hg-ignore): New function.
3211
3212 * vc/vc-git.el (vc-git-ignore): New function.
3213
3214 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3215 (vc-dir-ignore): New function.
3216
3217 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3218 (cvs-append-to-ignore): Move here from pcvs.el.
3219
3220 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3221
3222 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3223
3224 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3225
3226 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3227 (desktop-restore-frames): Warn when deleting an existing frame failed.
3228
3229 2013-07-24 Glenn Morris <rgm@gnu.org>
3230
3231 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3232
3233 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * filenotify.el (file-notify-supported-p):
3236 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3237 Remove functions.
3238
3239 * autorevert.el (auto-revert-use-notify):
3240 (auto-revert-notify-add-watch):
3241 * net/tramp.el (tramp-file-name-for-operation):
3242 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3243 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3244 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3245 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3246 Remove `file-notify-supported-p' entry.
3247
3248 2013-07-24 Glenn Morris <rgm@gnu.org>
3249
3250 * printing.el: Replace all uses of deleted ps-windows-system,
3251 ps-lp-system, ps-flatten-list with lpr- versions.
3252
3253 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3256 checked with memq (bug#14935).
3257
3258 * files.el (revert-buffer-function): Use a non-nil default.
3259 (revert-buffer-preserve-modes): Declare var to
3260 provide access to the `preserve-modes' argument.
3261 (revert-buffer): Let-bind it.
3262 (revert-buffer--default): New function, extracted from revert-buffer.
3263
3264 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 * lpr.el: Signal print errors more prominently.
3267 (print-region-function): Don't default to nil.
3268 (lpr-print-region): New function, extracted from print-region-1.
3269 Check lpr's return value and signal an error in case of problem.
3270 (print-region-1): Use it.
3271 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3272 versions instead.
3273 (ps-printer-name): Default to nil.
3274 (ps-printer-name-option): Default to lpr-printer-switch.
3275 (ps-print-region-function): Don't default to nil.
3276 (ps-postscript-code-directory): Simplify default.
3277 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3278 (ps-string-list, ps-eval-switch, ps-flatten-list)
3279 (ps-flatten-list-1): Remove.
3280 (ps-multibyte-buffer): Avoid setq.
3281 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3282 (print-region-function, ps-print-region-function): Don't set them here.
3283
3284 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3285
3286 * ido.el (ido-fractionp):
3287 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3288 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3289 (ido-max-directory-size, ido-max-dir-file-cache)
3290 (ido-decorations): Doc fix.
3291
3292 * ansi-color.el: Fix old URL.
3293
3294 2013-07-23 Michael R. Mauger <michael@mauger.com>
3295
3296 * progmodes/sql.el: Version 3.3
3297 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3298 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3299 (sql-interactive-remove-continuation-prompt): Rewrite, use
3300 functions above. Fix continuation prompt and complete output line
3301 handling.
3302 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3303 redirected output buffer.
3304 (sql-mode): Restore deleted code (Bug#13591).
3305
3306 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3307
3308 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3309
3310 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3311
3312 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3313
3314 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3315 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3316 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3317
3318 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3319
3320 * desktop.el (desktop-clear): Simplify; remove useless checks
3321 against invalid buffer names.
3322 (desktop-list*): Use cl-list*.
3323 (desktop-buffer-info, desktop-create-buffer): Simplify.
3324
3325 2013-07-23 Leo Liu <sdl.web@gmail.com>
3326
3327 * bookmark.el (bookmark-make-record): Restore NAME as a default
3328 value. (Bug#14933)
3329
3330 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3333 extracted from autoload--insert-text.
3334 (autoload--insert-text): Remove.
3335 (autoload--print-cookie-text): New function, extracted from
3336 autoload--insert-cookie-text.
3337 (autoload--insert-cookie-text): Remove.
3338 (autoload-generate-file-autoloads): Adjust calls accordingly.
3339
3340 * winner.el (winner-hook-installed-p): Remove.
3341 (winner-mode): Simplify accordingly.
3342
3343 * subr.el (add-to-list): Fix compiler-macro when `append' is
3344 not constant. Don't use `cl-member' for the base case.
3345
3346 * progmodes/subword.el: Fix boundary case (bug#13758).
3347 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3348 own group.
3349 (subword-backward-regexp): Make it a constant.
3350 (subword-forward-internal): Don't treat a trailing capital as the
3351 beginning of a word.
3352
3353 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3354
3355 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3356 global value of tabulated-list-revert-hook (bug#14930).
3357
3358 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3359
3360 * desktop.el: Require 'cl-lib.
3361 (desktop-before-saving-frames-functions): New hook.
3362 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3363 for frames being saved. Rename from desktop--save-minibuffer-frames.
3364 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3365 Do not save frames with non-nil `desktop-dont-save' parameter.
3366 Filter out deleted frames.
3367 (desktop--find-frame): Use cl-find-if.
3368 (desktop--select-frame): Use cl-(first|second|third) to access values
3369 of desktop-mini.
3370 (desktop--make-frame): Use cl-delete-if.
3371 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3372 (desktop-restore-frames): Use cl-(first|second|third) to access values
3373 of desktop-mini. Look for visible frame at the end, not while
3374 restoring frames.
3375
3376 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3377 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3378 Use string-match-p, looking-at-p (bug#14927).
3379
3380 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3381
3382 * desktop.el (desktop-saved-frame-states):
3383 Rename from desktop--saved-states; all users changed.
3384 (desktop-save-frames): Rename from desktop--save-frames.
3385 Do not save state to desktop file.
3386 (desktop-save): Save desktop-saved-frame-states to desktop file
3387 and reset to nil.
3388 (desktop-restoring-frames-p): New function.
3389 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3390 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3391 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3392
3393 * desktop.el: Correctly restore iconified frames.
3394 (desktop--filter-iconified-position): New function.
3395 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3396
3397 2013-07-20 Glenn Morris <rgm@gnu.org>
3398
3399 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3400 Let `message' do the formatting.
3401 (def-gdb-preempt-display-buffer): Add explicit format.
3402
3403 * image-dired.el (image-dired-track-original-file):
3404 Use with-current-buffer.
3405 (image-dired-track-thumbnail): Use with-current-buffer.
3406 Avoid changing point of wrong window.
3407
3408 * image-dired.el (image-dired-track-original-file):
3409 Avoid changing point of wrong window. (Bug#14909)
3410
3411 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3412
3413 * progmodes/gdb-mi.el (gdb-done-or-error):
3414 Guard against "%" in gdb output. (Bug#14127)
3415
3416 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3417
3418 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3419 (Bug#14826)
3420
3421 * international/mule.el (coding-system-iso-2022-flags): Fix last
3422 change.
3423
3424 2013-07-20 Kenichi Handa <handa@gnu.org>
3425
3426 * international/mule.el (coding-system-iso-2022-flags):
3427 Add `8-bit-level-4'. (Bug#8522)
3428
3429 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3430
3431 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3432 (bug#14815).
3433
3434 * net/eww.el (eww-process-text-input): Allow inputting when the
3435 point is at the start of the line, as the properties aren't
3436 front-sticky.
3437
3438 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3439 degenerate widths.
3440
3441 2013-07-19 Richard Stallman <rms@gnu.org>
3442
3443 * epa.el (epa-popup-info-window): Doc fix.
3444
3445 * subr.el (split-string): New arg TRIM.
3446
3447 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3448
3449 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3450 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3451
3452 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3453
3454 * filenotify.el (file-notify--library): Rename from
3455 `file-notify-support'. Do not autoload. Adapt all uses.
3456 (file-notify-supported-p): New defun.
3457
3458 * autorevert.el (auto-revert-use-notify):
3459 Use `file-notify-supported-p' instead of `file-notify-support'.
3460 Adapt docstring.
3461 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3462
3463 * net/tramp.el (tramp-file-name-for-operation):
3464 Add `file-notify-supported-p'.
3465
3466 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3467 New defun.
3468 (tramp-sh-file-name-handler-alist): Add it as handler for
3469 `file-notify-supported-p '.
3470
3471 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3472 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3473 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3474 Add `ignore' as handler for `file-notify-*' functions.
3475
3476 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3477
3478 * simple.el (line-move-partial, line-move): Don't start vscroll or
3479 scroll-up if the current line is not taller than the window.
3480 (Bug#14881)
3481
3482 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3483
3484 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3485 highlight question marks in the method names as strings.
3486 (ruby-block-beg-keywords): Inline.
3487 (ruby-font-lock-keyword-beg-re): Extract from
3488 `ruby-font-lock-keywords'.
3489
3490 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3491
3492 * frame.el (blink-cursor-blinks): New defcustom.
3493 (blink-cursor-blinks-done): New defvar.
3494 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3495 (blink-cursor-timer-function): Check if number of blinks has been
3496 done on X and NS.
3497 (blink-cursor-suspend, blink-cursor-check): New defuns.
3498
3499 2013-07-15 Glenn Morris <rgm@gnu.org>
3500
3501 * edmacro.el (edmacro-format-keys): Fix previous change.
3502
3503 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3504
3505 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3506 The hack didn't work outside English locales anyway.
3507
3508 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3509
3510 * simple.el (define-alternatives): Rename from alternatives-define,
3511 per RMS' suggestion.
3512
3513 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3514
3515 * desktop.el (desktop-restore-frames): Change default to t.
3516 (desktop-restore-in-current-display): Now offer more options.
3517 (desktop-restoring-reuses-frames): New customization option.
3518 (desktop--saved-states): Doc fix.
3519 (desktop-filter-parameters-alist): New variable, renamed and expanded
3520 from desktop--excluded-frame-parameters.
3521 (desktop--target-display): New variable.
3522 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3523 (desktop--filter-tty*, desktop--filter-*-color)
3524 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3525 (desktop--filter-save-desktop-parm)
3526 (desktop-restore-in-original-display-p): New functions.
3527 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3528 (desktop--save-minibuffer-frames): New function, inspired by a similar
3529 function from Martin Rudalics.
3530 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3531 (desktop--restore-in-this-display-p): Remove.
3532 (desktop--find-frame): Rename from desktop--find-frame-in-display
3533 and add predicate argument.
3534 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3535 (desktop--reuse-list): New variable.
3536 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3537 New functions.
3538 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3539
3540 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3541
3542 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3543
3544 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3545
3546 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3547 Highlight conversion methods on Kernel.
3548
3549 2013-07-13 Alan Mackenzie <acm@muc.de>
3550
3551 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3552 and comment it out. This out-commenting enables certain C++
3553 declarations to be parsed correctly.
3554
3555 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3556
3557 * international/mule.el (define-coding-system): Doc fix.
3558
3559 * simple.el (default-font-height): Don't call font-info if the
3560 frame's default font didn't change since the frame was created.
3561 (Bug#14838)
3562
3563 2013-07-13 Leo Liu <sdl.web@gmail.com>
3564
3565 * ido.el (ido-read-file-name): Guard against non-symbol value.
3566
3567 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3568
3569 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3570 in nested defuns.
3571
3572 2013-07-13 Leo Liu <sdl.web@gmail.com>
3573
3574 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3575 ido-set-matches call. (Bug#6852)
3576
3577 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3578
3579 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3580 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3581 Ruby 2.0.
3582 (ruby-font-lock-keywords): Distinguish calls to functions with
3583 module-like names from module references. Highlight character
3584 literals.
3585
3586 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3587
3588 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3589 (gdb-send): Handle continued commands. (Bug#14847)
3590
3591 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * desktop.el (desktop--v2s): Remove unused local variable.
3594 (desktop-save-buffer): Make defvar-local; adjust docstring.
3595 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3596 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3597
3598 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3599
3600 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3601
3602 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3603
3604 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3605 (Bug#14842)
3606
3607 2013-07-12 Glenn Morris <rgm@gnu.org>
3608
3609 * doc-view.el: Require cl-lib at runtime too.
3610 (doc-view-remove-if): Remove.
3611 (doc-view-search-next-match, doc-view-search-previous-match):
3612 Use cl-remove-if.
3613
3614 * edmacro.el: Require cl-lib at runtime too.
3615 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3616 (edmacro-mismatch, edmacro-subseq): Remove.
3617
3618 * shadowfile.el: Require cl-lib.
3619 (shadow-remove-if): Remove.
3620 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3621 Use cl-remove-if.
3622
3623 * wid-edit.el: Require cl-lib.
3624 (widget-choose): Use cl-remove-if.
3625 (widget-remove-if): Remove.
3626
3627 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3628 (ebrowse-delete-if-not): Remove.
3629 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3630 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3631 Use cl-delete-if-not.
3632
3633 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3634
3635 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3636 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3637
3638 2013-07-12 Leo Liu <sdl.web@gmail.com>
3639
3640 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3641
3642 2013-07-11 Glenn Morris <rgm@gnu.org>
3643
3644 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3645 (edebug-gensym-index, edebug-gensym):
3646 Remove reimplementation of cl-gensym.
3647 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3648
3649 * thumbs.el: Require cl-lib at run-time too.
3650 (thumbs-gensym-counter, thumbs-gensym):
3651 Remove reimplementation of cl-gensym.
3652 (thumbs-temp-file): Use cl-gensym.
3653
3654 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3655 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3656 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3657 (ert--union, ert--gensym-counter, ert--gensym-counter)
3658 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3659 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3660 (ert-make-test-unbound, ert--expand-should-1)
3661 (ert--expand-should, ert--should-error-handle-error)
3662 (should-error, ert--explain-equal-rec)
3663 (ert--plist-difference-explanation, ert-select-tests)
3664 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3665 Use cl-lib functions rather than reimplementations.
3666
3667 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3668
3669 * net/tramp.el (tramp-methods): Extend docstring.
3670 (tramp-connection-timeout): New defcustom.
3671 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3672 (with-tramp-progress-reporter): Simplify.
3673 (tramp-process-actions): Improve messages.
3674
3675 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3676 * net/tramp-sh.el (tramp-maybe-open-connection):
3677 Use `tramp-connection-timeout'.
3678 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3679 (Bug#14808)
3680
3681 2013-07-11 Leo Liu <sdl.web@gmail.com>
3682
3683 * ido.el (ido-read-file-name): Conform to the requirements of
3684 read-file-name. (Bug#11861)
3685 (ido-read-directory-name): Conform to the requirements of
3686 read-directory-name.
3687
3688 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3689
3690 * subr.el (delay-warning): New function.
3691
3692 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3693
3694 * simple.el (default-line-height): New function.
3695 (line-move-partial, line-move): Use it instead of computing the
3696 line height inline.
3697 (line-move-partial): Always compute ROWH. If the last line is
3698 partially-visible, but its text is completely visible, allow
3699 cursor to enter such a partially-visible line.
3700
3701 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3702
3703 Improve error messages. (Bug#14808)
3704
3705 * net/tramp.el (tramp-current-connection): New defvar, moved from
3706 tramp-sh.el.
3707 (tramp-message-show-progress-reporter-message): Remove, not
3708 needed anymore.
3709 (tramp-error-with-buffer): Show message in minibuffer.
3710 Discard input before waiting. Reset connection timestamp.
3711 (with-tramp-progress-reporter): Improve messages.
3712 (tramp-process-actions): Use progress reporter. Delete process in
3713 case of error. Improve messages.
3714
3715 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3716 Call `tramp-error-with-buffer' with vector and buffer.
3717 (tramp-current-connection): Remove.
3718 (tramp-maybe-open-connection): The car of
3719 `tramp-current-connection' are the first 3 slots of the vector.
3720
3721 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3722
3723 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3724 inside continued strings.
3725
3726 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3727
3728 Timestamp fixes for undo (Bug#14824).
3729 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3730
3731 2013-07-10 Leo Liu <sdl.web@gmail.com>
3732
3733 * files.el (require-final-newline): Allow safe local value.
3734 (Bug#14834)
3735
3736 2013-07-09 Leo Liu <sdl.web@gmail.com>
3737
3738 * ido.el (ido-read-directory-name): Handle fallback.
3739 (ido-read-file-name): Update DIR to ido-current-directory.
3740 (Bug#1516)
3741 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3742
3743 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3744
3745 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3746 "autoload". Remove "warn lower camel case" section, previously
3747 commented out. Highlight negation char. Do not highlight the
3748 target in singleton method definitions.
3749
3750 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * faces.el (tty-setup-hook): Declare the hook.
3753
3754 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3755 and detect when a guard/pred depends on local vars (bug#14773).
3756 (pcase--u1): Adjust caller.
3757
3758 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3759
3760 * simple.el (line-move-partial, line-move): Account for
3761 line-spacing.
3762 (line-move-partial): Avoid setting vscroll when the last
3763 partially-visible line in window is of default height.
3764
3765 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3766
3767 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3768 been used a while.
3769
3770 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3771
3772 * subr.el (read-quoted-char): Remove unused local variable `char'.
3773
3774 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3775
3776 * ediff.el (ediff-version): Version update.
3777 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3778 (ediff-merge-with-ancestor-command, ediff-directories-command)
3779 (ediff-directories3-command, ediff-merge-directories-command)
3780 (ediff-merge-directories-with-ancestor-command): New functions.
3781 All are command-line interfaces to ediff: to facilitate calling
3782 Emacs with the appropriate ediff functions invoked.
3783
3784 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3785 (viper-save-kill-buffer): Check if buffer is modified.
3786
3787 * viper.el (viper-version): Version update.
3788 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3789
3790 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3793 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3794 (viper-intercept-ESC-key): Simplify.
3795 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3796 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3797 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3798 (viper-setup-ESC-to-escape): New functions.
3799 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3800 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3801
3802 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3803
3804 * simple.el (default-font-height, window-screen-lines):
3805 New functions.
3806 (line-move, line-move-partial): Use them instead of
3807 frame-char-height and window-text-height. This makes scrolling
3808 text smoother when the buffer's default face uses a font that is
3809 different from the frame's default font.
3810
3811 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3812
3813 * files.el (write-file): Do not display confirm dialog for NS,
3814 it does its own dialog, which can't be cancelled (Bug#14578).
3815
3816 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3817
3818 * simple.el (line-move-partial): Adjust the row returned by
3819 posn-at-point for the current window-vscroll. (Bug#14567)
3820
3821 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3824 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3825 spaces.
3826
3827 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3828
3829 * window.el (window-state-put-stale-windows): New variable.
3830 (window--state-put-2): Save list of windows without matching buffer.
3831 (window-state-put): Remove "bufferless" windows if possible.
3832
3833 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3834
3835 * simple.el (alternatives-define): Remove leftover :group keyword.
3836 Tweak docstring.
3837
3838 2013-07-06 Leo Liu <sdl.web@gmail.com>
3839
3840 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3841 (ido-enable-virtual-buffers): New variable.
3842 (ido-buffer-internal, ido-toggle-virtual-buffers)
3843 (ido-make-buffer-list): Use it.
3844 (ido-exhibit): Support turning on and off virtual buffers
3845 automatically.
3846
3847 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3848
3849 * simple.el (alternatives-define): New macro.
3850
3851 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * subr.el (read-quoted-char): Use read-key.
3854 (sit-for): Let read-event decode tty input (bug#14782).
3855
3856 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3857
3858 * calendar/todo-mode.el: Add handling of file deletion, both by
3859 mode command and externally. Fix various related bugs.
3860 Clarify Commentary and improve some documentation strings and code.
3861 (todo-delete-file): New command.
3862 (todo-check-file): New function.
3863 (todo-show): Handle external deletion of the file we're trying to
3864 show (bug#14688). Replace called-interactively-p by an optional
3865 prefix argument to avoid problematic interaction with catch form
3866 when byte compiled (bug#14702).
3867 (todo-quit): Handle external deletion of the archive's todo file.
3868 Make sure the buffer that was visiting the archive file is still
3869 live before trying to bury it.
3870 (todo-category-completions): Handle external deletion of any
3871 category completion files.
3872 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3873 of todo files, in case of external deletion.
3874 (todo-add-file): Replace unnecessary setq by let-binding.
3875 (todo-find-archive): Check whether there are any archives.
3876 Replace unnecessary setq by let-binding.
3877 (todo-archive-done-item): Use find-file-noselect to get the
3878 archive buffer whether or not the archive already exists.
3879 Remove superfluous code. Use file size instead of buffer-file-name to
3880 check if the archive is new; if it is, update list of archives.
3881 (todo-default-todo-file): Allow nil to be a valid value for when
3882 there are no todo files.
3883 (todo-reevaluate-default-file-defcustom): Use corrected definition
3884 of todo-default-todo-file.
3885 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3886 (todo-delete-category, todo-show-categories-table)
3887 (todo-category-number): Clarify comment.
3888 (todo-filter-items): Clarify documentation string.
3889 (todo-show-current-file, todo-display-as-todo-file)
3890 (todo-reset-and-enable-done-separator): Tweak documentation string.
3891 (todo-done-separator): Make separator length window-width, since
3892 bug#2749 is now fixed.
3893
3894 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3895
3896 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3897 Support both "gvfs-monitor-dir" and "inotifywait".
3898 (tramp-sh-file-inotifywait-process-filter): Rename from
3899 `tramp-sh-file-notify-process-filter'.
3900 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3901 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3902
3903 2013-07-05 Leo Liu <sdl.web@gmail.com>
3904
3905 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3906
3907 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3908
3909 * frame.el (display-pixel-height, display-pixel-width)
3910 (display-mm-height, display-mm-width): Mention behavior on
3911 multi-monitor setups in docstrings.
3912 (w32-display-monitor-attributes-list): Declare function.
3913 (display-monitor-attributes-list): Use it.
3914
3915 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * filenotify.el: New package.
3918
3919 * autorevert.el (top): Require filenotify.el.
3920 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3921 instead.
3922 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3923 (auto-revert-notify-handler): Use `file-notify-*' functions.
3924
3925 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3926
3927 * net/tramp.el (tramp-file-name-for-operation):
3928 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3929
3930 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3931 for `file-notify-add-watch' and `file-notify-rm-watch'.
3932 (tramp-process-sentinel): Improve trace.
3933 (tramp-sh-handle-file-notify-add-watch)
3934 (tramp-sh-file-notify-process-filter)
3935 (tramp-sh-handle-file-notify-rm-watch)
3936 (tramp-get-remote-inotifywait): New defuns.
3937
3938 2013-07-03 Juri Linkov <juri@jurta.org>
3939
3940 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3941 call of `occur-read-primary-args' to interactive spec.
3942
3943 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3944 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3945
3946 2013-07-03 Matthias Meulien <orontee@gmail.com>
3947
3948 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3949 `Buffer-menu-multi-occur'. Add it to the menu.
3950 (Buffer-menu-mode): Document it in docstring.
3951 (Buffer-menu-multi-occur): New command. (Bug#14673)
3952
3953 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3954
3955 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3956 keywords and built-ins.
3957
3958 2013-07-03 Glenn Morris <rgm@gnu.org>
3959
3960 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3961
3962 Make info-xref checks case-sensitive by default
3963 * info.el (Info-find-node, Info-find-in-tag-table)
3964 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3965 Add option for exact case matching of nodes.
3966 * info-xref.el (info-xref): New custom group.
3967 (info-xref-case-fold): New option.
3968 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3969
3970 2013-07-03 Leo Liu <sdl.web@gmail.com>
3971
3972 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3973
3974 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3975
3976 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3977 middle of block statement initially, lower the depth. Remove
3978 FIXME comment, not longer valid. Remove middle of block statement
3979 detection, no need to do that anymore since we've been using
3980 `ruby-parse-region' here.
3981
3982 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3983
3984 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3985
3986 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3987
3988 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3989
3990 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3991
3992 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3993 (desktop-restore-in-current-display): New customization option.
3994 (desktop--excluded-frame-parameters): Add `font'.
3995 (desktop--save-frames): Rename from desktop--save-windows.
3996 (desktop--restore-in-this-display-p): New function.
3997 (desktop--make-full-frame): Remove unwanted width/height from
3998 full(width|height) frames.
3999 (desktop--restore-frames): Rename from desktop--restore-windows.
4000 Obey desktop-restore-current-display. Do not delete old frames or
4001 select a new frame unless we were able to restore at least one frame.
4002
4003 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4004
4005 * files.el (find-file-noselect): Simplify conditional expression.
4006
4007 * remember.el (remember-append-to-file):
4008 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4009
4010 Add `remember-notes' function to store random notes across Emacs
4011 restarts.
4012 * remember.el (remember-data-file): Add :set callback to affect
4013 notes buffer (if any).
4014 (remember-notes): New command.
4015 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4016 New defcustoms for the `remember-notes' function.
4017 (remember-notes-save-and-bury-buffer): New command.
4018 (remember-notes-mode-map): New variable.
4019 (remember-mode): New minor mode.
4020 (remember-notes--kill-buffer-query): New function.
4021 * startup.el (initial-buffer-choice): Add notes to custom type.
4022
4023 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4024
4025 * bindings.el (right-char, left-char): Don't call sit-for, this is
4026 no longer needed. Use arithmetic comparison only for numerical
4027 arguments.
4028
4029 * international/mule-cmds.el (select-safe-coding-system):
4030 Handle the case of FROM being a string correctly. (Bug#14755)
4031
4032 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4033
4034 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4035 progression on degenerate tables.
4036 (shr-rescale-image): ImageMagick animated images currently don't work.
4037
4038 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4039
4040 Some fixes and improvements for desktop frame restoration.
4041 It is still experimental and disabled by default.
4042 * desktop.el (desktop--save-windows): Put the selected frame at
4043 the head of the list.
4044 (desktop--make-full-frame): New function.
4045 (desktop--restore-windows): Try to re-select the frame that was
4046 selected upon saving. Do not abort if some frames fail to restore,
4047 just show an error message and continue. Set up maximized frames
4048 so they have default non-maximized dimensions.
4049
4050 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4051
4052 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4053 Don't start heredoc inside a string or comment.
4054
4055 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4056
4057 * bindings.el (visual-order-cursor-movement): New defcustom.
4058 (right-char, left-char): Provide visual-order cursor motion by
4059 calling move-point-visually. Update the doc strings.
4060
4061 2013-06-28 Kenichi Handa <handa@gnu.org>
4062
4063 * international/mule.el (define-coding-system): New coding system
4064 properties :inhibit-null-byte-detection,
4065 :inhibit-iso-escape-detection, and :prefer-utf-8.
4066 (set-buffer-file-coding-system): If :charset-list property of
4067 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4068 appropriate for setting.
4069
4070 * international/mule-cmds.el (select-safe-coding-system):
4071 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4072 multibyte characters, return utf-8 (or one of its siblings).
4073
4074 * international/mule-conf.el (prefer-utf-8): New coding system.
4075 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4076 files.
4077
4078 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4079
4080 * net/shr.el (shr-render-region): New function.
4081
4082 * net/eww.el: Autoload `eww-browse-url'.
4083
4084 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4085
4086 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4087 Adapt to `package-desc-version' being a list.
4088 Use `package--ac-desc-version' to retrieve version from a package
4089 archive element.
4090
4091 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4092
4093 New experimental feature to save&restore window and frame setup.
4094 * desktop.el (desktop-save-windows): New defcustom.
4095 (desktop--saved-states): New var.
4096 (desktop--excluded-frame-parameters): New defconst.
4097 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4098 (desktop--restore-windows, desktop--save-windows): New functions.
4099 (desktop-save): Call `desktop--save-windows'.
4100 (desktop-read): Call `desktop--restore-windows'.
4101
4102 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4103
4104 * net/shr.el (add-face-text-property): Remove compat definition.
4105
4106 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4107
4108 * info.el (Info-try-follow-nearest-node): Move search for footnote
4109 above search for node name to prevent missing a footnote (bug#14717).
4110
4111 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4112
4113 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4114
4115 2013-06-27 Leo Liu <sdl.web@gmail.com>
4116
4117 * net/eww.el (eww-read-bookmarks): Check file size.
4118
4119 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4120
4121 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4122 advice--pending if newdef is nil or an autoload (bug#13820).
4123 (advice-mapc): New function.
4124
4125 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4126
4127 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4128 probably.
4129 (eww-mode-map): Add a menu bar.
4130 (eww-add-bookmark): New command.
4131 (eww-bookmark-mode): New mode and commands.
4132 (eww-add-bookmark): Remove newlines from the title.
4133 (eww-bookmark-browse): Don't bug out if it's the only window.
4134
4135 2013-06-26 Glenn Morris <rgm@gnu.org>
4136
4137 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4138 (hfy-size): Handle ttys. (Bug#14668)
4139
4140 * info-xref.el: Update for Texinfo 5 change in *note format.
4141 (info-xref-node-re, info-xref-note-re): New constants.
4142 (info-xref-check-buffer): Use info-xref-note-re.
4143
4144 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4147
4148 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4149 nil terminate the loop (bug#14718).
4150
4151 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4152
4153 * net/eww.el: Rework history traversal. When going forward/back,
4154 put these actions into the history, too, so that they can be
4155 replayed.
4156 (eww-render): Move the history reset to the correct buffer.
4157
4158 2013-06-25 Juri Linkov <juri@jurta.org>
4159
4160 * files-x.el (modify-dir-local-variable): Change the header comment
4161 in the file with directory local variables. (Bug#14692)
4162
4163 * files-x.el (read-file-local-variable-value): Add `default'.
4164 (Bug#14710)
4165
4166 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4167
4168 * net/eww.el (eww-make-unique-file-name): Create a unique file
4169 name before saving to entering `y' accidentally asynchronously.
4170
4171 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4172
4173 * net/eww.el (eww-download): New command and keystroke.
4174
4175 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4176
4177 * net/eww.el (eww-copy-page-url): Change name of command.
4178
4179 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4180 be more consistent with Info and dired.
4181
4182 * net/eww.el (eww-mode-map): Ditto.
4183
4184 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4187 packages from archives.
4188 (package-archive-contents): Change format; include obsolete packages.
4189 (package-desc): Use `dir' to mark builtin packages.
4190 (package--from-builtin): Set the `dir' field to `builtin'.
4191 (generated-autoload-file, version-control): Declare.
4192 (package-compute-transaction): Change first arg and return value to be
4193 lists of package-descs. Adjust to new package-archive-contents format.
4194 (package--add-to-archive-contents): Adjust to new
4195 package-archive-contents format.
4196 (package-download-transaction): Arg is now a list of package-descs.
4197 (package-install): If `pkg' is a package name, pass it as
4198 a requirement, so it is subject to the usual (e.g. disabled) checks.
4199 (describe-package): Accept package-desc as well.
4200 (describe-package-1): Describe a specific package-desc. Add links to
4201 other package-descs for the same package name.
4202 (package-menu-describe-package): Pass the actual package-desc.
4203 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4204 works correctly.
4205 (package-desc-status): New function.
4206 (package-menu--refresh): New function, extracted
4207 from package-menu--generate.
4208 (package-menu--generate): Use it.
4209 (package-delete): Update package-alist.
4210 (package-menu-execute): Don't call package-initialize.
4211
4212 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4213 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4214 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4215 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4216 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4217 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4218
4219 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4220
4221 * window.el (window--state-get-1): Workaround for bug#14527.
4222 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4223
4224 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4225
4226 * net/eww.el (eww-back-url): Implement the history by stashing all
4227 the data into a list.
4228 (eww-forward-url): Allow going forward in the history, too.
4229
4230 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4233 for values and use read--expression for expressions (bug#14710).
4234 (read-file-local-variable): Avoid setq.
4235 (read-file-local-variable-mode): Use minor-mode-list.
4236
4237 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4238
4239 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4240 for DOI URLs.
4241
4242 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4243
4244 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4245 Update imenu-support when dialect changes.
4246
4247 2013-06-25 Leo Liu <sdl.web@gmail.com>
4248
4249 * ido.el (ido-read-internal): Allow forward slash on windows.
4250
4251 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4252
4253 * net/eww.el (eww): Start of strings is \\`, not ^.
4254
4255 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4256
4257 * net/shr.el (shr-browse-url): Fix interactive spec.
4258
4259 * net/eww.el (eww): Add a trailing slash to domain names.
4260
4261 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4264
4265 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4266
4267 * net/shr.el (shr-browse-url): Use an external browser if given a
4268 prefix.
4269
4270 * net/eww.el (eww-external-browser): Move to shr.
4271
4272 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4273
4274 * net/eww.el (eww): Work more correctly for file: URLs.
4275 (eww-detect-charset): Allow quoted charsets.
4276 (eww-yank-page-url): New command and keystroke.
4277
4278 2013-06-24 Daiki Ueno <ueno@gnu.org>
4279
4280 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4281 file name of gpg executable.
4282 (epg-context-program): New function.
4283 (epg-context-home-directory): New function.
4284 (epg-context-set-program): New function.
4285 (epg-context-set-home-directory): New function.
4286 (epg--start): Use `epg-context-program' instead of
4287 'epg-gpg-program'.
4288 (epg--list-keys-1): Likewise.
4289
4290 2013-06-24 Leo Liu <sdl.web@gmail.com>
4291
4292 * ido.el (ido-read-internal): Fix bug#14620.
4293
4294 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4295
4296 * faces.el (face-documentation): Simplify.
4297 (read-face-attribute, tty-find-type, x-resolve-font-name):
4298 Use `string-match-p'.
4299 (list-faces-display): Use `string-match-p'. Simplify.
4300 (face-spec-recalc): Check face to avoid face alias loops.
4301 (read-color): Use `string-match-p' and non-capturing parenthesis.
4302
4303 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4304
4305 * net/shr.el (shr-rescale-image): Use the new
4306 :max-width/:max-height functionality.
4307
4308 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4309
4310 * net/eww.el (eww-search-prefix): New variable.
4311 (eww): Use it.
4312 (eww-external-browser): New variable.
4313 (eww-mode-map): New keystroke.
4314 (eww-browse-with-external-browser): New command.
4315
4316 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4317
4318 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4319
4320 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4321 Don't skip aligning the next header field when padding is 0;
4322 otherwise, field width is not respected unless the title is as
4323 wide as the field.
4324
4325 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * emacs-lisp/package.el (package-el-version): Remove.
4328 (package-process-define-package): Fix inf-loop.
4329 (package-install): Allow symbols as arguments again.
4330
4331 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4332
4333 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4334 add some more keyword-like methods.
4335 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4336
4337 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4338
4339 * bs.el (bs-buffer-show-mark): Make defvar-local.
4340 (bs-mode): Use setq-local.
4341
4342 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4343 (emacs-lock--try-unlocking): Make defvar-local.
4344
4345 2013-06-22 Glenn Morris <rgm@gnu.org>
4346
4347 * play/cookie1.el (cookie-apropos): Minor simplification.
4348
4349 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4350
4351 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4352
4353 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4354 `regexp-opt', it breaks the build during dumping.
4355
4356 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4357
4358 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4359 Highlight keyword-like methods on Kernel and Module with
4360 font-lock-builtin-face.
4361 (auto-mode-alist): Consolidate different entries into one regexp
4362 and add more *file-s.
4363
4364 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4365
4366 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4367
4368 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4369 (diary-entry): Use it in the action of this button type instead of
4370 diary-goto-entry.
4371
4372 * calendar/todo-mode.el: New version.
4373 (todo-add-category): Append new category to end of file and give
4374 it the highest number, instead of putting it at the beginning and
4375 giving it 0. Incorporate noninteractive functionality.
4376 (todo-forward-category): Adapt to 1-based category numbering.
4377 Allow skipping over archived categories.
4378 (todo-backward-category): Derive from todo-forward-category.
4379 (todo-backward-item, todo-forward-item): Make noninteractive and
4380 delegate interactive part to new commands. Make sensitive to done items.
4381 (todo-categories): Make value an alist of category names and
4382 vectors of item counts.
4383 (todo-category-beg): Make a defconst.
4384 (todo-category-number): Use 1 instead of 0 as initial value.
4385 (todo-category-select): Make sensitive to overlays, optional item
4386 highlighting and done items.
4387 (todo-delete-item): Make sensitive to overlays and marked and done items.
4388 (todo-edit-item): Make sensitive to overlays and editing of
4389 date/time header optional. Add format checks.
4390 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4391 no-op if point is not on an item. Advertise using todo-edit-quit.
4392 (todo-edit-mode): Make sensitive to new format, font-locking, and
4393 multiple todo files.
4394 (todo-insert-item, todo-insert-item-here): Derive from
4395 todo-basic-insert-item and extend functionality.
4396 (todo-item-end, todo-item-start): Make sensitive to done items.
4397 (todo-item-string): Don't return text properties. Restore point.
4398 (todo-jump-to-category): Make sensitive to multiple todo files and
4399 todo archives. Use extended category completion.
4400 (todo-lower-item, todo-raise-item): Rename to *-priority and
4401 derive from todo-set-item-priority.
4402 (todo-mode): Derive from special-mode. Make sensitive to new
4403 format, font-locking and multiple todo files. Make read-only.
4404 (todo-mode-map): Don't suppress digit keys, so they can supply
4405 prefix arguments. Add many new key bindings.
4406 (todo-prefix): Insert as an overlay instead of file text.
4407 Change semantics from diary date expression to purely visual mark.
4408 (todo-print): Rename to todo-print-buffer. Make buffer display
4409 features printable. Remove option to restrict number of items
4410 printed. Add option to print to file.
4411 (todo-print-function): Rename to todo-print-buffer-function.
4412 (todo-quit): Extend to handle exiting new todo modes.
4413 (todo-remove-item): Make sensitive to overlays.
4414 (todo-save): Extend to buffers of filtered items.
4415 (todo-show): Make sensitive to done items, multiple todo files and
4416 new todo modes. Offer to convert legacy todo file before creating
4417 first new todo file.
4418 (todo-show-priorities): Rename to todo-top-priorities.
4419 Change semantics of value 0.
4420 (todo-top-priorities): Rename to todo-filter-top-priorities,
4421 derive from todo-filter-items and extend functionality.
4422 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4423 and extend functionality to other types of filtered items.
4424 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4425 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4426 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4427 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4428 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4429 (todo-edit-mode-hook, todo-entry-prefix-function)
4430 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4431 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4432 (todo-initials, todo-insert-threshold, todo-item-string-start)
4433 (todo-line-string, todo-menu, todo-mode-hook)
4434 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4435 (todo-print-priorities, todo-remove-separator)
4436 (todo-save-top-priorities-too, todo-string-count-lines)
4437 (todo-string-multiline-p, todo-time-string-format)
4438 (todo-tmp-buffer-name): Remove.
4439 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4440 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4441 (todo-edit-category-diary-inclusion)
4442 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4443 (todo-edit-file, todo-edit-item-date-day)
4444 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4445 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4446 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4447 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4448 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4449 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4450 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4451 (todo-filter-top-priorities-multifile, todo-find-archive)
4452 (todo-find-filtered-items-file, todo-go-to-source-item)
4453 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4454 (todo-jump-to-archive-category, todo-lower-category)
4455 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4456 (todo-move-category, todo-move-item, todo-next-button)
4457 (todo-next-item, todo-padded-string, todo-powerset)
4458 (todo-previous-button, todo-previous-item)
4459 (todo-print-buffer-to-file, todo-raise-category)
4460 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4461 (todo-set-category-number, todo-set-item-priority)
4462 (todo-set-top-priorities-in-category)
4463 (todo-set-top-priorities-in-file, todo-show-categories-table)
4464 (todo-sort-categories-alphabetically-or-numerically)
4465 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4466 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4467 (todo-toggle-item-header, todo-toggle-item-highlighting)
4468 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4469 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4470 (todo-unarchive-items, todo-unmark-category): New commands.
4471 (todo-absolute-file-name, todo-add-to-buffer-list)
4472 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4473 (todo-basic-insert-item, todo-category-completions)
4474 (todo-category-number, todo-category-string-matcher-1)
4475 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4476 (todo-check-format, todo-clear-matches)
4477 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4478 (todo-current-category, todo-date-string-matcher)
4479 (todo-define-insertion-command, todo-diary-expired-matcher)
4480 (todo-diary-goto-entry, todo-diary-item-p)
4481 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4482 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4483 (todo-done-item-section-p, todo-done-separator)
4484 (todo-done-string-matcher, todo-files, todo-filter-items)
4485 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4486 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4487 (todo-insert-category-line, todo-insert-item-from-calendar)
4488 (todo-insert-sort-button, todo-insert-with-overlays)
4489 (todo-insertion-command-name, todo-insertion-key-bindings)
4490 (todo-label-to-key, todo-longest-category-name-length)
4491 (todo-make-categories-list, todo-mode-external-set)
4492 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4493 (todo-modes-set-3, todo-multiple-filter-files)
4494 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4495 (todo-read-category, todo-read-date, todo-read-dayname)
4496 (todo-read-file-name, todo-read-time)
4497 (todo-reevaluate-category-completions-files-defcustom)
4498 (todo-reevaluate-default-file-defcustom)
4499 (todo-reevaluate-filelist-defcustoms)
4500 (todo-reevaluate-filter-files-defcustom)
4501 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4502 (todo-reset-done-separator, todo-reset-done-separator-string)
4503 (todo-reset-done-string, todo-reset-global-current-todo-file)
4504 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4505 (todo-reset-prefix, todo-set-categories)
4506 (todo-set-date-from-calendar, todo-set-show-current-file)
4507 (todo-set-top-priorities, todo-short-file-name)
4508 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4509 (todo-total-item-counts, todo-update-buffer-list)
4510 (todo-update-categories-display, todo-update-categories-sexp)
4511 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4512 New functions.
4513 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4514 New major modes.
4515 (todo-categories, todo-display, todo-edit, todo-faces)
4516 (todo-filtered): New defgroups.
4517 (todo-archived-only, todo-button, todo-category-string, todo-date)
4518 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4519 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4520 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4521 (todo-add-item-if-new-category, todo-always-add-time-string)
4522 (todo-categories-align, todo-categories-archived-label)
4523 (todo-categories-category-label, todo-categories-diary-label)
4524 (todo-categories-done-label, todo-categories-number-separator)
4525 (todo-categories-todo-label, todo-categories-totals-label)
4526 (todo-category-completions-files, todo-completion-ignore-case)
4527 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4528 (todo-done-separator-string, todo-done-string)
4529 (todo-files-function, todo-filter-done-items, todo-filter-files)
4530 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4531 (todo-initial-category, todo-initial-file, todo-item-mark)
4532 (todo-legacy-date-time-regexp, todo-mode-line-function)
4533 (todo-nondiary-marker, todo-number-prefix)
4534 (todo-print-buffer-function, todo-show-current-file)
4535 (todo-show-done-only, todo-show-first, todo-show-with-done)
4536 (todo-skip-archived-categories, todo-top-priorities-overrides)
4537 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4538 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4539 New defcustoms.
4540 (todo-category-done, todo-date-pattern, todo-date-string-start)
4541 (todo-diary-items-buffer, todo-done-string-start)
4542 (todo-filtered-items-buffer, todo-item-start)
4543 (todo-month-abbrev-array, todo-month-name-array)
4544 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4545 (todo-top-priorities-buffer): New defconsts.
4546 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4547 (todo-categories-with-marks, todo-category-string-face)
4548 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4549 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4550 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4551 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4552 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4553 (todo-font-lock-keywords, todo-global-current-todo-file)
4554 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4555 (todo-insertion-commands-args)
4556 (todo-insertion-commands-args-genlist)
4557 (todo-insertion-commands-names, todo-insertion-map)
4558 (todo-key-bindings-t, todo-key-bindings-t+a)
4559 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4560 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4561 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4562 (todo-visited): New variables.
4563
4564 2013-06-21 Glenn Morris <rgm@gnu.org>
4565
4566 * play/cookie1.el (cookie-apropos): Add optional display argument.
4567 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4568 (psychoanalyze-pinhead): Use cookie-doctor.
4569
4570 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4571
4572 * emacs-lisp/package.el (tar-get-file-descriptor)
4573 (tar--extract): Declare.
4574
4575 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4576
4577 Extend flymake's warning predicate to be a function (bug#14217).
4578 * progmodes/flymake.el (flymake-warning-predicate): New.
4579 (flymake-parse-line): Use it.
4580 (flymake-warning-re): Make obsolete alias to
4581 `flymake-warning-predicate'.
4582
4583 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4586 (package-obsolete-list): Remove.
4587 (package-activate): Remove min-version argument. Add `force' argument.
4588 Adjust to new package-alist format.
4589 (package-mark-obsolete): Remove.
4590 (package-unpack): Force reload of the package's autoloads.
4591 (package-installed-p): Check builtins if the installed package is not
4592 recent enough.
4593 (package-initialize): Don't reset package-obsolete-list.
4594 Don't specify which package version to activate.
4595 (package-process-define-package, describe-package-1)
4596 (package-menu--generate): Adjust to new package-alist format.
4597
4598 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4599
4600 * allout-widgets.el (allout-widgets-mode-off)
4601 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4602 (allout-widgets-post-command-business)
4603 (allout-widgets-after-copy-or-kill-function)
4604 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4605 (allout-decorate-item-and-context)
4606 (allout-graphics-modification-handler): Fix typos in docstrings.
4607 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4608
4609 * cmuscheme.el (scheme-start-file): Doc fix.
4610 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4611 (scheme-input-filter): Use `string-match-p'.
4612
4613 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4614
4615 * dired-x.el: Use Dired consistently in docstrings.
4616
4617 * dired.el: Use Dired consistently in docstrings.
4618 (dired-readin, dired-mode): Use `setq-local'.
4619 (dired-switches-alist): Make defvar-local.
4620 (dired-buffers-for-dir): Use `zerop'.
4621 (dired-safe-switches-p, dired-switches-escape-p)
4622 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4623 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4624 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4625 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4626 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4627 (dired-toggle-marks, dired-mark-files-containing-regexp)
4628 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4629 (dired-flag-auto-save-files, dired-flag-backup-files):
4630 Use `looking-at-p'.
4631 (dired-mark-files-regexp, dired-build-subdir-alist):
4632 Use `string-match-p', `looking-at-p'.
4633
4634 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4635 (direct-print-region-helper): Use `string-match-p'.
4636
4637 2013-06-21 Leo Liu <sdl.web@gmail.com>
4638
4639 * comint.el (comint-redirect-results-list-from-process):
4640 Fix infinite loop.
4641
4642 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
4644 * net/eww.el (eww-update-header-line-format): Quote % characters.
4645
4646 2013-06-21 Glenn Morris <rgm@gnu.org>
4647
4648 * play/cookie1.el (cookie): New custom group.
4649 (cookie-file): New option.
4650 (cookie-check-file): New function.
4651 (cookie): Make it interactive. Make start and end messages optional.
4652 Interactively, display the result. Default to cookie-file.
4653 (cookie-insert): Default to cookie-file.
4654 (cookie-snarf): Make start and end messages optional.
4655 Default to cookie-file. Use with-temp-buffer.
4656 (cookie-read): Rename from read-cookie.
4657 Make start and end messages optional. Default to cookie-file.
4658 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4659 Do not autoload it.
4660 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4661 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4662
4663 2013-06-21 Leo Liu <sdl.web@gmail.com>
4664
4665 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4666
4667 2013-06-21 Glenn Morris <rgm@gnu.org>
4668
4669 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4670
4671 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4672 Daniel Hackney <dan@haxney.org>
4673
4674 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4675 Consolidate the single-file vs tarball code.
4676 (package-desc-suffix): New function.
4677 (package-desc-full-name): Don't bother inlining it.
4678 (package-load-descriptor): Return the new package-desc.
4679 (package-mark-obsolete): Remove unused arg `package'.
4680 (package-unpack): Make it work for single files as well.
4681 Make it update package-alist.
4682 (package--make-autoloads-and-stuff): Rename from
4683 package--make-autoloads-and-compile. Don't compile any more.
4684 (package--compile): New function.
4685 (package-generate-description-file): New function, extracted from
4686 package-unpack-single.
4687 (package-unpack-single): Remove.
4688 (package--with-work-buffer): Add indentation and debugging info.
4689 (package-download-single): Remove.
4690 (package-install-from-archive): Rename from package-download-tar, make
4691 it take a pkg-desc, and make it work for single files as well.
4692 (package-download-transaction): Simplify.
4693 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4694 external tar program.
4695 (package-install-from-buffer): Remove `pkg-desc' argument.
4696 Use package-tar-file-info for tar-mode buffers.
4697 (package-install-file): Simplify accordingly.
4698 (package-archive-base): Change to take a pkg-desc.
4699 * tar-mode.el (tar--check-descriptor): New function, extracted from
4700 tar-get-descriptor.
4701 (tar-get-descriptor): Use it.
4702 (tar-get-file-descriptor): New function.
4703 (tar--extract): New function, extracted from tar-extract.
4704 (tar--extract): Use it.
4705 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4706 case the summary uses non-ascii. Adjust to new calling convention of
4707 package-tar-file-info.
4708
4709 2013-06-21 Leo Liu <sdl.web@gmail.com>
4710
4711 * comint.el (comint-redirect-results-list-from-process):
4712 Fix random delay. (Bug#14681)
4713
4714 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4715
4716 * profiler.el (profiler-format-number): Use log, not log10.
4717
4718 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4719
4720 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4721
4722 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4725 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4726 yet available.
4727 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4728 (AUTOGENEL): ... here.
4729 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4730 (cl--defsubst-expand): Use it.
4731
4732 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4733
4734 * subr.el (log10): Move here from C code, and declare as obsolete.
4735 All uses of (log10 X) replaced with (log X 10).
4736
4737 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4738
4739 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4740 Declare with `defvar-local'.
4741 (tabulated-list-use-header-line, tabulated-list-entries)
4742 (tabulated-list-padding, tabulated-list-printer)
4743 (tabulated-list-sort-key): Declare with `defvar-local'.
4744 (tabulated-list-init-header, tabulated-list-print-fake-header):
4745 Use `setq-local'.
4746
4747 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4748
4749 * arc-mode.el (archive-mode): Add `archive-write-file' to
4750 `write-contents-functions' also for remote files. (Bug#14652)
4751
4752 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * cus-edit.el (custom-commands): Fix typos.
4755 (custom-display): Fix tooltip text.
4756 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4757 Fix typos in docstrings.
4758 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4759 (custom-unlispify-menu-entry, custom-magic-value-create)
4760 (custom-add-see-also, custom-group-value-create): Use ?\s.
4761 (custom-guess-type, customize-apropos, editable-field)
4762 (custom-face-value-create): Use `string-match-p'.
4763 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4764
4765 * custom.el (custom-load-symbol): Use `string-match-p'.
4766
4767 * ansi-color.el: Convert to lexical binding.
4768 (ansi-colors): Fix URL.
4769 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4770 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4771 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4772
4773 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4776
4777 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4778
4779 2013-06-19 Tom Tromey <tromey@redhat.com>
4780
4781 * net/eww.el (eww-top-url): Remove.
4782 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4783 (eww-render): Set new variables. Don't set eww-top-url.
4784 (eww-handle-link): Handle "prev", "home", and "contents".
4785 Downcase the rel text.
4786 (eww-top-url): Choose best top URL.
4787
4788 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4789
4790 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4791 relying in widget.el. Using widget.el leads to too many
4792 user interface inconsistencies.
4793 (eww-self-insert): Implement entering commands in text fields.
4794 (eww-process-text-input): New function to make text input field editing
4795 work.
4796 (eww-submit): Rewrite to use the new-style form methods.
4797 (eww-select-display): Display the correct selected item.
4798 (eww-change-select): Implement changing the select value.
4799 (eww-toggle-checkbox): Implement radio/checkboxes.
4800 (eww-update-field): Fix compilation error.
4801 (eww-tag-textarea): Implement <textarea>.
4802
4803 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4804 we don't shadow mode-specific bindings.
4805
4806 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4807 nothing to push.
4808
4809 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4810
4811 2013-06-19 Glenn Morris <rgm@gnu.org>
4812
4813 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4814
4815 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4818 not needed.
4819
4820 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4821
4822 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4823
4824 * net/browse-url.el (browse-url-browser-function):
4825 `eww-browse-url' has the right calling signature, `eww' does not.
4826
4827 2013-06-19 Glenn Morris <rgm@gnu.org>
4828
4829 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4830 Only eval autoloaded macros.
4831 (byte-compile-autoload): Only give the macro warning for macros.
4832
4833 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4834 (ps-underlined-faces): Declare.
4835
4836 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4837 (speedbar-add-supported-extension): Declare.
4838
4839 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4840 Don't include a date stamp in the header of the generated file;
4841 it leads to needless differences between output files.
4842
4843 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4844
4845 * net/secrets.el (secrets-struct-secret-content-type):
4846 Replace check of introspection data by a test call of "CreateItem".
4847 Some servers do not offer introspection.
4848
4849 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * electric.el (electric-pair-mode): Improve interaction with
4852 electric-layout-mode.
4853 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4854 (electric-pair-syntax): Use text-mode-syntax-table in comments
4855 and strings.
4856 (electric-pair--insert): New function.
4857 (electric-pair-post-self-insert-function): Use it and
4858 electric--after-char-pos.
4859
4860 2013-06-19 Leo Liu <sdl.web@gmail.com>
4861
4862 * progmodes/octave.el (octave-help): Fix regexp.
4863
4864 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865
4866 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4867 (shr-table-horizontal-line): Allow nil as a value, and change the
4868 default.
4869 (shr-insert-table-ruler): Respect the nil value.
4870
4871 2013-06-18 Tom Tromey <tromey@barimba>
4872
4873 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4874 New defvars.
4875 (eww-open-file): New defun.
4876 (eww-render): Initialize new variables.
4877 (eww-display-html): Handle "link" and "a".
4878 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4879 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4880 (eww-back-url): Rename from eww-previous-url.
4881 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4882 New defuns.
4883
4884 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4885
4886 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4887 Distinguish ternary operator tokens from slash symbol and slash
4888 char literal.
4889
4890 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4891
4892 Convert symbol prettification into minor mode and global minor mode.
4893
4894 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4895 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4896 (prettify-symbols--keywords): Rename from
4897 `prog-prettify-symbols-alist' and make a local defvar.
4898 (prettify-symbols--compose-symbol): Rename from
4899 `prog--prettify-font-lock-compose-symbol'.
4900 (prettify-symbols--make-keywords): Rename from
4901 `prog-prettify-font-lock-symbols-keywords' and simplify.
4902 (prog-prettify-install): Remove.
4903 (prettify-symbols-mode): New minor mode, based on
4904 `prog-prettify-install'.
4905 (turn-on-prettify-symbols-mode): New function.
4906 (global-prettify-symbols-mode): New globalized minor mode.
4907
4908 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4909 * progmodes/cfengine.el (cfengine3-mode):
4910 * progmodes/perl-mode.el (perl-mode): Don't call
4911 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4912
4913 2013-06-18 Juri Linkov <juri@jurta.org>
4914
4915 * files-x.el (modify-file-local-variable-message): New function.
4916 (modify-file-local-variable)
4917 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4918 and call `modify-file-local-variable-message' when it's non-nil.
4919 (add-file-local-variable, delete-file-local-variable)
4920 (add-file-local-variable-prop-line)
4921 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4922 and use it. (Bug#9820)
4923
4924 2013-06-18 Juri Linkov <juri@jurta.org>
4925
4926 * emulation/vi.el (vi-shell-op):
4927 * emulation/vip.el (vip-execute-com, ex-command):
4928 * emulation/viper-cmd.el (viper-exec-bang):
4929 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4930 the call of `shell-command-on-region'. (Bug#14637)
4931
4932 * simple.el (shell-command-on-region): Doc fix.
4933
4934 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4937 (bug#14633).
4938
4939 2013-06-18 Glenn Morris <rgm@gnu.org>
4940
4941 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4942
4943 * newcomment.el (comment-search-forward, comment-search-backward):
4944 Doc fix. (Bug#14376)
4945
4946 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4947
4948 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4949 (buffer-face-mode-invoke): Doc fix.
4950
4951 2013-06-18 Matthias Meulien <orontee@gmail.com>
4952
4953 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4954 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4955
4956 2013-06-18 Glenn Morris <rgm@gnu.org>
4957
4958 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4959 Replace obsolete function generic-make-keywords with its expansion.
4960
4961 * progmodes/python.el (ffap-alist): Declare.
4962
4963 * textmodes/reftex.el (bibtex-mode-map): Declare.
4964
4965 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4966
4967 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4968 (package-unpack, package-unpack-single): Return the pkg-dir.
4969 (package-download-transaction): Use it to update package-alist.
4970
4971 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4972
4973 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4974 possible choice.
4975
4976 2013-06-17 Juri Linkov <juri@jurta.org>
4977
4978 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4979
4980 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4981
4982 * emacs-lisp/package.el (package-load-descriptor):
4983 Remove `with-syntax-table' call, `read' doesn't need it.
4984 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4985
4986 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * startup.el (command-line): Expand package name returned by
4989 `package--description-file' (bug#14639).
4990
4991 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4992
4993 * emacs-lisp/package.el (package-load-descriptor): Do not call
4994 `emacs-lisp-mode', just use its syntax table.
4995
4996 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4997
4998 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4999 `font-lock-extra-managed-props' if any prettifying keyword is added.
5000 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5001 (prog-mode): Use `setq-local'.
5002
5003 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * international/characters.el (standard-case-table): Set syntax of ?»
5006 and ?« to punctuation.
5007
5008 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5011 Save relevant match data before calling `syntax-ppss' (bug#14595).
5012
5013 2013-06-15 Juri Linkov <juri@jurta.org>
5014
5015 * files-x.el (modify-file-local-variable-prop-line): Add local
5016 variables to the end of the existing comment on the first line.
5017 Use `file-auto-mode-skip' to skip interpreter magic line,
5018 and also skip XML declaration.
5019
5020 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * startup.el (package--builtin-versions): New var.
5023 (package-subdirectory-regexp): Remove.
5024 (package--description-file): Hard code its value instead.
5025
5026 * emacs-lisp/package.el: Don't activate packages older than builtin.
5027 (package-obsolete-list): Rename from package-obsolete-alist, and make
5028 it into a simple list of package-desc.
5029 (package-strip-version): Remove.
5030 (package-built-in-p): Use package--builtin-versions.
5031 (package-mark-obsolete): Simplify.
5032 (package-process-define-package): Mark it obsolete if older than the
5033 builtin version.
5034 (package-handle-response): Use line-end-position.
5035 (package-read-archive-contents, package--download-one-archive):
5036 Simplify.
5037 (package--add-to-archive-contents): Skip if older than the builtin or
5038 installed version.
5039 (package-menu-describe-package): Fix last change.
5040 (package-list-unversioned): New var.
5041 (package-menu--generate): Use it.
5042
5043 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5044 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5045 (autoload-builtin-package-versions): New variable.
5046 (autoload-generate-file-autoloads): Use them.
5047 Remove the list of autoloaded functions/macros from the
5048 (autoload...) comments.
5049
5050 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5051
5052 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5053
5054 * simple.el (line-move-partial): Don't jump to the next screen
5055 line as soon as it becomes visible. Instead, continue enlarging
5056 the vscroll until the portion of a tall screen line that's left on
5057 display is about the height of the frame's default font.
5058 (Bug#14567)
5059
5060 2013-06-15 Glenn Morris <rgm@gnu.org>
5061
5062 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5063 compilation-error-regexp-alist void, or local while let-bound.
5064
5065 * progmodes/make-mode.el (makefile-mode-syntax-table):
5066 Treat "=" as punctuation. (Bug#14614)
5067
5068 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5069
5070 * help-fns.el (describe-variable):
5071 Add extra line for permanent-local variables.
5072
5073 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5074
5075 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5076 Add export, import, library. (Bug#9164)
5077 (library): Set indent function.
5078
5079 2013-06-14 Glenn Morris <rgm@gnu.org>
5080
5081 * term/xterm.el (xterm--query):
5082 Stop after first matching handler. (Bug#14615)
5083
5084 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5085
5086 Add support for dired in saveplace.
5087 * dired.el (dired-initial-position-hook): New variable.
5088 (dired-initial-position): Call hook to place cursor position.
5089 * saveplace.el (save-place-to-alist): Add dired position.
5090 (save-place-dired-hook): New function.
5091
5092 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5095 through a symbol rather than letrec.
5096
5097 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5098 (package-desc): Add `dir' field.
5099 (package-desc-full-name): New function.
5100 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5101 (package-maybe-load-descriptor): Remove.
5102 (package-load-all-descriptors): Just call package-load-descriptor.
5103 (package--disabled-p): New function.
5104 (package-desc-vers, package-desc-doc): Remove aliases.
5105 (package--dir): Remove function.
5106 (package-activate): Check if a package is disabled.
5107 (package-process-define-package): New function, extracted from
5108 define-package.
5109 (define-package): Turn into a place holder.
5110 (package-unpack-single, package-tar-file-info):
5111 Use package--description-file.
5112 (package-compute-transaction): Use package--disabled-p.
5113 (package-download-transaction): Don't call
5114 package-maybe-load-descriptor since they're all loaded anyway.
5115 (package-install): Change argument to be a pkg-desc.
5116 (package-delete): Use a single pkg-desc argument.
5117 (describe-package-1): Use package-desc-dir instead of package--dir.
5118 Use package-desc property instead of package-symbol.
5119 (package-install-button-action): Adjust accordingly.
5120 (package--push): Rewrite.
5121 (package-menu--print-info): Adjust accordingly. Change the ID format
5122 to be a pkg-desc.
5123 (package-menu-describe-package, package-menu-get-status)
5124 (package-menu--find-upgrades, package-menu-mark-upgrades)
5125 (package-menu-execute, package-menu--name-predicate):
5126 Adjust accordingly.
5127 * startup.el (package--description-file): New function.
5128 (command-line): Use it.
5129 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5130 Use package-desc-version.
5131
5132 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5133 (byte-compile-preprocess): Use it.
5134 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5135 can't quite recognize.
5136 (byte-compile-add-to-list): Remove.
5137 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5138 (cconv-closure-convert): Add assertion.
5139
5140 * emacs-lisp/map-ynp.el: Use lexical-binding.
5141 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5142 Factor out some repeated code.
5143
5144 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * subr.el (with-eval-after-load): New macro.
5147 (eval-after-load): Allow form to be a function.
5148 take advantage of lexical-binding.
5149 (do-after-load-evaluation): Use dolist and adjust to new format.
5150 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5151
5152 2013-06-13 Juri Linkov <juri@jurta.org>
5153
5154 * replace.el (perform-replace): Display "symbol " and other search
5155 modes from `isearch-message-prefix' in the *Help* buffer.
5156
5157 * isearch.el (isearch-query-replace): Add " symbol" and other
5158 possible search modes from `isearch-message-prefix' to the prompt.
5159 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5160 when reading a regexp to collect.
5161
5162 2013-06-13 Juri Linkov <juri@jurta.org>
5163
5164 * isearch.el (word-search-regexp): Match whitespace if the search
5165 string begins or ends in whitespace. The LAX arg is applied to
5166 both ends of the search string. Use `regexp-quote' and explicit
5167 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5168 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5169 boundaries are replaced with symbol boundaries, and characters
5170 between symbols match non-word non-symbol syntax. (Bug#14602)
5171
5172 2013-06-13 Juri Linkov <juri@jurta.org>
5173
5174 * isearch.el (isearch-del-char): Don't exceed the length of
5175 `isearch-string' by the prefix arg. (Bug#14563)
5176
5177 2013-06-13 Juri Linkov <juri@jurta.org>
5178
5179 * isearch.el (isearch-yank-word, isearch-yank-line)
5180 (isearch-char-by-name, isearch-quote-char)
5181 (isearch-printing-char, isearch-process-search-char):
5182 Add optional count prefix arg. (Bug#14563)
5183
5184 * international/isearch-x.el
5185 (isearch-process-search-multibyte-characters):
5186 Add optional count prefix arg.
5187
5188 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5191 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5192 lexical-binding.
5193
5194 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5195
5196 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5197
5198 2013-06-13 Glenn Morris <rgm@gnu.org>
5199
5200 * startup.el (tty-handle-args):
5201 Don't just discard "--" and anything after. (Bug#14608)
5202
5203 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5204
5205 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5206
5207 Implement changes in Secret Service API. Make it backward compatible.
5208 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5209 (secrets-create-item): Use it. Prefix properties with interface.
5210
5211 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5212
5213 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5214 (term-emulate-terminal): Respect term-suppress-hard-newline.
5215
5216 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5217
5218 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5219 Only remove a `thumb-file' overlay. (Bug#14548)
5220
5221 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5222
5223 * mail/reporter.el (reporter-submit-bug-report):
5224 Handle missing package-name. (Bug#14600)
5225
5226 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5227
5228 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5229 (reftex-citation-prompt, reftex-default-bibliography)
5230 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5231 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5232 (reftex-bib-sort-author, reftex-bib-sort-year)
5233 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5234 (reftex-extract-bib-entries-from-thebibliography)
5235 (reftex-get-bibkey-default, reftex-get-bib-names)
5236 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5237 (reftex-format-bib-entry, reftex-parse-bibitem)
5238 (reftex-format-bibitem, reftex-do-citation)
5239 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5240 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5241 (reftex-insert-bib-matches, reftex-format-citation)
5242 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5243 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5244 existing comments into docstrings.
5245
5246 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5247
5248 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5249
5250 2013-06-12 Andreas Schwab <schwab@suse.de>
5251
5252 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5253 for auto-save files.
5254
5255 2013-06-12 Glenn Morris <rgm@gnu.org>
5256
5257 * ido.el (ido-delete-ignored-files): Remove.
5258 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5259 Go back to calling ido-ignore-item-p directly.
5260
5261 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5262
5263 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5264
5265 * ido.el (ido-delete-ignored-files): New function,
5266 split from ido-make-file-list-1.
5267 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5268 (ido-make-file-list-1): Use ido-delete-ignored-files.
5269
5270 2013-06-12 Leo Liu <sdl.web@gmail.com>
5271
5272 * progmodes/octave.el (inferior-octave-startup)
5273 (inferior-octave-completion-table)
5274 (inferior-octave-track-window-width-change)
5275 (octave-eldoc-function-signatures, octave-help)
5276 (octave-find-definition): Use single quoted strings.
5277 (inferior-octave-startup-args): Change default value.
5278 (inferior-octave-startup): Do not hard code "-i" and
5279 "--no-line-editing".
5280 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5281 (inferior-octave-directory-tracker): Use it.
5282 (octave-goto-function-definition): Robustify.
5283 (octave-help): Support highlighting operators in 'See also'.
5284 (octave-find-definition): Find subfunctions only in Octave mode.
5285
5286 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * help-fns.el (help-fns--compiler-macro): If the handler function is
5289 named, then put a link to it.
5290 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5291 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5292 (cl-typep): Use it.
5293 (cl-eval-when): Simplify debug spec.
5294 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5295 compiler-macro function instead of setting `compiler-macro-file'.
5296
5297 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5298
5299 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5300 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5301
5302 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5303 Daniel Hackney <dan@haxney.org>
5304
5305 First part of Daniel Hackney's patch to package.el.
5306 * emacs-lisp/package.el: Use defstruct.
5307 (package-desc): New, main struct.
5308 (package--bi-desc, package--ac-desc): New structs, used to describe the
5309 format in external files.
5310 (package-desc-vers): Replace with package-desc-version accessor.
5311 (package-desc-doc): Replace with package-desc-summary accessor.
5312 (package-activate-1): Remove `package' arg since the pkg-vec now
5313 includes the name.
5314 (define-package): Use package-desc-from-define.
5315 (package-unpack-single): Change file-name arg to be a symbol.
5316 (package--add-to-archive-contents): Use package-desc-create and new
5317 accessor functions to package--ac-desc.
5318 (package-buffer-info, package-tar-file-info): Return a package-desc.
5319 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5320 arg to be a package-desc.
5321 (package-install-file): Adjust accordingly. Use \' to match EOS.
5322 (package--from-builtin): New function.
5323 (describe-package-1, package-menu--generate): Use it.
5324 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5325 (package-generate-autoloads): Idem and return the name of the file.
5326 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5327 Change pkg-info arg to be a package-desc.
5328 Use package-make-ac-desc.
5329 (package-upload-file): Use \' to match EOS.
5330 * finder.el (finder-compile-keywords): Use package-make-builtin.
5331
5332 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * vc/vc.el (vc-deduce-fileset): Change error message.
5335 (vc-read-backend): New function.
5336 (vc-next-action): Use it.
5337
5338 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5339
5340 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5341 (prolog-font-lock-keywords): Use regexp-opt instead.
5342 Don't manually highlight strings.
5343 (prolog-mode-variables): Simplify comment-start-skip.
5344 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5345
5346 * emacs-lisp/generic.el (generic--normalise-comments)
5347 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5348 (generic-mode-set-comments): Use them.
5349 (generic-bracket-support): Use setq-local.
5350 (generic-make-keywords-list): Declare obsolete.
5351
5352 2013-06-11 Glenn Morris <rgm@gnu.org>
5353
5354 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5355 Prettify after setting font-lock-defaults. (Bug#14574)
5356
5357 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * replace.el (query-replace, occur-read-regexp-defaults-function)
5360 (replace-search):
5361 * subr.el (declare-function, number-sequence, local-set-key)
5362 (substitute-key-definition, locate-user-emacs-file)
5363 (with-silent-modifications, split-string, eval-after-load):
5364 Fix typos, remove unneeded backslashes and reflow some docstrings.
5365
5366 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5369 default for Elisp files.
5370
5371 2013-06-11 Glenn Morris <rgm@gnu.org>
5372
5373 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5374 although define-derived-mode was doing this anyway. (Bug#14583)
5375
5376 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5377
5378 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5379 Fix make-variable-buffer-local call to refer to the correct variable.
5380
5381 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5382
5383 * eshell/em-term.el (eshell-visual-commands)
5384 (eshell-visual-subcommands, eshell-visual-options):
5385 Add summary line to docstrings. Add cross-references.
5386
5387 2013-06-10 Glenn Morris <rgm@gnu.org>
5388
5389 * epa.el (epa-read-file-name): New function. (Bug#14510)
5390 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5391
5392 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5393
5394 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5395 output redirection to be ignored with visual commands.
5396
5397 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5398
5399 * eshell/em-term.el (eshell-visual-command-p): New function.
5400 (eshell-term-initialize): Move long lambda to separate function
5401 eshell-visual-command-p.
5402 * eshell/em-dirs.el (eshell-dirs-initialise):
5403 * eshell/em-script.el (eshell-script-initialize):
5404 Add missing #' to lambda.
5405
5406 2013-06-08 Leo Liu <sdl.web@gmail.com>
5407
5408 * progmodes/octave.el (octave-add-log-current-defun): New function.
5409 (octave-mode): Set add-log-current-defun-function.
5410 (octave-goto-function-definition): Do not move point if not found.
5411 (octave-find-definition): Enhance to try subfunctions first.
5412
5413 2013-06-08 Glenn Morris <rgm@gnu.org>
5414
5415 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5416 (byte-compile-backward-char, byte-compile-backward-word):
5417 Improve previous change, to handle non-explicit nil.
5418
5419 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5422 (smie--opener/closer-at-point): New function.
5423 (smie--matching-block-data): Use it. Don't match from right after an
5424 opener or right before a closer. Obey smie-blink-matching-inners.
5425 Don't signal a mismatch for repeated inners like "switch..case..case".
5426
5427 2013-06-07 Leo Liu <sdl.web@gmail.com>
5428
5429 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5430 to t. (Bug#14303)
5431 (octave-function-header-regexp): Fix. (Bug#14570)
5432 (octave-help-mode-finish-hook, octave-help-mode-finish):
5433 Remove. Just use temp-buffer-show-hook.
5434
5435 * newcomment.el (comment-search-backward): Revert last change.
5436 (Bug#14434)
5437
5438 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5439
5440 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5441
5442 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5443 through xargs, to avoid failure due to MS-Windows limitations on
5444 command-line length.
5445
5446 2013-06-06 Glenn Morris <rgm@gnu.org>
5447
5448 * font-lock.el (lisp-font-lock-keywords-2):
5449 Treat user-error like error.
5450
5451 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5452 (byte-compile-backward-char, byte-compile-backward-word):
5453 Handle explicit nil arguments. (Bug#14565)
5454
5455 2013-06-05 Alan Mackenzie <acm@muc.de>
5456
5457 * isearch.el (isearch-allow-prefix): New user option.
5458 (isearch-other-meta-char): Don't exit isearch when a prefix
5459 argument is typed whilst `isearch-allow-prefix' is non-nil.
5460 (Bug#9706)
5461
5462 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * autorevert.el (auto-revert-notify-handler): Use memq.
5465 Hide assertion failure.
5466
5467 * skeleton.el: Use cl-lib.
5468 (skeleton-further-elements): Use defvar-local.
5469 (skeleton-insert): Use cl-progv.
5470
5471 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5472
5473 * progmodes/prog-mode.el (prog-prettify-symbols)
5474 (prog-prettify-install): Update docstrings.
5475
5476 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * simple.el: Move all the prog-mode code to prog-mode.el.
5479 * progmodes/prog-mode.el: New file.
5480 * loadup.el: Add prog-mode.el.
5481
5482 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5483
5484 * simple.el (prog-prettify-symbols): Add version.
5485 (prog-prettify-install): Add convenience function to prettify symbols.
5486
5487 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5488 (perl--augmented-font-lock-keywords-1)
5489 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5490 variables and use it.
5491
5492 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5493 (cfengine3-mode): Remove unneeded variable and use it.
5494
5495 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5496 (lisp--augmented-font-lock-keywords-1)
5497 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5498 Remove unneeded variables and use it.
5499
5500 2013-06-05 João Távora <joaotavora@gmail.com>
5501
5502 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5503 to point when opening the connection. (Bug#14380)
5504
5505 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * subr.el (load-history-regexp, load-history-filename-element)
5508 (eval-after-load, after-load-functions, do-after-load-evaluation)
5509 (eval-next-after-load, display-delayed-warnings)
5510 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5511 definition of save-match-data.
5512 (overriding-local-map): Remove accidental obsolescence declaration.
5513
5514 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5515
5516 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5517
5518 Generalize symbol prettify support to prog-mode and implement it
5519 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5520 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5521 (prog--prettify-font-lock-compose-symbol)
5522 (prog-prettify-font-lock-symbols-keywords): New variables and
5523 functions to support symbol prettification.
5524 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5525 (lisp--augmented-font-lock-keywords-1)
5526 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5527 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5528 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5529 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5530 Implement prettify of -> => :: strings.
5531 * progmodes/perl-mode.el (perl-prettify-symbols)
5532 (perl--font-lock-compose-symbol)
5533 (perl--font-lock-symbols-keywords): Move to prog-mode.
5534 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5535 (perl-font-lock-keywords-1)
5536 (perl-font-lock-keywords-2): Remove explicit prettify support.
5537 (perl--augmented-font-lock-keywords)
5538 (perl--augmented-font-lock-keywords-1)
5539 (perl--augmented-font-lock-keywords-2, perl-mode):
5540 Implement prettify support.
5541
5542 2013-06-05 Leo Liu <sdl.web@gmail.com>
5543
5544 Re-implement smie matching block highlight using
5545 show-paren-data-function. (Bug#14395)
5546 * emacs-lisp/smie.el (smie-matching-block-highlight)
5547 (smie--highlight-matching-block-overlay)
5548 (smie--highlight-matching-block-lastpos)
5549 (smie-highlight-matching-block)
5550 (smie-highlight-matching-block-mode): Remove.
5551 (smie--matching-block-data-cache): New variable.
5552 (smie--matching-block-data): New function.
5553 (smie-setup): Use smie--matching-block-data for
5554 show-paren-data-function.
5555
5556 * progmodes/octave.el (octave-mode-menu): Fix.
5557 (octave-find-definition): Skip garbage lines.
5558
5559 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 Fix compilation error with simultaneous dynamic+lexical scoping.
5562 Add warning when a defvar appears after the first let-binding.
5563 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5564 (byte-compile-close-variables): Initialize it.
5565 (byte-compile--declare-var): New function.
5566 (byte-compile-file-form-defvar)
5567 (byte-compile-file-form-define-abbrev-table)
5568 (byte-compile-file-form-custom-declare-variable): Use it.
5569 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5570 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5571 (byte-compile-bind): Handle dynamic bindings that shadow
5572 lexical bindings.
5573 (byte-compile-unbind): Make arg non-optional.
5574 (byte-compile-let): Simplify.
5575 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5576 (cconv--analyse-function, cconv-analyse-form): Populate it.
5577 Protect byte-compile-bound-variables to limit the scope of defvars.
5578 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5579 Remove unneeded rule for `declare'.
5580
5581 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5582 so as to avoid depending on cl-adjoin at run-time.
5583 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5584
5585 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5586 (macroexp--warn-and-return): Use it.
5587
5588 2013-06-05 Leo Liu <sdl.web@gmail.com>
5589
5590 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5591
5592 2013-06-04 Leo Liu <sdl.web@gmail.com>
5593
5594 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5595 (compilation-auto-jump): Suppress the "Mark set" message to give
5596 way to exit message.
5597
5598 2013-06-04 Alan Mackenzie <acm@muc.de>
5599
5600 Remove faulty optimisation from indentation calculation.
5601 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5602 search limit based on 2000 characters back from indent-point.
5603
5604 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5605
5606 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5607
5608 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * emacs-lisp/lisp.el: Use lexical-binding.
5611 (lisp--local-variables-1, lisp--local-variables): New functions.
5612 (lisp--local-variables-completion-table): New var.
5613 (lisp-completion-at-point): Use it complete let-bound vars.
5614
5615 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5616 eagerly (bug#14422).
5617
5618 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5619
5620 * autorevert.el (auto-revert-notify-enabled)
5621 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5622 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5623 (auto-revert-notify-handler): Handle also gfilenotify.
5624
5625 * subr.el (file-notify-handle-event): New defun. Replacing ...
5626 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5627 Remove.
5628
5629 2013-06-03 Juri Linkov <juri@jurta.org>
5630
5631 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5632 `M-s h .'. (Bug#14427)
5633
5634 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5635 command `hi-lock-face-symbol-at-point'.
5636 (hi-lock-face-symbol-at-point): New command.
5637 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5638 (hi-lock-menu): Add `highlight-symbol-at-point'.
5639 (hi-lock-mode): Doc fix.
5640
5641 * isearch.el (isearch-forward-symbol-at-point): New command.
5642 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5643 (isearch-highlight-regexp): Add a regexp which matches
5644 words/symbols for word/symbol mode.
5645
5646 * subr.el (find-tag-default-bounds): New function with the body
5647 mostly moved from `find-tag-default'.
5648 (find-tag-default): Move most code to `find-tag-default-bounds',
5649 call it and apply `buffer-substring-no-properties' afterwards.
5650
5651 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5652
5653 * eshell/em-term.el (eshell-term-initialize):
5654 Use `cl-intersection' rather than `intersection'.
5655
5656 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5657
5658 * vc/log-view.el: Doc fix.
5659 (log-view-mode-map): Copy keymap from `special-mode-map'.
5660
5661 2013-06-02 Eric Ludlam <zappo@gnu.org>
5662
5663 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5664 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5665 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5666 (eieio-unbound, eieio-default-superclass)
5667 (eieio--define-field-accessors, method-static, method-before)
5668 (method-primary, method-after, method-num-lists)
5669 (method-generic-before, method-generic-primary)
5670 (method-generic-after, method-num-slots)
5671 (eieio-specialized-key-to-generic-key)
5672 (eieio--check-type, class-v, class-p)
5673 (eieio-class-name, define-obsolete-function-alias)
5674 (eieio-class-parents-fast, eieio-class-children-fast)
5675 (same-class-fast-p, class-constructor, generic-p)
5676 (generic-primary-only-p, generic-primary-only-one-p)
5677 (class-option-assoc, class-option, eieio-object-p)
5678 (class-abstract-p, class-method-invocation-order)
5679 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5680 (eieio-class-un-autoload, eieio-defclass)
5681 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5682 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5683 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5684 (eieio-defgeneric-reset-generic-form)
5685 (eieio-defgeneric-form-primary-only)
5686 (eieio-defgeneric-reset-generic-form-primary-only)
5687 (eieio-defgeneric-form-primary-only-one)
5688 (eieio-defgeneric-reset-generic-form-primary-only-one)
5689 (eieio-unbind-method-implementations)
5690 (eieio--defmethod, eieio--typep)
5691 (eieio-perform-slot-validation, eieio-validate-slot-value)
5692 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5693 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5694 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5695 (eieio-slot-name-index, eieio-class-slot-name-index)
5696 (eieio-set-defaults, eieio-initarg-to-attribute)
5697 (eieio-attribute-to-initarg, eieio-c3-candidate)
5698 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5699 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5700 (eieio-class-precedence-list, eieio-generic-call-methodname)
5701 (eieio-generic-call-arglst, eieio-generic-call-key)
5702 (eieio-generic-call-next-method-list)
5703 (eieio-pre-method-execution-functions, eieio-generic-call)
5704 (eieio-generic-call-primary-only, eieiomt-method-list)
5705 (eieiomt-optimizing-obarray, eieiomt-install)
5706 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5707 (eieio-generic-form, eieio-defmethod, make-obsolete)
5708 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5709 (defclass): Remove `eval-and-compile' from macro.
5710 (call-next-method, shared-initialize): Instead of using
5711 `scoped-class' variable, use new eieio--scoped-class, and
5712 eieio--with-scoped-class.
5713 (initialize-instance): Rename local variable 'scoped-class' to
5714 'this-class' to remove ambiguitity from old global.
5715
5716 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5717 eieio.el.
5718 (eieio--scoped-class-stack): New variable.
5719 (eieio--scoped-class): New fcn.
5720 (eieio--with-scoped-class): New scoping macro.
5721 (eieio-defclass): Use pushnew instead of add-to-list.
5722 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5723 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5724 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5725 `scoped-class' variable, use new eieio--scoped-class, and
5726 eieio--with-scoped-class.
5727
5728 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5729
5730 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5731
5732 * eshell/esh-ext.el (eshell-external-command): Pass args to
5733 `eshell-find-interpreter'.
5734 (eshell-find-interpreter): Add new second parameter ARGS.
5735
5736 * eshell/em-script.el (eshell-script-initialize): Add second arg
5737 to the function added as MATCH to `eshell-interpreter-alist'.
5738
5739 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5740 the function added as MATCH to `eshell-interpreter-alist'.
5741
5742 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5743 (eshell-visual-options): New defcustom.
5744 (eshell-escape-control-x): Adapt docstring.
5745 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5746 `eshell-visual-options' in addition to `eshell-visual-commands'.
5747 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5748
5749 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5750
5751 * progmodes/python.el (python-indent-block-enders): Add break,
5752 continue and raise keywords.
5753
5754 2013-06-01 Glenn Morris <rgm@gnu.org>
5755
5756 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5757
5758 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5759 * progmodes/cc-cmds.el (delete-forward-p):
5760 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5761 * progmodes/cc-engine.el (buffer-syntactic-context):
5762 * progmodes/cc-fonts.el (face-property-instance):
5763 * progmodes/cc-mode.el (set-keymap-parents):
5764 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5765 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5766 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5767 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5768 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5769
5770 * progmodes/cc-vars.el (other): Emacs has this widget since
5771 at least 21.1, so don't (re)define it.
5772
5773 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5774 Replace the obsolete alias pcomplete-arg-quote-list.
5775
5776 2013-06-01 Leo Liu <sdl.web@gmail.com>
5777
5778 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5779 punctuation syntax.
5780 (inferior-octave-minimal-columns)
5781 (inferior-octave-last-column-width): New variables.
5782 (inferior-octave-track-window-width-change): New function.
5783 (inferior-octave-mode): Adjust column width so that Octave output,
5784 for example from 'ls', can fit into the window nicely.
5785
5786 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5787
5788 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5789 Highlight expansions inside regexp literals.
5790
5791 2013-05-31 Glenn Morris <rgm@gnu.org>
5792
5793 * obsolete/sym-comp.el (symbol-complete):
5794 Replace obsolete completion-annotate-function.
5795
5796 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5797
5798 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5799
5800 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5801 New function, checks if point is inside a literal that allows
5802 expression expansion.
5803 (ruby-syntax-propertize-expansion): Use it.
5804 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5805 around the body.
5806
5807 2013-05-30 Juri Linkov <juri@jurta.org>
5808
5809 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5810 to "\M-si".
5811 (isearch-invisible): New variable.
5812 (isearch-forward): Doc fix.
5813 (isearch-mode): Set `isearch-invisible'
5814 to the value of `search-invisible'.
5815 (isearch-toggle-case-fold): Doc fix.
5816 (isearch-toggle-invisible): New command.
5817 (isearch-query-replace): Let-bind `search-invisible'
5818 to the value of `isearch-invisible'.
5819 (isearch-search): Use `isearch-invisible' instead of
5820 `search-invisible'. Let-bind `search-invisible'
5821 to the value of `isearch-invisible'. (Bug#11378)
5822
5823 2013-05-30 Juri Linkov <juri@jurta.org>
5824
5825 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5826 call when `query-flag' is nil and `search-invisible' is non-nil.
5827 (Bug#11746)
5828
5829 2013-05-30 Glenn Morris <rgm@gnu.org>
5830
5831 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5832
5833 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5834 (cc-require): Suppress spurious "noruntime" warnings.
5835 (cc-require-when-compile): Use fboundp, for sake of compiler.
5836
5837 * progmodes/cc-mode.el: Move load of cc-vars before that of
5838 cc-langs (which in turn loads cc-vars), to quieten compiler.
5839
5840 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * paren.el: Simplify the code.
5843 (show-paren-mode): Always start the timer.
5844 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5845 (show-paren--overlay, show-paren--overlay-1): Rename from
5846 show-paren-overlay and show-paren-overlay-1, and initialize to an
5847 overlay rather than to nil.
5848 (show-paren-function): Misc cleanup and simplifications.
5849
5850 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * paren.el (show-paren-data-function): New hook.
5853 (show-paren--default): New function, extracted from show-paren-function.
5854 (show-paren-function): Use show-paren-data-function.
5855
5856 2013-05-30 Glenn Morris <rgm@gnu.org>
5857
5858 * ielm.el (ielm-map, ielm-complete-symbol):
5859 Use completion-at-point rather than obsolete functions.
5860 (inferior-emacs-lisp-mode): Doc fix.
5861 Set completion-at-point-functions, rather than
5862 comint-dynamic-complete-functions.
5863
5864 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5865 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5866 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5867
5868 * image.el (image-animated-p): Tweak definition.
5869
5870 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5871 (rlogin-process-connection-type): Tweak default. Add set-after.
5872 (rlogin-host): Doc fix.
5873 (rlogin): Tweak prompt.
5874 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5875
5876 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5877 * progmodes/tcl.el (inferior-tcl-mode-map):
5878 Use completion-at-point rather than obsolete alias.
5879
5880 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5881
5882 * minibuffer.el (read-file-name-completion-ignore-case):
5883 Move before completion--in-region, for eager macro expansion.
5884
5885 2013-05-29 Juri Linkov <juri@jurta.org>
5886
5887 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5888 for total count of matching lines. Add `global-matches' for total
5889 count of matches. Rename `matches' to `lines' for count of
5890 matching lines. Add `matches' for count of matches.
5891 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5892 to `prev-line' for line number of prev match endpt.
5893 Increment `matches' for every match. Print the number of
5894 matching lines in the header.
5895 (occur-context-lines): Rename `lines' to `curr-line'.
5896 Rename `prev-lines' to `prev-line'. (Bug#14017)
5897
5898 2013-05-29 Juri Linkov <juri@jurta.org>
5899
5900 * replace.el (perform-replace): Add `skip-read-only-count',
5901 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5902 Increment them for corresponding conditions and report the number
5903 of skipped occurrences in the final message. (Bug#11746)
5904 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5905 (replace-string, replace-regexp): Doc fix.
5906
5907 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5910
5911 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5912 prog-mode-map (bug#14504).
5913
5914 2013-05-29 Leo Liu <sdl.web@gmail.com>
5915
5916 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5917 (octave-help): Small simplification.
5918
5919 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5920 off the highlight first.
5921
5922 2013-05-29 Glenn Morris <rgm@gnu.org>
5923
5924 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5925 Handle idlwave-last-system-routine-info-cons-cell being nil.
5926
5927 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5928 (idlwave-write-paths): Simplify via with-temp-buffer.
5929
5930 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5931 * emulation/cua-rect.el: Also load cua-base at run time.
5932
5933 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5934 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5935 (cperl-imenu-on-info): Require imenu.
5936
5937 2013-05-28 Alan Mackenzie <acm@muc.de>
5938
5939 Handle "capitalised keywords" correctly.
5940 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5941
5942 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5943
5944 * eshell/em-unix.el: Add -r option to cp.
5945
5946 2013-05-28 Glenn Morris <rgm@gnu.org>
5947
5948 * vc/vc-arch.el (vc-exec-after): Declare.
5949 (vc-switches): Autoload.
5950 * vc/vc-bzr.el: No need to require vc when compiling.
5951 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5952 (vc-resynch-buffer, vc-dir-refresh): Declare.
5953 (vc-setup-buffer, vc-switches): Autoload.
5954 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5955 (vc-resynch-buffer): Declare.
5956 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5957 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5958 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5959 (grep-read-regexp, grep-read-files, grep-expand-template)
5960 (vc-dir-refresh): Declare.
5961 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5962 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5963 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5964 * vc/vc-mtn.el (vc-exec-after): Declare.
5965 (vc-switches): Autoload.
5966 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5967 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5968 (vc-file-tree-walk): Declare.
5969 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5970 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5971 (vc-tag-precondition, vc-rename-master): Autoload.
5972 * vc/vc-svn.el (vc-exec-after): Declare.
5973 (vc-switches, vc-setup-buffer): Autoload.
5974 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5975 Autoload.
5976 (vc-resynch-buffer): Declare.
5977
5978 * obsolete/fast-lock.el (byte-compile-warnings):
5979 Don't warn about obsolete features in this obsolete file.
5980
5981 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5982 Move definition before use.
5983
5984 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5985 (dun-unix-verbs): Remove dun-zippy.
5986 (dun-zippy): Remove function.
5987
5988 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5989
5990 2013-05-27 Juri Linkov <juri@jurta.org>
5991
5992 * replace.el (replace-search): New function with code moved out
5993 from `perform-replace'.
5994 (replace-highlight, replace-dehighlight): Move function definitions
5995 up closer to `replace-search'. (Bug#11746)
5996
5997 2013-05-27 Juri Linkov <juri@jurta.org>
5998
5999 * replace.el (perform-replace): Ignore invisible matches.
6000 In addition to checking `query-replace-skip-read-only', also
6001 filter out matches by calling `run-hook-with-args-until-failure'
6002 on `isearch-filter-predicates', and also check `search-invisible'
6003 for t or call `isearch-range-invisible'.
6004 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6005
6006 2013-05-27 Juri Linkov <juri@jurta.org>
6007
6008 * isearch.el (isearch-filter-predicates): Rename from
6009 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6010 (isearch-message-prefix): Display text from the property
6011 `isearch-message-prefix' of the currently active filters.
6012 (isearch-search): Don't compare `isearch-filter-predicate' with
6013 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6014 on `isearch-filter-predicates'. Also check `search-invisible' for t
6015 or call `isearch-range-invisible'.
6016 (isearch-filter-visible): Make obsolete.
6017 (isearch-lazy-highlight-search):
6018 Call `run-hook-with-args-until-failure' on
6019 `isearch-filter-predicates' and use `isearch-range-invisible'.
6020
6021 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6022 `isearch-filter-predicates' instead of `funcall'ing
6023 `isearch-filter-predicate'.
6024 (Info-mode): Set `Info-isearch-filter' to
6025 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6026
6027 * dired-aux.el (dired-isearch-filter-predicate-orig):
6028 Remove variable.
6029 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6030 (dired-isearch-filenames-end): Add and remove
6031 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6032 instead of changing the value of `isearch-filter-predicate'.
6033 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6034 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6035 Put property `isearch-message-prefix' to "filename " on
6036 `dired-isearch-filter-filenames'.
6037
6038 * wdired.el (wdired-change-to-wdired-mode):
6039 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6040 locally instead of changing `isearch-filter-predicate'.
6041 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6042
6043 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6044
6045 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6046 return the commit hash (Bug#14459). Also set the
6047 `vc-git-detached' property.
6048 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6049 (vc-git-mode-line-string): Use the same help-echo format whether
6050 in detached mode or not, because we know the actual revision now.
6051 When in detached mode, shorten the revision to 7 chars.
6052
6053 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * emacs-lisp/easy-mmode.el (define-minor-mode):
6056 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6057 mode hook and provide a docstring.
6058
6059 2013-05-27 Alan Mackenzie <acm@muc.de>
6060
6061 Remove spurious syntax-table text properties inserted by C-y.
6062 * progmodes/cc-mode.el (c-after-change): Also clear hard
6063 syntax-table property with value nil.
6064
6065 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6066
6067 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6068 when reading the events; the buffer layout shall not be changed.
6069
6070 2013-05-27 Leo Liu <sdl.web@gmail.com>
6071
6072 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6073 New variable.
6074 (inferior-octave-directory-tracker): Automatically re-sync
6075 default-directory.
6076 (octave-help): Improve handling of 'See also'.
6077
6078 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * doc-view.el: Minor naming convention tweaks.
6081 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6082
6083 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6084 even if there's no `display' property yet (bug#14435).
6085
6086 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6087
6088 * subr.el (unmsys--file-name): Rename from reveal-filename.
6089
6090 * Makefile.in (custom-deps, finder-data, autoloads)
6091 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6092 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6093 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6094
6095 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6098 error-completion on the first 2 args of condition-case (bug#14446).
6099 Don't burp at EOB.
6100
6101 2013-05-25 Leo Liu <sdl.web@gmail.com>
6102
6103 * comint.el (comint-previous-matching-input): Do not flood the
6104 *Messages* buffer with trivial messages.
6105
6106 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * progmodes/flymake.el (flymake-nop): Don't return a string.
6109 (flymake-set-at): Fix typo.
6110
6111 * simple.el (read--expression): New function, extracted from
6112 eval-expression. Set completion-at-point-functions (bug#14465).
6113 (eval-expression, eval-minibuffer): Use it.
6114
6115 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6116
6117 * progmodes/flymake.el (flymake-save-buffer-in-file)
6118 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6119 (flymake-selected-frame, flymake-log, flymake-ins-after)
6120 (flymake-set-at, flymake-get-buildfile-from-cache)
6121 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6122 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6123 Refine the doc string.
6124 (flymake-get-file-name-mode-and-masks): Reformat.
6125 (flymake-get-real-file-name-function): Fix a minor bug.
6126
6127 2013-05-24 Juri Linkov <juri@jurta.org>
6128
6129 * progmodes/grep.el (grep-mode-font-lock-keywords):
6130 Support =linenumber= format used by git-grep for lines with
6131 function names. (Bug#13549)
6132
6133 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6136 0 after a semi-colon; it works better for smie-auto-fill.
6137 (octave--indent-new-comment-line): New function.
6138 (octave-indent-new-comment-line): Use it (indirectly).
6139 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6140 modify comment-line-break-function.
6141
6142 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6143 (smie-setup): Use add-function to set it.
6144
6145 2013-05-24 Sam Steingold <sds@gnu.org>
6146
6147 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6148 argument (before the `interactive' argument).
6149
6150 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * image-mode.el (image-mode-winprops): Add winprops to
6153 image-mode-winprops-alist before running
6154 image-mode-new-window-functions.
6155 * doc-view.el (doc-view-new-window-function): Don't delay
6156 doc-view-goto-page via timers (bug#14435).
6157
6158 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6159
6160 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6161 (doc-view-desktop-save-buffer): New function.
6162 (doc-view-restore-desktop-buffer): New function.
6163 (desktop-buffer-mode-handlers):
6164 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6165 handler.
6166 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6167 `desktop-save-buffer' function.
6168
6169 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6170
6171 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6172 (tramp-gvfs-file-name-handler): Raise a user error when
6173 `tramp-gvfs-enabled' is nil.
6174 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6175 Do not raise a user error when loading package. (Bug#14447)
6176
6177 * net/xesam.el: Move to obsolete/.
6178
6179 2013-05-24 Glenn Morris <rgm@gnu.org>
6180
6181 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6182
6183 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6184
6185 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6186 (Info-find-node, Man-getpage-in-background): Declare.
6187
6188 * mail/unrmail.el (unrmail):
6189 Replace obsolete detect-coding-with-priority.
6190
6191 * net/socks.el (socks-split-string): Use this rather than split-string.
6192 (socks-nslookup-host): Update for above change.
6193 (dynamic-choice, s5-dynamic-choice-match)
6194 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6195 Comment out unused code.
6196
6197 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6198 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6199 (gud-tooltip-echo-area): Make obsolete.
6200 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6201
6202 * progmodes/js.el (js--optimize-arglist): Declare.
6203
6204 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6205
6206 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6207 (ediff-window-C): Declare.
6208
6209 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6210 Tweak requires to silence compiler.
6211
6212 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6213 (he-search-string, he-tried-table, he-expand-list)
6214 (he-init-string, he-string-member, he-substitute-string)
6215 (he-reset-string): Declare.
6216
6217 * obsolete/options.el (list-options): Use custom-variable-p,
6218 rather than obsolete alias.
6219
6220 2013-05-23 Sam Steingold <sds@gnu.org>
6221
6222 * simple.el (shell-command-on-region): Pass the `replace' argument
6223 down to `call-process-region' to comply with the doc as reported on
6224 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6225
6226 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/smie.el (smie-indent-forward-token)
6229 (smie-indent-backward-token): Handle string tokens (bug#14381).
6230
6231 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6232
6233 * ielm.el (ielm-menu): New menu.
6234 (inferior-emacs-lisp-mode): Set comment-start.
6235
6236 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6237
6238 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6239 Fix deactivate action.
6240
6241 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6242 Add cleveref macros.
6243
6244 * lisp/textmodes/reftex-parse.el
6245 (reftex-locate-bibliography-files): Accept options for
6246 bibliography commands.
6247 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6248 Add addbibresource. Basic Biblatex support.
6249
6250 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6251
6252 * net/tramp-gvfs.el (top):
6253 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6254 when loading package. (Bug#14447)
6255
6256 2013-05-23 Glenn Morris <rgm@gnu.org>
6257
6258 * progmodes/js.el: No need to load comint when compiling.
6259 (ring-insert, comint-send-string, comint-send-input)
6260 (comint-last-input-end, ido-chop): Declare.
6261
6262 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6263 * vc/ediff-mult.el: Adjust requires.
6264 (ediff-directories-internal, ediff-directory-revisions-internal)
6265 (ediff-patch-file-internal): Declare.
6266 * vc/ediff-ptch.el: Adjust requires.
6267 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6268 (ediff-find-file): Autoload.
6269 * vc/ediff-util.el: No need to load ediff when compiling.
6270 (ediff-regions-internal): Declare.
6271 * vc/ediff-wind.el: Adjust requires.
6272 (ediff-compute-toolbar-width): Define when compiling.
6273 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6274 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6275 (dired-get-filename, dired-get-marked-files)
6276 (ediff-last-dir-patch, ediff-patch-default-directory)
6277 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6278 (ediff-patch-buffer-internal): Declare.
6279
6280 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6281 (ispell-process, ispell-buffer-local-words, lm-summary)
6282 (lm-section-start, lm-section-end): Declare.
6283 (checkdoc-ispell-init): Simplify.
6284
6285 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6286 (he-string-member, he-reset-string, he-substitute-string): Declare.
6287
6288 * eshell/em-ls.el: Adjust requires.
6289 (eshell-glob-regexp): Declare.
6290 * eshell/em-tramp.el: Adjust requires.
6291 (eshell-parse-command): Autoload.
6292 * eshell/em-xtra.el: Adjust requires.
6293 (eshell-parse-command): Autoload.
6294 * eshell/esh-ext.el: Adjust requires.
6295 (eshell-parse-command, eshell-close-handles): Autoload.
6296 * eshell/esh-io.el: Adjust requires.
6297 (eshell-output-filter): Autoload.
6298 * eshell/esh-util.el: No need to load tramp when compiling.
6299 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6300 Declare.
6301 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6302 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6303 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6304 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6305 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6306 * eshell/esh-opt.el, eshell/esh-proc.el:
6307 * eshell/esh-var.el: Adjust requires.
6308 * eshell/eshell.el: Do not require esh-util twice.
6309 (eshell-add-input-to-history): Declare.
6310 (eshell-command): Check history module is active before using it.
6311
6312 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6313
6314 2013-05-22 Leo Liu <sdl.web@gmail.com>
6315
6316 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6317
6318 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6319
6320 * autorevert.el (auto-revert-notify-add-watch)
6321 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6322 it indicates changes in file modification time.
6323
6324 2013-05-22 Glenn Morris <rgm@gnu.org>
6325
6326 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6327 Always delete the autoloaded function from the noruntime and
6328 unresolved functions lists.
6329
6330 * allout.el: No need to load epa, epg, overlay when compiling.
6331 (epg-context-set-passphrase-callback, epg-list-keys)
6332 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6333 (epg-key-user-id-list): Declare.
6334
6335 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6336 (viper-set-parsing-style-toggling-macro)
6337 (viper-set-emacs-state-searchstyle-macros):
6338 Use called-interactively-p on Emacs.
6339 (viper-looking-back): Make it an obsolete alias. Update callers.
6340 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6341 Use looking-back rather than viper-looking-back.
6342 (viper-tmp-insert-at-eob, viper-enlarge-region)
6343 (viper-read-string-with-history, viper-register-to-point)
6344 (viper-append-to-register, viper-change-state-to-vi)
6345 (viper-backward-char-carefully, viper-forward-char-carefully)
6346 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6347 (viper-change-state-to-emacs): Declare.
6348 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6349 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6350 * emulation/viper-mous.el: Do not load viper-cmd.
6351 (viper-backward-char-carefully, viper-forward-char-carefully)
6352 (viper-forward-word, viper-adjust-window): Declare.
6353
6354 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6355
6356 * progmodes/idlw-help.el (idlwave-help-fontify):
6357 Use called-interactively-p.
6358
6359 * term/w32console.el (w32-get-console-codepage)
6360 (w32-get-console-output-codepage): Declare.
6361
6362 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6363 Remove unnecessary declarations.
6364 (dframe-message): Doc fix.
6365
6366 * info.el (dframe-select-attached-frame, dframe-current-frame):
6367 Declare.
6368
6369 * speedbar.el (speedbar-message): Make it an obsolete alias.
6370 Update all callers.
6371 (speedbar-with-attached-buffer)
6372 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6373 (speedbar-with-writable): Use backquote.
6374 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6375 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6376 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6377 rather than speedbar- aliases.
6378 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6379 (speedbar-make-specialized-keymap, speedbar-insert-button)
6380 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6381 (speedbar-do-function-pointer): Declare.
6382 (rmail-speedbar-button, rmail-speedbar-find-file)
6383 (rmail-speedbar-move-message):
6384 Use dframe-with-attached-buffer rather than speedbar- alias.
6385 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6386 (dframe-message, speedbar-make-specialized-keymap)
6387 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6388 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6389 (speedbar-insert-button, dframe-select-attached-frame)
6390 (dframe-maybee-jump-to-attached-frame)
6391 (speedbar-change-initial-expansion-list)
6392 (speedbar-previously-used-expansion-list-name): Declare.
6393 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6394 Use dframe-message, dframe-with-attached-buffer rather than
6395 speedbar- aliases.
6396 (gud-sentinel): Silence compiler.
6397 * progmodes/vhdl-mode.el (speedbar-refresh)
6398 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6399 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6400 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6401 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6402 (speedbar-file-lists, speedbar-make-tag-line)
6403 (speedbar-line-directory, speedbar-goto-this-file)
6404 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6405 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6406 (speedbar-make-button, speedbar-reset-scanners)
6407 (speedbar-files-item-info, speedbar-line-text)
6408 (speedbar-find-file-in-frame, speedbar-set-timer)
6409 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6410 (speedbar-with-writable): Do not (re)define it.
6411 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6412 rather than speedbar- alias.
6413
6414 2013-05-21 Leo Liu <sdl.web@gmail.com>
6415
6416 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6417 menu items.
6418 (octave-mode): Tweak fill-nobreak-predicate.
6419 (inferior-octave-startup): Check process to avoid infinite loop.
6420 (inferior-octave): Pop to buffer first to show abornmal process
6421 exit information.
6422
6423 2013-05-21 Glenn Morris <rgm@gnu.org>
6424
6425 * printing.el (pr-menu-bar): Define when compiling.
6426
6427 2013-05-21 Leo Liu <sdl.web@gmail.com>
6428
6429 * progmodes/octave.el (octave-auto-fill): Remove.
6430 (octave-indent-new-comment-line): Improve.
6431 (octave-mode): Use auto fill mode through
6432 comment-line-break-function and fill-nobreak-predicate.
6433 (octave-goto-function-definition): Support DEFUN_DLD.
6434 (octave-beginning-of-defun): Small tweak.
6435 (octave-help): Show parent directory.
6436
6437 2013-05-21 Glenn Morris <rgm@gnu.org>
6438
6439 * files.el (dired-unmark):
6440 * progmodes/gud.el (gdb-input): Update declarations.
6441
6442 * calculator.el (electric, ehelp): No need to load when compiling.
6443 (Electric-command-loop, electric-describe-mode): Declare.
6444
6445 * doc-view.el (doc-view-current-converter-processes): Move before use.
6446
6447 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6448 Move MODE-set-explicitly definition before use.
6449
6450 * international/mule-diag.el (mule-diag):
6451 Don't use obsolete window-system-version.
6452
6453 * mail/feedmail.el (smtpmail): No need to load when compiling.
6454 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6455
6456 * mail/mail-utils.el (rfc822): No need to load when compiling.
6457 (rfc822-addresses): Autoload it.
6458 (mail-strip-quoted-names): Trivial simplification.
6459
6460 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6461 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6462
6463 * net/snmp-mode.el (tempo): Don't duplicate requires.
6464
6465 * progmodes/prolog.el (info): No need to load when compiling.
6466 (comint): Require before shell requires it.
6467 (Info-goto-node): Autoload it.
6468 (Info-follow-nearest-node): Declare.
6469 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6470
6471 * textmodes/artist.el (picture-mode-exit): Declare.
6472
6473 * textmodes/reftex-parse.el (reftex-parse-from-file):
6474 Trivial rewrite so the compiler can parse it better.
6475
6476 2013-05-20 Leo Liu <sdl.web@gmail.com>
6477
6478 * progmodes/octave.el (octave-help-mode-map)
6479 (octave-help-mode-finish-hook): New variables.
6480 (octave-help-mode, octave-help-mode-finish): New functions.
6481 (octave-help): Use octave-help-mode.
6482
6483 2013-05-20 Glenn Morris <rgm@gnu.org>
6484
6485 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6486
6487 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6488
6489 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6490 start at point, so that expansion starting right after opening
6491 slash in a regexp is recognized.
6492 (ruby-syntax-before-regexp-re): New defvar, extracted from
6493 ruby-syntax-propertize-function. Since the value of this regexp
6494 is looked up at runtime now, we should be able to turn
6495 `ruby-syntax-methods-before-regexp' into a defcustom later.
6496 (ruby-syntax-propertize-function): Split regexp matching into two
6497 parts, for opening and closing slashes. That allows us to skip
6498 over string interpolations and support multiline regexps.
6499 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6500 for them, which calls `ruby-syntax-propertize-expansion'.
6501 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6502 call to `ruby-syntax-propertize-function'.
6503 (ruby-syntax-propertize-expansion): Extracted from
6504 `ruby-syntax-propertize-expansions'. Handles one expansion.
6505 (ruby-syntax-propertize-percent-literal): Leave point right after
6506 the percent symbol, so that the expression expansion rule can
6507 propertize the contents.
6508 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6509 heredoc openers.
6510 (ruby-syntax-propertize-expansions): Remove.
6511
6512 2013-05-18 Juri Linkov <juri@jurta.org>
6513
6514 * man.el (Man-default-man-entry): Remove `-' from the end
6515 of the default value. (Bug#14400)
6516
6517 2013-05-18 Glenn Morris <rgm@gnu.org>
6518
6519 * comint.el (comint-password-prompt-regexp):
6520 Allow "password for XXX" where XXX contains colons (eg https://...).
6521
6522 2013-05-18 Leo Liu <sdl.web@gmail.com>
6523
6524 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6525 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6526 (octave-source-directories): Don't check process.
6527 (octave-source-directories, octave-find-definition): Doc fix.
6528
6529 2013-05-18 Glenn Morris <rgm@gnu.org>
6530
6531 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6532 Remove backspace/delete bindings. (Bug#14392)
6533
6534 * cus-dep.el (custom-make-dependencies): Sort the output.
6535 (custom-versions-load-alist): Convert comment to doc.
6536
6537 2013-05-17 Leo Liu <sdl.web@gmail.com>
6538
6539 * newcomment.el (comment-search-backward): Stricter in finding
6540 comment start. (Bug#14303)
6541
6542 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6543 (octave-comment-start-skip): Properly anchored.
6544
6545 2013-05-17 Leo Liu <sdl.web@gmail.com>
6546
6547 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6548 Clean up when turned off. (Bug#14395)
6549 (smie--highlight-matching-block-overlay): No longer buffer-local.
6550 (smie-highlight-matching-block): Adjust.
6551
6552 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6553
6554 Doc string fix for "nanoseconds" (Bug#14406).
6555 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6556 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6557
6558 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6559
6560 * calc/calc-units.el (math-extract-units): Preserve powers
6561 of units.
6562
6563 2013-05-17 Leo Liu <sdl.web@gmail.com>
6564
6565 * subr.el (delete-consecutive-dups): New function.
6566 * ido.el (ido-set-matches-1): Use it.
6567 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6568 * ido.el (ido-remove-consecutive-dups): Remove.
6569
6570 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6573 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6574 regexp-opt's `words'.
6575
6576 2013-05-16 Leo Liu <sdl.web@gmail.com>
6577
6578 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6579 (smie--highlight-matching-block-overlay)
6580 (smie--highlight-matching-block-lastpos)
6581 (smie--highlight-matching-block-timer): New variables.
6582 (smie-highlight-matching-block): New function.
6583 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6584 (smie-setup): Conditionally enable smie-blink-matching-open.
6585
6586 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6587
6588 Sync with upstream verilog-mode r840.
6589 * progmodes/verilog-mode.el (verilog-mode-version)
6590 (verilog-mode-release-date): Update.
6591 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6592 (verilog-sig-tieoff): Fix string error on
6593 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6594 (verilog-read-decls): Fix parameters confusing
6595 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6596
6597 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6598
6599 * subr.el (reveal-filename): New function.
6600
6601 * loadup.el: Compute Emacs executable versions on MS-Windows,
6602 where executables have the .exe extension. Add a hard link
6603 emacs-XX.YY.ZZ.exe on MS-Windows.
6604
6605 * Makefile.in (XARGS_LIMIT): New variable.
6606 (custom-deps, finder-data, autoloads)
6607 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6608 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6609 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6610 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6611
6612 2013-05-16 Leo Liu <sdl.web@gmail.com>
6613
6614 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6615 (octave-mode-menu, octave-mode-map): Remove its uses.
6616
6617 2013-05-16 Reto Zimmermann <reto@gnu.org>
6618
6619 Sync with upstream vhdl mode v3.34.2.
6620 * progmodes/vhdl-mode.el: Use `push' throughout.
6621 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6622 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6623 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6624 (vhdl-actual-generic-name): New option to derive actual generic name.
6625 (vhdl-port-paste-signals): Replace formal by actual generics.
6626 (vhdl-beautify): New name for old group vhdl-align. Update users.
6627 (vhdl-beautify-options): New option.
6628 (vhdl-last-input-event): New compat alias. Use throughout.
6629 (vhdl-goto-line): Replace user level function `goto-line'.
6630 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6631 vhdl-fix-statement-buffer.
6632 (vhdl-create-mode-menu): Add some entries.
6633 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6634 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6635 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6636 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6637 to force statements on one line.
6638 (vhdl-remove-trailing-spaces-region):
6639 New, split from vhdl-remove-trailing-spaces.
6640 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6641 Respect vhdl-beautify-options.
6642 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6643 (vhdl-update-sensitivity-list): Not add with index if exists without.
6644 Not include array index with signal. Ignore keywords in comments.
6645 (vhdl-get-visible-signals): Regexp tweaks.
6646 (vhdl-template-component-inst): Handle empty library.
6647 (vhdl-template-type): Add template for 'enum' type.
6648 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6649 Use vhdl-replace-string.
6650 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6651 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6652 (vhdl-speedbar-initialize): Update for above name change.
6653 (vhdl-compose-wire-components): Fix in handling of constants.
6654 (vhdl-error-regexp-emacs-alist): New variable.
6655 (vhdl-error-regexp-add-emacs): New function;
6656 adds support for new compile.el (Emacs 22+)
6657 (vhdl-generate-makefile-1): Change target order for single lib. units.
6658 Allow use of absolute file names.
6659
6660 2013-05-16 Leo Liu <sdl.web@gmail.com>
6661
6662 * simple.el (prog-indent-sexp): Indent enclosing defun.
6663
6664 2013-05-15 Glenn Morris <rgm@gnu.org>
6665
6666 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6667 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6668 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6669 (whitespace-highlight): Move to whitespace group.
6670
6671 * comint.el (comint-source):
6672 * pcmpl-linux.el (pcmpl-linux):
6673 * shell.el (shell-faces):
6674 * eshell/esh-opt.el (eshell-opt):
6675 * international/ccl.el (ccl): Remove empty custom groups.
6676
6677 * completion.el (dynamic-completion-mode):
6678 * jit-lock.el (jit-lock-debug-mode):
6679 * minibuffer.el (completion-in-region-mode):
6680 * type-break.el (type-break-mode-line-message-mode)
6681 (type-break-query-mode):
6682 * emulation/tpu-edt.el (tpu-edt-mode):
6683 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6684 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6685 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6686
6687 * term/xterm.el (xterm): Change parent group to terminals.
6688
6689 * master.el (master): Remove empty custom group.
6690 (master-mode): Remove unused :group argument.
6691 * textmodes/refill.el (refill): Remove empty custom group.
6692 (refill-mode): Remove unused :group argument.
6693
6694 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6695
6696 * cus-dep.el: Provide a feature.
6697 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6698 Don't mistakenly ignore files whose basenames match a basename
6699 from preloaded-file-list (eg cedet/ede/simple.el).
6700 Add a fallback method for getting :group.
6701
6702 2013-05-15 Juri Linkov <juri@jurta.org>
6703
6704 * isearch.el (isearch-char-by-name): Rename from
6705 `isearch-insert-char-by-name'. Doc fix.
6706 (isearch-forward): Mention `isearch-char-by-name' in
6707 the docstring. (Bug#13348)
6708
6709 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6710 `exit-minibuffer' instead of
6711 `isearch-nonincremental-exit-minibuffer'.
6712 (isearch-edit-string): Remove mention of
6713 `isearch-nonincremental-exit-minibuffer' from docstring.
6714 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6715 (isearch-forward-exit-minibuffer)
6716 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6717
6718 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * loadup.el: Just use unversioned DOC.
6721
6722 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6723 literals as extending to EOB.
6724 (nxml-last-fontify-end): Remove unused variable.
6725 (nxml-after-change1): Use with-silent-modifications.
6726 (nxml-extend-after-change-region): Simplify.
6727 (nxml-extend-after-change-region1): Remove function.
6728 (nxml-after-change1): Don't adjust for dependent regions.
6729 (nxml-fontify-matcher): Simplify.
6730 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6731 (xmltok-add-dependent): Remove function.
6732 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6733 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6734 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6735 unclosed <[[, <?, comment, and other literals as extending to EOB.
6736 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6737 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6738 Remove functions.
6739 (rng-do-some-validation-1): Don't mark dependent regions.
6740 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6741 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6742 (nxml-clear-dependent-regions): Remove functions.
6743 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6744 (nxml-ensure-scan-up-to-date):
6745 Don't clear&mark dependent regions.
6746
6747 2013-05-15 Leo Liu <sdl.web@gmail.com>
6748
6749 * progmodes/octave.el (octave-goto-function-definition):
6750 Improve and fix callers.
6751
6752 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6755 the setter (bug#14387).
6756
6757 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6758 surrounding group (bug#14402).
6759
6760 2013-05-14 Juri Linkov <juri@jurta.org>
6761
6762 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6763 (Bug#14390)
6764
6765 2013-05-14 Glenn Morris <rgm@gnu.org>
6766
6767 * progmodes/f90.el (f90-imenu-generic-expression):
6768 Fix typo in 2013-05-08 change. (Bug#14402)
6769
6770 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6771
6772 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6773 Remove signals for which replies are never received.
6774
6775 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6776
6777 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6778 (gdb-handler-alist, gdb-handler-number): Remove variables.
6779 (gdb-handler-list): New variable.
6780 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6781 (gdb-pending-handler-p, gdb-handle-reply)
6782 (gdb-remove-all-pending-triggers): New functions.
6783 (gdb-discard-unordered-replies): New defcustom.
6784 (gdb-handler): New defstruct.
6785 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6786 instead of gdb-pending-triggers. Update docstring.
6787 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6788 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6789 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6790 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6791 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6792 (gdb-frame-handler): Pending triggers are now automatically managed.
6793 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6794 Remove argument.
6795 (gdb-input): Automatically handles pending triggers. Update docstring.
6796 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6797 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6798 Update comments.
6799 (gdb-done-or-error): Now use gdb-handle-reply.
6800
6801 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6802
6803 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6804 gdb-debug-log.
6805
6806 2013-05-14 Glenn Morris <rgm@gnu.org>
6807
6808 * subr.el (user-emacs-directory-warning): New option.
6809 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6810
6811 2013-05-14 Leo Liu <sdl.web@gmail.com>
6812
6813 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6814 during redisplay.
6815 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6816 (octave-font-lock-texinfo-comment): Fix invalid search bound
6817 error: wrong side of point.
6818
6819 2013-05-14 Glenn Morris <rgm@gnu.org>
6820
6821 * progmodes/flymake.el (flymake-xml-program): New option.
6822 (flymake-xml-init): Use it.
6823
6824 * term/xterm.el: Provide a feature.
6825
6826 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6827
6828 2013-05-13 Glenn Morris <rgm@gnu.org>
6829
6830 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6831 Add compat aliases as a hack workaround. (Bug#14384)
6832
6833 2013-05-13 Leo Liu <sdl.web@gmail.com>
6834
6835 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6836 ###, and %!.
6837 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6838 C-M-q.
6839 (octave-comment-start-skip): Include %!.
6840 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6841
6842 2013-05-12 Leo Liu <sdl.web@gmail.com>
6843
6844 * progmodes/octave.el (inferior-octave-startup): Store the value
6845 of __octave_srcdir__ for octave-source-directories.
6846 (inferior-octave-check-process): New function refactored out of
6847 inferior-octave-send-list-and-digest.
6848 (octave-source-directories)
6849 (octave-find-definition-filename-function): New variables.
6850 (octave-source-directories)
6851 (octave-find-definition-default-filename): New functions.
6852 (octave-find-definition): Improve to find functions implemented in C++.
6853
6854 2013-05-12 Glenn Morris <rgm@gnu.org>
6855
6856 * calendar/diary-lib.el (diary-outlook-format-1):
6857 Don't include dayname in the output. (Bug#14349)
6858
6859 2013-05-11 Glenn Morris <rgm@gnu.org>
6860
6861 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6862
6863 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6864 Treat cc-provide like provide.
6865
6866 2013-05-11 Kevin Ryde <user42@zip.com.au>
6867
6868 * cus-dep.el (custom-make-dependencies):
6869 Use generated-autoload-load-name for the sake of files such
6870 such cedet/semantic/bovine/c.el, where the base file name
6871 is not in load-path. (Bug#5277)
6872
6873 2013-05-11 Glenn Morris <rgm@gnu.org>
6874
6875 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6876 Provide features.
6877
6878 2013-05-11 Leo Liu <sdl.web@gmail.com>
6879
6880 * progmodes/octave.el (octave-indent-comment): Improve.
6881 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6882 (octave-eldoc-function-signatures, octave-eldoc-function):
6883 New functions.
6884 (octave-mode, inferior-octave-mode): Add eldoc support.
6885
6886 2013-05-11 Richard Stallman <rms@gnu.org>
6887
6888 * epa.el (epa-decrypt-file): Take output file name as argument
6889 and read it using `interactive'.
6890
6891 2013-05-11 Leo Liu <sdl.web@gmail.com>
6892
6893 * progmodes/octave.el (octave-beginning-of-line)
6894 (octave-end-of-line): Check before using up-list because it jumps
6895 out of more syntactic contructs since moving to smie.
6896 (octave-indent-comment): New function.
6897 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6898 (octave-begin-keywords, octave-end-keywords)
6899 (octave-reserved-words, octave-smie-bnf-table)
6900 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6901
6902 2013-05-11 Glenn Morris <rgm@gnu.org>
6903
6904 * faces.el (internal-face-x-get-resource):
6905 * frame.el (ns-display-monitor-attributes-list):
6906 * calc/calc-aent.el (math-to-radians-2):
6907 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6908 Fix declarations.
6909
6910 * calc/calc-menu.el: Make it loadable in isolation.
6911
6912 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6913 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6914 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6915 (eudc-bbdb-query-internal): Require 'bbdb.
6916
6917 * lpr.el (lpr-headers-switches):
6918 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6919
6920 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6921
6922 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6923
6924 * term.el (term-set-escape-char): Make it idempotent.
6925
6926 2013-05-10 Leo Liu <sdl.web@gmail.com>
6927
6928 * progmodes/octave.el (inferior-octave-completion-table):
6929 No longer a function and all uses changed. Use cache to speed up
6930 completion due to bug#11906.
6931 (octave-beginning-of-defun): Re-write to be more general.
6932
6933 2013-05-10 Glenn Morris <rgm@gnu.org>
6934
6935 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6936
6937 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * comint.el (comint-redirect-send-command-to-process): Use :around
6940 rather than :override for comint-redirect-filter.
6941 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6942 Call it instead of comint-redirect-original-filter-function (which
6943 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6944
6945 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6946
6947 * frame.el (display-monitor-attributes-list): Add NS case.
6948 (ns-display-monitor-attributes-list): Declare.
6949
6950 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6951
6952 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6953
6954 2013-05-09 Glenn Morris <rgm@gnu.org>
6955
6956 * international/fontset.el (vertical-centering-font-regexp):
6957 Set standard-value.
6958
6959 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6960
6961 * bookmark.el (bookmark-search-delay):
6962 * cus-start.el (vertical-centering-font-regexp):
6963 * ps-mule.el (ps-mule-font-info-database-default):
6964 * ps-print.el (ps-default-fg, ps-default-bg):
6965 * type-break.el (type-break-good-break-interval):
6966 * whitespace.el (whitespace-indentation-regexp)
6967 (whitespace-space-after-tab-regexp):
6968 * emacs-lisp/testcover.el (testcover-1value-functions)
6969 (testcover-noreturn-functions, testcover-progn-functions)
6970 (testcover-prog1-functions):
6971 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6972 * eshell/em-glob.el (eshell-glob-translate-alist):
6973 * play/tetris.el (tetris-tty-colors):
6974 * progmodes/cpp.el (cpp-face-default-list):
6975 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6976 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6977 (idlwave-help-browser-generic-args):
6978 * progmodes/make-mode.el (makefile-special-targets-list):
6979 * progmodes/python.el (python-shell-virtualenv-path):
6980 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6981 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6982 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6983 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6984 * textmodes/reftex-vars.el (reftex-format-label-function):
6985 * textmodes/remember.el (remember-diary-file): Fix custom types.
6986
6987 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6988 Add :version.
6989
6990 2013-05-09 Leo Liu <sdl.web@gmail.com>
6991
6992 * progmodes/octave.el (inferior-octave-completion-at-point):
6993 Restore file completion. (Bug#14300)
6994 (inferior-octave-startup): Fix incorrect highlighting for the
6995 first prompt.
6996
6997 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * progmodes/ruby-mode.el: First cut at SMIE support.
7000 (ruby-use-smie): New var.
7001 (ruby-smie-grammar): New constant.
7002 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7003 (ruby-smie--forward-token, ruby-smie--backward-token)
7004 (ruby-smie-rules): New functions.
7005 (ruby-mode-variables): Setup SMIE if applicable.
7006
7007 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7008
7009 * simple.el (line-move-visual): Signal beginning/end of buffer
7010 only if vertical-motion moved less than it was requested. Avoids
7011 silly incorrect error messages when there are display strings with
7012 multiple newlines at EOL.
7013
7014 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7017 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7018 (prolog-char-quote-workaround):
7019 * progmodes/cperl-mode.el (cperl-under-as-char):
7020 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7021 Mark as obsolete.
7022 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7023 their declaration.
7024 (vhdl-mode-syntax-table-init): Remove.
7025
7026 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7027 last change.
7028
7029 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7030 syntax for "_".
7031 (ld-script-font-lock-keywords):
7032 Change regexps to use things like \_< and \_>.
7033
7034 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7035 Change all regexps to use things like \_< and \_>.
7036
7037 * progmodes/autoconf.el (autoconf-definition-regexp)
7038 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7039 Handle a _ with symbol syntax.
7040 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7041
7042 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7043 Consolidate declaration.
7044 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7045 the declaration.
7046 (ada-create-syntax-table): Remove.
7047 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7048 already has the right syntax nowadays.
7049 (ada-goto-next-word): Don't change the syntax of "_".
7050
7051 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7052 with-wrapper-hook.
7053
7054 2013-05-08 Sam Steingold <sds@gnu.org>
7055
7056 * thingatpt.el (thing-at-point): Accept optional second argument
7057 NO-PROPERTIES to strip the text properties from the return value.
7058 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7059 to `thing-at-point' instead of stripping the properties ourselves.
7060 Also, when `thing-at-point' fails to find a url, prepend "http://"
7061 to the filename at point on the assumption that the user is
7062 pointing at something like gnu.org/gnu.
7063
7064 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7065
7066 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7067 * faces.el (crm-separator):
7068 Silence byte-compiler.
7069
7070 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7071 (tool-bar-map): Remove unneeded defvars.
7072
7073 2013-05-08 Leo Liu <sdl.web@gmail.com>
7074
7075 Re-work a fix for bug#10994 based on Le Wang's patch.
7076 * ido.el (ido-remove-consecutive-dups): New helper.
7077 (ido-completing-read): Use it.
7078 (ido-chop): Revert fix for bug#10994.
7079
7080 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7081
7082 * cus-edit.el (custom-save-variables):
7083 Pretty-print long values. (Bug#14187)
7084
7085 2013-05-08 Glenn Morris <rgm@gnu.org>
7086
7087 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7088 (m4-mode-syntax-table): Init in the defvar.
7089 (m4-mode-abbrev-table): Let define-derived-mode define it.
7090
7091 2013-05-08 Tom Tromey <tromey@redhat.com>
7092
7093 * progmodes/m4-mode.el (m4-mode-syntax-table):
7094 Do not treat "_" as word constituent. (Bug#14167)
7095
7096 2013-05-07 Glenn Morris <rgm@gnu.org>
7097
7098 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7099 Remove explicit eshell-isearch-cancel-map.
7100
7101 * progmodes/f90.el (f90-smart-end-names): New option.
7102 (f90-smart-end): Doc fix.
7103 (f90-end-block-optional-name): New constant.
7104 (f90-block-match): Respect f90-smart-end-names.
7105
7106 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7109 about implicit semi-colons (bug#14218).
7110
7111 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7112
7113 * frame.el (display-monitor-attributes-list)
7114 (frame-monitor-attributes): New functions.
7115
7116 2013-05-06 Leo Liu <sdl.web@gmail.com>
7117
7118 * progmodes/octave.el (octave-syntax-propertize-function): Change
7119 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7120 (octave-font-lock-keywords): Use octave-operator-regexp.
7121 (octave-completion-at-point): Rename from
7122 octave-completion-at-point-function.
7123 (inferior-octave-directory-tracker): Robustify.
7124 (octave-text-functions): Remove and fix its uses. No such things
7125 any more.
7126
7127 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * emacs-lisp/trace.el (trace--display-buffer): New function.
7130 (trace-make-advice): Use it.
7131
7132 2013-05-06 Juri Linkov <juri@jurta.org>
7133
7134 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7135 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7136 Doc fix.
7137 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7138 in the help string. (Bug#12985)
7139
7140 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7141
7142 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7143
7144 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * progmodes/perl-mode.el: Add support for here documents.
7147 (perl-syntax-propertize-function): Match here-doc markers.
7148 (perl-syntax-propertize-special-constructs): Find their end.
7149 (perl-imenu-generic-expression): Use [:alnum:].
7150
7151 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7152 (advice--add-function): Refresh the advice if already present
7153 (bug#14317).
7154
7155 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7156
7157 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7158
7159 2013-05-06 Glenn Morris <rgm@gnu.org>
7160
7161 * w32-fns.el (w32-charset-info-alist): Declare.
7162
7163 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7164 of its defcustom properties.
7165 (eshell-cmpl-initialize): No need to load pcomplete.
7166
7167 * generic-x.el: No need to require comint when compiling.
7168
7169 * net/eudc-export.el: Make it loadable without bbdb.
7170 (top-level): Use require rather than load-library.
7171 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7172 (eudc-batch-export-records-to-bbdb)
7173 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7174 Require bbdb.
7175
7176 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7179 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7180 some tweaks, instead.
7181
7182 2013-05-05 Leo Liu <sdl.web@gmail.com>
7183
7184 * progmodes/octave.el (octave-font-lock-keywords)
7185 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7186 (inferior-octave-send-list-and-digest): Improve error message.
7187 (octave-mode, inferior-octave-mode): Use setq-local.
7188 (octave-help): Set info-lookup-mode.
7189
7190 2013-05-05 Richard Stallman <rms@gnu.org>
7191
7192 * vc/compare-w.el (compare-windows-whitespace):
7193 Treat no-break space as whitespace.
7194
7195 * mail/rmailsum.el (rmail-summary-rmail-update):
7196 Detect empty summary and don't change selected message.
7197 (rmail-summary-goto-msg): Likewise.
7198
7199 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7200 Doc fixes, rename args.
7201
7202 2013-05-05 Alan Mackenzie <acm@muc.de>
7203
7204 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7205
7206 2013-05-05 Juri Linkov <juri@jurta.org>
7207
7208 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7209 to not add the length of the summary segment to the return value.
7210 (Bug#14125)
7211
7212 2013-05-05 Leo Liu <sdl.web@gmail.com>
7213
7214 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7215 (inferior-octave-output-filter): Remove.
7216 (octave-send-region, inferior-octave-startup): Fix callers.
7217 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7218 (octave-binary-file-extensions): New user variable.
7219 (octave-find-definition): Confirm if opening binary files.
7220 (octave-help-file): Use octave-find-definition to get the binary
7221 confirmation.
7222 (octave-help): Adjust for octave-help-file change.
7223
7224 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7227 Merge the two entries that handle function definitions.
7228 (pascal--syntax-propertize): New const.
7229 (pascal-mode): Use it. Use setq-local.
7230
7231 2013-05-04 Glenn Morris <rgm@gnu.org>
7232
7233 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7234 (diary-from-outlook): Respect diary-from-outlook-function.
7235
7236 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7239 Move the declaration from C.
7240 (read-minibuffer, eval-minibuffer): Move from C.
7241 (completion-setup-function): Avoid minibuffer-completion-contents.
7242
7243 2013-05-03 Leo Liu <sdl.web@gmail.com>
7244
7245 * progmodes/octave.el (octave-font-lock-keywords): Do not
7246 dehighlight 'end' in comments or strings.
7247 (octave-completing-read, octave-goto-function-definition):
7248 New helpers.
7249 (octave-help-buffer): New user variable.
7250 (octave-help-file, octave-help-function): New button types.
7251 (octave-help): New command and bind it to C-h ;.
7252 (octave-find-definition): New command and bind it to M-.
7253 (user-error): Alias to error if not defined.
7254
7255 2013-05-02 Leo Liu <sdl.web@gmail.com>
7256
7257 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7258 for \. (bug#14332)
7259 (octave-font-lock-keywords): Include [ and {.
7260
7261 2013-05-02 Leo Liu <sdl.web@gmail.com>
7262
7263 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7264 (inferior-octave): Remove calling comint-mode and return the buffer.
7265 (inferior-octave-startup): Cosmetic changes.
7266
7267 2013-05-02 Leo Liu <sdl.web@gmail.com>
7268
7269 * progmodes/octave.el (octave-syntax-propertize-function):
7270 Include the case when ' is at line beginning. (Bug#14336)
7271
7272 2013-05-02 Glenn Morris <rgm@gnu.org>
7273
7274 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7275 * desktop.el (vc-dir-mode): Just autoload it here.
7276
7277 2013-05-02 Alan Mackenzie <acm@muc.de>
7278
7279 Eliminate variable c-standard-font-lock-fontify-region-function.
7280 * progmodes/cc-mode.el
7281 (c-standard-font-lock-fontify-region-function): Remove.
7282 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7283
7284 2013-05-01 Leo Liu <sdl.web@gmail.com>
7285
7286 * progmodes/octave.el: Compatible with older emacs-24 releases.
7287 (inferior-octave-has-built-in-variables): Remove. Built-in
7288 variables were removed from Octave in 2007.
7289 (inferior-octave-startup): Fix uses.
7290 (comint-line-beginning-position): Remove compatibility code for
7291 emacs 21.
7292
7293 2013-05-01 Juri Linkov <juri@jurta.org>
7294
7295 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7296
7297 2013-05-01 Juri Linkov <juri@jurta.org>
7298
7299 * comint.el (comint-previous-matching-input): Don't print message
7300 "History item: %d" when `isearch-mode' is active.
7301 (comint-history-isearch-message): Print message "History item: %d"
7302 when `comint-input-ring-index' is not empty and this function is
7303 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7304
7305 2013-05-01 Leo Liu <sdl.web@gmail.com>
7306
7307 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7308 definitions. Use completion-at-point to insert keywords.
7309 (octave-abbrev-start): Remove.
7310 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7311
7312 2013-04-30 Leo Liu <sdl.web@gmail.com>
7313
7314 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7315 change.
7316
7317 2013-04-30 Alan Mackenzie <acm@muc.de>
7318
7319 Handle arbitrarily long C++ member initialisation lists.
7320 * progmodes/cc-engine.el (c-back-over-member-initializers):
7321 new function.
7322 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7323 (most) member init lists.
7324
7325 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7326
7327 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7328 variable.
7329
7330 2013-04-30 Leo Liu <sdl.web@gmail.com>
7331
7332 * progmodes/octave.el (octave-variables): Remove. No builtin
7333 variables any more. All converted to functions.
7334 (octave-font-lock-keywords, octave-completion-at-point-function):
7335 Fix uses.
7336 (octave-font-lock-texinfo-comment): New user variable.
7337 (octave-texinfo-font-lock-keywords): New variable for texinfo
7338 comment block.
7339 (octave-function-comment-block): New face.
7340 (octave-font-lock-texinfo-comment): New function.
7341 (octave-mode): Font lock texinfo comment block.
7342
7343 2013-04-29 Leo Liu <sdl.web@gmail.com>
7344
7345 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7346 indexing expression.
7347 (octave-continuation-string): Do not use \.
7348 (inferior-octave-complete-impossible): Remove.
7349 (inferior-octave-completion-table)
7350 (inferior-octave-completion-at-point): Remove its uses.
7351 (inferior-octave-startup): completion_matches was introduced to
7352 Octave in 1996 so safe to assume it.
7353 (octave-function-file-comment): Improve to follow how Octave does it.
7354 (octave-update-function-file-comment): Tweak.
7355
7356 2013-04-29 Leo Liu <sdl.web@gmail.com>
7357
7358 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7359 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7360 (octave-function-file-comment): Fix typo.
7361 (octave-sync-function-file-names): Use read-char-choice.
7362
7363 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7364
7365 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7366 to t for the less important warnings.
7367
7368 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7369
7370 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7371
7372 2013-04-27 Glenn Morris <rgm@gnu.org>
7373
7374 * vc/log-view.el (log-view-current-entry):
7375 Treat "---" separator lines as part of the following rev. (Bug#14169)
7376
7377 2013-04-27 Juri Linkov <juri@jurta.org>
7378
7379 * subr.el (read-number): Doc fix about using it by interactive
7380 code letter `n'. (Bug#14254)
7381
7382 2013-04-27 Juri Linkov <juri@jurta.org>
7383
7384 * desktop.el (desktop-auto-save-timeout): New option.
7385 (desktop-file-checksum): New variable.
7386 (desktop-save): Add optional arg `auto-save' and don't auto-save
7387 if nothing changed.
7388 (desktop-auto-save-timer): New variable.
7389 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7390 (after-init-hook): Call `desktop-auto-save-set-timer'.
7391 Suggested by Reuben Thomas <rrt@sc3d.org> in
7392 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7393
7394 2013-04-27 Leo Liu <sdl.web@gmail.com>
7395
7396 * progmodes/octave.el (octave-function-file-p)
7397 (octave-skip-comment-forward, octave-function-file-comment)
7398 (octave-update-function-file-comment): New functions.
7399 (octave-mode-map): Bind C-c ; to
7400 octave-update-function-file-comment.
7401 (octave-mode-menu): Add octave-update-function-file-comment.
7402 (octave-mode, inferior-octave-mode): Fix doc-string.
7403 (octave-insert-defun): Conform to Octave's coding convention.
7404 (Bug#14285)
7405
7406 * files.el (basic-save-buffer): Don't let errors in
7407 before-save-hook prevent saving buffer.
7408
7409 2013-04-20 Roland Winkler <winkler@gnu.org>
7410
7411 * faces.el (read-face-name): Use completing-read if arg multiple
7412 is nil.
7413
7414 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7415
7416 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7417 displayed, move point to after the totals line.
7418 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7419 for the details.
7420
7421 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7424 Add current dir to the load-path.
7425 (package-generate-autoloads): Don't rely on
7426 autoload-ensure-default-file.
7427
7428 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7429
7430 * textmodes/remember.el (remember-store-in-files): Document that
7431 the file name format is passed to `format-time-string'.
7432
7433 2013-04-26 Leo Liu <sdl.web@gmail.com>
7434
7435 * progmodes/octave.el (octave-sync-function-file-names): New function.
7436 (octave-mode): Use it in before-save-hook.
7437
7438 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7441 (bug#14274).
7442
7443 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7444 \n and comment, even if it's not an implicit ; (bug#14218).
7445
7446 2013-04-26 Glenn Morris <rgm@gnu.org>
7447
7448 * subr.el (read-number): Once more use `read' rather than
7449 `string-to-number', to trap non-numeric input. (Bug#14254)
7450
7451 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7452
7453 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7454 Use `syntax-multiline' text property consistently instead of
7455 `font-lock-multiline'. (Bug#14237)
7456
7457 2013-04-26 Glenn Morris <rgm@gnu.org>
7458
7459 * emacs-lisp/shadow.el (list-load-path-shadows):
7460 No longer necessary to check for duplicate simple.el, since
7461 2012-07-07 change to init_lread to not include installation lisp
7462 directories in load-path when running uninstalled. (Bug#14270)
7463
7464 2013-04-26 Leo Liu <sdl.web@gmail.com>
7465
7466 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7467 (octave-mode, inferior-octave-mode): Use setq-local.
7468 (octave-not-in-string-or-comment-p): Rename to
7469 octave-in-string-or-comment-p.
7470 (octave-in-comment-p, octave-in-string-p)
7471 (octave-in-string-or-comment-p): Replace defsubst with defun.
7472
7473 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7474
7475 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7476
7477 2013-04-25 Bastien Guerry <bzg@gnu.org>
7478
7479 * textmodes/remember.el (remember-data-directory)
7480 (remember-directory-file-name-format): Fix custom types.
7481
7482 2013-04-25 Leo Liu <sdl.web@gmail.com>
7483
7484 * progmodes/octave.el (octave-completion-at-point-function):
7485 Make use of inferior octave process.
7486 (octave-initialize-completions): Remove.
7487 (inferior-octave-completion-table): New function.
7488 (inferior-octave-completion-at-point): Use it.
7489 (octave-completion-alist): Remove.
7490
7491 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7494 (opascal-mode-syntax-table): New var.
7495 (opascal-literal-kind, opascal-is-literal-end)
7496 (opascal-literal-token-at): Rewrite.
7497 (opascal--literal-start-re, opascal-font-lock-keywords)
7498 (opascal--syntax-propertize): New constants.
7499 (opascal-font-lock-defaults): Adjust.
7500 (opascal-mode): Use them. Set comment-<foo> variables as well.
7501 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7502 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7503 (delphi-other-face, opascal-other-face): Remove face variables.
7504 (opascal-save-state): Remove macro.
7505 (opascal-fontifying-progress-step): Remove constant.
7506 (opascal--ignore-changes): Remove var.
7507 (opascal-set-token-property, opascal-parse-next-literal)
7508 (opascal-is-stable-literal, opascal-complete-literal)
7509 (opascal-is-literal-start, opascal-face-of)
7510 (opascal-parse-region, opascal-parse-region-until-stable)
7511 (opascal-fontify-region, opascal-after-change)
7512 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7513 (opascal-debug-parse-region, opascal-debug-parse-window)
7514 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7515 (opascal-debug-fontify-buffer): Remove.
7516 (opascal-debug-mode-map): Adjust accordingly.
7517
7518 2013-04-25 Leo Liu <sdl.web@gmail.com>
7519
7520 Merge octave-mod.el and octave-inf.el into octave.el with some
7521 cleanups.
7522 * progmodes/octave.el: New file renamed from octave-mod.el.
7523 * progmodes/octave-inf.el: Merged into octave.el.
7524 * progmodes/octave-mod.el: Renamed to octave.el.
7525
7526 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7527
7528 * textmodes/reftex-vars.el
7529 (reftex-label-ignored-macros-and-environments): New defcustom.
7530
7531 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7532
7533 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7536 (smie-indent-keyword): Improve the check to ensure that the next
7537 comment is really on the same line.
7538 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7539
7540 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7541 semi-colons if the line is not otherwise empty (bug#14218).
7542
7543 2013-04-25 Glenn Morris <rgm@gnu.org>
7544
7545 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7546
7547 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * progmodes/opascal.el (opascal-set-token-property): Rename from
7550 opascal-set-text-properties and only set `token' (bug#14134).
7551 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7552 (opascal-literal-text-properties): Remove.
7553 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7554 Adjust callers.
7555
7556 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7557
7558 * textmodes/remember.el (remember-handler-functions): Add an
7559 option for a new handler `remember-store-in-files'.
7560 (remember-data-directory, remember-directory-file-name-format):
7561 New options.
7562 (remember-store-in-files): New function to store remember notes
7563 as separate files within a directory.
7564
7565 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7566
7567 * progmodes/compile.el (compilation-next-error-function):
7568 Pass "formats" to compilation-find-file (bug#11777).
7569
7570 2013-04-24 Glenn Morris <rgm@gnu.org>
7571
7572 * vc/vc-bzr.el (vc-bzr-print-log):
7573 * vc/vc-hg.el (vc-hg-print-log):
7574 * vc/vc-svn.el (vc-svn-print-log):
7575 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7576
7577 * vc/vc-bzr.el (vc-bzr-print-log):
7578 * vc/vc-cvs.el (vc-cvs-print-log):
7579 * vc/vc-git.el (vc-git-print-log):
7580 * vc/vc-hg.el (vc-hg-print-log):
7581 * vc/vc-mtn.el (vc-mtn-print-log):
7582 * vc/vc-rcs.el (vc-rcs-print-log):
7583 * vc/vc-sccs.el (vc-sccs-print-log):
7584 * vc/vc-svn.el (vc-svn-print-log):
7585 * vc/vc.el (vc-print-log-internal): Doc fixes.
7586
7587 2013-04-23 Glenn Morris <rgm@gnu.org>
7588
7589 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7590 Remove venerable code attempting to avoid substitute-command-keys.
7591
7592 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7593
7594 * textmodes/reftex-vars.el (reftex-label-regexps):
7595 Call `reftex-compile-variables' after changes to this variable.
7596
7597 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7600 Use lexical-binding.
7601 (jit-lock-force-redisplay): Use markers, check buffer's continued
7602 existence and beware narrowed buffers.
7603 (jit-lock-fontify-now): Adjust call accordingly.
7604
7605 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7608 to avoid misleading the user.
7609
7610 2013-04-22 Leo Liu <sdl.web@gmail.com>
7611
7612 * info-look.el: Prefer latex2e.info. (Bug#14240)
7613
7614 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7615
7616 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7617
7618 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7619 * net/tramp.el (tramp-call-process): ... here.
7620 (tramp-set-completion-function, tramp-parse-putty):
7621 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7622 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7623 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7624 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7625 (tramp-call-local-coding-command): Use `tramp-call-process'
7626 instead of `tramp-compat-call-process'.
7627
7628 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7629 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7630 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7631 (tramp-find-inline-compress): Improve traces.
7632 (tramp-maybe-send-script): Check for Perl binary.
7633 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7634
7635 2013-04-22 Daiki Ueno <ueno@gnu.org>
7636
7637 * epg.el (epg-context-pinentry-mode): New function.
7638 (epg-context-set-pinentry-mode): New function.
7639 (epg--start): Pass --pinentry-mode option to gpg command.
7640
7641 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7642
7643 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7644 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7645 `completion-at-point'. (Bug#13774)
7646
7647 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7648 default key binding for `describe-distribution' has been moved to
7649 `C-h C-o'. (Bug#13970)
7650
7651 2013-04-21 Glenn Morris <rgm@gnu.org>
7652
7653 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7654 Add doc strings.
7655 (vc-print-log): Clarify interactive prompt.
7656
7657 2013-04-20 Glenn Morris <rgm@gnu.org>
7658
7659 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7660 No longer include timestamp etc information.
7661
7662 2013-04-20 Roland Winkler <winkler@gnu.org>
7663
7664 * faces.el (read-face-name): Bug fix, return just one face if arg
7665 multiple is nil. (Bug#14209)
7666
7667 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7670 (remove-function): Autoload.
7671
7672 * comint.el (comint-redirect-original-filter-function): Remove.
7673 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7674 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7675 (vc-cvs-annotate-command):
7676 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7677 * progmodes/prolog.el (prolog-consult-compile):
7678 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7679 Use add/remove-function instead.
7680 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7681 (gud-tooltip-process-output, gud-tooltip-tips):
7682 Use add/remove-function instead.
7683 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7684 (scheme-interaction-mode, exit-scheme-interaction-mode):
7685 Use add/remove-function instead.
7686
7687 * vc/vc-dispatcher.el: Use lexical-binding.
7688 (vc--process-sentinel): Rename from vc-process-sentinel.
7689 Change last arg to be the code to run. Don't use vc-previous-sentinel
7690 and vc-sentinel-commands any more.
7691 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7692 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7693
7694 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7695
7696 * progmodes/sh-script.el (sh-imenu-generic-expression):
7697 Handle function names with a single character. (Bug#14111)
7698
7699 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7700
7701 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7702 for subroutines defined in an eval (bug#14182).
7703
7704 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7705
7706 * bookmark.el (bookmark-completing-read): Improve handling of empty
7707 string (bug#14176).
7708
7709 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7712
7713 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7714
7715 New faster Imenu implementation (bug#14058).
7716 * progmodes/python.el:
7717 (python-imenu-prev-index-position):
7718 (python-imenu-format-item-label-function)
7719 (python-imenu-format-parent-item-label-function)
7720 (python-imenu-format-parent-item-jump-label-function):
7721 New vars.
7722 (python-imenu-format-item-label)
7723 (python-imenu-format-parent-item-label)
7724 (python-imenu-format-parent-item-jump-label)
7725 (python-imenu--put-parent, python-imenu--build-tree)
7726 (python-imenu-create-index, python-imenu-create-flat-index)
7727 (python-util-popn): New functions.
7728 (python-mode): Set imenu-create-index-function to
7729 python-imenu-create-index.
7730
7731 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * winner.el (winner-active-region): Use region-active-p, activate-mark
7734 and deactivate-mark (bug#14225).
7735
7736 * simple.el (deactivate-mark): Don't inline it.
7737
7738 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7739
7740 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7741
7742 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7743
7744 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7745 file extensions from the archive-mode entry in order to prefer
7746 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7747
7748 2013-04-18 Leo Liu <sdl.web@gmail.com>
7749
7750 * bindings.el (help-event-list): Add ?\?.
7751
7752 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * subr.el (with-wrapper-hook): Declare obsolete.
7755 * simple.el (filter-buffer-substring-function): New hook.
7756 (filter-buffer-substring): Use it.
7757 (filter-buffer-substring-functions): Mark obsolete.
7758 * minibuffer.el (completion-in-region-function): New hook.
7759 (completion-in-region): Use it.
7760 (completion-in-region-functions): Mark obsolete.
7761 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7762 * abbrev.el (abbrev-expand-function): New hook.
7763 (expand-abbrev): Use it.
7764 (abbrev-expand-functions): Mark obsolete.
7765 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7766 and :filter-return.
7767
7768 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7769
7770 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7771 and do not care about match data.
7772
7773 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7776 completion tables when completing error conditions and
7777 `declare' arguments.
7778 (lisp-complete-symbol, field-complete): Mark as obsolete.
7779 (check-parens): Unmatched parens are user errors.
7780 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7781
7782 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7783
7784 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7785 command changed buffer (ie. `flyspell-pre-buffer' is not current
7786 buffer), which prevents making decisions based on invalid value of
7787 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7788 cause an error when `flyspell-pre-point' was nil after switching
7789 buffers.
7790 (flyspell-post-command-hook): No longer needs to change buffers when
7791 checking pre-word. While at it remove unnecessary progn.
7792
7793 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7794
7795 * textmodes/ispell.el (ispell-add-per-file-word-list):
7796 Fix `flyspell-correct-word-before-point' error when accepting
7797 words and `coment-padding' is an integer by using
7798 `comment-normalize-vars' (Bug #14214).
7799
7800 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7801
7802 New defun movement commands.
7803 * progmodes/python.el (python-nav--syntactically)
7804 (python-nav--forward-defun, python-nav-backward-defun)
7805 (python-nav-forward-defun): New functions.
7806
7807 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7808
7809 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7810 (python-syntax-context): Use named compiler-macro for backwards
7811 compatibility with Emacs 24.x.
7812
7813 2013-04-17 Leo Liu <sdl.web@gmail.com>
7814
7815 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7816 octave-hide-process-buffer.
7817
7818 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7821 (bug#14216).
7822
7823 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7824
7825 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7826 Fix adjustment of offset when receiving incomplete responses from GDB
7827 (bug#14129).
7828
7829 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7832 python-mode-abbrev-table.
7833 (python-skeleton-define): Adjust accordingly.
7834 (python-mode-abbrev-table): New table that inherits from it so that
7835 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7836
7837 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7838 (abbrev-symbol): Use it.
7839 (abbrev--before-point): Use it since we already handle inheritance.
7840
7841 2013-04-16 Leo Liu <sdl.web@gmail.com>
7842
7843 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7844 binding to info-lookup-symbol.
7845
7846 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * minibuffer.el (completion--twq-all):
7849 * term/ns-win.el (ns-initialize-window-system):
7850 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7851
7852 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7855 global bindings.
7856
7857 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7858
7859 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7860
7861 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7862 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7863 to nil.
7864 (ruby-end-of-defun): Remove the unused arg, change the docstring
7865 to reflect that this function is only used as the value of
7866 `end-of-defun-function'.
7867 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7868 to reflect an earlier change that beginning/end-of-defun functions
7869 jump between methods in a class definition, as well as top-level
7870 functions.
7871
7872 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * minibuffer.el (minibuffer-complete): Don't just scroll
7875 a *Completions* that's been iconified.
7876 (minibuffer-force-complete): Make sure repetitions do cycle when going
7877 through completion-in-region -> minibuffer-complete.
7878
7879 2013-04-15 Alan Mackenzie <acm@muc.de>
7880
7881 Correct the placement of c-cpp-delimiters when there're #s not at
7882 col 0.
7883
7884 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7885 place a submatch around the #.
7886 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7887 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7888 on the #, not BOL.
7889
7890 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7891
7892 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7893 (advice--member-p): New arg `name'.
7894 (advice--add-function, advice-member-p): Use it (bug#14202).
7895
7896 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7897
7898 Reformulate java imenu-generic-expression.
7899 The old expression contained ill formed regexps.
7900
7901 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7902 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7903 (cc-imenu-java-method-arg-regexp): New defconsts.
7904 (cc-imenu-java-build-type-args-regex): New defun.
7905 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7906 handling of spaces in the regexp.
7907
7908 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7909
7910 * textmodes/ispell.el (ispell-command-loop): Remove
7911 flyspell highlight of a word when ispell accepts it (bug #14178).
7912
7913 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7914
7915 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7916 uses code from the previous `ange-ftp-run-real-handler'.
7917 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7918 only in case that function exist. This is needed for proper
7919 unloading of Tramp.
7920
7921 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7922
7923 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7924
7925 * textmodes/reftex.el (reftex-compile-variables): Use it.
7926
7927 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * files.el (normal-mode): Only use default major-mode if no other mode
7930 was specified.
7931
7932 * emacs-lisp/trace.el (trace-values): New function.
7933
7934 * files.el: Allow : in local variables (bug#14089).
7935 (hack-local-variable-regexp): New var.
7936 (hack-local-variables-prop-line, hack-local-variables): Use it.
7937
7938 2013-04-13 Roland Winkler <winkler@gnu.org>
7939
7940 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7941 data before it gets modified by bibtex-beginning-of-entry.
7942
7943 2013-04-13 Roland Winkler <winkler@gnu.org>
7944
7945 * textmodes/bibtex.el (bibtex-url): Doc fix.
7946
7947 2013-04-13 Roland Winkler <winkler@gnu.org>
7948
7949 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7950 does not visit a BibTeX file, exclude it from the list of buffers
7951 returned by bibtex-initialize.
7952
7953 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7954
7955 * window.el (split-window): Remove interactive form, since as a
7956 command this function is a special case of split-window-below.
7957 Correct doc string.
7958
7959 2013-04-12 Roland Winkler <winkler@gnu.org>
7960
7961 * faces.el (read-face-name): Do not override value of arg default.
7962 Allow single faces and strings as default values. Remove those
7963 elements from return value that are not faces.
7964 (describe-face): Simplify.
7965 (face-at-point): New optional args thing and multiple so that this
7966 function can provide the same functionality previously provided by
7967 read-face-name.
7968 (make-face-bold, make-face-unbold, make-face-italic)
7969 (make-face-unitalic, make-face-bold-italic, invert-face)
7970 (modify-face, read-face-and-attribute): Use face-at-point.
7971
7972 * cus-edit.el (customize-face, customize-face-other-window)
7973 * cus-theme.el (custom-theme-add-face)
7974 * face-remap.el (buffer-face-set)
7975 * facemenu.el (facemenu-set-face): Use face-at-point.
7976
7977 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7978
7979 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7980
7981 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7982
7983 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7984 off leading { and trailing } from field values.
7985
7986 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * emacs-lisp/timer.el (timer--check): New function.
7989 (timer--time, timer-set-function, timer-event-handler): Use it.
7990 (timer-set-idle-time): Simplify.
7991 (timer--activate): CSE.
7992 (timer-event-handler): Give more info in error message.
7993 (internal-timer-start-idle): New function, moved from C.
7994
7995 * mpc.el (mpc-proc): Add `restart' argument.
7996 (mpc-proc-cmd): Use it.
7997 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7998 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7999 less often.
8000
8001 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8002
8003 * progmodes/sh-script.el: Implement `sh-mode' own
8004 `add-log-current-defun-function' (bug#14112).
8005 (sh-current-defun-name): New function.
8006 (sh-mode): Use the function.
8007
8008 2013-04-09 Bastien Guerry <bzg@gnu.org>
8009
8010 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8011
8012 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8015
8016 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8017 timer (bug#14156).
8018
8019 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8020
8021 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8022 declaration.
8023
8024 2013-04-07 Leo Liu <sdl.web@gmail.com>
8025
8026 * pcmpl-x.el: New file.
8027
8028 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8029
8030 Do not set x-display-name until X connection is established.
8031 This is needed to prevent from weird situation described at
8032 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8033 * frame.el (make-frame): Set x-display-name after call to
8034 window system initialization function, not before.
8035 * term/x-win.el (x-initialize-window-system): Add optional
8036 display argument and use it.
8037 * term/w32-win.el (w32-initialize-window-system):
8038 * term/ns-win.el (ns-initialize-window-system):
8039 * term/pc-win.el (msdos-initialize-window-system):
8040 Add compatible optional display argument.
8041
8042 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8043
8044 * files.el (normal-backup-enable-predicate): On MS-Windows and
8045 MS-DOS compare truenames of temporary-file-directory and of the
8046 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8047 don't fail comparison by compare-strings. Also, compare file
8048 names case-insensitively on MS-Windows and MS-DOS.
8049
8050 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8051
8052 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8053 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8054
8055 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8056
8057 * whitespace.el (whitespace-color-on, whitespace-color-off):
8058 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8059
8060 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8061
8062 * ispell.el (ispell-set-spellchecker-params):
8063 Really set `ispell-args' for all equivs.
8064
8065 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * ido.el (ido-completions): Use extra elements of ido-decorations
8068 (bug#14143).
8069 (ido-decorations): Update docstring.
8070
8071 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8072
8073 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8074 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8075 nil during initialization, in order not to miss changes since the
8076 file was opened. (Bug#14140)
8077
8078 2013-04-05 Leo Liu <sdl.web@gmail.com>
8079
8080 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8081
8082 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8083
8084 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8085
8086 2013-04-04 Glenn Morris <rgm@gnu.org>
8087
8088 * electric.el (electric-pair-inhibit-predicate): Add :version.
8089
8090 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8093 when a package is required several times (bug#14082).
8094
8095 2013-04-04 Roland Winkler <winkler@gnu.org>
8096
8097 * faces.el (read-face-name): Behave as promised by the docstring.
8098 Assume that arg default is a list of faces.
8099 (describe-face): Call read-face-name with list of default faces.
8100
8101 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8102
8103 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8104 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8105 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8106 the header.
8107 (bookmark-exit-hook-internal): Save even if list is empty.
8108
8109 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8110
8111 * emacs-lisp/package.el (package-pinned-packages): New var.
8112 (package--add-to-archive-contents): Obey it (bug#14118).
8113
8114 2013-04-03 Alan Mackenzie <acm@muc.de>
8115
8116 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8117 Also adapt to the new values of element 7 of a parse state.
8118
8119 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8120 parameter `not-in-delimiter'. Handle being inside comment opener.
8121 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8122 character in case we're typing a '*' after a '/'.
8123 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8124 instead by passing the parameter to c-state-pp-to-literal.
8125
8126 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8127 for elt. 7 of a parse state.
8128
8129 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8130
8131 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8132 * international/latin1-disp.el, international/mule-util.el:
8133 * language/cyril-util.el, language/european.el, language/ind-util.el:
8134 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8135 * language/tibetan.el, language/viet-util.el:
8136 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8137
8138 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8141 (electric-pair-post-self-insert-function): Use it.
8142 (electric-pair-default-inhibit): New function, extracted from
8143 electric-pair-post-self-insert-function.
8144
8145 2013-03-31 Roland Winkler <winkler@gnu.org>
8146
8147 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8148
8149 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8152
8153 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8154
8155 Un-indent after "pass" and "return" statements (Bug#13888)
8156 * progmodes/python.el (python-indent-block-enders): New var.
8157 (python-indent-calculate-indentation): Use it.
8158
8159 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8162 defun. Defining it as defalias could introduce too eager
8163 byte-compiler optimization. (Bug#14030)
8164
8165 2013-03-30 Chong Yidong <cyd@gnu.org>
8166
8167 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8168
8169 2013-03-30 Leo Liu <sdl.web@gmail.com>
8170
8171 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8172 (kmacro-execute-from-register): Pass the keyboard macro to
8173 kmacro-call-macro or repeating won't work correctly.
8174
8175 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8176
8177 * progmodes/subword.el: Back to using `forward-symbol'.
8178
8179 * subr.el (forward-whitespace, forward-symbol)
8180 (forward-same-syntax): Move from thingatpt.el.
8181
8182 2013-03-29 Leo Liu <sdl.web@gmail.com>
8183
8184 * kmacro.el (kmacro-to-register): New command.
8185 (kmacro-execute-from-register): New function.
8186 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8187
8188 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * mpc.el: Use defvar-local and setq-local.
8191 (mpc--proc-connect): Connection failures are not bugs.
8192 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8193 (mpc-volume-map): Bind to the up-events.
8194
8195 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8196
8197 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8198 instead of `forward-symbol'.
8199
8200 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8203 (edebug--recursive-edit): Use it.
8204 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8205 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8206
8207 2013-03-28 Leo Liu <sdl.web@gmail.com>
8208
8209 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8210
8211 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8212
8213 * facemenu.el (list-colors-callback): New defvar.
8214 (list-colors-redisplay): New function.
8215 (list-colors-display): Install list-colors-redisplay as the
8216 revert-buffer-function. (Bug#14063)
8217
8218 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8221 and suffixes don't overlap (bug#14061).
8222
8223 * case-table.el: Use lexical-binding.
8224 (case-table-get-table): New function.
8225 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8226
8227 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8228
8229 * progmodes/subword.el: Add `superword-mode' to do word motion
8230 over symbol_words (parallels and leverages `subword-mode' which
8231 does word motion inside MixedCaseWords).
8232
8233 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8234
8235 * eshell/em-unix.el: Move su and sudo to...
8236 * eshell/em-tramp.el: ...Eshell tramp module.
8237
8238 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8241 Change return value to be a sexp. Delay `get-buffer' to after
8242 restoring the desktop (bug#13951).
8243
8244 2013-03-26 Leo Liu <sdl.web@gmail.com>
8245
8246 * register.el: Move semantic tag handling back to
8247 cedet/semantic/senator.el. (Bug#14052)
8248
8249 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8252 into the prompt either (bug#13963).
8253
8254 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8257 part of "(error-foo)".
8258
8259 2013-03-24 Juri Linkov <juri@jurta.org>
8260
8261 * replace.el (list-matching-lines-prefix-face): New defcustom.
8262 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8263 `occur-engine' if `face-differs-from-default-p' returns t.
8264 (occur-engine): Add `,' inside backquote construct to evaluate
8265 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8266 Pass `prefix-face' to the functions `occur-context-lines' and
8267 `occur-engine-add-prefix'.
8268 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8269 `prefix-face' and propertize the prefix with `prefix-face'.
8270 (Bug#14017)
8271
8272 2013-03-24 Leo Liu <sdl.web@gmail.com>
8273
8274 * nxml/rng-valid.el (rng-validate-while-idle)
8275 (rng-validate-quick-while-idle): Guard against deleted buffer.
8276 (Bug#13999)
8277
8278 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8279 is the last entry in kill-buffer-hook.
8280
8281 * files.el (kill-buffer-hook): Doc fix.
8282
8283 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8284
8285 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8286 Make it safe-local.
8287
8288 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8289
8290 2013-03-23 Leo Liu <sdl.web@gmail.com>
8291
8292 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8293 Remove.
8294
8295 * nxml/rng-valid.el (rng-validate-mode)
8296 (rng-after-change-function, rng-do-some-validation):
8297 * nxml/rng-maint.el (rng-validate-buffer):
8298 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8299 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8300 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8301 (nxml-extend-after-change-region): Use with-silent-modifications.
8302
8303 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8304 timer-idle-list.
8305
8306 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8307 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8308 timer-idle-list. (Bug#13999)
8309
8310 2013-03-23 Juri Linkov <juri@jurta.org>
8311
8312 * info.el (info-index-match): New face.
8313 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8314 main pattern and add text properties with the new face to matches
8315 in index entries relative to the beginning of the index entry.
8316 (Bug#14015)
8317
8318 2013-03-21 Eric Ludlam <zappo@gnu.org>
8319
8320 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8321 Inhibit read only while inserting objects.
8322
8323 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8324
8325 * progmodes/cfengine.el: Update docs to mention
8326 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8327 symbol motion. Remove "_" from the word syntax.
8328
8329 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8330
8331 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8332 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8333
8334 2013-03-20 Juri Linkov <juri@jurta.org>
8335
8336 * info.el (Info-next-reference-or-link)
8337 (Info-prev-reference-or-link): New functions.
8338 (Info-next-reference, Info-prev-reference): Use them.
8339 (Info-try-follow-nearest-node): Handle footnote navigation.
8340 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8341
8342 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8345 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8346
8347 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8348
8349 Suppress unnecessary non-ASCII chatter during build process.
8350 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8351 (batch-skkdic-convert): Suppress most of the chatter.
8352 It's not needed so much now that machines are faster,
8353 and its non-ASCII component was confusing; see Dmitry Gutov in
8354 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8355
8356 2013-03-20 Leo Liu <sdl.web@gmail.com>
8357
8358 * ido.el (ido-chop): Fix bug#10994.
8359
8360 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8361
8362 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8363 Remove vars.
8364 (whitespace-color-on, whitespace-color-off):
8365 Use `font-lock-fontify-buffer' (Bug#13817).
8366
8367 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8370 remapping in mode-line.
8371 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8372
8373 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8374
8375 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8376 value for `whitespace-line' face (Bug#13875).
8377 (whitespace-font-lock-keywords): Change description.
8378 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8379 the constructed keywords instead.
8380 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8381
8382 2013-03-19 Leo Liu <sdl.web@gmail.com>
8383
8384 * progmodes/compile.el (compilation-display-error): New command.
8385 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8386 C-o. (Bug#13992)
8387
8388 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8389
8390 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8391
8392 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8393
8394 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8395
8396 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8397
8398 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8399
8400 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8401 * net/tramp-gvfs.el (top):
8402 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8403 (tramp-handle-shell-command): Use it.
8404 (tramp-dissect-file-name): Raise an error when hostname is a
8405 method name, and neither method nor user is specified.
8406
8407 * net/trampver.el: Update release number.
8408
8409 2013-03-18 Leo Liu <sdl.web@gmail.com>
8410
8411 Make sure eldoc can be turned off properly.
8412 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8413 eldoc-mode.
8414 (eldoc-display-message-p): Revert last change.
8415 (eldoc-display-message-no-interference-p)
8416 (eldoc-print-current-symbol-info): Tweak.
8417
8418 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8419
8420 * doc-view.el (doc-view-new-window-function): Check the new window
8421 overlay's display property instead the char property of the
8422 buffer's first char. Use `with-selected-window' instead of
8423 `save-window-excursion' with `select-window'.
8424 (doc-view-document->bitmap): Check the current doc-view overlay's
8425 display property instead the char property of the buffer's first char.
8426
8427 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8428
8429 Automate the build of ja-dic.el (Bug#13984).
8430 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8431 from the input, rather than assume that it's been done for us by the
8432 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8433 the current date into a ja-dic.el comment, as that complicates
8434 regression testing.
8435
8436 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * whitespace.el: Fix double evaluation.
8439 (whitespace-space, whitespace-hspace, whitespace-tab)
8440 (whitespace-newline, whitespace-trailing, whitespace-line)
8441 (whitespace-space-before-tab, whitespace-indentation)
8442 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8443 obsolete defvars.
8444 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8445 (whitespace-color-on): Use a single font-lock-add-keywords call.
8446 Fix double-evaluation of face variables.
8447
8448 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8449
8450 * net/tramp-adb.el (tramp-adb-parse-device-names):
8451 Use `start-process' instead of `call-process'. Otherwise, the
8452 function might be blocked under MS Windows. (Bug#13299)
8453
8454 2013-03-17 Leo Liu <sdl.web@gmail.com>
8455
8456 Extend eldoc to display info in the mode-line. (Bug#13978)
8457 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8458 (eldoc-mode-line-string): New variable.
8459 (eldoc-minibuffer-message): New function.
8460 (eldoc-message-function): New variable.
8461 (eldoc-message): Use it.
8462 (eldoc-display-message-p)
8463 (eldoc-display-message-no-interference-p):
8464 Support eldoc-post-insert-mode.
8465
8466 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8467 (eval-expression): Run it.
8468
8469 2013-03-17 Roland Winkler <winkler@gnu.org>
8470
8471 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8472 strings in the list of return values.
8473
8474 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8475
8476 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8477 radix before checking for HMS forms.
8478
8479 2013-03-16 Leo Liu <sdl.web@gmail.com>
8480
8481 * progmodes/scheme.el: Add indentation and font-locking for λ.
8482 (Bug#13975)
8483
8484 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8487 token before point (bug#13942).
8488
8489 2013-03-16 Leo Liu <sdl.web@gmail.com>
8490
8491 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8492
8493 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8494
8495 * startup.el (command-line-normalize-file-name): Fix handling of
8496 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8497 <xfq.free@gmail.com> in
8498 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8499
8500 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8501
8502 Sync with Tramp 2.2.7.
8503
8504 * net/trampver.el: Update release number.
8505
8506 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8507
8508 * doc-view.el: Fix bug#13887.
8509 (doc-view-insert-image): Don't modify overlay associated to
8510 non-live windows, and implement horizontal centering of image in
8511 case it's smaller than the window.
8512 (doc-view-new-window-function): Force redisplay of new windows on
8513 doc-view buffers.
8514
8515 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8516
8517 * saveplace.el (save-place-alist-to-file): Don't sort
8518 `save-place-alist', just pretty-print it (bug#13882).
8519
8520 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8521
8522 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8523 Check whether `default-file-name-coding-system' is bound.
8524 It isn't in XEmacs.
8525
8526 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8529 backquotes for `obsolete' (bug#13929).
8530
8531 * international/mule.el (find-auto-coding): Include file name in
8532 obsolescence warning (bug#13922).
8533
8534 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8535
8536 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8537 for CFEngine 3-specific indentation.
8538 (cfengine3-indent-line): Use it. Fix up category regex.
8539 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8540
8541 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * type-break.el (type-break-file-name):
8544 * textmodes/remember.el (remember-data-file):
8545 * strokes.el (strokes-file):
8546 * shadowfile.el (shadow-initialize):
8547 * saveplace.el (save-place-file):
8548 * ps-bdf.el (bdf-cache-file):
8549 * progmodes/idlwave.el (idlwave-config-directory):
8550 * net/quickurl.el (quickurl-url-file):
8551 * international/kkc.el (kkc-init-file-name):
8552 * ido.el (ido-save-directory-list-file):
8553 * emulation/viper.el (viper-custom-file-name):
8554 * emulation/vip.el (vip-startup-file):
8555 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8556 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8557
8558 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8559
8560 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8561 * language/thai-word.el: Switch to UTF-8.
8562
8563 See ChangeLog.16 for earlier changes.
8564
8565 ;; Local Variables:
8566 ;; coding: utf-8
8567 ;; End:
8568
8569 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8570
8571 This file is part of GNU Emacs.
8572
8573 GNU Emacs is free software: you can redistribute it and/or modify
8574 it under the terms of the GNU General Public License as published by
8575 the Free Software Foundation, either version 3 of the License, or
8576 (at your option) any later version.
8577
8578 GNU Emacs is distributed in the hope that it will be useful,
8579 but WITHOUT ANY WARRANTY; without even the implied warranty of
8580 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8581 GNU General Public License for more details.
8582
8583 You should have received a copy of the GNU General Public License
8584 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.