Support mouse wheel in TTY menus.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2
3 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4 menu navigations commands.
5
6 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7
8 * progmodes/subword.el (subword-capitalize): Be careful when
9 the search for [[:alpha:]] fails (bug#15580).
10
11 2013-10-14 Eli Zaretskii <eliz@gnu.org>
12
13 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
14 to commands that scroll the menu.
15
16 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17
18 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
19 Handle methods ending with `?' and `!'.
20
21 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
22
23 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
24 `japanese-cp932' to `cp932' to fix the problem where saving a
25 source file written in Shift_JIS twice would end up having
26 `coding: japanese-cp932' which Ruby could not recognize.
27 (ruby-mode-set-encoding): Add support for encodings mapped to nil
28 in `ruby-encoding-map'.
29 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
30 doesn't need to be explicitly declared in magic comment.
31 (ruby-encoding-map): Add type declaration for better customize UI.
32
33 2013-10-13 Glenn Morris <rgm@gnu.org>
34
35 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
36 Occur buffers are read-only. http://bugs.debian.org/720775
37
38 * emacs-lisp/authors.el (authors-fixed-entries):
39 Comment out old alpha stuff.
40
41 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
42
43 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
44 to `after-save-hook' instead of `before-save-hook'.
45 (ruby-mode-set-encoding): Use the value of coding system used to
46 write the file. Call `basic-save-buffer-1' after modifying the
47 buffer.
48
49 2013-10-13 Alan Mackenzie <acm@muc.de>
50
51 Fix indentation/fontification of Java enum with
52 "implements"/generic.
53
54 * progmodes/cc-engine.el (c-backward-over-enum-header):
55 Extracted from the three other places and enhanced to handle generics.
56 (c-inside-bracelist-p): Uses new function above.
57 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
58 function above.
59 (c-font-lock-enum-tail): Uses new function above.
60
61 2013-10-13 Kenichi Handa <handa@gnu.org>
62
63 * international/mule-cmds.el (select-safe-coding-system): Remove a
64 superfluous condition in chekcing whether a coding system is safe
65 or not.
66
67 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
68
69 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
70
71 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
72
73 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
74
75 2013-10-13 Glenn Morris <rgm@gnu.org>
76
77 * menu-bar.el (menu-bar-update-buffers):
78 Unify Buffers menu prompt string. (Bug#15576)
79
80 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
81
82 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
83 Add some entries.
84 (authors-fixed-entries): Use accented form of name.
85
86 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
89 method calls (bug#15594).
90 (ruby-smie--args-separator-p): New function.
91 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
92 recognize paren-free method calls.
93
94 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
95 internals of universal-argument.
96
97 2013-10-11 Eli Zaretskii <eliz@gnu.org>
98
99 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
100 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
101 dropped menu on second mouse click on the menu bar.
102
103 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
106 (explicit-shell-file-name): Declare.
107 (sh--vars-before-point, sh--cmd-completion-table): New functions.
108 (sh-completion-at-point-function): New function.
109 (sh-mode): Use it.
110 (sh-smie--keyword-p): Remove unused argument.
111 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
112 vars.
113 (sh-set-shell): Always setup SMIE, even if we use the
114 old indentation code.
115
116 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
117
118 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
119 cases of ? and =.
120 (ruby-smie-rules): Simplify the "do" rule. The cases when the
121 predicate would return nil are almost non-existent.
122 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
123
124 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
125 cache also after commands that modify the buffer but don't move
126 point.
127
128 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * env.el (substitute-env-in-file-name): New function.
131 (substitute-env-vars): Extend the meaning of the optional arg.
132
133 2013-10-10 Eli Zaretskii <eliz@gnu.org>
134
135 * term/w32-win.el (dynamic-library-alist): Define separate lists
136 of GIF DLLs for versions before and after 5.0.0 of giflib.
137 (Bug#15531)
138
139 2013-10-10 João Távora <joaotavora@gmail.com>
140
141 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
142 not locked, use last revision and current source as
143 defaults. (Bug#15569)
144
145 2013-10-10 Masatake YAMATO <yamato@redhat.com>
146
147 * menu-bar.el (menu-bar-open): Don't use popup-menu if
148 menu-bar is hidden.
149
150 2013-10-10 Martin Rudalics <rudalics@gmx.at>
151
152 * window.el (pop-to-buffer-same-window): Fix doc-string.
153 (Bug#15492)
154
155 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
158
159 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
160
161 * calendar/icalendar.el (icalendar-import-file):
162 Fix interactive spec. (Bug#15482)
163
164 2013-10-10 Glenn Morris <rgm@gnu.org>
165
166 * desktop.el (desktop-save): Default to saving in .emacs.d,
167 since PWD is no longer in desktop-path by default. (Bug#15319)
168
169 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
170 now that text mode has a menu with the same entry.
171 (menu-bar-text-mode-auto-fill): Remove now unused func.
172 * textmodes/text-mode.el (text-mode-map):
173 Use auto-fill help text from menu-bar.el.
174
175 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
176
177 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
178
179 2013-10-09 Juri Linkov <juri@jurta.org>
180
181 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
182 instead of this-command-keys. Add universal-argument-more and
183 universal-argument-minus to the list of prefix commands. (Bug#15568)
184
185 2013-10-09 Glenn Morris <rgm@gnu.org>
186
187 * vc/vc-svn.el (vc-svn-create-repo):
188 Expand paths in file://... url. (Bug#15446)
189
190 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
191 Add some entries.
192 (authors): Remove unused local variables.
193
194 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * profiler.el: Create a more coherent calltree from partial backtraces.
197 (profiler-format): Hide the tail with `invisible' so that C-s can still
198 find the hidden elements.
199 (profiler-calltree-depth): Don't recurse so enthusiastically.
200 (profiler-function-equal): New hash-table-test.
201 (profiler-calltree-build-unified): New function.
202 (profiler-calltree-build): Use it.
203 (profiler-report-make-name-part): Indent the calltree less.
204 (profiler-report-mode): Add visibility specs for profiler-format.
205 (profiler-report-expand-entry, profiler-report-toggle-entry):
206 Expand the whole subtree when provided with a prefix arg.
207
208 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
209
210 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
211 iuwu-mod token.
212 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
213 hanging iuwu-mod token.
214 (ruby-smie--forward-token): Do not include a dot after a token in
215 that token.
216 (ruby-smie--backward-token): Likewise.
217
218 2013-10-08 Juri Linkov <juri@jurta.org>
219
220 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
221 to isearch-other-control-char.
222 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
223 and isearch-post-command-hook to post-command-hook.
224 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
225 and isearch-post-command-hook from post-command-hook.
226 (isearch-unread-key-sequence)
227 (isearch-reread-key-sequence-naturally)
228 (isearch-lookup-scroll-key, isearch-other-control-char)
229 (isearch-other-meta-char): Remove functions.
230 (isearch-pre-command-hook, isearch-post-command-hook):
231 New functions based on isearch-other-meta-char rewritten
232 relying on the new behavior of overriding-terminal-local-map
233 that does not replace the local keymaps any more. (Bug#15200)
234
235 2013-10-08 Eli Zaretskii <eliz@gnu.org>
236
237 Support menus on text-mode terminals.
238 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
239 functionality.
240
241 * tooltip.el (tooltip-mode): Don't error out on TTYs.
242
243 * menu-bar.el (popup-menu, popup-menu-normalize-position):
244 Move here from mouse.el.
245 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
246 and arrow keys.
247 (tty-menu-navigation-map): New map for TTY menu navigation.
248
249 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
250
251 * frame.el (display-mouse-p): Report text-mode mouse as available
252 on w32.
253 (display-popup-menus-p): Report availability if mouse is
254 available; don't condition on window-system.
255
256 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
257 (tty-menu-selected-face): New faces.
258
259 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
262 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
263 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
264 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
265 New constants.
266 (lisp-mode-variables): New `elisp' argument.
267 (emacs-lisp-mode): Use it.
268 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
269 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
270
271 * indent.el: Use lexical-binding.
272 (indent-region): Add progress reporter.
273 (tab-stop-list): Make it implicitly extend to infinity by repeating the
274 last step.
275 (indent--next-tab-stop): New function to implement this behavior.
276 (tab-to-tab-stop, move-to-tab-stop): Use it.
277
278 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
279
280 * indent.el (indent-rigidly--current-indentation): New function.
281 (indent-rigidly-map): New var.
282 (indent-rigidly): Use it to provide interactive mode (bug#8196).
283
284 2013-10-08 Bastien Guerry <bzg@gnu.org>
285
286 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
287
288 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * progmodes/perl-mode.el: Use lexical-binding.
291 Remove redundant :group args.
292 (perl-nochange): Change default to be closer to other major modes's
293 standard behavior.
294 (perl-indent-line): Don't consider text on current line as a
295 valid beginning of function from which to indent.
296
297 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
298 with more than one argument (bug#15538).
299
300 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
301
302 * vc/pcvs.el: Use lexical-binding.
303 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
304 environment of `eval'.
305 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
306 than a list of expressions. Adjust callers.
307 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
308
309 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
310
311 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
312 case of the dot in a chained method call being on the following line.
313
314 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * electric.el (electric-indent-inhibit): New var.
317 (electric-indent-post-self-insert-function): Use it.
318 * progmodes/python.el (python-mode): Set it.
319
320 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
321 open braces.
322
323 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
324
325 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
326 (css-mode): Use electric-indent-chars.
327
328 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
329 (font-lock-beg, font-lock-end): Move before first use.
330 (nxml-mode): Use syntax-propertize-function.
331 (nxml-after-change, nxml-after-change1): Adjust accordingly.
332 (nxml-extend-after-change-region): Remove.
333 * nxml/xmltok.el: Use lexical-binding.
334 (xmltok-save): Use `declare'.
335 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
336 * nxml/nxml-util.el: Use lexical-binding.
337 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
338 Use `declare'.
339 * nxml/nxml-ns.el: Use lexical-binding.
340 (nxml-ns-save): Use `declare'.
341 (nxml-ns-prefixes-for): Avoid add-to-list.
342 * nxml/rng-match.el: Use lexical-binding.
343 (rng--ipattern): Use cl-defstruct.
344 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
345 (rng-cons-group-after, rng-subst-group-after)
346 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
347 Use closures instead of `(lambda...).
348
349 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
350
351 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
352 of BEG and END.
353
354 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
355 Use `tramp-handle-insert-file-contents'.
356 (tramp-gvfs-handle-insert-file-contents): Remove function.
357
358 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
359 Use `save-restriction' in order to keep markers.
360
361 * net/trampver.el: Update release number.
362
363 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * progmodes/compile.el (compilation-parse-errors):
366 Use compilation--put-prop.
367 (compilation--ensure-parse): Check compilation-multiline.
368
369 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
370
371 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
372 lexical-binding.
373
374 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
375
376 * progmodes/ruby-mode.el: Fix recently added tests.
377 (ruby-smie-grammar): Add - and +.
378 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
379 (ruby-smie--backward-id): New functions.
380 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
381 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
382 any more.
383
384 2013-10-07 Leo Liu <sdl.web@gmail.com>
385
386 * register.el (register-preview-delay)
387 (register-preview-functions): New variables.
388 (register-read-with-preview, register-preview)
389 (register-describe-oneline): New functions.
390 (point-to-register, window-configuration-to-register)
391 (frame-configuration-to-register, jump-to-register)
392 (number-to-register, view-register, insert-register)
393 (copy-to-register, append-to-register, prepend-to-register)
394 (copy-rectangle-to-register): Use register-read-with-preview to
395 read register. (Bug#15525)
396
397 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
398
399 * net/network-stream.el (network-stream-open-starttls): Don't add
400 --insecure if it's already present, because that gnutls-cli
401 rejects getting that parameter twice.
402
403 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
404
405 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
406 keyword, too.
407
408 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
409
410 * newcomment.el (comment-use-global-state): Change default value
411 to t, mark obsolete (Bug#15251).
412 (comment-beginning): In addition to `comment-to-syntax', check the
413 value of `comment-use-global-state'.
414
415 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
418 (ruby-comment-column): Follow the global default, by default.
419 (ruby-smie-grammar): Add assignment syntax.
420 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
421 open-paren, a comma, or a \.
422 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
423 and line continuations.
424 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
425 followed by implicit semi-colons. Add rule for string concatenation
426 and for indentation at BOB.
427 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
428
429 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
430 calling next-sexp, since next-token may have skipped chars which
431 next-sexp doesn't know should be skipped!
432
433 2013-10-05 Leo Liu <sdl.web@gmail.com>
434
435 * progmodes/octave.el (octave-send-region):
436 Call compilation-forget-errors.
437
438 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
439
440 * vc/vc-svn.el (vc-svn-find-admin-dir):
441 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
442 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
443 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
444 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
445
446 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
449
450 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * subr.el (read-passwd): Hide chars even when called within a context
453 where after-change-functions is disabled (bug#15501).
454 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
455 until we removed ourself from overriding-terminal-local-map.
456
457 2013-10-04 Leo Liu <sdl.web@gmail.com>
458
459 * progmodes/octave.el (inferior-octave-mode):
460 Call compilation-forget-errors.
461
462 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
463
464 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
465
466 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/secrets.el (secrets-create-collection): Add optional
469 argument ALIAS. Use proper Label keyword. Append ALIAS as
470 dbus-call-method argument. (Bug#15516)
471
472 2013-10-04 Leo Liu <sdl.web@gmail.com>
473
474 * progmodes/octave.el (inferior-octave-error-regexp-alist)
475 (inferior-octave-compilation-font-lock-keywords): New variables.
476 (compilation-error-regexp-alist)
477 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
478 (inferior-octave-mode): Use compilation-shell-minor-mode.
479
480 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
481
482 * minibuffer.el (completion--replace): Be careful that `end' might be
483 a marker.
484
485 2013-10-03 Daiki Ueno <ueno@gnu.org>
486
487 Add support for package signature checking.
488 * emacs-lisp/package.el (url-http-file-exists-p)
489 (epg-make-context, epg-context-set-home-directory)
490 (epg-verify-string, epg-context-result-for)
491 (epg-signature-status, epg-signature-to-string)
492 (epg-check-configuration, epg-configuration)
493 (epg-import-keys-from-file): Declare.
494 (package-check-signature): New user option.
495 (package-unsigned-archives): New user option.
496 (package-desc): Add `signed' field.
497 (package-load-descriptor): Set `signed' field if .signed file exists.
498 (package--archive-file-exists-p): New function.
499 (package--check-signature): New function.
500 (package-install-from-archive): Check package signature.
501 (package--download-one-archive): Check archive signature.
502 (package-delete): Remove .signed file.
503 (package-import-keyring): New command.
504 (package-refresh-contents): Import default keyring.
505 (package-desc-status): Add "unsigned" status.
506 (describe-package-1, package-menu--print-info)
507 (package-menu-mark-delete, package-menu--find-upgrades)
508 (package-menu--status-predicate): Support "unsigned" status.
509
510 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
513 the new compilation scheme using the new byte-codes.
514
515 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
516 (byte-pophandler): New byte codes.
517 (byte-goto-ops): Adjust accordingly.
518 (byte-compile--use-old-handlers): New var.
519 (byte-compile-catch): Use new byte codes depending on
520 byte-compile--use-old-handlers.
521 (byte-compile-condition-case--old): Rename from
522 byte-compile-condition-case.
523 (byte-compile-condition-case--new): New function.
524 (byte-compile-condition-case): New function that dispatches depending
525 on byte-compile--use-old-handlers.
526 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
527 when we can.
528
529 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
530 Optimize under `condition-case' and `catch' if
531 byte-compile--use-old-handlers is nil.
532 (disassemble-offset): Handle new bytecodes.
533
534 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * subr.el (error): Use `declare'.
537 (decode-char, encode-char): Use advertised-calling-convention instead
538 of the docstring to discourage use of the `restriction' arg.
539
540 2013-10-03 Daiki Ueno <ueno@gnu.org>
541
542 * epg.el (epg-verify-file): Add a comment saying that it does not
543 notify verification error as a return value nor a signal.
544 (epg-verify-string): Ditto.
545
546 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
547
548 * progmodes/compile.el (compilation-start): Try globbing the arg to
549 `cd' (bug#15417).
550
551 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
552
553 Sync with Tramp 2.2.8.
554
555 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
556 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
557 * net/trampver.el: Update release number.
558
559 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
560
561 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
562 and default-process-coding-system for darwin only.
563
564 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
567
568 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
569
570 * vc/vc-git.el (vc-git-grep): Disable pager.
571
572 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
573
574 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
575 Use :url instead of :homepage, as per
576 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
577
578 * newcomment.el (comment-beginning): When `comment-use-syntax' is
579 non-nil, use `syntax-ppss' (Bug#15251).
580
581 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
582
583 * progmodes/octave.el (inferior-octave-startup-file):
584 Prefer ~/.emacs.d/init_octave.m.
585
586 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
587
588 * emacs-lisp/package.el (package-desc-from-define):
589 Accept additional arguments as plist, convert them to an alist and store
590 them in the `extras' slot.
591 (package-generate-description-file): Convert extras alist back to
592 plist and append to the `define-package' form arguments.
593 (package--alist-to-plist): New function.
594 (package--ac-desc): Add `extras' slot.
595 (package--add-to-archive-contents): Check if the archive-contents
596 vector is long enough, and if it is, pass its `extras' slot value
597 to `package-desc-create'.
598 (package-buffer-info): Call `lm-homepage', pass the returned value
599 to `package-desc-from-define'.
600 (describe-package-1): Render the homepage button (Bug#13291).
601
602 * emacs-lisp/package-x.el (package-upload-buffer-internal):
603 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
604
605 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
606
607 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
608 and default-process-coding-system to utf-8-unix (Bug#15402).
609
610 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
611
612 * subr.el (looking-back): Do not recommend using looking-back.
613
614 2013-09-28 Alan Mackenzie <acm@muc.de>
615
616 Fix indentation/fontification of Java enum with "implements".
617
618 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
619 regexp which matches "implements", etc., in Java.
620 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
621 specifier clauses coming after "enum".
622 * progmodes/cc-fonts.el (c-font-lock-declarations)
623 (c-font-lock-enum-tail): Check for extra specifier clauses coming
624 after "enum".
625
626 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
627
628 * faces.el (region): Change ns_selection_color to
629 ns_selection_fg_color, add ns_selection_bg_color.
630
631 2013-09-28 Leo Liu <sdl.web@gmail.com>
632
633 * progmodes/octave.el (inferior-octave-completion-table)
634 (inferior-octave-completion-at-point): Minor tweaks.
635
636 * textmodes/ispell.el (ispell-lookup-words): Rename from
637 lookup-words. (Bug#15460)
638 (lookup-words): Obsolete.
639 (ispell-complete-word, ispell-command-loop): All uses changed.
640
641 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
642
643 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
644 (octave-mode-menu): Add octave-send-buffer.
645 (octave-send-buffer): New function.
646
647 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
648
649 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
650 octave-lookfor.
651 (octave-mode-menu): Add octave-lookfor.
652 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
653 octave-lookfor.
654 (octave-lookfor): New function.
655
656 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/cl-macs.el:
659 (cl--loop-destr-temps): Remove.
660 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
661 its convention.
662 (cl--loop-set-iterator-function): New function.
663 (cl-loop): Adjust accordingly, so as not to use cl-subst.
664 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
665 Bind `it' with `let' instead of substituting it with `cl-subst'.
666 (cl--unused-var-p): New function.
667 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
668 Eliminate some unused variable warnings (bug#15326).
669
670 2013-09-27 Tassilo Horn <tsdh@gnu.org>
671
672 * doc-view.el (doc-view-scale-reset): Rename from
673 `doc-view-reset-zoom-level'.
674 (doc-view-scale-adjust): New command.
675 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
676 `doc-view-scale-adjust'.
677
678 2013-09-26 Tassilo Horn <tsdh@gnu.org>
679
680 * doc-view.el (doc-view-reset-zoom-level): New command.
681 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
682 zoom commands (bug#15466).
683
684 2013-09-26 Kenichi Handa <handa@gnu.org>
685
686 * international/quail.el (quail-help): Make it not a command.
687
688 2013-09-26 Leo Liu <sdl.web@gmail.com>
689
690 * minibuffer.el (completion-all-sorted-completions): Make args
691 optional as they are.
692
693 2013-09-25 Daniel Colascione <dancol@dancol.org>
694
695 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
696 specs are and that they're not evaluated.
697
698 2013-09-24 Sam Steingold <sds@gnu.org>
699
700 * midnight.el (clean-buffer-list-kill-regexps)
701 (clean-buffer-list-kill-buffer-names): Update for the new Man
702 buffer naming which includes the object name.
703
704 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * eshell/esh-cmd.el (eshell--sep-terms): New var.
707 (eshell-parse-command, eshell-parse-pipeline): Use it since
708 eshell-separate-commands requires a dynamic scoped var.
709 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
710
711 2013-09-23 Leo Liu <sdl.web@gmail.com>
712
713 * autoinsert.el (auto-insert-alist): Make the value of
714 lexical-binding match its file setting.
715
716 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
717
718 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
719
720 * autoarg.el (autoarg-kp-digit-argument):
721 * electric.el (Electric-command-loop):
722 * kmacro.el (kmacro-step-edit-insert):
723 Do not set universal-argument-num-events.
724
725 2013-09-22 Leo Liu <sdl.web@gmail.com>
726
727 * files.el (interpreter-mode-alist): Add octave.
728
729 2013-09-21 Alan Mackenzie <acm@muc.de>
730
731 C++: fontify identifier in declaration following "public:" correctly.
732 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
733 to match "public", etc.
734 (c-decl-prefix-re): Add ":" into the C++ value.
735 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
736 bit. Add a check for a ":" preceded by "public", etc.
737
738 2013-09-21 Eli Zaretskii <eliz@gnu.org>
739
740 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
741 recognized by GDB 7.5 and later.
742
743 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
744
745 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
746
747 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * subr.el (internal--call-interactively): New const.
750 (called-interactively-p): Use it (bug#3984).
751
752 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
753
754 * vc/pcvs.el (cvs-mode-ignore):
755 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
756 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
757
758 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
759
760 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
761 (eshell-ls-orig-insert-directory): Remove.
762 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
763 (eshell-ls-use-in-dired): Use advice-add/remove.
764 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
765 Add `orig-fun' arg for use in :around advice.
766 Make it check (redundantly) eshell-ls-use-in-dired.
767
768 2013-09-19 Glenn Morris <rgm@gnu.org>
769
770 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
771
772 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
773
774 * emacs-lisp/eieio.el (class-parent): Undo previous change.
775
776 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
777
778 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
779 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
780 (tramp-get-remote-python): New defuns.
781 (tramp-get-remote-uid-with-perl)
782 (tramp-get-remote-gid-with-perl): New defuns. Perl code
783 contributed by yary <not.com@gmail.com> (tiny change).
784 (tramp-get-remote-uid-with-python)
785 (tramp-get-remote-gid-with-python): New defuns. Python code
786 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
787 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
788
789 2013-09-19 Glenn Morris <rgm@gnu.org>
790
791 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
792
793 * eshell/em-unix.el (eshell-remove-entries):
794 Rename argument to avoid name-clash with global `top-level'.
795
796 * eshell/esh-proc.el (eshell-kill-process-function):
797 Remove eshell-reset-after-proc from eshell-kill-hook if present.
798 (eshell-reset-after-proc): Remove unused arg `proc'.
799
800 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
801 (directory-files-and-attributes): Mark unused arg.
802
803 * eshell/em-unix.el (eshell-remove-entries):
804 Remove unused arg `path'. Update callers.
805
806 * eshell/em-hist.el (eshell-hist-parse-arguments):
807 Remove unused arg `silent'. Update callers.
808
809 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
810 Fix (f)boundp mix-up.
811
812 * eshell/em-smart.el (eshell-smart-scroll-window)
813 (eshell-disable-after-change):
814 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
815
816 2013-09-18 Alan Mackenzie <acm@muc.de>
817
818 Fix fontification of type when followed by "const".
819 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
820 "known" types from fontification.
821
822 2013-09-18 Glenn Morris <rgm@gnu.org>
823
824 * emacs-lisp/chart.el (x-display-color-cells): Declare.
825 (chart-face-list): Drop Emacsen without display-color-p.
826
827 * net/eww.el (libxml-parse-html-region): Declare.
828 (eww-display-html): Explicit error if no libxml2 support.
829
830 * doc-view.el (doc-view-mode): Silence --without-x compilation.
831
832 * image.el (image-type-from-buffer, image-multi-frame-p):
833 Remove --without-x warning/error.
834
835 * mouse.el (mouse-yank-primary):
836 * term.el (term-mouse-paste):
837 Reorder to silence --without-x compilation.
838
839 * mpc.el (doc-view-mode): Silence --without-x compilation.
840
841 * mail/rmailmm.el (rmail-mime-set-bulk-data):
842 Silence --without-x compilation.
843
844 * progmodes/gud.el (gud-find-file, gud-mode):
845 Silence --without-x compilation.
846 (tooltip-mode): Declare.
847
848 * wdired.el (dired-backup-overwrite): Remove declaration.
849 (wdired-mode-map): Add doc string.
850
851 * custom.el (x-get-resource): Declare.
852
853 * eshell/em-glob.el (ange-cache):
854 * eshell/em-unix.el (ange-cache): Declare.
855
856 * faces.el (x-display-list, x-open-connection, x-get-resource):
857 Declare.
858
859 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
860 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
861 Declare.
862
863 * frame.el (x-display-grayscale-p, x-display-name): Declare.
864
865 * net/gnutls.el (gnutls-log-level): Declare.
866
867 * net/shr.el (image-size, image-animate): Declare.
868
869 * simple.el (font-info): Declare.
870
871 * subr.el (x-popup-dialog): Declare.
872
873 * term/common-win.el (x-select-enable-primary)
874 (x-last-selected-text-primary, x-last-selected-text-clipboard):
875 Declare.
876
877 * term/ns-win.el (x-handle-args): Declare.
878
879 * term/x-win.el (x-select-enable-clipboard): Declare.
880
881 * term/w32-win.el (create-default-fontset): Declare.
882
883 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
884 Declare.
885
886 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
887 (fit-frame-to-buffer): Explicit error if --without-x.
888 (mouse-autoselect-window-select): Silence compiler.
889
890 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
891
892 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
893 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
894 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
895 * eshell/esh-util.el (eshell-sublist):
896 Remove unused local variables.
897
898 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
899
900 * textmodes/two-column.el: Make 2C-split work for --without-x.
901 (scroll-bar-columns): Autoload.
902 (top-level): Require fringe when compiling.
903
904 2013-09-18 Leo Liu <sdl.web@gmail.com>
905
906 * subr.el (add-hook): Robustify to handle closure as well.
907
908 2013-09-17 Glenn Morris <rgm@gnu.org>
909
910 * simple.el (messages-buffer-mode-map): Unbind "g".
911
912 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * help-mode.el (help-mode-finish): Use derived-mode-p.
915 Remove obsolete highlighting.
916
917 * play/life.el (life-mode): Use define-derived-mode. Derive from
918 special-mode.
919 (life): Let-bind inhibit-read-only.
920 (life-setup): Avoid `setq'. Use `life-mode'.
921
922 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
923 which should not be needed any more.
924 (package-menu-refresh, package-menu-describe-package): Use user-error.
925
926 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
927 (eshell-post-rewrite-command-hook): Make obsolete.
928 (eshell-parse-command): Simplify.
929 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
930 (eshell--cmd): Declare.
931 (eshell-parse-pipeline): Remove unused var `final-p'.
932 Pass a dynvar to eshell-post-rewrite-command-hook.
933 Implement the new eshell-post-rewrite-command-function.
934 (eshell-invoke-directly): Remove unused arg `input'.
935 * eshell/esh-io.el (eshell-io-initialize):
936 Use eshell-post-rewrite-command-function (bug#15399).
937 (eshell--apply-redirections): Rename from eshell-apply-redirections;
938 adjust to new calling convention.
939 (eshell-create-handles): Rename args to avoid clashing with dynvar
940 `standard-output'.
941
942 2013-09-17 Glenn Morris <rgm@gnu.org>
943
944 * simple.el (messages-buffer-mode): New major mode.
945 (messages-buffer): New function.
946 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
947 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
948 (ert-run-test): Use `messages-buffer' function.
949 (ert--force-message-log-buffer-truncation): Ignore read-only.
950 * help.el (view-echo-area-messages): Use `messages-buffer' function.
951 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
952
953 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
956
957 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
958
959 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * icomplete.el (icomplete-in-buffer): New var.
962 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
963 vars and replace them with functions.
964 (icomplete-minibuffer-setup): Adjust accordingly.
965 (icomplete--completion-table, icomplete--completion-predicate)
966 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
967 New functions.
968 (icomplete-forward-completions, icomplete-backward-completions)
969 (icomplete-simple-completing-p, icomplete-exhibit)
970 (icomplete-completions): Use them.
971 (icomplete--in-region-buffer): New var.
972 (icomplete--in-region-setup): New function.
973 (icomplete-mode): Use it.
974
975 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
976 (bug#15379).
977 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
978 return args and options.
979 (eshell-eval-using-options): Use the new return value of
980 eshell--do-opts to set the options's vars in their scope.
981 (eshell--set-option): Rename from eshell-set-option.
982 Add arg `opt-vals'.
983 (eshell--process-option): Rename from eshell-process-option.
984 Add arg `opt-vals'.
985 (eshell--process-args): Use an `opt-vals' alist to store the options's
986 values during their processing and return them additionally to the
987 remaining args.
988
989 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
990
991 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
992 continuation character an operator, as far as indentation is
993 concerned (Bug#15369).
994
995 2013-09-15 Martin Rudalics <rudalics@gmx.at>
996
997 * window.el (window--state-put-2): Don't process buffer state
998 when buffer doesn't exist any more (Bug#15382).
999
1000 2013-09-15 Glenn Morris <rgm@gnu.org>
1001
1002 * eshell/em-unix.el (eshell/rm):
1003 Make -f ignore missing files. (Bug#15373)
1004
1005 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1006 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1007 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1008
1009 2013-09-14 Glenn Morris <rgm@gnu.org>
1010
1011 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1012
1013 2013-09-13 Glenn Morris <rgm@gnu.org>
1014
1015 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1016 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1017
1018 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1019
1020 * frame.el (x-focus-frame): Mark as declared in frame.c.
1021
1022 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * ls-lisp.el: Use advice-add.
1025 (original-insert-directory): Remove.
1026 (ls-lisp--insert-directory): Rename from insert-directory; add
1027 `orig-fun' argument.
1028 (insert-directory): Advise.
1029
1030 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1031
1032 * term.el (term-emulate-terminal): Decode the command string
1033 before passing it to term-command-hook. (Bug#15337)
1034
1035 2013-09-13 Glenn Morris <rgm@gnu.org>
1036
1037 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1038
1039 * eshell/esh-ext.el (eshell-search-path): Declare.
1040
1041 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1042 Otherwise an error occurs if eshell-dirs module not loaded.
1043
1044 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1045
1046 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1047
1048 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1049 `tramp-check-proper-host'. Check for a valid method name.
1050
1051 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1052 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1053 * net/tramp-sh.el (tramp-maybe-open-connection):
1054 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1055
1056 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1057 also for hash values.
1058
1059 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * term/ns-win.el (parameters): Don't declare as dynamic.
1062 (before-make-frame-hook): Don't add ineffective function.
1063
1064 * eshell/*.el: Use lexical-binding (bug#15231).
1065
1066 2013-09-12 Kenichi Handa <handa@gnu.org>
1067
1068 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1069
1070 2013-09-12 Glenn Morris <rgm@gnu.org>
1071
1072 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1073 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1074
1075 * subr.el (do-after-load-evaluation): Also give compiler warnings
1076 when obsolete files are used (except by obsolete files).
1077
1078 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1079 in the status output, assume `filename' is the first. (Bug#15322)
1080
1081 * vc/vc.el (vc-deduce-fileset): Doc fix.
1082
1083 * calc/calc-help.el (Info-goto-node):
1084 * progmodes/cperl-mode.el (Info-find-node):
1085 * vc/ediff.el (Info-goto-node): Update declarations.
1086
1087 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1088
1089 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1090 (vc-bzr-pull): Require vc-dispatcher.
1091 * vc/vc-git.el (vc-compilation-mode): Declare.
1092 (vc-git-pull): Require vc-dispatcher.
1093
1094 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1095
1096 * progmodes/octave.el (help-button-action): Declare.
1097
1098 * shell.el (shell-directory-tracker): Output error as a message
1099 rather than just returning it as a string.
1100 (shell-process-pushd): Remove useless use of message.
1101
1102 * dframe.el (dframe-timer-fn):
1103 * files.el (dir-locals-read-from-file):
1104 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1105 (mpc-format):
1106 * reveal.el (reveal-post-command):
1107 * saveplace.el (load-save-place-alist-from-file):
1108 * shell.el (shell-resync-dirs):
1109 * w32-common-fns.el (x-get-selection-value):
1110 * emacs-lisp/copyright.el (copyright-find-copyright):
1111 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1112 * emulation/tpu-edt.el (tpu-copy-keyfile):
1113 * play/bubbles.el (bubbles--mark-neighbourhood):
1114 * progmodes/executable.el
1115 (executable-make-buffer-file-executable-if-script-p):
1116 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1117
1118 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 Cleanup Eshell to rely less on dynamic scoping.
1121 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1122 last-value, and ext-command here. Bind `args' closer to `body'.
1123 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1124 (eshell--args): Declare new dynamic var.
1125 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1126 last-value, and ext-command. Pass `args' to `body'.
1127 (eshell-process-args): Bind eshell--args.
1128 (eshell-set-option): Use eshell--args.
1129 * eshell/eshell.el (eshell): Use derived-mode-p.
1130 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1131 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1132 (eshell-glob-function): Declare.
1133 * eshell/esh-util.el: Require cl-lib.
1134 (eshell-read-hosts-file): Avoid add-to-list.
1135 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1136 `err'.
1137 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1138 Declare.
1139 (eshell/diff): Remove unused var `err'.
1140 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1141 `killflag'.
1142 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1143 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1144 first use.
1145 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1146 Move declaration before first use.
1147 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1148 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1149 rely on cl-return.
1150
1151 2013-09-12 Glenn Morris <rgm@gnu.org>
1152
1153 * term/ns-win.el (global-map): Remove binding for ispell-next,
1154 deleted 1999-05-29. (Bug#15357)
1155
1156 2013-09-11 Glenn Morris <rgm@gnu.org>
1157
1158 * echistory.el (electric-command-history): Remove call to deleted func.
1159
1160 * play/landmark.el (landmark-mode): Fix typos.
1161
1162 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1163 Check cvs-sort-ignore-file is bound.
1164
1165 * savehist.el: No need for cl when compiling on Emacs.
1166
1167 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1170 (bug#15338).
1171 (eshell-self-insert-command, eshell-send-invisible):
1172 Remove unused argument.
1173 (eshell-handle-control-codes): Remove unused var `orig'.
1174 Avoid delete-backward-char.
1175
1176 * files.el (set-auto-mode): Simplify a bit further.
1177
1178 2013-09-11 Glenn Morris <rgm@gnu.org>
1179
1180 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1181 (set-auto-mode): Don't regexp-quote elements.
1182 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1183 * progmodes/cc-mode.el (interpreter-mode-alist):
1184 * progmodes/ruby-mode.el (interpreter-mode-alist):
1185 Revert previous change.
1186
1187 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * play/snake.el (snake-mode):
1190 * play/mpuz.el (mpuz-mode):
1191 * play/landmark.el (lm-mode):
1192 * play/blackbox.el (blackbox-mode):
1193 * play/5x5.el (5x5-mode):
1194 * obsolete/options.el (Edit-options-mode):
1195 * net/quickurl.el (quickurl-list-mode):
1196 * net/newst-treeview.el (newsticker-treeview-mode):
1197 * mail/rmailsum.el (rmail-summary-mode):
1198 * mail/mspools.el (mspools-mode):
1199 * locate.el (locate-mode):
1200 * ibuffer.el (ibuffer-mode):
1201 * emulation/ws-mode.el (wordstar-mode):
1202 * emacs-lisp/debug.el (debugger-mode):
1203 * array.el (array-mode):
1204 * net/eudc.el (eudc-mode): Use define-derived-mode.
1205 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1206 Move initialization into declaration.
1207 (mairix-searches-mode): Use define-derived-mode.
1208 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1209 (eudc-edit-hotlist): Use dolist.
1210 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1211 (Man-mode): Use define-derived-mode.
1212 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1213 (Info-edit-mode): Use define-derived-mode.
1214 (Info-cease-edit): Use Info-mode.
1215 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1216 into declaration.
1217 (eshell-mode): Use define-derived-mode.
1218 * chistory.el (command-history-mode-map): Rename from
1219 command-history-map.
1220 (command-history-mode): Use define-derived-mode.
1221 (Command-history-setup): Remove function.
1222 * calc/calc.el (calc-trail-mode-map): New var.
1223 (calc-trail-mode): Use define-derived-mode.
1224 (calc-trail-buffer): Set calc-main-buffer manually.
1225 * bookmark.el (bookmark-insert-annotation): New function.
1226 (bookmark-edit-annotation): Use it.
1227 (bookmark-edit-annotation-mode): Make it a proper major mode.
1228 (bookmark-send-edited-annotation): Use derived-mode-p.
1229 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1230 closer to its ideal place. Use \' to match EOS.
1231
1232 * profiler.el (profiler-calltree-find): Use function-equal.
1233
1234 2013-09-10 Glenn Morris <rgm@gnu.org>
1235
1236 * files.el (interpreter-mode-alist): Convert to regexps.
1237 (set-auto-mode): Adapt for this. (Bug#15306)
1238 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1239 Comment out unused variable.
1240 * progmodes/cc-mode.el (interpreter-mode-alist):
1241 * progmodes/python.el (interpreter-mode-alist):
1242 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1243 * progmodes/sh-script.el (sh-set-shell):
1244 No longer use interpreter-mode-alist to get list of shells.
1245
1246 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1247
1248 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * simple.el: Use set-temporary-overlay-map for universal-argument.
1251 (universal-argument-map): Don't use default-bindings (bug#15317).
1252 Bind switch-frame explicitly. Replace universal-argument-minus with
1253 a conditional binding.
1254 (universal-argument-num-events, saved-overriding-map): Remove.
1255 (restore-overriding-map): Remove.
1256 (universal-argument--mode): Rename from save&set-overriding-map,
1257 and rewrite.
1258 (universal-argument, universal-argument-more, negative-argument)
1259 (digit-argument): Adjust accordingly.
1260 (universal-argument-minus): Remove.
1261 (universal-argument-other-key): Remove.
1262
1263 * subr.el (with-demoted-errors): Add `format' argument.
1264
1265 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1268 `tramp-cleanup-connection'.
1269
1270 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1271 parameters KEEP-DEBUG and KEEP-PASSWORD.
1272
1273 * net/tramp.el (tramp-file-name-handler):
1274 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1275 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1276 (tramp-maybe-open-connection):
1277 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1278 Use `tramp-cleanup-connection'.
1279
1280 * net/tramp-sh.el (tramp-maybe-open-connection):
1281 Catch 'uname-changed inside the progress reporter.
1282
1283 2013-09-10 Glenn Morris <rgm@gnu.org>
1284
1285 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1286
1287 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1288 returns "alternate access method" in mode (eg "-rw-r--r--.").
1289
1290 2013-09-08 Glenn Morris <rgm@gnu.org>
1291
1292 * saveplace.el (load-save-place-alist-from-file):
1293 Demote errors. (Bug#15305)
1294
1295 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1296
1297 Improve compatibility with older Emacsen, and XEmacs.
1298
1299 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1300 only if it is bound. It isn't for XEmacs.
1301 (with-tramp-progress-reporter): Do not let-bind `result'.
1302 This yields to scoping errors in XEmacs.
1303 (tramp-handle-make-auto-save-file-name): New function, moved from
1304 tramp-sh.el.
1305
1306 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1307 for `make-auto-save-file-name'.
1308 (tramp-adb--gnu-switches-to-ash):
1309 Use `tramp-compat-replace-regexp-in-string'.
1310
1311 * net/tramp-cache.el (tramp-cache-print): Call
1312 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1313
1314 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1315 bound. It isn't for XEmacs.
1316
1317 * net/tramp-compat.el (tramp-compat-copy-file):
1318 Catch `wrong-number-of-arguments' error.
1319 (tramp-compat-replace-regexp-in-string): New defun.
1320
1321 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1322 for `make-auto-save-file-name'.
1323 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1324 `copy-file'.
1325 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1326 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1327 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1328
1329 * net/tramp-gw.el (tramp-gw-open-network-stream):
1330 Use `tramp-compat-replace-regexp-in-string'.
1331
1332 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1333 Call `tramp-handle-make-auto-save-file-name'.
1334 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1335 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1336 (tramp-sh-file-inotifywait-process-filter):
1337 Use `tramp-compat-replace-regexp-in-string'.
1338 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1339
1340 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1341 for `make-auto-save-file-name'.
1342 (tramp-smb-handle-copy-directory):
1343 Call `tramp-compat-replace-regexp-in-string'.
1344 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1345 (tramp-smb-handle-copy-file): Improve error message.
1346 (tramp-smb-handle-rename-file): Rename directly only in case
1347 `newname' does not exist yet. This is a restriction of smbclient.
1348 (tramp-smb-maybe-open-connection): Rerun the function only when
1349 `auth-sources' is non-nil.
1350
1351 2013-09-08 Kenichi Handa <handa@gnu.org>
1352
1353 * international/characters.el: Set category "^" (Combining) for
1354 more characters.
1355
1356 2013-09-07 Alan Mackenzie <acm@muc.de>
1357
1358 Correctly fontify Java class constructors.
1359 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1360 in Java Mode.
1361 (c-recognize-typeless-decls): Set the Java value to t.
1362 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1363 While handling a "(", add a check for, effectively, Java, and handle a
1364 "typeless" declaration there.
1365
1366 2013-09-07 Roland Winkler <winkler@gnu.org>
1367
1368 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1369 field subtitle for entry type book.
1370
1371 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * minibuffer.el: Make minibuffer-complete call completion-in-region
1374 rather than other way around.
1375 (completion--some, completion-pcm--find-all-completions):
1376 Don't delay signals when debugging.
1377 (minibuffer-completion-contents): Beware fields within the
1378 minibuffer contents.
1379 (completion-all-sorted-completions): Use defvar-local.
1380 (completion--do-completion, completion--cache-all-sorted-completions)
1381 (completion-all-sorted-completions, minibuffer-force-complete):
1382 Add args `beg' and `end'.
1383 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1384 (minibuffer-complete): Use completion-in-region.
1385 (completion-complete-and-exit): New fun, extracted from
1386 minibuffer-complete-and-exit.
1387 (minibuffer-complete-and-exit): Use it.
1388 (completion--complete-and-exit): Rename from
1389 minibuffer--complete-and-exit.
1390 (completion-in-region--single-word): New function, extracted from
1391 minibuffer-complete-word.
1392 (minibuffer-complete-word): Use it.
1393 (display-completion-list): Make `common-substring' argument obsolete.
1394 (completion--in-region): Call completion--in-region-1 instead of
1395 minibuffer-complete.
1396 (completion-help-at-point): Pass boundaries to
1397 minibuffer-completion-help as args rather than via an overlay.
1398 (completion-pcm--string->pattern): Use `any-delim'.
1399 (completion-pcm--optimize-pattern): New function.
1400 (completion-pcm--pattern->regex): Handle `any-delim'.
1401 * icomplete.el (icomplete-forward-completions)
1402 (icomplete-backward-completions, icomplete-completions):
1403 Adjust calls to completion-all-sorted-completions and
1404 completion--cache-all-sorted-completions.
1405 (icomplete-with-completion-tables): Default to t.
1406 * emacs-lisp/crm.el (crm--current-element): Rename from
1407 crm--select-current-element. Don't put an overlay but return the
1408 boundaries instead.
1409 (crm--completion-command): Take two new args to bind to the boundaries.
1410 (crm-completion-help): Adjust accordingly.
1411 (crm-complete): Use completion-in-region.
1412 (crm-complete-word): Use completion-in-region--single-word.
1413 (crm-complete-and-exit): Use completion-complete-and-exit.
1414
1415 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1418 than dynamically.
1419
1420 2013-09-06 Juri Linkov <juri@jurta.org>
1421
1422 * info.el (Info-display-images-node): When image file doesn't exist
1423 display text version of the image if it's provided in the Info file.
1424 Otherwise, display the location of missing image from SRC attribute.
1425 Add help-echo text property from ALT attribute. (Bug#15279)
1426
1427 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1430 (edit-abbrevs-mode): Use define-derived-mode.
1431
1432 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1433 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1434 that it's defined.
1435 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1436 Use define-derived-mode.
1437
1438 * epg.el (epg-start-encrypt): Minor CSE simplification.
1439
1440 2013-09-06 William Xu <william.xwl@gmail.com>
1441
1442 * arc-mode.el: Add support for 7za (bug#15264).
1443 (archive-7z-program): New var.
1444 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1445 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1446 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1447
1448 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1449
1450 Remove URL syntax.
1451
1452 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1453 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1454 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1455 (tramp-postfix-host-format, tramp-file-name-regexp)
1456 (tramp-completion-file-name-regexp)
1457 (tramp-completion-dissect-file-name)
1458 (tramp-handle-substitute-in-file-name): Remove 'url case.
1459 (tramp-file-name-regexp-url)
1460 (tramp-completion-file-name-regexp-url): Remove constants.
1461
1462 2013-09-06 Glenn Morris <rgm@gnu.org>
1463
1464 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1465
1466 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1467
1468 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1469 keywords" below "here-doc beginnings" (Bug#15270).
1470
1471 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * subr.el (pop): Use `car-safe'.
1474 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1475 to detect unused `pop' return value.
1476
1477 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1478 var `block-regexp'.
1479 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1480 (python-fill-string): Remove unused var `marker'.
1481 (python-skeleton-add-menu-items): Remove unused var `items'.
1482
1483 * international/mule-cmds.el: Require CL.
1484 (find-coding-systems-for-charsets): Avoid add-to-list.
1485 (sanitize-coding-system-list): New function, extracted from
1486 select-safe-coding-system-interactively.
1487 (select-safe-coding-system-interactively): Use it.
1488 (read-input-method-name): Accept symbols for `default'.
1489
1490 * emacs-lisp/advice.el (defadvice): Add indent rule.
1491
1492 2013-09-05 Daniel Hackney <dan@haxney.org>
1493
1494 * dired-x.el:
1495 * net/ange-ftp.el:
1496 * net/browse-url.el:
1497 * net/dbus.el:
1498 * net/eudc.el:
1499 * net/eudcb-ldap.el:
1500 * net/eww.el:
1501 * net/imap.el:
1502 * printing.el:
1503 * vc/ediff-diff.el:
1504 * vc/ediff-init.el:
1505 * vc/ediff-merg.el:
1506 * vc/ediff-mult.el:
1507 * vc/ediff-util.el:
1508 * vc/ediff-wind.el:
1509 * vc/ediff.el:
1510 * vc/emerge.el:
1511 * vc/pcvs.el:
1512 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1513 byte compiler. Remove some unused let-bound variables.
1514
1515 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1518 a "ref-cell", since it gets better optimized (bug#14883).
1519
1520 2013-09-05 Glenn Morris <rgm@gnu.org>
1521
1522 * progmodes/cc-awk.el (c-forward-sws): Declare.
1523
1524 2013-09-04 Glenn Morris <rgm@gnu.org>
1525
1526 * generic-x.el [rul-generic-mode]: Require cc-mode.
1527 (c++-mode-syntax-table): Declare.
1528 (rul-generic-mode-syntax-table): Init in the defvar.
1529
1530 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1533 (vc-do-command, vc-set-async-update):
1534 * vc/vc-mtn.el (vc-mtn-dir-status):
1535 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1536 (vc-hg-pull, vc-hg-merge-branch):
1537 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1538 (vc-git-merge-branch):
1539 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1540 (vc-cvs-dir-status-files):
1541 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1542 (vc-bzr-dir-status-files):
1543 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1544 * vc/vc-annotate.el: Use lexical-binding.
1545 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1546 (vc-sentinel-movepoint): Declare.
1547 (vc-annotate): Don't use `goto-line'.
1548 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1549 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1550 (vc-sentinel-movepoint): Declare.
1551 * vc/vc-svn.el: Use lexical-binding.
1552 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1553 * vc/vc-sccs.el:
1554 * vc/vc-rcs.el: Use lexical-binding.
1555
1556 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1557 `deleted'. Don't drop errors silently.
1558
1559 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1560
1561 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1562
1563 * vc/vc.el (vc-ignore): Rewrite.
1564 (vc-default-ignore): New function.
1565 (vc-default-ignore-completion-table): Use find-ignore-file.
1566
1567 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1568 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1569 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1570 Remove. Most code moved to vc.el.
1571
1572 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1575 * net/tramp-smb.el (tramp-smb-get-file-entries):
1576 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1577 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1578
1579 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1580 Update call to it.
1581 (eww-change-select): Remove unused var `properties'.
1582 (eww-make-unique-file-name): Remove unused var `base'.
1583
1584 * finder.el (finder-compile-keywords): Don't mess with windows.
1585
1586 * calculator.el (calculator-funcall): Fix typo in last change.
1587
1588 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1589
1590 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1591 <pkg>-autoloads.el file stop us.
1592
1593 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1594 warnings, and factor out common code.
1595
1596 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1597
1598 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1599 two-character operators and whether the character preceding them
1600 changes their meaning (Bug#15208).
1601
1602 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1603
1604 Format code sent to Python shell for robustness.
1605 * progmodes/python.el (python-shell-buffer-substring):
1606 New function.
1607 (python-shell-send-region, python-shell-send-buffer): Use it.
1608
1609 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1612 * net/tramp.el (tramp-user-error): ... here.
1613 (tramp-find-method, tramp-check-proper-host)
1614 (tramp-dissect-file-name, tramp-debug-message)
1615 (tramp-handle-shell-command):
1616 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1617 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1618
1619 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1620
1621 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1622
1623 * avoid.el (mouse-avoidance-point-position)
1624 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1625 returns nil.
1626
1627 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1628
1629 * progmodes/python.el (python-shell-completion-get-completions):
1630 Drop use of deleted `comint-last-prompt-overlay'.
1631 (python-nav-if-name-main): New command.
1632
1633 2013-09-01 Glenn Morris <rgm@gnu.org>
1634
1635 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1636 Avoid leading space in $wins. Otherwise the sed command used by
1637 eg compile-main ends up containing "/*.el". (Bug#15170)
1638
1639 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1640
1641 2013-08-30 Glenn Morris <rgm@gnu.org>
1642
1643 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1644 Fix is-this-a-directory logic. (Bug#15220)
1645
1646 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * textmodes/css-mode.el: Use SMIE.
1649 (css-smie-grammar): New var.
1650 (css-smie--forward-token, css-smie--backward-token)
1651 (css-smie-rules): New functions.
1652 (css-mode): Use them.
1653 (css-navigation-syntax-table): Remove var.
1654 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1655 (css-indent-calculate, css-indent-line): Remove functions.
1656
1657 Misc changes to reduce use of `(lambda...); and other cleanups.
1658 * cus-edit.el: Use lexical-binding.
1659 (customize-push-and-save, customize-apropos)
1660 (custom-buffer-create-internal): Use closures.
1661 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1662 * progmodes/ada-xref.el: Use setq.
1663 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1664 * dframe.el: Use lexical-binding.
1665 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1666 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1667 * descr-text.el: Use lexical-binding.
1668 (describe-text-widget, describe-text-sexp, describe-property-list):
1669 Use closures.
1670 * comint.el (comint-history-isearch-push-state): Use a closure.
1671 * calculator.el: Use lexical-binding.
1672 (calculator-number-to-string): Make it work with lexical-binding.
1673 (calculator-funcall): Same and use cl-letf.
1674
1675 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1676 (lisp--company-doc-string, lisp--company-location): New functions.
1677 (lisp-completion-at-point): Use them to improve Company support.
1678
1679 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1680 params of lambda expressions.
1681 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1682 (ruby-smie--opening-pipe-p): New function.
1683 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1684 symbols and matched |...| for formal params.
1685 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1686 from being treated as hanging. Handle "rescue".
1687
1688 2013-08-29 Glenn Morris <rgm@gnu.org>
1689
1690 * progmodes/cc-engine.el (c-pull-open-brace):
1691 Move definition before use.
1692
1693 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1696 are immutable. Don't use `unsafe' any more.
1697 (cl--defsubst-expand): Don't substitute at the same time as keeping
1698 a residual unused let-binding. Don't use `unsafe' any more.
1699
1700 2013-08-29 Glenn Morris <rgm@gnu.org>
1701
1702 * calendar/cal-china.el (calendar-chinese-year-cache):
1703 Recenter on 2015.
1704
1705 * nxml/nxml-util.el (nxml-debug-clear-inside):
1706 Use cl-loop rather than loop.
1707
1708 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1709
1710 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1711
1712 2013-08-28 Glenn Morris <rgm@gnu.org>
1713
1714 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1715
1716 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1717
1718 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1719
1720 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * simple.el (repeat-complex-command--called-interactively-skip):
1723 New function.
1724 (repeat-complex-command): Use it (bug#14136).
1725
1726 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1727 (c-define-abbrev-table): Add `doc' argument.
1728 (c-mode-abbrev-table, c++-mode-abbrev-table)
1729 (objc-mode-abbrev-table, java-mode-abbrev-table)
1730 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1731 (awk-mode-abbrev-table): Use it.
1732 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1733 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1734 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1735 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1736 Move initialization into the declaration; and remove any
1737 autoload cookie.
1738
1739 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1740 and dynamic let binding.
1741
1742 * vc/smerge-mode.el: Remove redundant :group args.
1743
1744 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1745 to load-path.
1746
1747 2013-08-28 Juri Linkov <juri@jurta.org>
1748
1749 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1750 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1751 (isearch-other-meta-char): Handle an undefined shifted printing
1752 character by downshifting it. (Bug#15200)
1753
1754 2013-08-28 Juri Linkov <juri@jurta.org>
1755
1756 * isearch.el (isearch-search): Change regexp error message for
1757 non-regexp searches. (Bug#15166)
1758
1759 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1760
1761 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1762 for portability to hosts where /bin/sh has problems.
1763
1764 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1767
1768 2013-08-27 Juri Linkov <juri@jurta.org>
1769
1770 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1771 in the keyboard macro. (Bug#15126)
1772
1773 2013-08-27 Juri Linkov <juri@jurta.org>
1774
1775 * isearch.el (isearch-quote-char): Comment out converting unibyte
1776 to multibyte, thus syncing with its `quoted-insert' counterpart.
1777 (Bug#15166)
1778
1779 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1780
1781 * window.el (display-buffer-use-some-window): Add missing
1782 argument in call of get-largest-window (Bug#15185).
1783 Reported by Stephen Leake.
1784
1785 2013-08-27 Glenn Morris <rgm@gnu.org>
1786
1787 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1788
1789 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1792 from a matcher-function unless there's no more matches (bug#15161).
1793
1794 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * minibuffer.el: Revert change from 2013-08-20.
1797
1798 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1799 with text property `tramp-default', if appropriate.
1800 (tramp-check-proper-host): New defun.
1801 (tramp-dissect-file-name): Do not check hostname. Revert change
1802 of 2013-03-18.
1803 (tramp-backtrace): Make VEC-OR-PROC optional.
1804
1805 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1806 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1807 * net/tramp-sh.el (tramp-maybe-open-connection):
1808 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1809 Apply `tramp-check-proper-host'.
1810
1811 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1812
1813 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1814 lambda expression in order to have `describe-variable' display it.
1815
1816 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1819 BUF can be optional. (Bug#15186)
1820
1821 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1822
1823 * progmodes/flymake.el (flymake-get-real-file-name-function):
1824 Fix broken customization. (Bug#15184)
1825
1826 2013-08-25 Alan Mackenzie <acm@muc.de>
1827
1828 Improve indentation of bracelists defined by macros (without "=").
1829
1830 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1831 expansion begins with "{", regard it as bracelist when it doesn't
1832 contain a ";".
1833
1834 Parse C++ inher-intro when there's a template split over 2 lines.
1835
1836 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1837 rigorously the search for "class" etc. followed by ":".
1838
1839 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1840 random languages a regexp which never matches rather than nil.
1841
1842 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1843
1844 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1845 (c-awk-regexp-one-line-possibly-open-char-list-re)
1846 (c-awk-one-line-possibly-open-regexp-re)
1847 (c-awk-one-line-non-syn-ws*-re): Remove.
1848 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1849 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1850 (c-awk-space*-unclosed-regexp-/-re): New constants.
1851 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1852 aren't regexp delimiters.
1853
1854 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1855 handling for a rare situation in AWK Mode involving unterminated
1856 strings/regexps.
1857
1858 2013-08-23 Glenn Morris <rgm@gnu.org>
1859
1860 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1861
1862 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1863
1864 * files.el (create-file-buffer): If the result would begin with
1865 spaces, prepend a "|" instead of removing them. (Bug#15162)
1866
1867 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1870 text-properties (bug#15155).
1871
1872 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1873 exist any more.
1874 (calc-keypad-redraw): Remove unused var `pad'.
1875 (calc-keypad-press): Remove unused var `menu'.
1876
1877 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1878
1879 * window.el (display-buffer-pop-up-frame):
1880 Call pop-up-frame-function with BUFFER current so `make-frame' will
1881 use it as the new frame's buffer (Bug#15133).
1882
1883 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * calendar/timeclock.el: Minor cleanups.
1886 (timeclock-ask-before-exiting, timeclock-use-display-time):
1887 Use `symbol'.
1888 (timeclock-modeline-display): Define as alias before the
1889 actual definition.
1890 (timeclock-mode-line-display): Use define-minor-mode.
1891 (timeclock-day-list-template): Make it a function, add an argument.
1892 (timeclock-day-list-required, timeclock-day-list-length)
1893 (timeclock-day-list-debt, timeclock-day-list-span)
1894 (timeclock-day-list-break): Adjust calls accordingly.
1895
1896 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1899 Use read--expression so that completion works again.
1900
1901 2013-08-21 Sam Steingold <sds@gnu.org>
1902
1903 Add rudimentary inferior shell interaction
1904 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1905 (sh-set-shell): Reset it.
1906 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1907 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1908
1909 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * align.el: Use lexical-binding.
1912 (align-region): Simplify accordingly.
1913
1914 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1915
1916 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1917
1918 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1919 `non-essential' up.
1920
1921 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1922
1923 * net/tramp.el:
1924 * net/tramp-adb.el:
1925 * net/tramp-cmds.el:
1926 * net/tramp-ftp.el:
1927 * net/tramp-gvfs.el:
1928 * net/tramp-gw.el:
1929 * net/tramp-sh.el: Don't wrap external variable declarations by
1930 `eval-when-compile'.
1931
1932 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1933
1934 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1935 now that Emacs supports ImageMagick animations.
1936
1937 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1938
1939 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1940 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1941
1942 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1943
1944 * window.el (mouse-autoselect-window-select): Do autoselect when
1945 mouse pointer is on margin.
1946
1947 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1948
1949 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1950
1951 2013-08-16 Glenn Morris <rgm@gnu.org>
1952
1953 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1954 Handle "Remote Directory" response of some clients. (Bug#15058)
1955
1956 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1957 Tweak warning. (Bug#14926)
1958
1959 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1960 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1961
1962 * image-mode.el (image-mode-map): Add menu items to reverse,
1963 increase, decrease, reset animation speed.
1964 (image--set-speed, image-increase-speed, image-decrease-speed)
1965 (image-reverse-speed, image-reset-speed): New functions.
1966 (image-mode-map): Add bindings for speed commands.
1967
1968 * image.el (image-animate-get-speed, image-animate-set-speed):
1969 New functions.
1970 (image-animate-timeout): Respect image :speed property.
1971
1972 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1975 previous line (bug#15101).
1976 (debugger-eval-expression, debugger-record-expression):
1977 Use read--expression (bug#15102).
1978
1979 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1980
1981 Remove byte compiler warnings, visible when compiling with
1982 `byte-compile-force-lexical-warnings' set to t.
1983
1984 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1985 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1986 (tramp-handle-unhandled-file-name-directory)
1987 (tramp-handle-file-notify-add-watch, tramp-action-login)
1988 (tramp-action-succeed, tramp-action-permission-denied)
1989 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1990 arguments with "_".
1991
1992 * net/tramp-adb.el (tramp-adb-parse-device-names)
1993 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1994 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1995 (tramp-adb-handle-file-truename): Remove unused arguments.
1996
1997 * net/tramp-cache.el (tramp-flush-directory-property)
1998 (tramp-flush-connection-property, tramp-list-connections)
1999 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2000
2001 * net/tramp-compat.el (tramp-compat-make-temp-file):
2002 Rename FILENAME to F.
2003
2004 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2005 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2006 (tramp-zeroconf-parse-workstation-device-names)
2007 (tramp-zeroconf-parse-webdav-device-names)
2008 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2009
2010 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2011 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2012
2013 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2014 arguments.
2015 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2016 (tramp-sh-handle-insert-file-contents-literally)
2017 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2018 with "_".
2019 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2020 Remove unused variables.
2021
2022 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2023 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2024 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2025
2026 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2027 Make them a defconst.
2028 (tramp-uuencode-region): Remove unused variable.
2029
2030 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2031
2032 * frameset.el (frameset--prop-setter): New function.
2033 (frameset-prop): Add gv-setter declaration.
2034 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2035 parameter was already set in FILTERED. Doc fix.
2036 (frameset--record-minibuffer-relationships): Allow saving a
2037 minibufferless frame without its corresponding minibuffer frame.
2038 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2039 frame, if the frame id matches.
2040 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2041 frames before orphaned ones.
2042 (frameset-restore): Warn about orphaned windows, instead of error out.
2043
2044 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2045
2046 * window.el (window-make-atom): Don't overwrite parameter
2047 already present.
2048 (display-buffer-in-atom-window): Handle special case where we
2049 split an already atomic window.
2050 (window--major-non-side-window, display-buffer-in-side-window)
2051 (window--side-check): Ignore minibuffer window when walking
2052 window tree.
2053 (window-deletable-p): Return 'frame only if no other frame uses
2054 our minibuffer window.
2055 (record-window-buffer): Run buffer-list-update-hook.
2056 (split-window): Make sure window--check-frame won't destroy an
2057 existing atomic window in case the new window gets nested
2058 inside.
2059 (display-buffer-at-bottom): Ignore minibuffer window when
2060 walking window tree. Don't split a side window.
2061 (pop-to-buffer): Don't set-buffer here, the select-window call
2062 should do that.
2063 (mouse-autoselect-window-select): Autoselect only if we are in the
2064 text portion of the window.
2065
2066 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2067
2068 * net/shr.el (shr-parse-image-data): New function to grab both the
2069 data itself and the Content-Type.
2070 (shr-put-image): Use it.
2071
2072 * net/eww.el (eww-display-image): Ditto.
2073
2074 * image.el (image-content-type-suffixes): New variable.
2075
2076 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2077
2078 * progmodes/python.el (python-imenu--build-tree)
2079 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2080
2081 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2082
2083 * simple.el (backward-word): Mention the optional argument.
2084
2085 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * frameset.el (frameset--make): Rename constructor from make-frameset.
2088 (frameset-p, frameset-valid-p): Don't autoload.
2089 (frameset-valid-p): Use normal accessors.
2090
2091 2013-08-13 Glenn Morris <rgm@gnu.org>
2092
2093 * progmodes/compile.el (compile-command): Tweak example in doc.
2094 * obsolete/scribe.el (scribe-mode):
2095 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2096
2097 * mail/feedmail.el (feedmail-confirm-outgoing)
2098 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2099
2100 * cus-start.el (truncate-partial-width-windows): Fix type.
2101
2102 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2103
2104 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2105
2106 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * emacs-lisp/timer.el (timer--time-setter): New function.
2109 (timer--time): Use it as gv-setter.
2110
2111 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2112 setter is not a symbol.
2113
2114 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2115
2116 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2117 if sending fails. This makes debugging easier.
2118
2119 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2120
2121 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2122 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2123 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2124
2125 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2126
2127 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2128
2129 2013-08-12 Glenn Morris <rgm@gnu.org>
2130
2131 * format.el (format-annotate-function):
2132 Handle read-only text properties in the source. (Bug#14887)
2133
2134 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2135
2136 * net/eww.el (eww-display-html): Ignore coding system errors.
2137 One web site uses "utf-8lias" as the coding system.
2138
2139 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2140
2141 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2142
2143 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2144
2145 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2146 (tutorial--detailed-help): Remove unused local variables.
2147 (tutorial--save-tutorial-to): Use ignore-errors.
2148 (help-with-tutorial): Use looking-at-p.
2149
2150 * view.el (view-buffer-other-window, view-buffer-other-frame):
2151 Mark unused arguments.
2152
2153 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2154 (woman-select-symbol-fonts, woman, woman-find-file)
2155 (woman-insert-file-contents, woman-non-underline-faces):
2156 Use string-match-p.
2157 (woman1-unquote): Move declaration.
2158
2159 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2160 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2161 argument. Remove unused local variable.
2162 (xml-parse-elem-type): Use string-match-p.
2163 (xml-substitute-numeric-entities): Use ignore-errors.
2164
2165 * calculator.el (calculator): Mark unused argument.
2166 (calculator-paste, calculator-quit, calculator-integer-p):
2167 Use ignore-errors.
2168 (calculator-string-to-number, calculator-decimal, calculator-exp)
2169 (calculator-op-or-exp): Use string-match-p.
2170
2171 * dired.el (dired-buffer-more-recently-used-p): Declare.
2172 (dired-insert-set-properties, dired-insert-old-subdirs):
2173 Use ignore-errors.
2174
2175 * dired-aux.el (dired-compress): Use ignore-errors.
2176 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2177 (dired-do-async-shell-command, dired-do-shell-command)
2178 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2179 (dired-insert-subdir-validate): Use string-match-p.
2180 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2181 (dired-add-entry): Use string-match-p, looking-at-p.
2182 (dired-insert-subdir-newpos): Remove unused local variable.
2183
2184 * filenotify.el (file-notify-callback): Remove unused local variable.
2185
2186 * filesets.el (filesets-error): Mark unused argument.
2187 (filesets-which-command-p, filesets-filter-dir-names)
2188 (filesets-directory-files, filesets-get-external-viewer)
2189 (filesets-ingroup-get-data): Use string-match-p.
2190
2191 * find-file.el (ff-other-file-name, ff-other-file-name)
2192 (ff-find-the-other-file, ff-cc-hh-converter):
2193 Remove unused local variables.
2194 (ff-get-file-name): Use string-match-p.
2195 (ff-all-dirs-under): Use ignore-errors.
2196
2197 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2198 (follow-select-if-visible): Remove unused local variable.
2199
2200 * forms.el (read-file-filter): Move declaration.
2201 (forms--make-format, forms--make-parser, forms-insert-record):
2202 Quote function with #'.
2203 (forms--update): Use string-match-p. Quote function with #'.
2204
2205 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2206 (help-make-xrefs): Use looking-at-p.
2207 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2208
2209 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2210 (ibuffer-confirm-operation-on): Use string-match-p.
2211
2212 * msb.el (msb-item-handler, msb-dired-item-handler):
2213 Mark unused arguments.
2214
2215 * ses.el (ses-decode-cell-symbol)
2216 (ses-kill-override): Remove unused local variable.
2217 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2218 (ses-load): Use ignore-errors, looking-at-p.
2219 (ses-jump-safe): Use ignore-errors.
2220 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2221
2222 * tabify.el (untabify, tabify): Mark unused arguments.
2223
2224 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2225 Mark unused argument.
2226 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2227 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2228
2229 * emacs-lisp/timer.el (timer--time): Define setter with
2230 gv-define-setter to avoid deprecation warning.
2231
2232 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2233 (*record-cmpl-statistics-p*): Remove (was commented out).
2234 (cmpl-statistics-block): Remove (body was commented out).
2235 All callers changed.
2236 (add-completions-from-buffer, load-completions-from-file):
2237 Remove unused variables.
2238
2239 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2240
2241 * filecache.el (file-cache-delete-file-list):
2242 Print message only when told so.
2243 (file-cache-files-matching): Use #' in mapconcat argument.
2244
2245 * ffap.el (ffap-url-at-point): Fix reference to variable
2246 thing-at-point-default-mail-uri-scheme.
2247
2248 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * subr.el (define-error): New function.
2251 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2252 error-file-not-found and define with define-error.
2253 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2254 and define with define-error.
2255 * userlock.el (file-locked, file-supersession):
2256 * simple.el (mark-inactive):
2257 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2258 * progmodes/ada-mode.el (ada-mode-errors):
2259 * play/life.el (life-extinct):
2260 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2261 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2262 * nxml/rng-util.el (rng-error):
2263 * nxml/rng-uri.el (rng-uri-error):
2264 * nxml/rng-match.el (rng-compile-error):
2265 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2266 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2267 * nxml/nxml-rap.el (nxml-scan-error):
2268 * nxml/nxml-outln.el (nxml-outline-error):
2269 * net/soap-client.el (soap-error):
2270 * net/gnutls.el (gnutls-error):
2271 * net/ange-ftp.el (ftp-error):
2272 * mpc.el (mpc-proc-error):
2273 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2274 (json-number-format, json-string-escape, json-string-format)
2275 (json-key-format, json-object-format):
2276 * jka-compr.el (compression-error):
2277 * international/quail.el (quail-error):
2278 * international/kkc.el (kkc-error):
2279 * emacs-lisp/ert.el (ert-test-failed):
2280 * calc/calc.el (calc-error, inexact-result, math-overflow)
2281 (math-underflow):
2282 * bookmark.el (bookmark-error-no-filename):
2283 * epg.el (epg-error): Define with define-error.
2284
2285 * time.el (display-time-event-handler)
2286 (display-time-next-load-average): Don't call sit-for since it seems
2287 unnecessary (bug#15045).
2288
2289 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2290 Use #' instead of ' to quote functions.
2291 (checkdoc-output-mode): Use setq-local.
2292 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2293 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2294 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2295 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2296 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2297 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2298 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2299 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2300
2301 * ido.el (ido-completion-help): Fix up compiler warning.
2302
2303 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2304
2305 * frameset.el (frameset-p): Add autoload cookie.
2306 (frameset--jump-to-register): New function, based on code moved from
2307 register.el.
2308 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2309
2310 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2311 (frameset-restore, frameset-save, frameset-session-filter-alist):
2312 Remove declarations.
2313 (register-alist): Doc fix.
2314 (frameset-to-register): Move to frameset.el.
2315 (jump-to-register, describe-register-1): Remove frameset-specific code.
2316
2317 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2318
2319 * allout-widgets.el (allout-widgets-pre-command-business)
2320 (allout-widgets-post-command-business)
2321 (allout-widgets-after-change-handler)
2322 (allout-decorate-item-and-context, allout-set-boundary-marker)
2323 (allout-body-modification-handler)
2324 (allout-graphics-modification-handler): Mark ignored arguments.
2325 (allout-widgets-post-command-business)
2326 (allout-widgets-exposure-change-processor)
2327 (allout-widgets-exposure-undo-processor)
2328 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2329 (allout-parse-item-at-point, allout-decorate-item-guides)
2330 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2331 * allout.el (epa-passphrase-callback-function): Declare.
2332 (allout-overlay-insert-in-front-handler)
2333 (allout-overlay-interior-modification-handler)
2334 (allout-isearch-end-handler, allout-chart-siblings)
2335 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2336 (allout-yank-processing, allout-process-exposed)
2337 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2338 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2339 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2340 (lisp-indent-defform): Mark ignored arguments.
2341 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2342 (calculate-lisp-indent): Remove unused variables.
2343 * international/characters.el (indian-2-column, arabic-2-column)
2344 (tibetan): Mark ignored arguments.
2345 (use-cjk-char-width-table): Mark ignored arguments.
2346 Remove unused variables.
2347 * international/fontset.el (build-default-fontset-data)
2348 (x-compose-font-name, create-fontset-from-fontset-spec):
2349 Mark ignored arguments.
2350 (fontset-plain-name): Remove unused variables.
2351 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2352 (keyboard-coding-system): Mark ignored arguments.
2353 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2354 * help.el (resize-temp-buffer-window):
2355 * window.el (display-buffer-in-major-side-window)
2356 (display-buffer-in-side-window, display-buffer-in-previous-window):
2357 Remove unused variables.
2358 * isearch.el (isearch-forward-symbol):
2359 * version.el (emacs-bzr-version-bzr):
2360 * international/mule-cmds.el (current-language-environment):
2361 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2362 (x-handle-display):
2363 * term/pc-win.el (x-list-fonts, x-display-planes)
2364 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2365 (x-server-version, x-display-screens, x-display-mm-height)
2366 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2367 (x-selection-owner-p, x-own-selection-internal)
2368 (x-disown-selection-internal, x-get-selection-internal)
2369 (msdos-initialize-window-system):
2370 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2371 * term/x-win.el (x-handle-no-bitmap-icon):
2372 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2373 (vc-default-find-file-hook, vc-default-extra-menu):
2374 Mark ignored arguments.
2375
2376 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2379 break-condition in the context of the debugged code (bug#12685).
2380
2381 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2382
2383 * comint.el:
2384 Do not use an overlay to highlight the last prompt. (Bug#14744)
2385 (comint-mode): Make comint-last-prompt buffer local.
2386 (comint-last-prompt): New variable.
2387 (comint-last-prompt-overlay): Remove. Superseded by
2388 comint-last-prompt.
2389 (comint-snapshot-last-prompt, comint-output-filter):
2390 Use comint-last-prompt.
2391
2392 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2393
2394 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2395 (frameset-save): Check validity of the resulting frameset.
2396
2397 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2398
2399 * ido.el (ido-record-command): Add doc string.
2400
2401 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2402
2403 * frameset.el (frameset): Do not disable creation of the default
2404 frameset-p predicate. Doc fix.
2405 (frameset-valid-p): New function, copied from the old predicate-p.
2406 Add additional checks.
2407 (frameset-restore): Check with frameset-valid-p.
2408 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2409 (frameset-name, frameset-description, frameset-properties)
2410 (frameset-states): Add docstring.
2411 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2412 (frameset-filter-alist): Doc fixes.
2413
2414 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2415
2416 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2417
2418 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2421 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2422 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2423 (byte-compile-normal-call): Remove obsolescence check.
2424
2425 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2426
2427 * frameset.el (frameset-restore): Doc fix.
2428
2429 * register.el (frameset-frame-id, frameset-frame-with-id)
2430 (frameset-p, frameset-restore, frameset-save): Declare.
2431 (register-alist): Document framesets.
2432 (frameset-session-filter-alist): Declare.
2433 (frameset-to-register): New function.
2434 (jump-to-register): Implement jumping to framesets. Doc fix.
2435 (describe-register-1): Describe framesets.
2436
2437 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2438
2439 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2440
2441 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2442 Use lexical-binding.
2443
2444 * frameset.el (frameset): Use type vector, not list (incompatible
2445 change). Do not declare a new constructor, use the default one.
2446 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2447 `name' and `description', respectively, and add read-only slot
2448 `timestamp'. Doc fixes.
2449 (frameset-copy, frameset-persistent-filter-alist)
2450 (frameset-filter-alist, frameset-switch-to-gui-p)
2451 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2452 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2453 (frameset-filter-iconified, frameset-keep-original-display-p):
2454 Doc fixes.
2455 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2456 Rename from frameset-filter-(save|restore)-param. All callers changed.
2457 Doc fix.
2458 (frameset-p): Adapt to change to vector and be more thorough.
2459 Change arg name to OBJECT. Doc fix.
2460 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2461 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2462 All callers changed.
2463 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2464 All callers changed.
2465 (frameset--record-minibuffer-relationships): Rename from
2466 frameset--process-minibuffer-frames. All callers changed.
2467 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2468 Use new default constructor (again). Doc fix.
2469 (frameset--find-frame-if): Rename from `frameset--find-frame.
2470 All callers changed.
2471 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2472 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2473 Doc fix.
2474 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2475 PARAMETERS and WINDOW-STATE, respectively.
2476 (frameset-restore): Add new keyword argument PREDICATE.
2477 Reset frameset--target-display to nil. Doc fix.
2478
2479 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2482 (bat-mode): Use it.
2483 (bat-mode-syntax-table): Mark \n as end-of-comment.
2484 (bat-font-lock-keywords): Remove comment rule.
2485
2486 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2487 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2488
2489 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2490 (byte-compile-callargs-warn): Use `push'.
2491 (byte-compile-arglist-warn): Ignore higher-order "calls".
2492 (byte-compile-file-form-autoload): Use `pcase'.
2493 (byte-compile-function-form): If quoting a symbol, check that it exists.
2494
2495 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2496
2497 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2498 and add a few popular commands found in batch files.
2499 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2500 (dos-mode): Doc fixes.
2501
2502 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2505 (dos-mode): Use setq-local. Add space after "rem".
2506 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2507 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2508
2509 2013-08-07 Arni Magnusson <arnima@hafro.is>
2510
2511 * progmodes/dos.el: New file.
2512 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2513 dos-mode.
2514
2515 2013-08-06 Glenn Morris <rgm@gnu.org>
2516
2517 * calendar/calendar.el: Add new faces, and day-header-array.
2518 (calendar-weekday-header, calendar-weekend-header)
2519 (calendar-month-header): New faces.
2520 (calendar-day-header-construct): New function.
2521 (calendar-day-header-width): Also :set calendar-day-header-array.
2522 (calendar-american-month-header, calendar-european-month-header)
2523 (calendar-iso-month-header): Use calendar- faces.
2524 (calendar-generate-month):
2525 Use calendar-day-header-array for day headers; apply faces to them.
2526 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2527 (calendar-abbrev-construct): Add optional maxlen argument.
2528 (calendar-day-name-array): Doc fix.
2529 (calendar-day-name-array, calendar-abbrev-length)
2530 (calendar-day-abbrev-array):
2531 Also :set calendar-day-header-array, and maybe redraw.
2532 (calendar-day-header-array): New option. (Bug#15007)
2533 (calendar-font-lock-keywords): Set to nil and make obsolete.
2534 (calendar-day-name): Add option to use header array.
2535
2536 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2537
2538 * net/shr.el (shr-render-td): Remove debugging.
2539 (shr-render-td): Make width computation consistent by defaulting
2540 all zero-width columns to 10 characters. This may not be optimal,
2541 but it's at least consistent.
2542 (shr-make-table-1): Redo last change to fix the real problem in
2543 colspan handling.
2544
2545 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2546
2547 * files.el (cache-long-line-scans):
2548 Make obsolete alias to `cache-long-scans'.
2549
2550 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * frameset.el (frameset, frameset-filter-alist)
2553 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2554 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2555 (frameset-compute-pos): Rename from frameset--compute-pos,
2556 and add docstring.
2557 (frameset-move-onscreen): Use frameset-compute-pos.
2558 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2559
2560 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2561 Fix typos in docstrings.
2562
2563 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2564
2565 * frame.el (get-other-frame): Tiny cleanup.
2566
2567 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2568
2569 * vc/vc.el (vc-default-ignore-completion-table):
2570 Silence byte-compiler warning.
2571
2572 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2573 slot , which can indeed be nil.
2574 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2575 Move entry for `left' from persistent to live filter alist.
2576 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2577 Doc fixes.
2578 (frameset-filter-params): When restoring a frame, copy items added to
2579 `filtered', to avoid unwittingly modifying the original parameters.
2580 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2581 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2582
2583 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2584 to use looking-at-p instead of looking-at. (Bug#15028)
2585
2586 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 Revert introduction of isearch-filter-predicates (bug#14714).
2589 Rely on add-function instead.
2590 * isearch.el (isearch-filter-predicates): Rename it back to
2591 isearch-filter-predicate.
2592 (isearch-message-prefix): Use advice-function-mapc and advice
2593 properties to get the isearch-message-prefix.
2594 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2595 instead of run-hook-with-args-until-failure.
2596 (isearch-filter-visible): Not obsolete any more.
2597 * loadup.el: Preload nadvice.
2598 * replace.el (perform-replace): Revert to funcall
2599 instead of run-hook-with-args-until-failure.
2600 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2601 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2602 dired-isearch-filenames-toggle; make it into a proper minor mode.
2603 Use add/remove-function.
2604 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2605 Call the minor-mode rather than add/remove-hook.
2606 (dired-isearch-filter-filenames):
2607 Remove isearch-message-prefix property.
2608 * info.el (Info--search-loop): New function, extracted from Info-search.
2609 Funcall isearch-filter-predicate instead of
2610 run-hook-with-args-until-failure isearch-filter-predicates.
2611 (Info-search): Use it.
2612 (Info-mode): Use isearch-filter-predicate instead of
2613 isearch-filter-predicates.
2614
2615 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2616
2617 Do not call to `selected-window' where it is assumed by default.
2618 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2619 `window-hscroll', `window-width', `window-height', `window-buffer',
2620 `window-frame', `window-start', `window-point', `next-window'
2621 and `window-display-table'.
2622 * abbrev.el (abbrev--default-expand):
2623 * bs.el (bs--show-with-configuration):
2624 * buff-menu.el (Buffer-menu-mouse-select):
2625 * calc/calc.el (calc):
2626 * calendar/calendar.el (calendar-generate-window):
2627 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2628 (diary-make-entry):
2629 * comint.el (send-invisible, comint-dynamic-complete-filename)
2630 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2631 * completion.el (complete):
2632 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2633 * disp-table.el (describe-current-display-table):
2634 * doc-view.el (doc-view-insert-image):
2635 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2636 * ehelp.el (with-electric-help):
2637 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2638 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2639 * emacs-lisp/helper.el (Helper-help-scroller):
2640 * emulation/cua-base.el (cua--post-command-handler-1):
2641 * eshell/esh-mode.el (eshell-output-filter):
2642 * ffap.el (ffap-gnus-wrapper):
2643 * help-macro.el (make-help-screen):
2644 * hilit-chg.el (highlight-compare-buffers):
2645 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2646 * hl-line.el (global-hl-line-highlight):
2647 * icomplete.el (icomplete-simple-completing-p):
2648 * isearch.el (isearch-done):
2649 * jit-lock.el (jit-lock-stealth-fontify):
2650 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2651 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2652 * mpc.el (mpc-tagbrowser, mpc):
2653 * net/rcirc.el (rcirc-any-buffer):
2654 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2655 * play/landmark.el (landmark-max-width, landmark-max-height):
2656 * play/zone.el (zone):
2657 * progmodes/compile.el (compilation-goto-locus):
2658 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2659 * progmodes/etags.el (find-tag-other-window):
2660 * progmodes/fortran.el (fortran-column-ruler):
2661 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2662 * progmodes/verilog-mode.el (verilog-point-text):
2663 * reposition.el (reposition-window):
2664 * rot13.el (toggle-rot13-mode):
2665 * server.el (server-switch-buffer):
2666 * shell.el (shell-dynamic-complete-command)
2667 (shell-dynamic-complete-environment-variable):
2668 * simple.el (insert-buffer, set-selective-display)
2669 (delete-completion-window):
2670 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2671 (speedbar-recenter):
2672 * startup.el (fancy-splash-head):
2673 * textmodes/ispell.el (ispell-command-loop):
2674 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2675 * tutorial.el (help-with-tutorial):
2676 * vc/add-log.el (add-change-log-entry):
2677 * vc/compare-w.el (compare-windows):
2678 * vc/ediff-help.el (ediff-indent-help-message):
2679 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2680 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2681 (ediff-setup-control-frame):
2682 * vc/emerge.el (emerge-position-region):
2683 * vc/pcvs-util.el (cvs-bury-buffer):
2684 * window.el (walk-windows, mouse-autoselect-window-select):
2685 * winner.el (winner-set-conf, winner-undo): Related users changed.
2686
2687 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2688
2689 * frameset.el (frameset--set-id): Doc fix.
2690 (frameset-frame-id, frameset-frame-id-equal-p)
2691 (frameset-locate-frame-id): New functions.
2692 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2693 (frameset-restore): Use them.
2694
2695 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2696
2697 Do not call to `selected-frame' where it is assumed by default.
2698 Affected functions are `raise-frame', `redraw-frame',
2699 `frame-first-window', `frame-terminal' and `delete-frame'.
2700 * calendar/appt.el (appt-disp-window):
2701 * epg.el (epg-wait-for-completion):
2702 * follow.el (follow-delete-other-windows-and-split)
2703 (follow-avoid-tail-recenter):
2704 * international/mule.el (set-terminal-coding-system):
2705 * mail/rmail.el (rmail-mail-return):
2706 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2707 * progmodes/f90.el (f90-add-imenu-menu):
2708 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2709 * server.el (server-switch-buffer):
2710 * simple.el (delete-completion-window):
2711 * talk.el (talk):
2712 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2713 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2714 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2715 * vc/ediff.el (ediff-documentation): Related users changed.
2716 * frame.el (selected-terminal): Remove the leftover.
2717
2718 2013-08-05 Glenn Morris <rgm@gnu.org>
2719
2720 * calendar/calendar.el (calendar-generate-month):
2721 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2722 (calendar-generate-month, calendar-font-lock-keywords):
2723 Fix for calendar-day-header-width > length of any day name.
2724
2725 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2726
2727 * desktop.el (desktop-clear): Use new name of sort predicate.
2728
2729 * frameset.el (frameset): Add docstring. Move :version property to its
2730 own `version' slot.
2731 (frameset-copy): Rename from copy-frameset.
2732 (frameset-p): Check more thoroughly.
2733 (frameset-prop): Do not check for :version, which is no longer a prop.
2734 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2735 Use new :never value instead of t.
2736 (frameset-filter-alist): Expand and clarify docstring.
2737 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2738 (frameset-filter-minibuffer, frameset-filter-save-param)
2739 (frameset-filter-restore-param, frameset-filter-iconified):
2740 Add pointer to docstring of frameset-filter-alist.
2741 (frameset-filter-params): Rename filter values to be more meaningful:
2742 :never instead of t, and reverse the meanings of :save and :restore.
2743 (frameset--process-minibuffer-frames): Clarify error message.
2744 (frameset-save): Avoid unnecessary and confusing call to framep.
2745 Use new BOA constructor for framesets.
2746 (frameset--reuse-list): Doc fix.
2747 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2748 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2749 (frameset-minibufferless-first-p): Doc fix.
2750 Rename from frameset-sort-frames-for-deletion.
2751 (frameset-restore): Doc fixes. Use new function names.
2752 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2753
2754 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2755
2756 * desktop.el (desktop-restore-forces-onscreen)
2757 (desktop-restore-reuses-frames): Document :keyword constant values.
2758 (desktop-filter-parameters-alist): Remove, now identical to
2759 frameset-filter-alist.
2760 (desktop--filter-tty*): Remove, moved to frameset.el.
2761 (desktop-save-frameset, desktop-restore-frameset):
2762 Do not pass :filters argument.
2763
2764 * frameset.el (frameset-live-filter-alist)
2765 (frameset-persistent-filter-alist): New variables.
2766 (frameset-filter-alist): Use them. Add autoload cookie.
2767 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2768 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2769 `frameset--id' (it's supposed to be internal to frameset.el).
2770 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2771 (frameset--initial-params): New function.
2772 (frameset--get-frame): Use it. Doc fix.
2773 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2774 Accept :all, not 'all.
2775 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2776 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2777 with fbound symbols. Fix frame id matching, and remove matching ids if
2778 the frame being restored is deleted. Obey :delete.
2779
2780 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * subr.el (macrop): New function.
2783 (text-clone--maintaining): New var.
2784 (text-clone--maintain): Rename from text-clone-maintain. Use it
2785 instead of inhibit-modification-hooks.
2786
2787 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2788 a proxy, so as handle autoloads and redefinitions of the target.
2789 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2790
2791 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2792 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2793 (pcase--mutually-exclusive-p): New function.
2794 (pcase--split-consp): Use it.
2795 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2796 mutually exclusive with the current predicate.
2797
2798 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2799 (edebug-macrop): Remove. Use `macrop' instead.
2800 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2801 (ad-macro-p):
2802 * eshell/esh-cmd.el (eshell-macrop):
2803 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2804
2805 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2808 (advice-mapc): New function, using it.
2809 (advice-function-member-p): New function.
2810 (advice--normalize): Store the cdr in advice--saved-rewrite since
2811 that's the part that will be changed.
2812 (advice--symbol-function): New function.
2813 (advice-remove): Handle removal before the function is defined.
2814 Adjust to new advice--saved-rewrite.
2815 (advice-member-p): Use advice-function-member-p and
2816 advice--symbol-function.
2817
2818 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2819
2820 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2821 (frameset-filter-minibuffer): Doc fix.
2822 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2823 (frameset--set-id, frameset--process-minibuffer-frames)
2824 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2825 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2826
2827 * desktop.el (desktop-clear): Only delete frames when called
2828 interactively and desktop-restore-frames is non-nil. Doc fix.
2829 (desktop-read): Set desktop-saved-frameset to nil.
2830
2831 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2832
2833 * vc/vc.el (vc-ignore): Rewrite.
2834 (vc-default-ignore-completion-table):
2835 (vc--read-lines):
2836 (vc--add-line, vc--remove-regexp): New functions.
2837
2838 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2839 (vc-svn-ignore-completion-table): New function.
2840
2841 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2842 (vc-hg-ignore-completion-table):
2843 (vc-hg-find-ignore-file): New functions.
2844
2845 * vc/vc-git.el (vc-git-ignore): Rewrite.
2846 (vc-git-ignore-completion-table):
2847 (vc-git-find-ignore-file): New functions.
2848
2849 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2850
2851 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2852 (vc-bzr-ignore-completion-table):
2853 (vc-bzr-find-ignore-file): New functions.
2854
2855 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * frameset.el (frameset-prop): New function and setter.
2858 (frameset-save): Do not modify frame list passed by the caller.
2859
2860 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2863
2864 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2867 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2868
2869 * custom.el (custom-initialize-default, custom-initialize-set)
2870 (custom-initialize-reset, custom-initialize-changed): Affect the
2871 toplevel-default-value (bug#6275, bug#14586).
2872 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2873 for bug#6275.
2874
2875 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2876
2877 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2878 Add cl-def* expressions.
2879
2880 * frameset.el (frameset-filter-params): Fix order of arguments.
2881
2882 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2883
2884 Move code related to saving frames to frameset.el.
2885 * desktop.el: Require frameset.
2886 (desktop-restore-frames): Doc fix.
2887 (desktop-restore-reuses-frames): Rename from
2888 desktop-restoring-reuses-frames.
2889 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2890 (desktop-clear): Clear frames too.
2891 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2892 (desktop--filter-tty*, desktop-save, desktop-read):
2893 Use frameset functions.
2894 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2895 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2896 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2897 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2898 (desktop--process-minibuffer-frames, desktop-save-frames)
2899 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2900 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2901 (desktop--sort-states, desktop-restoring-frames-p)
2902 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2903 (desktop-restoring-frameset-p, desktop-restore-frameset)
2904 (desktop--check-dont-save, desktop-save-frameset): New functions.
2905 (desktop--app-id): New constant.
2906 (desktop-first-buffer, desktop-buffer-ok-count)
2907 (desktop-buffer-fail-count): Move before first use.
2908 * frameset.el: New file.
2909
2910 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * files.el: Use lexical-binding.
2913 (dir-locals-read-from-file): Remove unused `err' variable.
2914 (hack-dir-local-variables--warned-coding): New var.
2915 (hack-dir-local-variables): Use it to avoid repeated warnings.
2916 (make-backup-file-name--default-function): New function.
2917 (make-backup-file-name-function): Use it as default.
2918 (buffer-stale--default-function): New function.
2919 (buffer-stale-function): Use it as default.
2920 (revert-buffer-insert-file-contents--default-function): New function.
2921 (revert-buffer-insert-file-contents-function): Use it as default.
2922 (insert-directory): Avoid add-to-list.
2923
2924 * autorevert.el (auto-revert-handler): Simplify.
2925 Use buffer-stale--default-function.
2926
2927 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2928
2929 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2930
2931 * whitespace.el (whitespace-ensure-local-variables): New function.
2932 (whitespace-cleanup-region): Call it.
2933 (whitespace-turn-on): Call it.
2934
2935 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2936
2937 Complete file name handlers.
2938
2939 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2940 (tramp-handle-verify-visited-file-modtime)
2941 (tramp-handle-file-notify-rm-watch): New functions.
2942 (tramp-call-process): Do not bind `default-directory'.
2943
2944 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2945 Order alphabetically.
2946 [access-file, add-name-to-file, dired-call-process]:
2947 [dired-compress-file, file-acl, file-notify-rm-watch]:
2948 [file-ownership-preserved-p, file-selinux-context]:
2949 [make-directory-internal, make-symbolic-link, set-file-acl]:
2950 [set-file-selinux-context, set-visited-file-modtime]:
2951 [verify-visited-file-modtime]: Add handler.
2952 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2953
2954 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2955 [file-notify-add-watch, file-notify-rm-watch]:
2956 [set-file-times, set-visited-file-modtime]:
2957 [verify-visited-file-modtime]: Add handler.
2958 (with-tramp-gvfs-error-message)
2959 (tramp-gvfs-handle-set-visited-file-modtime)
2960 (tramp-gvfs-fuse-file-name): Remove.
2961 (tramp-gvfs-handle-file-notify-add-watch)
2962 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2963 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2964
2965 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2966 Order alphabetically.
2967 [file-notify-rm-watch ]: Use default Tramp handler.
2968 [executable-find]: Remove private handler.
2969 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2970 `default-directory'.
2971 (tramp-sh-handle-executable-find)
2972 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2973 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2974 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2975 Do not use `format' in `tramp-message'.
2976
2977 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2978 [file-notify-rm-watch, set-visited-file-modtime]:
2979 [verify-visited-file-modtime]: Add handler.
2980 (tramp-smb-call-winexe): Do not bind `default-directory'.
2981
2982 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2983
2984 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2985
2986 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2987
2988 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2989 use it.
2990 (log-view-diff-changeset): Same.
2991 (log-view-diff-common): Call backend command `previous-revision'
2992 to find out the previous revision, in both cases. Swap the
2993 variables `to' and `fr', so that `fr' usually refers to the
2994 earlier revision (Bug#14989).
2995
2996 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2997
2998 * ibuf-ext.el (ibuffer-filter-by-filename):
2999 Make it work with dired buffers too.
3000
3001 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3002
3003 * emacs-lisp/re-builder.el (reb-color-display-p):
3004 * files.el (save-buffers-kill-terminal):
3005 * net/browse-url.el (browse-url):
3006 * server.el (server-save-buffers-kill-terminal):
3007 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3008 Prefer nil to selected-frame for the first arg of frame-parameter.
3009
3010 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3011
3012 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3013
3014 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3015
3016 * minibuffer.el (completion--twq-all): Try and preserve each
3017 completion's case choice (bug#14907).
3018
3019 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3020
3021 * net/network-stream.el (open-network-stream): Mention the new
3022 :nogreeting parameter.
3023 (network-stream-open-starttls): Use the :nogreeting parameter
3024 (bug#14938).
3025
3026 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3027
3028 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3029 more natural than popping.
3030
3031 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3032 (shr-urlify): Highlight under mouse.
3033
3034 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3035
3036 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3037
3038 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3039
3040 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3041 buffer for output.
3042
3043 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3044 point-min==1. Fix search string. Fix parentheses missing.
3045
3046 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3047 assume point-min==1. Fix search string. Fix parentheses missing.
3048
3049 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3050
3051 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3052 buffer for output.
3053
3054 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3055
3056 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3057 initial frame is minibuffer-less. (Bug#14841)
3058
3059 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3062 option.
3063
3064 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3065 (tramp-maybe-open-connection): Use it.
3066
3067 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3068
3069 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3070 minimal set of parameters passed when creating a frame, because
3071 the minibuffer status of a frame cannot be changed later.
3072
3073 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3074
3075 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3076 replace-regexp-in-string and inadvertent omissions in previous change.
3077 (todo-filter-items): Ensure only file names are comma-separated in
3078 name of filtered items buffer.
3079
3080 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3081
3082 * desktop.el: Optionally force offscreen frames back onscreen.
3083 (desktop-restoring-reuses-frames): New option.
3084 (desktop--compute-pos, desktop--move-onscreen): New functions.
3085 (desktop--make-frame): Use desktop--move-onscreen.
3086
3087 2013-07-27 Alan Mackenzie <acm@muc.de>
3088
3089 Fontify a Java generic method as a function.
3090 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3091 value to t.
3092
3093 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3094
3095 * calendar/todo-mode.el: Add command to rename todo files.
3096 (todo-rename-file): New command.
3097 (todo-key-bindings-t): Add key binding for it. Change the
3098 bindings of todo-filter-regexp-items(-multifile) to use `x'
3099 instead of `r', since the latter is better suited to the new
3100 renaming command.
3101
3102 2013-07-27 Alan Mackenzie <acm@muc.de>
3103
3104 Make Java try-with-resources statement parse properly.
3105 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3106 (c-block-stmt-1-2-key): New language constants/variables.
3107 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3108 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3109 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3110 with c-block-stmt-1-2-key.
3111
3112 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3113
3114 * desktop.el (desktop--make-frame): Apply most frame parameters after
3115 creating the frame to force (partially or totally) offscreen frames to
3116 be restored as such.
3117
3118 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3119
3120 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3121 (Bug#14948)
3122
3123 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3124
3125 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3126 `base' arg of backtrace-frame.
3127
3128 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3129
3130 * simple.el (list-processes): Doc fix.
3131
3132 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3133
3134 * desktop.el (desktop--select-frame):
3135 Try harder to reuse existing frames.
3136
3137 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3140 (edebug-eval): Use backtrace-eval.
3141 (edebug--display, edebug--recursive-edit): Don't let-bind the
3142 edebug-outer-* vars that keep track of variables we locally let-bind.
3143 (edebug-outside-excursion): Don't restore outside values of locally
3144 let-bound vars.
3145 (edebug--display): Use user-error.
3146 (cl-lexical-debug, cl-debug-env): Remove.
3147
3148 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3151 are restored to be sure that they are visible before deleting any
3152 remaining ones.
3153
3154 2013-07-26 Matthias Meulien <orontee@gmail.com>
3155
3156 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3157 vc-print-root-log. (Bug#14948)
3158
3159 2013-07-26 Richard Stallman <rms@gnu.org>
3160
3161 Add aliases for encrypting mail.
3162 * epa.el (epa-mail-aliases): New option.
3163 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3164 Bind inhibit-read-only so read-only text doesn't ruin everything.
3165 (epa-mail-default-recipients): New subroutine broken out.
3166 Handle epa-mail-aliases.
3167
3168 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 Add support for lexical variables to the debugger's `e' command.
3171 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3172 vars, except for debugger-outer-match-data.
3173 (debugger-frame-number): Move check for "on a function call" from
3174 callers into it. Add `skip-base' argument.
3175 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3176 (debugger-env-macro): Only reset the state stored in non-variables,
3177 i.e. current-buffer and match-data.
3178 (debugger-eval-expression): Rewrite using backtrace-eval.
3179 * subr.el (internal--called-interactively-p--get-frame): Remove.
3180 (called-interactively-p):
3181 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3182 `base' arg of backtrace-frame instead.
3183
3184 2013-07-26 Glenn Morris <rgm@gnu.org>
3185
3186 * align.el (align-regexp): Doc fix. (Bug#14857)
3187 (align-region): Explicit error if subexpression missing/does not match.
3188
3189 * simple.el (global-visual-line-mode):
3190 Do not duplicate the mode lighter. (Bug#14858)
3191
3192 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3193
3194 * window.el (display-buffer): In display-buffer bind
3195 split-window-keep-point to t, bug#14829.
3196
3197 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3198
3199 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3200 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3201 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3202 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3203 Change accordingly.
3204 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3205 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3206
3207 2013-07-25 Glenn Morris <rgm@gnu.org>
3208
3209 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3210
3211 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3212
3213 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3214 parameter to modify-frame-parameters if the value has not changed;
3215 this is a workaround for bug#14949.
3216 (desktop--make-frame): On cl-delete-if call, check parameter name,
3217 not full parameter.
3218
3219 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3220
3221 * vc/vc.el (vc-ignore): New function.
3222
3223 * vc/vc-svn.el (vc-svn-ignore): New function.
3224
3225 * vc/vc-hg.el (vc-hg-ignore): New function.
3226
3227 * vc/vc-git.el (vc-git-ignore): New function.
3228
3229 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3230 (vc-dir-ignore): New function.
3231
3232 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3233 (cvs-append-to-ignore): Move here from pcvs.el.
3234
3235 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3236
3237 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3238
3239 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3242 (desktop-restore-frames): Warn when deleting an existing frame failed.
3243
3244 2013-07-24 Glenn Morris <rgm@gnu.org>
3245
3246 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3247
3248 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3249
3250 * filenotify.el (file-notify-supported-p):
3251 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3252 Remove functions.
3253
3254 * autorevert.el (auto-revert-use-notify):
3255 (auto-revert-notify-add-watch):
3256 * net/tramp.el (tramp-file-name-for-operation):
3257 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3259 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3260 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3261 Remove `file-notify-supported-p' entry.
3262
3263 2013-07-24 Glenn Morris <rgm@gnu.org>
3264
3265 * printing.el: Replace all uses of deleted ps-windows-system,
3266 ps-lp-system, ps-flatten-list with lpr- versions.
3267
3268 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3271 checked with memq (bug#14935).
3272
3273 * files.el (revert-buffer-function): Use a non-nil default.
3274 (revert-buffer-preserve-modes): Declare var to
3275 provide access to the `preserve-modes' argument.
3276 (revert-buffer): Let-bind it.
3277 (revert-buffer--default): New function, extracted from revert-buffer.
3278
3279 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * lpr.el: Signal print errors more prominently.
3282 (print-region-function): Don't default to nil.
3283 (lpr-print-region): New function, extracted from print-region-1.
3284 Check lpr's return value and signal an error in case of problem.
3285 (print-region-1): Use it.
3286 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3287 versions instead.
3288 (ps-printer-name): Default to nil.
3289 (ps-printer-name-option): Default to lpr-printer-switch.
3290 (ps-print-region-function): Don't default to nil.
3291 (ps-postscript-code-directory): Simplify default.
3292 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3293 (ps-string-list, ps-eval-switch, ps-flatten-list)
3294 (ps-flatten-list-1): Remove.
3295 (ps-multibyte-buffer): Avoid setq.
3296 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3297 (print-region-function, ps-print-region-function): Don't set them here.
3298
3299 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3300
3301 * ido.el (ido-fractionp):
3302 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3303 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3304 (ido-max-directory-size, ido-max-dir-file-cache)
3305 (ido-decorations): Doc fix.
3306
3307 * ansi-color.el: Fix old URL.
3308
3309 2013-07-23 Michael R. Mauger <michael@mauger.com>
3310
3311 * progmodes/sql.el: Version 3.3
3312 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3313 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3314 (sql-interactive-remove-continuation-prompt): Rewrite, use
3315 functions above. Fix continuation prompt and complete output line
3316 handling.
3317 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3318 redirected output buffer.
3319 (sql-mode): Restore deleted code (Bug#13591).
3320
3321 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3322
3323 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3324
3325 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3326
3327 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3328
3329 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3331 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3332
3333 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3334
3335 * desktop.el (desktop-clear): Simplify; remove useless checks
3336 against invalid buffer names.
3337 (desktop-list*): Use cl-list*.
3338 (desktop-buffer-info, desktop-create-buffer): Simplify.
3339
3340 2013-07-23 Leo Liu <sdl.web@gmail.com>
3341
3342 * bookmark.el (bookmark-make-record): Restore NAME as a default
3343 value. (Bug#14933)
3344
3345 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3348 extracted from autoload--insert-text.
3349 (autoload--insert-text): Remove.
3350 (autoload--print-cookie-text): New function, extracted from
3351 autoload--insert-cookie-text.
3352 (autoload--insert-cookie-text): Remove.
3353 (autoload-generate-file-autoloads): Adjust calls accordingly.
3354
3355 * winner.el (winner-hook-installed-p): Remove.
3356 (winner-mode): Simplify accordingly.
3357
3358 * subr.el (add-to-list): Fix compiler-macro when `append' is
3359 not constant. Don't use `cl-member' for the base case.
3360
3361 * progmodes/subword.el: Fix boundary case (bug#13758).
3362 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3363 own group.
3364 (subword-backward-regexp): Make it a constant.
3365 (subword-forward-internal): Don't treat a trailing capital as the
3366 beginning of a word.
3367
3368 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3369
3370 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3371 global value of tabulated-list-revert-hook (bug#14930).
3372
3373 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3374
3375 * desktop.el: Require 'cl-lib.
3376 (desktop-before-saving-frames-functions): New hook.
3377 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3378 for frames being saved. Rename from desktop--save-minibuffer-frames.
3379 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3380 Do not save frames with non-nil `desktop-dont-save' parameter.
3381 Filter out deleted frames.
3382 (desktop--find-frame): Use cl-find-if.
3383 (desktop--select-frame): Use cl-(first|second|third) to access values
3384 of desktop-mini.
3385 (desktop--make-frame): Use cl-delete-if.
3386 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3387 (desktop-restore-frames): Use cl-(first|second|third) to access values
3388 of desktop-mini. Look for visible frame at the end, not while
3389 restoring frames.
3390
3391 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3392 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3393 Use string-match-p, looking-at-p (bug#14927).
3394
3395 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3396
3397 * desktop.el (desktop-saved-frame-states):
3398 Rename from desktop--saved-states; all users changed.
3399 (desktop-save-frames): Rename from desktop--save-frames.
3400 Do not save state to desktop file.
3401 (desktop-save): Save desktop-saved-frame-states to desktop file
3402 and reset to nil.
3403 (desktop-restoring-frames-p): New function.
3404 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3405 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3406 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3407
3408 * desktop.el: Correctly restore iconified frames.
3409 (desktop--filter-iconified-position): New function.
3410 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3411
3412 2013-07-20 Glenn Morris <rgm@gnu.org>
3413
3414 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3415 Let `message' do the formatting.
3416 (def-gdb-preempt-display-buffer): Add explicit format.
3417
3418 * image-dired.el (image-dired-track-original-file):
3419 Use with-current-buffer.
3420 (image-dired-track-thumbnail): Use with-current-buffer.
3421 Avoid changing point of wrong window.
3422
3423 * image-dired.el (image-dired-track-original-file):
3424 Avoid changing point of wrong window. (Bug#14909)
3425
3426 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3427
3428 * progmodes/gdb-mi.el (gdb-done-or-error):
3429 Guard against "%" in gdb output. (Bug#14127)
3430
3431 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3432
3433 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3434 (Bug#14826)
3435
3436 * international/mule.el (coding-system-iso-2022-flags): Fix last
3437 change.
3438
3439 2013-07-20 Kenichi Handa <handa@gnu.org>
3440
3441 * international/mule.el (coding-system-iso-2022-flags):
3442 Add `8-bit-level-4'. (Bug#8522)
3443
3444 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3445
3446 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3447 (bug#14815).
3448
3449 * net/eww.el (eww-process-text-input): Allow inputting when the
3450 point is at the start of the line, as the properties aren't
3451 front-sticky.
3452
3453 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3454 degenerate widths.
3455
3456 2013-07-19 Richard Stallman <rms@gnu.org>
3457
3458 * epa.el (epa-popup-info-window): Doc fix.
3459
3460 * subr.el (split-string): New arg TRIM.
3461
3462 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3463
3464 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3465 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3466
3467 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3468
3469 * filenotify.el (file-notify--library): Rename from
3470 `file-notify-support'. Do not autoload. Adapt all uses.
3471 (file-notify-supported-p): New defun.
3472
3473 * autorevert.el (auto-revert-use-notify):
3474 Use `file-notify-supported-p' instead of `file-notify-support'.
3475 Adapt docstring.
3476 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3477
3478 * net/tramp.el (tramp-file-name-for-operation):
3479 Add `file-notify-supported-p'.
3480
3481 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3482 New defun.
3483 (tramp-sh-file-name-handler-alist): Add it as handler for
3484 `file-notify-supported-p '.
3485
3486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3488 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3489 Add `ignore' as handler for `file-notify-*' functions.
3490
3491 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3492
3493 * simple.el (line-move-partial, line-move): Don't start vscroll or
3494 scroll-up if the current line is not taller than the window.
3495 (Bug#14881)
3496
3497 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3498
3499 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3500 highlight question marks in the method names as strings.
3501 (ruby-block-beg-keywords): Inline.
3502 (ruby-font-lock-keyword-beg-re): Extract from
3503 `ruby-font-lock-keywords'.
3504
3505 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3506
3507 * frame.el (blink-cursor-blinks): New defcustom.
3508 (blink-cursor-blinks-done): New defvar.
3509 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3510 (blink-cursor-timer-function): Check if number of blinks has been
3511 done on X and NS.
3512 (blink-cursor-suspend, blink-cursor-check): New defuns.
3513
3514 2013-07-15 Glenn Morris <rgm@gnu.org>
3515
3516 * edmacro.el (edmacro-format-keys): Fix previous change.
3517
3518 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3519
3520 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3521 The hack didn't work outside English locales anyway.
3522
3523 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3524
3525 * simple.el (define-alternatives): Rename from alternatives-define,
3526 per RMS' suggestion.
3527
3528 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3529
3530 * desktop.el (desktop-restore-frames): Change default to t.
3531 (desktop-restore-in-current-display): Now offer more options.
3532 (desktop-restoring-reuses-frames): New customization option.
3533 (desktop--saved-states): Doc fix.
3534 (desktop-filter-parameters-alist): New variable, renamed and expanded
3535 from desktop--excluded-frame-parameters.
3536 (desktop--target-display): New variable.
3537 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3538 (desktop--filter-tty*, desktop--filter-*-color)
3539 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3540 (desktop--filter-save-desktop-parm)
3541 (desktop-restore-in-original-display-p): New functions.
3542 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3543 (desktop--save-minibuffer-frames): New function, inspired by a similar
3544 function from Martin Rudalics.
3545 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3546 (desktop--restore-in-this-display-p): Remove.
3547 (desktop--find-frame): Rename from desktop--find-frame-in-display
3548 and add predicate argument.
3549 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3550 (desktop--reuse-list): New variable.
3551 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3552 New functions.
3553 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3554
3555 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3558
3559 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3560
3561 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3562 Highlight conversion methods on Kernel.
3563
3564 2013-07-13 Alan Mackenzie <acm@muc.de>
3565
3566 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3567 and comment it out. This out-commenting enables certain C++
3568 declarations to be parsed correctly.
3569
3570 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3571
3572 * international/mule.el (define-coding-system): Doc fix.
3573
3574 * simple.el (default-font-height): Don't call font-info if the
3575 frame's default font didn't change since the frame was created.
3576 (Bug#14838)
3577
3578 2013-07-13 Leo Liu <sdl.web@gmail.com>
3579
3580 * ido.el (ido-read-file-name): Guard against non-symbol value.
3581
3582 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3583
3584 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3585 in nested defuns.
3586
3587 2013-07-13 Leo Liu <sdl.web@gmail.com>
3588
3589 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3590 ido-set-matches call. (Bug#6852)
3591
3592 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3593
3594 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3595 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3596 Ruby 2.0.
3597 (ruby-font-lock-keywords): Distinguish calls to functions with
3598 module-like names from module references. Highlight character
3599 literals.
3600
3601 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3602
3603 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3604 (gdb-send): Handle continued commands. (Bug#14847)
3605
3606 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3607
3608 * desktop.el (desktop--v2s): Remove unused local variable.
3609 (desktop-save-buffer): Make defvar-local; adjust docstring.
3610 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3611 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3612
3613 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3614
3615 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3616
3617 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3618
3619 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3620 (Bug#14842)
3621
3622 2013-07-12 Glenn Morris <rgm@gnu.org>
3623
3624 * doc-view.el: Require cl-lib at runtime too.
3625 (doc-view-remove-if): Remove.
3626 (doc-view-search-next-match, doc-view-search-previous-match):
3627 Use cl-remove-if.
3628
3629 * edmacro.el: Require cl-lib at runtime too.
3630 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3631 (edmacro-mismatch, edmacro-subseq): Remove.
3632
3633 * shadowfile.el: Require cl-lib.
3634 (shadow-remove-if): Remove.
3635 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3636 Use cl-remove-if.
3637
3638 * wid-edit.el: Require cl-lib.
3639 (widget-choose): Use cl-remove-if.
3640 (widget-remove-if): Remove.
3641
3642 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3643 (ebrowse-delete-if-not): Remove.
3644 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3645 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3646 Use cl-delete-if-not.
3647
3648 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3649
3650 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3651 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3652
3653 2013-07-12 Leo Liu <sdl.web@gmail.com>
3654
3655 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3656
3657 2013-07-11 Glenn Morris <rgm@gnu.org>
3658
3659 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3660 (edebug-gensym-index, edebug-gensym):
3661 Remove reimplementation of cl-gensym.
3662 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3663
3664 * thumbs.el: Require cl-lib at run-time too.
3665 (thumbs-gensym-counter, thumbs-gensym):
3666 Remove reimplementation of cl-gensym.
3667 (thumbs-temp-file): Use cl-gensym.
3668
3669 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3670 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3671 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3672 (ert--union, ert--gensym-counter, ert--gensym-counter)
3673 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3674 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3675 (ert-make-test-unbound, ert--expand-should-1)
3676 (ert--expand-should, ert--should-error-handle-error)
3677 (should-error, ert--explain-equal-rec)
3678 (ert--plist-difference-explanation, ert-select-tests)
3679 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3680 Use cl-lib functions rather than reimplementations.
3681
3682 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp.el (tramp-methods): Extend docstring.
3685 (tramp-connection-timeout): New defcustom.
3686 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3687 (with-tramp-progress-reporter): Simplify.
3688 (tramp-process-actions): Improve messages.
3689
3690 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3691 * net/tramp-sh.el (tramp-maybe-open-connection):
3692 Use `tramp-connection-timeout'.
3693 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3694 (Bug#14808)
3695
3696 2013-07-11 Leo Liu <sdl.web@gmail.com>
3697
3698 * ido.el (ido-read-file-name): Conform to the requirements of
3699 read-file-name. (Bug#11861)
3700 (ido-read-directory-name): Conform to the requirements of
3701 read-directory-name.
3702
3703 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3704
3705 * subr.el (delay-warning): New function.
3706
3707 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3708
3709 * simple.el (default-line-height): New function.
3710 (line-move-partial, line-move): Use it instead of computing the
3711 line height inline.
3712 (line-move-partial): Always compute ROWH. If the last line is
3713 partially-visible, but its text is completely visible, allow
3714 cursor to enter such a partially-visible line.
3715
3716 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3717
3718 Improve error messages. (Bug#14808)
3719
3720 * net/tramp.el (tramp-current-connection): New defvar, moved from
3721 tramp-sh.el.
3722 (tramp-message-show-progress-reporter-message): Remove, not
3723 needed anymore.
3724 (tramp-error-with-buffer): Show message in minibuffer.
3725 Discard input before waiting. Reset connection timestamp.
3726 (with-tramp-progress-reporter): Improve messages.
3727 (tramp-process-actions): Use progress reporter. Delete process in
3728 case of error. Improve messages.
3729
3730 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3731 Call `tramp-error-with-buffer' with vector and buffer.
3732 (tramp-current-connection): Remove.
3733 (tramp-maybe-open-connection): The car of
3734 `tramp-current-connection' are the first 3 slots of the vector.
3735
3736 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3737
3738 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3739 inside continued strings.
3740
3741 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3742
3743 Timestamp fixes for undo (Bug#14824).
3744 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3745
3746 2013-07-10 Leo Liu <sdl.web@gmail.com>
3747
3748 * files.el (require-final-newline): Allow safe local value.
3749 (Bug#14834)
3750
3751 2013-07-09 Leo Liu <sdl.web@gmail.com>
3752
3753 * ido.el (ido-read-directory-name): Handle fallback.
3754 (ido-read-file-name): Update DIR to ido-current-directory.
3755 (Bug#1516)
3756 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3757
3758 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3759
3760 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3761 "autoload". Remove "warn lower camel case" section, previously
3762 commented out. Highlight negation char. Do not highlight the
3763 target in singleton method definitions.
3764
3765 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * faces.el (tty-setup-hook): Declare the hook.
3768
3769 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3770 and detect when a guard/pred depends on local vars (bug#14773).
3771 (pcase--u1): Adjust caller.
3772
3773 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3774
3775 * simple.el (line-move-partial, line-move): Account for
3776 line-spacing.
3777 (line-move-partial): Avoid setting vscroll when the last
3778 partially-visible line in window is of default height.
3779
3780 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3781
3782 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3783 been used a while.
3784
3785 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3786
3787 * subr.el (read-quoted-char): Remove unused local variable `char'.
3788
3789 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3790
3791 * ediff.el (ediff-version): Version update.
3792 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3793 (ediff-merge-with-ancestor-command, ediff-directories-command)
3794 (ediff-directories3-command, ediff-merge-directories-command)
3795 (ediff-merge-directories-with-ancestor-command): New functions.
3796 All are command-line interfaces to ediff: to facilitate calling
3797 Emacs with the appropriate ediff functions invoked.
3798
3799 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3800 (viper-save-kill-buffer): Check if buffer is modified.
3801
3802 * viper.el (viper-version): Version update.
3803 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3804
3805 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3808 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3809 (viper-intercept-ESC-key): Simplify.
3810 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3811 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3812 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3813 (viper-setup-ESC-to-escape): New functions.
3814 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3815 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3816
3817 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3818
3819 * simple.el (default-font-height, window-screen-lines):
3820 New functions.
3821 (line-move, line-move-partial): Use them instead of
3822 frame-char-height and window-text-height. This makes scrolling
3823 text smoother when the buffer's default face uses a font that is
3824 different from the frame's default font.
3825
3826 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3827
3828 * files.el (write-file): Do not display confirm dialog for NS,
3829 it does its own dialog, which can't be cancelled (Bug#14578).
3830
3831 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3832
3833 * simple.el (line-move-partial): Adjust the row returned by
3834 posn-at-point for the current window-vscroll. (Bug#14567)
3835
3836 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3839 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3840 spaces.
3841
3842 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3843
3844 * window.el (window-state-put-stale-windows): New variable.
3845 (window--state-put-2): Save list of windows without matching buffer.
3846 (window-state-put): Remove "bufferless" windows if possible.
3847
3848 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * simple.el (alternatives-define): Remove leftover :group keyword.
3851 Tweak docstring.
3852
3853 2013-07-06 Leo Liu <sdl.web@gmail.com>
3854
3855 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3856 (ido-enable-virtual-buffers): New variable.
3857 (ido-buffer-internal, ido-toggle-virtual-buffers)
3858 (ido-make-buffer-list): Use it.
3859 (ido-exhibit): Support turning on and off virtual buffers
3860 automatically.
3861
3862 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * simple.el (alternatives-define): New macro.
3865
3866 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * subr.el (read-quoted-char): Use read-key.
3869 (sit-for): Let read-event decode tty input (bug#14782).
3870
3871 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3872
3873 * calendar/todo-mode.el: Add handling of file deletion, both by
3874 mode command and externally. Fix various related bugs.
3875 Clarify Commentary and improve some documentation strings and code.
3876 (todo-delete-file): New command.
3877 (todo-check-file): New function.
3878 (todo-show): Handle external deletion of the file we're trying to
3879 show (bug#14688). Replace called-interactively-p by an optional
3880 prefix argument to avoid problematic interaction with catch form
3881 when byte compiled (bug#14702).
3882 (todo-quit): Handle external deletion of the archive's todo file.
3883 Make sure the buffer that was visiting the archive file is still
3884 live before trying to bury it.
3885 (todo-category-completions): Handle external deletion of any
3886 category completion files.
3887 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3888 of todo files, in case of external deletion.
3889 (todo-add-file): Replace unnecessary setq by let-binding.
3890 (todo-find-archive): Check whether there are any archives.
3891 Replace unnecessary setq by let-binding.
3892 (todo-archive-done-item): Use find-file-noselect to get the
3893 archive buffer whether or not the archive already exists.
3894 Remove superfluous code. Use file size instead of buffer-file-name to
3895 check if the archive is new; if it is, update list of archives.
3896 (todo-default-todo-file): Allow nil to be a valid value for when
3897 there are no todo files.
3898 (todo-reevaluate-default-file-defcustom): Use corrected definition
3899 of todo-default-todo-file.
3900 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3901 (todo-delete-category, todo-show-categories-table)
3902 (todo-category-number): Clarify comment.
3903 (todo-filter-items): Clarify documentation string.
3904 (todo-show-current-file, todo-display-as-todo-file)
3905 (todo-reset-and-enable-done-separator): Tweak documentation string.
3906 (todo-done-separator): Make separator length window-width, since
3907 bug#2749 is now fixed.
3908
3909 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3910
3911 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3912 Support both "gvfs-monitor-dir" and "inotifywait".
3913 (tramp-sh-file-inotifywait-process-filter): Rename from
3914 `tramp-sh-file-notify-process-filter'.
3915 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3916 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3917
3918 2013-07-05 Leo Liu <sdl.web@gmail.com>
3919
3920 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3921
3922 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3923
3924 * frame.el (display-pixel-height, display-pixel-width)
3925 (display-mm-height, display-mm-width): Mention behavior on
3926 multi-monitor setups in docstrings.
3927 (w32-display-monitor-attributes-list): Declare function.
3928 (display-monitor-attributes-list): Use it.
3929
3930 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3931
3932 * filenotify.el: New package.
3933
3934 * autorevert.el (top): Require filenotify.el.
3935 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3936 instead.
3937 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3938 (auto-revert-notify-handler): Use `file-notify-*' functions.
3939
3940 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3941
3942 * net/tramp.el (tramp-file-name-for-operation):
3943 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3944
3945 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3946 for `file-notify-add-watch' and `file-notify-rm-watch'.
3947 (tramp-process-sentinel): Improve trace.
3948 (tramp-sh-handle-file-notify-add-watch)
3949 (tramp-sh-file-notify-process-filter)
3950 (tramp-sh-handle-file-notify-rm-watch)
3951 (tramp-get-remote-inotifywait): New defuns.
3952
3953 2013-07-03 Juri Linkov <juri@jurta.org>
3954
3955 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3956 call of `occur-read-primary-args' to interactive spec.
3957
3958 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3959 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3960
3961 2013-07-03 Matthias Meulien <orontee@gmail.com>
3962
3963 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3964 `Buffer-menu-multi-occur'. Add it to the menu.
3965 (Buffer-menu-mode): Document it in docstring.
3966 (Buffer-menu-multi-occur): New command. (Bug#14673)
3967
3968 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3969
3970 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3971 keywords and built-ins.
3972
3973 2013-07-03 Glenn Morris <rgm@gnu.org>
3974
3975 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3976
3977 Make info-xref checks case-sensitive by default
3978 * info.el (Info-find-node, Info-find-in-tag-table)
3979 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3980 Add option for exact case matching of nodes.
3981 * info-xref.el (info-xref): New custom group.
3982 (info-xref-case-fold): New option.
3983 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3984
3985 2013-07-03 Leo Liu <sdl.web@gmail.com>
3986
3987 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3988
3989 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3990
3991 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3992 middle of block statement initially, lower the depth. Remove
3993 FIXME comment, not longer valid. Remove middle of block statement
3994 detection, no need to do that anymore since we've been using
3995 `ruby-parse-region' here.
3996
3997 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3998
3999 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4000
4001 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4002
4003 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4004
4005 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4006
4007 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4008 (desktop-restore-in-current-display): New customization option.
4009 (desktop--excluded-frame-parameters): Add `font'.
4010 (desktop--save-frames): Rename from desktop--save-windows.
4011 (desktop--restore-in-this-display-p): New function.
4012 (desktop--make-full-frame): Remove unwanted width/height from
4013 full(width|height) frames.
4014 (desktop--restore-frames): Rename from desktop--restore-windows.
4015 Obey desktop-restore-current-display. Do not delete old frames or
4016 select a new frame unless we were able to restore at least one frame.
4017
4018 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4019
4020 * files.el (find-file-noselect): Simplify conditional expression.
4021
4022 * remember.el (remember-append-to-file):
4023 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4024
4025 Add `remember-notes' function to store random notes across Emacs
4026 restarts.
4027 * remember.el (remember-data-file): Add :set callback to affect
4028 notes buffer (if any).
4029 (remember-notes): New command.
4030 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4031 New defcustoms for the `remember-notes' function.
4032 (remember-notes-save-and-bury-buffer): New command.
4033 (remember-notes-mode-map): New variable.
4034 (remember-mode): New minor mode.
4035 (remember-notes--kill-buffer-query): New function.
4036 * startup.el (initial-buffer-choice): Add notes to custom type.
4037
4038 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4039
4040 * bindings.el (right-char, left-char): Don't call sit-for, this is
4041 no longer needed. Use arithmetic comparison only for numerical
4042 arguments.
4043
4044 * international/mule-cmds.el (select-safe-coding-system):
4045 Handle the case of FROM being a string correctly. (Bug#14755)
4046
4047 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4048
4049 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4050 progression on degenerate tables.
4051 (shr-rescale-image): ImageMagick animated images currently don't work.
4052
4053 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4054
4055 Some fixes and improvements for desktop frame restoration.
4056 It is still experimental and disabled by default.
4057 * desktop.el (desktop--save-windows): Put the selected frame at
4058 the head of the list.
4059 (desktop--make-full-frame): New function.
4060 (desktop--restore-windows): Try to re-select the frame that was
4061 selected upon saving. Do not abort if some frames fail to restore,
4062 just show an error message and continue. Set up maximized frames
4063 so they have default non-maximized dimensions.
4064
4065 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4066
4067 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4068 Don't start heredoc inside a string or comment.
4069
4070 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4071
4072 * bindings.el (visual-order-cursor-movement): New defcustom.
4073 (right-char, left-char): Provide visual-order cursor motion by
4074 calling move-point-visually. Update the doc strings.
4075
4076 2013-06-28 Kenichi Handa <handa@gnu.org>
4077
4078 * international/mule.el (define-coding-system): New coding system
4079 properties :inhibit-null-byte-detection,
4080 :inhibit-iso-escape-detection, and :prefer-utf-8.
4081 (set-buffer-file-coding-system): If :charset-list property of
4082 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4083 appropriate for setting.
4084
4085 * international/mule-cmds.el (select-safe-coding-system):
4086 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4087 multibyte characters, return utf-8 (or one of its siblings).
4088
4089 * international/mule-conf.el (prefer-utf-8): New coding system.
4090 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4091 files.
4092
4093 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4094
4095 * net/shr.el (shr-render-region): New function.
4096
4097 * net/eww.el: Autoload `eww-browse-url'.
4098
4099 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4100
4101 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4102 Adapt to `package-desc-version' being a list.
4103 Use `package--ac-desc-version' to retrieve version from a package
4104 archive element.
4105
4106 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4107
4108 New experimental feature to save&restore window and frame setup.
4109 * desktop.el (desktop-save-windows): New defcustom.
4110 (desktop--saved-states): New var.
4111 (desktop--excluded-frame-parameters): New defconst.
4112 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4113 (desktop--restore-windows, desktop--save-windows): New functions.
4114 (desktop-save): Call `desktop--save-windows'.
4115 (desktop-read): Call `desktop--restore-windows'.
4116
4117 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4118
4119 * net/shr.el (add-face-text-property): Remove compat definition.
4120
4121 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4122
4123 * info.el (Info-try-follow-nearest-node): Move search for footnote
4124 above search for node name to prevent missing a footnote (bug#14717).
4125
4126 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4127
4128 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4129
4130 2013-06-27 Leo Liu <sdl.web@gmail.com>
4131
4132 * net/eww.el (eww-read-bookmarks): Check file size.
4133
4134 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4137 advice--pending if newdef is nil or an autoload (bug#13820).
4138 (advice-mapc): New function.
4139
4140 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4141
4142 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4143 probably.
4144 (eww-mode-map): Add a menu bar.
4145 (eww-add-bookmark): New command.
4146 (eww-bookmark-mode): New mode and commands.
4147 (eww-add-bookmark): Remove newlines from the title.
4148 (eww-bookmark-browse): Don't bug out if it's the only window.
4149
4150 2013-06-26 Glenn Morris <rgm@gnu.org>
4151
4152 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4153 (hfy-size): Handle ttys. (Bug#14668)
4154
4155 * info-xref.el: Update for Texinfo 5 change in *note format.
4156 (info-xref-node-re, info-xref-note-re): New constants.
4157 (info-xref-check-buffer): Use info-xref-note-re.
4158
4159 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4162
4163 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4164 nil terminate the loop (bug#14718).
4165
4166 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4167
4168 * net/eww.el: Rework history traversal. When going forward/back,
4169 put these actions into the history, too, so that they can be
4170 replayed.
4171 (eww-render): Move the history reset to the correct buffer.
4172
4173 2013-06-25 Juri Linkov <juri@jurta.org>
4174
4175 * files-x.el (modify-dir-local-variable): Change the header comment
4176 in the file with directory local variables. (Bug#14692)
4177
4178 * files-x.el (read-file-local-variable-value): Add `default'.
4179 (Bug#14710)
4180
4181 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4182
4183 * net/eww.el (eww-make-unique-file-name): Create a unique file
4184 name before saving to entering `y' accidentally asynchronously.
4185
4186 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4187
4188 * net/eww.el (eww-download): New command and keystroke.
4189
4190 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4191
4192 * net/eww.el (eww-copy-page-url): Change name of command.
4193
4194 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4195 be more consistent with Info and dired.
4196
4197 * net/eww.el (eww-mode-map): Ditto.
4198
4199 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4202 packages from archives.
4203 (package-archive-contents): Change format; include obsolete packages.
4204 (package-desc): Use `dir' to mark builtin packages.
4205 (package--from-builtin): Set the `dir' field to `builtin'.
4206 (generated-autoload-file, version-control): Declare.
4207 (package-compute-transaction): Change first arg and return value to be
4208 lists of package-descs. Adjust to new package-archive-contents format.
4209 (package--add-to-archive-contents): Adjust to new
4210 package-archive-contents format.
4211 (package-download-transaction): Arg is now a list of package-descs.
4212 (package-install): If `pkg' is a package name, pass it as
4213 a requirement, so it is subject to the usual (e.g. disabled) checks.
4214 (describe-package): Accept package-desc as well.
4215 (describe-package-1): Describe a specific package-desc. Add links to
4216 other package-descs for the same package name.
4217 (package-menu-describe-package): Pass the actual package-desc.
4218 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4219 works correctly.
4220 (package-desc-status): New function.
4221 (package-menu--refresh): New function, extracted
4222 from package-menu--generate.
4223 (package-menu--generate): Use it.
4224 (package-delete): Update package-alist.
4225 (package-menu-execute): Don't call package-initialize.
4226
4227 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4228 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4229 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4230 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4231 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4232 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4233
4234 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4235
4236 * window.el (window--state-get-1): Workaround for bug#14527.
4237 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4238
4239 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4240
4241 * net/eww.el (eww-back-url): Implement the history by stashing all
4242 the data into a list.
4243 (eww-forward-url): Allow going forward in the history, too.
4244
4245 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4248 for values and use read--expression for expressions (bug#14710).
4249 (read-file-local-variable): Avoid setq.
4250 (read-file-local-variable-mode): Use minor-mode-list.
4251
4252 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4253
4254 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4255 for DOI URLs.
4256
4257 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4258
4259 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4260 Update imenu-support when dialect changes.
4261
4262 2013-06-25 Leo Liu <sdl.web@gmail.com>
4263
4264 * ido.el (ido-read-internal): Allow forward slash on windows.
4265
4266 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4267
4268 * net/eww.el (eww): Start of strings is \\`, not ^.
4269
4270 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4271
4272 * net/shr.el (shr-browse-url): Fix interactive spec.
4273
4274 * net/eww.el (eww): Add a trailing slash to domain names.
4275
4276 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4277
4278 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4279
4280 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4281
4282 * net/shr.el (shr-browse-url): Use an external browser if given a
4283 prefix.
4284
4285 * net/eww.el (eww-external-browser): Move to shr.
4286
4287 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4288
4289 * net/eww.el (eww): Work more correctly for file: URLs.
4290 (eww-detect-charset): Allow quoted charsets.
4291 (eww-yank-page-url): New command and keystroke.
4292
4293 2013-06-24 Daiki Ueno <ueno@gnu.org>
4294
4295 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4296 file name of gpg executable.
4297 (epg-context-program): New function.
4298 (epg-context-home-directory): New function.
4299 (epg-context-set-program): New function.
4300 (epg-context-set-home-directory): New function.
4301 (epg--start): Use `epg-context-program' instead of
4302 'epg-gpg-program'.
4303 (epg--list-keys-1): Likewise.
4304
4305 2013-06-24 Leo Liu <sdl.web@gmail.com>
4306
4307 * ido.el (ido-read-internal): Fix bug#14620.
4308
4309 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4310
4311 * faces.el (face-documentation): Simplify.
4312 (read-face-attribute, tty-find-type, x-resolve-font-name):
4313 Use `string-match-p'.
4314 (list-faces-display): Use `string-match-p'. Simplify.
4315 (face-spec-recalc): Check face to avoid face alias loops.
4316 (read-color): Use `string-match-p' and non-capturing parenthesis.
4317
4318 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4319
4320 * net/shr.el (shr-rescale-image): Use the new
4321 :max-width/:max-height functionality.
4322
4323 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4324
4325 * net/eww.el (eww-search-prefix): New variable.
4326 (eww): Use it.
4327 (eww-external-browser): New variable.
4328 (eww-mode-map): New keystroke.
4329 (eww-browse-with-external-browser): New command.
4330
4331 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4332
4333 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4334
4335 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4336 Don't skip aligning the next header field when padding is 0;
4337 otherwise, field width is not respected unless the title is as
4338 wide as the field.
4339
4340 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * emacs-lisp/package.el (package-el-version): Remove.
4343 (package-process-define-package): Fix inf-loop.
4344 (package-install): Allow symbols as arguments again.
4345
4346 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4347
4348 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4349 add some more keyword-like methods.
4350 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4351
4352 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4353
4354 * bs.el (bs-buffer-show-mark): Make defvar-local.
4355 (bs-mode): Use setq-local.
4356
4357 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4358 (emacs-lock--try-unlocking): Make defvar-local.
4359
4360 2013-06-22 Glenn Morris <rgm@gnu.org>
4361
4362 * play/cookie1.el (cookie-apropos): Minor simplification.
4363
4364 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4365
4366 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4367
4368 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4369 `regexp-opt', it breaks the build during dumping.
4370
4371 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4372
4373 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4374 Highlight keyword-like methods on Kernel and Module with
4375 font-lock-builtin-face.
4376 (auto-mode-alist): Consolidate different entries into one regexp
4377 and add more *file-s.
4378
4379 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4380
4381 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4382
4383 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4384 (diary-entry): Use it in the action of this button type instead of
4385 diary-goto-entry.
4386
4387 * calendar/todo-mode.el: New version.
4388 (todo-add-category): Append new category to end of file and give
4389 it the highest number, instead of putting it at the beginning and
4390 giving it 0. Incorporate noninteractive functionality.
4391 (todo-forward-category): Adapt to 1-based category numbering.
4392 Allow skipping over archived categories.
4393 (todo-backward-category): Derive from todo-forward-category.
4394 (todo-backward-item, todo-forward-item): Make noninteractive and
4395 delegate interactive part to new commands. Make sensitive to done items.
4396 (todo-categories): Make value an alist of category names and
4397 vectors of item counts.
4398 (todo-category-beg): Make a defconst.
4399 (todo-category-number): Use 1 instead of 0 as initial value.
4400 (todo-category-select): Make sensitive to overlays, optional item
4401 highlighting and done items.
4402 (todo-delete-item): Make sensitive to overlays and marked and done items.
4403 (todo-edit-item): Make sensitive to overlays and editing of
4404 date/time header optional. Add format checks.
4405 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4406 no-op if point is not on an item. Advertise using todo-edit-quit.
4407 (todo-edit-mode): Make sensitive to new format, font-locking, and
4408 multiple todo files.
4409 (todo-insert-item, todo-insert-item-here): Derive from
4410 todo-basic-insert-item and extend functionality.
4411 (todo-item-end, todo-item-start): Make sensitive to done items.
4412 (todo-item-string): Don't return text properties. Restore point.
4413 (todo-jump-to-category): Make sensitive to multiple todo files and
4414 todo archives. Use extended category completion.
4415 (todo-lower-item, todo-raise-item): Rename to *-priority and
4416 derive from todo-set-item-priority.
4417 (todo-mode): Derive from special-mode. Make sensitive to new
4418 format, font-locking and multiple todo files. Make read-only.
4419 (todo-mode-map): Don't suppress digit keys, so they can supply
4420 prefix arguments. Add many new key bindings.
4421 (todo-prefix): Insert as an overlay instead of file text.
4422 Change semantics from diary date expression to purely visual mark.
4423 (todo-print): Rename to todo-print-buffer. Make buffer display
4424 features printable. Remove option to restrict number of items
4425 printed. Add option to print to file.
4426 (todo-print-function): Rename to todo-print-buffer-function.
4427 (todo-quit): Extend to handle exiting new todo modes.
4428 (todo-remove-item): Make sensitive to overlays.
4429 (todo-save): Extend to buffers of filtered items.
4430 (todo-show): Make sensitive to done items, multiple todo files and
4431 new todo modes. Offer to convert legacy todo file before creating
4432 first new todo file.
4433 (todo-show-priorities): Rename to todo-top-priorities.
4434 Change semantics of value 0.
4435 (todo-top-priorities): Rename to todo-filter-top-priorities,
4436 derive from todo-filter-items and extend functionality.
4437 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4438 and extend functionality to other types of filtered items.
4439 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4440 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4441 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4442 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4443 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4444 (todo-edit-mode-hook, todo-entry-prefix-function)
4445 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4446 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4447 (todo-initials, todo-insert-threshold, todo-item-string-start)
4448 (todo-line-string, todo-menu, todo-mode-hook)
4449 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4450 (todo-print-priorities, todo-remove-separator)
4451 (todo-save-top-priorities-too, todo-string-count-lines)
4452 (todo-string-multiline-p, todo-time-string-format)
4453 (todo-tmp-buffer-name): Remove.
4454 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4455 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4456 (todo-edit-category-diary-inclusion)
4457 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4458 (todo-edit-file, todo-edit-item-date-day)
4459 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4460 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4461 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4462 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4463 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4464 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4465 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4466 (todo-filter-top-priorities-multifile, todo-find-archive)
4467 (todo-find-filtered-items-file, todo-go-to-source-item)
4468 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4469 (todo-jump-to-archive-category, todo-lower-category)
4470 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4471 (todo-move-category, todo-move-item, todo-next-button)
4472 (todo-next-item, todo-padded-string, todo-powerset)
4473 (todo-previous-button, todo-previous-item)
4474 (todo-print-buffer-to-file, todo-raise-category)
4475 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4476 (todo-set-category-number, todo-set-item-priority)
4477 (todo-set-top-priorities-in-category)
4478 (todo-set-top-priorities-in-file, todo-show-categories-table)
4479 (todo-sort-categories-alphabetically-or-numerically)
4480 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4481 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4482 (todo-toggle-item-header, todo-toggle-item-highlighting)
4483 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4484 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4485 (todo-unarchive-items, todo-unmark-category): New commands.
4486 (todo-absolute-file-name, todo-add-to-buffer-list)
4487 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4488 (todo-basic-insert-item, todo-category-completions)
4489 (todo-category-number, todo-category-string-matcher-1)
4490 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4491 (todo-check-format, todo-clear-matches)
4492 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4493 (todo-current-category, todo-date-string-matcher)
4494 (todo-define-insertion-command, todo-diary-expired-matcher)
4495 (todo-diary-goto-entry, todo-diary-item-p)
4496 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4497 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4498 (todo-done-item-section-p, todo-done-separator)
4499 (todo-done-string-matcher, todo-files, todo-filter-items)
4500 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4501 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4502 (todo-insert-category-line, todo-insert-item-from-calendar)
4503 (todo-insert-sort-button, todo-insert-with-overlays)
4504 (todo-insertion-command-name, todo-insertion-key-bindings)
4505 (todo-label-to-key, todo-longest-category-name-length)
4506 (todo-make-categories-list, todo-mode-external-set)
4507 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4508 (todo-modes-set-3, todo-multiple-filter-files)
4509 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4510 (todo-read-category, todo-read-date, todo-read-dayname)
4511 (todo-read-file-name, todo-read-time)
4512 (todo-reevaluate-category-completions-files-defcustom)
4513 (todo-reevaluate-default-file-defcustom)
4514 (todo-reevaluate-filelist-defcustoms)
4515 (todo-reevaluate-filter-files-defcustom)
4516 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4517 (todo-reset-done-separator, todo-reset-done-separator-string)
4518 (todo-reset-done-string, todo-reset-global-current-todo-file)
4519 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4520 (todo-reset-prefix, todo-set-categories)
4521 (todo-set-date-from-calendar, todo-set-show-current-file)
4522 (todo-set-top-priorities, todo-short-file-name)
4523 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4524 (todo-total-item-counts, todo-update-buffer-list)
4525 (todo-update-categories-display, todo-update-categories-sexp)
4526 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4527 New functions.
4528 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4529 New major modes.
4530 (todo-categories, todo-display, todo-edit, todo-faces)
4531 (todo-filtered): New defgroups.
4532 (todo-archived-only, todo-button, todo-category-string, todo-date)
4533 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4534 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4535 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4536 (todo-add-item-if-new-category, todo-always-add-time-string)
4537 (todo-categories-align, todo-categories-archived-label)
4538 (todo-categories-category-label, todo-categories-diary-label)
4539 (todo-categories-done-label, todo-categories-number-separator)
4540 (todo-categories-todo-label, todo-categories-totals-label)
4541 (todo-category-completions-files, todo-completion-ignore-case)
4542 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4543 (todo-done-separator-string, todo-done-string)
4544 (todo-files-function, todo-filter-done-items, todo-filter-files)
4545 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4546 (todo-initial-category, todo-initial-file, todo-item-mark)
4547 (todo-legacy-date-time-regexp, todo-mode-line-function)
4548 (todo-nondiary-marker, todo-number-prefix)
4549 (todo-print-buffer-function, todo-show-current-file)
4550 (todo-show-done-only, todo-show-first, todo-show-with-done)
4551 (todo-skip-archived-categories, todo-top-priorities-overrides)
4552 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4553 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4554 New defcustoms.
4555 (todo-category-done, todo-date-pattern, todo-date-string-start)
4556 (todo-diary-items-buffer, todo-done-string-start)
4557 (todo-filtered-items-buffer, todo-item-start)
4558 (todo-month-abbrev-array, todo-month-name-array)
4559 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4560 (todo-top-priorities-buffer): New defconsts.
4561 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4562 (todo-categories-with-marks, todo-category-string-face)
4563 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4564 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4565 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4566 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4567 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4568 (todo-font-lock-keywords, todo-global-current-todo-file)
4569 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4570 (todo-insertion-commands-args)
4571 (todo-insertion-commands-args-genlist)
4572 (todo-insertion-commands-names, todo-insertion-map)
4573 (todo-key-bindings-t, todo-key-bindings-t+a)
4574 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4575 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4576 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4577 (todo-visited): New variables.
4578
4579 2013-06-21 Glenn Morris <rgm@gnu.org>
4580
4581 * play/cookie1.el (cookie-apropos): Add optional display argument.
4582 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4583 (psychoanalyze-pinhead): Use cookie-doctor.
4584
4585 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4586
4587 * emacs-lisp/package.el (tar-get-file-descriptor)
4588 (tar--extract): Declare.
4589
4590 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4591
4592 Extend flymake's warning predicate to be a function (bug#14217).
4593 * progmodes/flymake.el (flymake-warning-predicate): New.
4594 (flymake-parse-line): Use it.
4595 (flymake-warning-re): Make obsolete alias to
4596 `flymake-warning-predicate'.
4597
4598 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4601 (package-obsolete-list): Remove.
4602 (package-activate): Remove min-version argument. Add `force' argument.
4603 Adjust to new package-alist format.
4604 (package-mark-obsolete): Remove.
4605 (package-unpack): Force reload of the package's autoloads.
4606 (package-installed-p): Check builtins if the installed package is not
4607 recent enough.
4608 (package-initialize): Don't reset package-obsolete-list.
4609 Don't specify which package version to activate.
4610 (package-process-define-package, describe-package-1)
4611 (package-menu--generate): Adjust to new package-alist format.
4612
4613 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4614
4615 * allout-widgets.el (allout-widgets-mode-off)
4616 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4617 (allout-widgets-post-command-business)
4618 (allout-widgets-after-copy-or-kill-function)
4619 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4620 (allout-decorate-item-and-context)
4621 (allout-graphics-modification-handler): Fix typos in docstrings.
4622 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4623
4624 * cmuscheme.el (scheme-start-file): Doc fix.
4625 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4626 (scheme-input-filter): Use `string-match-p'.
4627
4628 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4629
4630 * dired-x.el: Use Dired consistently in docstrings.
4631
4632 * dired.el: Use Dired consistently in docstrings.
4633 (dired-readin, dired-mode): Use `setq-local'.
4634 (dired-switches-alist): Make defvar-local.
4635 (dired-buffers-for-dir): Use `zerop'.
4636 (dired-safe-switches-p, dired-switches-escape-p)
4637 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4638 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4639 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4640 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4641 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4642 (dired-toggle-marks, dired-mark-files-containing-regexp)
4643 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4644 (dired-flag-auto-save-files, dired-flag-backup-files):
4645 Use `looking-at-p'.
4646 (dired-mark-files-regexp, dired-build-subdir-alist):
4647 Use `string-match-p', `looking-at-p'.
4648
4649 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4650 (direct-print-region-helper): Use `string-match-p'.
4651
4652 2013-06-21 Leo Liu <sdl.web@gmail.com>
4653
4654 * comint.el (comint-redirect-results-list-from-process):
4655 Fix infinite loop.
4656
4657 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4658
4659 * net/eww.el (eww-update-header-line-format): Quote % characters.
4660
4661 2013-06-21 Glenn Morris <rgm@gnu.org>
4662
4663 * play/cookie1.el (cookie): New custom group.
4664 (cookie-file): New option.
4665 (cookie-check-file): New function.
4666 (cookie): Make it interactive. Make start and end messages optional.
4667 Interactively, display the result. Default to cookie-file.
4668 (cookie-insert): Default to cookie-file.
4669 (cookie-snarf): Make start and end messages optional.
4670 Default to cookie-file. Use with-temp-buffer.
4671 (cookie-read): Rename from read-cookie.
4672 Make start and end messages optional. Default to cookie-file.
4673 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4674 Do not autoload it.
4675 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4676 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4677
4678 2013-06-21 Leo Liu <sdl.web@gmail.com>
4679
4680 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4681
4682 2013-06-21 Glenn Morris <rgm@gnu.org>
4683
4684 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4685
4686 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4687 Daniel Hackney <dan@haxney.org>
4688
4689 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4690 Consolidate the single-file vs tarball code.
4691 (package-desc-suffix): New function.
4692 (package-desc-full-name): Don't bother inlining it.
4693 (package-load-descriptor): Return the new package-desc.
4694 (package-mark-obsolete): Remove unused arg `package'.
4695 (package-unpack): Make it work for single files as well.
4696 Make it update package-alist.
4697 (package--make-autoloads-and-stuff): Rename from
4698 package--make-autoloads-and-compile. Don't compile any more.
4699 (package--compile): New function.
4700 (package-generate-description-file): New function, extracted from
4701 package-unpack-single.
4702 (package-unpack-single): Remove.
4703 (package--with-work-buffer): Add indentation and debugging info.
4704 (package-download-single): Remove.
4705 (package-install-from-archive): Rename from package-download-tar, make
4706 it take a pkg-desc, and make it work for single files as well.
4707 (package-download-transaction): Simplify.
4708 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4709 external tar program.
4710 (package-install-from-buffer): Remove `pkg-desc' argument.
4711 Use package-tar-file-info for tar-mode buffers.
4712 (package-install-file): Simplify accordingly.
4713 (package-archive-base): Change to take a pkg-desc.
4714 * tar-mode.el (tar--check-descriptor): New function, extracted from
4715 tar-get-descriptor.
4716 (tar-get-descriptor): Use it.
4717 (tar-get-file-descriptor): New function.
4718 (tar--extract): New function, extracted from tar-extract.
4719 (tar--extract): Use it.
4720 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4721 case the summary uses non-ascii. Adjust to new calling convention of
4722 package-tar-file-info.
4723
4724 2013-06-21 Leo Liu <sdl.web@gmail.com>
4725
4726 * comint.el (comint-redirect-results-list-from-process):
4727 Fix random delay. (Bug#14681)
4728
4729 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4730
4731 * profiler.el (profiler-format-number): Use log, not log10.
4732
4733 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4734
4735 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4736
4737 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4740 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4741 yet available.
4742 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4743 (AUTOGENEL): ... here.
4744 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4745 (cl--defsubst-expand): Use it.
4746
4747 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4748
4749 * subr.el (log10): Move here from C code, and declare as obsolete.
4750 All uses of (log10 X) replaced with (log X 10).
4751
4752 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4755 Declare with `defvar-local'.
4756 (tabulated-list-use-header-line, tabulated-list-entries)
4757 (tabulated-list-padding, tabulated-list-printer)
4758 (tabulated-list-sort-key): Declare with `defvar-local'.
4759 (tabulated-list-init-header, tabulated-list-print-fake-header):
4760 Use `setq-local'.
4761
4762 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * arc-mode.el (archive-mode): Add `archive-write-file' to
4765 `write-contents-functions' also for remote files. (Bug#14652)
4766
4767 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4768
4769 * cus-edit.el (custom-commands): Fix typos.
4770 (custom-display): Fix tooltip text.
4771 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4772 Fix typos in docstrings.
4773 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4774 (custom-unlispify-menu-entry, custom-magic-value-create)
4775 (custom-add-see-also, custom-group-value-create): Use ?\s.
4776 (custom-guess-type, customize-apropos, editable-field)
4777 (custom-face-value-create): Use `string-match-p'.
4778 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4779
4780 * custom.el (custom-load-symbol): Use `string-match-p'.
4781
4782 * ansi-color.el: Convert to lexical binding.
4783 (ansi-colors): Fix URL.
4784 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4785 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4786 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4787
4788 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4789
4790 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4791
4792 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4793
4794 2013-06-19 Tom Tromey <tromey@redhat.com>
4795
4796 * net/eww.el (eww-top-url): Remove.
4797 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4798 (eww-render): Set new variables. Don't set eww-top-url.
4799 (eww-handle-link): Handle "prev", "home", and "contents".
4800 Downcase the rel text.
4801 (eww-top-url): Choose best top URL.
4802
4803 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4804
4805 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4806 relying in widget.el. Using widget.el leads to too many
4807 user interface inconsistencies.
4808 (eww-self-insert): Implement entering commands in text fields.
4809 (eww-process-text-input): New function to make text input field editing
4810 work.
4811 (eww-submit): Rewrite to use the new-style form methods.
4812 (eww-select-display): Display the correct selected item.
4813 (eww-change-select): Implement changing the select value.
4814 (eww-toggle-checkbox): Implement radio/checkboxes.
4815 (eww-update-field): Fix compilation error.
4816 (eww-tag-textarea): Implement <textarea>.
4817
4818 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4819 we don't shadow mode-specific bindings.
4820
4821 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4822 nothing to push.
4823
4824 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4825
4826 2013-06-19 Glenn Morris <rgm@gnu.org>
4827
4828 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4829
4830 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4831
4832 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4833 not needed.
4834
4835 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4836
4837 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4838
4839 * net/browse-url.el (browse-url-browser-function):
4840 `eww-browse-url' has the right calling signature, `eww' does not.
4841
4842 2013-06-19 Glenn Morris <rgm@gnu.org>
4843
4844 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4845 Only eval autoloaded macros.
4846 (byte-compile-autoload): Only give the macro warning for macros.
4847
4848 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4849 (ps-underlined-faces): Declare.
4850
4851 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4852 (speedbar-add-supported-extension): Declare.
4853
4854 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4855 Don't include a date stamp in the header of the generated file;
4856 it leads to needless differences between output files.
4857
4858 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4859
4860 * net/secrets.el (secrets-struct-secret-content-type):
4861 Replace check of introspection data by a test call of "CreateItem".
4862 Some servers do not offer introspection.
4863
4864 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * electric.el (electric-pair-mode): Improve interaction with
4867 electric-layout-mode.
4868 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4869 (electric-pair-syntax): Use text-mode-syntax-table in comments
4870 and strings.
4871 (electric-pair--insert): New function.
4872 (electric-pair-post-self-insert-function): Use it and
4873 electric--after-char-pos.
4874
4875 2013-06-19 Leo Liu <sdl.web@gmail.com>
4876
4877 * progmodes/octave.el (octave-help): Fix regexp.
4878
4879 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4880
4881 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4882 (shr-table-horizontal-line): Allow nil as a value, and change the
4883 default.
4884 (shr-insert-table-ruler): Respect the nil value.
4885
4886 2013-06-18 Tom Tromey <tromey@barimba>
4887
4888 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4889 New defvars.
4890 (eww-open-file): New defun.
4891 (eww-render): Initialize new variables.
4892 (eww-display-html): Handle "link" and "a".
4893 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4894 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4895 (eww-back-url): Rename from eww-previous-url.
4896 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4897 New defuns.
4898
4899 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4900
4901 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4902 Distinguish ternary operator tokens from slash symbol and slash
4903 char literal.
4904
4905 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4906
4907 Convert symbol prettification into minor mode and global minor mode.
4908
4909 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4910 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4911 (prettify-symbols--keywords): Rename from
4912 `prog-prettify-symbols-alist' and make a local defvar.
4913 (prettify-symbols--compose-symbol): Rename from
4914 `prog--prettify-font-lock-compose-symbol'.
4915 (prettify-symbols--make-keywords): Rename from
4916 `prog-prettify-font-lock-symbols-keywords' and simplify.
4917 (prog-prettify-install): Remove.
4918 (prettify-symbols-mode): New minor mode, based on
4919 `prog-prettify-install'.
4920 (turn-on-prettify-symbols-mode): New function.
4921 (global-prettify-symbols-mode): New globalized minor mode.
4922
4923 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4924 * progmodes/cfengine.el (cfengine3-mode):
4925 * progmodes/perl-mode.el (perl-mode): Don't call
4926 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4927
4928 2013-06-18 Juri Linkov <juri@jurta.org>
4929
4930 * files-x.el (modify-file-local-variable-message): New function.
4931 (modify-file-local-variable)
4932 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4933 and call `modify-file-local-variable-message' when it's non-nil.
4934 (add-file-local-variable, delete-file-local-variable)
4935 (add-file-local-variable-prop-line)
4936 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4937 and use it. (Bug#9820)
4938
4939 2013-06-18 Juri Linkov <juri@jurta.org>
4940
4941 * emulation/vi.el (vi-shell-op):
4942 * emulation/vip.el (vip-execute-com, ex-command):
4943 * emulation/viper-cmd.el (viper-exec-bang):
4944 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4945 the call of `shell-command-on-region'. (Bug#14637)
4946
4947 * simple.el (shell-command-on-region): Doc fix.
4948
4949 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4952 (bug#14633).
4953
4954 2013-06-18 Glenn Morris <rgm@gnu.org>
4955
4956 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4957
4958 * newcomment.el (comment-search-forward, comment-search-backward):
4959 Doc fix. (Bug#14376)
4960
4961 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4964 (buffer-face-mode-invoke): Doc fix.
4965
4966 2013-06-18 Matthias Meulien <orontee@gmail.com>
4967
4968 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4969 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4970
4971 2013-06-18 Glenn Morris <rgm@gnu.org>
4972
4973 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4974 Replace obsolete function generic-make-keywords with its expansion.
4975
4976 * progmodes/python.el (ffap-alist): Declare.
4977
4978 * textmodes/reftex.el (bibtex-mode-map): Declare.
4979
4980 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4983 (package-unpack, package-unpack-single): Return the pkg-dir.
4984 (package-download-transaction): Use it to update package-alist.
4985
4986 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4987
4988 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4989 possible choice.
4990
4991 2013-06-17 Juri Linkov <juri@jurta.org>
4992
4993 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4994
4995 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4996
4997 * emacs-lisp/package.el (package-load-descriptor):
4998 Remove `with-syntax-table' call, `read' doesn't need it.
4999 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5000
5001 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * startup.el (command-line): Expand package name returned by
5004 `package--description-file' (bug#14639).
5005
5006 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5007
5008 * emacs-lisp/package.el (package-load-descriptor): Do not call
5009 `emacs-lisp-mode', just use its syntax table.
5010
5011 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5012
5013 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5014 `font-lock-extra-managed-props' if any prettifying keyword is added.
5015 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5016 (prog-mode): Use `setq-local'.
5017
5018 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * international/characters.el (standard-case-table): Set syntax of ?»
5021 and ?« to punctuation.
5022
5023 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5024
5025 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5026 Save relevant match data before calling `syntax-ppss' (bug#14595).
5027
5028 2013-06-15 Juri Linkov <juri@jurta.org>
5029
5030 * files-x.el (modify-file-local-variable-prop-line): Add local
5031 variables to the end of the existing comment on the first line.
5032 Use `file-auto-mode-skip' to skip interpreter magic line,
5033 and also skip XML declaration.
5034
5035 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 * startup.el (package--builtin-versions): New var.
5038 (package-subdirectory-regexp): Remove.
5039 (package--description-file): Hard code its value instead.
5040
5041 * emacs-lisp/package.el: Don't activate packages older than builtin.
5042 (package-obsolete-list): Rename from package-obsolete-alist, and make
5043 it into a simple list of package-desc.
5044 (package-strip-version): Remove.
5045 (package-built-in-p): Use package--builtin-versions.
5046 (package-mark-obsolete): Simplify.
5047 (package-process-define-package): Mark it obsolete if older than the
5048 builtin version.
5049 (package-handle-response): Use line-end-position.
5050 (package-read-archive-contents, package--download-one-archive):
5051 Simplify.
5052 (package--add-to-archive-contents): Skip if older than the builtin or
5053 installed version.
5054 (package-menu-describe-package): Fix last change.
5055 (package-list-unversioned): New var.
5056 (package-menu--generate): Use it.
5057
5058 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5059 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5060 (autoload-builtin-package-versions): New variable.
5061 (autoload-generate-file-autoloads): Use them.
5062 Remove the list of autoloaded functions/macros from the
5063 (autoload...) comments.
5064
5065 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5066
5067 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5068
5069 * simple.el (line-move-partial): Don't jump to the next screen
5070 line as soon as it becomes visible. Instead, continue enlarging
5071 the vscroll until the portion of a tall screen line that's left on
5072 display is about the height of the frame's default font.
5073 (Bug#14567)
5074
5075 2013-06-15 Glenn Morris <rgm@gnu.org>
5076
5077 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5078 compilation-error-regexp-alist void, or local while let-bound.
5079
5080 * progmodes/make-mode.el (makefile-mode-syntax-table):
5081 Treat "=" as punctuation. (Bug#14614)
5082
5083 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5084
5085 * help-fns.el (describe-variable):
5086 Add extra line for permanent-local variables.
5087
5088 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5089
5090 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5091 Add export, import, library. (Bug#9164)
5092 (library): Set indent function.
5093
5094 2013-06-14 Glenn Morris <rgm@gnu.org>
5095
5096 * term/xterm.el (xterm--query):
5097 Stop after first matching handler. (Bug#14615)
5098
5099 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5100
5101 Add support for dired in saveplace.
5102 * dired.el (dired-initial-position-hook): New variable.
5103 (dired-initial-position): Call hook to place cursor position.
5104 * saveplace.el (save-place-to-alist): Add dired position.
5105 (save-place-dired-hook): New function.
5106
5107 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5110 through a symbol rather than letrec.
5111
5112 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5113 (package-desc): Add `dir' field.
5114 (package-desc-full-name): New function.
5115 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5116 (package-maybe-load-descriptor): Remove.
5117 (package-load-all-descriptors): Just call package-load-descriptor.
5118 (package--disabled-p): New function.
5119 (package-desc-vers, package-desc-doc): Remove aliases.
5120 (package--dir): Remove function.
5121 (package-activate): Check if a package is disabled.
5122 (package-process-define-package): New function, extracted from
5123 define-package.
5124 (define-package): Turn into a place holder.
5125 (package-unpack-single, package-tar-file-info):
5126 Use package--description-file.
5127 (package-compute-transaction): Use package--disabled-p.
5128 (package-download-transaction): Don't call
5129 package-maybe-load-descriptor since they're all loaded anyway.
5130 (package-install): Change argument to be a pkg-desc.
5131 (package-delete): Use a single pkg-desc argument.
5132 (describe-package-1): Use package-desc-dir instead of package--dir.
5133 Use package-desc property instead of package-symbol.
5134 (package-install-button-action): Adjust accordingly.
5135 (package--push): Rewrite.
5136 (package-menu--print-info): Adjust accordingly. Change the ID format
5137 to be a pkg-desc.
5138 (package-menu-describe-package, package-menu-get-status)
5139 (package-menu--find-upgrades, package-menu-mark-upgrades)
5140 (package-menu-execute, package-menu--name-predicate):
5141 Adjust accordingly.
5142 * startup.el (package--description-file): New function.
5143 (command-line): Use it.
5144 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5145 Use package-desc-version.
5146
5147 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5148 (byte-compile-preprocess): Use it.
5149 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5150 can't quite recognize.
5151 (byte-compile-add-to-list): Remove.
5152 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5153 (cconv-closure-convert): Add assertion.
5154
5155 * emacs-lisp/map-ynp.el: Use lexical-binding.
5156 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5157 Factor out some repeated code.
5158
5159 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * subr.el (with-eval-after-load): New macro.
5162 (eval-after-load): Allow form to be a function.
5163 take advantage of lexical-binding.
5164 (do-after-load-evaluation): Use dolist and adjust to new format.
5165 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5166
5167 2013-06-13 Juri Linkov <juri@jurta.org>
5168
5169 * replace.el (perform-replace): Display "symbol " and other search
5170 modes from `isearch-message-prefix' in the *Help* buffer.
5171
5172 * isearch.el (isearch-query-replace): Add " symbol" and other
5173 possible search modes from `isearch-message-prefix' to the prompt.
5174 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5175 when reading a regexp to collect.
5176
5177 2013-06-13 Juri Linkov <juri@jurta.org>
5178
5179 * isearch.el (word-search-regexp): Match whitespace if the search
5180 string begins or ends in whitespace. The LAX arg is applied to
5181 both ends of the search string. Use `regexp-quote' and explicit
5182 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5183 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5184 boundaries are replaced with symbol boundaries, and characters
5185 between symbols match non-word non-symbol syntax. (Bug#14602)
5186
5187 2013-06-13 Juri Linkov <juri@jurta.org>
5188
5189 * isearch.el (isearch-del-char): Don't exceed the length of
5190 `isearch-string' by the prefix arg. (Bug#14563)
5191
5192 2013-06-13 Juri Linkov <juri@jurta.org>
5193
5194 * isearch.el (isearch-yank-word, isearch-yank-line)
5195 (isearch-char-by-name, isearch-quote-char)
5196 (isearch-printing-char, isearch-process-search-char):
5197 Add optional count prefix arg. (Bug#14563)
5198
5199 * international/isearch-x.el
5200 (isearch-process-search-multibyte-characters):
5201 Add optional count prefix arg.
5202
5203 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5206 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5207 lexical-binding.
5208
5209 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5210
5211 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5212
5213 2013-06-13 Glenn Morris <rgm@gnu.org>
5214
5215 * startup.el (tty-handle-args):
5216 Don't just discard "--" and anything after. (Bug#14608)
5217
5218 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5219
5220 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5221
5222 Implement changes in Secret Service API. Make it backward compatible.
5223 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5224 (secrets-create-item): Use it. Prefix properties with interface.
5225
5226 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5227
5228 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5229 (term-emulate-terminal): Respect term-suppress-hard-newline.
5230
5231 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5232
5233 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5234 Only remove a `thumb-file' overlay. (Bug#14548)
5235
5236 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5237
5238 * mail/reporter.el (reporter-submit-bug-report):
5239 Handle missing package-name. (Bug#14600)
5240
5241 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5242
5243 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5244 (reftex-citation-prompt, reftex-default-bibliography)
5245 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5246 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5247 (reftex-bib-sort-author, reftex-bib-sort-year)
5248 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5249 (reftex-extract-bib-entries-from-thebibliography)
5250 (reftex-get-bibkey-default, reftex-get-bib-names)
5251 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5252 (reftex-format-bib-entry, reftex-parse-bibitem)
5253 (reftex-format-bibitem, reftex-do-citation)
5254 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5255 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5256 (reftex-insert-bib-matches, reftex-format-citation)
5257 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5258 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5259 existing comments into docstrings.
5260
5261 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5262
5263 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5264
5265 2013-06-12 Andreas Schwab <schwab@suse.de>
5266
5267 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5268 for auto-save files.
5269
5270 2013-06-12 Glenn Morris <rgm@gnu.org>
5271
5272 * ido.el (ido-delete-ignored-files): Remove.
5273 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5274 Go back to calling ido-ignore-item-p directly.
5275
5276 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5277
5278 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5279
5280 * ido.el (ido-delete-ignored-files): New function,
5281 split from ido-make-file-list-1.
5282 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5283 (ido-make-file-list-1): Use ido-delete-ignored-files.
5284
5285 2013-06-12 Leo Liu <sdl.web@gmail.com>
5286
5287 * progmodes/octave.el (inferior-octave-startup)
5288 (inferior-octave-completion-table)
5289 (inferior-octave-track-window-width-change)
5290 (octave-eldoc-function-signatures, octave-help)
5291 (octave-find-definition): Use single quoted strings.
5292 (inferior-octave-startup-args): Change default value.
5293 (inferior-octave-startup): Do not hard code "-i" and
5294 "--no-line-editing".
5295 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5296 (inferior-octave-directory-tracker): Use it.
5297 (octave-goto-function-definition): Robustify.
5298 (octave-help): Support highlighting operators in 'See also'.
5299 (octave-find-definition): Find subfunctions only in Octave mode.
5300
5301 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * help-fns.el (help-fns--compiler-macro): If the handler function is
5304 named, then put a link to it.
5305 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5306 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5307 (cl-typep): Use it.
5308 (cl-eval-when): Simplify debug spec.
5309 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5310 compiler-macro function instead of setting `compiler-macro-file'.
5311
5312 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5313
5314 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5315 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5316
5317 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5318 Daniel Hackney <dan@haxney.org>
5319
5320 First part of Daniel Hackney's patch to package.el.
5321 * emacs-lisp/package.el: Use defstruct.
5322 (package-desc): New, main struct.
5323 (package--bi-desc, package--ac-desc): New structs, used to describe the
5324 format in external files.
5325 (package-desc-vers): Replace with package-desc-version accessor.
5326 (package-desc-doc): Replace with package-desc-summary accessor.
5327 (package-activate-1): Remove `package' arg since the pkg-vec now
5328 includes the name.
5329 (define-package): Use package-desc-from-define.
5330 (package-unpack-single): Change file-name arg to be a symbol.
5331 (package--add-to-archive-contents): Use package-desc-create and new
5332 accessor functions to package--ac-desc.
5333 (package-buffer-info, package-tar-file-info): Return a package-desc.
5334 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5335 arg to be a package-desc.
5336 (package-install-file): Adjust accordingly. Use \' to match EOS.
5337 (package--from-builtin): New function.
5338 (describe-package-1, package-menu--generate): Use it.
5339 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5340 (package-generate-autoloads): Idem and return the name of the file.
5341 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5342 Change pkg-info arg to be a package-desc.
5343 Use package-make-ac-desc.
5344 (package-upload-file): Use \' to match EOS.
5345 * finder.el (finder-compile-keywords): Use package-make-builtin.
5346
5347 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * vc/vc.el (vc-deduce-fileset): Change error message.
5350 (vc-read-backend): New function.
5351 (vc-next-action): Use it.
5352
5353 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5354
5355 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5356 (prolog-font-lock-keywords): Use regexp-opt instead.
5357 Don't manually highlight strings.
5358 (prolog-mode-variables): Simplify comment-start-skip.
5359 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5360
5361 * emacs-lisp/generic.el (generic--normalise-comments)
5362 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5363 (generic-mode-set-comments): Use them.
5364 (generic-bracket-support): Use setq-local.
5365 (generic-make-keywords-list): Declare obsolete.
5366
5367 2013-06-11 Glenn Morris <rgm@gnu.org>
5368
5369 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5370 Prettify after setting font-lock-defaults. (Bug#14574)
5371
5372 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5373
5374 * replace.el (query-replace, occur-read-regexp-defaults-function)
5375 (replace-search):
5376 * subr.el (declare-function, number-sequence, local-set-key)
5377 (substitute-key-definition, locate-user-emacs-file)
5378 (with-silent-modifications, split-string, eval-after-load):
5379 Fix typos, remove unneeded backslashes and reflow some docstrings.
5380
5381 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5384 default for Elisp files.
5385
5386 2013-06-11 Glenn Morris <rgm@gnu.org>
5387
5388 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5389 although define-derived-mode was doing this anyway. (Bug#14583)
5390
5391 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5392
5393 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5394 Fix make-variable-buffer-local call to refer to the correct variable.
5395
5396 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5397
5398 * eshell/em-term.el (eshell-visual-commands)
5399 (eshell-visual-subcommands, eshell-visual-options):
5400 Add summary line to docstrings. Add cross-references.
5401
5402 2013-06-10 Glenn Morris <rgm@gnu.org>
5403
5404 * epa.el (epa-read-file-name): New function. (Bug#14510)
5405 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5406
5407 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5408
5409 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5410 output redirection to be ignored with visual commands.
5411
5412 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5413
5414 * eshell/em-term.el (eshell-visual-command-p): New function.
5415 (eshell-term-initialize): Move long lambda to separate function
5416 eshell-visual-command-p.
5417 * eshell/em-dirs.el (eshell-dirs-initialise):
5418 * eshell/em-script.el (eshell-script-initialize):
5419 Add missing #' to lambda.
5420
5421 2013-06-08 Leo Liu <sdl.web@gmail.com>
5422
5423 * progmodes/octave.el (octave-add-log-current-defun): New function.
5424 (octave-mode): Set add-log-current-defun-function.
5425 (octave-goto-function-definition): Do not move point if not found.
5426 (octave-find-definition): Enhance to try subfunctions first.
5427
5428 2013-06-08 Glenn Morris <rgm@gnu.org>
5429
5430 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5431 (byte-compile-backward-char, byte-compile-backward-word):
5432 Improve previous change, to handle non-explicit nil.
5433
5434 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5437 (smie--opener/closer-at-point): New function.
5438 (smie--matching-block-data): Use it. Don't match from right after an
5439 opener or right before a closer. Obey smie-blink-matching-inners.
5440 Don't signal a mismatch for repeated inners like "switch..case..case".
5441
5442 2013-06-07 Leo Liu <sdl.web@gmail.com>
5443
5444 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5445 to t. (Bug#14303)
5446 (octave-function-header-regexp): Fix. (Bug#14570)
5447 (octave-help-mode-finish-hook, octave-help-mode-finish):
5448 Remove. Just use temp-buffer-show-hook.
5449
5450 * newcomment.el (comment-search-backward): Revert last change.
5451 (Bug#14434)
5452
5453 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5454
5455 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5456
5457 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5458 through xargs, to avoid failure due to MS-Windows limitations on
5459 command-line length.
5460
5461 2013-06-06 Glenn Morris <rgm@gnu.org>
5462
5463 * font-lock.el (lisp-font-lock-keywords-2):
5464 Treat user-error like error.
5465
5466 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5467 (byte-compile-backward-char, byte-compile-backward-word):
5468 Handle explicit nil arguments. (Bug#14565)
5469
5470 2013-06-05 Alan Mackenzie <acm@muc.de>
5471
5472 * isearch.el (isearch-allow-prefix): New user option.
5473 (isearch-other-meta-char): Don't exit isearch when a prefix
5474 argument is typed whilst `isearch-allow-prefix' is non-nil.
5475 (Bug#9706)
5476
5477 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * autorevert.el (auto-revert-notify-handler): Use memq.
5480 Hide assertion failure.
5481
5482 * skeleton.el: Use cl-lib.
5483 (skeleton-further-elements): Use defvar-local.
5484 (skeleton-insert): Use cl-progv.
5485
5486 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5487
5488 * progmodes/prog-mode.el (prog-prettify-symbols)
5489 (prog-prettify-install): Update docstrings.
5490
5491 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * simple.el: Move all the prog-mode code to prog-mode.el.
5494 * progmodes/prog-mode.el: New file.
5495 * loadup.el: Add prog-mode.el.
5496
5497 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5498
5499 * simple.el (prog-prettify-symbols): Add version.
5500 (prog-prettify-install): Add convenience function to prettify symbols.
5501
5502 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5503 (perl--augmented-font-lock-keywords-1)
5504 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5505 variables and use it.
5506
5507 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5508 (cfengine3-mode): Remove unneeded variable and use it.
5509
5510 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5511 (lisp--augmented-font-lock-keywords-1)
5512 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5513 Remove unneeded variables and use it.
5514
5515 2013-06-05 João Távora <joaotavora@gmail.com>
5516
5517 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5518 to point when opening the connection. (Bug#14380)
5519
5520 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * subr.el (load-history-regexp, load-history-filename-element)
5523 (eval-after-load, after-load-functions, do-after-load-evaluation)
5524 (eval-next-after-load, display-delayed-warnings)
5525 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5526 definition of save-match-data.
5527 (overriding-local-map): Remove accidental obsolescence declaration.
5528
5529 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5530
5531 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5532
5533 Generalize symbol prettify support to prog-mode and implement it
5534 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5535 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5536 (prog--prettify-font-lock-compose-symbol)
5537 (prog-prettify-font-lock-symbols-keywords): New variables and
5538 functions to support symbol prettification.
5539 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5540 (lisp--augmented-font-lock-keywords-1)
5541 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5542 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5543 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5544 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5545 Implement prettify of -> => :: strings.
5546 * progmodes/perl-mode.el (perl-prettify-symbols)
5547 (perl--font-lock-compose-symbol)
5548 (perl--font-lock-symbols-keywords): Move to prog-mode.
5549 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5550 (perl-font-lock-keywords-1)
5551 (perl-font-lock-keywords-2): Remove explicit prettify support.
5552 (perl--augmented-font-lock-keywords)
5553 (perl--augmented-font-lock-keywords-1)
5554 (perl--augmented-font-lock-keywords-2, perl-mode):
5555 Implement prettify support.
5556
5557 2013-06-05 Leo Liu <sdl.web@gmail.com>
5558
5559 Re-implement smie matching block highlight using
5560 show-paren-data-function. (Bug#14395)
5561 * emacs-lisp/smie.el (smie-matching-block-highlight)
5562 (smie--highlight-matching-block-overlay)
5563 (smie--highlight-matching-block-lastpos)
5564 (smie-highlight-matching-block)
5565 (smie-highlight-matching-block-mode): Remove.
5566 (smie--matching-block-data-cache): New variable.
5567 (smie--matching-block-data): New function.
5568 (smie-setup): Use smie--matching-block-data for
5569 show-paren-data-function.
5570
5571 * progmodes/octave.el (octave-mode-menu): Fix.
5572 (octave-find-definition): Skip garbage lines.
5573
5574 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 Fix compilation error with simultaneous dynamic+lexical scoping.
5577 Add warning when a defvar appears after the first let-binding.
5578 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5579 (byte-compile-close-variables): Initialize it.
5580 (byte-compile--declare-var): New function.
5581 (byte-compile-file-form-defvar)
5582 (byte-compile-file-form-define-abbrev-table)
5583 (byte-compile-file-form-custom-declare-variable): Use it.
5584 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5585 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5586 (byte-compile-bind): Handle dynamic bindings that shadow
5587 lexical bindings.
5588 (byte-compile-unbind): Make arg non-optional.
5589 (byte-compile-let): Simplify.
5590 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5591 (cconv--analyse-function, cconv-analyse-form): Populate it.
5592 Protect byte-compile-bound-variables to limit the scope of defvars.
5593 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5594 Remove unneeded rule for `declare'.
5595
5596 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5597 so as to avoid depending on cl-adjoin at run-time.
5598 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5599
5600 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5601 (macroexp--warn-and-return): Use it.
5602
5603 2013-06-05 Leo Liu <sdl.web@gmail.com>
5604
5605 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5606
5607 2013-06-04 Leo Liu <sdl.web@gmail.com>
5608
5609 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5610 (compilation-auto-jump): Suppress the "Mark set" message to give
5611 way to exit message.
5612
5613 2013-06-04 Alan Mackenzie <acm@muc.de>
5614
5615 Remove faulty optimisation from indentation calculation.
5616 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5617 search limit based on 2000 characters back from indent-point.
5618
5619 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5620
5621 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5622
5623 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * emacs-lisp/lisp.el: Use lexical-binding.
5626 (lisp--local-variables-1, lisp--local-variables): New functions.
5627 (lisp--local-variables-completion-table): New var.
5628 (lisp-completion-at-point): Use it complete let-bound vars.
5629
5630 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5631 eagerly (bug#14422).
5632
5633 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * autorevert.el (auto-revert-notify-enabled)
5636 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5637 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5638 (auto-revert-notify-handler): Handle also gfilenotify.
5639
5640 * subr.el (file-notify-handle-event): New defun. Replacing ...
5641 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5642 Remove.
5643
5644 2013-06-03 Juri Linkov <juri@jurta.org>
5645
5646 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5647 `M-s h .'. (Bug#14427)
5648
5649 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5650 command `hi-lock-face-symbol-at-point'.
5651 (hi-lock-face-symbol-at-point): New command.
5652 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5653 (hi-lock-menu): Add `highlight-symbol-at-point'.
5654 (hi-lock-mode): Doc fix.
5655
5656 * isearch.el (isearch-forward-symbol-at-point): New command.
5657 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5658 (isearch-highlight-regexp): Add a regexp which matches
5659 words/symbols for word/symbol mode.
5660
5661 * subr.el (find-tag-default-bounds): New function with the body
5662 mostly moved from `find-tag-default'.
5663 (find-tag-default): Move most code to `find-tag-default-bounds',
5664 call it and apply `buffer-substring-no-properties' afterwards.
5665
5666 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5667
5668 * eshell/em-term.el (eshell-term-initialize):
5669 Use `cl-intersection' rather than `intersection'.
5670
5671 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5672
5673 * vc/log-view.el: Doc fix.
5674 (log-view-mode-map): Copy keymap from `special-mode-map'.
5675
5676 2013-06-02 Eric Ludlam <zappo@gnu.org>
5677
5678 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5679 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5680 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5681 (eieio-unbound, eieio-default-superclass)
5682 (eieio--define-field-accessors, method-static, method-before)
5683 (method-primary, method-after, method-num-lists)
5684 (method-generic-before, method-generic-primary)
5685 (method-generic-after, method-num-slots)
5686 (eieio-specialized-key-to-generic-key)
5687 (eieio--check-type, class-v, class-p)
5688 (eieio-class-name, define-obsolete-function-alias)
5689 (eieio-class-parents-fast, eieio-class-children-fast)
5690 (same-class-fast-p, class-constructor, generic-p)
5691 (generic-primary-only-p, generic-primary-only-one-p)
5692 (class-option-assoc, class-option, eieio-object-p)
5693 (class-abstract-p, class-method-invocation-order)
5694 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5695 (eieio-class-un-autoload, eieio-defclass)
5696 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5697 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5698 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5699 (eieio-defgeneric-reset-generic-form)
5700 (eieio-defgeneric-form-primary-only)
5701 (eieio-defgeneric-reset-generic-form-primary-only)
5702 (eieio-defgeneric-form-primary-only-one)
5703 (eieio-defgeneric-reset-generic-form-primary-only-one)
5704 (eieio-unbind-method-implementations)
5705 (eieio--defmethod, eieio--typep)
5706 (eieio-perform-slot-validation, eieio-validate-slot-value)
5707 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5708 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5709 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5710 (eieio-slot-name-index, eieio-class-slot-name-index)
5711 (eieio-set-defaults, eieio-initarg-to-attribute)
5712 (eieio-attribute-to-initarg, eieio-c3-candidate)
5713 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5714 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5715 (eieio-class-precedence-list, eieio-generic-call-methodname)
5716 (eieio-generic-call-arglst, eieio-generic-call-key)
5717 (eieio-generic-call-next-method-list)
5718 (eieio-pre-method-execution-functions, eieio-generic-call)
5719 (eieio-generic-call-primary-only, eieiomt-method-list)
5720 (eieiomt-optimizing-obarray, eieiomt-install)
5721 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5722 (eieio-generic-form, eieio-defmethod, make-obsolete)
5723 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5724 (defclass): Remove `eval-and-compile' from macro.
5725 (call-next-method, shared-initialize): Instead of using
5726 `scoped-class' variable, use new eieio--scoped-class, and
5727 eieio--with-scoped-class.
5728 (initialize-instance): Rename local variable 'scoped-class' to
5729 'this-class' to remove ambiguitity from old global.
5730
5731 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5732 eieio.el.
5733 (eieio--scoped-class-stack): New variable.
5734 (eieio--scoped-class): New fcn.
5735 (eieio--with-scoped-class): New scoping macro.
5736 (eieio-defclass): Use pushnew instead of add-to-list.
5737 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5738 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5739 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5740 `scoped-class' variable, use new eieio--scoped-class, and
5741 eieio--with-scoped-class.
5742
5743 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5744
5745 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5746
5747 * eshell/esh-ext.el (eshell-external-command): Pass args to
5748 `eshell-find-interpreter'.
5749 (eshell-find-interpreter): Add new second parameter ARGS.
5750
5751 * eshell/em-script.el (eshell-script-initialize): Add second arg
5752 to the function added as MATCH to `eshell-interpreter-alist'.
5753
5754 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5755 the function added as MATCH to `eshell-interpreter-alist'.
5756
5757 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5758 (eshell-visual-options): New defcustom.
5759 (eshell-escape-control-x): Adapt docstring.
5760 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5761 `eshell-visual-options' in addition to `eshell-visual-commands'.
5762 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5763
5764 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5765
5766 * progmodes/python.el (python-indent-block-enders): Add break,
5767 continue and raise keywords.
5768
5769 2013-06-01 Glenn Morris <rgm@gnu.org>
5770
5771 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5772
5773 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5774 * progmodes/cc-cmds.el (delete-forward-p):
5775 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5776 * progmodes/cc-engine.el (buffer-syntactic-context):
5777 * progmodes/cc-fonts.el (face-property-instance):
5778 * progmodes/cc-mode.el (set-keymap-parents):
5779 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5780 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5781 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5782 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5783 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5784
5785 * progmodes/cc-vars.el (other): Emacs has this widget since
5786 at least 21.1, so don't (re)define it.
5787
5788 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5789 Replace the obsolete alias pcomplete-arg-quote-list.
5790
5791 2013-06-01 Leo Liu <sdl.web@gmail.com>
5792
5793 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5794 punctuation syntax.
5795 (inferior-octave-minimal-columns)
5796 (inferior-octave-last-column-width): New variables.
5797 (inferior-octave-track-window-width-change): New function.
5798 (inferior-octave-mode): Adjust column width so that Octave output,
5799 for example from 'ls', can fit into the window nicely.
5800
5801 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5802
5803 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5804 Highlight expansions inside regexp literals.
5805
5806 2013-05-31 Glenn Morris <rgm@gnu.org>
5807
5808 * obsolete/sym-comp.el (symbol-complete):
5809 Replace obsolete completion-annotate-function.
5810
5811 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5812
5813 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5814
5815 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5816 New function, checks if point is inside a literal that allows
5817 expression expansion.
5818 (ruby-syntax-propertize-expansion): Use it.
5819 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5820 around the body.
5821
5822 2013-05-30 Juri Linkov <juri@jurta.org>
5823
5824 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5825 to "\M-si".
5826 (isearch-invisible): New variable.
5827 (isearch-forward): Doc fix.
5828 (isearch-mode): Set `isearch-invisible'
5829 to the value of `search-invisible'.
5830 (isearch-toggle-case-fold): Doc fix.
5831 (isearch-toggle-invisible): New command.
5832 (isearch-query-replace): Let-bind `search-invisible'
5833 to the value of `isearch-invisible'.
5834 (isearch-search): Use `isearch-invisible' instead of
5835 `search-invisible'. Let-bind `search-invisible'
5836 to the value of `isearch-invisible'. (Bug#11378)
5837
5838 2013-05-30 Juri Linkov <juri@jurta.org>
5839
5840 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5841 call when `query-flag' is nil and `search-invisible' is non-nil.
5842 (Bug#11746)
5843
5844 2013-05-30 Glenn Morris <rgm@gnu.org>
5845
5846 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5847
5848 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5849 (cc-require): Suppress spurious "noruntime" warnings.
5850 (cc-require-when-compile): Use fboundp, for sake of compiler.
5851
5852 * progmodes/cc-mode.el: Move load of cc-vars before that of
5853 cc-langs (which in turn loads cc-vars), to quieten compiler.
5854
5855 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * paren.el: Simplify the code.
5858 (show-paren-mode): Always start the timer.
5859 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5860 (show-paren--overlay, show-paren--overlay-1): Rename from
5861 show-paren-overlay and show-paren-overlay-1, and initialize to an
5862 overlay rather than to nil.
5863 (show-paren-function): Misc cleanup and simplifications.
5864
5865 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * paren.el (show-paren-data-function): New hook.
5868 (show-paren--default): New function, extracted from show-paren-function.
5869 (show-paren-function): Use show-paren-data-function.
5870
5871 2013-05-30 Glenn Morris <rgm@gnu.org>
5872
5873 * ielm.el (ielm-map, ielm-complete-symbol):
5874 Use completion-at-point rather than obsolete functions.
5875 (inferior-emacs-lisp-mode): Doc fix.
5876 Set completion-at-point-functions, rather than
5877 comint-dynamic-complete-functions.
5878
5879 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5880 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5881 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5882
5883 * image.el (image-animated-p): Tweak definition.
5884
5885 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5886 (rlogin-process-connection-type): Tweak default. Add set-after.
5887 (rlogin-host): Doc fix.
5888 (rlogin): Tweak prompt.
5889 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5890
5891 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5892 * progmodes/tcl.el (inferior-tcl-mode-map):
5893 Use completion-at-point rather than obsolete alias.
5894
5895 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5896
5897 * minibuffer.el (read-file-name-completion-ignore-case):
5898 Move before completion--in-region, for eager macro expansion.
5899
5900 2013-05-29 Juri Linkov <juri@jurta.org>
5901
5902 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5903 for total count of matching lines. Add `global-matches' for total
5904 count of matches. Rename `matches' to `lines' for count of
5905 matching lines. Add `matches' for count of matches.
5906 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5907 to `prev-line' for line number of prev match endpt.
5908 Increment `matches' for every match. Print the number of
5909 matching lines in the header.
5910 (occur-context-lines): Rename `lines' to `curr-line'.
5911 Rename `prev-lines' to `prev-line'. (Bug#14017)
5912
5913 2013-05-29 Juri Linkov <juri@jurta.org>
5914
5915 * replace.el (perform-replace): Add `skip-read-only-count',
5916 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5917 Increment them for corresponding conditions and report the number
5918 of skipped occurrences in the final message. (Bug#11746)
5919 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5920 (replace-string, replace-regexp): Doc fix.
5921
5922 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5925
5926 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5927 prog-mode-map (bug#14504).
5928
5929 2013-05-29 Leo Liu <sdl.web@gmail.com>
5930
5931 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5932 (octave-help): Small simplification.
5933
5934 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5935 off the highlight first.
5936
5937 2013-05-29 Glenn Morris <rgm@gnu.org>
5938
5939 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5940 Handle idlwave-last-system-routine-info-cons-cell being nil.
5941
5942 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5943 (idlwave-write-paths): Simplify via with-temp-buffer.
5944
5945 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5946 * emulation/cua-rect.el: Also load cua-base at run time.
5947
5948 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5949 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5950 (cperl-imenu-on-info): Require imenu.
5951
5952 2013-05-28 Alan Mackenzie <acm@muc.de>
5953
5954 Handle "capitalised keywords" correctly.
5955 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5956
5957 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5958
5959 * eshell/em-unix.el: Add -r option to cp.
5960
5961 2013-05-28 Glenn Morris <rgm@gnu.org>
5962
5963 * vc/vc-arch.el (vc-exec-after): Declare.
5964 (vc-switches): Autoload.
5965 * vc/vc-bzr.el: No need to require vc when compiling.
5966 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5967 (vc-resynch-buffer, vc-dir-refresh): Declare.
5968 (vc-setup-buffer, vc-switches): Autoload.
5969 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5970 (vc-resynch-buffer): Declare.
5971 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5972 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5973 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5974 (grep-read-regexp, grep-read-files, grep-expand-template)
5975 (vc-dir-refresh): Declare.
5976 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5977 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5978 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5979 * vc/vc-mtn.el (vc-exec-after): Declare.
5980 (vc-switches): Autoload.
5981 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5982 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5983 (vc-file-tree-walk): Declare.
5984 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5985 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5986 (vc-tag-precondition, vc-rename-master): Autoload.
5987 * vc/vc-svn.el (vc-exec-after): Declare.
5988 (vc-switches, vc-setup-buffer): Autoload.
5989 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5990 Autoload.
5991 (vc-resynch-buffer): Declare.
5992
5993 * obsolete/fast-lock.el (byte-compile-warnings):
5994 Don't warn about obsolete features in this obsolete file.
5995
5996 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5997 Move definition before use.
5998
5999 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6000 (dun-unix-verbs): Remove dun-zippy.
6001 (dun-zippy): Remove function.
6002
6003 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6004
6005 2013-05-27 Juri Linkov <juri@jurta.org>
6006
6007 * replace.el (replace-search): New function with code moved out
6008 from `perform-replace'.
6009 (replace-highlight, replace-dehighlight): Move function definitions
6010 up closer to `replace-search'. (Bug#11746)
6011
6012 2013-05-27 Juri Linkov <juri@jurta.org>
6013
6014 * replace.el (perform-replace): Ignore invisible matches.
6015 In addition to checking `query-replace-skip-read-only', also
6016 filter out matches by calling `run-hook-with-args-until-failure'
6017 on `isearch-filter-predicates', and also check `search-invisible'
6018 for t or call `isearch-range-invisible'.
6019 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6020
6021 2013-05-27 Juri Linkov <juri@jurta.org>
6022
6023 * isearch.el (isearch-filter-predicates): Rename from
6024 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6025 (isearch-message-prefix): Display text from the property
6026 `isearch-message-prefix' of the currently active filters.
6027 (isearch-search): Don't compare `isearch-filter-predicate' with
6028 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6029 on `isearch-filter-predicates'. Also check `search-invisible' for t
6030 or call `isearch-range-invisible'.
6031 (isearch-filter-visible): Make obsolete.
6032 (isearch-lazy-highlight-search):
6033 Call `run-hook-with-args-until-failure' on
6034 `isearch-filter-predicates' and use `isearch-range-invisible'.
6035
6036 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6037 `isearch-filter-predicates' instead of `funcall'ing
6038 `isearch-filter-predicate'.
6039 (Info-mode): Set `Info-isearch-filter' to
6040 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6041
6042 * dired-aux.el (dired-isearch-filter-predicate-orig):
6043 Remove variable.
6044 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6045 (dired-isearch-filenames-end): Add and remove
6046 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6047 instead of changing the value of `isearch-filter-predicate'.
6048 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6049 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6050 Put property `isearch-message-prefix' to "filename " on
6051 `dired-isearch-filter-filenames'.
6052
6053 * wdired.el (wdired-change-to-wdired-mode):
6054 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6055 locally instead of changing `isearch-filter-predicate'.
6056 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6057
6058 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6059
6060 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6061 return the commit hash (Bug#14459). Also set the
6062 `vc-git-detached' property.
6063 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6064 (vc-git-mode-line-string): Use the same help-echo format whether
6065 in detached mode or not, because we know the actual revision now.
6066 When in detached mode, shorten the revision to 7 chars.
6067
6068 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * emacs-lisp/easy-mmode.el (define-minor-mode):
6071 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6072 mode hook and provide a docstring.
6073
6074 2013-05-27 Alan Mackenzie <acm@muc.de>
6075
6076 Remove spurious syntax-table text properties inserted by C-y.
6077 * progmodes/cc-mode.el (c-after-change): Also clear hard
6078 syntax-table property with value nil.
6079
6080 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6081
6082 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6083 when reading the events; the buffer layout shall not be changed.
6084
6085 2013-05-27 Leo Liu <sdl.web@gmail.com>
6086
6087 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6088 New variable.
6089 (inferior-octave-directory-tracker): Automatically re-sync
6090 default-directory.
6091 (octave-help): Improve handling of 'See also'.
6092
6093 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * doc-view.el: Minor naming convention tweaks.
6096 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6097
6098 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6099 even if there's no `display' property yet (bug#14435).
6100
6101 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6102
6103 * subr.el (unmsys--file-name): Rename from reveal-filename.
6104
6105 * Makefile.in (custom-deps, finder-data, autoloads)
6106 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6107 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6108 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6109
6110 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6113 error-completion on the first 2 args of condition-case (bug#14446).
6114 Don't burp at EOB.
6115
6116 2013-05-25 Leo Liu <sdl.web@gmail.com>
6117
6118 * comint.el (comint-previous-matching-input): Do not flood the
6119 *Messages* buffer with trivial messages.
6120
6121 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * progmodes/flymake.el (flymake-nop): Don't return a string.
6124 (flymake-set-at): Fix typo.
6125
6126 * simple.el (read--expression): New function, extracted from
6127 eval-expression. Set completion-at-point-functions (bug#14465).
6128 (eval-expression, eval-minibuffer): Use it.
6129
6130 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6131
6132 * progmodes/flymake.el (flymake-save-buffer-in-file)
6133 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6134 (flymake-selected-frame, flymake-log, flymake-ins-after)
6135 (flymake-set-at, flymake-get-buildfile-from-cache)
6136 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6137 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6138 Refine the doc string.
6139 (flymake-get-file-name-mode-and-masks): Reformat.
6140 (flymake-get-real-file-name-function): Fix a minor bug.
6141
6142 2013-05-24 Juri Linkov <juri@jurta.org>
6143
6144 * progmodes/grep.el (grep-mode-font-lock-keywords):
6145 Support =linenumber= format used by git-grep for lines with
6146 function names. (Bug#13549)
6147
6148 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6151 0 after a semi-colon; it works better for smie-auto-fill.
6152 (octave--indent-new-comment-line): New function.
6153 (octave-indent-new-comment-line): Use it (indirectly).
6154 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6155 modify comment-line-break-function.
6156
6157 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6158 (smie-setup): Use add-function to set it.
6159
6160 2013-05-24 Sam Steingold <sds@gnu.org>
6161
6162 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6163 argument (before the `interactive' argument).
6164
6165 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * image-mode.el (image-mode-winprops): Add winprops to
6168 image-mode-winprops-alist before running
6169 image-mode-new-window-functions.
6170 * doc-view.el (doc-view-new-window-function): Don't delay
6171 doc-view-goto-page via timers (bug#14435).
6172
6173 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6174
6175 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6176 (doc-view-desktop-save-buffer): New function.
6177 (doc-view-restore-desktop-buffer): New function.
6178 (desktop-buffer-mode-handlers):
6179 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6180 handler.
6181 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6182 `desktop-save-buffer' function.
6183
6184 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6185
6186 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6187 (tramp-gvfs-file-name-handler): Raise a user error when
6188 `tramp-gvfs-enabled' is nil.
6189 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6190 Do not raise a user error when loading package. (Bug#14447)
6191
6192 * net/xesam.el: Move to obsolete/.
6193
6194 2013-05-24 Glenn Morris <rgm@gnu.org>
6195
6196 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6197
6198 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6199
6200 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6201 (Info-find-node, Man-getpage-in-background): Declare.
6202
6203 * mail/unrmail.el (unrmail):
6204 Replace obsolete detect-coding-with-priority.
6205
6206 * net/socks.el (socks-split-string): Use this rather than split-string.
6207 (socks-nslookup-host): Update for above change.
6208 (dynamic-choice, s5-dynamic-choice-match)
6209 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6210 Comment out unused code.
6211
6212 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6213 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6214 (gud-tooltip-echo-area): Make obsolete.
6215 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6216
6217 * progmodes/js.el (js--optimize-arglist): Declare.
6218
6219 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6220
6221 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6222 (ediff-window-C): Declare.
6223
6224 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6225 Tweak requires to silence compiler.
6226
6227 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6228 (he-search-string, he-tried-table, he-expand-list)
6229 (he-init-string, he-string-member, he-substitute-string)
6230 (he-reset-string): Declare.
6231
6232 * obsolete/options.el (list-options): Use custom-variable-p,
6233 rather than obsolete alias.
6234
6235 2013-05-23 Sam Steingold <sds@gnu.org>
6236
6237 * simple.el (shell-command-on-region): Pass the `replace' argument
6238 down to `call-process-region' to comply with the doc as reported on
6239 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6240
6241 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * emacs-lisp/smie.el (smie-indent-forward-token)
6244 (smie-indent-backward-token): Handle string tokens (bug#14381).
6245
6246 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6247
6248 * ielm.el (ielm-menu): New menu.
6249 (inferior-emacs-lisp-mode): Set comment-start.
6250
6251 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6252
6253 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6254 Fix deactivate action.
6255
6256 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6257 Add cleveref macros.
6258
6259 * lisp/textmodes/reftex-parse.el
6260 (reftex-locate-bibliography-files): Accept options for
6261 bibliography commands.
6262 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6263 Add addbibresource. Basic Biblatex support.
6264
6265 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6266
6267 * net/tramp-gvfs.el (top):
6268 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6269 when loading package. (Bug#14447)
6270
6271 2013-05-23 Glenn Morris <rgm@gnu.org>
6272
6273 * progmodes/js.el: No need to load comint when compiling.
6274 (ring-insert, comint-send-string, comint-send-input)
6275 (comint-last-input-end, ido-chop): Declare.
6276
6277 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6278 * vc/ediff-mult.el: Adjust requires.
6279 (ediff-directories-internal, ediff-directory-revisions-internal)
6280 (ediff-patch-file-internal): Declare.
6281 * vc/ediff-ptch.el: Adjust requires.
6282 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6283 (ediff-find-file): Autoload.
6284 * vc/ediff-util.el: No need to load ediff when compiling.
6285 (ediff-regions-internal): Declare.
6286 * vc/ediff-wind.el: Adjust requires.
6287 (ediff-compute-toolbar-width): Define when compiling.
6288 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6289 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6290 (dired-get-filename, dired-get-marked-files)
6291 (ediff-last-dir-patch, ediff-patch-default-directory)
6292 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6293 (ediff-patch-buffer-internal): Declare.
6294
6295 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6296 (ispell-process, ispell-buffer-local-words, lm-summary)
6297 (lm-section-start, lm-section-end): Declare.
6298 (checkdoc-ispell-init): Simplify.
6299
6300 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6301 (he-string-member, he-reset-string, he-substitute-string): Declare.
6302
6303 * eshell/em-ls.el: Adjust requires.
6304 (eshell-glob-regexp): Declare.
6305 * eshell/em-tramp.el: Adjust requires.
6306 (eshell-parse-command): Autoload.
6307 * eshell/em-xtra.el: Adjust requires.
6308 (eshell-parse-command): Autoload.
6309 * eshell/esh-ext.el: Adjust requires.
6310 (eshell-parse-command, eshell-close-handles): Autoload.
6311 * eshell/esh-io.el: Adjust requires.
6312 (eshell-output-filter): Autoload.
6313 * eshell/esh-util.el: No need to load tramp when compiling.
6314 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6315 Declare.
6316 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6317 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6318 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6319 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6320 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6321 * eshell/esh-opt.el, eshell/esh-proc.el:
6322 * eshell/esh-var.el: Adjust requires.
6323 * eshell/eshell.el: Do not require esh-util twice.
6324 (eshell-add-input-to-history): Declare.
6325 (eshell-command): Check history module is active before using it.
6326
6327 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6328
6329 2013-05-22 Leo Liu <sdl.web@gmail.com>
6330
6331 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6332
6333 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6334
6335 * autorevert.el (auto-revert-notify-add-watch)
6336 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6337 it indicates changes in file modification time.
6338
6339 2013-05-22 Glenn Morris <rgm@gnu.org>
6340
6341 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6342 Always delete the autoloaded function from the noruntime and
6343 unresolved functions lists.
6344
6345 * allout.el: No need to load epa, epg, overlay when compiling.
6346 (epg-context-set-passphrase-callback, epg-list-keys)
6347 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6348 (epg-key-user-id-list): Declare.
6349
6350 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6351 (viper-set-parsing-style-toggling-macro)
6352 (viper-set-emacs-state-searchstyle-macros):
6353 Use called-interactively-p on Emacs.
6354 (viper-looking-back): Make it an obsolete alias. Update callers.
6355 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6356 Use looking-back rather than viper-looking-back.
6357 (viper-tmp-insert-at-eob, viper-enlarge-region)
6358 (viper-read-string-with-history, viper-register-to-point)
6359 (viper-append-to-register, viper-change-state-to-vi)
6360 (viper-backward-char-carefully, viper-forward-char-carefully)
6361 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6362 (viper-change-state-to-emacs): Declare.
6363 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6364 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6365 * emulation/viper-mous.el: Do not load viper-cmd.
6366 (viper-backward-char-carefully, viper-forward-char-carefully)
6367 (viper-forward-word, viper-adjust-window): Declare.
6368
6369 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6370
6371 * progmodes/idlw-help.el (idlwave-help-fontify):
6372 Use called-interactively-p.
6373
6374 * term/w32console.el (w32-get-console-codepage)
6375 (w32-get-console-output-codepage): Declare.
6376
6377 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6378 Remove unnecessary declarations.
6379 (dframe-message): Doc fix.
6380
6381 * info.el (dframe-select-attached-frame, dframe-current-frame):
6382 Declare.
6383
6384 * speedbar.el (speedbar-message): Make it an obsolete alias.
6385 Update all callers.
6386 (speedbar-with-attached-buffer)
6387 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6388 (speedbar-with-writable): Use backquote.
6389 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6390 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6391 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6392 rather than speedbar- aliases.
6393 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6394 (speedbar-make-specialized-keymap, speedbar-insert-button)
6395 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6396 (speedbar-do-function-pointer): Declare.
6397 (rmail-speedbar-button, rmail-speedbar-find-file)
6398 (rmail-speedbar-move-message):
6399 Use dframe-with-attached-buffer rather than speedbar- alias.
6400 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6401 (dframe-message, speedbar-make-specialized-keymap)
6402 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6403 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6404 (speedbar-insert-button, dframe-select-attached-frame)
6405 (dframe-maybee-jump-to-attached-frame)
6406 (speedbar-change-initial-expansion-list)
6407 (speedbar-previously-used-expansion-list-name): Declare.
6408 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6409 Use dframe-message, dframe-with-attached-buffer rather than
6410 speedbar- aliases.
6411 (gud-sentinel): Silence compiler.
6412 * progmodes/vhdl-mode.el (speedbar-refresh)
6413 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6414 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6415 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6416 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6417 (speedbar-file-lists, speedbar-make-tag-line)
6418 (speedbar-line-directory, speedbar-goto-this-file)
6419 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6420 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6421 (speedbar-make-button, speedbar-reset-scanners)
6422 (speedbar-files-item-info, speedbar-line-text)
6423 (speedbar-find-file-in-frame, speedbar-set-timer)
6424 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6425 (speedbar-with-writable): Do not (re)define it.
6426 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6427 rather than speedbar- alias.
6428
6429 2013-05-21 Leo Liu <sdl.web@gmail.com>
6430
6431 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6432 menu items.
6433 (octave-mode): Tweak fill-nobreak-predicate.
6434 (inferior-octave-startup): Check process to avoid infinite loop.
6435 (inferior-octave): Pop to buffer first to show abornmal process
6436 exit information.
6437
6438 2013-05-21 Glenn Morris <rgm@gnu.org>
6439
6440 * printing.el (pr-menu-bar): Define when compiling.
6441
6442 2013-05-21 Leo Liu <sdl.web@gmail.com>
6443
6444 * progmodes/octave.el (octave-auto-fill): Remove.
6445 (octave-indent-new-comment-line): Improve.
6446 (octave-mode): Use auto fill mode through
6447 comment-line-break-function and fill-nobreak-predicate.
6448 (octave-goto-function-definition): Support DEFUN_DLD.
6449 (octave-beginning-of-defun): Small tweak.
6450 (octave-help): Show parent directory.
6451
6452 2013-05-21 Glenn Morris <rgm@gnu.org>
6453
6454 * files.el (dired-unmark):
6455 * progmodes/gud.el (gdb-input): Update declarations.
6456
6457 * calculator.el (electric, ehelp): No need to load when compiling.
6458 (Electric-command-loop, electric-describe-mode): Declare.
6459
6460 * doc-view.el (doc-view-current-converter-processes): Move before use.
6461
6462 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6463 Move MODE-set-explicitly definition before use.
6464
6465 * international/mule-diag.el (mule-diag):
6466 Don't use obsolete window-system-version.
6467
6468 * mail/feedmail.el (smtpmail): No need to load when compiling.
6469 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6470
6471 * mail/mail-utils.el (rfc822): No need to load when compiling.
6472 (rfc822-addresses): Autoload it.
6473 (mail-strip-quoted-names): Trivial simplification.
6474
6475 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6476 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6477
6478 * net/snmp-mode.el (tempo): Don't duplicate requires.
6479
6480 * progmodes/prolog.el (info): No need to load when compiling.
6481 (comint): Require before shell requires it.
6482 (Info-goto-node): Autoload it.
6483 (Info-follow-nearest-node): Declare.
6484 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6485
6486 * textmodes/artist.el (picture-mode-exit): Declare.
6487
6488 * textmodes/reftex-parse.el (reftex-parse-from-file):
6489 Trivial rewrite so the compiler can parse it better.
6490
6491 2013-05-20 Leo Liu <sdl.web@gmail.com>
6492
6493 * progmodes/octave.el (octave-help-mode-map)
6494 (octave-help-mode-finish-hook): New variables.
6495 (octave-help-mode, octave-help-mode-finish): New functions.
6496 (octave-help): Use octave-help-mode.
6497
6498 2013-05-20 Glenn Morris <rgm@gnu.org>
6499
6500 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6501
6502 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6503
6504 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6505 start at point, so that expansion starting right after opening
6506 slash in a regexp is recognized.
6507 (ruby-syntax-before-regexp-re): New defvar, extracted from
6508 ruby-syntax-propertize-function. Since the value of this regexp
6509 is looked up at runtime now, we should be able to turn
6510 `ruby-syntax-methods-before-regexp' into a defcustom later.
6511 (ruby-syntax-propertize-function): Split regexp matching into two
6512 parts, for opening and closing slashes. That allows us to skip
6513 over string interpolations and support multiline regexps.
6514 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6515 for them, which calls `ruby-syntax-propertize-expansion'.
6516 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6517 call to `ruby-syntax-propertize-function'.
6518 (ruby-syntax-propertize-expansion): Extracted from
6519 `ruby-syntax-propertize-expansions'. Handles one expansion.
6520 (ruby-syntax-propertize-percent-literal): Leave point right after
6521 the percent symbol, so that the expression expansion rule can
6522 propertize the contents.
6523 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6524 heredoc openers.
6525 (ruby-syntax-propertize-expansions): Remove.
6526
6527 2013-05-18 Juri Linkov <juri@jurta.org>
6528
6529 * man.el (Man-default-man-entry): Remove `-' from the end
6530 of the default value. (Bug#14400)
6531
6532 2013-05-18 Glenn Morris <rgm@gnu.org>
6533
6534 * comint.el (comint-password-prompt-regexp):
6535 Allow "password for XXX" where XXX contains colons (eg https://...).
6536
6537 2013-05-18 Leo Liu <sdl.web@gmail.com>
6538
6539 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6540 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6541 (octave-source-directories): Don't check process.
6542 (octave-source-directories, octave-find-definition): Doc fix.
6543
6544 2013-05-18 Glenn Morris <rgm@gnu.org>
6545
6546 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6547 Remove backspace/delete bindings. (Bug#14392)
6548
6549 * cus-dep.el (custom-make-dependencies): Sort the output.
6550 (custom-versions-load-alist): Convert comment to doc.
6551
6552 2013-05-17 Leo Liu <sdl.web@gmail.com>
6553
6554 * newcomment.el (comment-search-backward): Stricter in finding
6555 comment start. (Bug#14303)
6556
6557 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6558 (octave-comment-start-skip): Properly anchored.
6559
6560 2013-05-17 Leo Liu <sdl.web@gmail.com>
6561
6562 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6563 Clean up when turned off. (Bug#14395)
6564 (smie--highlight-matching-block-overlay): No longer buffer-local.
6565 (smie-highlight-matching-block): Adjust.
6566
6567 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6568
6569 Doc string fix for "nanoseconds" (Bug#14406).
6570 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6571 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6572
6573 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6574
6575 * calc/calc-units.el (math-extract-units): Preserve powers
6576 of units.
6577
6578 2013-05-17 Leo Liu <sdl.web@gmail.com>
6579
6580 * subr.el (delete-consecutive-dups): New function.
6581 * ido.el (ido-set-matches-1): Use it.
6582 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6583 * ido.el (ido-remove-consecutive-dups): Remove.
6584
6585 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6588 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6589 regexp-opt's `words'.
6590
6591 2013-05-16 Leo Liu <sdl.web@gmail.com>
6592
6593 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6594 (smie--highlight-matching-block-overlay)
6595 (smie--highlight-matching-block-lastpos)
6596 (smie--highlight-matching-block-timer): New variables.
6597 (smie-highlight-matching-block): New function.
6598 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6599 (smie-setup): Conditionally enable smie-blink-matching-open.
6600
6601 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6602
6603 Sync with upstream verilog-mode r840.
6604 * progmodes/verilog-mode.el (verilog-mode-version)
6605 (verilog-mode-release-date): Update.
6606 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6607 (verilog-sig-tieoff): Fix string error on
6608 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6609 (verilog-read-decls): Fix parameters confusing
6610 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6611
6612 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6613
6614 * subr.el (reveal-filename): New function.
6615
6616 * loadup.el: Compute Emacs executable versions on MS-Windows,
6617 where executables have the .exe extension. Add a hard link
6618 emacs-XX.YY.ZZ.exe on MS-Windows.
6619
6620 * Makefile.in (XARGS_LIMIT): New variable.
6621 (custom-deps, finder-data, autoloads)
6622 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6623 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6624 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6625 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6626
6627 2013-05-16 Leo Liu <sdl.web@gmail.com>
6628
6629 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6630 (octave-mode-menu, octave-mode-map): Remove its uses.
6631
6632 2013-05-16 Reto Zimmermann <reto@gnu.org>
6633
6634 Sync with upstream vhdl mode v3.34.2.
6635 * progmodes/vhdl-mode.el: Use `push' throughout.
6636 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6637 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6638 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6639 (vhdl-actual-generic-name): New option to derive actual generic name.
6640 (vhdl-port-paste-signals): Replace formal by actual generics.
6641 (vhdl-beautify): New name for old group vhdl-align. Update users.
6642 (vhdl-beautify-options): New option.
6643 (vhdl-last-input-event): New compat alias. Use throughout.
6644 (vhdl-goto-line): Replace user level function `goto-line'.
6645 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6646 vhdl-fix-statement-buffer.
6647 (vhdl-create-mode-menu): Add some entries.
6648 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6649 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6650 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6651 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6652 to force statements on one line.
6653 (vhdl-remove-trailing-spaces-region):
6654 New, split from vhdl-remove-trailing-spaces.
6655 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6656 Respect vhdl-beautify-options.
6657 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6658 (vhdl-update-sensitivity-list): Not add with index if exists without.
6659 Not include array index with signal. Ignore keywords in comments.
6660 (vhdl-get-visible-signals): Regexp tweaks.
6661 (vhdl-template-component-inst): Handle empty library.
6662 (vhdl-template-type): Add template for 'enum' type.
6663 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6664 Use vhdl-replace-string.
6665 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6666 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6667 (vhdl-speedbar-initialize): Update for above name change.
6668 (vhdl-compose-wire-components): Fix in handling of constants.
6669 (vhdl-error-regexp-emacs-alist): New variable.
6670 (vhdl-error-regexp-add-emacs): New function;
6671 adds support for new compile.el (Emacs 22+)
6672 (vhdl-generate-makefile-1): Change target order for single lib. units.
6673 Allow use of absolute file names.
6674
6675 2013-05-16 Leo Liu <sdl.web@gmail.com>
6676
6677 * simple.el (prog-indent-sexp): Indent enclosing defun.
6678
6679 2013-05-15 Glenn Morris <rgm@gnu.org>
6680
6681 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6682 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6683 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6684 (whitespace-highlight): Move to whitespace group.
6685
6686 * comint.el (comint-source):
6687 * pcmpl-linux.el (pcmpl-linux):
6688 * shell.el (shell-faces):
6689 * eshell/esh-opt.el (eshell-opt):
6690 * international/ccl.el (ccl): Remove empty custom groups.
6691
6692 * completion.el (dynamic-completion-mode):
6693 * jit-lock.el (jit-lock-debug-mode):
6694 * minibuffer.el (completion-in-region-mode):
6695 * type-break.el (type-break-mode-line-message-mode)
6696 (type-break-query-mode):
6697 * emulation/tpu-edt.el (tpu-edt-mode):
6698 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6699 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6700 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6701
6702 * term/xterm.el (xterm): Change parent group to terminals.
6703
6704 * master.el (master): Remove empty custom group.
6705 (master-mode): Remove unused :group argument.
6706 * textmodes/refill.el (refill): Remove empty custom group.
6707 (refill-mode): Remove unused :group argument.
6708
6709 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6710
6711 * cus-dep.el: Provide a feature.
6712 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6713 Don't mistakenly ignore files whose basenames match a basename
6714 from preloaded-file-list (eg cedet/ede/simple.el).
6715 Add a fallback method for getting :group.
6716
6717 2013-05-15 Juri Linkov <juri@jurta.org>
6718
6719 * isearch.el (isearch-char-by-name): Rename from
6720 `isearch-insert-char-by-name'. Doc fix.
6721 (isearch-forward): Mention `isearch-char-by-name' in
6722 the docstring. (Bug#13348)
6723
6724 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6725 `exit-minibuffer' instead of
6726 `isearch-nonincremental-exit-minibuffer'.
6727 (isearch-edit-string): Remove mention of
6728 `isearch-nonincremental-exit-minibuffer' from docstring.
6729 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6730 (isearch-forward-exit-minibuffer)
6731 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6732
6733 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * loadup.el: Just use unversioned DOC.
6736
6737 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6738 literals as extending to EOB.
6739 (nxml-last-fontify-end): Remove unused variable.
6740 (nxml-after-change1): Use with-silent-modifications.
6741 (nxml-extend-after-change-region): Simplify.
6742 (nxml-extend-after-change-region1): Remove function.
6743 (nxml-after-change1): Don't adjust for dependent regions.
6744 (nxml-fontify-matcher): Simplify.
6745 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6746 (xmltok-add-dependent): Remove function.
6747 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6748 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6749 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6750 unclosed <[[, <?, comment, and other literals as extending to EOB.
6751 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6752 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6753 Remove functions.
6754 (rng-do-some-validation-1): Don't mark dependent regions.
6755 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6756 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6757 (nxml-clear-dependent-regions): Remove functions.
6758 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6759 (nxml-ensure-scan-up-to-date):
6760 Don't clear&mark dependent regions.
6761
6762 2013-05-15 Leo Liu <sdl.web@gmail.com>
6763
6764 * progmodes/octave.el (octave-goto-function-definition):
6765 Improve and fix callers.
6766
6767 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6770 the setter (bug#14387).
6771
6772 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6773 surrounding group (bug#14402).
6774
6775 2013-05-14 Juri Linkov <juri@jurta.org>
6776
6777 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6778 (Bug#14390)
6779
6780 2013-05-14 Glenn Morris <rgm@gnu.org>
6781
6782 * progmodes/f90.el (f90-imenu-generic-expression):
6783 Fix typo in 2013-05-08 change. (Bug#14402)
6784
6785 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6786
6787 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6788 Remove signals for which replies are never received.
6789
6790 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6791
6792 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6793 (gdb-handler-alist, gdb-handler-number): Remove variables.
6794 (gdb-handler-list): New variable.
6795 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6796 (gdb-pending-handler-p, gdb-handle-reply)
6797 (gdb-remove-all-pending-triggers): New functions.
6798 (gdb-discard-unordered-replies): New defcustom.
6799 (gdb-handler): New defstruct.
6800 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6801 instead of gdb-pending-triggers. Update docstring.
6802 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6803 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6804 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6805 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6806 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6807 (gdb-frame-handler): Pending triggers are now automatically managed.
6808 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6809 Remove argument.
6810 (gdb-input): Automatically handles pending triggers. Update docstring.
6811 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6812 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6813 Update comments.
6814 (gdb-done-or-error): Now use gdb-handle-reply.
6815
6816 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6817
6818 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6819 gdb-debug-log.
6820
6821 2013-05-14 Glenn Morris <rgm@gnu.org>
6822
6823 * subr.el (user-emacs-directory-warning): New option.
6824 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6825
6826 2013-05-14 Leo Liu <sdl.web@gmail.com>
6827
6828 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6829 during redisplay.
6830 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6831 (octave-font-lock-texinfo-comment): Fix invalid search bound
6832 error: wrong side of point.
6833
6834 2013-05-14 Glenn Morris <rgm@gnu.org>
6835
6836 * progmodes/flymake.el (flymake-xml-program): New option.
6837 (flymake-xml-init): Use it.
6838
6839 * term/xterm.el: Provide a feature.
6840
6841 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6842
6843 2013-05-13 Glenn Morris <rgm@gnu.org>
6844
6845 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6846 Add compat aliases as a hack workaround. (Bug#14384)
6847
6848 2013-05-13 Leo Liu <sdl.web@gmail.com>
6849
6850 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6851 ###, and %!.
6852 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6853 C-M-q.
6854 (octave-comment-start-skip): Include %!.
6855 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6856
6857 2013-05-12 Leo Liu <sdl.web@gmail.com>
6858
6859 * progmodes/octave.el (inferior-octave-startup): Store the value
6860 of __octave_srcdir__ for octave-source-directories.
6861 (inferior-octave-check-process): New function refactored out of
6862 inferior-octave-send-list-and-digest.
6863 (octave-source-directories)
6864 (octave-find-definition-filename-function): New variables.
6865 (octave-source-directories)
6866 (octave-find-definition-default-filename): New functions.
6867 (octave-find-definition): Improve to find functions implemented in C++.
6868
6869 2013-05-12 Glenn Morris <rgm@gnu.org>
6870
6871 * calendar/diary-lib.el (diary-outlook-format-1):
6872 Don't include dayname in the output. (Bug#14349)
6873
6874 2013-05-11 Glenn Morris <rgm@gnu.org>
6875
6876 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6877
6878 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6879 Treat cc-provide like provide.
6880
6881 2013-05-11 Kevin Ryde <user42@zip.com.au>
6882
6883 * cus-dep.el (custom-make-dependencies):
6884 Use generated-autoload-load-name for the sake of files such
6885 such cedet/semantic/bovine/c.el, where the base file name
6886 is not in load-path. (Bug#5277)
6887
6888 2013-05-11 Glenn Morris <rgm@gnu.org>
6889
6890 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6891 Provide features.
6892
6893 2013-05-11 Leo Liu <sdl.web@gmail.com>
6894
6895 * progmodes/octave.el (octave-indent-comment): Improve.
6896 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6897 (octave-eldoc-function-signatures, octave-eldoc-function):
6898 New functions.
6899 (octave-mode, inferior-octave-mode): Add eldoc support.
6900
6901 2013-05-11 Richard Stallman <rms@gnu.org>
6902
6903 * epa.el (epa-decrypt-file): Take output file name as argument
6904 and read it using `interactive'.
6905
6906 2013-05-11 Leo Liu <sdl.web@gmail.com>
6907
6908 * progmodes/octave.el (octave-beginning-of-line)
6909 (octave-end-of-line): Check before using up-list because it jumps
6910 out of more syntactic contructs since moving to smie.
6911 (octave-indent-comment): New function.
6912 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6913 (octave-begin-keywords, octave-end-keywords)
6914 (octave-reserved-words, octave-smie-bnf-table)
6915 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6916
6917 2013-05-11 Glenn Morris <rgm@gnu.org>
6918
6919 * faces.el (internal-face-x-get-resource):
6920 * frame.el (ns-display-monitor-attributes-list):
6921 * calc/calc-aent.el (math-to-radians-2):
6922 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6923 Fix declarations.
6924
6925 * calc/calc-menu.el: Make it loadable in isolation.
6926
6927 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6928 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6929 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6930 (eudc-bbdb-query-internal): Require 'bbdb.
6931
6932 * lpr.el (lpr-headers-switches):
6933 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6934
6935 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6936
6937 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6938
6939 * term.el (term-set-escape-char): Make it idempotent.
6940
6941 2013-05-10 Leo Liu <sdl.web@gmail.com>
6942
6943 * progmodes/octave.el (inferior-octave-completion-table):
6944 No longer a function and all uses changed. Use cache to speed up
6945 completion due to bug#11906.
6946 (octave-beginning-of-defun): Re-write to be more general.
6947
6948 2013-05-10 Glenn Morris <rgm@gnu.org>
6949
6950 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6951
6952 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * comint.el (comint-redirect-send-command-to-process): Use :around
6955 rather than :override for comint-redirect-filter.
6956 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6957 Call it instead of comint-redirect-original-filter-function (which
6958 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6959
6960 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6961
6962 * frame.el (display-monitor-attributes-list): Add NS case.
6963 (ns-display-monitor-attributes-list): Declare.
6964
6965 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6966
6967 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6968
6969 2013-05-09 Glenn Morris <rgm@gnu.org>
6970
6971 * international/fontset.el (vertical-centering-font-regexp):
6972 Set standard-value.
6973
6974 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6975
6976 * bookmark.el (bookmark-search-delay):
6977 * cus-start.el (vertical-centering-font-regexp):
6978 * ps-mule.el (ps-mule-font-info-database-default):
6979 * ps-print.el (ps-default-fg, ps-default-bg):
6980 * type-break.el (type-break-good-break-interval):
6981 * whitespace.el (whitespace-indentation-regexp)
6982 (whitespace-space-after-tab-regexp):
6983 * emacs-lisp/testcover.el (testcover-1value-functions)
6984 (testcover-noreturn-functions, testcover-progn-functions)
6985 (testcover-prog1-functions):
6986 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6987 * eshell/em-glob.el (eshell-glob-translate-alist):
6988 * play/tetris.el (tetris-tty-colors):
6989 * progmodes/cpp.el (cpp-face-default-list):
6990 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6991 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6992 (idlwave-help-browser-generic-args):
6993 * progmodes/make-mode.el (makefile-special-targets-list):
6994 * progmodes/python.el (python-shell-virtualenv-path):
6995 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6996 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6997 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6998 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6999 * textmodes/reftex-vars.el (reftex-format-label-function):
7000 * textmodes/remember.el (remember-diary-file): Fix custom types.
7001
7002 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7003 Add :version.
7004
7005 2013-05-09 Leo Liu <sdl.web@gmail.com>
7006
7007 * progmodes/octave.el (inferior-octave-completion-at-point):
7008 Restore file completion. (Bug#14300)
7009 (inferior-octave-startup): Fix incorrect highlighting for the
7010 first prompt.
7011
7012 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * progmodes/ruby-mode.el: First cut at SMIE support.
7015 (ruby-use-smie): New var.
7016 (ruby-smie-grammar): New constant.
7017 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7018 (ruby-smie--forward-token, ruby-smie--backward-token)
7019 (ruby-smie-rules): New functions.
7020 (ruby-mode-variables): Setup SMIE if applicable.
7021
7022 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7023
7024 * simple.el (line-move-visual): Signal beginning/end of buffer
7025 only if vertical-motion moved less than it was requested. Avoids
7026 silly incorrect error messages when there are display strings with
7027 multiple newlines at EOL.
7028
7029 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7032 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7033 (prolog-char-quote-workaround):
7034 * progmodes/cperl-mode.el (cperl-under-as-char):
7035 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7036 Mark as obsolete.
7037 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7038 their declaration.
7039 (vhdl-mode-syntax-table-init): Remove.
7040
7041 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7042 last change.
7043
7044 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7045 syntax for "_".
7046 (ld-script-font-lock-keywords):
7047 Change regexps to use things like \_< and \_>.
7048
7049 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7050 Change all regexps to use things like \_< and \_>.
7051
7052 * progmodes/autoconf.el (autoconf-definition-regexp)
7053 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7054 Handle a _ with symbol syntax.
7055 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7056
7057 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7058 Consolidate declaration.
7059 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7060 the declaration.
7061 (ada-create-syntax-table): Remove.
7062 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7063 already has the right syntax nowadays.
7064 (ada-goto-next-word): Don't change the syntax of "_".
7065
7066 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7067 with-wrapper-hook.
7068
7069 2013-05-08 Sam Steingold <sds@gnu.org>
7070
7071 * thingatpt.el (thing-at-point): Accept optional second argument
7072 NO-PROPERTIES to strip the text properties from the return value.
7073 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7074 to `thing-at-point' instead of stripping the properties ourselves.
7075 Also, when `thing-at-point' fails to find a url, prepend "http://"
7076 to the filename at point on the assumption that the user is
7077 pointing at something like gnu.org/gnu.
7078
7079 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7080
7081 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7082 * faces.el (crm-separator):
7083 Silence byte-compiler.
7084
7085 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7086 (tool-bar-map): Remove unneeded defvars.
7087
7088 2013-05-08 Leo Liu <sdl.web@gmail.com>
7089
7090 Re-work a fix for bug#10994 based on Le Wang's patch.
7091 * ido.el (ido-remove-consecutive-dups): New helper.
7092 (ido-completing-read): Use it.
7093 (ido-chop): Revert fix for bug#10994.
7094
7095 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7096
7097 * cus-edit.el (custom-save-variables):
7098 Pretty-print long values. (Bug#14187)
7099
7100 2013-05-08 Glenn Morris <rgm@gnu.org>
7101
7102 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7103 (m4-mode-syntax-table): Init in the defvar.
7104 (m4-mode-abbrev-table): Let define-derived-mode define it.
7105
7106 2013-05-08 Tom Tromey <tromey@redhat.com>
7107
7108 * progmodes/m4-mode.el (m4-mode-syntax-table):
7109 Do not treat "_" as word constituent. (Bug#14167)
7110
7111 2013-05-07 Glenn Morris <rgm@gnu.org>
7112
7113 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7114 Remove explicit eshell-isearch-cancel-map.
7115
7116 * progmodes/f90.el (f90-smart-end-names): New option.
7117 (f90-smart-end): Doc fix.
7118 (f90-end-block-optional-name): New constant.
7119 (f90-block-match): Respect f90-smart-end-names.
7120
7121 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7124 about implicit semi-colons (bug#14218).
7125
7126 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7127
7128 * frame.el (display-monitor-attributes-list)
7129 (frame-monitor-attributes): New functions.
7130
7131 2013-05-06 Leo Liu <sdl.web@gmail.com>
7132
7133 * progmodes/octave.el (octave-syntax-propertize-function): Change
7134 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7135 (octave-font-lock-keywords): Use octave-operator-regexp.
7136 (octave-completion-at-point): Rename from
7137 octave-completion-at-point-function.
7138 (inferior-octave-directory-tracker): Robustify.
7139 (octave-text-functions): Remove and fix its uses. No such things
7140 any more.
7141
7142 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * emacs-lisp/trace.el (trace--display-buffer): New function.
7145 (trace-make-advice): Use it.
7146
7147 2013-05-06 Juri Linkov <juri@jurta.org>
7148
7149 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7150 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7151 Doc fix.
7152 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7153 in the help string. (Bug#12985)
7154
7155 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7156
7157 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7158
7159 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 * progmodes/perl-mode.el: Add support for here documents.
7162 (perl-syntax-propertize-function): Match here-doc markers.
7163 (perl-syntax-propertize-special-constructs): Find their end.
7164 (perl-imenu-generic-expression): Use [:alnum:].
7165
7166 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7167 (advice--add-function): Refresh the advice if already present
7168 (bug#14317).
7169
7170 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7171
7172 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7173
7174 2013-05-06 Glenn Morris <rgm@gnu.org>
7175
7176 * w32-fns.el (w32-charset-info-alist): Declare.
7177
7178 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7179 of its defcustom properties.
7180 (eshell-cmpl-initialize): No need to load pcomplete.
7181
7182 * generic-x.el: No need to require comint when compiling.
7183
7184 * net/eudc-export.el: Make it loadable without bbdb.
7185 (top-level): Use require rather than load-library.
7186 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7187 (eudc-batch-export-records-to-bbdb)
7188 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7189 Require bbdb.
7190
7191 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7194 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7195 some tweaks, instead.
7196
7197 2013-05-05 Leo Liu <sdl.web@gmail.com>
7198
7199 * progmodes/octave.el (octave-font-lock-keywords)
7200 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7201 (inferior-octave-send-list-and-digest): Improve error message.
7202 (octave-mode, inferior-octave-mode): Use setq-local.
7203 (octave-help): Set info-lookup-mode.
7204
7205 2013-05-05 Richard Stallman <rms@gnu.org>
7206
7207 * vc/compare-w.el (compare-windows-whitespace):
7208 Treat no-break space as whitespace.
7209
7210 * mail/rmailsum.el (rmail-summary-rmail-update):
7211 Detect empty summary and don't change selected message.
7212 (rmail-summary-goto-msg): Likewise.
7213
7214 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7215 Doc fixes, rename args.
7216
7217 2013-05-05 Alan Mackenzie <acm@muc.de>
7218
7219 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7220
7221 2013-05-05 Juri Linkov <juri@jurta.org>
7222
7223 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7224 to not add the length of the summary segment to the return value.
7225 (Bug#14125)
7226
7227 2013-05-05 Leo Liu <sdl.web@gmail.com>
7228
7229 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7230 (inferior-octave-output-filter): Remove.
7231 (octave-send-region, inferior-octave-startup): Fix callers.
7232 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7233 (octave-binary-file-extensions): New user variable.
7234 (octave-find-definition): Confirm if opening binary files.
7235 (octave-help-file): Use octave-find-definition to get the binary
7236 confirmation.
7237 (octave-help): Adjust for octave-help-file change.
7238
7239 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7242 Merge the two entries that handle function definitions.
7243 (pascal--syntax-propertize): New const.
7244 (pascal-mode): Use it. Use setq-local.
7245
7246 2013-05-04 Glenn Morris <rgm@gnu.org>
7247
7248 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7249 (diary-from-outlook): Respect diary-from-outlook-function.
7250
7251 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7254 Move the declaration from C.
7255 (read-minibuffer, eval-minibuffer): Move from C.
7256 (completion-setup-function): Avoid minibuffer-completion-contents.
7257
7258 2013-05-03 Leo Liu <sdl.web@gmail.com>
7259
7260 * progmodes/octave.el (octave-font-lock-keywords): Do not
7261 dehighlight 'end' in comments or strings.
7262 (octave-completing-read, octave-goto-function-definition):
7263 New helpers.
7264 (octave-help-buffer): New user variable.
7265 (octave-help-file, octave-help-function): New button types.
7266 (octave-help): New command and bind it to C-h ;.
7267 (octave-find-definition): New command and bind it to M-.
7268 (user-error): Alias to error if not defined.
7269
7270 2013-05-02 Leo Liu <sdl.web@gmail.com>
7271
7272 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7273 for \. (bug#14332)
7274 (octave-font-lock-keywords): Include [ and {.
7275
7276 2013-05-02 Leo Liu <sdl.web@gmail.com>
7277
7278 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7279 (inferior-octave): Remove calling comint-mode and return the buffer.
7280 (inferior-octave-startup): Cosmetic changes.
7281
7282 2013-05-02 Leo Liu <sdl.web@gmail.com>
7283
7284 * progmodes/octave.el (octave-syntax-propertize-function):
7285 Include the case when ' is at line beginning. (Bug#14336)
7286
7287 2013-05-02 Glenn Morris <rgm@gnu.org>
7288
7289 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7290 * desktop.el (vc-dir-mode): Just autoload it here.
7291
7292 2013-05-02 Alan Mackenzie <acm@muc.de>
7293
7294 Eliminate variable c-standard-font-lock-fontify-region-function.
7295 * progmodes/cc-mode.el
7296 (c-standard-font-lock-fontify-region-function): Remove.
7297 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7298
7299 2013-05-01 Leo Liu <sdl.web@gmail.com>
7300
7301 * progmodes/octave.el: Compatible with older emacs-24 releases.
7302 (inferior-octave-has-built-in-variables): Remove. Built-in
7303 variables were removed from Octave in 2007.
7304 (inferior-octave-startup): Fix uses.
7305 (comint-line-beginning-position): Remove compatibility code for
7306 emacs 21.
7307
7308 2013-05-01 Juri Linkov <juri@jurta.org>
7309
7310 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7311
7312 2013-05-01 Juri Linkov <juri@jurta.org>
7313
7314 * comint.el (comint-previous-matching-input): Don't print message
7315 "History item: %d" when `isearch-mode' is active.
7316 (comint-history-isearch-message): Print message "History item: %d"
7317 when `comint-input-ring-index' is not empty and this function is
7318 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7319
7320 2013-05-01 Leo Liu <sdl.web@gmail.com>
7321
7322 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7323 definitions. Use completion-at-point to insert keywords.
7324 (octave-abbrev-start): Remove.
7325 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7326
7327 2013-04-30 Leo Liu <sdl.web@gmail.com>
7328
7329 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7330 change.
7331
7332 2013-04-30 Alan Mackenzie <acm@muc.de>
7333
7334 Handle arbitrarily long C++ member initialisation lists.
7335 * progmodes/cc-engine.el (c-back-over-member-initializers):
7336 new function.
7337 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7338 (most) member init lists.
7339
7340 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7341
7342 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7343 variable.
7344
7345 2013-04-30 Leo Liu <sdl.web@gmail.com>
7346
7347 * progmodes/octave.el (octave-variables): Remove. No builtin
7348 variables any more. All converted to functions.
7349 (octave-font-lock-keywords, octave-completion-at-point-function):
7350 Fix uses.
7351 (octave-font-lock-texinfo-comment): New user variable.
7352 (octave-texinfo-font-lock-keywords): New variable for texinfo
7353 comment block.
7354 (octave-function-comment-block): New face.
7355 (octave-font-lock-texinfo-comment): New function.
7356 (octave-mode): Font lock texinfo comment block.
7357
7358 2013-04-29 Leo Liu <sdl.web@gmail.com>
7359
7360 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7361 indexing expression.
7362 (octave-continuation-string): Do not use \.
7363 (inferior-octave-complete-impossible): Remove.
7364 (inferior-octave-completion-table)
7365 (inferior-octave-completion-at-point): Remove its uses.
7366 (inferior-octave-startup): completion_matches was introduced to
7367 Octave in 1996 so safe to assume it.
7368 (octave-function-file-comment): Improve to follow how Octave does it.
7369 (octave-update-function-file-comment): Tweak.
7370
7371 2013-04-29 Leo Liu <sdl.web@gmail.com>
7372
7373 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7374 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7375 (octave-function-file-comment): Fix typo.
7376 (octave-sync-function-file-names): Use read-char-choice.
7377
7378 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7379
7380 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7381 to t for the less important warnings.
7382
7383 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7384
7385 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7386
7387 2013-04-27 Glenn Morris <rgm@gnu.org>
7388
7389 * vc/log-view.el (log-view-current-entry):
7390 Treat "---" separator lines as part of the following rev. (Bug#14169)
7391
7392 2013-04-27 Juri Linkov <juri@jurta.org>
7393
7394 * subr.el (read-number): Doc fix about using it by interactive
7395 code letter `n'. (Bug#14254)
7396
7397 2013-04-27 Juri Linkov <juri@jurta.org>
7398
7399 * desktop.el (desktop-auto-save-timeout): New option.
7400 (desktop-file-checksum): New variable.
7401 (desktop-save): Add optional arg `auto-save' and don't auto-save
7402 if nothing changed.
7403 (desktop-auto-save-timer): New variable.
7404 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7405 (after-init-hook): Call `desktop-auto-save-set-timer'.
7406 Suggested by Reuben Thomas <rrt@sc3d.org> in
7407 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7408
7409 2013-04-27 Leo Liu <sdl.web@gmail.com>
7410
7411 * progmodes/octave.el (octave-function-file-p)
7412 (octave-skip-comment-forward, octave-function-file-comment)
7413 (octave-update-function-file-comment): New functions.
7414 (octave-mode-map): Bind C-c ; to
7415 octave-update-function-file-comment.
7416 (octave-mode-menu): Add octave-update-function-file-comment.
7417 (octave-mode, inferior-octave-mode): Fix doc-string.
7418 (octave-insert-defun): Conform to Octave's coding convention.
7419 (Bug#14285)
7420
7421 * files.el (basic-save-buffer): Don't let errors in
7422 before-save-hook prevent saving buffer.
7423
7424 2013-04-20 Roland Winkler <winkler@gnu.org>
7425
7426 * faces.el (read-face-name): Use completing-read if arg multiple
7427 is nil.
7428
7429 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7430
7431 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7432 displayed, move point to after the totals line.
7433 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7434 for the details.
7435
7436 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7439 Add current dir to the load-path.
7440 (package-generate-autoloads): Don't rely on
7441 autoload-ensure-default-file.
7442
7443 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7444
7445 * textmodes/remember.el (remember-store-in-files): Document that
7446 the file name format is passed to `format-time-string'.
7447
7448 2013-04-26 Leo Liu <sdl.web@gmail.com>
7449
7450 * progmodes/octave.el (octave-sync-function-file-names): New function.
7451 (octave-mode): Use it in before-save-hook.
7452
7453 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7456 (bug#14274).
7457
7458 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7459 \n and comment, even if it's not an implicit ; (bug#14218).
7460
7461 2013-04-26 Glenn Morris <rgm@gnu.org>
7462
7463 * subr.el (read-number): Once more use `read' rather than
7464 `string-to-number', to trap non-numeric input. (Bug#14254)
7465
7466 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7467
7468 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7469 Use `syntax-multiline' text property consistently instead of
7470 `font-lock-multiline'. (Bug#14237)
7471
7472 2013-04-26 Glenn Morris <rgm@gnu.org>
7473
7474 * emacs-lisp/shadow.el (list-load-path-shadows):
7475 No longer necessary to check for duplicate simple.el, since
7476 2012-07-07 change to init_lread to not include installation lisp
7477 directories in load-path when running uninstalled. (Bug#14270)
7478
7479 2013-04-26 Leo Liu <sdl.web@gmail.com>
7480
7481 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7482 (octave-mode, inferior-octave-mode): Use setq-local.
7483 (octave-not-in-string-or-comment-p): Rename to
7484 octave-in-string-or-comment-p.
7485 (octave-in-comment-p, octave-in-string-p)
7486 (octave-in-string-or-comment-p): Replace defsubst with defun.
7487
7488 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7489
7490 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7491
7492 2013-04-25 Bastien Guerry <bzg@gnu.org>
7493
7494 * textmodes/remember.el (remember-data-directory)
7495 (remember-directory-file-name-format): Fix custom types.
7496
7497 2013-04-25 Leo Liu <sdl.web@gmail.com>
7498
7499 * progmodes/octave.el (octave-completion-at-point-function):
7500 Make use of inferior octave process.
7501 (octave-initialize-completions): Remove.
7502 (inferior-octave-completion-table): New function.
7503 (inferior-octave-completion-at-point): Use it.
7504 (octave-completion-alist): Remove.
7505
7506 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7509 (opascal-mode-syntax-table): New var.
7510 (opascal-literal-kind, opascal-is-literal-end)
7511 (opascal-literal-token-at): Rewrite.
7512 (opascal--literal-start-re, opascal-font-lock-keywords)
7513 (opascal--syntax-propertize): New constants.
7514 (opascal-font-lock-defaults): Adjust.
7515 (opascal-mode): Use them. Set comment-<foo> variables as well.
7516 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7517 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7518 (delphi-other-face, opascal-other-face): Remove face variables.
7519 (opascal-save-state): Remove macro.
7520 (opascal-fontifying-progress-step): Remove constant.
7521 (opascal--ignore-changes): Remove var.
7522 (opascal-set-token-property, opascal-parse-next-literal)
7523 (opascal-is-stable-literal, opascal-complete-literal)
7524 (opascal-is-literal-start, opascal-face-of)
7525 (opascal-parse-region, opascal-parse-region-until-stable)
7526 (opascal-fontify-region, opascal-after-change)
7527 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7528 (opascal-debug-parse-region, opascal-debug-parse-window)
7529 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7530 (opascal-debug-fontify-buffer): Remove.
7531 (opascal-debug-mode-map): Adjust accordingly.
7532
7533 2013-04-25 Leo Liu <sdl.web@gmail.com>
7534
7535 Merge octave-mod.el and octave-inf.el into octave.el with some
7536 cleanups.
7537 * progmodes/octave.el: New file renamed from octave-mod.el.
7538 * progmodes/octave-inf.el: Merged into octave.el.
7539 * progmodes/octave-mod.el: Renamed to octave.el.
7540
7541 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7542
7543 * textmodes/reftex-vars.el
7544 (reftex-label-ignored-macros-and-environments): New defcustom.
7545
7546 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7547
7548 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7551 (smie-indent-keyword): Improve the check to ensure that the next
7552 comment is really on the same line.
7553 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7554
7555 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7556 semi-colons if the line is not otherwise empty (bug#14218).
7557
7558 2013-04-25 Glenn Morris <rgm@gnu.org>
7559
7560 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7561
7562 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * progmodes/opascal.el (opascal-set-token-property): Rename from
7565 opascal-set-text-properties and only set `token' (bug#14134).
7566 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7567 (opascal-literal-text-properties): Remove.
7568 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7569 Adjust callers.
7570
7571 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7572
7573 * textmodes/remember.el (remember-handler-functions): Add an
7574 option for a new handler `remember-store-in-files'.
7575 (remember-data-directory, remember-directory-file-name-format):
7576 New options.
7577 (remember-store-in-files): New function to store remember notes
7578 as separate files within a directory.
7579
7580 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7581
7582 * progmodes/compile.el (compilation-next-error-function):
7583 Pass "formats" to compilation-find-file (bug#11777).
7584
7585 2013-04-24 Glenn Morris <rgm@gnu.org>
7586
7587 * vc/vc-bzr.el (vc-bzr-print-log):
7588 * vc/vc-hg.el (vc-hg-print-log):
7589 * vc/vc-svn.el (vc-svn-print-log):
7590 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7591
7592 * vc/vc-bzr.el (vc-bzr-print-log):
7593 * vc/vc-cvs.el (vc-cvs-print-log):
7594 * vc/vc-git.el (vc-git-print-log):
7595 * vc/vc-hg.el (vc-hg-print-log):
7596 * vc/vc-mtn.el (vc-mtn-print-log):
7597 * vc/vc-rcs.el (vc-rcs-print-log):
7598 * vc/vc-sccs.el (vc-sccs-print-log):
7599 * vc/vc-svn.el (vc-svn-print-log):
7600 * vc/vc.el (vc-print-log-internal): Doc fixes.
7601
7602 2013-04-23 Glenn Morris <rgm@gnu.org>
7603
7604 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7605 Remove venerable code attempting to avoid substitute-command-keys.
7606
7607 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7608
7609 * textmodes/reftex-vars.el (reftex-label-regexps):
7610 Call `reftex-compile-variables' after changes to this variable.
7611
7612 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7615 Use lexical-binding.
7616 (jit-lock-force-redisplay): Use markers, check buffer's continued
7617 existence and beware narrowed buffers.
7618 (jit-lock-fontify-now): Adjust call accordingly.
7619
7620 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7621
7622 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7623 to avoid misleading the user.
7624
7625 2013-04-22 Leo Liu <sdl.web@gmail.com>
7626
7627 * info-look.el: Prefer latex2e.info. (Bug#14240)
7628
7629 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7630
7631 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7632
7633 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7634 * net/tramp.el (tramp-call-process): ... here.
7635 (tramp-set-completion-function, tramp-parse-putty):
7636 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7637 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7638 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7639 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7640 (tramp-call-local-coding-command): Use `tramp-call-process'
7641 instead of `tramp-compat-call-process'.
7642
7643 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7644 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7645 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7646 (tramp-find-inline-compress): Improve traces.
7647 (tramp-maybe-send-script): Check for Perl binary.
7648 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7649
7650 2013-04-22 Daiki Ueno <ueno@gnu.org>
7651
7652 * epg.el (epg-context-pinentry-mode): New function.
7653 (epg-context-set-pinentry-mode): New function.
7654 (epg--start): Pass --pinentry-mode option to gpg command.
7655
7656 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7657
7658 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7659 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7660 `completion-at-point'. (Bug#13774)
7661
7662 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7663 default key binding for `describe-distribution' has been moved to
7664 `C-h C-o'. (Bug#13970)
7665
7666 2013-04-21 Glenn Morris <rgm@gnu.org>
7667
7668 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7669 Add doc strings.
7670 (vc-print-log): Clarify interactive prompt.
7671
7672 2013-04-20 Glenn Morris <rgm@gnu.org>
7673
7674 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7675 No longer include timestamp etc information.
7676
7677 2013-04-20 Roland Winkler <winkler@gnu.org>
7678
7679 * faces.el (read-face-name): Bug fix, return just one face if arg
7680 multiple is nil. (Bug#14209)
7681
7682 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7685 (remove-function): Autoload.
7686
7687 * comint.el (comint-redirect-original-filter-function): Remove.
7688 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7689 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7690 (vc-cvs-annotate-command):
7691 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7692 * progmodes/prolog.el (prolog-consult-compile):
7693 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7694 Use add/remove-function instead.
7695 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7696 (gud-tooltip-process-output, gud-tooltip-tips):
7697 Use add/remove-function instead.
7698 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7699 (scheme-interaction-mode, exit-scheme-interaction-mode):
7700 Use add/remove-function instead.
7701
7702 * vc/vc-dispatcher.el: Use lexical-binding.
7703 (vc--process-sentinel): Rename from vc-process-sentinel.
7704 Change last arg to be the code to run. Don't use vc-previous-sentinel
7705 and vc-sentinel-commands any more.
7706 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7707 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7708
7709 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7710
7711 * progmodes/sh-script.el (sh-imenu-generic-expression):
7712 Handle function names with a single character. (Bug#14111)
7713
7714 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7715
7716 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7717 for subroutines defined in an eval (bug#14182).
7718
7719 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7720
7721 * bookmark.el (bookmark-completing-read): Improve handling of empty
7722 string (bug#14176).
7723
7724 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7727
7728 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7729
7730 New faster Imenu implementation (bug#14058).
7731 * progmodes/python.el:
7732 (python-imenu-prev-index-position):
7733 (python-imenu-format-item-label-function)
7734 (python-imenu-format-parent-item-label-function)
7735 (python-imenu-format-parent-item-jump-label-function):
7736 New vars.
7737 (python-imenu-format-item-label)
7738 (python-imenu-format-parent-item-label)
7739 (python-imenu-format-parent-item-jump-label)
7740 (python-imenu--put-parent, python-imenu--build-tree)
7741 (python-imenu-create-index, python-imenu-create-flat-index)
7742 (python-util-popn): New functions.
7743 (python-mode): Set imenu-create-index-function to
7744 python-imenu-create-index.
7745
7746 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * winner.el (winner-active-region): Use region-active-p, activate-mark
7749 and deactivate-mark (bug#14225).
7750
7751 * simple.el (deactivate-mark): Don't inline it.
7752
7753 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7754
7755 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7756
7757 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7758
7759 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7760 file extensions from the archive-mode entry in order to prefer
7761 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7762
7763 2013-04-18 Leo Liu <sdl.web@gmail.com>
7764
7765 * bindings.el (help-event-list): Add ?\?.
7766
7767 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * subr.el (with-wrapper-hook): Declare obsolete.
7770 * simple.el (filter-buffer-substring-function): New hook.
7771 (filter-buffer-substring): Use it.
7772 (filter-buffer-substring-functions): Mark obsolete.
7773 * minibuffer.el (completion-in-region-function): New hook.
7774 (completion-in-region): Use it.
7775 (completion-in-region-functions): Mark obsolete.
7776 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7777 * abbrev.el (abbrev-expand-function): New hook.
7778 (expand-abbrev): Use it.
7779 (abbrev-expand-functions): Mark obsolete.
7780 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7781 and :filter-return.
7782
7783 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7784
7785 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7786 and do not care about match data.
7787
7788 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7791 completion tables when completing error conditions and
7792 `declare' arguments.
7793 (lisp-complete-symbol, field-complete): Mark as obsolete.
7794 (check-parens): Unmatched parens are user errors.
7795 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7796
7797 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7798
7799 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7800 command changed buffer (ie. `flyspell-pre-buffer' is not current
7801 buffer), which prevents making decisions based on invalid value of
7802 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7803 cause an error when `flyspell-pre-point' was nil after switching
7804 buffers.
7805 (flyspell-post-command-hook): No longer needs to change buffers when
7806 checking pre-word. While at it remove unnecessary progn.
7807
7808 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7809
7810 * textmodes/ispell.el (ispell-add-per-file-word-list):
7811 Fix `flyspell-correct-word-before-point' error when accepting
7812 words and `coment-padding' is an integer by using
7813 `comment-normalize-vars' (Bug #14214).
7814
7815 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7816
7817 New defun movement commands.
7818 * progmodes/python.el (python-nav--syntactically)
7819 (python-nav--forward-defun, python-nav-backward-defun)
7820 (python-nav-forward-defun): New functions.
7821
7822 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7823
7824 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7825 (python-syntax-context): Use named compiler-macro for backwards
7826 compatibility with Emacs 24.x.
7827
7828 2013-04-17 Leo Liu <sdl.web@gmail.com>
7829
7830 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7831 octave-hide-process-buffer.
7832
7833 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7836 (bug#14216).
7837
7838 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7839
7840 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7841 Fix adjustment of offset when receiving incomplete responses from GDB
7842 (bug#14129).
7843
7844 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7847 python-mode-abbrev-table.
7848 (python-skeleton-define): Adjust accordingly.
7849 (python-mode-abbrev-table): New table that inherits from it so that
7850 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7851
7852 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7853 (abbrev-symbol): Use it.
7854 (abbrev--before-point): Use it since we already handle inheritance.
7855
7856 2013-04-16 Leo Liu <sdl.web@gmail.com>
7857
7858 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7859 binding to info-lookup-symbol.
7860
7861 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * minibuffer.el (completion--twq-all):
7864 * term/ns-win.el (ns-initialize-window-system):
7865 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7866
7867 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7870 global bindings.
7871
7872 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7873
7874 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7875
7876 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7877 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7878 to nil.
7879 (ruby-end-of-defun): Remove the unused arg, change the docstring
7880 to reflect that this function is only used as the value of
7881 `end-of-defun-function'.
7882 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7883 to reflect an earlier change that beginning/end-of-defun functions
7884 jump between methods in a class definition, as well as top-level
7885 functions.
7886
7887 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * minibuffer.el (minibuffer-complete): Don't just scroll
7890 a *Completions* that's been iconified.
7891 (minibuffer-force-complete): Make sure repetitions do cycle when going
7892 through completion-in-region -> minibuffer-complete.
7893
7894 2013-04-15 Alan Mackenzie <acm@muc.de>
7895
7896 Correct the placement of c-cpp-delimiters when there're #s not at
7897 col 0.
7898
7899 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7900 place a submatch around the #.
7901 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7902 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7903 on the #, not BOL.
7904
7905 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7906
7907 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7908 (advice--member-p): New arg `name'.
7909 (advice--add-function, advice-member-p): Use it (bug#14202).
7910
7911 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7912
7913 Reformulate java imenu-generic-expression.
7914 The old expression contained ill formed regexps.
7915
7916 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7917 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7918 (cc-imenu-java-method-arg-regexp): New defconsts.
7919 (cc-imenu-java-build-type-args-regex): New defun.
7920 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7921 handling of spaces in the regexp.
7922
7923 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7924
7925 * textmodes/ispell.el (ispell-command-loop): Remove
7926 flyspell highlight of a word when ispell accepts it (bug #14178).
7927
7928 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7929
7930 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7931 uses code from the previous `ange-ftp-run-real-handler'.
7932 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7933 only in case that function exist. This is needed for proper
7934 unloading of Tramp.
7935
7936 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7937
7938 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7939
7940 * textmodes/reftex.el (reftex-compile-variables): Use it.
7941
7942 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * files.el (normal-mode): Only use default major-mode if no other mode
7945 was specified.
7946
7947 * emacs-lisp/trace.el (trace-values): New function.
7948
7949 * files.el: Allow : in local variables (bug#14089).
7950 (hack-local-variable-regexp): New var.
7951 (hack-local-variables-prop-line, hack-local-variables): Use it.
7952
7953 2013-04-13 Roland Winkler <winkler@gnu.org>
7954
7955 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7956 data before it gets modified by bibtex-beginning-of-entry.
7957
7958 2013-04-13 Roland Winkler <winkler@gnu.org>
7959
7960 * textmodes/bibtex.el (bibtex-url): Doc fix.
7961
7962 2013-04-13 Roland Winkler <winkler@gnu.org>
7963
7964 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7965 does not visit a BibTeX file, exclude it from the list of buffers
7966 returned by bibtex-initialize.
7967
7968 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7969
7970 * window.el (split-window): Remove interactive form, since as a
7971 command this function is a special case of split-window-below.
7972 Correct doc string.
7973
7974 2013-04-12 Roland Winkler <winkler@gnu.org>
7975
7976 * faces.el (read-face-name): Do not override value of arg default.
7977 Allow single faces and strings as default values. Remove those
7978 elements from return value that are not faces.
7979 (describe-face): Simplify.
7980 (face-at-point): New optional args thing and multiple so that this
7981 function can provide the same functionality previously provided by
7982 read-face-name.
7983 (make-face-bold, make-face-unbold, make-face-italic)
7984 (make-face-unitalic, make-face-bold-italic, invert-face)
7985 (modify-face, read-face-and-attribute): Use face-at-point.
7986
7987 * cus-edit.el (customize-face, customize-face-other-window)
7988 * cus-theme.el (custom-theme-add-face)
7989 * face-remap.el (buffer-face-set)
7990 * facemenu.el (facemenu-set-face): Use face-at-point.
7991
7992 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7993
7994 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7995
7996 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7997
7998 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7999 off leading { and trailing } from field values.
8000
8001 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * emacs-lisp/timer.el (timer--check): New function.
8004 (timer--time, timer-set-function, timer-event-handler): Use it.
8005 (timer-set-idle-time): Simplify.
8006 (timer--activate): CSE.
8007 (timer-event-handler): Give more info in error message.
8008 (internal-timer-start-idle): New function, moved from C.
8009
8010 * mpc.el (mpc-proc): Add `restart' argument.
8011 (mpc-proc-cmd): Use it.
8012 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8013 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8014 less often.
8015
8016 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8017
8018 * progmodes/sh-script.el: Implement `sh-mode' own
8019 `add-log-current-defun-function' (bug#14112).
8020 (sh-current-defun-name): New function.
8021 (sh-mode): Use the function.
8022
8023 2013-04-09 Bastien Guerry <bzg@gnu.org>
8024
8025 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8026
8027 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8030
8031 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8032 timer (bug#14156).
8033
8034 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8035
8036 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8037 declaration.
8038
8039 2013-04-07 Leo Liu <sdl.web@gmail.com>
8040
8041 * pcmpl-x.el: New file.
8042
8043 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8044
8045 Do not set x-display-name until X connection is established.
8046 This is needed to prevent from weird situation described at
8047 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8048 * frame.el (make-frame): Set x-display-name after call to
8049 window system initialization function, not before.
8050 * term/x-win.el (x-initialize-window-system): Add optional
8051 display argument and use it.
8052 * term/w32-win.el (w32-initialize-window-system):
8053 * term/ns-win.el (ns-initialize-window-system):
8054 * term/pc-win.el (msdos-initialize-window-system):
8055 Add compatible optional display argument.
8056
8057 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8058
8059 * files.el (normal-backup-enable-predicate): On MS-Windows and
8060 MS-DOS compare truenames of temporary-file-directory and of the
8061 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8062 don't fail comparison by compare-strings. Also, compare file
8063 names case-insensitively on MS-Windows and MS-DOS.
8064
8065 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8068 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8069
8070 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8071
8072 * whitespace.el (whitespace-color-on, whitespace-color-off):
8073 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8074
8075 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8076
8077 * ispell.el (ispell-set-spellchecker-params):
8078 Really set `ispell-args' for all equivs.
8079
8080 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * ido.el (ido-completions): Use extra elements of ido-decorations
8083 (bug#14143).
8084 (ido-decorations): Update docstring.
8085
8086 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8087
8088 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8089 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8090 nil during initialization, in order not to miss changes since the
8091 file was opened. (Bug#14140)
8092
8093 2013-04-05 Leo Liu <sdl.web@gmail.com>
8094
8095 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8096
8097 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8098
8099 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8100
8101 2013-04-04 Glenn Morris <rgm@gnu.org>
8102
8103 * electric.el (electric-pair-inhibit-predicate): Add :version.
8104
8105 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8108 when a package is required several times (bug#14082).
8109
8110 2013-04-04 Roland Winkler <winkler@gnu.org>
8111
8112 * faces.el (read-face-name): Behave as promised by the docstring.
8113 Assume that arg default is a list of faces.
8114 (describe-face): Call read-face-name with list of default faces.
8115
8116 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8117
8118 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8119 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8120 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8121 the header.
8122 (bookmark-exit-hook-internal): Save even if list is empty.
8123
8124 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8125
8126 * emacs-lisp/package.el (package-pinned-packages): New var.
8127 (package--add-to-archive-contents): Obey it (bug#14118).
8128
8129 2013-04-03 Alan Mackenzie <acm@muc.de>
8130
8131 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8132 Also adapt to the new values of element 7 of a parse state.
8133
8134 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8135 parameter `not-in-delimiter'. Handle being inside comment opener.
8136 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8137 character in case we're typing a '*' after a '/'.
8138 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8139 instead by passing the parameter to c-state-pp-to-literal.
8140
8141 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8142 for elt. 7 of a parse state.
8143
8144 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8145
8146 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8147 * international/latin1-disp.el, international/mule-util.el:
8148 * language/cyril-util.el, language/european.el, language/ind-util.el:
8149 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8150 * language/tibetan.el, language/viet-util.el:
8151 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8152
8153 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8156 (electric-pair-post-self-insert-function): Use it.
8157 (electric-pair-default-inhibit): New function, extracted from
8158 electric-pair-post-self-insert-function.
8159
8160 2013-03-31 Roland Winkler <winkler@gnu.org>
8161
8162 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8163
8164 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8167
8168 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8169
8170 Un-indent after "pass" and "return" statements (Bug#13888)
8171 * progmodes/python.el (python-indent-block-enders): New var.
8172 (python-indent-calculate-indentation): Use it.
8173
8174 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8175
8176 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8177 defun. Defining it as defalias could introduce too eager
8178 byte-compiler optimization. (Bug#14030)
8179
8180 2013-03-30 Chong Yidong <cyd@gnu.org>
8181
8182 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8183
8184 2013-03-30 Leo Liu <sdl.web@gmail.com>
8185
8186 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8187 (kmacro-execute-from-register): Pass the keyboard macro to
8188 kmacro-call-macro or repeating won't work correctly.
8189
8190 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8191
8192 * progmodes/subword.el: Back to using `forward-symbol'.
8193
8194 * subr.el (forward-whitespace, forward-symbol)
8195 (forward-same-syntax): Move from thingatpt.el.
8196
8197 2013-03-29 Leo Liu <sdl.web@gmail.com>
8198
8199 * kmacro.el (kmacro-to-register): New command.
8200 (kmacro-execute-from-register): New function.
8201 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8202
8203 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * mpc.el: Use defvar-local and setq-local.
8206 (mpc--proc-connect): Connection failures are not bugs.
8207 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8208 (mpc-volume-map): Bind to the up-events.
8209
8210 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8211
8212 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8213 instead of `forward-symbol'.
8214
8215 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8218 (edebug--recursive-edit): Use it.
8219 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8220 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8221
8222 2013-03-28 Leo Liu <sdl.web@gmail.com>
8223
8224 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8225
8226 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8227
8228 * facemenu.el (list-colors-callback): New defvar.
8229 (list-colors-redisplay): New function.
8230 (list-colors-display): Install list-colors-redisplay as the
8231 revert-buffer-function. (Bug#14063)
8232
8233 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8236 and suffixes don't overlap (bug#14061).
8237
8238 * case-table.el: Use lexical-binding.
8239 (case-table-get-table): New function.
8240 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8241
8242 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8243
8244 * progmodes/subword.el: Add `superword-mode' to do word motion
8245 over symbol_words (parallels and leverages `subword-mode' which
8246 does word motion inside MixedCaseWords).
8247
8248 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8249
8250 * eshell/em-unix.el: Move su and sudo to...
8251 * eshell/em-tramp.el: ...Eshell tramp module.
8252
8253 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8256 Change return value to be a sexp. Delay `get-buffer' to after
8257 restoring the desktop (bug#13951).
8258
8259 2013-03-26 Leo Liu <sdl.web@gmail.com>
8260
8261 * register.el: Move semantic tag handling back to
8262 cedet/semantic/senator.el. (Bug#14052)
8263
8264 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8267 into the prompt either (bug#13963).
8268
8269 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8272 part of "(error-foo)".
8273
8274 2013-03-24 Juri Linkov <juri@jurta.org>
8275
8276 * replace.el (list-matching-lines-prefix-face): New defcustom.
8277 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8278 `occur-engine' if `face-differs-from-default-p' returns t.
8279 (occur-engine): Add `,' inside backquote construct to evaluate
8280 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8281 Pass `prefix-face' to the functions `occur-context-lines' and
8282 `occur-engine-add-prefix'.
8283 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8284 `prefix-face' and propertize the prefix with `prefix-face'.
8285 (Bug#14017)
8286
8287 2013-03-24 Leo Liu <sdl.web@gmail.com>
8288
8289 * nxml/rng-valid.el (rng-validate-while-idle)
8290 (rng-validate-quick-while-idle): Guard against deleted buffer.
8291 (Bug#13999)
8292
8293 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8294 is the last entry in kill-buffer-hook.
8295
8296 * files.el (kill-buffer-hook): Doc fix.
8297
8298 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8299
8300 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8301 Make it safe-local.
8302
8303 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8304
8305 2013-03-23 Leo Liu <sdl.web@gmail.com>
8306
8307 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8308 Remove.
8309
8310 * nxml/rng-valid.el (rng-validate-mode)
8311 (rng-after-change-function, rng-do-some-validation):
8312 * nxml/rng-maint.el (rng-validate-buffer):
8313 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8314 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8315 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8316 (nxml-extend-after-change-region): Use with-silent-modifications.
8317
8318 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8319 timer-idle-list.
8320
8321 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8322 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8323 timer-idle-list. (Bug#13999)
8324
8325 2013-03-23 Juri Linkov <juri@jurta.org>
8326
8327 * info.el (info-index-match): New face.
8328 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8329 main pattern and add text properties with the new face to matches
8330 in index entries relative to the beginning of the index entry.
8331 (Bug#14015)
8332
8333 2013-03-21 Eric Ludlam <zappo@gnu.org>
8334
8335 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8336 Inhibit read only while inserting objects.
8337
8338 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8339
8340 * progmodes/cfengine.el: Update docs to mention
8341 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8342 symbol motion. Remove "_" from the word syntax.
8343
8344 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8345
8346 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8347 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8348
8349 2013-03-20 Juri Linkov <juri@jurta.org>
8350
8351 * info.el (Info-next-reference-or-link)
8352 (Info-prev-reference-or-link): New functions.
8353 (Info-next-reference, Info-prev-reference): Use them.
8354 (Info-try-follow-nearest-node): Handle footnote navigation.
8355 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8356
8357 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8360 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8361
8362 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8363
8364 Suppress unnecessary non-ASCII chatter during build process.
8365 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8366 (batch-skkdic-convert): Suppress most of the chatter.
8367 It's not needed so much now that machines are faster,
8368 and its non-ASCII component was confusing; see Dmitry Gutov in
8369 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8370
8371 2013-03-20 Leo Liu <sdl.web@gmail.com>
8372
8373 * ido.el (ido-chop): Fix bug#10994.
8374
8375 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8376
8377 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8378 Remove vars.
8379 (whitespace-color-on, whitespace-color-off):
8380 Use `font-lock-fontify-buffer' (Bug#13817).
8381
8382 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8385 remapping in mode-line.
8386 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8387
8388 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8389
8390 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8391 value for `whitespace-line' face (Bug#13875).
8392 (whitespace-font-lock-keywords): Change description.
8393 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8394 the constructed keywords instead.
8395 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8396
8397 2013-03-19 Leo Liu <sdl.web@gmail.com>
8398
8399 * progmodes/compile.el (compilation-display-error): New command.
8400 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8401 C-o. (Bug#13992)
8402
8403 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8404
8405 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8406
8407 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8408
8409 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8410
8411 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8412
8413 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8414
8415 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8416 * net/tramp-gvfs.el (top):
8417 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8418 (tramp-handle-shell-command): Use it.
8419 (tramp-dissect-file-name): Raise an error when hostname is a
8420 method name, and neither method nor user is specified.
8421
8422 * net/trampver.el: Update release number.
8423
8424 2013-03-18 Leo Liu <sdl.web@gmail.com>
8425
8426 Make sure eldoc can be turned off properly.
8427 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8428 eldoc-mode.
8429 (eldoc-display-message-p): Revert last change.
8430 (eldoc-display-message-no-interference-p)
8431 (eldoc-print-current-symbol-info): Tweak.
8432
8433 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8434
8435 * doc-view.el (doc-view-new-window-function): Check the new window
8436 overlay's display property instead the char property of the
8437 buffer's first char. Use `with-selected-window' instead of
8438 `save-window-excursion' with `select-window'.
8439 (doc-view-document->bitmap): Check the current doc-view overlay's
8440 display property instead the char property of the buffer's first char.
8441
8442 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8443
8444 Automate the build of ja-dic.el (Bug#13984).
8445 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8446 from the input, rather than assume that it's been done for us by the
8447 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8448 the current date into a ja-dic.el comment, as that complicates
8449 regression testing.
8450
8451 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * whitespace.el: Fix double evaluation.
8454 (whitespace-space, whitespace-hspace, whitespace-tab)
8455 (whitespace-newline, whitespace-trailing, whitespace-line)
8456 (whitespace-space-before-tab, whitespace-indentation)
8457 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8458 obsolete defvars.
8459 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8460 (whitespace-color-on): Use a single font-lock-add-keywords call.
8461 Fix double-evaluation of face variables.
8462
8463 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8464
8465 * net/tramp-adb.el (tramp-adb-parse-device-names):
8466 Use `start-process' instead of `call-process'. Otherwise, the
8467 function might be blocked under MS Windows. (Bug#13299)
8468
8469 2013-03-17 Leo Liu <sdl.web@gmail.com>
8470
8471 Extend eldoc to display info in the mode-line. (Bug#13978)
8472 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8473 (eldoc-mode-line-string): New variable.
8474 (eldoc-minibuffer-message): New function.
8475 (eldoc-message-function): New variable.
8476 (eldoc-message): Use it.
8477 (eldoc-display-message-p)
8478 (eldoc-display-message-no-interference-p):
8479 Support eldoc-post-insert-mode.
8480
8481 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8482 (eval-expression): Run it.
8483
8484 2013-03-17 Roland Winkler <winkler@gnu.org>
8485
8486 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8487 strings in the list of return values.
8488
8489 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8490
8491 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8492 radix before checking for HMS forms.
8493
8494 2013-03-16 Leo Liu <sdl.web@gmail.com>
8495
8496 * progmodes/scheme.el: Add indentation and font-locking for λ.
8497 (Bug#13975)
8498
8499 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8502 token before point (bug#13942).
8503
8504 2013-03-16 Leo Liu <sdl.web@gmail.com>
8505
8506 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8507
8508 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8509
8510 * startup.el (command-line-normalize-file-name): Fix handling of
8511 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8512 <xfq.free@gmail.com> in
8513 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8514
8515 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8516
8517 Sync with Tramp 2.2.7.
8518
8519 * net/trampver.el: Update release number.
8520
8521 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8522
8523 * doc-view.el: Fix bug#13887.
8524 (doc-view-insert-image): Don't modify overlay associated to
8525 non-live windows, and implement horizontal centering of image in
8526 case it's smaller than the window.
8527 (doc-view-new-window-function): Force redisplay of new windows on
8528 doc-view buffers.
8529
8530 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8531
8532 * saveplace.el (save-place-alist-to-file): Don't sort
8533 `save-place-alist', just pretty-print it (bug#13882).
8534
8535 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8536
8537 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8538 Check whether `default-file-name-coding-system' is bound.
8539 It isn't in XEmacs.
8540
8541 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8544 backquotes for `obsolete' (bug#13929).
8545
8546 * international/mule.el (find-auto-coding): Include file name in
8547 obsolescence warning (bug#13922).
8548
8549 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8550
8551 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8552 for CFEngine 3-specific indentation.
8553 (cfengine3-indent-line): Use it. Fix up category regex.
8554 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8555
8556 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * type-break.el (type-break-file-name):
8559 * textmodes/remember.el (remember-data-file):
8560 * strokes.el (strokes-file):
8561 * shadowfile.el (shadow-initialize):
8562 * saveplace.el (save-place-file):
8563 * ps-bdf.el (bdf-cache-file):
8564 * progmodes/idlwave.el (idlwave-config-directory):
8565 * net/quickurl.el (quickurl-url-file):
8566 * international/kkc.el (kkc-init-file-name):
8567 * ido.el (ido-save-directory-list-file):
8568 * emulation/viper.el (viper-custom-file-name):
8569 * emulation/vip.el (vip-startup-file):
8570 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8571 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8572
8573 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8574
8575 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8576 * language/thai-word.el: Switch to UTF-8.
8577
8578 See ChangeLog.16 for earlier changes.
8579
8580 ;; Local Variables:
8581 ;; coding: utf-8
8582 ;; End:
8583
8584 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8585
8586 This file is part of GNU Emacs.
8587
8588 GNU Emacs is free software: you can redistribute it and/or modify
8589 it under the terms of the GNU General Public License as published by
8590 the Free Software Foundation, either version 3 of the License, or
8591 (at your option) any later version.
8592
8593 GNU Emacs is distributed in the hope that it will be useful,
8594 but WITHOUT ANY WARRANTY; without even the implied warranty of
8595 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8596 GNU General Public License for more details.
8597
8598 You should have received a copy of the GNU General Public License
8599 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.