* progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2
3 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4 `japanese-cp932' to `cp932' to fix the problem where saving a
5 source file written in Shift_JIS twice would end up having
6 `coding: japanese-cp932' which Ruby could not recognize.
7 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8 in `ruby-encoding-map'.
9 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10 doesn't need to be explicitly declared in magic comment.
11 (ruby-encoding-map): Add type declaration for better customize UI.
12
13 2013-10-13 Glenn Morris <rgm@gnu.org>
14
15 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16 Occur buffers are read-only. http://bugs.debian.org/720775
17
18 * emacs-lisp/authors.el (authors-fixed-entries):
19 Comment out old alpha stuff.
20
21 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
24 to `after-save-hook' instead of `before-save-hook'.
25 (ruby-mode-set-encoding): Use the value of coding system used to
26 write the file. Call `basic-save-buffer-1' after modifying the
27 buffer.
28
29 2013-10-13 Alan Mackenzie <acm@muc.de>
30
31 Fix indentation/fontification of Java enum with
32 "implements"/generic.
33
34 * progmodes/cc-engine.el (c-backward-over-enum-header): Extracted
35 from the three other places and enhanced to handle generics.
36 (c-inside-bracelist-p): Uses new function above.
37 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
38 function above.
39 (c-font-lock-enum-tail): Uses new function above.
40
41 2013-10-13 Kenichi Handa <handa@gnu.org>
42
43 * international/mule-cmds.el (select-safe-coding-system): Remove a
44 superfluous condition in chekcing whether a coding system is safe
45 or not.
46
47 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
48
49 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
50
51 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
52
53 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
54
55 2013-10-13 Glenn Morris <rgm@gnu.org>
56
57 * menu-bar.el (menu-bar-update-buffers):
58 Unify Buffers menu prompt string. (Bug#15576)
59
60 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
61
62 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
63 Add some entries.
64 (authors-fixed-entries): Use accented form of name.
65
66 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
69 method calls (bug#15594).
70 (ruby-smie--args-separator-p): New function.
71 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
72 recognize paren-free method calls.
73
74 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
75 internals of universal-argument.
76
77 2013-10-11 Eli Zaretskii <eliz@gnu.org>
78
79 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
80 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
81 dropped menu on second mouse click on the menu bar.
82
83 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
86 (explicit-shell-file-name): Declare.
87 (sh--vars-before-point, sh--cmd-completion-table): New functions.
88 (sh-completion-at-point-function): New function.
89 (sh-mode): Use it.
90 (sh-smie--keyword-p): Remove unused argument.
91 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
92 vars.
93 (sh-set-shell): Always setup SMIE, even if we use the
94 old indentation code.
95
96 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
97
98 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
99 cases of ? and =.
100 (ruby-smie-rules): Simplify the "do" rule. The cases when the
101 predicate would return nil are almost non-existent.
102 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
103
104 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
105 cache also after commands that modify the buffer but don't move
106 point.
107
108 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * env.el (substitute-env-in-file-name): New function.
111 (substitute-env-vars): Extend the meaning of the optional arg.
112
113 2013-10-10 Eli Zaretskii <eliz@gnu.org>
114
115 * term/w32-win.el (dynamic-library-alist): Define separate lists
116 of GIF DLLs for versions before and after 5.0.0 of giflib.
117 (Bug#15531)
118
119 2013-10-10 João Távora <joaotavora@gmail.com>
120
121 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
122 not locked, use last revision and current source as
123 defaults. (Bug#15569)
124
125 2013-10-10 Masatake YAMATO <yamato@redhat.com>
126
127 * menu-bar.el (menu-bar-open): Don't use popup-menu if
128 menu-bar is hidden.
129
130 2013-10-10 Martin Rudalics <rudalics@gmx.at>
131
132 * window.el (pop-to-buffer-same-window): Fix doc-string.
133 (Bug#15492)
134
135 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
138
139 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
140
141 * calendar/icalendar.el (icalendar-import-file):
142 Fix interactive spec. (Bug#15482)
143
144 2013-10-10 Glenn Morris <rgm@gnu.org>
145
146 * desktop.el (desktop-save): Default to saving in .emacs.d,
147 since PWD is no longer in desktop-path by default. (Bug#15319)
148
149 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
150 now that text mode has a menu with the same entry.
151 (menu-bar-text-mode-auto-fill): Remove now unused func.
152 * textmodes/text-mode.el (text-mode-map):
153 Use auto-fill help text from menu-bar.el.
154
155 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
156
157 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
158
159 2013-10-09 Juri Linkov <juri@jurta.org>
160
161 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
162 instead of this-command-keys. Add universal-argument-more and
163 universal-argument-minus to the list of prefix commands. (Bug#15568)
164
165 2013-10-09 Glenn Morris <rgm@gnu.org>
166
167 * vc/vc-svn.el (vc-svn-create-repo):
168 Expand paths in file://... url. (Bug#15446)
169
170 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
171 Add some entries.
172 (authors): Remove unused local variables.
173
174 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * profiler.el: Create a more coherent calltree from partial backtraces.
177 (profiler-format): Hide the tail with `invisible' so that C-s can still
178 find the hidden elements.
179 (profiler-calltree-depth): Don't recurse so enthusiastically.
180 (profiler-function-equal): New hash-table-test.
181 (profiler-calltree-build-unified): New function.
182 (profiler-calltree-build): Use it.
183 (profiler-report-make-name-part): Indent the calltree less.
184 (profiler-report-mode): Add visibility specs for profiler-format.
185 (profiler-report-expand-entry, profiler-report-toggle-entry):
186 Expand the whole subtree when provided with a prefix arg.
187
188 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
189
190 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
191 iuwu-mod token.
192 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
193 hanging iuwu-mod token.
194 (ruby-smie--forward-token): Do not include a dot after a token in
195 that token.
196 (ruby-smie--backward-token): Likewise.
197
198 2013-10-08 Juri Linkov <juri@jurta.org>
199
200 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
201 to isearch-other-control-char.
202 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
203 and isearch-post-command-hook to post-command-hook.
204 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
205 and isearch-post-command-hook from post-command-hook.
206 (isearch-unread-key-sequence)
207 (isearch-reread-key-sequence-naturally)
208 (isearch-lookup-scroll-key, isearch-other-control-char)
209 (isearch-other-meta-char): Remove functions.
210 (isearch-pre-command-hook, isearch-post-command-hook):
211 New functions based on isearch-other-meta-char rewritten
212 relying on the new behavior of overriding-terminal-local-map
213 that does not replace the local keymaps any more. (Bug#15200)
214
215 2013-10-08 Eli Zaretskii <eliz@gnu.org>
216
217 Support menus on text-mode terminals.
218 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
219 functionality.
220
221 * tooltip.el (tooltip-mode): Don't error out on TTYs.
222
223 * menu-bar.el (popup-menu, popup-menu-normalize-position): Moved
224 here from mouse.el.
225 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
226 and arrow keys.
227 (tty-menu-navigation-map): New map for TTY menu navigation.
228
229 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
230
231 * frame.el (display-mouse-p): Report text-mode mouse as available
232 on w32.
233 (display-popup-menus-p): Report availability if mouse is
234 available; don't condition on window-system.
235
236 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
237 (tty-menu-selected-face): New faces.
238
239 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
242 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
243 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
244 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
245 New constants.
246 (lisp-mode-variables): New `elisp' argument.
247 (emacs-lisp-mode): Use it.
248 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
249 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
250
251 * indent.el: Use lexical-binding.
252 (indent-region): Add progress reporter.
253 (tab-stop-list): Make it implicitly extend to infinity by repeating the
254 last step.
255 (indent--next-tab-stop): New function to implement this behavior.
256 (tab-to-tab-stop, move-to-tab-stop): Use it.
257
258 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
259
260 * indent.el (indent-rigidly--current-indentation): New function.
261 (indent-rigidly-map): New var.
262 (indent-rigidly): Use it to provide interactive mode (bug#8196).
263
264 2013-10-08 Bastien Guerry <bzg@gnu.org>
265
266 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
267
268 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * progmodes/perl-mode.el: Use lexical-binding.
271 Remove redundant :group args.
272 (perl-nochange): Change default to be closer to other major modes's
273 standard behavior.
274 (perl-indent-line): Don't consider text on current line as a
275 valid beginning of function from which to indent.
276
277 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
278 with more than one argument (bug#15538).
279
280 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
281
282 * vc/pcvs.el: Use lexical-binding.
283 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
284 environment of `eval'.
285 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
286 than a list of expressions. Adjust callers.
287 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
288
289 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
290
291 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
292 case of the dot in a chained method call being on the following line.
293
294 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
295
296 * electric.el (electric-indent-inhibit): New var.
297 (electric-indent-post-self-insert-function): Use it.
298 * progmodes/python.el (python-mode): Set it.
299
300 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
301 open braces.
302
303 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
304
305 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
306 (css-mode): Use electric-indent-chars.
307
308 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
309 (font-lock-beg, font-lock-end): Move before first use.
310 (nxml-mode): Use syntax-propertize-function.
311 (nxml-after-change, nxml-after-change1): Adjust accordingly.
312 (nxml-extend-after-change-region): Remove.
313 * nxml/xmltok.el: Use lexical-binding.
314 (xmltok-save): Use `declare'.
315 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
316 * nxml/nxml-util.el: Use lexical-binding.
317 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
318 Use `declare'.
319 * nxml/nxml-ns.el: Use lexical-binding.
320 (nxml-ns-save): Use `declare'.
321 (nxml-ns-prefixes-for): Avoid add-to-list.
322 * nxml/rng-match.el: Use lexical-binding.
323 (rng--ipattern): Use cl-defstruct.
324 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
325 (rng-cons-group-after, rng-subst-group-after)
326 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
327 Use closures instead of `(lambda...).
328
329 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
330
331 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
332 of BEG and END.
333
334 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
335 Use `tramp-handle-insert-file-contents'.
336 (tramp-gvfs-handle-insert-file-contents): Remove function.
337
338 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
339 Use `save-restriction' in order to keep markers.
340
341 * net/trampver.el: Update release number.
342
343 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
344
345 * progmodes/compile.el (compilation-parse-errors):
346 Use compilation--put-prop.
347 (compilation--ensure-parse): Check compilation-multiline.
348
349 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
350
351 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
352 lexical-binding.
353
354 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
355
356 * progmodes/ruby-mode.el: Fix recently added tests.
357 (ruby-smie-grammar): Add - and +.
358 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
359 (ruby-smie--backward-id): New functions.
360 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
361 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
362 any more.
363
364 2013-10-07 Leo Liu <sdl.web@gmail.com>
365
366 * register.el (register-preview-delay)
367 (register-preview-functions): New variables.
368 (register-read-with-preview, register-preview)
369 (register-describe-oneline): New functions.
370 (point-to-register, window-configuration-to-register)
371 (frame-configuration-to-register, jump-to-register)
372 (number-to-register, view-register, insert-register)
373 (copy-to-register, append-to-register, prepend-to-register)
374 (copy-rectangle-to-register): Use register-read-with-preview to
375 read register. (Bug#15525)
376
377 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
378
379 * net/network-stream.el (network-stream-open-starttls): Don't add
380 --insecure if it's already present, because that gnutls-cli
381 rejects getting that parameter twice.
382
383 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
384
385 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
386 keyword, too.
387
388 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
389
390 * newcomment.el (comment-use-global-state): Change default value
391 to t, mark obsolete (Bug#15251).
392 (comment-beginning): In addition to `comment-to-syntax', check the
393 value of `comment-use-global-state'.
394
395 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
398 (ruby-comment-column): Follow the global default, by default.
399 (ruby-smie-grammar): Add assignment syntax.
400 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
401 open-paren, a comma, or a \.
402 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
403 and line continuations.
404 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
405 followed by implicit semi-colons. Add rule for string concatenation
406 and for indentation at BOB.
407 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
408
409 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
410 calling next-sexp, since next-token may have skipped chars which
411 next-sexp doesn't know should be skipped!
412
413 2013-10-05 Leo Liu <sdl.web@gmail.com>
414
415 * progmodes/octave.el (octave-send-region):
416 Call compilation-forget-errors.
417
418 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
419
420 * vc/vc-svn.el (vc-svn-find-admin-dir):
421 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
422 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
423 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
424 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
425
426 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
429
430 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * subr.el (read-passwd): Hide chars even when called within a context
433 where after-change-functions is disabled (bug#15501).
434 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
435 until we removed ourself from overriding-terminal-local-map.
436
437 2013-10-04 Leo Liu <sdl.web@gmail.com>
438
439 * progmodes/octave.el (inferior-octave-mode):
440 Call compilation-forget-errors.
441
442 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
443
444 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
445
446 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
447
448 * net/secrets.el (secrets-create-collection): Add optional
449 argument ALIAS. Use proper Label keyword. Append ALIAS as
450 dbus-call-method argument. (Bug#15516)
451
452 2013-10-04 Leo Liu <sdl.web@gmail.com>
453
454 * progmodes/octave.el (inferior-octave-error-regexp-alist)
455 (inferior-octave-compilation-font-lock-keywords): New variables.
456 (compilation-error-regexp-alist)
457 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
458 (inferior-octave-mode): Use compilation-shell-minor-mode.
459
460 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
461
462 * minibuffer.el (completion--replace): Be careful that `end' might be
463 a marker.
464
465 2013-10-03 Daiki Ueno <ueno@gnu.org>
466
467 Add support for package signature checking.
468 * emacs-lisp/package.el (url-http-file-exists-p)
469 (epg-make-context, epg-context-set-home-directory)
470 (epg-verify-string, epg-context-result-for)
471 (epg-signature-status, epg-signature-to-string)
472 (epg-check-configuration, epg-configuration)
473 (epg-import-keys-from-file): Declare.
474 (package-check-signature): New user option.
475 (package-unsigned-archives): New user option.
476 (package-desc): Add `signed' field.
477 (package-load-descriptor): Set `signed' field if .signed file exists.
478 (package--archive-file-exists-p): New function.
479 (package--check-signature): New function.
480 (package-install-from-archive): Check package signature.
481 (package--download-one-archive): Check archive signature.
482 (package-delete): Remove .signed file.
483 (package-import-keyring): New command.
484 (package-refresh-contents): Import default keyring.
485 (package-desc-status): Add "unsigned" status.
486 (describe-package-1, package-menu--print-info)
487 (package-menu-mark-delete, package-menu--find-upgrades)
488 (package-menu--status-predicate): Support "unsigned" status.
489
490 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
493 the new compilation scheme using the new byte-codes.
494
495 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
496 (byte-pophandler): New byte codes.
497 (byte-goto-ops): Adjust accordingly.
498 (byte-compile--use-old-handlers): New var.
499 (byte-compile-catch): Use new byte codes depending on
500 byte-compile--use-old-handlers.
501 (byte-compile-condition-case--old): Rename from
502 byte-compile-condition-case.
503 (byte-compile-condition-case--new): New function.
504 (byte-compile-condition-case): New function that dispatches depending
505 on byte-compile--use-old-handlers.
506 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
507 when we can.
508
509 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
510 Optimize under `condition-case' and `catch' if
511 byte-compile--use-old-handlers is nil.
512 (disassemble-offset): Handle new bytecodes.
513
514 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * subr.el (error): Use `declare'.
517 (decode-char, encode-char): Use advertised-calling-convention instead
518 of the docstring to discourage use of the `restriction' arg.
519
520 2013-10-03 Daiki Ueno <ueno@gnu.org>
521
522 * epg.el (epg-verify-file): Add a comment saying that it does not
523 notify verification error as a return value nor a signal.
524 (epg-verify-string): Ditto.
525
526 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
527
528 * progmodes/compile.el (compilation-start): Try globbing the arg to
529 `cd' (bug#15417).
530
531 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
532
533 Sync with Tramp 2.2.8.
534
535 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
536 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
537 * net/trampver.el: Update release number.
538
539 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
540
541 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
542 and default-process-coding-system for darwin only.
543
544 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
547
548 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
549
550 * vc/vc-git.el (vc-git-grep): Disable pager.
551
552 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
553
554 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
555 Use :url instead of :homepage, as per
556 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
557
558 * newcomment.el (comment-beginning): When `comment-use-syntax' is
559 non-nil, use `syntax-ppss' (Bug#15251).
560
561 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
562
563 * progmodes/octave.el (inferior-octave-startup-file):
564 Prefer ~/.emacs.d/init_octave.m.
565
566 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
567
568 * emacs-lisp/package.el (package-desc-from-define):
569 Accept additional arguments as plist, convert them to an alist and store
570 them in the `extras' slot.
571 (package-generate-description-file): Convert extras alist back to
572 plist and append to the `define-package' form arguments.
573 (package--alist-to-plist): New function.
574 (package--ac-desc): Add `extras' slot.
575 (package--add-to-archive-contents): Check if the archive-contents
576 vector is long enough, and if it is, pass its `extras' slot value
577 to `package-desc-create'.
578 (package-buffer-info): Call `lm-homepage', pass the returned value
579 to `package-desc-from-define'.
580 (describe-package-1): Render the homepage button (Bug#13291).
581
582 * emacs-lisp/package-x.el (package-upload-buffer-internal):
583 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
584
585 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
586
587 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
588 and default-process-coding-system to utf-8-unix (Bug#15402).
589
590 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
591
592 * subr.el (looking-back): Do not recommend using looking-back.
593
594 2013-09-28 Alan Mackenzie <acm@muc.de>
595
596 Fix indentation/fontification of Java enum with "implements".
597
598 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
599 regexp which matches "implements", etc., in Java.
600 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
601 specifier clauses coming after "enum".
602 * progmodes/cc-fonts.el (c-font-lock-declarations)
603 (c-font-lock-enum-tail): Check for extra specifier clauses coming
604 after "enum".
605
606 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
607
608 * faces.el (region): Change ns_selection_color to
609 ns_selection_fg_color, add ns_selection_bg_color.
610
611 2013-09-28 Leo Liu <sdl.web@gmail.com>
612
613 * progmodes/octave.el (inferior-octave-completion-table)
614 (inferior-octave-completion-at-point): Minor tweaks.
615
616 * textmodes/ispell.el (ispell-lookup-words): Rename from
617 lookup-words. (Bug#15460)
618 (lookup-words): Obsolete.
619 (ispell-complete-word, ispell-command-loop): All uses changed.
620
621 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
622
623 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
624 (octave-mode-menu): Add octave-send-buffer.
625 (octave-send-buffer): New function.
626
627 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
628
629 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
630 octave-lookfor.
631 (octave-mode-menu): Add octave-lookfor.
632 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
633 octave-lookfor.
634 (octave-lookfor): New function.
635
636 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * emacs-lisp/cl-macs.el:
639 (cl--loop-destr-temps): Remove.
640 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
641 its convention.
642 (cl--loop-set-iterator-function): New function.
643 (cl-loop): Adjust accordingly, so as not to use cl-subst.
644 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
645 Bind `it' with `let' instead of substituting it with `cl-subst'.
646 (cl--unused-var-p): New function.
647 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
648 Eliminate some unused variable warnings (bug#15326).
649
650 2013-09-27 Tassilo Horn <tsdh@gnu.org>
651
652 * doc-view.el (doc-view-scale-reset): Rename from
653 `doc-view-reset-zoom-level'.
654 (doc-view-scale-adjust): New command.
655 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
656 `doc-view-scale-adjust'.
657
658 2013-09-26 Tassilo Horn <tsdh@gnu.org>
659
660 * doc-view.el (doc-view-reset-zoom-level): New command.
661 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
662 zoom commands (bug#15466).
663
664 2013-09-26 Kenichi Handa <handa@gnu.org>
665
666 * international/quail.el (quail-help): Make it not a command.
667
668 2013-09-26 Leo Liu <sdl.web@gmail.com>
669
670 * minibuffer.el (completion-all-sorted-completions): Make args
671 optional as they are.
672
673 2013-09-25 Daniel Colascione <dancol@dancol.org>
674
675 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
676 specs are and that they're not evaluated.
677
678 2013-09-24 Sam Steingold <sds@gnu.org>
679
680 * midnight.el (clean-buffer-list-kill-regexps)
681 (clean-buffer-list-kill-buffer-names): Update for the new Man
682 buffer naming which includes the object name.
683
684 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * eshell/esh-cmd.el (eshell--sep-terms): New var.
687 (eshell-parse-command, eshell-parse-pipeline): Use it since
688 eshell-separate-commands requires a dynamic scoped var.
689 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
690
691 2013-09-23 Leo Liu <sdl.web@gmail.com>
692
693 * autoinsert.el (auto-insert-alist): Make the value of
694 lexical-binding match its file setting.
695
696 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
697
698 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
699
700 * autoarg.el (autoarg-kp-digit-argument):
701 * electric.el (Electric-command-loop):
702 * kmacro.el (kmacro-step-edit-insert):
703 Do not set universal-argument-num-events.
704
705 2013-09-22 Leo Liu <sdl.web@gmail.com>
706
707 * files.el (interpreter-mode-alist): Add octave.
708
709 2013-09-21 Alan Mackenzie <acm@muc.de>
710
711 C++: fontify identifier in declaration following "public:" correctly.
712 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
713 to match "public", etc.
714 (c-decl-prefix-re): Add ":" into the C++ value.
715 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
716 bit. Add a check for a ":" preceded by "public", etc.
717
718 2013-09-21 Eli Zaretskii <eliz@gnu.org>
719
720 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
721 recognized by GDB 7.5 and later.
722
723 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
724
725 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
726
727 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * subr.el (internal--call-interactively): New const.
730 (called-interactively-p): Use it (bug#3984).
731
732 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
733
734 * vc/pcvs.el (cvs-mode-ignore):
735 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
736 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
737
738 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
741 (eshell-ls-orig-insert-directory): Remove.
742 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
743 (eshell-ls-use-in-dired): Use advice-add/remove.
744 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
745 Add `orig-fun' arg for use in :around advice.
746 Make it check (redundantly) eshell-ls-use-in-dired.
747
748 2013-09-19 Glenn Morris <rgm@gnu.org>
749
750 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
751
752 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
753
754 * emacs-lisp/eieio.el (class-parent): Undo previous change.
755
756 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
757
758 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
759 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
760 (tramp-get-remote-python): New defuns.
761 (tramp-get-remote-uid-with-perl)
762 (tramp-get-remote-gid-with-perl): New defuns. Perl code
763 contributed by yary <not.com@gmail.com> (tiny change).
764 (tramp-get-remote-uid-with-python)
765 (tramp-get-remote-gid-with-python): New defuns. Python code
766 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
767 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
768
769 2013-09-19 Glenn Morris <rgm@gnu.org>
770
771 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
772
773 * eshell/em-unix.el (eshell-remove-entries):
774 Rename argument to avoid name-clash with global `top-level'.
775
776 * eshell/esh-proc.el (eshell-kill-process-function):
777 Remove eshell-reset-after-proc from eshell-kill-hook if present.
778 (eshell-reset-after-proc): Remove unused arg `proc'.
779
780 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
781 (directory-files-and-attributes): Mark unused arg.
782
783 * eshell/em-unix.el (eshell-remove-entries):
784 Remove unused arg `path'. Update callers.
785
786 * eshell/em-hist.el (eshell-hist-parse-arguments):
787 Remove unused arg `silent'. Update callers.
788
789 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
790 Fix (f)boundp mix-up.
791
792 * eshell/em-smart.el (eshell-smart-scroll-window)
793 (eshell-disable-after-change):
794 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
795
796 2013-09-18 Alan Mackenzie <acm@muc.de>
797
798 Fix fontification of type when followed by "const".
799 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
800 "known" types from fontification.
801
802 2013-09-18 Glenn Morris <rgm@gnu.org>
803
804 * emacs-lisp/chart.el (x-display-color-cells): Declare.
805 (chart-face-list): Drop Emacsen without display-color-p.
806
807 * net/eww.el (libxml-parse-html-region): Declare.
808 (eww-display-html): Explicit error if no libxml2 support.
809
810 * doc-view.el (doc-view-mode): Silence --without-x compilation.
811
812 * image.el (image-type-from-buffer, image-multi-frame-p):
813 Remove --without-x warning/error.
814
815 * mouse.el (mouse-yank-primary):
816 * term.el (term-mouse-paste):
817 Reorder to silence --without-x compilation.
818
819 * mpc.el (doc-view-mode): Silence --without-x compilation.
820
821 * mail/rmailmm.el (rmail-mime-set-bulk-data):
822 Silence --without-x compilation.
823
824 * progmodes/gud.el (gud-find-file, gud-mode):
825 Silence --without-x compilation.
826 (tooltip-mode): Declare.
827
828 * wdired.el (dired-backup-overwrite): Remove declaration.
829 (wdired-mode-map): Add doc string.
830
831 * custom.el (x-get-resource): Declare.
832
833 * eshell/em-glob.el (ange-cache):
834 * eshell/em-unix.el (ange-cache): Declare.
835
836 * faces.el (x-display-list, x-open-connection, x-get-resource):
837 Declare.
838
839 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
840 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
841 Declare.
842
843 * frame.el (x-display-grayscale-p, x-display-name): Declare.
844
845 * net/gnutls.el (gnutls-log-level): Declare.
846
847 * net/shr.el (image-size, image-animate): Declare.
848
849 * simple.el (font-info): Declare.
850
851 * subr.el (x-popup-dialog): Declare.
852
853 * term/common-win.el (x-select-enable-primary)
854 (x-last-selected-text-primary, x-last-selected-text-clipboard):
855 Declare.
856
857 * term/ns-win.el (x-handle-args): Declare.
858
859 * term/x-win.el (x-select-enable-clipboard): Declare.
860
861 * term/w32-win.el (create-default-fontset): Declare.
862
863 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
864 Declare.
865
866 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
867 (fit-frame-to-buffer): Explicit error if --without-x.
868 (mouse-autoselect-window-select): Silence compiler.
869
870 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
871
872 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
873 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
874 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
875 * eshell/esh-util.el (eshell-sublist):
876 Remove unused local variables.
877
878 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
879
880 * textmodes/two-column.el: Make 2C-split work for --without-x.
881 (scroll-bar-columns): Autoload.
882 (top-level): Require fringe when compiling.
883
884 2013-09-18 Leo Liu <sdl.web@gmail.com>
885
886 * subr.el (add-hook): Robustify to handle closure as well.
887
888 2013-09-17 Glenn Morris <rgm@gnu.org>
889
890 * simple.el (messages-buffer-mode-map): Unbind "g".
891
892 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * help-mode.el (help-mode-finish): Use derived-mode-p.
895 Remove obsolete highlighting.
896
897 * play/life.el (life-mode): Use define-derived-mode. Derive from
898 special-mode.
899 (life): Let-bind inhibit-read-only.
900 (life-setup): Avoid `setq'. Use `life-mode'.
901
902 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
903 which should not be needed any more.
904 (package-menu-refresh, package-menu-describe-package): Use user-error.
905
906 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
907 (eshell-post-rewrite-command-hook): Make obsolete.
908 (eshell-parse-command): Simplify.
909 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
910 (eshell--cmd): Declare.
911 (eshell-parse-pipeline): Remove unused var `final-p'.
912 Pass a dynvar to eshell-post-rewrite-command-hook.
913 Implement the new eshell-post-rewrite-command-function.
914 (eshell-invoke-directly): Remove unused arg `input'.
915 * eshell/esh-io.el (eshell-io-initialize):
916 Use eshell-post-rewrite-command-function (bug#15399).
917 (eshell--apply-redirections): Rename from eshell-apply-redirections;
918 adjust to new calling convention.
919 (eshell-create-handles): Rename args to avoid clashing with dynvar
920 `standard-output'.
921
922 2013-09-17 Glenn Morris <rgm@gnu.org>
923
924 * simple.el (messages-buffer-mode): New major mode.
925 (messages-buffer): New function.
926 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
927 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
928 (ert-run-test): Use `messages-buffer' function.
929 (ert--force-message-log-buffer-truncation): Ignore read-only.
930 * help.el (view-echo-area-messages): Use `messages-buffer' function.
931 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
932
933 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
936
937 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
938
939 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * icomplete.el (icomplete-in-buffer): New var.
942 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
943 vars and replace them with functions.
944 (icomplete-minibuffer-setup): Adjust accordingly.
945 (icomplete--completion-table, icomplete--completion-predicate)
946 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
947 New functions.
948 (icomplete-forward-completions, icomplete-backward-completions)
949 (icomplete-simple-completing-p, icomplete-exhibit)
950 (icomplete-completions): Use them.
951 (icomplete--in-region-buffer): New var.
952 (icomplete--in-region-setup): New function.
953 (icomplete-mode): Use it.
954
955 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
956 (bug#15379).
957 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
958 return args and options.
959 (eshell-eval-using-options): Use the new return value of
960 eshell--do-opts to set the options's vars in their scope.
961 (eshell--set-option): Rename from eshell-set-option.
962 Add arg `opt-vals'.
963 (eshell--process-option): Rename from eshell-process-option.
964 Add arg `opt-vals'.
965 (eshell--process-args): Use an `opt-vals' alist to store the options's
966 values during their processing and return them additionally to the
967 remaining args.
968
969 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
970
971 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
972 continuation character an operator, as far as indentation is
973 concerned (Bug#15369).
974
975 2013-09-15 Martin Rudalics <rudalics@gmx.at>
976
977 * window.el (window--state-put-2): Don't process buffer state
978 when buffer doesn't exist any more (Bug#15382).
979
980 2013-09-15 Glenn Morris <rgm@gnu.org>
981
982 * eshell/em-unix.el (eshell/rm):
983 Make -f ignore missing files. (Bug#15373)
984
985 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
986 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
987 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
988
989 2013-09-14 Glenn Morris <rgm@gnu.org>
990
991 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
992
993 2013-09-13 Glenn Morris <rgm@gnu.org>
994
995 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
996 (dired-guess-default): Make `file' available in the env. (Bug#15363)
997
998 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
999
1000 * frame.el (x-focus-frame): Mark as declared in frame.c.
1001
1002 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * ls-lisp.el: Use advice-add.
1005 (original-insert-directory): Remove.
1006 (ls-lisp--insert-directory): Rename from insert-directory; add
1007 `orig-fun' argument.
1008 (insert-directory): Advise.
1009
1010 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1011
1012 * term.el (term-emulate-terminal): Decode the command string
1013 before passing it to term-command-hook. (Bug#15337)
1014
1015 2013-09-13 Glenn Morris <rgm@gnu.org>
1016
1017 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1018
1019 * eshell/esh-ext.el (eshell-search-path): Declare.
1020
1021 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1022 Otherwise an error occurs if eshell-dirs module not loaded.
1023
1024 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1025
1026 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1027
1028 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1029 `tramp-check-proper-host'. Check for a valid method name.
1030
1031 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1032 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1033 * net/tramp-sh.el (tramp-maybe-open-connection):
1034 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1035
1036 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1037 also for hash values.
1038
1039 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * term/ns-win.el (parameters): Don't declare as dynamic.
1042 (before-make-frame-hook): Don't add ineffective function.
1043
1044 * eshell/*.el: Use lexical-binding (bug#15231).
1045
1046 2013-09-12 Kenichi Handa <handa@gnu.org>
1047
1048 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1049
1050 2013-09-12 Glenn Morris <rgm@gnu.org>
1051
1052 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1053 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1054
1055 * subr.el (do-after-load-evaluation): Also give compiler warnings
1056 when obsolete files are used (except by obsolete files).
1057
1058 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1059 in the status output, assume `filename' is the first. (Bug#15322)
1060
1061 * vc/vc.el (vc-deduce-fileset): Doc fix.
1062
1063 * calc/calc-help.el (Info-goto-node):
1064 * progmodes/cperl-mode.el (Info-find-node):
1065 * vc/ediff.el (Info-goto-node): Update declarations.
1066
1067 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1068
1069 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1070 (vc-bzr-pull): Require vc-dispatcher.
1071 * vc/vc-git.el (vc-compilation-mode): Declare.
1072 (vc-git-pull): Require vc-dispatcher.
1073
1074 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1075
1076 * progmodes/octave.el (help-button-action): Declare.
1077
1078 * shell.el (shell-directory-tracker): Output error as a message
1079 rather than just returning it as a string.
1080 (shell-process-pushd): Remove useless use of message.
1081
1082 * dframe.el (dframe-timer-fn):
1083 * files.el (dir-locals-read-from-file):
1084 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1085 (mpc-format):
1086 * reveal.el (reveal-post-command):
1087 * saveplace.el (load-save-place-alist-from-file):
1088 * shell.el (shell-resync-dirs):
1089 * w32-common-fns.el (x-get-selection-value):
1090 * emacs-lisp/copyright.el (copyright-find-copyright):
1091 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1092 * emulation/tpu-edt.el (tpu-copy-keyfile):
1093 * play/bubbles.el (bubbles--mark-neighbourhood):
1094 * progmodes/executable.el
1095 (executable-make-buffer-file-executable-if-script-p):
1096 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1097
1098 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 Cleanup Eshell to rely less on dynamic scoping.
1101 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1102 last-value, and ext-command here. Bind `args' closer to `body'.
1103 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1104 (eshell--args): Declare new dynamic var.
1105 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1106 last-value, and ext-command. Pass `args' to `body'.
1107 (eshell-process-args): Bind eshell--args.
1108 (eshell-set-option): Use eshell--args.
1109 * eshell/eshell.el (eshell): Use derived-mode-p.
1110 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1111 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1112 (eshell-glob-function): Declare.
1113 * eshell/esh-util.el: Require cl-lib.
1114 (eshell-read-hosts-file): Avoid add-to-list.
1115 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1116 `err'.
1117 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1118 Declare.
1119 (eshell/diff): Remove unused var `err'.
1120 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1121 `killflag'.
1122 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1123 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1124 first use.
1125 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1126 Move declaration before first use.
1127 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1128 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1129 rely on cl-return.
1130
1131 2013-09-12 Glenn Morris <rgm@gnu.org>
1132
1133 * term/ns-win.el (global-map): Remove binding for ispell-next,
1134 deleted 1999-05-29. (Bug#15357)
1135
1136 2013-09-11 Glenn Morris <rgm@gnu.org>
1137
1138 * echistory.el (electric-command-history): Remove call to deleted func.
1139
1140 * play/landmark.el (landmark-mode): Fix typos.
1141
1142 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1143 Check cvs-sort-ignore-file is bound.
1144
1145 * savehist.el: No need for cl when compiling on Emacs.
1146
1147 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1150 (bug#15338).
1151 (eshell-self-insert-command, eshell-send-invisible):
1152 Remove unused argument.
1153 (eshell-handle-control-codes): Remove unused var `orig'.
1154 Avoid delete-backward-char.
1155
1156 * files.el (set-auto-mode): Simplify a bit further.
1157
1158 2013-09-11 Glenn Morris <rgm@gnu.org>
1159
1160 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1161 (set-auto-mode): Don't regexp-quote elements.
1162 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1163 * progmodes/cc-mode.el (interpreter-mode-alist):
1164 * progmodes/ruby-mode.el (interpreter-mode-alist):
1165 Revert previous change.
1166
1167 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * play/snake.el (snake-mode):
1170 * play/mpuz.el (mpuz-mode):
1171 * play/landmark.el (lm-mode):
1172 * play/blackbox.el (blackbox-mode):
1173 * play/5x5.el (5x5-mode):
1174 * obsolete/options.el (Edit-options-mode):
1175 * net/quickurl.el (quickurl-list-mode):
1176 * net/newst-treeview.el (newsticker-treeview-mode):
1177 * mail/rmailsum.el (rmail-summary-mode):
1178 * mail/mspools.el (mspools-mode):
1179 * locate.el (locate-mode):
1180 * ibuffer.el (ibuffer-mode):
1181 * emulation/ws-mode.el (wordstar-mode):
1182 * emacs-lisp/debug.el (debugger-mode):
1183 * array.el (array-mode):
1184 * net/eudc.el (eudc-mode): Use define-derived-mode.
1185 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1186 Move initialization into declaration.
1187 (mairix-searches-mode): Use define-derived-mode.
1188 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1189 (eudc-edit-hotlist): Use dolist.
1190 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1191 (Man-mode): Use define-derived-mode.
1192 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1193 (Info-edit-mode): Use define-derived-mode.
1194 (Info-cease-edit): Use Info-mode.
1195 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1196 into declaration.
1197 (eshell-mode): Use define-derived-mode.
1198 * chistory.el (command-history-mode-map): Rename from
1199 command-history-map.
1200 (command-history-mode): Use define-derived-mode.
1201 (Command-history-setup): Remove function.
1202 * calc/calc.el (calc-trail-mode-map): New var.
1203 (calc-trail-mode): Use define-derived-mode.
1204 (calc-trail-buffer): Set calc-main-buffer manually.
1205 * bookmark.el (bookmark-insert-annotation): New function.
1206 (bookmark-edit-annotation): Use it.
1207 (bookmark-edit-annotation-mode): Make it a proper major mode.
1208 (bookmark-send-edited-annotation): Use derived-mode-p.
1209 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1210 closer to its ideal place. Use \' to match EOS.
1211
1212 * profiler.el (profiler-calltree-find): Use function-equal.
1213
1214 2013-09-10 Glenn Morris <rgm@gnu.org>
1215
1216 * files.el (interpreter-mode-alist): Convert to regexps.
1217 (set-auto-mode): Adapt for this. (Bug#15306)
1218 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1219 Comment out unused variable.
1220 * progmodes/cc-mode.el (interpreter-mode-alist):
1221 * progmodes/python.el (interpreter-mode-alist):
1222 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1223 * progmodes/sh-script.el (sh-set-shell):
1224 No longer use interpreter-mode-alist to get list of shells.
1225
1226 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1227
1228 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * simple.el: Use set-temporary-overlay-map for universal-argument.
1231 (universal-argument-map): Don't use default-bindings (bug#15317).
1232 Bind switch-frame explicitly. Replace universal-argument-minus with
1233 a conditional binding.
1234 (universal-argument-num-events, saved-overriding-map): Remove.
1235 (restore-overriding-map): Remove.
1236 (universal-argument--mode): Rename from save&set-overriding-map,
1237 and rewrite.
1238 (universal-argument, universal-argument-more, negative-argument)
1239 (digit-argument): Adjust accordingly.
1240 (universal-argument-minus): Remove.
1241 (universal-argument-other-key): Remove.
1242
1243 * subr.el (with-demoted-errors): Add `format' argument.
1244
1245 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1246
1247 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1248 `tramp-cleanup-connection'.
1249
1250 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1251 parameters KEEP-DEBUG and KEEP-PASSWORD.
1252
1253 * net/tramp.el (tramp-file-name-handler):
1254 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1255 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1256 (tramp-maybe-open-connection):
1257 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1258 Use `tramp-cleanup-connection'.
1259
1260 * net/tramp-sh.el (tramp-maybe-open-connection):
1261 Catch 'uname-changed inside the progress reporter.
1262
1263 2013-09-10 Glenn Morris <rgm@gnu.org>
1264
1265 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1266
1267 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1268 returns "alternate access method" in mode (eg "-rw-r--r--.").
1269
1270 2013-09-08 Glenn Morris <rgm@gnu.org>
1271
1272 * saveplace.el (load-save-place-alist-from-file):
1273 Demote errors. (Bug#15305)
1274
1275 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1276
1277 Improve compatibility with older Emacsen, and XEmacs.
1278
1279 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1280 only if it is bound. It isn't for XEmacs.
1281 (with-tramp-progress-reporter): Do not let-bind `result'.
1282 This yields to scoping errors in XEmacs.
1283 (tramp-handle-make-auto-save-file-name): New function, moved from
1284 tramp-sh.el.
1285
1286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1287 for `make-auto-save-file-name'.
1288 (tramp-adb--gnu-switches-to-ash):
1289 Use `tramp-compat-replace-regexp-in-string'.
1290
1291 * net/tramp-cache.el (tramp-cache-print): Call
1292 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1293
1294 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1295 bound. It isn't for XEmacs.
1296
1297 * net/tramp-compat.el (tramp-compat-copy-file):
1298 Catch `wrong-number-of-arguments' error.
1299 (tramp-compat-replace-regexp-in-string): New defun.
1300
1301 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1302 for `make-auto-save-file-name'.
1303 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1304 `copy-file'.
1305 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1306 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1307 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1308
1309 * net/tramp-gw.el (tramp-gw-open-network-stream):
1310 Use `tramp-compat-replace-regexp-in-string'.
1311
1312 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1313 Call `tramp-handle-make-auto-save-file-name'.
1314 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1315 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1316 (tramp-sh-file-inotifywait-process-filter):
1317 Use `tramp-compat-replace-regexp-in-string'.
1318 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1319
1320 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1321 for `make-auto-save-file-name'.
1322 (tramp-smb-handle-copy-directory):
1323 Call `tramp-compat-replace-regexp-in-string'.
1324 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1325 (tramp-smb-handle-copy-file): Improve error message.
1326 (tramp-smb-handle-rename-file): Rename directly only in case
1327 `newname' does not exist yet. This is a restriction of smbclient.
1328 (tramp-smb-maybe-open-connection): Rerun the function only when
1329 `auth-sources' is non-nil.
1330
1331 2013-09-08 Kenichi Handa <handa@gnu.org>
1332
1333 * international/characters.el: Set category "^" (Combining) for
1334 more characters.
1335
1336 2013-09-07 Alan Mackenzie <acm@muc.de>
1337
1338 Correctly fontify Java class constructors.
1339 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1340 in Java Mode.
1341 (c-recognize-typeless-decls): Set the Java value to t.
1342 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1343 While handling a "(", add a check for, effectively, Java, and handle a
1344 "typeless" declaration there.
1345
1346 2013-09-07 Roland Winkler <winkler@gnu.org>
1347
1348 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1349 field subtitle for entry type book.
1350
1351 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * minibuffer.el: Make minibuffer-complete call completion-in-region
1354 rather than other way around.
1355 (completion--some, completion-pcm--find-all-completions):
1356 Don't delay signals when debugging.
1357 (minibuffer-completion-contents): Beware fields within the
1358 minibuffer contents.
1359 (completion-all-sorted-completions): Use defvar-local.
1360 (completion--do-completion, completion--cache-all-sorted-completions)
1361 (completion-all-sorted-completions, minibuffer-force-complete):
1362 Add args `beg' and `end'.
1363 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1364 (minibuffer-complete): Use completion-in-region.
1365 (completion-complete-and-exit): New fun, extracted from
1366 minibuffer-complete-and-exit.
1367 (minibuffer-complete-and-exit): Use it.
1368 (completion--complete-and-exit): Rename from
1369 minibuffer--complete-and-exit.
1370 (completion-in-region--single-word): New function, extracted from
1371 minibuffer-complete-word.
1372 (minibuffer-complete-word): Use it.
1373 (display-completion-list): Make `common-substring' argument obsolete.
1374 (completion--in-region): Call completion--in-region-1 instead of
1375 minibuffer-complete.
1376 (completion-help-at-point): Pass boundaries to
1377 minibuffer-completion-help as args rather than via an overlay.
1378 (completion-pcm--string->pattern): Use `any-delim'.
1379 (completion-pcm--optimize-pattern): New function.
1380 (completion-pcm--pattern->regex): Handle `any-delim'.
1381 * icomplete.el (icomplete-forward-completions)
1382 (icomplete-backward-completions, icomplete-completions):
1383 Adjust calls to completion-all-sorted-completions and
1384 completion--cache-all-sorted-completions.
1385 (icomplete-with-completion-tables): Default to t.
1386 * emacs-lisp/crm.el (crm--current-element): Rename from
1387 crm--select-current-element. Don't put an overlay but return the
1388 boundaries instead.
1389 (crm--completion-command): Take two new args to bind to the boundaries.
1390 (crm-completion-help): Adjust accordingly.
1391 (crm-complete): Use completion-in-region.
1392 (crm-complete-word): Use completion-in-region--single-word.
1393 (crm-complete-and-exit): Use completion-complete-and-exit.
1394
1395 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1398 than dynamically.
1399
1400 2013-09-06 Juri Linkov <juri@jurta.org>
1401
1402 * info.el (Info-display-images-node): When image file doesn't exist
1403 display text version of the image if it's provided in the Info file.
1404 Otherwise, display the location of missing image from SRC attribute.
1405 Add help-echo text property from ALT attribute. (Bug#15279)
1406
1407 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1410 (edit-abbrevs-mode): Use define-derived-mode.
1411
1412 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1413 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1414 that it's defined.
1415 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1416 Use define-derived-mode.
1417
1418 * epg.el (epg-start-encrypt): Minor CSE simplification.
1419
1420 2013-09-06 William Xu <william.xwl@gmail.com>
1421
1422 * arc-mode.el: Add support for 7za (bug#15264).
1423 (archive-7z-program): New var.
1424 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1425 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1426 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1427
1428 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1429
1430 Remove URL syntax.
1431
1432 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1433 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1434 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1435 (tramp-postfix-host-format, tramp-file-name-regexp)
1436 (tramp-completion-file-name-regexp)
1437 (tramp-completion-dissect-file-name)
1438 (tramp-handle-substitute-in-file-name): Remove 'url case.
1439 (tramp-file-name-regexp-url)
1440 (tramp-completion-file-name-regexp-url): Remove constants.
1441
1442 2013-09-06 Glenn Morris <rgm@gnu.org>
1443
1444 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1445
1446 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1447
1448 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1449 keywords" below "here-doc beginnings" (Bug#15270).
1450
1451 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * subr.el (pop): Use `car-safe'.
1454 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1455 to detect unused `pop' return value.
1456
1457 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1458 var `block-regexp'.
1459 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1460 (python-fill-string): Remove unused var `marker'.
1461 (python-skeleton-add-menu-items): Remove unused var `items'.
1462
1463 * international/mule-cmds.el: Require CL.
1464 (find-coding-systems-for-charsets): Avoid add-to-list.
1465 (sanitize-coding-system-list): New function, extracted from
1466 select-safe-coding-system-interactively.
1467 (select-safe-coding-system-interactively): Use it.
1468 (read-input-method-name): Accept symbols for `default'.
1469
1470 * emacs-lisp/advice.el (defadvice): Add indent rule.
1471
1472 2013-09-05 Daniel Hackney <dan@haxney.org>
1473
1474 * dired-x.el:
1475 * net/ange-ftp.el:
1476 * net/browse-url.el:
1477 * net/dbus.el:
1478 * net/eudc.el:
1479 * net/eudcb-ldap.el:
1480 * net/eww.el:
1481 * net/imap.el:
1482 * printing.el:
1483 * vc/ediff-diff.el:
1484 * vc/ediff-init.el:
1485 * vc/ediff-merg.el:
1486 * vc/ediff-mult.el:
1487 * vc/ediff-util.el:
1488 * vc/ediff-wind.el:
1489 * vc/ediff.el:
1490 * vc/emerge.el:
1491 * vc/pcvs.el:
1492 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1493 byte compiler. Remove some unused let-bound variables.
1494
1495 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1498 a "ref-cell", since it gets better optimized (bug#14883).
1499
1500 2013-09-05 Glenn Morris <rgm@gnu.org>
1501
1502 * progmodes/cc-awk.el (c-forward-sws): Declare.
1503
1504 2013-09-04 Glenn Morris <rgm@gnu.org>
1505
1506 * generic-x.el [rul-generic-mode]: Require cc-mode.
1507 (c++-mode-syntax-table): Declare.
1508 (rul-generic-mode-syntax-table): Init in the defvar.
1509
1510 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1513 (vc-do-command, vc-set-async-update):
1514 * vc/vc-mtn.el (vc-mtn-dir-status):
1515 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1516 (vc-hg-pull, vc-hg-merge-branch):
1517 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1518 (vc-git-merge-branch):
1519 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1520 (vc-cvs-dir-status-files):
1521 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1522 (vc-bzr-dir-status-files):
1523 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1524 * vc/vc-annotate.el: Use lexical-binding.
1525 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1526 (vc-sentinel-movepoint): Declare.
1527 (vc-annotate): Don't use `goto-line'.
1528 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1529 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1530 (vc-sentinel-movepoint): Declare.
1531 * vc/vc-svn.el: Use lexical-binding.
1532 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1533 * vc/vc-sccs.el:
1534 * vc/vc-rcs.el: Use lexical-binding.
1535
1536 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1537 `deleted'. Don't drop errors silently.
1538
1539 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1540
1541 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1542
1543 * vc/vc.el (vc-ignore): Rewrite.
1544 (vc-default-ignore): New function.
1545 (vc-default-ignore-completion-table): Use find-ignore-file.
1546
1547 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1548 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1549 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1550 Remove. Most code moved to vc.el.
1551
1552 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1555 * net/tramp-smb.el (tramp-smb-get-file-entries):
1556 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1557 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1558
1559 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1560 Update call to it.
1561 (eww-change-select): Remove unused var `properties'.
1562 (eww-make-unique-file-name): Remove unused var `base'.
1563
1564 * finder.el (finder-compile-keywords): Don't mess with windows.
1565
1566 * calculator.el (calculator-funcall): Fix typo in last change.
1567
1568 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1569
1570 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1571 <pkg>-autoloads.el file stop us.
1572
1573 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1574 warnings, and factor out common code.
1575
1576 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1577
1578 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1579 two-character operators and whether the character preceding them
1580 changes their meaning (Bug#15208).
1581
1582 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1583
1584 Format code sent to Python shell for robustness.
1585 * progmodes/python.el (python-shell-buffer-substring):
1586 New function.
1587 (python-shell-send-region, python-shell-send-buffer): Use it.
1588
1589 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1590
1591 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1592 * net/tramp.el (tramp-user-error): ... here.
1593 (tramp-find-method, tramp-check-proper-host)
1594 (tramp-dissect-file-name, tramp-debug-message)
1595 (tramp-handle-shell-command):
1596 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1597 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1598
1599 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1600
1601 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1602
1603 * avoid.el (mouse-avoidance-point-position)
1604 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1605 returns nil.
1606
1607 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1608
1609 * progmodes/python.el (python-shell-completion-get-completions):
1610 Drop use of deleted `comint-last-prompt-overlay'.
1611 (python-nav-if-name-main): New command.
1612
1613 2013-09-01 Glenn Morris <rgm@gnu.org>
1614
1615 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1616 Avoid leading space in $wins. Otherwise the sed command used by
1617 eg compile-main ends up containing "/*.el". (Bug#15170)
1618
1619 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1620
1621 2013-08-30 Glenn Morris <rgm@gnu.org>
1622
1623 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1624 Fix is-this-a-directory logic. (Bug#15220)
1625
1626 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * textmodes/css-mode.el: Use SMIE.
1629 (css-smie-grammar): New var.
1630 (css-smie--forward-token, css-smie--backward-token)
1631 (css-smie-rules): New functions.
1632 (css-mode): Use them.
1633 (css-navigation-syntax-table): Remove var.
1634 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1635 (css-indent-calculate, css-indent-line): Remove functions.
1636
1637 Misc changes to reduce use of `(lambda...); and other cleanups.
1638 * cus-edit.el: Use lexical-binding.
1639 (customize-push-and-save, customize-apropos)
1640 (custom-buffer-create-internal): Use closures.
1641 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1642 * progmodes/ada-xref.el: Use setq.
1643 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1644 * dframe.el: Use lexical-binding.
1645 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1646 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1647 * descr-text.el: Use lexical-binding.
1648 (describe-text-widget, describe-text-sexp, describe-property-list):
1649 Use closures.
1650 * comint.el (comint-history-isearch-push-state): Use a closure.
1651 * calculator.el: Use lexical-binding.
1652 (calculator-number-to-string): Make it work with lexical-binding.
1653 (calculator-funcall): Same and use cl-letf.
1654
1655 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1656 (lisp--company-doc-string, lisp--company-location): New functions.
1657 (lisp-completion-at-point): Use them to improve Company support.
1658
1659 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1660 params of lambda expressions.
1661 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1662 (ruby-smie--opening-pipe-p): New function.
1663 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1664 symbols and matched |...| for formal params.
1665 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1666 from being treated as hanging. Handle "rescue".
1667
1668 2013-08-29 Glenn Morris <rgm@gnu.org>
1669
1670 * progmodes/cc-engine.el (c-pull-open-brace):
1671 Move definition before use.
1672
1673 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1676 are immutable. Don't use `unsafe' any more.
1677 (cl--defsubst-expand): Don't substitute at the same time as keeping
1678 a residual unused let-binding. Don't use `unsafe' any more.
1679
1680 2013-08-29 Glenn Morris <rgm@gnu.org>
1681
1682 * calendar/cal-china.el (calendar-chinese-year-cache):
1683 Recenter on 2015.
1684
1685 * nxml/nxml-util.el (nxml-debug-clear-inside):
1686 Use cl-loop rather than loop.
1687
1688 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1689
1690 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1691
1692 2013-08-28 Glenn Morris <rgm@gnu.org>
1693
1694 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1695
1696 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1697
1698 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1699
1700 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * simple.el (repeat-complex-command--called-interactively-skip):
1703 New function.
1704 (repeat-complex-command): Use it (bug#14136).
1705
1706 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1707 (c-define-abbrev-table): Add `doc' argument.
1708 (c-mode-abbrev-table, c++-mode-abbrev-table)
1709 (objc-mode-abbrev-table, java-mode-abbrev-table)
1710 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1711 (awk-mode-abbrev-table): Use it.
1712 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1713 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1714 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1715 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1716 Move initialization into the declaration; and remove any
1717 autoload cookie.
1718
1719 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1720 and dynamic let binding.
1721
1722 * vc/smerge-mode.el: Remove redundant :group args.
1723
1724 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1725 to load-path.
1726
1727 2013-08-28 Juri Linkov <juri@jurta.org>
1728
1729 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1730 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1731 (isearch-other-meta-char): Handle an undefined shifted printing
1732 character by downshifting it. (Bug#15200)
1733
1734 2013-08-28 Juri Linkov <juri@jurta.org>
1735
1736 * isearch.el (isearch-search): Change regexp error message for
1737 non-regexp searches. (Bug#15166)
1738
1739 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1740
1741 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1742 for portability to hosts where /bin/sh has problems.
1743
1744 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1747
1748 2013-08-27 Juri Linkov <juri@jurta.org>
1749
1750 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1751 in the keyboard macro. (Bug#15126)
1752
1753 2013-08-27 Juri Linkov <juri@jurta.org>
1754
1755 * isearch.el (isearch-quote-char): Comment out converting unibyte
1756 to multibyte, thus syncing with its `quoted-insert' counterpart.
1757 (Bug#15166)
1758
1759 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1760
1761 * window.el (display-buffer-use-some-window): Add missing
1762 argument in call of get-largest-window (Bug#15185).
1763 Reported by Stephen Leake.
1764
1765 2013-08-27 Glenn Morris <rgm@gnu.org>
1766
1767 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1768
1769 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1772 from a matcher-function unless there's no more matches (bug#15161).
1773
1774 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1775
1776 * minibuffer.el: Revert change from 2013-08-20.
1777
1778 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1779 with text property `tramp-default', if appropriate.
1780 (tramp-check-proper-host): New defun.
1781 (tramp-dissect-file-name): Do not check hostname. Revert change
1782 of 2013-03-18.
1783 (tramp-backtrace): Make VEC-OR-PROC optional.
1784
1785 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1786 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1787 * net/tramp-sh.el (tramp-maybe-open-connection):
1788 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1789 Apply `tramp-check-proper-host'.
1790
1791 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1792
1793 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1794 lambda expression in order to have `describe-variable' display it.
1795
1796 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1797
1798 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1799 BUF can be optional. (Bug#15186)
1800
1801 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1802
1803 * progmodes/flymake.el (flymake-get-real-file-name-function):
1804 Fix broken customization. (Bug#15184)
1805
1806 2013-08-25 Alan Mackenzie <acm@muc.de>
1807
1808 Improve indentation of bracelists defined by macros (without "=").
1809
1810 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1811 expansion begins with "{", regard it as bracelist when it doesn't
1812 contain a ";".
1813
1814 Parse C++ inher-intro when there's a template split over 2 lines.
1815
1816 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1817 rigorously the search for "class" etc. followed by ":".
1818
1819 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1820 random languages a regexp which never matches rather than nil.
1821
1822 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1823
1824 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1825 (c-awk-regexp-one-line-possibly-open-char-list-re)
1826 (c-awk-one-line-possibly-open-regexp-re)
1827 (c-awk-one-line-non-syn-ws*-re): Remove.
1828 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1829 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1830 (c-awk-space*-unclosed-regexp-/-re): New constants.
1831 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1832 aren't regexp delimiters.
1833
1834 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1835 handling for a rare situation in AWK Mode involving unterminated
1836 strings/regexps.
1837
1838 2013-08-23 Glenn Morris <rgm@gnu.org>
1839
1840 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1841
1842 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1843
1844 * files.el (create-file-buffer): If the result would begin with
1845 spaces, prepend a "|" instead of removing them. (Bug#15162)
1846
1847 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1850 text-properties (bug#15155).
1851
1852 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1853 exist any more.
1854 (calc-keypad-redraw): Remove unused var `pad'.
1855 (calc-keypad-press): Remove unused var `menu'.
1856
1857 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1858
1859 * window.el (display-buffer-pop-up-frame):
1860 Call pop-up-frame-function with BUFFER current so `make-frame' will
1861 use it as the new frame's buffer (Bug#15133).
1862
1863 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * calendar/timeclock.el: Minor cleanups.
1866 (timeclock-ask-before-exiting, timeclock-use-display-time):
1867 Use `symbol'.
1868 (timeclock-modeline-display): Define as alias before the
1869 actual definition.
1870 (timeclock-mode-line-display): Use define-minor-mode.
1871 (timeclock-day-list-template): Make it a function, add an argument.
1872 (timeclock-day-list-required, timeclock-day-list-length)
1873 (timeclock-day-list-debt, timeclock-day-list-span)
1874 (timeclock-day-list-break): Adjust calls accordingly.
1875
1876 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1879 Use read--expression so that completion works again.
1880
1881 2013-08-21 Sam Steingold <sds@gnu.org>
1882
1883 Add rudimentary inferior shell interaction
1884 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1885 (sh-set-shell): Reset it.
1886 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1887 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1888
1889 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * align.el: Use lexical-binding.
1892 (align-region): Simplify accordingly.
1893
1894 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1895
1896 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1897
1898 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1899 `non-essential' up.
1900
1901 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp.el:
1904 * net/tramp-adb.el:
1905 * net/tramp-cmds.el:
1906 * net/tramp-ftp.el:
1907 * net/tramp-gvfs.el:
1908 * net/tramp-gw.el:
1909 * net/tramp-sh.el: Don't wrap external variable declarations by
1910 `eval-when-compile'.
1911
1912 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1913
1914 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1915 now that Emacs supports ImageMagick animations.
1916
1917 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1918
1919 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1920 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1921
1922 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1923
1924 * window.el (mouse-autoselect-window-select): Do autoselect when
1925 mouse pointer is on margin.
1926
1927 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1928
1929 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1930
1931 2013-08-16 Glenn Morris <rgm@gnu.org>
1932
1933 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1934 Handle "Remote Directory" response of some clients. (Bug#15058)
1935
1936 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1937 Tweak warning. (Bug#14926)
1938
1939 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1940 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1941
1942 * image-mode.el (image-mode-map): Add menu items to reverse,
1943 increase, decrease, reset animation speed.
1944 (image--set-speed, image-increase-speed, image-decrease-speed)
1945 (image-reverse-speed, image-reset-speed): New functions.
1946 (image-mode-map): Add bindings for speed commands.
1947
1948 * image.el (image-animate-get-speed, image-animate-set-speed):
1949 New functions.
1950 (image-animate-timeout): Respect image :speed property.
1951
1952 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1955 previous line (bug#15101).
1956 (debugger-eval-expression, debugger-record-expression):
1957 Use read--expression (bug#15102).
1958
1959 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1960
1961 Remove byte compiler warnings, visible when compiling with
1962 `byte-compile-force-lexical-warnings' set to t.
1963
1964 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1965 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1966 (tramp-handle-unhandled-file-name-directory)
1967 (tramp-handle-file-notify-add-watch, tramp-action-login)
1968 (tramp-action-succeed, tramp-action-permission-denied)
1969 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1970 arguments with "_".
1971
1972 * net/tramp-adb.el (tramp-adb-parse-device-names)
1973 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1974 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1975 (tramp-adb-handle-file-truename): Remove unused arguments.
1976
1977 * net/tramp-cache.el (tramp-flush-directory-property)
1978 (tramp-flush-connection-property, tramp-list-connections)
1979 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1980
1981 * net/tramp-compat.el (tramp-compat-make-temp-file):
1982 Rename FILENAME to F.
1983
1984 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1985 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1986 (tramp-zeroconf-parse-workstation-device-names)
1987 (tramp-zeroconf-parse-webdav-device-names)
1988 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1989
1990 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1991 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1992
1993 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1994 arguments.
1995 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1996 (tramp-sh-handle-insert-file-contents-literally)
1997 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1998 with "_".
1999 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2000 Remove unused variables.
2001
2002 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2003 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2004 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2005
2006 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2007 Make them a defconst.
2008 (tramp-uuencode-region): Remove unused variable.
2009
2010 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2011
2012 * frameset.el (frameset--prop-setter): New function.
2013 (frameset-prop): Add gv-setter declaration.
2014 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2015 parameter was already set in FILTERED. Doc fix.
2016 (frameset--record-minibuffer-relationships): Allow saving a
2017 minibufferless frame without its corresponding minibuffer frame.
2018 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2019 frame, if the frame id matches.
2020 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2021 frames before orphaned ones.
2022 (frameset-restore): Warn about orphaned windows, instead of error out.
2023
2024 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2025
2026 * window.el (window-make-atom): Don't overwrite parameter
2027 already present.
2028 (display-buffer-in-atom-window): Handle special case where we
2029 split an already atomic window.
2030 (window--major-non-side-window, display-buffer-in-side-window)
2031 (window--side-check): Ignore minibuffer window when walking
2032 window tree.
2033 (window-deletable-p): Return 'frame only if no other frame uses
2034 our minibuffer window.
2035 (record-window-buffer): Run buffer-list-update-hook.
2036 (split-window): Make sure window--check-frame won't destroy an
2037 existing atomic window in case the new window gets nested
2038 inside.
2039 (display-buffer-at-bottom): Ignore minibuffer window when
2040 walking window tree. Don't split a side window.
2041 (pop-to-buffer): Don't set-buffer here, the select-window call
2042 should do that.
2043 (mouse-autoselect-window-select): Autoselect only if we are in the
2044 text portion of the window.
2045
2046 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2047
2048 * net/shr.el (shr-parse-image-data): New function to grab both the
2049 data itself and the Content-Type.
2050 (shr-put-image): Use it.
2051
2052 * net/eww.el (eww-display-image): Ditto.
2053
2054 * image.el (image-content-type-suffixes): New variable.
2055
2056 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2057
2058 * progmodes/python.el (python-imenu--build-tree)
2059 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2060
2061 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2062
2063 * simple.el (backward-word): Mention the optional argument.
2064
2065 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * frameset.el (frameset--make): Rename constructor from make-frameset.
2068 (frameset-p, frameset-valid-p): Don't autoload.
2069 (frameset-valid-p): Use normal accessors.
2070
2071 2013-08-13 Glenn Morris <rgm@gnu.org>
2072
2073 * progmodes/compile.el (compile-command): Tweak example in doc.
2074 * obsolete/scribe.el (scribe-mode):
2075 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2076
2077 * mail/feedmail.el (feedmail-confirm-outgoing)
2078 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2079
2080 * cus-start.el (truncate-partial-width-windows): Fix type.
2081
2082 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2083
2084 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2085
2086 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/timer.el (timer--time-setter): New function.
2089 (timer--time): Use it as gv-setter.
2090
2091 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2092 setter is not a symbol.
2093
2094 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2095
2096 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2097 if sending fails. This makes debugging easier.
2098
2099 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2100
2101 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2102 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2103 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2104
2105 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2106
2107 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2108
2109 2013-08-12 Glenn Morris <rgm@gnu.org>
2110
2111 * format.el (format-annotate-function):
2112 Handle read-only text properties in the source. (Bug#14887)
2113
2114 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2115
2116 * net/eww.el (eww-display-html): Ignore coding system errors.
2117 One web site uses "utf-8lias" as the coding system.
2118
2119 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2120
2121 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2122
2123 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2124
2125 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2126 (tutorial--detailed-help): Remove unused local variables.
2127 (tutorial--save-tutorial-to): Use ignore-errors.
2128 (help-with-tutorial): Use looking-at-p.
2129
2130 * view.el (view-buffer-other-window, view-buffer-other-frame):
2131 Mark unused arguments.
2132
2133 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2134 (woman-select-symbol-fonts, woman, woman-find-file)
2135 (woman-insert-file-contents, woman-non-underline-faces):
2136 Use string-match-p.
2137 (woman1-unquote): Move declaration.
2138
2139 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2140 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2141 argument. Remove unused local variable.
2142 (xml-parse-elem-type): Use string-match-p.
2143 (xml-substitute-numeric-entities): Use ignore-errors.
2144
2145 * calculator.el (calculator): Mark unused argument.
2146 (calculator-paste, calculator-quit, calculator-integer-p):
2147 Use ignore-errors.
2148 (calculator-string-to-number, calculator-decimal, calculator-exp)
2149 (calculator-op-or-exp): Use string-match-p.
2150
2151 * dired.el (dired-buffer-more-recently-used-p): Declare.
2152 (dired-insert-set-properties, dired-insert-old-subdirs):
2153 Use ignore-errors.
2154
2155 * dired-aux.el (dired-compress): Use ignore-errors.
2156 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2157 (dired-do-async-shell-command, dired-do-shell-command)
2158 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2159 (dired-insert-subdir-validate): Use string-match-p.
2160 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2161 (dired-add-entry): Use string-match-p, looking-at-p.
2162 (dired-insert-subdir-newpos): Remove unused local variable.
2163
2164 * filenotify.el (file-notify-callback): Remove unused local variable.
2165
2166 * filesets.el (filesets-error): Mark unused argument.
2167 (filesets-which-command-p, filesets-filter-dir-names)
2168 (filesets-directory-files, filesets-get-external-viewer)
2169 (filesets-ingroup-get-data): Use string-match-p.
2170
2171 * find-file.el (ff-other-file-name, ff-other-file-name)
2172 (ff-find-the-other-file, ff-cc-hh-converter):
2173 Remove unused local variables.
2174 (ff-get-file-name): Use string-match-p.
2175 (ff-all-dirs-under): Use ignore-errors.
2176
2177 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2178 (follow-select-if-visible): Remove unused local variable.
2179
2180 * forms.el (read-file-filter): Move declaration.
2181 (forms--make-format, forms--make-parser, forms-insert-record):
2182 Quote function with #'.
2183 (forms--update): Use string-match-p. Quote function with #'.
2184
2185 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2186 (help-make-xrefs): Use looking-at-p.
2187 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2188
2189 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2190 (ibuffer-confirm-operation-on): Use string-match-p.
2191
2192 * msb.el (msb-item-handler, msb-dired-item-handler):
2193 Mark unused arguments.
2194
2195 * ses.el (ses-decode-cell-symbol)
2196 (ses-kill-override): Remove unused local variable.
2197 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2198 (ses-load): Use ignore-errors, looking-at-p.
2199 (ses-jump-safe): Use ignore-errors.
2200 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2201
2202 * tabify.el (untabify, tabify): Mark unused arguments.
2203
2204 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2205 Mark unused argument.
2206 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2207 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2208
2209 * emacs-lisp/timer.el (timer--time): Define setter with
2210 gv-define-setter to avoid deprecation warning.
2211
2212 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2213 (*record-cmpl-statistics-p*): Remove (was commented out).
2214 (cmpl-statistics-block): Remove (body was commented out).
2215 All callers changed.
2216 (add-completions-from-buffer, load-completions-from-file):
2217 Remove unused variables.
2218
2219 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2220
2221 * filecache.el (file-cache-delete-file-list):
2222 Print message only when told so.
2223 (file-cache-files-matching): Use #' in mapconcat argument.
2224
2225 * ffap.el (ffap-url-at-point): Fix reference to variable
2226 thing-at-point-default-mail-uri-scheme.
2227
2228 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * subr.el (define-error): New function.
2231 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2232 error-file-not-found and define with define-error.
2233 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2234 and define with define-error.
2235 * userlock.el (file-locked, file-supersession):
2236 * simple.el (mark-inactive):
2237 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2238 * progmodes/ada-mode.el (ada-mode-errors):
2239 * play/life.el (life-extinct):
2240 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2241 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2242 * nxml/rng-util.el (rng-error):
2243 * nxml/rng-uri.el (rng-uri-error):
2244 * nxml/rng-match.el (rng-compile-error):
2245 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2246 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2247 * nxml/nxml-rap.el (nxml-scan-error):
2248 * nxml/nxml-outln.el (nxml-outline-error):
2249 * net/soap-client.el (soap-error):
2250 * net/gnutls.el (gnutls-error):
2251 * net/ange-ftp.el (ftp-error):
2252 * mpc.el (mpc-proc-error):
2253 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2254 (json-number-format, json-string-escape, json-string-format)
2255 (json-key-format, json-object-format):
2256 * jka-compr.el (compression-error):
2257 * international/quail.el (quail-error):
2258 * international/kkc.el (kkc-error):
2259 * emacs-lisp/ert.el (ert-test-failed):
2260 * calc/calc.el (calc-error, inexact-result, math-overflow)
2261 (math-underflow):
2262 * bookmark.el (bookmark-error-no-filename):
2263 * epg.el (epg-error): Define with define-error.
2264
2265 * time.el (display-time-event-handler)
2266 (display-time-next-load-average): Don't call sit-for since it seems
2267 unnecessary (bug#15045).
2268
2269 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2270 Use #' instead of ' to quote functions.
2271 (checkdoc-output-mode): Use setq-local.
2272 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2273 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2274 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2275 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2276 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2277 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2278 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2279 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2280
2281 * ido.el (ido-completion-help): Fix up compiler warning.
2282
2283 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2284
2285 * frameset.el (frameset-p): Add autoload cookie.
2286 (frameset--jump-to-register): New function, based on code moved from
2287 register.el.
2288 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2289
2290 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2291 (frameset-restore, frameset-save, frameset-session-filter-alist):
2292 Remove declarations.
2293 (register-alist): Doc fix.
2294 (frameset-to-register): Move to frameset.el.
2295 (jump-to-register, describe-register-1): Remove frameset-specific code.
2296
2297 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2298
2299 * allout-widgets.el (allout-widgets-pre-command-business)
2300 (allout-widgets-post-command-business)
2301 (allout-widgets-after-change-handler)
2302 (allout-decorate-item-and-context, allout-set-boundary-marker)
2303 (allout-body-modification-handler)
2304 (allout-graphics-modification-handler): Mark ignored arguments.
2305 (allout-widgets-post-command-business)
2306 (allout-widgets-exposure-change-processor)
2307 (allout-widgets-exposure-undo-processor)
2308 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2309 (allout-parse-item-at-point, allout-decorate-item-guides)
2310 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2311 * allout.el (epa-passphrase-callback-function): Declare.
2312 (allout-overlay-insert-in-front-handler)
2313 (allout-overlay-interior-modification-handler)
2314 (allout-isearch-end-handler, allout-chart-siblings)
2315 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2316 (allout-yank-processing, allout-process-exposed)
2317 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2318 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2319 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2320 (lisp-indent-defform): Mark ignored arguments.
2321 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2322 (calculate-lisp-indent): Remove unused variables.
2323 * international/characters.el (indian-2-column, arabic-2-column)
2324 (tibetan): Mark ignored arguments.
2325 (use-cjk-char-width-table): Mark ignored arguments.
2326 Remove unused variables.
2327 * international/fontset.el (build-default-fontset-data)
2328 (x-compose-font-name, create-fontset-from-fontset-spec):
2329 Mark ignored arguments.
2330 (fontset-plain-name): Remove unused variables.
2331 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2332 (keyboard-coding-system): Mark ignored arguments.
2333 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2334 * help.el (resize-temp-buffer-window):
2335 * window.el (display-buffer-in-major-side-window)
2336 (display-buffer-in-side-window, display-buffer-in-previous-window):
2337 Remove unused variables.
2338 * isearch.el (isearch-forward-symbol):
2339 * version.el (emacs-bzr-version-bzr):
2340 * international/mule-cmds.el (current-language-environment):
2341 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2342 (x-handle-display):
2343 * term/pc-win.el (x-list-fonts, x-display-planes)
2344 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2345 (x-server-version, x-display-screens, x-display-mm-height)
2346 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2347 (x-selection-owner-p, x-own-selection-internal)
2348 (x-disown-selection-internal, x-get-selection-internal)
2349 (msdos-initialize-window-system):
2350 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2351 * term/x-win.el (x-handle-no-bitmap-icon):
2352 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2353 (vc-default-find-file-hook, vc-default-extra-menu):
2354 Mark ignored arguments.
2355
2356 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2359 break-condition in the context of the debugged code (bug#12685).
2360
2361 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2362
2363 * comint.el:
2364 Do not use an overlay to highlight the last prompt. (Bug#14744)
2365 (comint-mode): Make comint-last-prompt buffer local.
2366 (comint-last-prompt): New variable.
2367 (comint-last-prompt-overlay): Remove. Superseded by
2368 comint-last-prompt.
2369 (comint-snapshot-last-prompt, comint-output-filter):
2370 Use comint-last-prompt.
2371
2372 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2373
2374 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2375 (frameset-save): Check validity of the resulting frameset.
2376
2377 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2378
2379 * ido.el (ido-record-command): Add doc string.
2380
2381 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2382
2383 * frameset.el (frameset): Do not disable creation of the default
2384 frameset-p predicate. Doc fix.
2385 (frameset-valid-p): New function, copied from the old predicate-p.
2386 Add additional checks.
2387 (frameset-restore): Check with frameset-valid-p.
2388 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2389 (frameset-name, frameset-description, frameset-properties)
2390 (frameset-states): Add docstring.
2391 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2392 (frameset-filter-alist): Doc fixes.
2393
2394 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2395
2396 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2397
2398 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2401 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2402 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2403 (byte-compile-normal-call): Remove obsolescence check.
2404
2405 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2406
2407 * frameset.el (frameset-restore): Doc fix.
2408
2409 * register.el (frameset-frame-id, frameset-frame-with-id)
2410 (frameset-p, frameset-restore, frameset-save): Declare.
2411 (register-alist): Document framesets.
2412 (frameset-session-filter-alist): Declare.
2413 (frameset-to-register): New function.
2414 (jump-to-register): Implement jumping to framesets. Doc fix.
2415 (describe-register-1): Describe framesets.
2416
2417 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2418
2419 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2420
2421 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2422 Use lexical-binding.
2423
2424 * frameset.el (frameset): Use type vector, not list (incompatible
2425 change). Do not declare a new constructor, use the default one.
2426 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2427 `name' and `description', respectively, and add read-only slot
2428 `timestamp'. Doc fixes.
2429 (frameset-copy, frameset-persistent-filter-alist)
2430 (frameset-filter-alist, frameset-switch-to-gui-p)
2431 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2432 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2433 (frameset-filter-iconified, frameset-keep-original-display-p):
2434 Doc fixes.
2435 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2436 Rename from frameset-filter-(save|restore)-param. All callers changed.
2437 Doc fix.
2438 (frameset-p): Adapt to change to vector and be more thorough.
2439 Change arg name to OBJECT. Doc fix.
2440 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2441 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2442 All callers changed.
2443 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2444 All callers changed.
2445 (frameset--record-minibuffer-relationships): Rename from
2446 frameset--process-minibuffer-frames. All callers changed.
2447 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2448 Use new default constructor (again). Doc fix.
2449 (frameset--find-frame-if): Rename from `frameset--find-frame.
2450 All callers changed.
2451 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2452 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2453 Doc fix.
2454 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2455 PARAMETERS and WINDOW-STATE, respectively.
2456 (frameset-restore): Add new keyword argument PREDICATE.
2457 Reset frameset--target-display to nil. Doc fix.
2458
2459 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2462 (bat-mode): Use it.
2463 (bat-mode-syntax-table): Mark \n as end-of-comment.
2464 (bat-font-lock-keywords): Remove comment rule.
2465
2466 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2467 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2468
2469 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2470 (byte-compile-callargs-warn): Use `push'.
2471 (byte-compile-arglist-warn): Ignore higher-order "calls".
2472 (byte-compile-file-form-autoload): Use `pcase'.
2473 (byte-compile-function-form): If quoting a symbol, check that it exists.
2474
2475 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2476
2477 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2478 and add a few popular commands found in batch files.
2479 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2480 (dos-mode): Doc fixes.
2481
2482 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2485 (dos-mode): Use setq-local. Add space after "rem".
2486 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2487 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2488
2489 2013-08-07 Arni Magnusson <arnima@hafro.is>
2490
2491 * progmodes/dos.el: New file.
2492 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2493 dos-mode.
2494
2495 2013-08-06 Glenn Morris <rgm@gnu.org>
2496
2497 * calendar/calendar.el: Add new faces, and day-header-array.
2498 (calendar-weekday-header, calendar-weekend-header)
2499 (calendar-month-header): New faces.
2500 (calendar-day-header-construct): New function.
2501 (calendar-day-header-width): Also :set calendar-day-header-array.
2502 (calendar-american-month-header, calendar-european-month-header)
2503 (calendar-iso-month-header): Use calendar- faces.
2504 (calendar-generate-month):
2505 Use calendar-day-header-array for day headers; apply faces to them.
2506 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2507 (calendar-abbrev-construct): Add optional maxlen argument.
2508 (calendar-day-name-array): Doc fix.
2509 (calendar-day-name-array, calendar-abbrev-length)
2510 (calendar-day-abbrev-array):
2511 Also :set calendar-day-header-array, and maybe redraw.
2512 (calendar-day-header-array): New option. (Bug#15007)
2513 (calendar-font-lock-keywords): Set to nil and make obsolete.
2514 (calendar-day-name): Add option to use header array.
2515
2516 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2517
2518 * net/shr.el (shr-render-td): Remove debugging.
2519 (shr-render-td): Make width computation consistent by defaulting
2520 all zero-width columns to 10 characters. This may not be optimal,
2521 but it's at least consistent.
2522 (shr-make-table-1): Redo last change to fix the real problem in
2523 colspan handling.
2524
2525 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2526
2527 * files.el (cache-long-line-scans):
2528 Make obsolete alias to `cache-long-scans'.
2529
2530 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2531
2532 * frameset.el (frameset, frameset-filter-alist)
2533 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2534 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2535 (frameset-compute-pos): Rename from frameset--compute-pos,
2536 and add docstring.
2537 (frameset-move-onscreen): Use frameset-compute-pos.
2538 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2539
2540 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2541 Fix typos in docstrings.
2542
2543 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2544
2545 * frame.el (get-other-frame): Tiny cleanup.
2546
2547 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2548
2549 * vc/vc.el (vc-default-ignore-completion-table):
2550 Silence byte-compiler warning.
2551
2552 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2553 slot , which can indeed be nil.
2554 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2555 Move entry for `left' from persistent to live filter alist.
2556 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2557 Doc fixes.
2558 (frameset-filter-params): When restoring a frame, copy items added to
2559 `filtered', to avoid unwittingly modifying the original parameters.
2560 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2561 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2562
2563 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2564 to use looking-at-p instead of looking-at. (Bug#15028)
2565
2566 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 Revert introduction of isearch-filter-predicates (bug#14714).
2569 Rely on add-function instead.
2570 * isearch.el (isearch-filter-predicates): Rename it back to
2571 isearch-filter-predicate.
2572 (isearch-message-prefix): Use advice-function-mapc and advice
2573 properties to get the isearch-message-prefix.
2574 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2575 instead of run-hook-with-args-until-failure.
2576 (isearch-filter-visible): Not obsolete any more.
2577 * loadup.el: Preload nadvice.
2578 * replace.el (perform-replace): Revert to funcall
2579 instead of run-hook-with-args-until-failure.
2580 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2581 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2582 dired-isearch-filenames-toggle; make it into a proper minor mode.
2583 Use add/remove-function.
2584 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2585 Call the minor-mode rather than add/remove-hook.
2586 (dired-isearch-filter-filenames):
2587 Remove isearch-message-prefix property.
2588 * info.el (Info--search-loop): New function, extracted from Info-search.
2589 Funcall isearch-filter-predicate instead of
2590 run-hook-with-args-until-failure isearch-filter-predicates.
2591 (Info-search): Use it.
2592 (Info-mode): Use isearch-filter-predicate instead of
2593 isearch-filter-predicates.
2594
2595 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2596
2597 Do not call to `selected-window' where it is assumed by default.
2598 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2599 `window-hscroll', `window-width', `window-height', `window-buffer',
2600 `window-frame', `window-start', `window-point', `next-window'
2601 and `window-display-table'.
2602 * abbrev.el (abbrev--default-expand):
2603 * bs.el (bs--show-with-configuration):
2604 * buff-menu.el (Buffer-menu-mouse-select):
2605 * calc/calc.el (calc):
2606 * calendar/calendar.el (calendar-generate-window):
2607 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2608 (diary-make-entry):
2609 * comint.el (send-invisible, comint-dynamic-complete-filename)
2610 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2611 * completion.el (complete):
2612 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2613 * disp-table.el (describe-current-display-table):
2614 * doc-view.el (doc-view-insert-image):
2615 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2616 * ehelp.el (with-electric-help):
2617 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2618 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2619 * emacs-lisp/helper.el (Helper-help-scroller):
2620 * emulation/cua-base.el (cua--post-command-handler-1):
2621 * eshell/esh-mode.el (eshell-output-filter):
2622 * ffap.el (ffap-gnus-wrapper):
2623 * help-macro.el (make-help-screen):
2624 * hilit-chg.el (highlight-compare-buffers):
2625 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2626 * hl-line.el (global-hl-line-highlight):
2627 * icomplete.el (icomplete-simple-completing-p):
2628 * isearch.el (isearch-done):
2629 * jit-lock.el (jit-lock-stealth-fontify):
2630 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2631 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2632 * mpc.el (mpc-tagbrowser, mpc):
2633 * net/rcirc.el (rcirc-any-buffer):
2634 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2635 * play/landmark.el (landmark-max-width, landmark-max-height):
2636 * play/zone.el (zone):
2637 * progmodes/compile.el (compilation-goto-locus):
2638 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2639 * progmodes/etags.el (find-tag-other-window):
2640 * progmodes/fortran.el (fortran-column-ruler):
2641 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2642 * progmodes/verilog-mode.el (verilog-point-text):
2643 * reposition.el (reposition-window):
2644 * rot13.el (toggle-rot13-mode):
2645 * server.el (server-switch-buffer):
2646 * shell.el (shell-dynamic-complete-command)
2647 (shell-dynamic-complete-environment-variable):
2648 * simple.el (insert-buffer, set-selective-display)
2649 (delete-completion-window):
2650 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2651 (speedbar-recenter):
2652 * startup.el (fancy-splash-head):
2653 * textmodes/ispell.el (ispell-command-loop):
2654 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2655 * tutorial.el (help-with-tutorial):
2656 * vc/add-log.el (add-change-log-entry):
2657 * vc/compare-w.el (compare-windows):
2658 * vc/ediff-help.el (ediff-indent-help-message):
2659 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2660 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2661 (ediff-setup-control-frame):
2662 * vc/emerge.el (emerge-position-region):
2663 * vc/pcvs-util.el (cvs-bury-buffer):
2664 * window.el (walk-windows, mouse-autoselect-window-select):
2665 * winner.el (winner-set-conf, winner-undo): Related users changed.
2666
2667 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2668
2669 * frameset.el (frameset--set-id): Doc fix.
2670 (frameset-frame-id, frameset-frame-id-equal-p)
2671 (frameset-locate-frame-id): New functions.
2672 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2673 (frameset-restore): Use them.
2674
2675 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2676
2677 Do not call to `selected-frame' where it is assumed by default.
2678 Affected functions are `raise-frame', `redraw-frame',
2679 `frame-first-window', `frame-terminal' and `delete-frame'.
2680 * calendar/appt.el (appt-disp-window):
2681 * epg.el (epg-wait-for-completion):
2682 * follow.el (follow-delete-other-windows-and-split)
2683 (follow-avoid-tail-recenter):
2684 * international/mule.el (set-terminal-coding-system):
2685 * mail/rmail.el (rmail-mail-return):
2686 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2687 * progmodes/f90.el (f90-add-imenu-menu):
2688 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2689 * server.el (server-switch-buffer):
2690 * simple.el (delete-completion-window):
2691 * talk.el (talk):
2692 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2693 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2694 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2695 * vc/ediff.el (ediff-documentation): Related users changed.
2696 * frame.el (selected-terminal): Remove the leftover.
2697
2698 2013-08-05 Glenn Morris <rgm@gnu.org>
2699
2700 * calendar/calendar.el (calendar-generate-month):
2701 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2702 (calendar-generate-month, calendar-font-lock-keywords):
2703 Fix for calendar-day-header-width > length of any day name.
2704
2705 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2706
2707 * desktop.el (desktop-clear): Use new name of sort predicate.
2708
2709 * frameset.el (frameset): Add docstring. Move :version property to its
2710 own `version' slot.
2711 (frameset-copy): Rename from copy-frameset.
2712 (frameset-p): Check more thoroughly.
2713 (frameset-prop): Do not check for :version, which is no longer a prop.
2714 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2715 Use new :never value instead of t.
2716 (frameset-filter-alist): Expand and clarify docstring.
2717 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2718 (frameset-filter-minibuffer, frameset-filter-save-param)
2719 (frameset-filter-restore-param, frameset-filter-iconified):
2720 Add pointer to docstring of frameset-filter-alist.
2721 (frameset-filter-params): Rename filter values to be more meaningful:
2722 :never instead of t, and reverse the meanings of :save and :restore.
2723 (frameset--process-minibuffer-frames): Clarify error message.
2724 (frameset-save): Avoid unnecessary and confusing call to framep.
2725 Use new BOA constructor for framesets.
2726 (frameset--reuse-list): Doc fix.
2727 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2728 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2729 (frameset-minibufferless-first-p): Doc fix.
2730 Rename from frameset-sort-frames-for-deletion.
2731 (frameset-restore): Doc fixes. Use new function names.
2732 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2733
2734 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2735
2736 * desktop.el (desktop-restore-forces-onscreen)
2737 (desktop-restore-reuses-frames): Document :keyword constant values.
2738 (desktop-filter-parameters-alist): Remove, now identical to
2739 frameset-filter-alist.
2740 (desktop--filter-tty*): Remove, moved to frameset.el.
2741 (desktop-save-frameset, desktop-restore-frameset):
2742 Do not pass :filters argument.
2743
2744 * frameset.el (frameset-live-filter-alist)
2745 (frameset-persistent-filter-alist): New variables.
2746 (frameset-filter-alist): Use them. Add autoload cookie.
2747 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2748 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2749 `frameset--id' (it's supposed to be internal to frameset.el).
2750 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2751 (frameset--initial-params): New function.
2752 (frameset--get-frame): Use it. Doc fix.
2753 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2754 Accept :all, not 'all.
2755 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2756 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2757 with fbound symbols. Fix frame id matching, and remove matching ids if
2758 the frame being restored is deleted. Obey :delete.
2759
2760 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * subr.el (macrop): New function.
2763 (text-clone--maintaining): New var.
2764 (text-clone--maintain): Rename from text-clone-maintain. Use it
2765 instead of inhibit-modification-hooks.
2766
2767 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2768 a proxy, so as handle autoloads and redefinitions of the target.
2769 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2770
2771 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2772 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2773 (pcase--mutually-exclusive-p): New function.
2774 (pcase--split-consp): Use it.
2775 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2776 mutually exclusive with the current predicate.
2777
2778 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2779 (edebug-macrop): Remove. Use `macrop' instead.
2780 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2781 (ad-macro-p):
2782 * eshell/esh-cmd.el (eshell-macrop):
2783 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2784
2785 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2788 (advice-mapc): New function, using it.
2789 (advice-function-member-p): New function.
2790 (advice--normalize): Store the cdr in advice--saved-rewrite since
2791 that's the part that will be changed.
2792 (advice--symbol-function): New function.
2793 (advice-remove): Handle removal before the function is defined.
2794 Adjust to new advice--saved-rewrite.
2795 (advice-member-p): Use advice-function-member-p and
2796 advice--symbol-function.
2797
2798 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2801 (frameset-filter-minibuffer): Doc fix.
2802 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2803 (frameset--set-id, frameset--process-minibuffer-frames)
2804 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2805 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2806
2807 * desktop.el (desktop-clear): Only delete frames when called
2808 interactively and desktop-restore-frames is non-nil. Doc fix.
2809 (desktop-read): Set desktop-saved-frameset to nil.
2810
2811 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2812
2813 * vc/vc.el (vc-ignore): Rewrite.
2814 (vc-default-ignore-completion-table):
2815 (vc--read-lines):
2816 (vc--add-line, vc--remove-regexp): New functions.
2817
2818 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2819 (vc-svn-ignore-completion-table): New function.
2820
2821 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2822 (vc-hg-ignore-completion-table):
2823 (vc-hg-find-ignore-file): New functions.
2824
2825 * vc/vc-git.el (vc-git-ignore): Rewrite.
2826 (vc-git-ignore-completion-table):
2827 (vc-git-find-ignore-file): New functions.
2828
2829 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2830
2831 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2832 (vc-bzr-ignore-completion-table):
2833 (vc-bzr-find-ignore-file): New functions.
2834
2835 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2836
2837 * frameset.el (frameset-prop): New function and setter.
2838 (frameset-save): Do not modify frame list passed by the caller.
2839
2840 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2843
2844 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2847 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2848
2849 * custom.el (custom-initialize-default, custom-initialize-set)
2850 (custom-initialize-reset, custom-initialize-changed): Affect the
2851 toplevel-default-value (bug#6275, bug#14586).
2852 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2853 for bug#6275.
2854
2855 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2858 Add cl-def* expressions.
2859
2860 * frameset.el (frameset-filter-params): Fix order of arguments.
2861
2862 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2863
2864 Move code related to saving frames to frameset.el.
2865 * desktop.el: Require frameset.
2866 (desktop-restore-frames): Doc fix.
2867 (desktop-restore-reuses-frames): Rename from
2868 desktop-restoring-reuses-frames.
2869 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2870 (desktop-clear): Clear frames too.
2871 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2872 (desktop--filter-tty*, desktop-save, desktop-read):
2873 Use frameset functions.
2874 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2875 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2876 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2877 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2878 (desktop--process-minibuffer-frames, desktop-save-frames)
2879 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2880 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2881 (desktop--sort-states, desktop-restoring-frames-p)
2882 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2883 (desktop-restoring-frameset-p, desktop-restore-frameset)
2884 (desktop--check-dont-save, desktop-save-frameset): New functions.
2885 (desktop--app-id): New constant.
2886 (desktop-first-buffer, desktop-buffer-ok-count)
2887 (desktop-buffer-fail-count): Move before first use.
2888 * frameset.el: New file.
2889
2890 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * files.el: Use lexical-binding.
2893 (dir-locals-read-from-file): Remove unused `err' variable.
2894 (hack-dir-local-variables--warned-coding): New var.
2895 (hack-dir-local-variables): Use it to avoid repeated warnings.
2896 (make-backup-file-name--default-function): New function.
2897 (make-backup-file-name-function): Use it as default.
2898 (buffer-stale--default-function): New function.
2899 (buffer-stale-function): Use it as default.
2900 (revert-buffer-insert-file-contents--default-function): New function.
2901 (revert-buffer-insert-file-contents-function): Use it as default.
2902 (insert-directory): Avoid add-to-list.
2903
2904 * autorevert.el (auto-revert-handler): Simplify.
2905 Use buffer-stale--default-function.
2906
2907 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2908
2909 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2910
2911 * whitespace.el (whitespace-ensure-local-variables): New function.
2912 (whitespace-cleanup-region): Call it.
2913 (whitespace-turn-on): Call it.
2914
2915 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2916
2917 Complete file name handlers.
2918
2919 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2920 (tramp-handle-verify-visited-file-modtime)
2921 (tramp-handle-file-notify-rm-watch): New functions.
2922 (tramp-call-process): Do not bind `default-directory'.
2923
2924 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2925 Order alphabetically.
2926 [access-file, add-name-to-file, dired-call-process]:
2927 [dired-compress-file, file-acl, file-notify-rm-watch]:
2928 [file-ownership-preserved-p, file-selinux-context]:
2929 [make-directory-internal, make-symbolic-link, set-file-acl]:
2930 [set-file-selinux-context, set-visited-file-modtime]:
2931 [verify-visited-file-modtime]: Add handler.
2932 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2933
2934 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2935 [file-notify-add-watch, file-notify-rm-watch]:
2936 [set-file-times, set-visited-file-modtime]:
2937 [verify-visited-file-modtime]: Add handler.
2938 (with-tramp-gvfs-error-message)
2939 (tramp-gvfs-handle-set-visited-file-modtime)
2940 (tramp-gvfs-fuse-file-name): Remove.
2941 (tramp-gvfs-handle-file-notify-add-watch)
2942 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2943 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2944
2945 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2946 Order alphabetically.
2947 [file-notify-rm-watch ]: Use default Tramp handler.
2948 [executable-find]: Remove private handler.
2949 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2950 `default-directory'.
2951 (tramp-sh-handle-executable-find)
2952 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2953 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2954 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2955 Do not use `format' in `tramp-message'.
2956
2957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2958 [file-notify-rm-watch, set-visited-file-modtime]:
2959 [verify-visited-file-modtime]: Add handler.
2960 (tramp-smb-call-winexe): Do not bind `default-directory'.
2961
2962 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2963
2964 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2965
2966 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2967
2968 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2969 use it.
2970 (log-view-diff-changeset): Same.
2971 (log-view-diff-common): Call backend command `previous-revision'
2972 to find out the previous revision, in both cases. Swap the
2973 variables `to' and `fr', so that `fr' usually refers to the
2974 earlier revision (Bug#14989).
2975
2976 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2977
2978 * ibuf-ext.el (ibuffer-filter-by-filename):
2979 Make it work with dired buffers too.
2980
2981 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2982
2983 * emacs-lisp/re-builder.el (reb-color-display-p):
2984 * files.el (save-buffers-kill-terminal):
2985 * net/browse-url.el (browse-url):
2986 * server.el (server-save-buffers-kill-terminal):
2987 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2988 Prefer nil to selected-frame for the first arg of frame-parameter.
2989
2990 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2991
2992 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2993
2994 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2995
2996 * minibuffer.el (completion--twq-all): Try and preserve each
2997 completion's case choice (bug#14907).
2998
2999 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3000
3001 * net/network-stream.el (open-network-stream): Mention the new
3002 :nogreeting parameter.
3003 (network-stream-open-starttls): Use the :nogreeting parameter
3004 (bug#14938).
3005
3006 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3007
3008 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3009 more natural than popping.
3010
3011 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3012 (shr-urlify): Highlight under mouse.
3013
3014 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3015
3016 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3017
3018 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3019
3020 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3021 buffer for output.
3022
3023 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3024 point-min==1. Fix search string. Fix parentheses missing.
3025
3026 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3027 assume point-min==1. Fix search string. Fix parentheses missing.
3028
3029 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3030
3031 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3032 buffer for output.
3033
3034 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3035
3036 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3037 initial frame is minibuffer-less. (Bug#14841)
3038
3039 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3042 option.
3043
3044 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3045 (tramp-maybe-open-connection): Use it.
3046
3047 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3048
3049 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3050 minimal set of parameters passed when creating a frame, because
3051 the minibuffer status of a frame cannot be changed later.
3052
3053 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3054
3055 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3056 replace-regexp-in-string and inadvertent omissions in previous change.
3057 (todo-filter-items): Ensure only file names are comma-separated in
3058 name of filtered items buffer.
3059
3060 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3061
3062 * desktop.el: Optionally force offscreen frames back onscreen.
3063 (desktop-restoring-reuses-frames): New option.
3064 (desktop--compute-pos, desktop--move-onscreen): New functions.
3065 (desktop--make-frame): Use desktop--move-onscreen.
3066
3067 2013-07-27 Alan Mackenzie <acm@muc.de>
3068
3069 Fontify a Java generic method as a function.
3070 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3071 value to t.
3072
3073 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3074
3075 * calendar/todo-mode.el: Add command to rename todo files.
3076 (todo-rename-file): New command.
3077 (todo-key-bindings-t): Add key binding for it. Change the
3078 bindings of todo-filter-regexp-items(-multifile) to use `x'
3079 instead of `r', since the latter is better suited to the new
3080 renaming command.
3081
3082 2013-07-27 Alan Mackenzie <acm@muc.de>
3083
3084 Make Java try-with-resources statement parse properly.
3085 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3086 (c-block-stmt-1-2-key): New language constants/variables.
3087 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3088 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3089 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3090 with c-block-stmt-1-2-key.
3091
3092 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3093
3094 * desktop.el (desktop--make-frame): Apply most frame parameters after
3095 creating the frame to force (partially or totally) offscreen frames to
3096 be restored as such.
3097
3098 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3099
3100 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3101 (Bug#14948)
3102
3103 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3106 `base' arg of backtrace-frame.
3107
3108 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3109
3110 * simple.el (list-processes): Doc fix.
3111
3112 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3113
3114 * desktop.el (desktop--select-frame):
3115 Try harder to reuse existing frames.
3116
3117 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3120 (edebug-eval): Use backtrace-eval.
3121 (edebug--display, edebug--recursive-edit): Don't let-bind the
3122 edebug-outer-* vars that keep track of variables we locally let-bind.
3123 (edebug-outside-excursion): Don't restore outside values of locally
3124 let-bound vars.
3125 (edebug--display): Use user-error.
3126 (cl-lexical-debug, cl-debug-env): Remove.
3127
3128 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3129
3130 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3131 are restored to be sure that they are visible before deleting any
3132 remaining ones.
3133
3134 2013-07-26 Matthias Meulien <orontee@gmail.com>
3135
3136 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3137 vc-print-root-log. (Bug#14948)
3138
3139 2013-07-26 Richard Stallman <rms@gnu.org>
3140
3141 Add aliases for encrypting mail.
3142 * epa.el (epa-mail-aliases): New option.
3143 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3144 Bind inhibit-read-only so read-only text doesn't ruin everything.
3145 (epa-mail-default-recipients): New subroutine broken out.
3146 Handle epa-mail-aliases.
3147
3148 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 Add support for lexical variables to the debugger's `e' command.
3151 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3152 vars, except for debugger-outer-match-data.
3153 (debugger-frame-number): Move check for "on a function call" from
3154 callers into it. Add `skip-base' argument.
3155 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3156 (debugger-env-macro): Only reset the state stored in non-variables,
3157 i.e. current-buffer and match-data.
3158 (debugger-eval-expression): Rewrite using backtrace-eval.
3159 * subr.el (internal--called-interactively-p--get-frame): Remove.
3160 (called-interactively-p):
3161 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3162 `base' arg of backtrace-frame instead.
3163
3164 2013-07-26 Glenn Morris <rgm@gnu.org>
3165
3166 * align.el (align-regexp): Doc fix. (Bug#14857)
3167 (align-region): Explicit error if subexpression missing/does not match.
3168
3169 * simple.el (global-visual-line-mode):
3170 Do not duplicate the mode lighter. (Bug#14858)
3171
3172 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3173
3174 * window.el (display-buffer): In display-buffer bind
3175 split-window-keep-point to t, bug#14829.
3176
3177 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3178
3179 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3180 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3181 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3182 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3183 Change accordingly.
3184 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3185 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3186
3187 2013-07-25 Glenn Morris <rgm@gnu.org>
3188
3189 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3190
3191 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3192
3193 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3194 parameter to modify-frame-parameters if the value has not changed;
3195 this is a workaround for bug#14949.
3196 (desktop--make-frame): On cl-delete-if call, check parameter name,
3197 not full parameter.
3198
3199 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3200
3201 * vc/vc.el (vc-ignore): New function.
3202
3203 * vc/vc-svn.el (vc-svn-ignore): New function.
3204
3205 * vc/vc-hg.el (vc-hg-ignore): New function.
3206
3207 * vc/vc-git.el (vc-git-ignore): New function.
3208
3209 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3210 (vc-dir-ignore): New function.
3211
3212 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3213 (cvs-append-to-ignore): Move here from pcvs.el.
3214
3215 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3216
3217 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3218
3219 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3220
3221 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3222 (desktop-restore-frames): Warn when deleting an existing frame failed.
3223
3224 2013-07-24 Glenn Morris <rgm@gnu.org>
3225
3226 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3227
3228 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * filenotify.el (file-notify-supported-p):
3231 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3232 Remove functions.
3233
3234 * autorevert.el (auto-revert-use-notify):
3235 (auto-revert-notify-add-watch):
3236 * net/tramp.el (tramp-file-name-for-operation):
3237 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3238 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3240 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3241 Remove `file-notify-supported-p' entry.
3242
3243 2013-07-24 Glenn Morris <rgm@gnu.org>
3244
3245 * printing.el: Replace all uses of deleted ps-windows-system,
3246 ps-lp-system, ps-flatten-list with lpr- versions.
3247
3248 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3251 checked with memq (bug#14935).
3252
3253 * files.el (revert-buffer-function): Use a non-nil default.
3254 (revert-buffer-preserve-modes): Declare var to
3255 provide access to the `preserve-modes' argument.
3256 (revert-buffer): Let-bind it.
3257 (revert-buffer--default): New function, extracted from revert-buffer.
3258
3259 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * lpr.el: Signal print errors more prominently.
3262 (print-region-function): Don't default to nil.
3263 (lpr-print-region): New function, extracted from print-region-1.
3264 Check lpr's return value and signal an error in case of problem.
3265 (print-region-1): Use it.
3266 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3267 versions instead.
3268 (ps-printer-name): Default to nil.
3269 (ps-printer-name-option): Default to lpr-printer-switch.
3270 (ps-print-region-function): Don't default to nil.
3271 (ps-postscript-code-directory): Simplify default.
3272 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3273 (ps-string-list, ps-eval-switch, ps-flatten-list)
3274 (ps-flatten-list-1): Remove.
3275 (ps-multibyte-buffer): Avoid setq.
3276 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3277 (print-region-function, ps-print-region-function): Don't set them here.
3278
3279 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3280
3281 * ido.el (ido-fractionp):
3282 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3283 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3284 (ido-max-directory-size, ido-max-dir-file-cache)
3285 (ido-decorations): Doc fix.
3286
3287 * ansi-color.el: Fix old URL.
3288
3289 2013-07-23 Michael R. Mauger <michael@mauger.com>
3290
3291 * progmodes/sql.el: Version 3.3
3292 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3293 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3294 (sql-interactive-remove-continuation-prompt): Rewrite, use
3295 functions above. Fix continuation prompt and complete output line
3296 handling.
3297 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3298 redirected output buffer.
3299 (sql-mode): Restore deleted code (Bug#13591).
3300
3301 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3302
3303 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3304
3305 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3308
3309 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3310 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3311 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3312
3313 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3314
3315 * desktop.el (desktop-clear): Simplify; remove useless checks
3316 against invalid buffer names.
3317 (desktop-list*): Use cl-list*.
3318 (desktop-buffer-info, desktop-create-buffer): Simplify.
3319
3320 2013-07-23 Leo Liu <sdl.web@gmail.com>
3321
3322 * bookmark.el (bookmark-make-record): Restore NAME as a default
3323 value. (Bug#14933)
3324
3325 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3328 extracted from autoload--insert-text.
3329 (autoload--insert-text): Remove.
3330 (autoload--print-cookie-text): New function, extracted from
3331 autoload--insert-cookie-text.
3332 (autoload--insert-cookie-text): Remove.
3333 (autoload-generate-file-autoloads): Adjust calls accordingly.
3334
3335 * winner.el (winner-hook-installed-p): Remove.
3336 (winner-mode): Simplify accordingly.
3337
3338 * subr.el (add-to-list): Fix compiler-macro when `append' is
3339 not constant. Don't use `cl-member' for the base case.
3340
3341 * progmodes/subword.el: Fix boundary case (bug#13758).
3342 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3343 own group.
3344 (subword-backward-regexp): Make it a constant.
3345 (subword-forward-internal): Don't treat a trailing capital as the
3346 beginning of a word.
3347
3348 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3349
3350 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3351 global value of tabulated-list-revert-hook (bug#14930).
3352
3353 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3354
3355 * desktop.el: Require 'cl-lib.
3356 (desktop-before-saving-frames-functions): New hook.
3357 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3358 for frames being saved. Rename from desktop--save-minibuffer-frames.
3359 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3360 Do not save frames with non-nil `desktop-dont-save' parameter.
3361 Filter out deleted frames.
3362 (desktop--find-frame): Use cl-find-if.
3363 (desktop--select-frame): Use cl-(first|second|third) to access values
3364 of desktop-mini.
3365 (desktop--make-frame): Use cl-delete-if.
3366 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3367 (desktop-restore-frames): Use cl-(first|second|third) to access values
3368 of desktop-mini. Look for visible frame at the end, not while
3369 restoring frames.
3370
3371 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3372 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3373 Use string-match-p, looking-at-p (bug#14927).
3374
3375 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * desktop.el (desktop-saved-frame-states):
3378 Rename from desktop--saved-states; all users changed.
3379 (desktop-save-frames): Rename from desktop--save-frames.
3380 Do not save state to desktop file.
3381 (desktop-save): Save desktop-saved-frame-states to desktop file
3382 and reset to nil.
3383 (desktop-restoring-frames-p): New function.
3384 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3385 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3386 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3387
3388 * desktop.el: Correctly restore iconified frames.
3389 (desktop--filter-iconified-position): New function.
3390 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3391
3392 2013-07-20 Glenn Morris <rgm@gnu.org>
3393
3394 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3395 Let `message' do the formatting.
3396 (def-gdb-preempt-display-buffer): Add explicit format.
3397
3398 * image-dired.el (image-dired-track-original-file):
3399 Use with-current-buffer.
3400 (image-dired-track-thumbnail): Use with-current-buffer.
3401 Avoid changing point of wrong window.
3402
3403 * image-dired.el (image-dired-track-original-file):
3404 Avoid changing point of wrong window. (Bug#14909)
3405
3406 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3407
3408 * progmodes/gdb-mi.el (gdb-done-or-error):
3409 Guard against "%" in gdb output. (Bug#14127)
3410
3411 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3412
3413 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3414 (Bug#14826)
3415
3416 * international/mule.el (coding-system-iso-2022-flags): Fix last
3417 change.
3418
3419 2013-07-20 Kenichi Handa <handa@gnu.org>
3420
3421 * international/mule.el (coding-system-iso-2022-flags):
3422 Add `8-bit-level-4'. (Bug#8522)
3423
3424 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3425
3426 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3427 (bug#14815).
3428
3429 * net/eww.el (eww-process-text-input): Allow inputting when the
3430 point is at the start of the line, as the properties aren't
3431 front-sticky.
3432
3433 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3434 degenerate widths.
3435
3436 2013-07-19 Richard Stallman <rms@gnu.org>
3437
3438 * epa.el (epa-popup-info-window): Doc fix.
3439
3440 * subr.el (split-string): New arg TRIM.
3441
3442 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3443
3444 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3445 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3446
3447 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3448
3449 * filenotify.el (file-notify--library): Rename from
3450 `file-notify-support'. Do not autoload. Adapt all uses.
3451 (file-notify-supported-p): New defun.
3452
3453 * autorevert.el (auto-revert-use-notify):
3454 Use `file-notify-supported-p' instead of `file-notify-support'.
3455 Adapt docstring.
3456 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3457
3458 * net/tramp.el (tramp-file-name-for-operation):
3459 Add `file-notify-supported-p'.
3460
3461 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3462 New defun.
3463 (tramp-sh-file-name-handler-alist): Add it as handler for
3464 `file-notify-supported-p '.
3465
3466 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3467 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3469 Add `ignore' as handler for `file-notify-*' functions.
3470
3471 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3472
3473 * simple.el (line-move-partial, line-move): Don't start vscroll or
3474 scroll-up if the current line is not taller than the window.
3475 (Bug#14881)
3476
3477 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3478
3479 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3480 highlight question marks in the method names as strings.
3481 (ruby-block-beg-keywords): Inline.
3482 (ruby-font-lock-keyword-beg-re): Extract from
3483 `ruby-font-lock-keywords'.
3484
3485 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3486
3487 * frame.el (blink-cursor-blinks): New defcustom.
3488 (blink-cursor-blinks-done): New defvar.
3489 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3490 (blink-cursor-timer-function): Check if number of blinks has been
3491 done on X and NS.
3492 (blink-cursor-suspend, blink-cursor-check): New defuns.
3493
3494 2013-07-15 Glenn Morris <rgm@gnu.org>
3495
3496 * edmacro.el (edmacro-format-keys): Fix previous change.
3497
3498 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3499
3500 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3501 The hack didn't work outside English locales anyway.
3502
3503 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3504
3505 * simple.el (define-alternatives): Rename from alternatives-define,
3506 per RMS' suggestion.
3507
3508 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3509
3510 * desktop.el (desktop-restore-frames): Change default to t.
3511 (desktop-restore-in-current-display): Now offer more options.
3512 (desktop-restoring-reuses-frames): New customization option.
3513 (desktop--saved-states): Doc fix.
3514 (desktop-filter-parameters-alist): New variable, renamed and expanded
3515 from desktop--excluded-frame-parameters.
3516 (desktop--target-display): New variable.
3517 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3518 (desktop--filter-tty*, desktop--filter-*-color)
3519 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3520 (desktop--filter-save-desktop-parm)
3521 (desktop-restore-in-original-display-p): New functions.
3522 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3523 (desktop--save-minibuffer-frames): New function, inspired by a similar
3524 function from Martin Rudalics.
3525 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3526 (desktop--restore-in-this-display-p): Remove.
3527 (desktop--find-frame): Rename from desktop--find-frame-in-display
3528 and add predicate argument.
3529 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3530 (desktop--reuse-list): New variable.
3531 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3532 New functions.
3533 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3534
3535 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3536
3537 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3538
3539 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3540
3541 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3542 Highlight conversion methods on Kernel.
3543
3544 2013-07-13 Alan Mackenzie <acm@muc.de>
3545
3546 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3547 and comment it out. This out-commenting enables certain C++
3548 declarations to be parsed correctly.
3549
3550 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3551
3552 * international/mule.el (define-coding-system): Doc fix.
3553
3554 * simple.el (default-font-height): Don't call font-info if the
3555 frame's default font didn't change since the frame was created.
3556 (Bug#14838)
3557
3558 2013-07-13 Leo Liu <sdl.web@gmail.com>
3559
3560 * ido.el (ido-read-file-name): Guard against non-symbol value.
3561
3562 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3563
3564 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3565 in nested defuns.
3566
3567 2013-07-13 Leo Liu <sdl.web@gmail.com>
3568
3569 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3570 ido-set-matches call. (Bug#6852)
3571
3572 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3573
3574 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3575 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3576 Ruby 2.0.
3577 (ruby-font-lock-keywords): Distinguish calls to functions with
3578 module-like names from module references. Highlight character
3579 literals.
3580
3581 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3582
3583 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3584 (gdb-send): Handle continued commands. (Bug#14847)
3585
3586 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * desktop.el (desktop--v2s): Remove unused local variable.
3589 (desktop-save-buffer): Make defvar-local; adjust docstring.
3590 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3591 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3592
3593 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3594
3595 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3596
3597 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3598
3599 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3600 (Bug#14842)
3601
3602 2013-07-12 Glenn Morris <rgm@gnu.org>
3603
3604 * doc-view.el: Require cl-lib at runtime too.
3605 (doc-view-remove-if): Remove.
3606 (doc-view-search-next-match, doc-view-search-previous-match):
3607 Use cl-remove-if.
3608
3609 * edmacro.el: Require cl-lib at runtime too.
3610 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3611 (edmacro-mismatch, edmacro-subseq): Remove.
3612
3613 * shadowfile.el: Require cl-lib.
3614 (shadow-remove-if): Remove.
3615 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3616 Use cl-remove-if.
3617
3618 * wid-edit.el: Require cl-lib.
3619 (widget-choose): Use cl-remove-if.
3620 (widget-remove-if): Remove.
3621
3622 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3623 (ebrowse-delete-if-not): Remove.
3624 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3625 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3626 Use cl-delete-if-not.
3627
3628 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3629
3630 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3631 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3632
3633 2013-07-12 Leo Liu <sdl.web@gmail.com>
3634
3635 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3636
3637 2013-07-11 Glenn Morris <rgm@gnu.org>
3638
3639 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3640 (edebug-gensym-index, edebug-gensym):
3641 Remove reimplementation of cl-gensym.
3642 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3643
3644 * thumbs.el: Require cl-lib at run-time too.
3645 (thumbs-gensym-counter, thumbs-gensym):
3646 Remove reimplementation of cl-gensym.
3647 (thumbs-temp-file): Use cl-gensym.
3648
3649 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3650 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3651 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3652 (ert--union, ert--gensym-counter, ert--gensym-counter)
3653 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3654 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3655 (ert-make-test-unbound, ert--expand-should-1)
3656 (ert--expand-should, ert--should-error-handle-error)
3657 (should-error, ert--explain-equal-rec)
3658 (ert--plist-difference-explanation, ert-select-tests)
3659 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3660 Use cl-lib functions rather than reimplementations.
3661
3662 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * net/tramp.el (tramp-methods): Extend docstring.
3665 (tramp-connection-timeout): New defcustom.
3666 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3667 (with-tramp-progress-reporter): Simplify.
3668 (tramp-process-actions): Improve messages.
3669
3670 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3671 * net/tramp-sh.el (tramp-maybe-open-connection):
3672 Use `tramp-connection-timeout'.
3673 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3674 (Bug#14808)
3675
3676 2013-07-11 Leo Liu <sdl.web@gmail.com>
3677
3678 * ido.el (ido-read-file-name): Conform to the requirements of
3679 read-file-name. (Bug#11861)
3680 (ido-read-directory-name): Conform to the requirements of
3681 read-directory-name.
3682
3683 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3684
3685 * subr.el (delay-warning): New function.
3686
3687 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3688
3689 * simple.el (default-line-height): New function.
3690 (line-move-partial, line-move): Use it instead of computing the
3691 line height inline.
3692 (line-move-partial): Always compute ROWH. If the last line is
3693 partially-visible, but its text is completely visible, allow
3694 cursor to enter such a partially-visible line.
3695
3696 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3697
3698 Improve error messages. (Bug#14808)
3699
3700 * net/tramp.el (tramp-current-connection): New defvar, moved from
3701 tramp-sh.el.
3702 (tramp-message-show-progress-reporter-message): Remove, not
3703 needed anymore.
3704 (tramp-error-with-buffer): Show message in minibuffer.
3705 Discard input before waiting. Reset connection timestamp.
3706 (with-tramp-progress-reporter): Improve messages.
3707 (tramp-process-actions): Use progress reporter. Delete process in
3708 case of error. Improve messages.
3709
3710 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3711 Call `tramp-error-with-buffer' with vector and buffer.
3712 (tramp-current-connection): Remove.
3713 (tramp-maybe-open-connection): The car of
3714 `tramp-current-connection' are the first 3 slots of the vector.
3715
3716 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3717
3718 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3719 inside continued strings.
3720
3721 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3722
3723 Timestamp fixes for undo (Bug#14824).
3724 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3725
3726 2013-07-10 Leo Liu <sdl.web@gmail.com>
3727
3728 * files.el (require-final-newline): Allow safe local value.
3729 (Bug#14834)
3730
3731 2013-07-09 Leo Liu <sdl.web@gmail.com>
3732
3733 * ido.el (ido-read-directory-name): Handle fallback.
3734 (ido-read-file-name): Update DIR to ido-current-directory.
3735 (Bug#1516)
3736 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3737
3738 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3739
3740 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3741 "autoload". Remove "warn lower camel case" section, previously
3742 commented out. Highlight negation char. Do not highlight the
3743 target in singleton method definitions.
3744
3745 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * faces.el (tty-setup-hook): Declare the hook.
3748
3749 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3750 and detect when a guard/pred depends on local vars (bug#14773).
3751 (pcase--u1): Adjust caller.
3752
3753 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3754
3755 * simple.el (line-move-partial, line-move): Account for
3756 line-spacing.
3757 (line-move-partial): Avoid setting vscroll when the last
3758 partially-visible line in window is of default height.
3759
3760 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3761
3762 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3763 been used a while.
3764
3765 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3766
3767 * subr.el (read-quoted-char): Remove unused local variable `char'.
3768
3769 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3770
3771 * ediff.el (ediff-version): Version update.
3772 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3773 (ediff-merge-with-ancestor-command, ediff-directories-command)
3774 (ediff-directories3-command, ediff-merge-directories-command)
3775 (ediff-merge-directories-with-ancestor-command): New functions.
3776 All are command-line interfaces to ediff: to facilitate calling
3777 Emacs with the appropriate ediff functions invoked.
3778
3779 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3780 (viper-save-kill-buffer): Check if buffer is modified.
3781
3782 * viper.el (viper-version): Version update.
3783 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3784
3785 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3788 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3789 (viper-intercept-ESC-key): Simplify.
3790 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3791 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3792 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3793 (viper-setup-ESC-to-escape): New functions.
3794 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3795 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3796
3797 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3798
3799 * simple.el (default-font-height, window-screen-lines):
3800 New functions.
3801 (line-move, line-move-partial): Use them instead of
3802 frame-char-height and window-text-height. This makes scrolling
3803 text smoother when the buffer's default face uses a font that is
3804 different from the frame's default font.
3805
3806 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3807
3808 * files.el (write-file): Do not display confirm dialog for NS,
3809 it does its own dialog, which can't be cancelled (Bug#14578).
3810
3811 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3812
3813 * simple.el (line-move-partial): Adjust the row returned by
3814 posn-at-point for the current window-vscroll. (Bug#14567)
3815
3816 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3819 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3820 spaces.
3821
3822 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3823
3824 * window.el (window-state-put-stale-windows): New variable.
3825 (window--state-put-2): Save list of windows without matching buffer.
3826 (window-state-put): Remove "bufferless" windows if possible.
3827
3828 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3829
3830 * simple.el (alternatives-define): Remove leftover :group keyword.
3831 Tweak docstring.
3832
3833 2013-07-06 Leo Liu <sdl.web@gmail.com>
3834
3835 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3836 (ido-enable-virtual-buffers): New variable.
3837 (ido-buffer-internal, ido-toggle-virtual-buffers)
3838 (ido-make-buffer-list): Use it.
3839 (ido-exhibit): Support turning on and off virtual buffers
3840 automatically.
3841
3842 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3843
3844 * simple.el (alternatives-define): New macro.
3845
3846 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * subr.el (read-quoted-char): Use read-key.
3849 (sit-for): Let read-event decode tty input (bug#14782).
3850
3851 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3852
3853 * calendar/todo-mode.el: Add handling of file deletion, both by
3854 mode command and externally. Fix various related bugs.
3855 Clarify Commentary and improve some documentation strings and code.
3856 (todo-delete-file): New command.
3857 (todo-check-file): New function.
3858 (todo-show): Handle external deletion of the file we're trying to
3859 show (bug#14688). Replace called-interactively-p by an optional
3860 prefix argument to avoid problematic interaction with catch form
3861 when byte compiled (bug#14702).
3862 (todo-quit): Handle external deletion of the archive's todo file.
3863 Make sure the buffer that was visiting the archive file is still
3864 live before trying to bury it.
3865 (todo-category-completions): Handle external deletion of any
3866 category completion files.
3867 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3868 of todo files, in case of external deletion.
3869 (todo-add-file): Replace unnecessary setq by let-binding.
3870 (todo-find-archive): Check whether there are any archives.
3871 Replace unnecessary setq by let-binding.
3872 (todo-archive-done-item): Use find-file-noselect to get the
3873 archive buffer whether or not the archive already exists.
3874 Remove superfluous code. Use file size instead of buffer-file-name to
3875 check if the archive is new; if it is, update list of archives.
3876 (todo-default-todo-file): Allow nil to be a valid value for when
3877 there are no todo files.
3878 (todo-reevaluate-default-file-defcustom): Use corrected definition
3879 of todo-default-todo-file.
3880 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3881 (todo-delete-category, todo-show-categories-table)
3882 (todo-category-number): Clarify comment.
3883 (todo-filter-items): Clarify documentation string.
3884 (todo-show-current-file, todo-display-as-todo-file)
3885 (todo-reset-and-enable-done-separator): Tweak documentation string.
3886 (todo-done-separator): Make separator length window-width, since
3887 bug#2749 is now fixed.
3888
3889 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3890
3891 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3892 Support both "gvfs-monitor-dir" and "inotifywait".
3893 (tramp-sh-file-inotifywait-process-filter): Rename from
3894 `tramp-sh-file-notify-process-filter'.
3895 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3896 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3897
3898 2013-07-05 Leo Liu <sdl.web@gmail.com>
3899
3900 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3901
3902 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3903
3904 * frame.el (display-pixel-height, display-pixel-width)
3905 (display-mm-height, display-mm-width): Mention behavior on
3906 multi-monitor setups in docstrings.
3907 (w32-display-monitor-attributes-list): Declare function.
3908 (display-monitor-attributes-list): Use it.
3909
3910 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * filenotify.el: New package.
3913
3914 * autorevert.el (top): Require filenotify.el.
3915 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3916 instead.
3917 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3918 (auto-revert-notify-handler): Use `file-notify-*' functions.
3919
3920 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3921
3922 * net/tramp.el (tramp-file-name-for-operation):
3923 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3924
3925 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3926 for `file-notify-add-watch' and `file-notify-rm-watch'.
3927 (tramp-process-sentinel): Improve trace.
3928 (tramp-sh-handle-file-notify-add-watch)
3929 (tramp-sh-file-notify-process-filter)
3930 (tramp-sh-handle-file-notify-rm-watch)
3931 (tramp-get-remote-inotifywait): New defuns.
3932
3933 2013-07-03 Juri Linkov <juri@jurta.org>
3934
3935 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3936 call of `occur-read-primary-args' to interactive spec.
3937
3938 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3939 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3940
3941 2013-07-03 Matthias Meulien <orontee@gmail.com>
3942
3943 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3944 `Buffer-menu-multi-occur'. Add it to the menu.
3945 (Buffer-menu-mode): Document it in docstring.
3946 (Buffer-menu-multi-occur): New command. (Bug#14673)
3947
3948 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3949
3950 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3951 keywords and built-ins.
3952
3953 2013-07-03 Glenn Morris <rgm@gnu.org>
3954
3955 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3956
3957 Make info-xref checks case-sensitive by default
3958 * info.el (Info-find-node, Info-find-in-tag-table)
3959 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3960 Add option for exact case matching of nodes.
3961 * info-xref.el (info-xref): New custom group.
3962 (info-xref-case-fold): New option.
3963 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3964
3965 2013-07-03 Leo Liu <sdl.web@gmail.com>
3966
3967 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3968
3969 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3970
3971 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3972 middle of block statement initially, lower the depth. Remove
3973 FIXME comment, not longer valid. Remove middle of block statement
3974 detection, no need to do that anymore since we've been using
3975 `ruby-parse-region' here.
3976
3977 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3978
3979 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3980
3981 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3982
3983 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3984
3985 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3986
3987 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3988 (desktop-restore-in-current-display): New customization option.
3989 (desktop--excluded-frame-parameters): Add `font'.
3990 (desktop--save-frames): Rename from desktop--save-windows.
3991 (desktop--restore-in-this-display-p): New function.
3992 (desktop--make-full-frame): Remove unwanted width/height from
3993 full(width|height) frames.
3994 (desktop--restore-frames): Rename from desktop--restore-windows.
3995 Obey desktop-restore-current-display. Do not delete old frames or
3996 select a new frame unless we were able to restore at least one frame.
3997
3998 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3999
4000 * files.el (find-file-noselect): Simplify conditional expression.
4001
4002 * remember.el (remember-append-to-file):
4003 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4004
4005 Add `remember-notes' function to store random notes across Emacs
4006 restarts.
4007 * remember.el (remember-data-file): Add :set callback to affect
4008 notes buffer (if any).
4009 (remember-notes): New command.
4010 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4011 New defcustoms for the `remember-notes' function.
4012 (remember-notes-save-and-bury-buffer): New command.
4013 (remember-notes-mode-map): New variable.
4014 (remember-mode): New minor mode.
4015 (remember-notes--kill-buffer-query): New function.
4016 * startup.el (initial-buffer-choice): Add notes to custom type.
4017
4018 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4019
4020 * bindings.el (right-char, left-char): Don't call sit-for, this is
4021 no longer needed. Use arithmetic comparison only for numerical
4022 arguments.
4023
4024 * international/mule-cmds.el (select-safe-coding-system):
4025 Handle the case of FROM being a string correctly. (Bug#14755)
4026
4027 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4028
4029 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4030 progression on degenerate tables.
4031 (shr-rescale-image): ImageMagick animated images currently don't work.
4032
4033 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4034
4035 Some fixes and improvements for desktop frame restoration.
4036 It is still experimental and disabled by default.
4037 * desktop.el (desktop--save-windows): Put the selected frame at
4038 the head of the list.
4039 (desktop--make-full-frame): New function.
4040 (desktop--restore-windows): Try to re-select the frame that was
4041 selected upon saving. Do not abort if some frames fail to restore,
4042 just show an error message and continue. Set up maximized frames
4043 so they have default non-maximized dimensions.
4044
4045 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4046
4047 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4048 Don't start heredoc inside a string or comment.
4049
4050 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4051
4052 * bindings.el (visual-order-cursor-movement): New defcustom.
4053 (right-char, left-char): Provide visual-order cursor motion by
4054 calling move-point-visually. Update the doc strings.
4055
4056 2013-06-28 Kenichi Handa <handa@gnu.org>
4057
4058 * international/mule.el (define-coding-system): New coding system
4059 properties :inhibit-null-byte-detection,
4060 :inhibit-iso-escape-detection, and :prefer-utf-8.
4061 (set-buffer-file-coding-system): If :charset-list property of
4062 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4063 appropriate for setting.
4064
4065 * international/mule-cmds.el (select-safe-coding-system):
4066 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4067 multibyte characters, return utf-8 (or one of its siblings).
4068
4069 * international/mule-conf.el (prefer-utf-8): New coding system.
4070 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4071 files.
4072
4073 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4074
4075 * net/shr.el (shr-render-region): New function.
4076
4077 * net/eww.el: Autoload `eww-browse-url'.
4078
4079 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4080
4081 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4082 Adapt to `package-desc-version' being a list.
4083 Use `package--ac-desc-version' to retrieve version from a package
4084 archive element.
4085
4086 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4087
4088 New experimental feature to save&restore window and frame setup.
4089 * desktop.el (desktop-save-windows): New defcustom.
4090 (desktop--saved-states): New var.
4091 (desktop--excluded-frame-parameters): New defconst.
4092 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4093 (desktop--restore-windows, desktop--save-windows): New functions.
4094 (desktop-save): Call `desktop--save-windows'.
4095 (desktop-read): Call `desktop--restore-windows'.
4096
4097 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4098
4099 * net/shr.el (add-face-text-property): Remove compat definition.
4100
4101 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4102
4103 * info.el (Info-try-follow-nearest-node): Move search for footnote
4104 above search for node name to prevent missing a footnote (bug#14717).
4105
4106 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4107
4108 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4109
4110 2013-06-27 Leo Liu <sdl.web@gmail.com>
4111
4112 * net/eww.el (eww-read-bookmarks): Check file size.
4113
4114 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4117 advice--pending if newdef is nil or an autoload (bug#13820).
4118 (advice-mapc): New function.
4119
4120 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4121
4122 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4123 probably.
4124 (eww-mode-map): Add a menu bar.
4125 (eww-add-bookmark): New command.
4126 (eww-bookmark-mode): New mode and commands.
4127 (eww-add-bookmark): Remove newlines from the title.
4128 (eww-bookmark-browse): Don't bug out if it's the only window.
4129
4130 2013-06-26 Glenn Morris <rgm@gnu.org>
4131
4132 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4133 (hfy-size): Handle ttys. (Bug#14668)
4134
4135 * info-xref.el: Update for Texinfo 5 change in *note format.
4136 (info-xref-node-re, info-xref-note-re): New constants.
4137 (info-xref-check-buffer): Use info-xref-note-re.
4138
4139 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4140
4141 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4142
4143 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4144 nil terminate the loop (bug#14718).
4145
4146 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147
4148 * net/eww.el: Rework history traversal. When going forward/back,
4149 put these actions into the history, too, so that they can be
4150 replayed.
4151 (eww-render): Move the history reset to the correct buffer.
4152
4153 2013-06-25 Juri Linkov <juri@jurta.org>
4154
4155 * files-x.el (modify-dir-local-variable): Change the header comment
4156 in the file with directory local variables. (Bug#14692)
4157
4158 * files-x.el (read-file-local-variable-value): Add `default'.
4159 (Bug#14710)
4160
4161 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4162
4163 * net/eww.el (eww-make-unique-file-name): Create a unique file
4164 name before saving to entering `y' accidentally asynchronously.
4165
4166 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4167
4168 * net/eww.el (eww-download): New command and keystroke.
4169
4170 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4171
4172 * net/eww.el (eww-copy-page-url): Change name of command.
4173
4174 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4175 be more consistent with Info and dired.
4176
4177 * net/eww.el (eww-mode-map): Ditto.
4178
4179 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4182 packages from archives.
4183 (package-archive-contents): Change format; include obsolete packages.
4184 (package-desc): Use `dir' to mark builtin packages.
4185 (package--from-builtin): Set the `dir' field to `builtin'.
4186 (generated-autoload-file, version-control): Declare.
4187 (package-compute-transaction): Change first arg and return value to be
4188 lists of package-descs. Adjust to new package-archive-contents format.
4189 (package--add-to-archive-contents): Adjust to new
4190 package-archive-contents format.
4191 (package-download-transaction): Arg is now a list of package-descs.
4192 (package-install): If `pkg' is a package name, pass it as
4193 a requirement, so it is subject to the usual (e.g. disabled) checks.
4194 (describe-package): Accept package-desc as well.
4195 (describe-package-1): Describe a specific package-desc. Add links to
4196 other package-descs for the same package name.
4197 (package-menu-describe-package): Pass the actual package-desc.
4198 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4199 works correctly.
4200 (package-desc-status): New function.
4201 (package-menu--refresh): New function, extracted
4202 from package-menu--generate.
4203 (package-menu--generate): Use it.
4204 (package-delete): Update package-alist.
4205 (package-menu-execute): Don't call package-initialize.
4206
4207 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4208 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4209 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4210 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4211 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4212 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4213
4214 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4215
4216 * window.el (window--state-get-1): Workaround for bug#14527.
4217 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4218
4219 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4220
4221 * net/eww.el (eww-back-url): Implement the history by stashing all
4222 the data into a list.
4223 (eww-forward-url): Allow going forward in the history, too.
4224
4225 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4228 for values and use read--expression for expressions (bug#14710).
4229 (read-file-local-variable): Avoid setq.
4230 (read-file-local-variable-mode): Use minor-mode-list.
4231
4232 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4233
4234 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4235 for DOI URLs.
4236
4237 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4238
4239 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4240 Update imenu-support when dialect changes.
4241
4242 2013-06-25 Leo Liu <sdl.web@gmail.com>
4243
4244 * ido.el (ido-read-internal): Allow forward slash on windows.
4245
4246 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4247
4248 * net/eww.el (eww): Start of strings is \\`, not ^.
4249
4250 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4251
4252 * net/shr.el (shr-browse-url): Fix interactive spec.
4253
4254 * net/eww.el (eww): Add a trailing slash to domain names.
4255
4256 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4257
4258 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4259
4260 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4261
4262 * net/shr.el (shr-browse-url): Use an external browser if given a
4263 prefix.
4264
4265 * net/eww.el (eww-external-browser): Move to shr.
4266
4267 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4268
4269 * net/eww.el (eww): Work more correctly for file: URLs.
4270 (eww-detect-charset): Allow quoted charsets.
4271 (eww-yank-page-url): New command and keystroke.
4272
4273 2013-06-24 Daiki Ueno <ueno@gnu.org>
4274
4275 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4276 file name of gpg executable.
4277 (epg-context-program): New function.
4278 (epg-context-home-directory): New function.
4279 (epg-context-set-program): New function.
4280 (epg-context-set-home-directory): New function.
4281 (epg--start): Use `epg-context-program' instead of
4282 'epg-gpg-program'.
4283 (epg--list-keys-1): Likewise.
4284
4285 2013-06-24 Leo Liu <sdl.web@gmail.com>
4286
4287 * ido.el (ido-read-internal): Fix bug#14620.
4288
4289 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4290
4291 * faces.el (face-documentation): Simplify.
4292 (read-face-attribute, tty-find-type, x-resolve-font-name):
4293 Use `string-match-p'.
4294 (list-faces-display): Use `string-match-p'. Simplify.
4295 (face-spec-recalc): Check face to avoid face alias loops.
4296 (read-color): Use `string-match-p' and non-capturing parenthesis.
4297
4298 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4299
4300 * net/shr.el (shr-rescale-image): Use the new
4301 :max-width/:max-height functionality.
4302
4303 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4304
4305 * net/eww.el (eww-search-prefix): New variable.
4306 (eww): Use it.
4307 (eww-external-browser): New variable.
4308 (eww-mode-map): New keystroke.
4309 (eww-browse-with-external-browser): New command.
4310
4311 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4312
4313 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4314
4315 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4316 Don't skip aligning the next header field when padding is 0;
4317 otherwise, field width is not respected unless the title is as
4318 wide as the field.
4319
4320 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * emacs-lisp/package.el (package-el-version): Remove.
4323 (package-process-define-package): Fix inf-loop.
4324 (package-install): Allow symbols as arguments again.
4325
4326 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4327
4328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4329 add some more keyword-like methods.
4330 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4331
4332 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4333
4334 * bs.el (bs-buffer-show-mark): Make defvar-local.
4335 (bs-mode): Use setq-local.
4336
4337 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4338 (emacs-lock--try-unlocking): Make defvar-local.
4339
4340 2013-06-22 Glenn Morris <rgm@gnu.org>
4341
4342 * play/cookie1.el (cookie-apropos): Minor simplification.
4343
4344 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4345
4346 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4347
4348 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4349 `regexp-opt', it breaks the build during dumping.
4350
4351 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4352
4353 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4354 Highlight keyword-like methods on Kernel and Module with
4355 font-lock-builtin-face.
4356 (auto-mode-alist): Consolidate different entries into one regexp
4357 and add more *file-s.
4358
4359 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4360
4361 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4362
4363 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4364 (diary-entry): Use it in the action of this button type instead of
4365 diary-goto-entry.
4366
4367 * calendar/todo-mode.el: New version.
4368 (todo-add-category): Append new category to end of file and give
4369 it the highest number, instead of putting it at the beginning and
4370 giving it 0. Incorporate noninteractive functionality.
4371 (todo-forward-category): Adapt to 1-based category numbering.
4372 Allow skipping over archived categories.
4373 (todo-backward-category): Derive from todo-forward-category.
4374 (todo-backward-item, todo-forward-item): Make noninteractive and
4375 delegate interactive part to new commands. Make sensitive to done items.
4376 (todo-categories): Make value an alist of category names and
4377 vectors of item counts.
4378 (todo-category-beg): Make a defconst.
4379 (todo-category-number): Use 1 instead of 0 as initial value.
4380 (todo-category-select): Make sensitive to overlays, optional item
4381 highlighting and done items.
4382 (todo-delete-item): Make sensitive to overlays and marked and done items.
4383 (todo-edit-item): Make sensitive to overlays and editing of
4384 date/time header optional. Add format checks.
4385 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4386 no-op if point is not on an item. Advertise using todo-edit-quit.
4387 (todo-edit-mode): Make sensitive to new format, font-locking, and
4388 multiple todo files.
4389 (todo-insert-item, todo-insert-item-here): Derive from
4390 todo-basic-insert-item and extend functionality.
4391 (todo-item-end, todo-item-start): Make sensitive to done items.
4392 (todo-item-string): Don't return text properties. Restore point.
4393 (todo-jump-to-category): Make sensitive to multiple todo files and
4394 todo archives. Use extended category completion.
4395 (todo-lower-item, todo-raise-item): Rename to *-priority and
4396 derive from todo-set-item-priority.
4397 (todo-mode): Derive from special-mode. Make sensitive to new
4398 format, font-locking and multiple todo files. Make read-only.
4399 (todo-mode-map): Don't suppress digit keys, so they can supply
4400 prefix arguments. Add many new key bindings.
4401 (todo-prefix): Insert as an overlay instead of file text.
4402 Change semantics from diary date expression to purely visual mark.
4403 (todo-print): Rename to todo-print-buffer. Make buffer display
4404 features printable. Remove option to restrict number of items
4405 printed. Add option to print to file.
4406 (todo-print-function): Rename to todo-print-buffer-function.
4407 (todo-quit): Extend to handle exiting new todo modes.
4408 (todo-remove-item): Make sensitive to overlays.
4409 (todo-save): Extend to buffers of filtered items.
4410 (todo-show): Make sensitive to done items, multiple todo files and
4411 new todo modes. Offer to convert legacy todo file before creating
4412 first new todo file.
4413 (todo-show-priorities): Rename to todo-top-priorities.
4414 Change semantics of value 0.
4415 (todo-top-priorities): Rename to todo-filter-top-priorities,
4416 derive from todo-filter-items and extend functionality.
4417 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4418 and extend functionality to other types of filtered items.
4419 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4420 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4421 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4422 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4423 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4424 (todo-edit-mode-hook, todo-entry-prefix-function)
4425 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4426 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4427 (todo-initials, todo-insert-threshold, todo-item-string-start)
4428 (todo-line-string, todo-menu, todo-mode-hook)
4429 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4430 (todo-print-priorities, todo-remove-separator)
4431 (todo-save-top-priorities-too, todo-string-count-lines)
4432 (todo-string-multiline-p, todo-time-string-format)
4433 (todo-tmp-buffer-name): Remove.
4434 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4435 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4436 (todo-edit-category-diary-inclusion)
4437 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4438 (todo-edit-file, todo-edit-item-date-day)
4439 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4440 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4441 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4442 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4443 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4444 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4445 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4446 (todo-filter-top-priorities-multifile, todo-find-archive)
4447 (todo-find-filtered-items-file, todo-go-to-source-item)
4448 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4449 (todo-jump-to-archive-category, todo-lower-category)
4450 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4451 (todo-move-category, todo-move-item, todo-next-button)
4452 (todo-next-item, todo-padded-string, todo-powerset)
4453 (todo-previous-button, todo-previous-item)
4454 (todo-print-buffer-to-file, todo-raise-category)
4455 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4456 (todo-set-category-number, todo-set-item-priority)
4457 (todo-set-top-priorities-in-category)
4458 (todo-set-top-priorities-in-file, todo-show-categories-table)
4459 (todo-sort-categories-alphabetically-or-numerically)
4460 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4461 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4462 (todo-toggle-item-header, todo-toggle-item-highlighting)
4463 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4464 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4465 (todo-unarchive-items, todo-unmark-category): New commands.
4466 (todo-absolute-file-name, todo-add-to-buffer-list)
4467 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4468 (todo-basic-insert-item, todo-category-completions)
4469 (todo-category-number, todo-category-string-matcher-1)
4470 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4471 (todo-check-format, todo-clear-matches)
4472 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4473 (todo-current-category, todo-date-string-matcher)
4474 (todo-define-insertion-command, todo-diary-expired-matcher)
4475 (todo-diary-goto-entry, todo-diary-item-p)
4476 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4477 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4478 (todo-done-item-section-p, todo-done-separator)
4479 (todo-done-string-matcher, todo-files, todo-filter-items)
4480 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4481 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4482 (todo-insert-category-line, todo-insert-item-from-calendar)
4483 (todo-insert-sort-button, todo-insert-with-overlays)
4484 (todo-insertion-command-name, todo-insertion-key-bindings)
4485 (todo-label-to-key, todo-longest-category-name-length)
4486 (todo-make-categories-list, todo-mode-external-set)
4487 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4488 (todo-modes-set-3, todo-multiple-filter-files)
4489 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4490 (todo-read-category, todo-read-date, todo-read-dayname)
4491 (todo-read-file-name, todo-read-time)
4492 (todo-reevaluate-category-completions-files-defcustom)
4493 (todo-reevaluate-default-file-defcustom)
4494 (todo-reevaluate-filelist-defcustoms)
4495 (todo-reevaluate-filter-files-defcustom)
4496 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4497 (todo-reset-done-separator, todo-reset-done-separator-string)
4498 (todo-reset-done-string, todo-reset-global-current-todo-file)
4499 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4500 (todo-reset-prefix, todo-set-categories)
4501 (todo-set-date-from-calendar, todo-set-show-current-file)
4502 (todo-set-top-priorities, todo-short-file-name)
4503 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4504 (todo-total-item-counts, todo-update-buffer-list)
4505 (todo-update-categories-display, todo-update-categories-sexp)
4506 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4507 New functions.
4508 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4509 New major modes.
4510 (todo-categories, todo-display, todo-edit, todo-faces)
4511 (todo-filtered): New defgroups.
4512 (todo-archived-only, todo-button, todo-category-string, todo-date)
4513 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4514 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4515 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4516 (todo-add-item-if-new-category, todo-always-add-time-string)
4517 (todo-categories-align, todo-categories-archived-label)
4518 (todo-categories-category-label, todo-categories-diary-label)
4519 (todo-categories-done-label, todo-categories-number-separator)
4520 (todo-categories-todo-label, todo-categories-totals-label)
4521 (todo-category-completions-files, todo-completion-ignore-case)
4522 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4523 (todo-done-separator-string, todo-done-string)
4524 (todo-files-function, todo-filter-done-items, todo-filter-files)
4525 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4526 (todo-initial-category, todo-initial-file, todo-item-mark)
4527 (todo-legacy-date-time-regexp, todo-mode-line-function)
4528 (todo-nondiary-marker, todo-number-prefix)
4529 (todo-print-buffer-function, todo-show-current-file)
4530 (todo-show-done-only, todo-show-first, todo-show-with-done)
4531 (todo-skip-archived-categories, todo-top-priorities-overrides)
4532 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4533 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4534 New defcustoms.
4535 (todo-category-done, todo-date-pattern, todo-date-string-start)
4536 (todo-diary-items-buffer, todo-done-string-start)
4537 (todo-filtered-items-buffer, todo-item-start)
4538 (todo-month-abbrev-array, todo-month-name-array)
4539 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4540 (todo-top-priorities-buffer): New defconsts.
4541 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4542 (todo-categories-with-marks, todo-category-string-face)
4543 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4544 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4545 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4546 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4547 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4548 (todo-font-lock-keywords, todo-global-current-todo-file)
4549 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4550 (todo-insertion-commands-args)
4551 (todo-insertion-commands-args-genlist)
4552 (todo-insertion-commands-names, todo-insertion-map)
4553 (todo-key-bindings-t, todo-key-bindings-t+a)
4554 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4555 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4556 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4557 (todo-visited): New variables.
4558
4559 2013-06-21 Glenn Morris <rgm@gnu.org>
4560
4561 * play/cookie1.el (cookie-apropos): Add optional display argument.
4562 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4563 (psychoanalyze-pinhead): Use cookie-doctor.
4564
4565 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4566
4567 * emacs-lisp/package.el (tar-get-file-descriptor)
4568 (tar--extract): Declare.
4569
4570 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4571
4572 Extend flymake's warning predicate to be a function (bug#14217).
4573 * progmodes/flymake.el (flymake-warning-predicate): New.
4574 (flymake-parse-line): Use it.
4575 (flymake-warning-re): Make obsolete alias to
4576 `flymake-warning-predicate'.
4577
4578 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4581 (package-obsolete-list): Remove.
4582 (package-activate): Remove min-version argument. Add `force' argument.
4583 Adjust to new package-alist format.
4584 (package-mark-obsolete): Remove.
4585 (package-unpack): Force reload of the package's autoloads.
4586 (package-installed-p): Check builtins if the installed package is not
4587 recent enough.
4588 (package-initialize): Don't reset package-obsolete-list.
4589 Don't specify which package version to activate.
4590 (package-process-define-package, describe-package-1)
4591 (package-menu--generate): Adjust to new package-alist format.
4592
4593 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4594
4595 * allout-widgets.el (allout-widgets-mode-off)
4596 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4597 (allout-widgets-post-command-business)
4598 (allout-widgets-after-copy-or-kill-function)
4599 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4600 (allout-decorate-item-and-context)
4601 (allout-graphics-modification-handler): Fix typos in docstrings.
4602 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4603
4604 * cmuscheme.el (scheme-start-file): Doc fix.
4605 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4606 (scheme-input-filter): Use `string-match-p'.
4607
4608 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4609
4610 * dired-x.el: Use Dired consistently in docstrings.
4611
4612 * dired.el: Use Dired consistently in docstrings.
4613 (dired-readin, dired-mode): Use `setq-local'.
4614 (dired-switches-alist): Make defvar-local.
4615 (dired-buffers-for-dir): Use `zerop'.
4616 (dired-safe-switches-p, dired-switches-escape-p)
4617 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4618 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4619 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4620 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4621 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4622 (dired-toggle-marks, dired-mark-files-containing-regexp)
4623 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4624 (dired-flag-auto-save-files, dired-flag-backup-files):
4625 Use `looking-at-p'.
4626 (dired-mark-files-regexp, dired-build-subdir-alist):
4627 Use `string-match-p', `looking-at-p'.
4628
4629 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4630 (direct-print-region-helper): Use `string-match-p'.
4631
4632 2013-06-21 Leo Liu <sdl.web@gmail.com>
4633
4634 * comint.el (comint-redirect-results-list-from-process):
4635 Fix infinite loop.
4636
4637 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638
4639 * net/eww.el (eww-update-header-line-format): Quote % characters.
4640
4641 2013-06-21 Glenn Morris <rgm@gnu.org>
4642
4643 * play/cookie1.el (cookie): New custom group.
4644 (cookie-file): New option.
4645 (cookie-check-file): New function.
4646 (cookie): Make it interactive. Make start and end messages optional.
4647 Interactively, display the result. Default to cookie-file.
4648 (cookie-insert): Default to cookie-file.
4649 (cookie-snarf): Make start and end messages optional.
4650 Default to cookie-file. Use with-temp-buffer.
4651 (cookie-read): Rename from read-cookie.
4652 Make start and end messages optional. Default to cookie-file.
4653 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4654 Do not autoload it.
4655 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4656 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4657
4658 2013-06-21 Leo Liu <sdl.web@gmail.com>
4659
4660 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4661
4662 2013-06-21 Glenn Morris <rgm@gnu.org>
4663
4664 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4665
4666 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4667 Daniel Hackney <dan@haxney.org>
4668
4669 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4670 Consolidate the single-file vs tarball code.
4671 (package-desc-suffix): New function.
4672 (package-desc-full-name): Don't bother inlining it.
4673 (package-load-descriptor): Return the new package-desc.
4674 (package-mark-obsolete): Remove unused arg `package'.
4675 (package-unpack): Make it work for single files as well.
4676 Make it update package-alist.
4677 (package--make-autoloads-and-stuff): Rename from
4678 package--make-autoloads-and-compile. Don't compile any more.
4679 (package--compile): New function.
4680 (package-generate-description-file): New function, extracted from
4681 package-unpack-single.
4682 (package-unpack-single): Remove.
4683 (package--with-work-buffer): Add indentation and debugging info.
4684 (package-download-single): Remove.
4685 (package-install-from-archive): Rename from package-download-tar, make
4686 it take a pkg-desc, and make it work for single files as well.
4687 (package-download-transaction): Simplify.
4688 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4689 external tar program.
4690 (package-install-from-buffer): Remove `pkg-desc' argument.
4691 Use package-tar-file-info for tar-mode buffers.
4692 (package-install-file): Simplify accordingly.
4693 (package-archive-base): Change to take a pkg-desc.
4694 * tar-mode.el (tar--check-descriptor): New function, extracted from
4695 tar-get-descriptor.
4696 (tar-get-descriptor): Use it.
4697 (tar-get-file-descriptor): New function.
4698 (tar--extract): New function, extracted from tar-extract.
4699 (tar--extract): Use it.
4700 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4701 case the summary uses non-ascii. Adjust to new calling convention of
4702 package-tar-file-info.
4703
4704 2013-06-21 Leo Liu <sdl.web@gmail.com>
4705
4706 * comint.el (comint-redirect-results-list-from-process):
4707 Fix random delay. (Bug#14681)
4708
4709 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4710
4711 * profiler.el (profiler-format-number): Use log, not log10.
4712
4713 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4714
4715 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4716
4717 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4720 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4721 yet available.
4722 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4723 (AUTOGENEL): ... here.
4724 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4725 (cl--defsubst-expand): Use it.
4726
4727 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4728
4729 * subr.el (log10): Move here from C code, and declare as obsolete.
4730 All uses of (log10 X) replaced with (log X 10).
4731
4732 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4733
4734 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4735 Declare with `defvar-local'.
4736 (tabulated-list-use-header-line, tabulated-list-entries)
4737 (tabulated-list-padding, tabulated-list-printer)
4738 (tabulated-list-sort-key): Declare with `defvar-local'.
4739 (tabulated-list-init-header, tabulated-list-print-fake-header):
4740 Use `setq-local'.
4741
4742 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4743
4744 * arc-mode.el (archive-mode): Add `archive-write-file' to
4745 `write-contents-functions' also for remote files. (Bug#14652)
4746
4747 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4748
4749 * cus-edit.el (custom-commands): Fix typos.
4750 (custom-display): Fix tooltip text.
4751 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4752 Fix typos in docstrings.
4753 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4754 (custom-unlispify-menu-entry, custom-magic-value-create)
4755 (custom-add-see-also, custom-group-value-create): Use ?\s.
4756 (custom-guess-type, customize-apropos, editable-field)
4757 (custom-face-value-create): Use `string-match-p'.
4758 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4759
4760 * custom.el (custom-load-symbol): Use `string-match-p'.
4761
4762 * ansi-color.el: Convert to lexical binding.
4763 (ansi-colors): Fix URL.
4764 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4765 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4766 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4767
4768 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769
4770 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4771
4772 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4773
4774 2013-06-19 Tom Tromey <tromey@redhat.com>
4775
4776 * net/eww.el (eww-top-url): Remove.
4777 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4778 (eww-render): Set new variables. Don't set eww-top-url.
4779 (eww-handle-link): Handle "prev", "home", and "contents".
4780 Downcase the rel text.
4781 (eww-top-url): Choose best top URL.
4782
4783 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4784
4785 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4786 relying in widget.el. Using widget.el leads to too many
4787 user interface inconsistencies.
4788 (eww-self-insert): Implement entering commands in text fields.
4789 (eww-process-text-input): New function to make text input field editing
4790 work.
4791 (eww-submit): Rewrite to use the new-style form methods.
4792 (eww-select-display): Display the correct selected item.
4793 (eww-change-select): Implement changing the select value.
4794 (eww-toggle-checkbox): Implement radio/checkboxes.
4795 (eww-update-field): Fix compilation error.
4796 (eww-tag-textarea): Implement <textarea>.
4797
4798 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4799 we don't shadow mode-specific bindings.
4800
4801 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4802 nothing to push.
4803
4804 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4805
4806 2013-06-19 Glenn Morris <rgm@gnu.org>
4807
4808 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4809
4810 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4811
4812 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4813 not needed.
4814
4815 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4816
4817 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818
4819 * net/browse-url.el (browse-url-browser-function):
4820 `eww-browse-url' has the right calling signature, `eww' does not.
4821
4822 2013-06-19 Glenn Morris <rgm@gnu.org>
4823
4824 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4825 Only eval autoloaded macros.
4826 (byte-compile-autoload): Only give the macro warning for macros.
4827
4828 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4829 (ps-underlined-faces): Declare.
4830
4831 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4832 (speedbar-add-supported-extension): Declare.
4833
4834 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4835 Don't include a date stamp in the header of the generated file;
4836 it leads to needless differences between output files.
4837
4838 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * net/secrets.el (secrets-struct-secret-content-type):
4841 Replace check of introspection data by a test call of "CreateItem".
4842 Some servers do not offer introspection.
4843
4844 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * electric.el (electric-pair-mode): Improve interaction with
4847 electric-layout-mode.
4848 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4849 (electric-pair-syntax): Use text-mode-syntax-table in comments
4850 and strings.
4851 (electric-pair--insert): New function.
4852 (electric-pair-post-self-insert-function): Use it and
4853 electric--after-char-pos.
4854
4855 2013-06-19 Leo Liu <sdl.web@gmail.com>
4856
4857 * progmodes/octave.el (octave-help): Fix regexp.
4858
4859 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4860
4861 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4862 (shr-table-horizontal-line): Allow nil as a value, and change the
4863 default.
4864 (shr-insert-table-ruler): Respect the nil value.
4865
4866 2013-06-18 Tom Tromey <tromey@barimba>
4867
4868 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4869 New defvars.
4870 (eww-open-file): New defun.
4871 (eww-render): Initialize new variables.
4872 (eww-display-html): Handle "link" and "a".
4873 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4874 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4875 (eww-back-url): Rename from eww-previous-url.
4876 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4877 New defuns.
4878
4879 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4880
4881 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4882 Distinguish ternary operator tokens from slash symbol and slash
4883 char literal.
4884
4885 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4886
4887 Convert symbol prettification into minor mode and global minor mode.
4888
4889 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4890 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4891 (prettify-symbols--keywords): Rename from
4892 `prog-prettify-symbols-alist' and make a local defvar.
4893 (prettify-symbols--compose-symbol): Rename from
4894 `prog--prettify-font-lock-compose-symbol'.
4895 (prettify-symbols--make-keywords): Rename from
4896 `prog-prettify-font-lock-symbols-keywords' and simplify.
4897 (prog-prettify-install): Remove.
4898 (prettify-symbols-mode): New minor mode, based on
4899 `prog-prettify-install'.
4900 (turn-on-prettify-symbols-mode): New function.
4901 (global-prettify-symbols-mode): New globalized minor mode.
4902
4903 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4904 * progmodes/cfengine.el (cfengine3-mode):
4905 * progmodes/perl-mode.el (perl-mode): Don't call
4906 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4907
4908 2013-06-18 Juri Linkov <juri@jurta.org>
4909
4910 * files-x.el (modify-file-local-variable-message): New function.
4911 (modify-file-local-variable)
4912 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4913 and call `modify-file-local-variable-message' when it's non-nil.
4914 (add-file-local-variable, delete-file-local-variable)
4915 (add-file-local-variable-prop-line)
4916 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4917 and use it. (Bug#9820)
4918
4919 2013-06-18 Juri Linkov <juri@jurta.org>
4920
4921 * emulation/vi.el (vi-shell-op):
4922 * emulation/vip.el (vip-execute-com, ex-command):
4923 * emulation/viper-cmd.el (viper-exec-bang):
4924 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4925 the call of `shell-command-on-region'. (Bug#14637)
4926
4927 * simple.el (shell-command-on-region): Doc fix.
4928
4929 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4932 (bug#14633).
4933
4934 2013-06-18 Glenn Morris <rgm@gnu.org>
4935
4936 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4937
4938 * newcomment.el (comment-search-forward, comment-search-backward):
4939 Doc fix. (Bug#14376)
4940
4941 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4942
4943 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4944 (buffer-face-mode-invoke): Doc fix.
4945
4946 2013-06-18 Matthias Meulien <orontee@gmail.com>
4947
4948 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4949 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4950
4951 2013-06-18 Glenn Morris <rgm@gnu.org>
4952
4953 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4954 Replace obsolete function generic-make-keywords with its expansion.
4955
4956 * progmodes/python.el (ffap-alist): Declare.
4957
4958 * textmodes/reftex.el (bibtex-mode-map): Declare.
4959
4960 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4963 (package-unpack, package-unpack-single): Return the pkg-dir.
4964 (package-download-transaction): Use it to update package-alist.
4965
4966 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4967
4968 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4969 possible choice.
4970
4971 2013-06-17 Juri Linkov <juri@jurta.org>
4972
4973 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4974
4975 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4976
4977 * emacs-lisp/package.el (package-load-descriptor):
4978 Remove `with-syntax-table' call, `read' doesn't need it.
4979 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4980
4981 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4982
4983 * startup.el (command-line): Expand package name returned by
4984 `package--description-file' (bug#14639).
4985
4986 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4987
4988 * emacs-lisp/package.el (package-load-descriptor): Do not call
4989 `emacs-lisp-mode', just use its syntax table.
4990
4991 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4992
4993 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4994 `font-lock-extra-managed-props' if any prettifying keyword is added.
4995 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4996 (prog-mode): Use `setq-local'.
4997
4998 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * international/characters.el (standard-case-table): Set syntax of ?»
5001 and ?« to punctuation.
5002
5003 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5006 Save relevant match data before calling `syntax-ppss' (bug#14595).
5007
5008 2013-06-15 Juri Linkov <juri@jurta.org>
5009
5010 * files-x.el (modify-file-local-variable-prop-line): Add local
5011 variables to the end of the existing comment on the first line.
5012 Use `file-auto-mode-skip' to skip interpreter magic line,
5013 and also skip XML declaration.
5014
5015 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * startup.el (package--builtin-versions): New var.
5018 (package-subdirectory-regexp): Remove.
5019 (package--description-file): Hard code its value instead.
5020
5021 * emacs-lisp/package.el: Don't activate packages older than builtin.
5022 (package-obsolete-list): Rename from package-obsolete-alist, and make
5023 it into a simple list of package-desc.
5024 (package-strip-version): Remove.
5025 (package-built-in-p): Use package--builtin-versions.
5026 (package-mark-obsolete): Simplify.
5027 (package-process-define-package): Mark it obsolete if older than the
5028 builtin version.
5029 (package-handle-response): Use line-end-position.
5030 (package-read-archive-contents, package--download-one-archive):
5031 Simplify.
5032 (package--add-to-archive-contents): Skip if older than the builtin or
5033 installed version.
5034 (package-menu-describe-package): Fix last change.
5035 (package-list-unversioned): New var.
5036 (package-menu--generate): Use it.
5037
5038 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5039 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5040 (autoload-builtin-package-versions): New variable.
5041 (autoload-generate-file-autoloads): Use them.
5042 Remove the list of autoloaded functions/macros from the
5043 (autoload...) comments.
5044
5045 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5046
5047 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5048
5049 * simple.el (line-move-partial): Don't jump to the next screen
5050 line as soon as it becomes visible. Instead, continue enlarging
5051 the vscroll until the portion of a tall screen line that's left on
5052 display is about the height of the frame's default font.
5053 (Bug#14567)
5054
5055 2013-06-15 Glenn Morris <rgm@gnu.org>
5056
5057 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5058 compilation-error-regexp-alist void, or local while let-bound.
5059
5060 * progmodes/make-mode.el (makefile-mode-syntax-table):
5061 Treat "=" as punctuation. (Bug#14614)
5062
5063 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5064
5065 * help-fns.el (describe-variable):
5066 Add extra line for permanent-local variables.
5067
5068 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5069
5070 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5071 Add export, import, library. (Bug#9164)
5072 (library): Set indent function.
5073
5074 2013-06-14 Glenn Morris <rgm@gnu.org>
5075
5076 * term/xterm.el (xterm--query):
5077 Stop after first matching handler. (Bug#14615)
5078
5079 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5080
5081 Add support for dired in saveplace.
5082 * dired.el (dired-initial-position-hook): New variable.
5083 (dired-initial-position): Call hook to place cursor position.
5084 * saveplace.el (save-place-to-alist): Add dired position.
5085 (save-place-dired-hook): New function.
5086
5087 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5088
5089 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5090 through a symbol rather than letrec.
5091
5092 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5093 (package-desc): Add `dir' field.
5094 (package-desc-full-name): New function.
5095 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5096 (package-maybe-load-descriptor): Remove.
5097 (package-load-all-descriptors): Just call package-load-descriptor.
5098 (package--disabled-p): New function.
5099 (package-desc-vers, package-desc-doc): Remove aliases.
5100 (package--dir): Remove function.
5101 (package-activate): Check if a package is disabled.
5102 (package-process-define-package): New function, extracted from
5103 define-package.
5104 (define-package): Turn into a place holder.
5105 (package-unpack-single, package-tar-file-info):
5106 Use package--description-file.
5107 (package-compute-transaction): Use package--disabled-p.
5108 (package-download-transaction): Don't call
5109 package-maybe-load-descriptor since they're all loaded anyway.
5110 (package-install): Change argument to be a pkg-desc.
5111 (package-delete): Use a single pkg-desc argument.
5112 (describe-package-1): Use package-desc-dir instead of package--dir.
5113 Use package-desc property instead of package-symbol.
5114 (package-install-button-action): Adjust accordingly.
5115 (package--push): Rewrite.
5116 (package-menu--print-info): Adjust accordingly. Change the ID format
5117 to be a pkg-desc.
5118 (package-menu-describe-package, package-menu-get-status)
5119 (package-menu--find-upgrades, package-menu-mark-upgrades)
5120 (package-menu-execute, package-menu--name-predicate):
5121 Adjust accordingly.
5122 * startup.el (package--description-file): New function.
5123 (command-line): Use it.
5124 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5125 Use package-desc-version.
5126
5127 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5128 (byte-compile-preprocess): Use it.
5129 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5130 can't quite recognize.
5131 (byte-compile-add-to-list): Remove.
5132 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5133 (cconv-closure-convert): Add assertion.
5134
5135 * emacs-lisp/map-ynp.el: Use lexical-binding.
5136 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5137 Factor out some repeated code.
5138
5139 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * subr.el (with-eval-after-load): New macro.
5142 (eval-after-load): Allow form to be a function.
5143 take advantage of lexical-binding.
5144 (do-after-load-evaluation): Use dolist and adjust to new format.
5145 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5146
5147 2013-06-13 Juri Linkov <juri@jurta.org>
5148
5149 * replace.el (perform-replace): Display "symbol " and other search
5150 modes from `isearch-message-prefix' in the *Help* buffer.
5151
5152 * isearch.el (isearch-query-replace): Add " symbol" and other
5153 possible search modes from `isearch-message-prefix' to the prompt.
5154 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5155 when reading a regexp to collect.
5156
5157 2013-06-13 Juri Linkov <juri@jurta.org>
5158
5159 * isearch.el (word-search-regexp): Match whitespace if the search
5160 string begins or ends in whitespace. The LAX arg is applied to
5161 both ends of the search string. Use `regexp-quote' and explicit
5162 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5163 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5164 boundaries are replaced with symbol boundaries, and characters
5165 between symbols match non-word non-symbol syntax. (Bug#14602)
5166
5167 2013-06-13 Juri Linkov <juri@jurta.org>
5168
5169 * isearch.el (isearch-del-char): Don't exceed the length of
5170 `isearch-string' by the prefix arg. (Bug#14563)
5171
5172 2013-06-13 Juri Linkov <juri@jurta.org>
5173
5174 * isearch.el (isearch-yank-word, isearch-yank-line)
5175 (isearch-char-by-name, isearch-quote-char)
5176 (isearch-printing-char, isearch-process-search-char):
5177 Add optional count prefix arg. (Bug#14563)
5178
5179 * international/isearch-x.el
5180 (isearch-process-search-multibyte-characters):
5181 Add optional count prefix arg.
5182
5183 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5186 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5187 lexical-binding.
5188
5189 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5190
5191 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5192
5193 2013-06-13 Glenn Morris <rgm@gnu.org>
5194
5195 * startup.el (tty-handle-args):
5196 Don't just discard "--" and anything after. (Bug#14608)
5197
5198 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5199
5200 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5201
5202 Implement changes in Secret Service API. Make it backward compatible.
5203 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5204 (secrets-create-item): Use it. Prefix properties with interface.
5205
5206 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5207
5208 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5209 (term-emulate-terminal): Respect term-suppress-hard-newline.
5210
5211 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5212
5213 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5214 Only remove a `thumb-file' overlay. (Bug#14548)
5215
5216 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5217
5218 * mail/reporter.el (reporter-submit-bug-report):
5219 Handle missing package-name. (Bug#14600)
5220
5221 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5222
5223 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5224 (reftex-citation-prompt, reftex-default-bibliography)
5225 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5226 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5227 (reftex-bib-sort-author, reftex-bib-sort-year)
5228 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5229 (reftex-extract-bib-entries-from-thebibliography)
5230 (reftex-get-bibkey-default, reftex-get-bib-names)
5231 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5232 (reftex-format-bib-entry, reftex-parse-bibitem)
5233 (reftex-format-bibitem, reftex-do-citation)
5234 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5235 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5236 (reftex-insert-bib-matches, reftex-format-citation)
5237 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5238 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5239 existing comments into docstrings.
5240
5241 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5242
5243 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5244
5245 2013-06-12 Andreas Schwab <schwab@suse.de>
5246
5247 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5248 for auto-save files.
5249
5250 2013-06-12 Glenn Morris <rgm@gnu.org>
5251
5252 * ido.el (ido-delete-ignored-files): Remove.
5253 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5254 Go back to calling ido-ignore-item-p directly.
5255
5256 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5257
5258 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5259
5260 * ido.el (ido-delete-ignored-files): New function,
5261 split from ido-make-file-list-1.
5262 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5263 (ido-make-file-list-1): Use ido-delete-ignored-files.
5264
5265 2013-06-12 Leo Liu <sdl.web@gmail.com>
5266
5267 * progmodes/octave.el (inferior-octave-startup)
5268 (inferior-octave-completion-table)
5269 (inferior-octave-track-window-width-change)
5270 (octave-eldoc-function-signatures, octave-help)
5271 (octave-find-definition): Use single quoted strings.
5272 (inferior-octave-startup-args): Change default value.
5273 (inferior-octave-startup): Do not hard code "-i" and
5274 "--no-line-editing".
5275 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5276 (inferior-octave-directory-tracker): Use it.
5277 (octave-goto-function-definition): Robustify.
5278 (octave-help): Support highlighting operators in 'See also'.
5279 (octave-find-definition): Find subfunctions only in Octave mode.
5280
5281 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5282
5283 * help-fns.el (help-fns--compiler-macro): If the handler function is
5284 named, then put a link to it.
5285 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5286 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5287 (cl-typep): Use it.
5288 (cl-eval-when): Simplify debug spec.
5289 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5290 compiler-macro function instead of setting `compiler-macro-file'.
5291
5292 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5293
5294 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5295 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5296
5297 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5298 Daniel Hackney <dan@haxney.org>
5299
5300 First part of Daniel Hackney's patch to package.el.
5301 * emacs-lisp/package.el: Use defstruct.
5302 (package-desc): New, main struct.
5303 (package--bi-desc, package--ac-desc): New structs, used to describe the
5304 format in external files.
5305 (package-desc-vers): Replace with package-desc-version accessor.
5306 (package-desc-doc): Replace with package-desc-summary accessor.
5307 (package-activate-1): Remove `package' arg since the pkg-vec now
5308 includes the name.
5309 (define-package): Use package-desc-from-define.
5310 (package-unpack-single): Change file-name arg to be a symbol.
5311 (package--add-to-archive-contents): Use package-desc-create and new
5312 accessor functions to package--ac-desc.
5313 (package-buffer-info, package-tar-file-info): Return a package-desc.
5314 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5315 arg to be a package-desc.
5316 (package-install-file): Adjust accordingly. Use \' to match EOS.
5317 (package--from-builtin): New function.
5318 (describe-package-1, package-menu--generate): Use it.
5319 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5320 (package-generate-autoloads): Idem and return the name of the file.
5321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5322 Change pkg-info arg to be a package-desc.
5323 Use package-make-ac-desc.
5324 (package-upload-file): Use \' to match EOS.
5325 * finder.el (finder-compile-keywords): Use package-make-builtin.
5326
5327 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * vc/vc.el (vc-deduce-fileset): Change error message.
5330 (vc-read-backend): New function.
5331 (vc-next-action): Use it.
5332
5333 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5334
5335 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5336 (prolog-font-lock-keywords): Use regexp-opt instead.
5337 Don't manually highlight strings.
5338 (prolog-mode-variables): Simplify comment-start-skip.
5339 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5340
5341 * emacs-lisp/generic.el (generic--normalise-comments)
5342 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5343 (generic-mode-set-comments): Use them.
5344 (generic-bracket-support): Use setq-local.
5345 (generic-make-keywords-list): Declare obsolete.
5346
5347 2013-06-11 Glenn Morris <rgm@gnu.org>
5348
5349 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5350 Prettify after setting font-lock-defaults. (Bug#14574)
5351
5352 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5353
5354 * replace.el (query-replace, occur-read-regexp-defaults-function)
5355 (replace-search):
5356 * subr.el (declare-function, number-sequence, local-set-key)
5357 (substitute-key-definition, locate-user-emacs-file)
5358 (with-silent-modifications, split-string, eval-after-load):
5359 Fix typos, remove unneeded backslashes and reflow some docstrings.
5360
5361 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5364 default for Elisp files.
5365
5366 2013-06-11 Glenn Morris <rgm@gnu.org>
5367
5368 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5369 although define-derived-mode was doing this anyway. (Bug#14583)
5370
5371 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5374 Fix make-variable-buffer-local call to refer to the correct variable.
5375
5376 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5377
5378 * eshell/em-term.el (eshell-visual-commands)
5379 (eshell-visual-subcommands, eshell-visual-options):
5380 Add summary line to docstrings. Add cross-references.
5381
5382 2013-06-10 Glenn Morris <rgm@gnu.org>
5383
5384 * epa.el (epa-read-file-name): New function. (Bug#14510)
5385 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5386
5387 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5388
5389 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5390 output redirection to be ignored with visual commands.
5391
5392 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5393
5394 * eshell/em-term.el (eshell-visual-command-p): New function.
5395 (eshell-term-initialize): Move long lambda to separate function
5396 eshell-visual-command-p.
5397 * eshell/em-dirs.el (eshell-dirs-initialise):
5398 * eshell/em-script.el (eshell-script-initialize):
5399 Add missing #' to lambda.
5400
5401 2013-06-08 Leo Liu <sdl.web@gmail.com>
5402
5403 * progmodes/octave.el (octave-add-log-current-defun): New function.
5404 (octave-mode): Set add-log-current-defun-function.
5405 (octave-goto-function-definition): Do not move point if not found.
5406 (octave-find-definition): Enhance to try subfunctions first.
5407
5408 2013-06-08 Glenn Morris <rgm@gnu.org>
5409
5410 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5411 (byte-compile-backward-char, byte-compile-backward-word):
5412 Improve previous change, to handle non-explicit nil.
5413
5414 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5417 (smie--opener/closer-at-point): New function.
5418 (smie--matching-block-data): Use it. Don't match from right after an
5419 opener or right before a closer. Obey smie-blink-matching-inners.
5420 Don't signal a mismatch for repeated inners like "switch..case..case".
5421
5422 2013-06-07 Leo Liu <sdl.web@gmail.com>
5423
5424 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5425 to t. (Bug#14303)
5426 (octave-function-header-regexp): Fix. (Bug#14570)
5427 (octave-help-mode-finish-hook, octave-help-mode-finish):
5428 Remove. Just use temp-buffer-show-hook.
5429
5430 * newcomment.el (comment-search-backward): Revert last change.
5431 (Bug#14434)
5432
5433 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5434
5435 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5436
5437 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5438 through xargs, to avoid failure due to MS-Windows limitations on
5439 command-line length.
5440
5441 2013-06-06 Glenn Morris <rgm@gnu.org>
5442
5443 * font-lock.el (lisp-font-lock-keywords-2):
5444 Treat user-error like error.
5445
5446 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5447 (byte-compile-backward-char, byte-compile-backward-word):
5448 Handle explicit nil arguments. (Bug#14565)
5449
5450 2013-06-05 Alan Mackenzie <acm@muc.de>
5451
5452 * isearch.el (isearch-allow-prefix): New user option.
5453 (isearch-other-meta-char): Don't exit isearch when a prefix
5454 argument is typed whilst `isearch-allow-prefix' is non-nil.
5455 (Bug#9706)
5456
5457 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * autorevert.el (auto-revert-notify-handler): Use memq.
5460 Hide assertion failure.
5461
5462 * skeleton.el: Use cl-lib.
5463 (skeleton-further-elements): Use defvar-local.
5464 (skeleton-insert): Use cl-progv.
5465
5466 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5467
5468 * progmodes/prog-mode.el (prog-prettify-symbols)
5469 (prog-prettify-install): Update docstrings.
5470
5471 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * simple.el: Move all the prog-mode code to prog-mode.el.
5474 * progmodes/prog-mode.el: New file.
5475 * loadup.el: Add prog-mode.el.
5476
5477 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5478
5479 * simple.el (prog-prettify-symbols): Add version.
5480 (prog-prettify-install): Add convenience function to prettify symbols.
5481
5482 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5483 (perl--augmented-font-lock-keywords-1)
5484 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5485 variables and use it.
5486
5487 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5488 (cfengine3-mode): Remove unneeded variable and use it.
5489
5490 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5491 (lisp--augmented-font-lock-keywords-1)
5492 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5493 Remove unneeded variables and use it.
5494
5495 2013-06-05 João Távora <joaotavora@gmail.com>
5496
5497 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5498 to point when opening the connection. (Bug#14380)
5499
5500 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * subr.el (load-history-regexp, load-history-filename-element)
5503 (eval-after-load, after-load-functions, do-after-load-evaluation)
5504 (eval-next-after-load, display-delayed-warnings)
5505 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5506 definition of save-match-data.
5507 (overriding-local-map): Remove accidental obsolescence declaration.
5508
5509 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5510
5511 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5512
5513 Generalize symbol prettify support to prog-mode and implement it
5514 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5515 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5516 (prog--prettify-font-lock-compose-symbol)
5517 (prog-prettify-font-lock-symbols-keywords): New variables and
5518 functions to support symbol prettification.
5519 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5520 (lisp--augmented-font-lock-keywords-1)
5521 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5522 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5523 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5524 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5525 Implement prettify of -> => :: strings.
5526 * progmodes/perl-mode.el (perl-prettify-symbols)
5527 (perl--font-lock-compose-symbol)
5528 (perl--font-lock-symbols-keywords): Move to prog-mode.
5529 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5530 (perl-font-lock-keywords-1)
5531 (perl-font-lock-keywords-2): Remove explicit prettify support.
5532 (perl--augmented-font-lock-keywords)
5533 (perl--augmented-font-lock-keywords-1)
5534 (perl--augmented-font-lock-keywords-2, perl-mode):
5535 Implement prettify support.
5536
5537 2013-06-05 Leo Liu <sdl.web@gmail.com>
5538
5539 Re-implement smie matching block highlight using
5540 show-paren-data-function. (Bug#14395)
5541 * emacs-lisp/smie.el (smie-matching-block-highlight)
5542 (smie--highlight-matching-block-overlay)
5543 (smie--highlight-matching-block-lastpos)
5544 (smie-highlight-matching-block)
5545 (smie-highlight-matching-block-mode): Remove.
5546 (smie--matching-block-data-cache): New variable.
5547 (smie--matching-block-data): New function.
5548 (smie-setup): Use smie--matching-block-data for
5549 show-paren-data-function.
5550
5551 * progmodes/octave.el (octave-mode-menu): Fix.
5552 (octave-find-definition): Skip garbage lines.
5553
5554 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 Fix compilation error with simultaneous dynamic+lexical scoping.
5557 Add warning when a defvar appears after the first let-binding.
5558 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5559 (byte-compile-close-variables): Initialize it.
5560 (byte-compile--declare-var): New function.
5561 (byte-compile-file-form-defvar)
5562 (byte-compile-file-form-define-abbrev-table)
5563 (byte-compile-file-form-custom-declare-variable): Use it.
5564 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5565 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5566 (byte-compile-bind): Handle dynamic bindings that shadow
5567 lexical bindings.
5568 (byte-compile-unbind): Make arg non-optional.
5569 (byte-compile-let): Simplify.
5570 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5571 (cconv--analyse-function, cconv-analyse-form): Populate it.
5572 Protect byte-compile-bound-variables to limit the scope of defvars.
5573 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5574 Remove unneeded rule for `declare'.
5575
5576 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5577 so as to avoid depending on cl-adjoin at run-time.
5578 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5579
5580 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5581 (macroexp--warn-and-return): Use it.
5582
5583 2013-06-05 Leo Liu <sdl.web@gmail.com>
5584
5585 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5586
5587 2013-06-04 Leo Liu <sdl.web@gmail.com>
5588
5589 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5590 (compilation-auto-jump): Suppress the "Mark set" message to give
5591 way to exit message.
5592
5593 2013-06-04 Alan Mackenzie <acm@muc.de>
5594
5595 Remove faulty optimisation from indentation calculation.
5596 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5597 search limit based on 2000 characters back from indent-point.
5598
5599 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5600
5601 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5602
5603 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * emacs-lisp/lisp.el: Use lexical-binding.
5606 (lisp--local-variables-1, lisp--local-variables): New functions.
5607 (lisp--local-variables-completion-table): New var.
5608 (lisp-completion-at-point): Use it complete let-bound vars.
5609
5610 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5611 eagerly (bug#14422).
5612
5613 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5614
5615 * autorevert.el (auto-revert-notify-enabled)
5616 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5617 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5618 (auto-revert-notify-handler): Handle also gfilenotify.
5619
5620 * subr.el (file-notify-handle-event): New defun. Replacing ...
5621 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5622 Remove.
5623
5624 2013-06-03 Juri Linkov <juri@jurta.org>
5625
5626 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5627 `M-s h .'. (Bug#14427)
5628
5629 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5630 command `hi-lock-face-symbol-at-point'.
5631 (hi-lock-face-symbol-at-point): New command.
5632 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5633 (hi-lock-menu): Add `highlight-symbol-at-point'.
5634 (hi-lock-mode): Doc fix.
5635
5636 * isearch.el (isearch-forward-symbol-at-point): New command.
5637 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5638 (isearch-highlight-regexp): Add a regexp which matches
5639 words/symbols for word/symbol mode.
5640
5641 * subr.el (find-tag-default-bounds): New function with the body
5642 mostly moved from `find-tag-default'.
5643 (find-tag-default): Move most code to `find-tag-default-bounds',
5644 call it and apply `buffer-substring-no-properties' afterwards.
5645
5646 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5647
5648 * eshell/em-term.el (eshell-term-initialize):
5649 Use `cl-intersection' rather than `intersection'.
5650
5651 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5652
5653 * vc/log-view.el: Doc fix.
5654 (log-view-mode-map): Copy keymap from `special-mode-map'.
5655
5656 2013-06-02 Eric Ludlam <zappo@gnu.org>
5657
5658 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5659 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5660 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5661 (eieio-unbound, eieio-default-superclass)
5662 (eieio--define-field-accessors, method-static, method-before)
5663 (method-primary, method-after, method-num-lists)
5664 (method-generic-before, method-generic-primary)
5665 (method-generic-after, method-num-slots)
5666 (eieio-specialized-key-to-generic-key)
5667 (eieio--check-type, class-v, class-p)
5668 (eieio-class-name, define-obsolete-function-alias)
5669 (eieio-class-parents-fast, eieio-class-children-fast)
5670 (same-class-fast-p, class-constructor, generic-p)
5671 (generic-primary-only-p, generic-primary-only-one-p)
5672 (class-option-assoc, class-option, eieio-object-p)
5673 (class-abstract-p, class-method-invocation-order)
5674 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5675 (eieio-class-un-autoload, eieio-defclass)
5676 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5677 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5678 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5679 (eieio-defgeneric-reset-generic-form)
5680 (eieio-defgeneric-form-primary-only)
5681 (eieio-defgeneric-reset-generic-form-primary-only)
5682 (eieio-defgeneric-form-primary-only-one)
5683 (eieio-defgeneric-reset-generic-form-primary-only-one)
5684 (eieio-unbind-method-implementations)
5685 (eieio--defmethod, eieio--typep)
5686 (eieio-perform-slot-validation, eieio-validate-slot-value)
5687 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5688 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5689 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5690 (eieio-slot-name-index, eieio-class-slot-name-index)
5691 (eieio-set-defaults, eieio-initarg-to-attribute)
5692 (eieio-attribute-to-initarg, eieio-c3-candidate)
5693 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5694 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5695 (eieio-class-precedence-list, eieio-generic-call-methodname)
5696 (eieio-generic-call-arglst, eieio-generic-call-key)
5697 (eieio-generic-call-next-method-list)
5698 (eieio-pre-method-execution-functions, eieio-generic-call)
5699 (eieio-generic-call-primary-only, eieiomt-method-list)
5700 (eieiomt-optimizing-obarray, eieiomt-install)
5701 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5702 (eieio-generic-form, eieio-defmethod, make-obsolete)
5703 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5704 (defclass): Remove `eval-and-compile' from macro.
5705 (call-next-method, shared-initialize): Instead of using
5706 `scoped-class' variable, use new eieio--scoped-class, and
5707 eieio--with-scoped-class.
5708 (initialize-instance): Rename local variable 'scoped-class' to
5709 'this-class' to remove ambiguitity from old global.
5710
5711 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5712 eieio.el.
5713 (eieio--scoped-class-stack): New variable.
5714 (eieio--scoped-class): New fcn.
5715 (eieio--with-scoped-class): New scoping macro.
5716 (eieio-defclass): Use pushnew instead of add-to-list.
5717 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5718 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5719 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5720 `scoped-class' variable, use new eieio--scoped-class, and
5721 eieio--with-scoped-class.
5722
5723 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5724
5725 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5726
5727 * eshell/esh-ext.el (eshell-external-command): Pass args to
5728 `eshell-find-interpreter'.
5729 (eshell-find-interpreter): Add new second parameter ARGS.
5730
5731 * eshell/em-script.el (eshell-script-initialize): Add second arg
5732 to the function added as MATCH to `eshell-interpreter-alist'.
5733
5734 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5735 the function added as MATCH to `eshell-interpreter-alist'.
5736
5737 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5738 (eshell-visual-options): New defcustom.
5739 (eshell-escape-control-x): Adapt docstring.
5740 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5741 `eshell-visual-options' in addition to `eshell-visual-commands'.
5742 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5743
5744 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5745
5746 * progmodes/python.el (python-indent-block-enders): Add break,
5747 continue and raise keywords.
5748
5749 2013-06-01 Glenn Morris <rgm@gnu.org>
5750
5751 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5752
5753 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5754 * progmodes/cc-cmds.el (delete-forward-p):
5755 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5756 * progmodes/cc-engine.el (buffer-syntactic-context):
5757 * progmodes/cc-fonts.el (face-property-instance):
5758 * progmodes/cc-mode.el (set-keymap-parents):
5759 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5760 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5761 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5762 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5763 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5764
5765 * progmodes/cc-vars.el (other): Emacs has this widget since
5766 at least 21.1, so don't (re)define it.
5767
5768 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5769 Replace the obsolete alias pcomplete-arg-quote-list.
5770
5771 2013-06-01 Leo Liu <sdl.web@gmail.com>
5772
5773 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5774 punctuation syntax.
5775 (inferior-octave-minimal-columns)
5776 (inferior-octave-last-column-width): New variables.
5777 (inferior-octave-track-window-width-change): New function.
5778 (inferior-octave-mode): Adjust column width so that Octave output,
5779 for example from 'ls', can fit into the window nicely.
5780
5781 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5782
5783 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5784 Highlight expansions inside regexp literals.
5785
5786 2013-05-31 Glenn Morris <rgm@gnu.org>
5787
5788 * obsolete/sym-comp.el (symbol-complete):
5789 Replace obsolete completion-annotate-function.
5790
5791 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5792
5793 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5796 New function, checks if point is inside a literal that allows
5797 expression expansion.
5798 (ruby-syntax-propertize-expansion): Use it.
5799 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5800 around the body.
5801
5802 2013-05-30 Juri Linkov <juri@jurta.org>
5803
5804 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5805 to "\M-si".
5806 (isearch-invisible): New variable.
5807 (isearch-forward): Doc fix.
5808 (isearch-mode): Set `isearch-invisible'
5809 to the value of `search-invisible'.
5810 (isearch-toggle-case-fold): Doc fix.
5811 (isearch-toggle-invisible): New command.
5812 (isearch-query-replace): Let-bind `search-invisible'
5813 to the value of `isearch-invisible'.
5814 (isearch-search): Use `isearch-invisible' instead of
5815 `search-invisible'. Let-bind `search-invisible'
5816 to the value of `isearch-invisible'. (Bug#11378)
5817
5818 2013-05-30 Juri Linkov <juri@jurta.org>
5819
5820 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5821 call when `query-flag' is nil and `search-invisible' is non-nil.
5822 (Bug#11746)
5823
5824 2013-05-30 Glenn Morris <rgm@gnu.org>
5825
5826 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5827
5828 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5829 (cc-require): Suppress spurious "noruntime" warnings.
5830 (cc-require-when-compile): Use fboundp, for sake of compiler.
5831
5832 * progmodes/cc-mode.el: Move load of cc-vars before that of
5833 cc-langs (which in turn loads cc-vars), to quieten compiler.
5834
5835 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * paren.el: Simplify the code.
5838 (show-paren-mode): Always start the timer.
5839 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5840 (show-paren--overlay, show-paren--overlay-1): Rename from
5841 show-paren-overlay and show-paren-overlay-1, and initialize to an
5842 overlay rather than to nil.
5843 (show-paren-function): Misc cleanup and simplifications.
5844
5845 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * paren.el (show-paren-data-function): New hook.
5848 (show-paren--default): New function, extracted from show-paren-function.
5849 (show-paren-function): Use show-paren-data-function.
5850
5851 2013-05-30 Glenn Morris <rgm@gnu.org>
5852
5853 * ielm.el (ielm-map, ielm-complete-symbol):
5854 Use completion-at-point rather than obsolete functions.
5855 (inferior-emacs-lisp-mode): Doc fix.
5856 Set completion-at-point-functions, rather than
5857 comint-dynamic-complete-functions.
5858
5859 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5860 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5861 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5862
5863 * image.el (image-animated-p): Tweak definition.
5864
5865 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5866 (rlogin-process-connection-type): Tweak default. Add set-after.
5867 (rlogin-host): Doc fix.
5868 (rlogin): Tweak prompt.
5869 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5870
5871 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5872 * progmodes/tcl.el (inferior-tcl-mode-map):
5873 Use completion-at-point rather than obsolete alias.
5874
5875 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5876
5877 * minibuffer.el (read-file-name-completion-ignore-case):
5878 Move before completion--in-region, for eager macro expansion.
5879
5880 2013-05-29 Juri Linkov <juri@jurta.org>
5881
5882 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5883 for total count of matching lines. Add `global-matches' for total
5884 count of matches. Rename `matches' to `lines' for count of
5885 matching lines. Add `matches' for count of matches.
5886 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5887 to `prev-line' for line number of prev match endpt.
5888 Increment `matches' for every match. Print the number of
5889 matching lines in the header.
5890 (occur-context-lines): Rename `lines' to `curr-line'.
5891 Rename `prev-lines' to `prev-line'. (Bug#14017)
5892
5893 2013-05-29 Juri Linkov <juri@jurta.org>
5894
5895 * replace.el (perform-replace): Add `skip-read-only-count',
5896 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5897 Increment them for corresponding conditions and report the number
5898 of skipped occurrences in the final message. (Bug#11746)
5899 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5900 (replace-string, replace-regexp): Doc fix.
5901
5902 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5905
5906 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5907 prog-mode-map (bug#14504).
5908
5909 2013-05-29 Leo Liu <sdl.web@gmail.com>
5910
5911 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5912 (octave-help): Small simplification.
5913
5914 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5915 off the highlight first.
5916
5917 2013-05-29 Glenn Morris <rgm@gnu.org>
5918
5919 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5920 Handle idlwave-last-system-routine-info-cons-cell being nil.
5921
5922 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5923 (idlwave-write-paths): Simplify via with-temp-buffer.
5924
5925 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5926 * emulation/cua-rect.el: Also load cua-base at run time.
5927
5928 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5929 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5930 (cperl-imenu-on-info): Require imenu.
5931
5932 2013-05-28 Alan Mackenzie <acm@muc.de>
5933
5934 Handle "capitalised keywords" correctly.
5935 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5936
5937 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5938
5939 * eshell/em-unix.el: Add -r option to cp.
5940
5941 2013-05-28 Glenn Morris <rgm@gnu.org>
5942
5943 * vc/vc-arch.el (vc-exec-after): Declare.
5944 (vc-switches): Autoload.
5945 * vc/vc-bzr.el: No need to require vc when compiling.
5946 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5947 (vc-resynch-buffer, vc-dir-refresh): Declare.
5948 (vc-setup-buffer, vc-switches): Autoload.
5949 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5950 (vc-resynch-buffer): Declare.
5951 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5952 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5953 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5954 (grep-read-regexp, grep-read-files, grep-expand-template)
5955 (vc-dir-refresh): Declare.
5956 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5957 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5958 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5959 * vc/vc-mtn.el (vc-exec-after): Declare.
5960 (vc-switches): Autoload.
5961 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5962 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5963 (vc-file-tree-walk): Declare.
5964 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5965 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5966 (vc-tag-precondition, vc-rename-master): Autoload.
5967 * vc/vc-svn.el (vc-exec-after): Declare.
5968 (vc-switches, vc-setup-buffer): Autoload.
5969 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5970 Autoload.
5971 (vc-resynch-buffer): Declare.
5972
5973 * obsolete/fast-lock.el (byte-compile-warnings):
5974 Don't warn about obsolete features in this obsolete file.
5975
5976 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5977 Move definition before use.
5978
5979 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5980 (dun-unix-verbs): Remove dun-zippy.
5981 (dun-zippy): Remove function.
5982
5983 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5984
5985 2013-05-27 Juri Linkov <juri@jurta.org>
5986
5987 * replace.el (replace-search): New function with code moved out
5988 from `perform-replace'.
5989 (replace-highlight, replace-dehighlight): Move function definitions
5990 up closer to `replace-search'. (Bug#11746)
5991
5992 2013-05-27 Juri Linkov <juri@jurta.org>
5993
5994 * replace.el (perform-replace): Ignore invisible matches.
5995 In addition to checking `query-replace-skip-read-only', also
5996 filter out matches by calling `run-hook-with-args-until-failure'
5997 on `isearch-filter-predicates', and also check `search-invisible'
5998 for t or call `isearch-range-invisible'.
5999 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6000
6001 2013-05-27 Juri Linkov <juri@jurta.org>
6002
6003 * isearch.el (isearch-filter-predicates): Rename from
6004 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6005 (isearch-message-prefix): Display text from the property
6006 `isearch-message-prefix' of the currently active filters.
6007 (isearch-search): Don't compare `isearch-filter-predicate' with
6008 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6009 on `isearch-filter-predicates'. Also check `search-invisible' for t
6010 or call `isearch-range-invisible'.
6011 (isearch-filter-visible): Make obsolete.
6012 (isearch-lazy-highlight-search):
6013 Call `run-hook-with-args-until-failure' on
6014 `isearch-filter-predicates' and use `isearch-range-invisible'.
6015
6016 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6017 `isearch-filter-predicates' instead of `funcall'ing
6018 `isearch-filter-predicate'.
6019 (Info-mode): Set `Info-isearch-filter' to
6020 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6021
6022 * dired-aux.el (dired-isearch-filter-predicate-orig):
6023 Remove variable.
6024 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6025 (dired-isearch-filenames-end): Add and remove
6026 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6027 instead of changing the value of `isearch-filter-predicate'.
6028 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6029 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6030 Put property `isearch-message-prefix' to "filename " on
6031 `dired-isearch-filter-filenames'.
6032
6033 * wdired.el (wdired-change-to-wdired-mode):
6034 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6035 locally instead of changing `isearch-filter-predicate'.
6036 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6037
6038 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6039
6040 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6041 return the commit hash (Bug#14459). Also set the
6042 `vc-git-detached' property.
6043 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6044 (vc-git-mode-line-string): Use the same help-echo format whether
6045 in detached mode or not, because we know the actual revision now.
6046 When in detached mode, shorten the revision to 7 chars.
6047
6048 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * emacs-lisp/easy-mmode.el (define-minor-mode):
6051 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6052 mode hook and provide a docstring.
6053
6054 2013-05-27 Alan Mackenzie <acm@muc.de>
6055
6056 Remove spurious syntax-table text properties inserted by C-y.
6057 * progmodes/cc-mode.el (c-after-change): Also clear hard
6058 syntax-table property with value nil.
6059
6060 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6063 when reading the events; the buffer layout shall not be changed.
6064
6065 2013-05-27 Leo Liu <sdl.web@gmail.com>
6066
6067 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6068 New variable.
6069 (inferior-octave-directory-tracker): Automatically re-sync
6070 default-directory.
6071 (octave-help): Improve handling of 'See also'.
6072
6073 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * doc-view.el: Minor naming convention tweaks.
6076 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6077
6078 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6079 even if there's no `display' property yet (bug#14435).
6080
6081 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6082
6083 * subr.el (unmsys--file-name): Rename from reveal-filename.
6084
6085 * Makefile.in (custom-deps, finder-data, autoloads)
6086 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6087 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6088 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6089
6090 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6093 error-completion on the first 2 args of condition-case (bug#14446).
6094 Don't burp at EOB.
6095
6096 2013-05-25 Leo Liu <sdl.web@gmail.com>
6097
6098 * comint.el (comint-previous-matching-input): Do not flood the
6099 *Messages* buffer with trivial messages.
6100
6101 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * progmodes/flymake.el (flymake-nop): Don't return a string.
6104 (flymake-set-at): Fix typo.
6105
6106 * simple.el (read--expression): New function, extracted from
6107 eval-expression. Set completion-at-point-functions (bug#14465).
6108 (eval-expression, eval-minibuffer): Use it.
6109
6110 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6111
6112 * progmodes/flymake.el (flymake-save-buffer-in-file)
6113 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6114 (flymake-selected-frame, flymake-log, flymake-ins-after)
6115 (flymake-set-at, flymake-get-buildfile-from-cache)
6116 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6117 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6118 Refine the doc string.
6119 (flymake-get-file-name-mode-and-masks): Reformat.
6120 (flymake-get-real-file-name-function): Fix a minor bug.
6121
6122 2013-05-24 Juri Linkov <juri@jurta.org>
6123
6124 * progmodes/grep.el (grep-mode-font-lock-keywords):
6125 Support =linenumber= format used by git-grep for lines with
6126 function names. (Bug#13549)
6127
6128 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6131 0 after a semi-colon; it works better for smie-auto-fill.
6132 (octave--indent-new-comment-line): New function.
6133 (octave-indent-new-comment-line): Use it (indirectly).
6134 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6135 modify comment-line-break-function.
6136
6137 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6138 (smie-setup): Use add-function to set it.
6139
6140 2013-05-24 Sam Steingold <sds@gnu.org>
6141
6142 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6143 argument (before the `interactive' argument).
6144
6145 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * image-mode.el (image-mode-winprops): Add winprops to
6148 image-mode-winprops-alist before running
6149 image-mode-new-window-functions.
6150 * doc-view.el (doc-view-new-window-function): Don't delay
6151 doc-view-goto-page via timers (bug#14435).
6152
6153 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6154
6155 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6156 (doc-view-desktop-save-buffer): New function.
6157 (doc-view-restore-desktop-buffer): New function.
6158 (desktop-buffer-mode-handlers):
6159 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6160 handler.
6161 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6162 `desktop-save-buffer' function.
6163
6164 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6165
6166 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6167 (tramp-gvfs-file-name-handler): Raise a user error when
6168 `tramp-gvfs-enabled' is nil.
6169 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6170 Do not raise a user error when loading package. (Bug#14447)
6171
6172 * net/xesam.el: Move to obsolete/.
6173
6174 2013-05-24 Glenn Morris <rgm@gnu.org>
6175
6176 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6177
6178 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6179
6180 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6181 (Info-find-node, Man-getpage-in-background): Declare.
6182
6183 * mail/unrmail.el (unrmail):
6184 Replace obsolete detect-coding-with-priority.
6185
6186 * net/socks.el (socks-split-string): Use this rather than split-string.
6187 (socks-nslookup-host): Update for above change.
6188 (dynamic-choice, s5-dynamic-choice-match)
6189 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6190 Comment out unused code.
6191
6192 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6193 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6194 (gud-tooltip-echo-area): Make obsolete.
6195 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6196
6197 * progmodes/js.el (js--optimize-arglist): Declare.
6198
6199 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6200
6201 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6202 (ediff-window-C): Declare.
6203
6204 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6205 Tweak requires to silence compiler.
6206
6207 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6208 (he-search-string, he-tried-table, he-expand-list)
6209 (he-init-string, he-string-member, he-substitute-string)
6210 (he-reset-string): Declare.
6211
6212 * obsolete/options.el (list-options): Use custom-variable-p,
6213 rather than obsolete alias.
6214
6215 2013-05-23 Sam Steingold <sds@gnu.org>
6216
6217 * simple.el (shell-command-on-region): Pass the `replace' argument
6218 down to `call-process-region' to comply with the doc as reported on
6219 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6220
6221 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/smie.el (smie-indent-forward-token)
6224 (smie-indent-backward-token): Handle string tokens (bug#14381).
6225
6226 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6227
6228 * ielm.el (ielm-menu): New menu.
6229 (inferior-emacs-lisp-mode): Set comment-start.
6230
6231 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6232
6233 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6234 Fix deactivate action.
6235
6236 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6237 Add cleveref macros.
6238
6239 * lisp/textmodes/reftex-parse.el
6240 (reftex-locate-bibliography-files): Accept options for
6241 bibliography commands.
6242 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6243 Add addbibresource. Basic Biblatex support.
6244
6245 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6246
6247 * net/tramp-gvfs.el (top):
6248 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6249 when loading package. (Bug#14447)
6250
6251 2013-05-23 Glenn Morris <rgm@gnu.org>
6252
6253 * progmodes/js.el: No need to load comint when compiling.
6254 (ring-insert, comint-send-string, comint-send-input)
6255 (comint-last-input-end, ido-chop): Declare.
6256
6257 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6258 * vc/ediff-mult.el: Adjust requires.
6259 (ediff-directories-internal, ediff-directory-revisions-internal)
6260 (ediff-patch-file-internal): Declare.
6261 * vc/ediff-ptch.el: Adjust requires.
6262 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6263 (ediff-find-file): Autoload.
6264 * vc/ediff-util.el: No need to load ediff when compiling.
6265 (ediff-regions-internal): Declare.
6266 * vc/ediff-wind.el: Adjust requires.
6267 (ediff-compute-toolbar-width): Define when compiling.
6268 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6269 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6270 (dired-get-filename, dired-get-marked-files)
6271 (ediff-last-dir-patch, ediff-patch-default-directory)
6272 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6273 (ediff-patch-buffer-internal): Declare.
6274
6275 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6276 (ispell-process, ispell-buffer-local-words, lm-summary)
6277 (lm-section-start, lm-section-end): Declare.
6278 (checkdoc-ispell-init): Simplify.
6279
6280 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6281 (he-string-member, he-reset-string, he-substitute-string): Declare.
6282
6283 * eshell/em-ls.el: Adjust requires.
6284 (eshell-glob-regexp): Declare.
6285 * eshell/em-tramp.el: Adjust requires.
6286 (eshell-parse-command): Autoload.
6287 * eshell/em-xtra.el: Adjust requires.
6288 (eshell-parse-command): Autoload.
6289 * eshell/esh-ext.el: Adjust requires.
6290 (eshell-parse-command, eshell-close-handles): Autoload.
6291 * eshell/esh-io.el: Adjust requires.
6292 (eshell-output-filter): Autoload.
6293 * eshell/esh-util.el: No need to load tramp when compiling.
6294 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6295 Declare.
6296 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6297 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6298 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6299 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6300 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6301 * eshell/esh-opt.el, eshell/esh-proc.el:
6302 * eshell/esh-var.el: Adjust requires.
6303 * eshell/eshell.el: Do not require esh-util twice.
6304 (eshell-add-input-to-history): Declare.
6305 (eshell-command): Check history module is active before using it.
6306
6307 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6308
6309 2013-05-22 Leo Liu <sdl.web@gmail.com>
6310
6311 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6312
6313 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6314
6315 * autorevert.el (auto-revert-notify-add-watch)
6316 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6317 it indicates changes in file modification time.
6318
6319 2013-05-22 Glenn Morris <rgm@gnu.org>
6320
6321 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6322 Always delete the autoloaded function from the noruntime and
6323 unresolved functions lists.
6324
6325 * allout.el: No need to load epa, epg, overlay when compiling.
6326 (epg-context-set-passphrase-callback, epg-list-keys)
6327 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6328 (epg-key-user-id-list): Declare.
6329
6330 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6331 (viper-set-parsing-style-toggling-macro)
6332 (viper-set-emacs-state-searchstyle-macros):
6333 Use called-interactively-p on Emacs.
6334 (viper-looking-back): Make it an obsolete alias. Update callers.
6335 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6336 Use looking-back rather than viper-looking-back.
6337 (viper-tmp-insert-at-eob, viper-enlarge-region)
6338 (viper-read-string-with-history, viper-register-to-point)
6339 (viper-append-to-register, viper-change-state-to-vi)
6340 (viper-backward-char-carefully, viper-forward-char-carefully)
6341 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6342 (viper-change-state-to-emacs): Declare.
6343 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6344 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6345 * emulation/viper-mous.el: Do not load viper-cmd.
6346 (viper-backward-char-carefully, viper-forward-char-carefully)
6347 (viper-forward-word, viper-adjust-window): Declare.
6348
6349 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6350
6351 * progmodes/idlw-help.el (idlwave-help-fontify):
6352 Use called-interactively-p.
6353
6354 * term/w32console.el (w32-get-console-codepage)
6355 (w32-get-console-output-codepage): Declare.
6356
6357 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6358 Remove unnecessary declarations.
6359 (dframe-message): Doc fix.
6360
6361 * info.el (dframe-select-attached-frame, dframe-current-frame):
6362 Declare.
6363
6364 * speedbar.el (speedbar-message): Make it an obsolete alias.
6365 Update all callers.
6366 (speedbar-with-attached-buffer)
6367 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6368 (speedbar-with-writable): Use backquote.
6369 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6370 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6371 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6372 rather than speedbar- aliases.
6373 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6374 (speedbar-make-specialized-keymap, speedbar-insert-button)
6375 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6376 (speedbar-do-function-pointer): Declare.
6377 (rmail-speedbar-button, rmail-speedbar-find-file)
6378 (rmail-speedbar-move-message):
6379 Use dframe-with-attached-buffer rather than speedbar- alias.
6380 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6381 (dframe-message, speedbar-make-specialized-keymap)
6382 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6383 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6384 (speedbar-insert-button, dframe-select-attached-frame)
6385 (dframe-maybee-jump-to-attached-frame)
6386 (speedbar-change-initial-expansion-list)
6387 (speedbar-previously-used-expansion-list-name): Declare.
6388 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6389 Use dframe-message, dframe-with-attached-buffer rather than
6390 speedbar- aliases.
6391 (gud-sentinel): Silence compiler.
6392 * progmodes/vhdl-mode.el (speedbar-refresh)
6393 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6394 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6395 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6396 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6397 (speedbar-file-lists, speedbar-make-tag-line)
6398 (speedbar-line-directory, speedbar-goto-this-file)
6399 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6400 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6401 (speedbar-make-button, speedbar-reset-scanners)
6402 (speedbar-files-item-info, speedbar-line-text)
6403 (speedbar-find-file-in-frame, speedbar-set-timer)
6404 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6405 (speedbar-with-writable): Do not (re)define it.
6406 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6407 rather than speedbar- alias.
6408
6409 2013-05-21 Leo Liu <sdl.web@gmail.com>
6410
6411 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6412 menu items.
6413 (octave-mode): Tweak fill-nobreak-predicate.
6414 (inferior-octave-startup): Check process to avoid infinite loop.
6415 (inferior-octave): Pop to buffer first to show abornmal process
6416 exit information.
6417
6418 2013-05-21 Glenn Morris <rgm@gnu.org>
6419
6420 * printing.el (pr-menu-bar): Define when compiling.
6421
6422 2013-05-21 Leo Liu <sdl.web@gmail.com>
6423
6424 * progmodes/octave.el (octave-auto-fill): Remove.
6425 (octave-indent-new-comment-line): Improve.
6426 (octave-mode): Use auto fill mode through
6427 comment-line-break-function and fill-nobreak-predicate.
6428 (octave-goto-function-definition): Support DEFUN_DLD.
6429 (octave-beginning-of-defun): Small tweak.
6430 (octave-help): Show parent directory.
6431
6432 2013-05-21 Glenn Morris <rgm@gnu.org>
6433
6434 * files.el (dired-unmark):
6435 * progmodes/gud.el (gdb-input): Update declarations.
6436
6437 * calculator.el (electric, ehelp): No need to load when compiling.
6438 (Electric-command-loop, electric-describe-mode): Declare.
6439
6440 * doc-view.el (doc-view-current-converter-processes): Move before use.
6441
6442 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6443 Move MODE-set-explicitly definition before use.
6444
6445 * international/mule-diag.el (mule-diag):
6446 Don't use obsolete window-system-version.
6447
6448 * mail/feedmail.el (smtpmail): No need to load when compiling.
6449 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6450
6451 * mail/mail-utils.el (rfc822): No need to load when compiling.
6452 (rfc822-addresses): Autoload it.
6453 (mail-strip-quoted-names): Trivial simplification.
6454
6455 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6456 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6457
6458 * net/snmp-mode.el (tempo): Don't duplicate requires.
6459
6460 * progmodes/prolog.el (info): No need to load when compiling.
6461 (comint): Require before shell requires it.
6462 (Info-goto-node): Autoload it.
6463 (Info-follow-nearest-node): Declare.
6464 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6465
6466 * textmodes/artist.el (picture-mode-exit): Declare.
6467
6468 * textmodes/reftex-parse.el (reftex-parse-from-file):
6469 Trivial rewrite so the compiler can parse it better.
6470
6471 2013-05-20 Leo Liu <sdl.web@gmail.com>
6472
6473 * progmodes/octave.el (octave-help-mode-map)
6474 (octave-help-mode-finish-hook): New variables.
6475 (octave-help-mode, octave-help-mode-finish): New functions.
6476 (octave-help): Use octave-help-mode.
6477
6478 2013-05-20 Glenn Morris <rgm@gnu.org>
6479
6480 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6481
6482 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6483
6484 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6485 start at point, so that expansion starting right after opening
6486 slash in a regexp is recognized.
6487 (ruby-syntax-before-regexp-re): New defvar, extracted from
6488 ruby-syntax-propertize-function. Since the value of this regexp
6489 is looked up at runtime now, we should be able to turn
6490 `ruby-syntax-methods-before-regexp' into a defcustom later.
6491 (ruby-syntax-propertize-function): Split regexp matching into two
6492 parts, for opening and closing slashes. That allows us to skip
6493 over string interpolations and support multiline regexps.
6494 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6495 for them, which calls `ruby-syntax-propertize-expansion'.
6496 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6497 call to `ruby-syntax-propertize-function'.
6498 (ruby-syntax-propertize-expansion): Extracted from
6499 `ruby-syntax-propertize-expansions'. Handles one expansion.
6500 (ruby-syntax-propertize-percent-literal): Leave point right after
6501 the percent symbol, so that the expression expansion rule can
6502 propertize the contents.
6503 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6504 heredoc openers.
6505 (ruby-syntax-propertize-expansions): Remove.
6506
6507 2013-05-18 Juri Linkov <juri@jurta.org>
6508
6509 * man.el (Man-default-man-entry): Remove `-' from the end
6510 of the default value. (Bug#14400)
6511
6512 2013-05-18 Glenn Morris <rgm@gnu.org>
6513
6514 * comint.el (comint-password-prompt-regexp):
6515 Allow "password for XXX" where XXX contains colons (eg https://...).
6516
6517 2013-05-18 Leo Liu <sdl.web@gmail.com>
6518
6519 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6520 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6521 (octave-source-directories): Don't check process.
6522 (octave-source-directories, octave-find-definition): Doc fix.
6523
6524 2013-05-18 Glenn Morris <rgm@gnu.org>
6525
6526 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6527 Remove backspace/delete bindings. (Bug#14392)
6528
6529 * cus-dep.el (custom-make-dependencies): Sort the output.
6530 (custom-versions-load-alist): Convert comment to doc.
6531
6532 2013-05-17 Leo Liu <sdl.web@gmail.com>
6533
6534 * newcomment.el (comment-search-backward): Stricter in finding
6535 comment start. (Bug#14303)
6536
6537 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6538 (octave-comment-start-skip): Properly anchored.
6539
6540 2013-05-17 Leo Liu <sdl.web@gmail.com>
6541
6542 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6543 Clean up when turned off. (Bug#14395)
6544 (smie--highlight-matching-block-overlay): No longer buffer-local.
6545 (smie-highlight-matching-block): Adjust.
6546
6547 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6548
6549 Doc string fix for "nanoseconds" (Bug#14406).
6550 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6551 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6552
6553 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6554
6555 * calc/calc-units.el (math-extract-units): Preserve powers
6556 of units.
6557
6558 2013-05-17 Leo Liu <sdl.web@gmail.com>
6559
6560 * subr.el (delete-consecutive-dups): New function.
6561 * ido.el (ido-set-matches-1): Use it.
6562 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6563 * ido.el (ido-remove-consecutive-dups): Remove.
6564
6565 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6568 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6569 regexp-opt's `words'.
6570
6571 2013-05-16 Leo Liu <sdl.web@gmail.com>
6572
6573 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6574 (smie--highlight-matching-block-overlay)
6575 (smie--highlight-matching-block-lastpos)
6576 (smie--highlight-matching-block-timer): New variables.
6577 (smie-highlight-matching-block): New function.
6578 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6579 (smie-setup): Conditionally enable smie-blink-matching-open.
6580
6581 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6582
6583 Sync with upstream verilog-mode r840.
6584 * progmodes/verilog-mode.el (verilog-mode-version)
6585 (verilog-mode-release-date): Update.
6586 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6587 (verilog-sig-tieoff): Fix string error on
6588 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6589 (verilog-read-decls): Fix parameters confusing
6590 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6591
6592 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6593
6594 * subr.el (reveal-filename): New function.
6595
6596 * loadup.el: Compute Emacs executable versions on MS-Windows,
6597 where executables have the .exe extension. Add a hard link
6598 emacs-XX.YY.ZZ.exe on MS-Windows.
6599
6600 * Makefile.in (XARGS_LIMIT): New variable.
6601 (custom-deps, finder-data, autoloads)
6602 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6603 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6604 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6605 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6606
6607 2013-05-16 Leo Liu <sdl.web@gmail.com>
6608
6609 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6610 (octave-mode-menu, octave-mode-map): Remove its uses.
6611
6612 2013-05-16 Reto Zimmermann <reto@gnu.org>
6613
6614 Sync with upstream vhdl mode v3.34.2.
6615 * progmodes/vhdl-mode.el: Use `push' throughout.
6616 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6617 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6618 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6619 (vhdl-actual-generic-name): New option to derive actual generic name.
6620 (vhdl-port-paste-signals): Replace formal by actual generics.
6621 (vhdl-beautify): New name for old group vhdl-align. Update users.
6622 (vhdl-beautify-options): New option.
6623 (vhdl-last-input-event): New compat alias. Use throughout.
6624 (vhdl-goto-line): Replace user level function `goto-line'.
6625 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6626 vhdl-fix-statement-buffer.
6627 (vhdl-create-mode-menu): Add some entries.
6628 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6629 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6630 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6631 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6632 to force statements on one line.
6633 (vhdl-remove-trailing-spaces-region):
6634 New, split from vhdl-remove-trailing-spaces.
6635 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6636 Respect vhdl-beautify-options.
6637 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6638 (vhdl-update-sensitivity-list): Not add with index if exists without.
6639 Not include array index with signal. Ignore keywords in comments.
6640 (vhdl-get-visible-signals): Regexp tweaks.
6641 (vhdl-template-component-inst): Handle empty library.
6642 (vhdl-template-type): Add template for 'enum' type.
6643 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6644 Use vhdl-replace-string.
6645 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6646 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6647 (vhdl-speedbar-initialize): Update for above name change.
6648 (vhdl-compose-wire-components): Fix in handling of constants.
6649 (vhdl-error-regexp-emacs-alist): New variable.
6650 (vhdl-error-regexp-add-emacs): New function;
6651 adds support for new compile.el (Emacs 22+)
6652 (vhdl-generate-makefile-1): Change target order for single lib. units.
6653 Allow use of absolute file names.
6654
6655 2013-05-16 Leo Liu <sdl.web@gmail.com>
6656
6657 * simple.el (prog-indent-sexp): Indent enclosing defun.
6658
6659 2013-05-15 Glenn Morris <rgm@gnu.org>
6660
6661 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6662 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6663 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6664 (whitespace-highlight): Move to whitespace group.
6665
6666 * comint.el (comint-source):
6667 * pcmpl-linux.el (pcmpl-linux):
6668 * shell.el (shell-faces):
6669 * eshell/esh-opt.el (eshell-opt):
6670 * international/ccl.el (ccl): Remove empty custom groups.
6671
6672 * completion.el (dynamic-completion-mode):
6673 * jit-lock.el (jit-lock-debug-mode):
6674 * minibuffer.el (completion-in-region-mode):
6675 * type-break.el (type-break-mode-line-message-mode)
6676 (type-break-query-mode):
6677 * emulation/tpu-edt.el (tpu-edt-mode):
6678 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6679 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6680 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6681
6682 * term/xterm.el (xterm): Change parent group to terminals.
6683
6684 * master.el (master): Remove empty custom group.
6685 (master-mode): Remove unused :group argument.
6686 * textmodes/refill.el (refill): Remove empty custom group.
6687 (refill-mode): Remove unused :group argument.
6688
6689 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6690
6691 * cus-dep.el: Provide a feature.
6692 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6693 Don't mistakenly ignore files whose basenames match a basename
6694 from preloaded-file-list (eg cedet/ede/simple.el).
6695 Add a fallback method for getting :group.
6696
6697 2013-05-15 Juri Linkov <juri@jurta.org>
6698
6699 * isearch.el (isearch-char-by-name): Rename from
6700 `isearch-insert-char-by-name'. Doc fix.
6701 (isearch-forward): Mention `isearch-char-by-name' in
6702 the docstring. (Bug#13348)
6703
6704 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6705 `exit-minibuffer' instead of
6706 `isearch-nonincremental-exit-minibuffer'.
6707 (isearch-edit-string): Remove mention of
6708 `isearch-nonincremental-exit-minibuffer' from docstring.
6709 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6710 (isearch-forward-exit-minibuffer)
6711 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6712
6713 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * loadup.el: Just use unversioned DOC.
6716
6717 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6718 literals as extending to EOB.
6719 (nxml-last-fontify-end): Remove unused variable.
6720 (nxml-after-change1): Use with-silent-modifications.
6721 (nxml-extend-after-change-region): Simplify.
6722 (nxml-extend-after-change-region1): Remove function.
6723 (nxml-after-change1): Don't adjust for dependent regions.
6724 (nxml-fontify-matcher): Simplify.
6725 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6726 (xmltok-add-dependent): Remove function.
6727 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6728 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6729 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6730 unclosed <[[, <?, comment, and other literals as extending to EOB.
6731 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6732 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6733 Remove functions.
6734 (rng-do-some-validation-1): Don't mark dependent regions.
6735 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6736 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6737 (nxml-clear-dependent-regions): Remove functions.
6738 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6739 (nxml-ensure-scan-up-to-date):
6740 Don't clear&mark dependent regions.
6741
6742 2013-05-15 Leo Liu <sdl.web@gmail.com>
6743
6744 * progmodes/octave.el (octave-goto-function-definition):
6745 Improve and fix callers.
6746
6747 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6748
6749 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6750 the setter (bug#14387).
6751
6752 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6753 surrounding group (bug#14402).
6754
6755 2013-05-14 Juri Linkov <juri@jurta.org>
6756
6757 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6758 (Bug#14390)
6759
6760 2013-05-14 Glenn Morris <rgm@gnu.org>
6761
6762 * progmodes/f90.el (f90-imenu-generic-expression):
6763 Fix typo in 2013-05-08 change. (Bug#14402)
6764
6765 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6766
6767 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6768 Remove signals for which replies are never received.
6769
6770 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6771
6772 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6773 (gdb-handler-alist, gdb-handler-number): Remove variables.
6774 (gdb-handler-list): New variable.
6775 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6776 (gdb-pending-handler-p, gdb-handle-reply)
6777 (gdb-remove-all-pending-triggers): New functions.
6778 (gdb-discard-unordered-replies): New defcustom.
6779 (gdb-handler): New defstruct.
6780 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6781 instead of gdb-pending-triggers. Update docstring.
6782 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6783 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6784 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6785 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6786 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6787 (gdb-frame-handler): Pending triggers are now automatically managed.
6788 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6789 Remove argument.
6790 (gdb-input): Automatically handles pending triggers. Update docstring.
6791 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6792 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6793 Update comments.
6794 (gdb-done-or-error): Now use gdb-handle-reply.
6795
6796 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6797
6798 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6799 gdb-debug-log.
6800
6801 2013-05-14 Glenn Morris <rgm@gnu.org>
6802
6803 * subr.el (user-emacs-directory-warning): New option.
6804 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6805
6806 2013-05-14 Leo Liu <sdl.web@gmail.com>
6807
6808 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6809 during redisplay.
6810 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6811 (octave-font-lock-texinfo-comment): Fix invalid search bound
6812 error: wrong side of point.
6813
6814 2013-05-14 Glenn Morris <rgm@gnu.org>
6815
6816 * progmodes/flymake.el (flymake-xml-program): New option.
6817 (flymake-xml-init): Use it.
6818
6819 * term/xterm.el: Provide a feature.
6820
6821 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6822
6823 2013-05-13 Glenn Morris <rgm@gnu.org>
6824
6825 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6826 Add compat aliases as a hack workaround. (Bug#14384)
6827
6828 2013-05-13 Leo Liu <sdl.web@gmail.com>
6829
6830 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6831 ###, and %!.
6832 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6833 C-M-q.
6834 (octave-comment-start-skip): Include %!.
6835 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6836
6837 2013-05-12 Leo Liu <sdl.web@gmail.com>
6838
6839 * progmodes/octave.el (inferior-octave-startup): Store the value
6840 of __octave_srcdir__ for octave-source-directories.
6841 (inferior-octave-check-process): New function refactored out of
6842 inferior-octave-send-list-and-digest.
6843 (octave-source-directories)
6844 (octave-find-definition-filename-function): New variables.
6845 (octave-source-directories)
6846 (octave-find-definition-default-filename): New functions.
6847 (octave-find-definition): Improve to find functions implemented in C++.
6848
6849 2013-05-12 Glenn Morris <rgm@gnu.org>
6850
6851 * calendar/diary-lib.el (diary-outlook-format-1):
6852 Don't include dayname in the output. (Bug#14349)
6853
6854 2013-05-11 Glenn Morris <rgm@gnu.org>
6855
6856 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6857
6858 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6859 Treat cc-provide like provide.
6860
6861 2013-05-11 Kevin Ryde <user42@zip.com.au>
6862
6863 * cus-dep.el (custom-make-dependencies):
6864 Use generated-autoload-load-name for the sake of files such
6865 such cedet/semantic/bovine/c.el, where the base file name
6866 is not in load-path. (Bug#5277)
6867
6868 2013-05-11 Glenn Morris <rgm@gnu.org>
6869
6870 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6871 Provide features.
6872
6873 2013-05-11 Leo Liu <sdl.web@gmail.com>
6874
6875 * progmodes/octave.el (octave-indent-comment): Improve.
6876 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6877 (octave-eldoc-function-signatures, octave-eldoc-function):
6878 New functions.
6879 (octave-mode, inferior-octave-mode): Add eldoc support.
6880
6881 2013-05-11 Richard Stallman <rms@gnu.org>
6882
6883 * epa.el (epa-decrypt-file): Take output file name as argument
6884 and read it using `interactive'.
6885
6886 2013-05-11 Leo Liu <sdl.web@gmail.com>
6887
6888 * progmodes/octave.el (octave-beginning-of-line)
6889 (octave-end-of-line): Check before using up-list because it jumps
6890 out of more syntactic contructs since moving to smie.
6891 (octave-indent-comment): New function.
6892 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6893 (octave-begin-keywords, octave-end-keywords)
6894 (octave-reserved-words, octave-smie-bnf-table)
6895 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6896
6897 2013-05-11 Glenn Morris <rgm@gnu.org>
6898
6899 * faces.el (internal-face-x-get-resource):
6900 * frame.el (ns-display-monitor-attributes-list):
6901 * calc/calc-aent.el (math-to-radians-2):
6902 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6903 Fix declarations.
6904
6905 * calc/calc-menu.el: Make it loadable in isolation.
6906
6907 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6908 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6909 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6910 (eudc-bbdb-query-internal): Require 'bbdb.
6911
6912 * lpr.el (lpr-headers-switches):
6913 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6914
6915 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6916
6917 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6918
6919 * term.el (term-set-escape-char): Make it idempotent.
6920
6921 2013-05-10 Leo Liu <sdl.web@gmail.com>
6922
6923 * progmodes/octave.el (inferior-octave-completion-table):
6924 No longer a function and all uses changed. Use cache to speed up
6925 completion due to bug#11906.
6926 (octave-beginning-of-defun): Re-write to be more general.
6927
6928 2013-05-10 Glenn Morris <rgm@gnu.org>
6929
6930 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6931
6932 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * comint.el (comint-redirect-send-command-to-process): Use :around
6935 rather than :override for comint-redirect-filter.
6936 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6937 Call it instead of comint-redirect-original-filter-function (which
6938 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6939
6940 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6941
6942 * frame.el (display-monitor-attributes-list): Add NS case.
6943 (ns-display-monitor-attributes-list): Declare.
6944
6945 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6946
6947 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6948
6949 2013-05-09 Glenn Morris <rgm@gnu.org>
6950
6951 * international/fontset.el (vertical-centering-font-regexp):
6952 Set standard-value.
6953
6954 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6955
6956 * bookmark.el (bookmark-search-delay):
6957 * cus-start.el (vertical-centering-font-regexp):
6958 * ps-mule.el (ps-mule-font-info-database-default):
6959 * ps-print.el (ps-default-fg, ps-default-bg):
6960 * type-break.el (type-break-good-break-interval):
6961 * whitespace.el (whitespace-indentation-regexp)
6962 (whitespace-space-after-tab-regexp):
6963 * emacs-lisp/testcover.el (testcover-1value-functions)
6964 (testcover-noreturn-functions, testcover-progn-functions)
6965 (testcover-prog1-functions):
6966 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6967 * eshell/em-glob.el (eshell-glob-translate-alist):
6968 * play/tetris.el (tetris-tty-colors):
6969 * progmodes/cpp.el (cpp-face-default-list):
6970 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6971 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6972 (idlwave-help-browser-generic-args):
6973 * progmodes/make-mode.el (makefile-special-targets-list):
6974 * progmodes/python.el (python-shell-virtualenv-path):
6975 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6976 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6977 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6978 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6979 * textmodes/reftex-vars.el (reftex-format-label-function):
6980 * textmodes/remember.el (remember-diary-file): Fix custom types.
6981
6982 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6983 Add :version.
6984
6985 2013-05-09 Leo Liu <sdl.web@gmail.com>
6986
6987 * progmodes/octave.el (inferior-octave-completion-at-point):
6988 Restore file completion. (Bug#14300)
6989 (inferior-octave-startup): Fix incorrect highlighting for the
6990 first prompt.
6991
6992 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * progmodes/ruby-mode.el: First cut at SMIE support.
6995 (ruby-use-smie): New var.
6996 (ruby-smie-grammar): New constant.
6997 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6998 (ruby-smie--forward-token, ruby-smie--backward-token)
6999 (ruby-smie-rules): New functions.
7000 (ruby-mode-variables): Setup SMIE if applicable.
7001
7002 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7003
7004 * simple.el (line-move-visual): Signal beginning/end of buffer
7005 only if vertical-motion moved less than it was requested. Avoids
7006 silly incorrect error messages when there are display strings with
7007 multiple newlines at EOL.
7008
7009 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7012 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7013 (prolog-char-quote-workaround):
7014 * progmodes/cperl-mode.el (cperl-under-as-char):
7015 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7016 Mark as obsolete.
7017 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7018 their declaration.
7019 (vhdl-mode-syntax-table-init): Remove.
7020
7021 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7022 last change.
7023
7024 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7025 syntax for "_".
7026 (ld-script-font-lock-keywords):
7027 Change regexps to use things like \_< and \_>.
7028
7029 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7030 Change all regexps to use things like \_< and \_>.
7031
7032 * progmodes/autoconf.el (autoconf-definition-regexp)
7033 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7034 Handle a _ with symbol syntax.
7035 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7036
7037 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7038 Consolidate declaration.
7039 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7040 the declaration.
7041 (ada-create-syntax-table): Remove.
7042 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7043 already has the right syntax nowadays.
7044 (ada-goto-next-word): Don't change the syntax of "_".
7045
7046 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7047 with-wrapper-hook.
7048
7049 2013-05-08 Sam Steingold <sds@gnu.org>
7050
7051 * thingatpt.el (thing-at-point): Accept optional second argument
7052 NO-PROPERTIES to strip the text properties from the return value.
7053 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7054 to `thing-at-point' instead of stripping the properties ourselves.
7055 Also, when `thing-at-point' fails to find a url, prepend "http://"
7056 to the filename at point on the assumption that the user is
7057 pointing at something like gnu.org/gnu.
7058
7059 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7060
7061 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7062 * faces.el (crm-separator):
7063 Silence byte-compiler.
7064
7065 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7066 (tool-bar-map): Remove unneeded defvars.
7067
7068 2013-05-08 Leo Liu <sdl.web@gmail.com>
7069
7070 Re-work a fix for bug#10994 based on Le Wang's patch.
7071 * ido.el (ido-remove-consecutive-dups): New helper.
7072 (ido-completing-read): Use it.
7073 (ido-chop): Revert fix for bug#10994.
7074
7075 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7076
7077 * cus-edit.el (custom-save-variables):
7078 Pretty-print long values. (Bug#14187)
7079
7080 2013-05-08 Glenn Morris <rgm@gnu.org>
7081
7082 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7083 (m4-mode-syntax-table): Init in the defvar.
7084 (m4-mode-abbrev-table): Let define-derived-mode define it.
7085
7086 2013-05-08 Tom Tromey <tromey@redhat.com>
7087
7088 * progmodes/m4-mode.el (m4-mode-syntax-table):
7089 Do not treat "_" as word constituent. (Bug#14167)
7090
7091 2013-05-07 Glenn Morris <rgm@gnu.org>
7092
7093 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7094 Remove explicit eshell-isearch-cancel-map.
7095
7096 * progmodes/f90.el (f90-smart-end-names): New option.
7097 (f90-smart-end): Doc fix.
7098 (f90-end-block-optional-name): New constant.
7099 (f90-block-match): Respect f90-smart-end-names.
7100
7101 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7104 about implicit semi-colons (bug#14218).
7105
7106 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7107
7108 * frame.el (display-monitor-attributes-list)
7109 (frame-monitor-attributes): New functions.
7110
7111 2013-05-06 Leo Liu <sdl.web@gmail.com>
7112
7113 * progmodes/octave.el (octave-syntax-propertize-function): Change
7114 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7115 (octave-font-lock-keywords): Use octave-operator-regexp.
7116 (octave-completion-at-point): Rename from
7117 octave-completion-at-point-function.
7118 (inferior-octave-directory-tracker): Robustify.
7119 (octave-text-functions): Remove and fix its uses. No such things
7120 any more.
7121
7122 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * emacs-lisp/trace.el (trace--display-buffer): New function.
7125 (trace-make-advice): Use it.
7126
7127 2013-05-06 Juri Linkov <juri@jurta.org>
7128
7129 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7130 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7131 Doc fix.
7132 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7133 in the help string. (Bug#12985)
7134
7135 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7136
7137 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7138
7139 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7140
7141 * progmodes/perl-mode.el: Add support for here documents.
7142 (perl-syntax-propertize-function): Match here-doc markers.
7143 (perl-syntax-propertize-special-constructs): Find their end.
7144 (perl-imenu-generic-expression): Use [:alnum:].
7145
7146 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7147 (advice--add-function): Refresh the advice if already present
7148 (bug#14317).
7149
7150 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7151
7152 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7153
7154 2013-05-06 Glenn Morris <rgm@gnu.org>
7155
7156 * w32-fns.el (w32-charset-info-alist): Declare.
7157
7158 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7159 of its defcustom properties.
7160 (eshell-cmpl-initialize): No need to load pcomplete.
7161
7162 * generic-x.el: No need to require comint when compiling.
7163
7164 * net/eudc-export.el: Make it loadable without bbdb.
7165 (top-level): Use require rather than load-library.
7166 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7167 (eudc-batch-export-records-to-bbdb)
7168 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7169 Require bbdb.
7170
7171 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7174 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7175 some tweaks, instead.
7176
7177 2013-05-05 Leo Liu <sdl.web@gmail.com>
7178
7179 * progmodes/octave.el (octave-font-lock-keywords)
7180 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7181 (inferior-octave-send-list-and-digest): Improve error message.
7182 (octave-mode, inferior-octave-mode): Use setq-local.
7183 (octave-help): Set info-lookup-mode.
7184
7185 2013-05-05 Richard Stallman <rms@gnu.org>
7186
7187 * vc/compare-w.el (compare-windows-whitespace):
7188 Treat no-break space as whitespace.
7189
7190 * mail/rmailsum.el (rmail-summary-rmail-update):
7191 Detect empty summary and don't change selected message.
7192 (rmail-summary-goto-msg): Likewise.
7193
7194 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7195 Doc fixes, rename args.
7196
7197 2013-05-05 Alan Mackenzie <acm@muc.de>
7198
7199 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7200
7201 2013-05-05 Juri Linkov <juri@jurta.org>
7202
7203 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7204 to not add the length of the summary segment to the return value.
7205 (Bug#14125)
7206
7207 2013-05-05 Leo Liu <sdl.web@gmail.com>
7208
7209 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7210 (inferior-octave-output-filter): Remove.
7211 (octave-send-region, inferior-octave-startup): Fix callers.
7212 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7213 (octave-binary-file-extensions): New user variable.
7214 (octave-find-definition): Confirm if opening binary files.
7215 (octave-help-file): Use octave-find-definition to get the binary
7216 confirmation.
7217 (octave-help): Adjust for octave-help-file change.
7218
7219 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7222 Merge the two entries that handle function definitions.
7223 (pascal--syntax-propertize): New const.
7224 (pascal-mode): Use it. Use setq-local.
7225
7226 2013-05-04 Glenn Morris <rgm@gnu.org>
7227
7228 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7229 (diary-from-outlook): Respect diary-from-outlook-function.
7230
7231 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7234 Move the declaration from C.
7235 (read-minibuffer, eval-minibuffer): Move from C.
7236 (completion-setup-function): Avoid minibuffer-completion-contents.
7237
7238 2013-05-03 Leo Liu <sdl.web@gmail.com>
7239
7240 * progmodes/octave.el (octave-font-lock-keywords): Do not
7241 dehighlight 'end' in comments or strings.
7242 (octave-completing-read, octave-goto-function-definition):
7243 New helpers.
7244 (octave-help-buffer): New user variable.
7245 (octave-help-file, octave-help-function): New button types.
7246 (octave-help): New command and bind it to C-h ;.
7247 (octave-find-definition): New command and bind it to M-.
7248 (user-error): Alias to error if not defined.
7249
7250 2013-05-02 Leo Liu <sdl.web@gmail.com>
7251
7252 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7253 for \. (bug#14332)
7254 (octave-font-lock-keywords): Include [ and {.
7255
7256 2013-05-02 Leo Liu <sdl.web@gmail.com>
7257
7258 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7259 (inferior-octave): Remove calling comint-mode and return the buffer.
7260 (inferior-octave-startup): Cosmetic changes.
7261
7262 2013-05-02 Leo Liu <sdl.web@gmail.com>
7263
7264 * progmodes/octave.el (octave-syntax-propertize-function):
7265 Include the case when ' is at line beginning. (Bug#14336)
7266
7267 2013-05-02 Glenn Morris <rgm@gnu.org>
7268
7269 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7270 * desktop.el (vc-dir-mode): Just autoload it here.
7271
7272 2013-05-02 Alan Mackenzie <acm@muc.de>
7273
7274 Eliminate variable c-standard-font-lock-fontify-region-function.
7275 * progmodes/cc-mode.el
7276 (c-standard-font-lock-fontify-region-function): Remove.
7277 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7278
7279 2013-05-01 Leo Liu <sdl.web@gmail.com>
7280
7281 * progmodes/octave.el: Compatible with older emacs-24 releases.
7282 (inferior-octave-has-built-in-variables): Remove. Built-in
7283 variables were removed from Octave in 2007.
7284 (inferior-octave-startup): Fix uses.
7285 (comint-line-beginning-position): Remove compatibility code for
7286 emacs 21.
7287
7288 2013-05-01 Juri Linkov <juri@jurta.org>
7289
7290 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7291
7292 2013-05-01 Juri Linkov <juri@jurta.org>
7293
7294 * comint.el (comint-previous-matching-input): Don't print message
7295 "History item: %d" when `isearch-mode' is active.
7296 (comint-history-isearch-message): Print message "History item: %d"
7297 when `comint-input-ring-index' is not empty and this function is
7298 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7299
7300 2013-05-01 Leo Liu <sdl.web@gmail.com>
7301
7302 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7303 definitions. Use completion-at-point to insert keywords.
7304 (octave-abbrev-start): Remove.
7305 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7306
7307 2013-04-30 Leo Liu <sdl.web@gmail.com>
7308
7309 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7310 change.
7311
7312 2013-04-30 Alan Mackenzie <acm@muc.de>
7313
7314 Handle arbitrarily long C++ member initialisation lists.
7315 * progmodes/cc-engine.el (c-back-over-member-initializers):
7316 new function.
7317 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7318 (most) member init lists.
7319
7320 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7321
7322 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7323 variable.
7324
7325 2013-04-30 Leo Liu <sdl.web@gmail.com>
7326
7327 * progmodes/octave.el (octave-variables): Remove. No builtin
7328 variables any more. All converted to functions.
7329 (octave-font-lock-keywords, octave-completion-at-point-function):
7330 Fix uses.
7331 (octave-font-lock-texinfo-comment): New user variable.
7332 (octave-texinfo-font-lock-keywords): New variable for texinfo
7333 comment block.
7334 (octave-function-comment-block): New face.
7335 (octave-font-lock-texinfo-comment): New function.
7336 (octave-mode): Font lock texinfo comment block.
7337
7338 2013-04-29 Leo Liu <sdl.web@gmail.com>
7339
7340 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7341 indexing expression.
7342 (octave-continuation-string): Do not use \.
7343 (inferior-octave-complete-impossible): Remove.
7344 (inferior-octave-completion-table)
7345 (inferior-octave-completion-at-point): Remove its uses.
7346 (inferior-octave-startup): completion_matches was introduced to
7347 Octave in 1996 so safe to assume it.
7348 (octave-function-file-comment): Improve to follow how Octave does it.
7349 (octave-update-function-file-comment): Tweak.
7350
7351 2013-04-29 Leo Liu <sdl.web@gmail.com>
7352
7353 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7354 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7355 (octave-function-file-comment): Fix typo.
7356 (octave-sync-function-file-names): Use read-char-choice.
7357
7358 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7359
7360 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7361 to t for the less important warnings.
7362
7363 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7364
7365 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7366
7367 2013-04-27 Glenn Morris <rgm@gnu.org>
7368
7369 * vc/log-view.el (log-view-current-entry):
7370 Treat "---" separator lines as part of the following rev. (Bug#14169)
7371
7372 2013-04-27 Juri Linkov <juri@jurta.org>
7373
7374 * subr.el (read-number): Doc fix about using it by interactive
7375 code letter `n'. (Bug#14254)
7376
7377 2013-04-27 Juri Linkov <juri@jurta.org>
7378
7379 * desktop.el (desktop-auto-save-timeout): New option.
7380 (desktop-file-checksum): New variable.
7381 (desktop-save): Add optional arg `auto-save' and don't auto-save
7382 if nothing changed.
7383 (desktop-auto-save-timer): New variable.
7384 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7385 (after-init-hook): Call `desktop-auto-save-set-timer'.
7386 Suggested by Reuben Thomas <rrt@sc3d.org> in
7387 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7388
7389 2013-04-27 Leo Liu <sdl.web@gmail.com>
7390
7391 * progmodes/octave.el (octave-function-file-p)
7392 (octave-skip-comment-forward, octave-function-file-comment)
7393 (octave-update-function-file-comment): New functions.
7394 (octave-mode-map): Bind C-c ; to
7395 octave-update-function-file-comment.
7396 (octave-mode-menu): Add octave-update-function-file-comment.
7397 (octave-mode, inferior-octave-mode): Fix doc-string.
7398 (octave-insert-defun): Conform to Octave's coding convention.
7399 (Bug#14285)
7400
7401 * files.el (basic-save-buffer): Don't let errors in
7402 before-save-hook prevent saving buffer.
7403
7404 2013-04-20 Roland Winkler <winkler@gnu.org>
7405
7406 * faces.el (read-face-name): Use completing-read if arg multiple
7407 is nil.
7408
7409 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7410
7411 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7412 displayed, move point to after the totals line.
7413 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7414 for the details.
7415
7416 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7419 Add current dir to the load-path.
7420 (package-generate-autoloads): Don't rely on
7421 autoload-ensure-default-file.
7422
7423 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7424
7425 * textmodes/remember.el (remember-store-in-files): Document that
7426 the file name format is passed to `format-time-string'.
7427
7428 2013-04-26 Leo Liu <sdl.web@gmail.com>
7429
7430 * progmodes/octave.el (octave-sync-function-file-names): New function.
7431 (octave-mode): Use it in before-save-hook.
7432
7433 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7436 (bug#14274).
7437
7438 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7439 \n and comment, even if it's not an implicit ; (bug#14218).
7440
7441 2013-04-26 Glenn Morris <rgm@gnu.org>
7442
7443 * subr.el (read-number): Once more use `read' rather than
7444 `string-to-number', to trap non-numeric input. (Bug#14254)
7445
7446 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7447
7448 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7449 Use `syntax-multiline' text property consistently instead of
7450 `font-lock-multiline'. (Bug#14237)
7451
7452 2013-04-26 Glenn Morris <rgm@gnu.org>
7453
7454 * emacs-lisp/shadow.el (list-load-path-shadows):
7455 No longer necessary to check for duplicate simple.el, since
7456 2012-07-07 change to init_lread to not include installation lisp
7457 directories in load-path when running uninstalled. (Bug#14270)
7458
7459 2013-04-26 Leo Liu <sdl.web@gmail.com>
7460
7461 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7462 (octave-mode, inferior-octave-mode): Use setq-local.
7463 (octave-not-in-string-or-comment-p): Rename to
7464 octave-in-string-or-comment-p.
7465 (octave-in-comment-p, octave-in-string-p)
7466 (octave-in-string-or-comment-p): Replace defsubst with defun.
7467
7468 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7469
7470 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7471
7472 2013-04-25 Bastien Guerry <bzg@gnu.org>
7473
7474 * textmodes/remember.el (remember-data-directory)
7475 (remember-directory-file-name-format): Fix custom types.
7476
7477 2013-04-25 Leo Liu <sdl.web@gmail.com>
7478
7479 * progmodes/octave.el (octave-completion-at-point-function):
7480 Make use of inferior octave process.
7481 (octave-initialize-completions): Remove.
7482 (inferior-octave-completion-table): New function.
7483 (inferior-octave-completion-at-point): Use it.
7484 (octave-completion-alist): Remove.
7485
7486 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7489 (opascal-mode-syntax-table): New var.
7490 (opascal-literal-kind, opascal-is-literal-end)
7491 (opascal-literal-token-at): Rewrite.
7492 (opascal--literal-start-re, opascal-font-lock-keywords)
7493 (opascal--syntax-propertize): New constants.
7494 (opascal-font-lock-defaults): Adjust.
7495 (opascal-mode): Use them. Set comment-<foo> variables as well.
7496 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7497 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7498 (delphi-other-face, opascal-other-face): Remove face variables.
7499 (opascal-save-state): Remove macro.
7500 (opascal-fontifying-progress-step): Remove constant.
7501 (opascal--ignore-changes): Remove var.
7502 (opascal-set-token-property, opascal-parse-next-literal)
7503 (opascal-is-stable-literal, opascal-complete-literal)
7504 (opascal-is-literal-start, opascal-face-of)
7505 (opascal-parse-region, opascal-parse-region-until-stable)
7506 (opascal-fontify-region, opascal-after-change)
7507 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7508 (opascal-debug-parse-region, opascal-debug-parse-window)
7509 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7510 (opascal-debug-fontify-buffer): Remove.
7511 (opascal-debug-mode-map): Adjust accordingly.
7512
7513 2013-04-25 Leo Liu <sdl.web@gmail.com>
7514
7515 Merge octave-mod.el and octave-inf.el into octave.el with some
7516 cleanups.
7517 * progmodes/octave.el: New file renamed from octave-mod.el.
7518 * progmodes/octave-inf.el: Merged into octave.el.
7519 * progmodes/octave-mod.el: Renamed to octave.el.
7520
7521 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7522
7523 * textmodes/reftex-vars.el
7524 (reftex-label-ignored-macros-and-environments): New defcustom.
7525
7526 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7527
7528 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7531 (smie-indent-keyword): Improve the check to ensure that the next
7532 comment is really on the same line.
7533 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7534
7535 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7536 semi-colons if the line is not otherwise empty (bug#14218).
7537
7538 2013-04-25 Glenn Morris <rgm@gnu.org>
7539
7540 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7541
7542 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * progmodes/opascal.el (opascal-set-token-property): Rename from
7545 opascal-set-text-properties and only set `token' (bug#14134).
7546 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7547 (opascal-literal-text-properties): Remove.
7548 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7549 Adjust callers.
7550
7551 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7552
7553 * textmodes/remember.el (remember-handler-functions): Add an
7554 option for a new handler `remember-store-in-files'.
7555 (remember-data-directory, remember-directory-file-name-format):
7556 New options.
7557 (remember-store-in-files): New function to store remember notes
7558 as separate files within a directory.
7559
7560 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7561
7562 * progmodes/compile.el (compilation-next-error-function):
7563 Pass "formats" to compilation-find-file (bug#11777).
7564
7565 2013-04-24 Glenn Morris <rgm@gnu.org>
7566
7567 * vc/vc-bzr.el (vc-bzr-print-log):
7568 * vc/vc-hg.el (vc-hg-print-log):
7569 * vc/vc-svn.el (vc-svn-print-log):
7570 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7571
7572 * vc/vc-bzr.el (vc-bzr-print-log):
7573 * vc/vc-cvs.el (vc-cvs-print-log):
7574 * vc/vc-git.el (vc-git-print-log):
7575 * vc/vc-hg.el (vc-hg-print-log):
7576 * vc/vc-mtn.el (vc-mtn-print-log):
7577 * vc/vc-rcs.el (vc-rcs-print-log):
7578 * vc/vc-sccs.el (vc-sccs-print-log):
7579 * vc/vc-svn.el (vc-svn-print-log):
7580 * vc/vc.el (vc-print-log-internal): Doc fixes.
7581
7582 2013-04-23 Glenn Morris <rgm@gnu.org>
7583
7584 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7585 Remove venerable code attempting to avoid substitute-command-keys.
7586
7587 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7588
7589 * textmodes/reftex-vars.el (reftex-label-regexps):
7590 Call `reftex-compile-variables' after changes to this variable.
7591
7592 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7595 Use lexical-binding.
7596 (jit-lock-force-redisplay): Use markers, check buffer's continued
7597 existence and beware narrowed buffers.
7598 (jit-lock-fontify-now): Adjust call accordingly.
7599
7600 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7603 to avoid misleading the user.
7604
7605 2013-04-22 Leo Liu <sdl.web@gmail.com>
7606
7607 * info-look.el: Prefer latex2e.info. (Bug#14240)
7608
7609 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7610
7611 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7612
7613 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7614 * net/tramp.el (tramp-call-process): ... here.
7615 (tramp-set-completion-function, tramp-parse-putty):
7616 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7617 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7618 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7619 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7620 (tramp-call-local-coding-command): Use `tramp-call-process'
7621 instead of `tramp-compat-call-process'.
7622
7623 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7624 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7625 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7626 (tramp-find-inline-compress): Improve traces.
7627 (tramp-maybe-send-script): Check for Perl binary.
7628 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7629
7630 2013-04-22 Daiki Ueno <ueno@gnu.org>
7631
7632 * epg.el (epg-context-pinentry-mode): New function.
7633 (epg-context-set-pinentry-mode): New function.
7634 (epg--start): Pass --pinentry-mode option to gpg command.
7635
7636 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7637
7638 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7639 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7640 `completion-at-point'. (Bug#13774)
7641
7642 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7643 default key binding for `describe-distribution' has been moved to
7644 `C-h C-o'. (Bug#13970)
7645
7646 2013-04-21 Glenn Morris <rgm@gnu.org>
7647
7648 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7649 Add doc strings.
7650 (vc-print-log): Clarify interactive prompt.
7651
7652 2013-04-20 Glenn Morris <rgm@gnu.org>
7653
7654 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7655 No longer include timestamp etc information.
7656
7657 2013-04-20 Roland Winkler <winkler@gnu.org>
7658
7659 * faces.el (read-face-name): Bug fix, return just one face if arg
7660 multiple is nil. (Bug#14209)
7661
7662 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7665 (remove-function): Autoload.
7666
7667 * comint.el (comint-redirect-original-filter-function): Remove.
7668 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7669 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7670 (vc-cvs-annotate-command):
7671 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7672 * progmodes/prolog.el (prolog-consult-compile):
7673 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7674 Use add/remove-function instead.
7675 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7676 (gud-tooltip-process-output, gud-tooltip-tips):
7677 Use add/remove-function instead.
7678 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7679 (scheme-interaction-mode, exit-scheme-interaction-mode):
7680 Use add/remove-function instead.
7681
7682 * vc/vc-dispatcher.el: Use lexical-binding.
7683 (vc--process-sentinel): Rename from vc-process-sentinel.
7684 Change last arg to be the code to run. Don't use vc-previous-sentinel
7685 and vc-sentinel-commands any more.
7686 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7687 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7688
7689 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7690
7691 * progmodes/sh-script.el (sh-imenu-generic-expression):
7692 Handle function names with a single character. (Bug#14111)
7693
7694 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7695
7696 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7697 for subroutines defined in an eval (bug#14182).
7698
7699 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7700
7701 * bookmark.el (bookmark-completing-read): Improve handling of empty
7702 string (bug#14176).
7703
7704 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7707
7708 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7709
7710 New faster Imenu implementation (bug#14058).
7711 * progmodes/python.el:
7712 (python-imenu-prev-index-position):
7713 (python-imenu-format-item-label-function)
7714 (python-imenu-format-parent-item-label-function)
7715 (python-imenu-format-parent-item-jump-label-function):
7716 New vars.
7717 (python-imenu-format-item-label)
7718 (python-imenu-format-parent-item-label)
7719 (python-imenu-format-parent-item-jump-label)
7720 (python-imenu--put-parent, python-imenu--build-tree)
7721 (python-imenu-create-index, python-imenu-create-flat-index)
7722 (python-util-popn): New functions.
7723 (python-mode): Set imenu-create-index-function to
7724 python-imenu-create-index.
7725
7726 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7727
7728 * winner.el (winner-active-region): Use region-active-p, activate-mark
7729 and deactivate-mark (bug#14225).
7730
7731 * simple.el (deactivate-mark): Don't inline it.
7732
7733 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7736
7737 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7738
7739 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7740 file extensions from the archive-mode entry in order to prefer
7741 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7742
7743 2013-04-18 Leo Liu <sdl.web@gmail.com>
7744
7745 * bindings.el (help-event-list): Add ?\?.
7746
7747 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7748
7749 * subr.el (with-wrapper-hook): Declare obsolete.
7750 * simple.el (filter-buffer-substring-function): New hook.
7751 (filter-buffer-substring): Use it.
7752 (filter-buffer-substring-functions): Mark obsolete.
7753 * minibuffer.el (completion-in-region-function): New hook.
7754 (completion-in-region): Use it.
7755 (completion-in-region-functions): Mark obsolete.
7756 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7757 * abbrev.el (abbrev-expand-function): New hook.
7758 (expand-abbrev): Use it.
7759 (abbrev-expand-functions): Mark obsolete.
7760 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7761 and :filter-return.
7762
7763 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7764
7765 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7766 and do not care about match data.
7767
7768 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7771 completion tables when completing error conditions and
7772 `declare' arguments.
7773 (lisp-complete-symbol, field-complete): Mark as obsolete.
7774 (check-parens): Unmatched parens are user errors.
7775 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7776
7777 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7778
7779 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7780 command changed buffer (ie. `flyspell-pre-buffer' is not current
7781 buffer), which prevents making decisions based on invalid value of
7782 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7783 cause an error when `flyspell-pre-point' was nil after switching
7784 buffers.
7785 (flyspell-post-command-hook): No longer needs to change buffers when
7786 checking pre-word. While at it remove unnecessary progn.
7787
7788 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7789
7790 * textmodes/ispell.el (ispell-add-per-file-word-list):
7791 Fix `flyspell-correct-word-before-point' error when accepting
7792 words and `coment-padding' is an integer by using
7793 `comment-normalize-vars' (Bug #14214).
7794
7795 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7796
7797 New defun movement commands.
7798 * progmodes/python.el (python-nav--syntactically)
7799 (python-nav--forward-defun, python-nav-backward-defun)
7800 (python-nav-forward-defun): New functions.
7801
7802 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7803
7804 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7805 (python-syntax-context): Use named compiler-macro for backwards
7806 compatibility with Emacs 24.x.
7807
7808 2013-04-17 Leo Liu <sdl.web@gmail.com>
7809
7810 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7811 octave-hide-process-buffer.
7812
7813 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7816 (bug#14216).
7817
7818 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7819
7820 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7821 Fix adjustment of offset when receiving incomplete responses from GDB
7822 (bug#14129).
7823
7824 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7825
7826 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7827 python-mode-abbrev-table.
7828 (python-skeleton-define): Adjust accordingly.
7829 (python-mode-abbrev-table): New table that inherits from it so that
7830 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7831
7832 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7833 (abbrev-symbol): Use it.
7834 (abbrev--before-point): Use it since we already handle inheritance.
7835
7836 2013-04-16 Leo Liu <sdl.web@gmail.com>
7837
7838 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7839 binding to info-lookup-symbol.
7840
7841 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7842
7843 * minibuffer.el (completion--twq-all):
7844 * term/ns-win.el (ns-initialize-window-system):
7845 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7846
7847 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7850 global bindings.
7851
7852 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7853
7854 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7855
7856 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7857 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7858 to nil.
7859 (ruby-end-of-defun): Remove the unused arg, change the docstring
7860 to reflect that this function is only used as the value of
7861 `end-of-defun-function'.
7862 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7863 to reflect an earlier change that beginning/end-of-defun functions
7864 jump between methods in a class definition, as well as top-level
7865 functions.
7866
7867 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * minibuffer.el (minibuffer-complete): Don't just scroll
7870 a *Completions* that's been iconified.
7871 (minibuffer-force-complete): Make sure repetitions do cycle when going
7872 through completion-in-region -> minibuffer-complete.
7873
7874 2013-04-15 Alan Mackenzie <acm@muc.de>
7875
7876 Correct the placement of c-cpp-delimiters when there're #s not at
7877 col 0.
7878
7879 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7880 place a submatch around the #.
7881 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7882 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7883 on the #, not BOL.
7884
7885 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7886
7887 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7888 (advice--member-p): New arg `name'.
7889 (advice--add-function, advice-member-p): Use it (bug#14202).
7890
7891 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7892
7893 Reformulate java imenu-generic-expression.
7894 The old expression contained ill formed regexps.
7895
7896 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7897 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7898 (cc-imenu-java-method-arg-regexp): New defconsts.
7899 (cc-imenu-java-build-type-args-regex): New defun.
7900 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7901 handling of spaces in the regexp.
7902
7903 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7904
7905 * textmodes/ispell.el (ispell-command-loop): Remove
7906 flyspell highlight of a word when ispell accepts it (bug #14178).
7907
7908 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7909
7910 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7911 uses code from the previous `ange-ftp-run-real-handler'.
7912 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7913 only in case that function exist. This is needed for proper
7914 unloading of Tramp.
7915
7916 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7917
7918 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7919
7920 * textmodes/reftex.el (reftex-compile-variables): Use it.
7921
7922 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7923
7924 * files.el (normal-mode): Only use default major-mode if no other mode
7925 was specified.
7926
7927 * emacs-lisp/trace.el (trace-values): New function.
7928
7929 * files.el: Allow : in local variables (bug#14089).
7930 (hack-local-variable-regexp): New var.
7931 (hack-local-variables-prop-line, hack-local-variables): Use it.
7932
7933 2013-04-13 Roland Winkler <winkler@gnu.org>
7934
7935 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7936 data before it gets modified by bibtex-beginning-of-entry.
7937
7938 2013-04-13 Roland Winkler <winkler@gnu.org>
7939
7940 * textmodes/bibtex.el (bibtex-url): Doc fix.
7941
7942 2013-04-13 Roland Winkler <winkler@gnu.org>
7943
7944 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7945 does not visit a BibTeX file, exclude it from the list of buffers
7946 returned by bibtex-initialize.
7947
7948 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7949
7950 * window.el (split-window): Remove interactive form, since as a
7951 command this function is a special case of split-window-below.
7952 Correct doc string.
7953
7954 2013-04-12 Roland Winkler <winkler@gnu.org>
7955
7956 * faces.el (read-face-name): Do not override value of arg default.
7957 Allow single faces and strings as default values. Remove those
7958 elements from return value that are not faces.
7959 (describe-face): Simplify.
7960 (face-at-point): New optional args thing and multiple so that this
7961 function can provide the same functionality previously provided by
7962 read-face-name.
7963 (make-face-bold, make-face-unbold, make-face-italic)
7964 (make-face-unitalic, make-face-bold-italic, invert-face)
7965 (modify-face, read-face-and-attribute): Use face-at-point.
7966
7967 * cus-edit.el (customize-face, customize-face-other-window)
7968 * cus-theme.el (custom-theme-add-face)
7969 * face-remap.el (buffer-face-set)
7970 * facemenu.el (facemenu-set-face): Use face-at-point.
7971
7972 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7975
7976 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7977
7978 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7979 off leading { and trailing } from field values.
7980
7981 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * emacs-lisp/timer.el (timer--check): New function.
7984 (timer--time, timer-set-function, timer-event-handler): Use it.
7985 (timer-set-idle-time): Simplify.
7986 (timer--activate): CSE.
7987 (timer-event-handler): Give more info in error message.
7988 (internal-timer-start-idle): New function, moved from C.
7989
7990 * mpc.el (mpc-proc): Add `restart' argument.
7991 (mpc-proc-cmd): Use it.
7992 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7993 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7994 less often.
7995
7996 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7997
7998 * progmodes/sh-script.el: Implement `sh-mode' own
7999 `add-log-current-defun-function' (bug#14112).
8000 (sh-current-defun-name): New function.
8001 (sh-mode): Use the function.
8002
8003 2013-04-09 Bastien Guerry <bzg@gnu.org>
8004
8005 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8006
8007 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8010
8011 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8012 timer (bug#14156).
8013
8014 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8015
8016 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8017 declaration.
8018
8019 2013-04-07 Leo Liu <sdl.web@gmail.com>
8020
8021 * pcmpl-x.el: New file.
8022
8023 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8024
8025 Do not set x-display-name until X connection is established.
8026 This is needed to prevent from weird situation described at
8027 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8028 * frame.el (make-frame): Set x-display-name after call to
8029 window system initialization function, not before.
8030 * term/x-win.el (x-initialize-window-system): Add optional
8031 display argument and use it.
8032 * term/w32-win.el (w32-initialize-window-system):
8033 * term/ns-win.el (ns-initialize-window-system):
8034 * term/pc-win.el (msdos-initialize-window-system):
8035 Add compatible optional display argument.
8036
8037 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8038
8039 * files.el (normal-backup-enable-predicate): On MS-Windows and
8040 MS-DOS compare truenames of temporary-file-directory and of the
8041 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8042 don't fail comparison by compare-strings. Also, compare file
8043 names case-insensitively on MS-Windows and MS-DOS.
8044
8045 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8048 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8049
8050 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8051
8052 * whitespace.el (whitespace-color-on, whitespace-color-off):
8053 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8054
8055 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8056
8057 * ispell.el (ispell-set-spellchecker-params):
8058 Really set `ispell-args' for all equivs.
8059
8060 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * ido.el (ido-completions): Use extra elements of ido-decorations
8063 (bug#14143).
8064 (ido-decorations): Update docstring.
8065
8066 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8067
8068 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8069 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8070 nil during initialization, in order not to miss changes since the
8071 file was opened. (Bug#14140)
8072
8073 2013-04-05 Leo Liu <sdl.web@gmail.com>
8074
8075 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8076
8077 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8078
8079 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8080
8081 2013-04-04 Glenn Morris <rgm@gnu.org>
8082
8083 * electric.el (electric-pair-inhibit-predicate): Add :version.
8084
8085 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8088 when a package is required several times (bug#14082).
8089
8090 2013-04-04 Roland Winkler <winkler@gnu.org>
8091
8092 * faces.el (read-face-name): Behave as promised by the docstring.
8093 Assume that arg default is a list of faces.
8094 (describe-face): Call read-face-name with list of default faces.
8095
8096 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8097
8098 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8099 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8100 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8101 the header.
8102 (bookmark-exit-hook-internal): Save even if list is empty.
8103
8104 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8105
8106 * emacs-lisp/package.el (package-pinned-packages): New var.
8107 (package--add-to-archive-contents): Obey it (bug#14118).
8108
8109 2013-04-03 Alan Mackenzie <acm@muc.de>
8110
8111 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8112 Also adapt to the new values of element 7 of a parse state.
8113
8114 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8115 parameter `not-in-delimiter'. Handle being inside comment opener.
8116 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8117 character in case we're typing a '*' after a '/'.
8118 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8119 instead by passing the parameter to c-state-pp-to-literal.
8120
8121 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8122 for elt. 7 of a parse state.
8123
8124 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8125
8126 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8127 * international/latin1-disp.el, international/mule-util.el:
8128 * language/cyril-util.el, language/european.el, language/ind-util.el:
8129 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8130 * language/tibetan.el, language/viet-util.el:
8131 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8132
8133 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8136 (electric-pair-post-self-insert-function): Use it.
8137 (electric-pair-default-inhibit): New function, extracted from
8138 electric-pair-post-self-insert-function.
8139
8140 2013-03-31 Roland Winkler <winkler@gnu.org>
8141
8142 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8143
8144 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8147
8148 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8149
8150 Un-indent after "pass" and "return" statements (Bug#13888)
8151 * progmodes/python.el (python-indent-block-enders): New var.
8152 (python-indent-calculate-indentation): Use it.
8153
8154 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8155
8156 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8157 defun. Defining it as defalias could introduce too eager
8158 byte-compiler optimization. (Bug#14030)
8159
8160 2013-03-30 Chong Yidong <cyd@gnu.org>
8161
8162 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8163
8164 2013-03-30 Leo Liu <sdl.web@gmail.com>
8165
8166 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8167 (kmacro-execute-from-register): Pass the keyboard macro to
8168 kmacro-call-macro or repeating won't work correctly.
8169
8170 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8171
8172 * progmodes/subword.el: Back to using `forward-symbol'.
8173
8174 * subr.el (forward-whitespace, forward-symbol)
8175 (forward-same-syntax): Move from thingatpt.el.
8176
8177 2013-03-29 Leo Liu <sdl.web@gmail.com>
8178
8179 * kmacro.el (kmacro-to-register): New command.
8180 (kmacro-execute-from-register): New function.
8181 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8182
8183 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * mpc.el: Use defvar-local and setq-local.
8186 (mpc--proc-connect): Connection failures are not bugs.
8187 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8188 (mpc-volume-map): Bind to the up-events.
8189
8190 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8191
8192 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8193 instead of `forward-symbol'.
8194
8195 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8198 (edebug--recursive-edit): Use it.
8199 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8200 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8201
8202 2013-03-28 Leo Liu <sdl.web@gmail.com>
8203
8204 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8205
8206 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8207
8208 * facemenu.el (list-colors-callback): New defvar.
8209 (list-colors-redisplay): New function.
8210 (list-colors-display): Install list-colors-redisplay as the
8211 revert-buffer-function. (Bug#14063)
8212
8213 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8216 and suffixes don't overlap (bug#14061).
8217
8218 * case-table.el: Use lexical-binding.
8219 (case-table-get-table): New function.
8220 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8221
8222 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8223
8224 * progmodes/subword.el: Add `superword-mode' to do word motion
8225 over symbol_words (parallels and leverages `subword-mode' which
8226 does word motion inside MixedCaseWords).
8227
8228 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8229
8230 * eshell/em-unix.el: Move su and sudo to...
8231 * eshell/em-tramp.el: ...Eshell tramp module.
8232
8233 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8236 Change return value to be a sexp. Delay `get-buffer' to after
8237 restoring the desktop (bug#13951).
8238
8239 2013-03-26 Leo Liu <sdl.web@gmail.com>
8240
8241 * register.el: Move semantic tag handling back to
8242 cedet/semantic/senator.el. (Bug#14052)
8243
8244 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8247 into the prompt either (bug#13963).
8248
8249 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8252 part of "(error-foo)".
8253
8254 2013-03-24 Juri Linkov <juri@jurta.org>
8255
8256 * replace.el (list-matching-lines-prefix-face): New defcustom.
8257 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8258 `occur-engine' if `face-differs-from-default-p' returns t.
8259 (occur-engine): Add `,' inside backquote construct to evaluate
8260 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8261 Pass `prefix-face' to the functions `occur-context-lines' and
8262 `occur-engine-add-prefix'.
8263 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8264 `prefix-face' and propertize the prefix with `prefix-face'.
8265 (Bug#14017)
8266
8267 2013-03-24 Leo Liu <sdl.web@gmail.com>
8268
8269 * nxml/rng-valid.el (rng-validate-while-idle)
8270 (rng-validate-quick-while-idle): Guard against deleted buffer.
8271 (Bug#13999)
8272
8273 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8274 is the last entry in kill-buffer-hook.
8275
8276 * files.el (kill-buffer-hook): Doc fix.
8277
8278 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8279
8280 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8281 Make it safe-local.
8282
8283 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8284
8285 2013-03-23 Leo Liu <sdl.web@gmail.com>
8286
8287 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8288 Remove.
8289
8290 * nxml/rng-valid.el (rng-validate-mode)
8291 (rng-after-change-function, rng-do-some-validation):
8292 * nxml/rng-maint.el (rng-validate-buffer):
8293 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8294 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8295 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8296 (nxml-extend-after-change-region): Use with-silent-modifications.
8297
8298 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8299 timer-idle-list.
8300
8301 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8302 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8303 timer-idle-list. (Bug#13999)
8304
8305 2013-03-23 Juri Linkov <juri@jurta.org>
8306
8307 * info.el (info-index-match): New face.
8308 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8309 main pattern and add text properties with the new face to matches
8310 in index entries relative to the beginning of the index entry.
8311 (Bug#14015)
8312
8313 2013-03-21 Eric Ludlam <zappo@gnu.org>
8314
8315 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8316 Inhibit read only while inserting objects.
8317
8318 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8319
8320 * progmodes/cfengine.el: Update docs to mention
8321 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8322 symbol motion. Remove "_" from the word syntax.
8323
8324 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8325
8326 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8327 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8328
8329 2013-03-20 Juri Linkov <juri@jurta.org>
8330
8331 * info.el (Info-next-reference-or-link)
8332 (Info-prev-reference-or-link): New functions.
8333 (Info-next-reference, Info-prev-reference): Use them.
8334 (Info-try-follow-nearest-node): Handle footnote navigation.
8335 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8336
8337 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8340 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8341
8342 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8343
8344 Suppress unnecessary non-ASCII chatter during build process.
8345 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8346 (batch-skkdic-convert): Suppress most of the chatter.
8347 It's not needed so much now that machines are faster,
8348 and its non-ASCII component was confusing; see Dmitry Gutov in
8349 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8350
8351 2013-03-20 Leo Liu <sdl.web@gmail.com>
8352
8353 * ido.el (ido-chop): Fix bug#10994.
8354
8355 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8356
8357 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8358 Remove vars.
8359 (whitespace-color-on, whitespace-color-off):
8360 Use `font-lock-fontify-buffer' (Bug#13817).
8361
8362 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8365 remapping in mode-line.
8366 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8367
8368 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8369
8370 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8371 value for `whitespace-line' face (Bug#13875).
8372 (whitespace-font-lock-keywords): Change description.
8373 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8374 the constructed keywords instead.
8375 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8376
8377 2013-03-19 Leo Liu <sdl.web@gmail.com>
8378
8379 * progmodes/compile.el (compilation-display-error): New command.
8380 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8381 C-o. (Bug#13992)
8382
8383 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8384
8385 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8386
8387 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8388
8389 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8390
8391 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8392
8393 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8394
8395 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8396 * net/tramp-gvfs.el (top):
8397 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8398 (tramp-handle-shell-command): Use it.
8399 (tramp-dissect-file-name): Raise an error when hostname is a
8400 method name, and neither method nor user is specified.
8401
8402 * net/trampver.el: Update release number.
8403
8404 2013-03-18 Leo Liu <sdl.web@gmail.com>
8405
8406 Make sure eldoc can be turned off properly.
8407 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8408 eldoc-mode.
8409 (eldoc-display-message-p): Revert last change.
8410 (eldoc-display-message-no-interference-p)
8411 (eldoc-print-current-symbol-info): Tweak.
8412
8413 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8414
8415 * doc-view.el (doc-view-new-window-function): Check the new window
8416 overlay's display property instead the char property of the
8417 buffer's first char. Use `with-selected-window' instead of
8418 `save-window-excursion' with `select-window'.
8419 (doc-view-document->bitmap): Check the current doc-view overlay's
8420 display property instead the char property of the buffer's first char.
8421
8422 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8423
8424 Automate the build of ja-dic.el (Bug#13984).
8425 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8426 from the input, rather than assume that it's been done for us by the
8427 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8428 the current date into a ja-dic.el comment, as that complicates
8429 regression testing.
8430
8431 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * whitespace.el: Fix double evaluation.
8434 (whitespace-space, whitespace-hspace, whitespace-tab)
8435 (whitespace-newline, whitespace-trailing, whitespace-line)
8436 (whitespace-space-before-tab, whitespace-indentation)
8437 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8438 obsolete defvars.
8439 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8440 (whitespace-color-on): Use a single font-lock-add-keywords call.
8441 Fix double-evaluation of face variables.
8442
8443 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8444
8445 * net/tramp-adb.el (tramp-adb-parse-device-names):
8446 Use `start-process' instead of `call-process'. Otherwise, the
8447 function might be blocked under MS Windows. (Bug#13299)
8448
8449 2013-03-17 Leo Liu <sdl.web@gmail.com>
8450
8451 Extend eldoc to display info in the mode-line. (Bug#13978)
8452 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8453 (eldoc-mode-line-string): New variable.
8454 (eldoc-minibuffer-message): New function.
8455 (eldoc-message-function): New variable.
8456 (eldoc-message): Use it.
8457 (eldoc-display-message-p)
8458 (eldoc-display-message-no-interference-p):
8459 Support eldoc-post-insert-mode.
8460
8461 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8462 (eval-expression): Run it.
8463
8464 2013-03-17 Roland Winkler <winkler@gnu.org>
8465
8466 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8467 strings in the list of return values.
8468
8469 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8470
8471 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8472 radix before checking for HMS forms.
8473
8474 2013-03-16 Leo Liu <sdl.web@gmail.com>
8475
8476 * progmodes/scheme.el: Add indentation and font-locking for λ.
8477 (Bug#13975)
8478
8479 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8480
8481 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8482 token before point (bug#13942).
8483
8484 2013-03-16 Leo Liu <sdl.web@gmail.com>
8485
8486 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8487
8488 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8489
8490 * startup.el (command-line-normalize-file-name): Fix handling of
8491 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8492 <xfq.free@gmail.com> in
8493 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8494
8495 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8496
8497 Sync with Tramp 2.2.7.
8498
8499 * net/trampver.el: Update release number.
8500
8501 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8502
8503 * doc-view.el: Fix bug#13887.
8504 (doc-view-insert-image): Don't modify overlay associated to
8505 non-live windows, and implement horizontal centering of image in
8506 case it's smaller than the window.
8507 (doc-view-new-window-function): Force redisplay of new windows on
8508 doc-view buffers.
8509
8510 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8511
8512 * saveplace.el (save-place-alist-to-file): Don't sort
8513 `save-place-alist', just pretty-print it (bug#13882).
8514
8515 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8516
8517 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8518 Check whether `default-file-name-coding-system' is bound.
8519 It isn't in XEmacs.
8520
8521 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8524 backquotes for `obsolete' (bug#13929).
8525
8526 * international/mule.el (find-auto-coding): Include file name in
8527 obsolescence warning (bug#13922).
8528
8529 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8530
8531 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8532 for CFEngine 3-specific indentation.
8533 (cfengine3-indent-line): Use it. Fix up category regex.
8534 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8535
8536 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * type-break.el (type-break-file-name):
8539 * textmodes/remember.el (remember-data-file):
8540 * strokes.el (strokes-file):
8541 * shadowfile.el (shadow-initialize):
8542 * saveplace.el (save-place-file):
8543 * ps-bdf.el (bdf-cache-file):
8544 * progmodes/idlwave.el (idlwave-config-directory):
8545 * net/quickurl.el (quickurl-url-file):
8546 * international/kkc.el (kkc-init-file-name):
8547 * ido.el (ido-save-directory-list-file):
8548 * emulation/viper.el (viper-custom-file-name):
8549 * emulation/vip.el (vip-startup-file):
8550 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8551 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8552
8553 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8554
8555 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8556 * language/thai-word.el: Switch to UTF-8.
8557
8558 See ChangeLog.16 for earlier changes.
8559
8560 ;; Local Variables:
8561 ;; coding: utf-8
8562 ;; End:
8563
8564 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8565
8566 This file is part of GNU Emacs.
8567
8568 GNU Emacs is free software: you can redistribute it and/or modify
8569 it under the terms of the GNU General Public License as published by
8570 the Free Software Foundation, either version 3 of the License, or
8571 (at your option) any later version.
8572
8573 GNU Emacs is distributed in the hope that it will be useful,
8574 but WITHOUT ANY WARRANTY; without even the implied warranty of
8575 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8576 GNU General Public License for more details.
8577
8578 You should have received a copy of the GNU General Public License
8579 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.