Fix indentation/fontification of Java enum with "implements"/generic.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-13 Alan Mackenzie <acm@muc.de>
2
3 Fix indentation/fontification of Java enum with
4 "implements"/generic.
5
6 * progmodes/cc-engine.el (c-backward-over-enum-header): Extracted
7 from the three other places and enhanced to handle generics.
8 (c-inside-bracelist-p): Uses new function above.
9 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10 function above.
11 (c-font-lock-enum-tail): Uses new function above.
12
13 2013-10-13 Kenichi Handa <handa@gnu.org>
14
15 * international/mule-cmds.el (select-safe-coding-system): Remove a
16 superfluous condition in chekcing whether a coding system is safe
17 or not.
18
19 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
20
21 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
22
23 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
24
25 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
26
27 2013-10-13 Glenn Morris <rgm@gnu.org>
28
29 * menu-bar.el (menu-bar-update-buffers):
30 Unify Buffers menu prompt string. (Bug#15576)
31
32 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
33
34 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
35 Add some entries.
36 (authors-fixed-entries): Use accented form of name.
37
38 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
41 method calls (bug#bug#15594).
42 (ruby-smie--args-separator-p): New function.
43 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
44 recognize paren-free method calls.
45
46 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
47 internals of universal-argument.
48
49 2013-10-11 Eli Zaretskii <eliz@gnu.org>
50
51 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
52 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
53 dropped menu on second mouse click on the menu bar.
54
55 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
58 (explicit-shell-file-name): Declare.
59 (sh--vars-before-point, sh--cmd-completion-table): New functions.
60 (sh-completion-at-point-function): New function.
61 (sh-mode): Use it.
62 (sh-smie--keyword-p): Remove unused argument.
63 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
64 vars.
65 (sh-set-shell): Always setup SMIE, even if we use the
66 old indentation code.
67
68 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
69
70 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
71 cases of ? and =.
72 (ruby-smie-rules): Simplify the "do" rule. The cases when the
73 predicate would return nil are almost non-existent.
74 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
75
76 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
77 cache also after commands that modify the buffer but don't move
78 point.
79
80 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * env.el (substitute-env-in-file-name): New function.
83 (substitute-env-vars): Extend the meaning of the optional arg.
84
85 2013-10-10 Eli Zaretskii <eliz@gnu.org>
86
87 * term/w32-win.el (dynamic-library-alist): Define separate lists
88 of GIF DLLs for versions before and after 5.0.0 of giflib.
89 (Bug#15531)
90
91 2013-10-10 João Távora <joaotavora@gmail.com>
92
93 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
94 not locked, use last revision and current source as
95 defaults. (Bug#15569)
96
97 2013-10-10 Masatake YAMATO <yamato@redhat.com>
98
99 * menu-bar.el (menu-bar-open): Don't use popup-menu if
100 menu-bar is hidden.
101
102 2013-10-10 Martin Rudalics <rudalics@gmx.at>
103
104 * window.el (pop-to-buffer-same-window): Fix doc-string.
105 (Bug#15492)
106
107 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
110
111 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
112
113 * calendar/icalendar.el (icalendar-import-file):
114 Fix interactive spec. (Bug#15482)
115
116 2013-10-10 Glenn Morris <rgm@gnu.org>
117
118 * desktop.el (desktop-save): Default to saving in .emacs.d,
119 since PWD is no longer in desktop-path by default. (Bug#15319)
120
121 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
122 now that text mode has a menu with the same entry.
123 (menu-bar-text-mode-auto-fill): Remove now unused func.
124 * textmodes/text-mode.el (text-mode-map):
125 Use auto-fill help text from menu-bar.el.
126
127 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
128
129 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
130
131 2013-10-09 Juri Linkov <juri@jurta.org>
132
133 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
134 instead of this-command-keys. Add universal-argument-more and
135 universal-argument-minus to the list of prefix commands. (Bug#15568)
136
137 2013-10-09 Glenn Morris <rgm@gnu.org>
138
139 * vc/vc-svn.el (vc-svn-create-repo):
140 Expand paths in file://... url. (Bug#15446)
141
142 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
143 Add some entries.
144 (authors): Remove unused local variables.
145
146 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * profiler.el: Create a more coherent calltree from partial backtraces.
149 (profiler-format): Hide the tail with `invisible' so that C-s can still
150 find the hidden elements.
151 (profiler-calltree-depth): Don't recurse so enthusiastically.
152 (profiler-function-equal): New hash-table-test.
153 (profiler-calltree-build-unified): New function.
154 (profiler-calltree-build): Use it.
155 (profiler-report-make-name-part): Indent the calltree less.
156 (profiler-report-mode): Add visibility specs for profiler-format.
157 (profiler-report-expand-entry, profiler-report-toggle-entry):
158 Expand the whole subtree when provided with a prefix arg.
159
160 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
161
162 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
163 iuwu-mod token.
164 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
165 hanging iuwu-mod token.
166 (ruby-smie--forward-token): Do not include a dot after a token in
167 that token.
168 (ruby-smie--backward-token): Likewise.
169
170 2013-10-08 Juri Linkov <juri@jurta.org>
171
172 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
173 to isearch-other-control-char.
174 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
175 and isearch-post-command-hook to post-command-hook.
176 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
177 and isearch-post-command-hook from post-command-hook.
178 (isearch-unread-key-sequence)
179 (isearch-reread-key-sequence-naturally)
180 (isearch-lookup-scroll-key, isearch-other-control-char)
181 (isearch-other-meta-char): Remove functions.
182 (isearch-pre-command-hook, isearch-post-command-hook):
183 New functions based on isearch-other-meta-char rewritten
184 relying on the new behavior of overriding-terminal-local-map
185 that does not replace the local keymaps any more. (Bug#15200)
186
187 2013-10-08 Eli Zaretskii <eliz@gnu.org>
188
189 Support menus on text-mode terminals.
190 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
191 functionality.
192
193 * tooltip.el (tooltip-mode): Don't error out on TTYs.
194
195 * menu-bar.el (popup-menu, popup-menu-normalize-position): Moved
196 here from mouse.el.
197 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
198 and arrow keys.
199 (tty-menu-navigation-map): New map for TTY menu navigation.
200
201 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
202
203 * frame.el (display-mouse-p): Report text-mode mouse as available
204 on w32.
205 (display-popup-menus-p): Report availability if mouse is
206 available; don't condition on window-system.
207
208 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
209 (tty-menu-selected-face): New faces.
210
211 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
214 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
215 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
216 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
217 New constants.
218 (lisp-mode-variables): New `elisp' argument.
219 (emacs-lisp-mode): Use it.
220 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
221 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
222
223 * indent.el: Use lexical-binding.
224 (indent-region): Add progress reporter.
225 (tab-stop-list): Make it implicitly extend to infinity by repeating the
226 last step.
227 (indent--next-tab-stop): New function to implement this behavior.
228 (tab-to-tab-stop, move-to-tab-stop): Use it.
229
230 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
231
232 * indent.el (indent-rigidly--current-indentation): New function.
233 (indent-rigidly-map): New var.
234 (indent-rigidly): Use it to provide interactive mode (bug#8196).
235
236 2013-10-08 Bastien Guerry <bzg@gnu.org>
237
238 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
239
240 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * progmodes/perl-mode.el: Use lexical-binding.
243 Remove redundant :group args.
244 (perl-nochange): Change default to be closer to other major modes's
245 standard behavior.
246 (perl-indent-line): Don't consider text on current line as a
247 valid beginning of function from which to indent.
248
249 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
250 with more than one argument (bug#15538).
251
252 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
253
254 * vc/pcvs.el: Use lexical-binding.
255 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
256 environment of `eval'.
257 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
258 than a list of expressions. Adjust callers.
259 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
260
261 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
262
263 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
264 case of the dot in a chained method call being on the following line.
265
266 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * electric.el (electric-indent-inhibit): New var.
269 (electric-indent-post-self-insert-function): Use it.
270 * progmodes/python.el (python-mode): Set it.
271
272 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
273 open braces.
274
275 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
276
277 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
278 (css-mode): Use electric-indent-chars.
279
280 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
281 (font-lock-beg, font-lock-end): Move before first use.
282 (nxml-mode): Use syntax-propertize-function.
283 (nxml-after-change, nxml-after-change1): Adjust accordingly.
284 (nxml-extend-after-change-region): Remove.
285 * nxml/xmltok.el: Use lexical-binding.
286 (xmltok-save): Use `declare'.
287 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
288 * nxml/nxml-util.el: Use lexical-binding.
289 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
290 Use `declare'.
291 * nxml/nxml-ns.el: Use lexical-binding.
292 (nxml-ns-save): Use `declare'.
293 (nxml-ns-prefixes-for): Avoid add-to-list.
294 * nxml/rng-match.el: Use lexical-binding.
295 (rng--ipattern): Use cl-defstruct.
296 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
297 (rng-cons-group-after, rng-subst-group-after)
298 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
299 Use closures instead of `(lambda...).
300
301 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
302
303 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
304 of BEG and END.
305
306 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
307 Use `tramp-handle-insert-file-contents'.
308 (tramp-gvfs-handle-insert-file-contents): Remove function.
309
310 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
311 Use `save-restriction' in order to keep markers.
312
313 * net/trampver.el: Update release number.
314
315 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * progmodes/compile.el (compilation-parse-errors):
318 Use compilation--put-prop.
319 (compilation--ensure-parse): Check compilation-multiline.
320
321 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
322
323 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
324 lexical-binding.
325
326 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
327
328 * progmodes/ruby-mode.el: Fix recently added tests.
329 (ruby-smie-grammar): Add - and +.
330 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
331 (ruby-smie--backward-id): New functions.
332 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
333 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
334 any more.
335
336 2013-10-07 Leo Liu <sdl.web@gmail.com>
337
338 * register.el (register-preview-delay)
339 (register-preview-functions): New variables.
340 (register-read-with-preview, register-preview)
341 (register-describe-oneline): New functions.
342 (point-to-register, window-configuration-to-register)
343 (frame-configuration-to-register, jump-to-register)
344 (number-to-register, view-register, insert-register)
345 (copy-to-register, append-to-register, prepend-to-register)
346 (copy-rectangle-to-register): Use register-read-with-preview to
347 read register. (Bug#15525)
348
349 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
350
351 * net/network-stream.el (network-stream-open-starttls): Don't add
352 --insecure if it's already present, because that gnutls-cli
353 rejects getting that parameter twice.
354
355 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
356
357 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
358 keyword, too.
359
360 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
361
362 * newcomment.el (comment-use-global-state): Change default value
363 to t, mark obsolete (Bug#15251).
364 (comment-beginning): In addition to `comment-to-syntax', check the
365 value of `comment-use-global-state'.
366
367 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
370 (ruby-comment-column): Follow the global default, by default.
371 (ruby-smie-grammar): Add assignment syntax.
372 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
373 open-paren, a comma, or a \.
374 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
375 and line continuations.
376 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
377 followed by implicit semi-colons. Add rule for string concatenation
378 and for indentation at BOB.
379 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
380
381 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
382 calling next-sexp, since next-token may have skipped chars which
383 next-sexp doesn't know should be skipped!
384
385 2013-10-05 Leo Liu <sdl.web@gmail.com>
386
387 * progmodes/octave.el (octave-send-region):
388 Call compilation-forget-errors.
389
390 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
391
392 * vc/vc-svn.el (vc-svn-find-admin-dir):
393 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
394 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
395 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
396 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
397
398 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
401
402 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * subr.el (read-passwd): Hide chars even when called within a context
405 where after-change-functions is disabled (bug#15501).
406 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
407 until we removed ourself from overriding-terminal-local-map.
408
409 2013-10-04 Leo Liu <sdl.web@gmail.com>
410
411 * progmodes/octave.el (inferior-octave-mode):
412 Call compilation-forget-errors.
413
414 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
415
416 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
417
418 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
419
420 * net/secrets.el (secrets-create-collection): Add optional
421 argument ALIAS. Use proper Label keyword. Append ALIAS as
422 dbus-call-method argument. (Bug#15516)
423
424 2013-10-04 Leo Liu <sdl.web@gmail.com>
425
426 * progmodes/octave.el (inferior-octave-error-regexp-alist)
427 (inferior-octave-compilation-font-lock-keywords): New variables.
428 (compilation-error-regexp-alist)
429 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
430 (inferior-octave-mode): Use compilation-shell-minor-mode.
431
432 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
433
434 * minibuffer.el (completion--replace): Be careful that `end' might be
435 a marker.
436
437 2013-10-03 Daiki Ueno <ueno@gnu.org>
438
439 Add support for package signature checking.
440 * emacs-lisp/package.el (url-http-file-exists-p)
441 (epg-make-context, epg-context-set-home-directory)
442 (epg-verify-string, epg-context-result-for)
443 (epg-signature-status, epg-signature-to-string)
444 (epg-check-configuration, epg-configuration)
445 (epg-import-keys-from-file): Declare.
446 (package-check-signature): New user option.
447 (package-unsigned-archives): New user option.
448 (package-desc): Add `signed' field.
449 (package-load-descriptor): Set `signed' field if .signed file exists.
450 (package--archive-file-exists-p): New function.
451 (package--check-signature): New function.
452 (package-install-from-archive): Check package signature.
453 (package--download-one-archive): Check archive signature.
454 (package-delete): Remove .signed file.
455 (package-import-keyring): New command.
456 (package-refresh-contents): Import default keyring.
457 (package-desc-status): Add "unsigned" status.
458 (describe-package-1, package-menu--print-info)
459 (package-menu-mark-delete, package-menu--find-upgrades)
460 (package-menu--status-predicate): Support "unsigned" status.
461
462 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
465 the new compilation scheme using the new byte-codes.
466
467 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
468 (byte-pophandler): New byte codes.
469 (byte-goto-ops): Adjust accordingly.
470 (byte-compile--use-old-handlers): New var.
471 (byte-compile-catch): Use new byte codes depending on
472 byte-compile--use-old-handlers.
473 (byte-compile-condition-case--old): Rename from
474 byte-compile-condition-case.
475 (byte-compile-condition-case--new): New function.
476 (byte-compile-condition-case): New function that dispatches depending
477 on byte-compile--use-old-handlers.
478 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
479 when we can.
480
481 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
482 Optimize under `condition-case' and `catch' if
483 byte-compile--use-old-handlers is nil.
484 (disassemble-offset): Handle new bytecodes.
485
486 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * subr.el (error): Use `declare'.
489 (decode-char, encode-char): Use advertised-calling-convention instead
490 of the docstring to discourage use of the `restriction' arg.
491
492 2013-10-03 Daiki Ueno <ueno@gnu.org>
493
494 * epg.el (epg-verify-file): Add a comment saying that it does not
495 notify verification error as a return value nor a signal.
496 (epg-verify-string): Ditto.
497
498 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
499
500 * progmodes/compile.el (compilation-start): Try globbing the arg to
501 `cd' (bug#15417).
502
503 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
504
505 Sync with Tramp 2.2.8.
506
507 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
508 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
509 * net/trampver.el: Update release number.
510
511 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
512
513 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
514 and default-process-coding-system for darwin only.
515
516 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
519
520 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
521
522 * vc/vc-git.el (vc-git-grep): Disable pager.
523
524 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
525
526 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
527 Use :url instead of :homepage, as per
528 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
529
530 * newcomment.el (comment-beginning): When `comment-use-syntax' is
531 non-nil, use `syntax-ppss' (Bug#15251).
532
533 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
534
535 * progmodes/octave.el (inferior-octave-startup-file):
536 Prefer ~/.emacs.d/init_octave.m.
537
538 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
539
540 * emacs-lisp/package.el (package-desc-from-define):
541 Accept additional arguments as plist, convert them to an alist and store
542 them in the `extras' slot.
543 (package-generate-description-file): Convert extras alist back to
544 plist and append to the `define-package' form arguments.
545 (package--alist-to-plist): New function.
546 (package--ac-desc): Add `extras' slot.
547 (package--add-to-archive-contents): Check if the archive-contents
548 vector is long enough, and if it is, pass its `extras' slot value
549 to `package-desc-create'.
550 (package-buffer-info): Call `lm-homepage', pass the returned value
551 to `package-desc-from-define'.
552 (describe-package-1): Render the homepage button (Bug#13291).
553
554 * emacs-lisp/package-x.el (package-upload-buffer-internal):
555 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
556
557 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
558
559 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
560 and default-process-coding-system to utf-8-unix (Bug#15402).
561
562 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
563
564 * subr.el (looking-back): Do not recommend using looking-back.
565
566 2013-09-28 Alan Mackenzie <acm@muc.de>
567
568 Fix indentation/fontification of Java enum with "implements".
569
570 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
571 regexp which matches "implements", etc., in Java.
572 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
573 specifier clauses coming after "enum".
574 * progmodes/cc-fonts.el (c-font-lock-declarations)
575 (c-font-lock-enum-tail): Check for extra specifier clauses coming
576 after "enum".
577
578 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
579
580 * faces.el (region): Change ns_selection_color to
581 ns_selection_fg_color, add ns_selection_bg_color.
582
583 2013-09-28 Leo Liu <sdl.web@gmail.com>
584
585 * progmodes/octave.el (inferior-octave-completion-table)
586 (inferior-octave-completion-at-point): Minor tweaks.
587
588 * textmodes/ispell.el (ispell-lookup-words): Rename from
589 lookup-words. (Bug#15460)
590 (lookup-words): Obsolete.
591 (ispell-complete-word, ispell-command-loop): All uses changed.
592
593 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
594
595 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
596 (octave-mode-menu): Add octave-send-buffer.
597 (octave-send-buffer): New function.
598
599 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
600
601 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
602 octave-lookfor.
603 (octave-mode-menu): Add octave-lookfor.
604 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
605 octave-lookfor.
606 (octave-lookfor): New function.
607
608 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/cl-macs.el:
611 (cl--loop-destr-temps): Remove.
612 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
613 its convention.
614 (cl--loop-set-iterator-function): New function.
615 (cl-loop): Adjust accordingly, so as not to use cl-subst.
616 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
617 Bind `it' with `let' instead of substituting it with `cl-subst'.
618 (cl--unused-var-p): New function.
619 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
620 Eliminate some unused variable warnings (bug#15326).
621
622 2013-09-27 Tassilo Horn <tsdh@gnu.org>
623
624 * doc-view.el (doc-view-scale-reset): Rename from
625 `doc-view-reset-zoom-level'.
626 (doc-view-scale-adjust): New command.
627 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
628 `doc-view-scale-adjust'.
629
630 2013-09-26 Tassilo Horn <tsdh@gnu.org>
631
632 * doc-view.el (doc-view-reset-zoom-level): New command.
633 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
634 zoom commands (bug#15466).
635
636 2013-09-26 Kenichi Handa <handa@gnu.org>
637
638 * international/quail.el (quail-help): Make it not a command.
639
640 2013-09-26 Leo Liu <sdl.web@gmail.com>
641
642 * minibuffer.el (completion-all-sorted-completions): Make args
643 optional as they are.
644
645 2013-09-25 Daniel Colascione <dancol@dancol.org>
646
647 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
648 specs are and that they're not evaluated.
649
650 2013-09-24 Sam Steingold <sds@gnu.org>
651
652 * midnight.el (clean-buffer-list-kill-regexps)
653 (clean-buffer-list-kill-buffer-names): Update for the new Man
654 buffer naming which includes the object name.
655
656 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * eshell/esh-cmd.el (eshell--sep-terms): New var.
659 (eshell-parse-command, eshell-parse-pipeline): Use it since
660 eshell-separate-commands requires a dynamic scoped var.
661 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
662
663 2013-09-23 Leo Liu <sdl.web@gmail.com>
664
665 * autoinsert.el (auto-insert-alist): Make the value of
666 lexical-binding match its file setting.
667
668 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
669
670 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
671
672 * autoarg.el (autoarg-kp-digit-argument):
673 * electric.el (Electric-command-loop):
674 * kmacro.el (kmacro-step-edit-insert):
675 Do not set universal-argument-num-events.
676
677 2013-09-22 Leo Liu <sdl.web@gmail.com>
678
679 * files.el (interpreter-mode-alist): Add octave.
680
681 2013-09-21 Alan Mackenzie <acm@muc.de>
682
683 C++: fontify identifier in declaration following "public:" correctly.
684 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
685 to match "public", etc.
686 (c-decl-prefix-re): Add ":" into the C++ value.
687 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
688 bit. Add a check for a ":" preceded by "public", etc.
689
690 2013-09-21 Eli Zaretskii <eliz@gnu.org>
691
692 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
693 recognized by GDB 7.5 and later.
694
695 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
696
697 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
698
699 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * subr.el (internal--call-interactively): New const.
702 (called-interactively-p): Use it (bug#3984).
703
704 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
705
706 * vc/pcvs.el (cvs-mode-ignore):
707 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
708 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
709
710 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
713 (eshell-ls-orig-insert-directory): Remove.
714 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
715 (eshell-ls-use-in-dired): Use advice-add/remove.
716 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
717 Add `orig-fun' arg for use in :around advice.
718 Make it check (redundantly) eshell-ls-use-in-dired.
719
720 2013-09-19 Glenn Morris <rgm@gnu.org>
721
722 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
723
724 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
725
726 * emacs-lisp/eieio.el (class-parent): Undo previous change.
727
728 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
729
730 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
731 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
732 (tramp-get-remote-python): New defuns.
733 (tramp-get-remote-uid-with-perl)
734 (tramp-get-remote-gid-with-perl): New defuns. Perl code
735 contributed by yary <not.com@gmail.com> (tiny change).
736 (tramp-get-remote-uid-with-python)
737 (tramp-get-remote-gid-with-python): New defuns. Python code
738 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
739 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
740
741 2013-09-19 Glenn Morris <rgm@gnu.org>
742
743 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
744
745 * eshell/em-unix.el (eshell-remove-entries):
746 Rename argument to avoid name-clash with global `top-level'.
747
748 * eshell/esh-proc.el (eshell-kill-process-function):
749 Remove eshell-reset-after-proc from eshell-kill-hook if present.
750 (eshell-reset-after-proc): Remove unused arg `proc'.
751
752 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
753 (directory-files-and-attributes): Mark unused arg.
754
755 * eshell/em-unix.el (eshell-remove-entries):
756 Remove unused arg `path'. Update callers.
757
758 * eshell/em-hist.el (eshell-hist-parse-arguments):
759 Remove unused arg `silent'. Update callers.
760
761 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
762 Fix (f)boundp mix-up.
763
764 * eshell/em-smart.el (eshell-smart-scroll-window)
765 (eshell-disable-after-change):
766 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
767
768 2013-09-18 Alan Mackenzie <acm@muc.de>
769
770 Fix fontification of type when followed by "const".
771 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
772 "known" types from fontification.
773
774 2013-09-18 Glenn Morris <rgm@gnu.org>
775
776 * emacs-lisp/chart.el (x-display-color-cells): Declare.
777 (chart-face-list): Drop Emacsen without display-color-p.
778
779 * net/eww.el (libxml-parse-html-region): Declare.
780 (eww-display-html): Explicit error if no libxml2 support.
781
782 * doc-view.el (doc-view-mode): Silence --without-x compilation.
783
784 * image.el (image-type-from-buffer, image-multi-frame-p):
785 Remove --without-x warning/error.
786
787 * mouse.el (mouse-yank-primary):
788 * term.el (term-mouse-paste):
789 Reorder to silence --without-x compilation.
790
791 * mpc.el (doc-view-mode): Silence --without-x compilation.
792
793 * mail/rmailmm.el (rmail-mime-set-bulk-data):
794 Silence --without-x compilation.
795
796 * progmodes/gud.el (gud-find-file, gud-mode):
797 Silence --without-x compilation.
798 (tooltip-mode): Declare.
799
800 * wdired.el (dired-backup-overwrite): Remove declaration.
801 (wdired-mode-map): Add doc string.
802
803 * custom.el (x-get-resource): Declare.
804
805 * eshell/em-glob.el (ange-cache):
806 * eshell/em-unix.el (ange-cache): Declare.
807
808 * faces.el (x-display-list, x-open-connection, x-get-resource):
809 Declare.
810
811 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
812 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
813 Declare.
814
815 * frame.el (x-display-grayscale-p, x-display-name): Declare.
816
817 * net/gnutls.el (gnutls-log-level): Declare.
818
819 * net/shr.el (image-size, image-animate): Declare.
820
821 * simple.el (font-info): Declare.
822
823 * subr.el (x-popup-dialog): Declare.
824
825 * term/common-win.el (x-select-enable-primary)
826 (x-last-selected-text-primary, x-last-selected-text-clipboard):
827 Declare.
828
829 * term/ns-win.el (x-handle-args): Declare.
830
831 * term/x-win.el (x-select-enable-clipboard): Declare.
832
833 * term/w32-win.el (create-default-fontset): Declare.
834
835 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
836 Declare.
837
838 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
839 (fit-frame-to-buffer): Explicit error if --without-x.
840 (mouse-autoselect-window-select): Silence compiler.
841
842 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
843
844 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
845 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
846 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
847 * eshell/esh-util.el (eshell-sublist):
848 Remove unused local variables.
849
850 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
851
852 * textmodes/two-column.el: Make 2C-split work for --without-x.
853 (scroll-bar-columns): Autoload.
854 (top-level): Require fringe when compiling.
855
856 2013-09-18 Leo Liu <sdl.web@gmail.com>
857
858 * subr.el (add-hook): Robustify to handle closure as well.
859
860 2013-09-17 Glenn Morris <rgm@gnu.org>
861
862 * simple.el (messages-buffer-mode-map): Unbind "g".
863
864 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * help-mode.el (help-mode-finish): Use derived-mode-p.
867 Remove obsolete highlighting.
868
869 * play/life.el (life-mode): Use define-derived-mode. Derive from
870 special-mode.
871 (life): Let-bind inhibit-read-only.
872 (life-setup): Avoid `setq'. Use `life-mode'.
873
874 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
875 which should not be needed any more.
876 (package-menu-refresh, package-menu-describe-package): Use user-error.
877
878 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
879 (eshell-post-rewrite-command-hook): Make obsolete.
880 (eshell-parse-command): Simplify.
881 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
882 (eshell--cmd): Declare.
883 (eshell-parse-pipeline): Remove unused var `final-p'.
884 Pass a dynvar to eshell-post-rewrite-command-hook.
885 Implement the new eshell-post-rewrite-command-function.
886 (eshell-invoke-directly): Remove unused arg `input'.
887 * eshell/esh-io.el (eshell-io-initialize):
888 Use eshell-post-rewrite-command-function (bug#15399).
889 (eshell--apply-redirections): Rename from eshell-apply-redirections;
890 adjust to new calling convention.
891 (eshell-create-handles): Rename args to avoid clashing with dynvar
892 `standard-output'.
893
894 2013-09-17 Glenn Morris <rgm@gnu.org>
895
896 * simple.el (messages-buffer-mode): New major mode.
897 (messages-buffer): New function.
898 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
899 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
900 (ert-run-test): Use `messages-buffer' function.
901 (ert--force-message-log-buffer-truncation): Ignore read-only.
902 * help.el (view-echo-area-messages): Use `messages-buffer' function.
903 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
904
905 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
908
909 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
910
911 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * icomplete.el (icomplete-in-buffer): New var.
914 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
915 vars and replace them with functions.
916 (icomplete-minibuffer-setup): Adjust accordingly.
917 (icomplete--completion-table, icomplete--completion-predicate)
918 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
919 New functions.
920 (icomplete-forward-completions, icomplete-backward-completions)
921 (icomplete-simple-completing-p, icomplete-exhibit)
922 (icomplete-completions): Use them.
923 (icomplete--in-region-buffer): New var.
924 (icomplete--in-region-setup): New function.
925 (icomplete-mode): Use it.
926
927 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
928 (bug#15379).
929 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
930 return args and options.
931 (eshell-eval-using-options): Use the new return value of
932 eshell--do-opts to set the options's vars in their scope.
933 (eshell--set-option): Rename from eshell-set-option.
934 Add arg `opt-vals'.
935 (eshell--process-option): Rename from eshell-process-option.
936 Add arg `opt-vals'.
937 (eshell--process-args): Use an `opt-vals' alist to store the options's
938 values during their processing and return them additionally to the
939 remaining args.
940
941 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
942
943 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
944 continuation character an operator, as far as indentation is
945 concerned (Bug#15369).
946
947 2013-09-15 Martin Rudalics <rudalics@gmx.at>
948
949 * window.el (window--state-put-2): Don't process buffer state
950 when buffer doesn't exist any more (Bug#15382).
951
952 2013-09-15 Glenn Morris <rgm@gnu.org>
953
954 * eshell/em-unix.el (eshell/rm):
955 Make -f ignore missing files. (Bug#15373)
956
957 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
958 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
959 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
960
961 2013-09-14 Glenn Morris <rgm@gnu.org>
962
963 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
964
965 2013-09-13 Glenn Morris <rgm@gnu.org>
966
967 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
968 (dired-guess-default): Make `file' available in the env. (Bug#15363)
969
970 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
971
972 * frame.el (x-focus-frame): Mark as declared in frame.c.
973
974 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * ls-lisp.el: Use advice-add.
977 (original-insert-directory): Remove.
978 (ls-lisp--insert-directory): Rename from insert-directory; add
979 `orig-fun' argument.
980 (insert-directory): Advise.
981
982 2013-09-13 Eli Zaretskii <eliz@gnu.org>
983
984 * term.el (term-emulate-terminal): Decode the command string
985 before passing it to term-command-hook. (Bug#15337)
986
987 2013-09-13 Glenn Morris <rgm@gnu.org>
988
989 * eshell/esh-util.el (ange-cache): Move declaration earlier.
990
991 * eshell/esh-ext.el (eshell-search-path): Declare.
992
993 * eshell/em-prompt.el (eshell/pwd): Autoload it.
994 Otherwise an error occurs if eshell-dirs module not loaded.
995
996 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
997
998 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
999
1000 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1001 `tramp-check-proper-host'. Check for a valid method name.
1002
1003 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1004 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1005 * net/tramp-sh.el (tramp-maybe-open-connection):
1006 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1007
1008 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1009 also for hash values.
1010
1011 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * term/ns-win.el (parameters): Don't declare as dynamic.
1014 (before-make-frame-hook): Don't add ineffective function.
1015
1016 * eshell/*.el: Use lexical-binding (bug#15231).
1017
1018 2013-09-12 Kenichi Handa <handa@gnu.org>
1019
1020 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1021
1022 2013-09-12 Glenn Morris <rgm@gnu.org>
1023
1024 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1025 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1026
1027 * subr.el (do-after-load-evaluation): Also give compiler warnings
1028 when obsolete files are used (except by obsolete files).
1029
1030 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1031 in the status output, assume `filename' is the first. (Bug#15322)
1032
1033 * vc/vc.el (vc-deduce-fileset): Doc fix.
1034
1035 * calc/calc-help.el (Info-goto-node):
1036 * progmodes/cperl-mode.el (Info-find-node):
1037 * vc/ediff.el (Info-goto-node): Update declarations.
1038
1039 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1040
1041 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1042 (vc-bzr-pull): Require vc-dispatcher.
1043 * vc/vc-git.el (vc-compilation-mode): Declare.
1044 (vc-git-pull): Require vc-dispatcher.
1045
1046 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1047
1048 * progmodes/octave.el (help-button-action): Declare.
1049
1050 * shell.el (shell-directory-tracker): Output error as a message
1051 rather than just returning it as a string.
1052 (shell-process-pushd): Remove useless use of message.
1053
1054 * dframe.el (dframe-timer-fn):
1055 * files.el (dir-locals-read-from-file):
1056 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1057 (mpc-format):
1058 * reveal.el (reveal-post-command):
1059 * saveplace.el (load-save-place-alist-from-file):
1060 * shell.el (shell-resync-dirs):
1061 * w32-common-fns.el (x-get-selection-value):
1062 * emacs-lisp/copyright.el (copyright-find-copyright):
1063 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1064 * emulation/tpu-edt.el (tpu-copy-keyfile):
1065 * play/bubbles.el (bubbles--mark-neighbourhood):
1066 * progmodes/executable.el
1067 (executable-make-buffer-file-executable-if-script-p):
1068 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1069
1070 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 Cleanup Eshell to rely less on dynamic scoping.
1073 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1074 last-value, and ext-command here. Bind `args' closer to `body'.
1075 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1076 (eshell--args): Declare new dynamic var.
1077 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1078 last-value, and ext-command. Pass `args' to `body'.
1079 (eshell-process-args): Bind eshell--args.
1080 (eshell-set-option): Use eshell--args.
1081 * eshell/eshell.el (eshell): Use derived-mode-p.
1082 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1083 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1084 (eshell-glob-function): Declare.
1085 * eshell/esh-util.el: Require cl-lib.
1086 (eshell-read-hosts-file): Avoid add-to-list.
1087 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1088 `err'.
1089 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1090 Declare.
1091 (eshell/diff): Remove unused var `err'.
1092 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1093 `killflag'.
1094 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1095 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1096 first use.
1097 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1098 Move declaration before first use.
1099 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1100 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1101 rely on cl-return.
1102
1103 2013-09-12 Glenn Morris <rgm@gnu.org>
1104
1105 * term/ns-win.el (global-map): Remove binding for ispell-next,
1106 deleted 1999-05-29. (Bug#15357)
1107
1108 2013-09-11 Glenn Morris <rgm@gnu.org>
1109
1110 * echistory.el (electric-command-history): Remove call to deleted func.
1111
1112 * play/landmark.el (landmark-mode): Fix typos.
1113
1114 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1115 Check cvs-sort-ignore-file is bound.
1116
1117 * savehist.el: No need for cl when compiling on Emacs.
1118
1119 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1122 (bug#15338).
1123 (eshell-self-insert-command, eshell-send-invisible):
1124 Remove unused argument.
1125 (eshell-handle-control-codes): Remove unused var `orig'.
1126 Avoid delete-backward-char.
1127
1128 * files.el (set-auto-mode): Simplify a bit further.
1129
1130 2013-09-11 Glenn Morris <rgm@gnu.org>
1131
1132 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1133 (set-auto-mode): Don't regexp-quote elements.
1134 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1135 * progmodes/cc-mode.el (interpreter-mode-alist):
1136 * progmodes/ruby-mode.el (interpreter-mode-alist):
1137 Revert previous change.
1138
1139 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * play/snake.el (snake-mode):
1142 * play/mpuz.el (mpuz-mode):
1143 * play/landmark.el (lm-mode):
1144 * play/blackbox.el (blackbox-mode):
1145 * play/5x5.el (5x5-mode):
1146 * obsolete/options.el (Edit-options-mode):
1147 * net/quickurl.el (quickurl-list-mode):
1148 * net/newst-treeview.el (newsticker-treeview-mode):
1149 * mail/rmailsum.el (rmail-summary-mode):
1150 * mail/mspools.el (mspools-mode):
1151 * locate.el (locate-mode):
1152 * ibuffer.el (ibuffer-mode):
1153 * emulation/ws-mode.el (wordstar-mode):
1154 * emacs-lisp/debug.el (debugger-mode):
1155 * array.el (array-mode):
1156 * net/eudc.el (eudc-mode): Use define-derived-mode.
1157 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1158 Move initialization into declaration.
1159 (mairix-searches-mode): Use define-derived-mode.
1160 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1161 (eudc-edit-hotlist): Use dolist.
1162 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1163 (Man-mode): Use define-derived-mode.
1164 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1165 (Info-edit-mode): Use define-derived-mode.
1166 (Info-cease-edit): Use Info-mode.
1167 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1168 into declaration.
1169 (eshell-mode): Use define-derived-mode.
1170 * chistory.el (command-history-mode-map): Rename from
1171 command-history-map.
1172 (command-history-mode): Use define-derived-mode.
1173 (Command-history-setup): Remove function.
1174 * calc/calc.el (calc-trail-mode-map): New var.
1175 (calc-trail-mode): Use define-derived-mode.
1176 (calc-trail-buffer): Set calc-main-buffer manually.
1177 * bookmark.el (bookmark-insert-annotation): New function.
1178 (bookmark-edit-annotation): Use it.
1179 (bookmark-edit-annotation-mode): Make it a proper major mode.
1180 (bookmark-send-edited-annotation): Use derived-mode-p.
1181 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1182 closer to its ideal place. Use \' to match EOS.
1183
1184 * profiler.el (profiler-calltree-find): Use function-equal.
1185
1186 2013-09-10 Glenn Morris <rgm@gnu.org>
1187
1188 * files.el (interpreter-mode-alist): Convert to regexps.
1189 (set-auto-mode): Adapt for this. (Bug#15306)
1190 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1191 Comment out unused variable.
1192 * progmodes/cc-mode.el (interpreter-mode-alist):
1193 * progmodes/python.el (interpreter-mode-alist):
1194 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1195 * progmodes/sh-script.el (sh-set-shell):
1196 No longer use interpreter-mode-alist to get list of shells.
1197
1198 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1199
1200 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * simple.el: Use set-temporary-overlay-map for universal-argument.
1203 (universal-argument-map): Don't use default-bindings (bug#15317).
1204 Bind switch-frame explicitly. Replace universal-argument-minus with
1205 a conditional binding.
1206 (universal-argument-num-events, saved-overriding-map): Remove.
1207 (restore-overriding-map): Remove.
1208 (universal-argument--mode): Rename from save&set-overriding-map,
1209 and rewrite.
1210 (universal-argument, universal-argument-more, negative-argument)
1211 (digit-argument): Adjust accordingly.
1212 (universal-argument-minus): Remove.
1213 (universal-argument-other-key): Remove.
1214
1215 * subr.el (with-demoted-errors): Add `format' argument.
1216
1217 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1218
1219 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1220 `tramp-cleanup-connection'.
1221
1222 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1223 parameters KEEP-DEBUG and KEEP-PASSWORD.
1224
1225 * net/tramp.el (tramp-file-name-handler):
1226 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1227 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1228 (tramp-maybe-open-connection):
1229 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1230 Use `tramp-cleanup-connection'.
1231
1232 * net/tramp-sh.el (tramp-maybe-open-connection):
1233 Catch 'uname-changed inside the progress reporter.
1234
1235 2013-09-10 Glenn Morris <rgm@gnu.org>
1236
1237 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1238
1239 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1240 returns "alternate access method" in mode (eg "-rw-r--r--.").
1241
1242 2013-09-08 Glenn Morris <rgm@gnu.org>
1243
1244 * saveplace.el (load-save-place-alist-from-file):
1245 Demote errors. (Bug#15305)
1246
1247 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1248
1249 Improve compatibility with older Emacsen, and XEmacs.
1250
1251 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1252 only if it is bound. It isn't for XEmacs.
1253 (with-tramp-progress-reporter): Do not let-bind `result'.
1254 This yields to scoping errors in XEmacs.
1255 (tramp-handle-make-auto-save-file-name): New function, moved from
1256 tramp-sh.el.
1257
1258 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1259 for `make-auto-save-file-name'.
1260 (tramp-adb--gnu-switches-to-ash):
1261 Use `tramp-compat-replace-regexp-in-string'.
1262
1263 * net/tramp-cache.el (tramp-cache-print): Call
1264 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1265
1266 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1267 bound. It isn't for XEmacs.
1268
1269 * net/tramp-compat.el (tramp-compat-copy-file):
1270 Catch `wrong-number-of-arguments' error.
1271 (tramp-compat-replace-regexp-in-string): New defun.
1272
1273 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1274 for `make-auto-save-file-name'.
1275 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1276 `copy-file'.
1277 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1278 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1279 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1280
1281 * net/tramp-gw.el (tramp-gw-open-network-stream):
1282 Use `tramp-compat-replace-regexp-in-string'.
1283
1284 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1285 Call `tramp-handle-make-auto-save-file-name'.
1286 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1287 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1288 (tramp-sh-file-inotifywait-process-filter):
1289 Use `tramp-compat-replace-regexp-in-string'.
1290 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1291
1292 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1293 for `make-auto-save-file-name'.
1294 (tramp-smb-handle-copy-directory):
1295 Call `tramp-compat-replace-regexp-in-string'.
1296 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1297 (tramp-smb-handle-copy-file): Improve error message.
1298 (tramp-smb-handle-rename-file): Rename directly only in case
1299 `newname' does not exist yet. This is a restriction of smbclient.
1300 (tramp-smb-maybe-open-connection): Rerun the function only when
1301 `auth-sources' is non-nil.
1302
1303 2013-09-08 Kenichi Handa <handa@gnu.org>
1304
1305 * international/characters.el: Set category "^" (Combining) for
1306 more characters.
1307
1308 2013-09-07 Alan Mackenzie <acm@muc.de>
1309
1310 Correctly fontify Java class constructors.
1311 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1312 in Java Mode.
1313 (c-recognize-typeless-decls): Set the Java value to t.
1314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1315 While handling a "(", add a check for, effectively, Java, and handle a
1316 "typeless" declaration there.
1317
1318 2013-09-07 Roland Winkler <winkler@gnu.org>
1319
1320 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1321 field subtitle for entry type book.
1322
1323 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * minibuffer.el: Make minibuffer-complete call completion-in-region
1326 rather than other way around.
1327 (completion--some, completion-pcm--find-all-completions):
1328 Don't delay signals when debugging.
1329 (minibuffer-completion-contents): Beware fields within the
1330 minibuffer contents.
1331 (completion-all-sorted-completions): Use defvar-local.
1332 (completion--do-completion, completion--cache-all-sorted-completions)
1333 (completion-all-sorted-completions, minibuffer-force-complete):
1334 Add args `beg' and `end'.
1335 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1336 (minibuffer-complete): Use completion-in-region.
1337 (completion-complete-and-exit): New fun, extracted from
1338 minibuffer-complete-and-exit.
1339 (minibuffer-complete-and-exit): Use it.
1340 (completion--complete-and-exit): Rename from
1341 minibuffer--complete-and-exit.
1342 (completion-in-region--single-word): New function, extracted from
1343 minibuffer-complete-word.
1344 (minibuffer-complete-word): Use it.
1345 (display-completion-list): Make `common-substring' argument obsolete.
1346 (completion--in-region): Call completion--in-region-1 instead of
1347 minibuffer-complete.
1348 (completion-help-at-point): Pass boundaries to
1349 minibuffer-completion-help as args rather than via an overlay.
1350 (completion-pcm--string->pattern): Use `any-delim'.
1351 (completion-pcm--optimize-pattern): New function.
1352 (completion-pcm--pattern->regex): Handle `any-delim'.
1353 * icomplete.el (icomplete-forward-completions)
1354 (icomplete-backward-completions, icomplete-completions):
1355 Adjust calls to completion-all-sorted-completions and
1356 completion--cache-all-sorted-completions.
1357 (icomplete-with-completion-tables): Default to t.
1358 * emacs-lisp/crm.el (crm--current-element): Rename from
1359 crm--select-current-element. Don't put an overlay but return the
1360 boundaries instead.
1361 (crm--completion-command): Take two new args to bind to the boundaries.
1362 (crm-completion-help): Adjust accordingly.
1363 (crm-complete): Use completion-in-region.
1364 (crm-complete-word): Use completion-in-region--single-word.
1365 (crm-complete-and-exit): Use completion-complete-and-exit.
1366
1367 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1370 than dynamically.
1371
1372 2013-09-06 Juri Linkov <juri@jurta.org>
1373
1374 * info.el (Info-display-images-node): When image file doesn't exist
1375 display text version of the image if it's provided in the Info file.
1376 Otherwise, display the location of missing image from SRC attribute.
1377 Add help-echo text property from ALT attribute. (Bug#15279)
1378
1379 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1382 (edit-abbrevs-mode): Use define-derived-mode.
1383
1384 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1385 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1386 that it's defined.
1387 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1388 Use define-derived-mode.
1389
1390 * epg.el (epg-start-encrypt): Minor CSE simplification.
1391
1392 2013-09-06 William Xu <william.xwl@gmail.com>
1393
1394 * arc-mode.el: Add support for 7za (bug#15264).
1395 (archive-7z-program): New var.
1396 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1397 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1398 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1399
1400 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1401
1402 Remove URL syntax.
1403
1404 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1405 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1406 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1407 (tramp-postfix-host-format, tramp-file-name-regexp)
1408 (tramp-completion-file-name-regexp)
1409 (tramp-completion-dissect-file-name)
1410 (tramp-handle-substitute-in-file-name): Remove 'url case.
1411 (tramp-file-name-regexp-url)
1412 (tramp-completion-file-name-regexp-url): Remove constants.
1413
1414 2013-09-06 Glenn Morris <rgm@gnu.org>
1415
1416 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1417
1418 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1419
1420 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1421 keywords" below "here-doc beginnings" (Bug#15270).
1422
1423 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * subr.el (pop): Use `car-safe'.
1426 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1427 to detect unused `pop' return value.
1428
1429 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1430 var `block-regexp'.
1431 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1432 (python-fill-string): Remove unused var `marker'.
1433 (python-skeleton-add-menu-items): Remove unused var `items'.
1434
1435 * international/mule-cmds.el: Require CL.
1436 (find-coding-systems-for-charsets): Avoid add-to-list.
1437 (sanitize-coding-system-list): New function, extracted from
1438 select-safe-coding-system-interactively.
1439 (select-safe-coding-system-interactively): Use it.
1440 (read-input-method-name): Accept symbols for `default'.
1441
1442 * emacs-lisp/advice.el (defadvice): Add indent rule.
1443
1444 2013-09-05 Daniel Hackney <dan@haxney.org>
1445
1446 * dired-x.el:
1447 * net/ange-ftp.el:
1448 * net/browse-url.el:
1449 * net/dbus.el:
1450 * net/eudc.el:
1451 * net/eudcb-ldap.el:
1452 * net/eww.el:
1453 * net/imap.el:
1454 * printing.el:
1455 * vc/ediff-diff.el:
1456 * vc/ediff-init.el:
1457 * vc/ediff-merg.el:
1458 * vc/ediff-mult.el:
1459 * vc/ediff-util.el:
1460 * vc/ediff-wind.el:
1461 * vc/ediff.el:
1462 * vc/emerge.el:
1463 * vc/pcvs.el:
1464 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1465 byte compiler. Remove some unused let-bound variables.
1466
1467 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1470 a "ref-cell", since it gets better optimized (bug#14883).
1471
1472 2013-09-05 Glenn Morris <rgm@gnu.org>
1473
1474 * progmodes/cc-awk.el (c-forward-sws): Declare.
1475
1476 2013-09-04 Glenn Morris <rgm@gnu.org>
1477
1478 * generic-x.el [rul-generic-mode]: Require cc-mode.
1479 (c++-mode-syntax-table): Declare.
1480 (rul-generic-mode-syntax-table): Init in the defvar.
1481
1482 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1485 (vc-do-command, vc-set-async-update):
1486 * vc/vc-mtn.el (vc-mtn-dir-status):
1487 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1488 (vc-hg-pull, vc-hg-merge-branch):
1489 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1490 (vc-git-merge-branch):
1491 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1492 (vc-cvs-dir-status-files):
1493 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1494 (vc-bzr-dir-status-files):
1495 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1496 * vc/vc-annotate.el: Use lexical-binding.
1497 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1498 (vc-sentinel-movepoint): Declare.
1499 (vc-annotate): Don't use `goto-line'.
1500 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1501 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1502 (vc-sentinel-movepoint): Declare.
1503 * vc/vc-svn.el: Use lexical-binding.
1504 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1505 * vc/vc-sccs.el:
1506 * vc/vc-rcs.el: Use lexical-binding.
1507
1508 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1509 `deleted'. Don't drop errors silently.
1510
1511 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1512
1513 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1514
1515 * vc/vc.el (vc-ignore): Rewrite.
1516 (vc-default-ignore): New function.
1517 (vc-default-ignore-completion-table): Use find-ignore-file.
1518
1519 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1520 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1521 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1522 Remove. Most code moved to vc.el.
1523
1524 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1527 * net/tramp-smb.el (tramp-smb-get-file-entries):
1528 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1529 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1530
1531 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1532 Update call to it.
1533 (eww-change-select): Remove unused var `properties'.
1534 (eww-make-unique-file-name): Remove unused var `base'.
1535
1536 * finder.el (finder-compile-keywords): Don't mess with windows.
1537
1538 * calculator.el (calculator-funcall): Fix typo in last change.
1539
1540 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1541
1542 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1543 <pkg>-autoloads.el file stop us.
1544
1545 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1546 warnings, and factor out common code.
1547
1548 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1549
1550 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1551 two-character operators and whether the character preceding them
1552 changes their meaning (Bug#15208).
1553
1554 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1555
1556 Format code sent to Python shell for robustness.
1557 * progmodes/python.el (python-shell-buffer-substring):
1558 New function.
1559 (python-shell-send-region, python-shell-send-buffer): Use it.
1560
1561 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1562
1563 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1564 * net/tramp.el (tramp-user-error): ... here.
1565 (tramp-find-method, tramp-check-proper-host)
1566 (tramp-dissect-file-name, tramp-debug-message)
1567 (tramp-handle-shell-command):
1568 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1569 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1570
1571 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1572
1573 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1574
1575 * avoid.el (mouse-avoidance-point-position)
1576 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1577 returns nil.
1578
1579 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1580
1581 * progmodes/python.el (python-shell-completion-get-completions):
1582 Drop use of deleted `comint-last-prompt-overlay'.
1583 (python-nav-if-name-main): New command.
1584
1585 2013-09-01 Glenn Morris <rgm@gnu.org>
1586
1587 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1588 Avoid leading space in $wins. Otherwise the sed command used by
1589 eg compile-main ends up containing "/*.el". (Bug#15170)
1590
1591 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1592
1593 2013-08-30 Glenn Morris <rgm@gnu.org>
1594
1595 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1596 Fix is-this-a-directory logic. (Bug#15220)
1597
1598 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * textmodes/css-mode.el: Use SMIE.
1601 (css-smie-grammar): New var.
1602 (css-smie--forward-token, css-smie--backward-token)
1603 (css-smie-rules): New functions.
1604 (css-mode): Use them.
1605 (css-navigation-syntax-table): Remove var.
1606 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1607 (css-indent-calculate, css-indent-line): Remove functions.
1608
1609 Misc changes to reduce use of `(lambda...); and other cleanups.
1610 * cus-edit.el: Use lexical-binding.
1611 (customize-push-and-save, customize-apropos)
1612 (custom-buffer-create-internal): Use closures.
1613 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1614 * progmodes/ada-xref.el: Use setq.
1615 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1616 * dframe.el: Use lexical-binding.
1617 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1618 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1619 * descr-text.el: Use lexical-binding.
1620 (describe-text-widget, describe-text-sexp, describe-property-list):
1621 Use closures.
1622 * comint.el (comint-history-isearch-push-state): Use a closure.
1623 * calculator.el: Use lexical-binding.
1624 (calculator-number-to-string): Make it work with lexical-binding.
1625 (calculator-funcall): Same and use cl-letf.
1626
1627 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1628 (lisp--company-doc-string, lisp--company-location): New functions.
1629 (lisp-completion-at-point): Use them to improve Company support.
1630
1631 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1632 params of lambda expressions.
1633 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1634 (ruby-smie--opening-pipe-p): New function.
1635 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1636 symbols and matched |...| for formal params.
1637 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1638 from being treated as hanging. Handle "rescue".
1639
1640 2013-08-29 Glenn Morris <rgm@gnu.org>
1641
1642 * progmodes/cc-engine.el (c-pull-open-brace):
1643 Move definition before use.
1644
1645 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1648 are immutable. Don't use `unsafe' any more.
1649 (cl--defsubst-expand): Don't substitute at the same time as keeping
1650 a residual unused let-binding. Don't use `unsafe' any more.
1651
1652 2013-08-29 Glenn Morris <rgm@gnu.org>
1653
1654 * calendar/cal-china.el (calendar-chinese-year-cache):
1655 Recenter on 2015.
1656
1657 * nxml/nxml-util.el (nxml-debug-clear-inside):
1658 Use cl-loop rather than loop.
1659
1660 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1661
1662 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1663
1664 2013-08-28 Glenn Morris <rgm@gnu.org>
1665
1666 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1667
1668 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1669
1670 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1671
1672 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * simple.el (repeat-complex-command--called-interactively-skip):
1675 New function.
1676 (repeat-complex-command): Use it (bug#14136).
1677
1678 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1679 (c-define-abbrev-table): Add `doc' argument.
1680 (c-mode-abbrev-table, c++-mode-abbrev-table)
1681 (objc-mode-abbrev-table, java-mode-abbrev-table)
1682 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1683 (awk-mode-abbrev-table): Use it.
1684 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1685 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1686 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1687 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1688 Move initialization into the declaration; and remove any
1689 autoload cookie.
1690
1691 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1692 and dynamic let binding.
1693
1694 * vc/smerge-mode.el: Remove redundant :group args.
1695
1696 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1697 to load-path.
1698
1699 2013-08-28 Juri Linkov <juri@jurta.org>
1700
1701 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1702 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1703 (isearch-other-meta-char): Handle an undefined shifted printing
1704 character by downshifting it. (Bug#15200)
1705
1706 2013-08-28 Juri Linkov <juri@jurta.org>
1707
1708 * isearch.el (isearch-search): Change regexp error message for
1709 non-regexp searches. (Bug#15166)
1710
1711 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1712
1713 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1714 for portability to hosts where /bin/sh has problems.
1715
1716 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1719
1720 2013-08-27 Juri Linkov <juri@jurta.org>
1721
1722 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1723 in the keyboard macro. (Bug#15126)
1724
1725 2013-08-27 Juri Linkov <juri@jurta.org>
1726
1727 * isearch.el (isearch-quote-char): Comment out converting unibyte
1728 to multibyte, thus syncing with its `quoted-insert' counterpart.
1729 (Bug#15166)
1730
1731 2013-08-27 Martin Rudalics <rudalics@gmx.at>
1732
1733 * window.el (display-buffer-use-some-window): Add missing
1734 argument in call of get-largest-window (Bug#15185).
1735 Reported by Stephen Leake.
1736
1737 2013-08-27 Glenn Morris <rgm@gnu.org>
1738
1739 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1740
1741 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1744 from a matcher-function unless there's no more matches (bug#15161).
1745
1746 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1747
1748 * minibuffer.el: Revert change from 2013-08-20.
1749
1750 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1751 with text property `tramp-default', if appropriate.
1752 (tramp-check-proper-host): New defun.
1753 (tramp-dissect-file-name): Do not check hostname. Revert change
1754 of 2013-03-18.
1755 (tramp-backtrace): Make VEC-OR-PROC optional.
1756
1757 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1758 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1759 * net/tramp-sh.el (tramp-maybe-open-connection):
1760 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1761 Apply `tramp-check-proper-host'.
1762
1763 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1764
1765 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1766 lambda expression in order to have `describe-variable' display it.
1767
1768 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1769
1770 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1771 BUF can be optional. (Bug#15186)
1772
1773 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1774
1775 * progmodes/flymake.el (flymake-get-real-file-name-function):
1776 Fix broken customization. (Bug#15184)
1777
1778 2013-08-25 Alan Mackenzie <acm@muc.de>
1779
1780 Improve indentation of bracelists defined by macros (without "=").
1781
1782 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1783 expansion begins with "{", regard it as bracelist when it doesn't
1784 contain a ";".
1785
1786 Parse C++ inher-intro when there's a template split over 2 lines.
1787
1788 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1789 rigorously the search for "class" etc. followed by ":".
1790
1791 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1792 random languages a regexp which never matches rather than nil.
1793
1794 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1795
1796 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1797 (c-awk-regexp-one-line-possibly-open-char-list-re)
1798 (c-awk-one-line-possibly-open-regexp-re)
1799 (c-awk-one-line-non-syn-ws*-re): Remove.
1800 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1801 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1802 (c-awk-space*-unclosed-regexp-/-re): New constants.
1803 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1804 aren't regexp delimiters.
1805
1806 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1807 handling for a rare situation in AWK Mode involving unterminated
1808 strings/regexps.
1809
1810 2013-08-23 Glenn Morris <rgm@gnu.org>
1811
1812 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1813
1814 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1815
1816 * files.el (create-file-buffer): If the result would begin with
1817 spaces, prepend a "|" instead of removing them. (Bug#15162)
1818
1819 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1822 text-properties (bug#15155).
1823
1824 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1825 exist any more.
1826 (calc-keypad-redraw): Remove unused var `pad'.
1827 (calc-keypad-press): Remove unused var `menu'.
1828
1829 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1830
1831 * window.el (display-buffer-pop-up-frame):
1832 Call pop-up-frame-function with BUFFER current so `make-frame' will
1833 use it as the new frame's buffer (Bug#15133).
1834
1835 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * calendar/timeclock.el: Minor cleanups.
1838 (timeclock-ask-before-exiting, timeclock-use-display-time):
1839 Use `symbol'.
1840 (timeclock-modeline-display): Define as alias before the
1841 actual definition.
1842 (timeclock-mode-line-display): Use define-minor-mode.
1843 (timeclock-day-list-template): Make it a function, add an argument.
1844 (timeclock-day-list-required, timeclock-day-list-length)
1845 (timeclock-day-list-debt, timeclock-day-list-span)
1846 (timeclock-day-list-break): Adjust calls accordingly.
1847
1848 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1851 Use read--expression so that completion works again.
1852
1853 2013-08-21 Sam Steingold <sds@gnu.org>
1854
1855 Add rudimentary inferior shell interaction
1856 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1857 (sh-set-shell): Reset it.
1858 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1859 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1860
1861 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * align.el: Use lexical-binding.
1864 (align-region): Simplify accordingly.
1865
1866 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1867
1868 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1869
1870 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1871 `non-essential' up.
1872
1873 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1874
1875 * net/tramp.el:
1876 * net/tramp-adb.el:
1877 * net/tramp-cmds.el:
1878 * net/tramp-ftp.el:
1879 * net/tramp-gvfs.el:
1880 * net/tramp-gw.el:
1881 * net/tramp-sh.el: Don't wrap external variable declarations by
1882 `eval-when-compile'.
1883
1884 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1885
1886 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1887 now that Emacs supports ImageMagick animations.
1888
1889 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1890
1891 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1892 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1893
1894 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1895
1896 * window.el (mouse-autoselect-window-select): Do autoselect when
1897 mouse pointer is on margin.
1898
1899 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1900
1901 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1902
1903 2013-08-16 Glenn Morris <rgm@gnu.org>
1904
1905 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1906 Handle "Remote Directory" response of some clients. (Bug#15058)
1907
1908 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1909 Tweak warning. (Bug#14926)
1910
1911 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1912 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1913
1914 * image-mode.el (image-mode-map): Add menu items to reverse,
1915 increase, decrease, reset animation speed.
1916 (image--set-speed, image-increase-speed, image-decrease-speed)
1917 (image-reverse-speed, image-reset-speed): New functions.
1918 (image-mode-map): Add bindings for speed commands.
1919
1920 * image.el (image-animate-get-speed, image-animate-set-speed):
1921 New functions.
1922 (image-animate-timeout): Respect image :speed property.
1923
1924 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1927 previous line (bug#15101).
1928 (debugger-eval-expression, debugger-record-expression):
1929 Use read--expression (bug#15102).
1930
1931 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1932
1933 Remove byte compiler warnings, visible when compiling with
1934 `byte-compile-force-lexical-warnings' set to t.
1935
1936 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1937 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1938 (tramp-handle-unhandled-file-name-directory)
1939 (tramp-handle-file-notify-add-watch, tramp-action-login)
1940 (tramp-action-succeed, tramp-action-permission-denied)
1941 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1942 arguments with "_".
1943
1944 * net/tramp-adb.el (tramp-adb-parse-device-names)
1945 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1946 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1947 (tramp-adb-handle-file-truename): Remove unused arguments.
1948
1949 * net/tramp-cache.el (tramp-flush-directory-property)
1950 (tramp-flush-connection-property, tramp-list-connections)
1951 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1952
1953 * net/tramp-compat.el (tramp-compat-make-temp-file):
1954 Rename FILENAME to F.
1955
1956 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1957 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1958 (tramp-zeroconf-parse-workstation-device-names)
1959 (tramp-zeroconf-parse-webdav-device-names)
1960 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1961
1962 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1963 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1964
1965 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1966 arguments.
1967 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1968 (tramp-sh-handle-insert-file-contents-literally)
1969 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1970 with "_".
1971 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1972 Remove unused variables.
1973
1974 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1975 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1976 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1977
1978 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1979 Make them a defconst.
1980 (tramp-uuencode-region): Remove unused variable.
1981
1982 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1983
1984 * frameset.el (frameset--prop-setter): New function.
1985 (frameset-prop): Add gv-setter declaration.
1986 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1987 parameter was already set in FILTERED. Doc fix.
1988 (frameset--record-minibuffer-relationships): Allow saving a
1989 minibufferless frame without its corresponding minibuffer frame.
1990 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1991 frame, if the frame id matches.
1992 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1993 frames before orphaned ones.
1994 (frameset-restore): Warn about orphaned windows, instead of error out.
1995
1996 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1997
1998 * window.el (window-make-atom): Don't overwrite parameter
1999 already present.
2000 (display-buffer-in-atom-window): Handle special case where we
2001 split an already atomic window.
2002 (window--major-non-side-window, display-buffer-in-side-window)
2003 (window--side-check): Ignore minibuffer window when walking
2004 window tree.
2005 (window-deletable-p): Return 'frame only if no other frame uses
2006 our minibuffer window.
2007 (record-window-buffer): Run buffer-list-update-hook.
2008 (split-window): Make sure window--check-frame won't destroy an
2009 existing atomic window in case the new window gets nested
2010 inside.
2011 (display-buffer-at-bottom): Ignore minibuffer window when
2012 walking window tree. Don't split a side window.
2013 (pop-to-buffer): Don't set-buffer here, the select-window call
2014 should do that.
2015 (mouse-autoselect-window-select): Autoselect only if we are in the
2016 text portion of the window.
2017
2018 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2019
2020 * net/shr.el (shr-parse-image-data): New function to grab both the
2021 data itself and the Content-Type.
2022 (shr-put-image): Use it.
2023
2024 * net/eww.el (eww-display-image): Ditto.
2025
2026 * image.el (image-content-type-suffixes): New variable.
2027
2028 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2029
2030 * progmodes/python.el (python-imenu--build-tree)
2031 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2032
2033 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2034
2035 * simple.el (backward-word): Mention the optional argument.
2036
2037 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * frameset.el (frameset--make): Rename constructor from make-frameset.
2040 (frameset-p, frameset-valid-p): Don't autoload.
2041 (frameset-valid-p): Use normal accessors.
2042
2043 2013-08-13 Glenn Morris <rgm@gnu.org>
2044
2045 * progmodes/compile.el (compile-command): Tweak example in doc.
2046 * obsolete/scribe.el (scribe-mode):
2047 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2048
2049 * mail/feedmail.el (feedmail-confirm-outgoing)
2050 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2051
2052 * cus-start.el (truncate-partial-width-windows): Fix type.
2053
2054 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2055
2056 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2057
2058 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/timer.el (timer--time-setter): New function.
2061 (timer--time): Use it as gv-setter.
2062
2063 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2064 setter is not a symbol.
2065
2066 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2067
2068 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2069 if sending fails. This makes debugging easier.
2070
2071 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2074 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2075 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2076
2077 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2078
2079 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2080
2081 2013-08-12 Glenn Morris <rgm@gnu.org>
2082
2083 * format.el (format-annotate-function):
2084 Handle read-only text properties in the source. (Bug#14887)
2085
2086 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2087
2088 * net/eww.el (eww-display-html): Ignore coding system errors.
2089 One web site uses "utf-8lias" as the coding system.
2090
2091 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2092
2093 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2094
2095 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2096
2097 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2098 (tutorial--detailed-help): Remove unused local variables.
2099 (tutorial--save-tutorial-to): Use ignore-errors.
2100 (help-with-tutorial): Use looking-at-p.
2101
2102 * view.el (view-buffer-other-window, view-buffer-other-frame):
2103 Mark unused arguments.
2104
2105 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2106 (woman-select-symbol-fonts, woman, woman-find-file)
2107 (woman-insert-file-contents, woman-non-underline-faces):
2108 Use string-match-p.
2109 (woman1-unquote): Move declaration.
2110
2111 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2112 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2113 argument. Remove unused local variable.
2114 (xml-parse-elem-type): Use string-match-p.
2115 (xml-substitute-numeric-entities): Use ignore-errors.
2116
2117 * calculator.el (calculator): Mark unused argument.
2118 (calculator-paste, calculator-quit, calculator-integer-p):
2119 Use ignore-errors.
2120 (calculator-string-to-number, calculator-decimal, calculator-exp)
2121 (calculator-op-or-exp): Use string-match-p.
2122
2123 * dired.el (dired-buffer-more-recently-used-p): Declare.
2124 (dired-insert-set-properties, dired-insert-old-subdirs):
2125 Use ignore-errors.
2126
2127 * dired-aux.el (dired-compress): Use ignore-errors.
2128 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2129 (dired-do-async-shell-command, dired-do-shell-command)
2130 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2131 (dired-insert-subdir-validate): Use string-match-p.
2132 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2133 (dired-add-entry): Use string-match-p, looking-at-p.
2134 (dired-insert-subdir-newpos): Remove unused local variable.
2135
2136 * filenotify.el (file-notify-callback): Remove unused local variable.
2137
2138 * filesets.el (filesets-error): Mark unused argument.
2139 (filesets-which-command-p, filesets-filter-dir-names)
2140 (filesets-directory-files, filesets-get-external-viewer)
2141 (filesets-ingroup-get-data): Use string-match-p.
2142
2143 * find-file.el (ff-other-file-name, ff-other-file-name)
2144 (ff-find-the-other-file, ff-cc-hh-converter):
2145 Remove unused local variables.
2146 (ff-get-file-name): Use string-match-p.
2147 (ff-all-dirs-under): Use ignore-errors.
2148
2149 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2150 (follow-select-if-visible): Remove unused local variable.
2151
2152 * forms.el (read-file-filter): Move declaration.
2153 (forms--make-format, forms--make-parser, forms-insert-record):
2154 Quote function with #'.
2155 (forms--update): Use string-match-p. Quote function with #'.
2156
2157 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2158 (help-make-xrefs): Use looking-at-p.
2159 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2160
2161 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2162 (ibuffer-confirm-operation-on): Use string-match-p.
2163
2164 * msb.el (msb-item-handler, msb-dired-item-handler):
2165 Mark unused arguments.
2166
2167 * ses.el (ses-decode-cell-symbol)
2168 (ses-kill-override): Remove unused local variable.
2169 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2170 (ses-load): Use ignore-errors, looking-at-p.
2171 (ses-jump-safe): Use ignore-errors.
2172 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2173
2174 * tabify.el (untabify, tabify): Mark unused arguments.
2175
2176 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2177 Mark unused argument.
2178 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2179 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2180
2181 * emacs-lisp/timer.el (timer--time): Define setter with
2182 gv-define-setter to avoid deprecation warning.
2183
2184 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2185 (*record-cmpl-statistics-p*): Remove (was commented out).
2186 (cmpl-statistics-block): Remove (body was commented out).
2187 All callers changed.
2188 (add-completions-from-buffer, load-completions-from-file):
2189 Remove unused variables.
2190
2191 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2192
2193 * filecache.el (file-cache-delete-file-list):
2194 Print message only when told so.
2195 (file-cache-files-matching): Use #' in mapconcat argument.
2196
2197 * ffap.el (ffap-url-at-point): Fix reference to variable
2198 thing-at-point-default-mail-uri-scheme.
2199
2200 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * subr.el (define-error): New function.
2203 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2204 error-file-not-found and define with define-error.
2205 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2206 and define with define-error.
2207 * userlock.el (file-locked, file-supersession):
2208 * simple.el (mark-inactive):
2209 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2210 * progmodes/ada-mode.el (ada-mode-errors):
2211 * play/life.el (life-extinct):
2212 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2213 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2214 * nxml/rng-util.el (rng-error):
2215 * nxml/rng-uri.el (rng-uri-error):
2216 * nxml/rng-match.el (rng-compile-error):
2217 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2218 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2219 * nxml/nxml-rap.el (nxml-scan-error):
2220 * nxml/nxml-outln.el (nxml-outline-error):
2221 * net/soap-client.el (soap-error):
2222 * net/gnutls.el (gnutls-error):
2223 * net/ange-ftp.el (ftp-error):
2224 * mpc.el (mpc-proc-error):
2225 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2226 (json-number-format, json-string-escape, json-string-format)
2227 (json-key-format, json-object-format):
2228 * jka-compr.el (compression-error):
2229 * international/quail.el (quail-error):
2230 * international/kkc.el (kkc-error):
2231 * emacs-lisp/ert.el (ert-test-failed):
2232 * calc/calc.el (calc-error, inexact-result, math-overflow)
2233 (math-underflow):
2234 * bookmark.el (bookmark-error-no-filename):
2235 * epg.el (epg-error): Define with define-error.
2236
2237 * time.el (display-time-event-handler)
2238 (display-time-next-load-average): Don't call sit-for since it seems
2239 unnecessary (bug#15045).
2240
2241 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2242 Use #' instead of ' to quote functions.
2243 (checkdoc-output-mode): Use setq-local.
2244 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2245 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2246 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2247 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2248 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2249 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2250 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2251 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2252
2253 * ido.el (ido-completion-help): Fix up compiler warning.
2254
2255 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2256
2257 * frameset.el (frameset-p): Add autoload cookie.
2258 (frameset--jump-to-register): New function, based on code moved from
2259 register.el.
2260 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2261
2262 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2263 (frameset-restore, frameset-save, frameset-session-filter-alist):
2264 Remove declarations.
2265 (register-alist): Doc fix.
2266 (frameset-to-register): Move to frameset.el.
2267 (jump-to-register, describe-register-1): Remove frameset-specific code.
2268
2269 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2270
2271 * allout-widgets.el (allout-widgets-pre-command-business)
2272 (allout-widgets-post-command-business)
2273 (allout-widgets-after-change-handler)
2274 (allout-decorate-item-and-context, allout-set-boundary-marker)
2275 (allout-body-modification-handler)
2276 (allout-graphics-modification-handler): Mark ignored arguments.
2277 (allout-widgets-post-command-business)
2278 (allout-widgets-exposure-change-processor)
2279 (allout-widgets-exposure-undo-processor)
2280 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2281 (allout-parse-item-at-point, allout-decorate-item-guides)
2282 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2283 * allout.el (epa-passphrase-callback-function): Declare.
2284 (allout-overlay-insert-in-front-handler)
2285 (allout-overlay-interior-modification-handler)
2286 (allout-isearch-end-handler, allout-chart-siblings)
2287 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2288 (allout-yank-processing, allout-process-exposed)
2289 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2290 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2291 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2292 (lisp-indent-defform): Mark ignored arguments.
2293 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2294 (calculate-lisp-indent): Remove unused variables.
2295 * international/characters.el (indian-2-column, arabic-2-column)
2296 (tibetan): Mark ignored arguments.
2297 (use-cjk-char-width-table): Mark ignored arguments.
2298 Remove unused variables.
2299 * international/fontset.el (build-default-fontset-data)
2300 (x-compose-font-name, create-fontset-from-fontset-spec):
2301 Mark ignored arguments.
2302 (fontset-plain-name): Remove unused variables.
2303 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2304 (keyboard-coding-system): Mark ignored arguments.
2305 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2306 * help.el (resize-temp-buffer-window):
2307 * window.el (display-buffer-in-major-side-window)
2308 (display-buffer-in-side-window, display-buffer-in-previous-window):
2309 Remove unused variables.
2310 * isearch.el (isearch-forward-symbol):
2311 * version.el (emacs-bzr-version-bzr):
2312 * international/mule-cmds.el (current-language-environment):
2313 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2314 (x-handle-display):
2315 * term/pc-win.el (x-list-fonts, x-display-planes)
2316 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2317 (x-server-version, x-display-screens, x-display-mm-height)
2318 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2319 (x-selection-owner-p, x-own-selection-internal)
2320 (x-disown-selection-internal, x-get-selection-internal)
2321 (msdos-initialize-window-system):
2322 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2323 * term/x-win.el (x-handle-no-bitmap-icon):
2324 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2325 (vc-default-find-file-hook, vc-default-extra-menu):
2326 Mark ignored arguments.
2327
2328 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2331 break-condition in the context of the debugged code (bug#12685).
2332
2333 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2334
2335 * comint.el:
2336 Do not use an overlay to highlight the last prompt. (Bug#14744)
2337 (comint-mode): Make comint-last-prompt buffer local.
2338 (comint-last-prompt): New variable.
2339 (comint-last-prompt-overlay): Remove. Superseded by
2340 comint-last-prompt.
2341 (comint-snapshot-last-prompt, comint-output-filter):
2342 Use comint-last-prompt.
2343
2344 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2345
2346 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2347 (frameset-save): Check validity of the resulting frameset.
2348
2349 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2350
2351 * ido.el (ido-record-command): Add doc string.
2352
2353 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2354
2355 * frameset.el (frameset): Do not disable creation of the default
2356 frameset-p predicate. Doc fix.
2357 (frameset-valid-p): New function, copied from the old predicate-p.
2358 Add additional checks.
2359 (frameset-restore): Check with frameset-valid-p.
2360 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2361 (frameset-name, frameset-description, frameset-properties)
2362 (frameset-states): Add docstring.
2363 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2364 (frameset-filter-alist): Doc fixes.
2365
2366 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2367
2368 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2369
2370 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2373 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2374 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2375 (byte-compile-normal-call): Remove obsolescence check.
2376
2377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2378
2379 * frameset.el (frameset-restore): Doc fix.
2380
2381 * register.el (frameset-frame-id, frameset-frame-with-id)
2382 (frameset-p, frameset-restore, frameset-save): Declare.
2383 (register-alist): Document framesets.
2384 (frameset-session-filter-alist): Declare.
2385 (frameset-to-register): New function.
2386 (jump-to-register): Implement jumping to framesets. Doc fix.
2387 (describe-register-1): Describe framesets.
2388
2389 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2390
2391 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2392
2393 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2394 Use lexical-binding.
2395
2396 * frameset.el (frameset): Use type vector, not list (incompatible
2397 change). Do not declare a new constructor, use the default one.
2398 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2399 `name' and `description', respectively, and add read-only slot
2400 `timestamp'. Doc fixes.
2401 (frameset-copy, frameset-persistent-filter-alist)
2402 (frameset-filter-alist, frameset-switch-to-gui-p)
2403 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2404 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2405 (frameset-filter-iconified, frameset-keep-original-display-p):
2406 Doc fixes.
2407 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2408 Rename from frameset-filter-(save|restore)-param. All callers changed.
2409 Doc fix.
2410 (frameset-p): Adapt to change to vector and be more thorough.
2411 Change arg name to OBJECT. Doc fix.
2412 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2413 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2414 All callers changed.
2415 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2416 All callers changed.
2417 (frameset--record-minibuffer-relationships): Rename from
2418 frameset--process-minibuffer-frames. All callers changed.
2419 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2420 Use new default constructor (again). Doc fix.
2421 (frameset--find-frame-if): Rename from `frameset--find-frame.
2422 All callers changed.
2423 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2424 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2425 Doc fix.
2426 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2427 PARAMETERS and WINDOW-STATE, respectively.
2428 (frameset-restore): Add new keyword argument PREDICATE.
2429 Reset frameset--target-display to nil. Doc fix.
2430
2431 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2434 (bat-mode): Use it.
2435 (bat-mode-syntax-table): Mark \n as end-of-comment.
2436 (bat-font-lock-keywords): Remove comment rule.
2437
2438 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2439 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2440
2441 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2442 (byte-compile-callargs-warn): Use `push'.
2443 (byte-compile-arglist-warn): Ignore higher-order "calls".
2444 (byte-compile-file-form-autoload): Use `pcase'.
2445 (byte-compile-function-form): If quoting a symbol, check that it exists.
2446
2447 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2448
2449 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2450 and add a few popular commands found in batch files.
2451 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2452 (dos-mode): Doc fixes.
2453
2454 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2457 (dos-mode): Use setq-local. Add space after "rem".
2458 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2459 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2460
2461 2013-08-07 Arni Magnusson <arnima@hafro.is>
2462
2463 * progmodes/dos.el: New file.
2464 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2465 dos-mode.
2466
2467 2013-08-06 Glenn Morris <rgm@gnu.org>
2468
2469 * calendar/calendar.el: Add new faces, and day-header-array.
2470 (calendar-weekday-header, calendar-weekend-header)
2471 (calendar-month-header): New faces.
2472 (calendar-day-header-construct): New function.
2473 (calendar-day-header-width): Also :set calendar-day-header-array.
2474 (calendar-american-month-header, calendar-european-month-header)
2475 (calendar-iso-month-header): Use calendar- faces.
2476 (calendar-generate-month):
2477 Use calendar-day-header-array for day headers; apply faces to them.
2478 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2479 (calendar-abbrev-construct): Add optional maxlen argument.
2480 (calendar-day-name-array): Doc fix.
2481 (calendar-day-name-array, calendar-abbrev-length)
2482 (calendar-day-abbrev-array):
2483 Also :set calendar-day-header-array, and maybe redraw.
2484 (calendar-day-header-array): New option. (Bug#15007)
2485 (calendar-font-lock-keywords): Set to nil and make obsolete.
2486 (calendar-day-name): Add option to use header array.
2487
2488 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2489
2490 * net/shr.el (shr-render-td): Remove debugging.
2491 (shr-render-td): Make width computation consistent by defaulting
2492 all zero-width columns to 10 characters. This may not be optimal,
2493 but it's at least consistent.
2494 (shr-make-table-1): Redo last change to fix the real problem in
2495 colspan handling.
2496
2497 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2498
2499 * files.el (cache-long-line-scans):
2500 Make obsolete alias to `cache-long-scans'.
2501
2502 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2503
2504 * frameset.el (frameset, frameset-filter-alist)
2505 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2506 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2507 (frameset-compute-pos): Rename from frameset--compute-pos,
2508 and add docstring.
2509 (frameset-move-onscreen): Use frameset-compute-pos.
2510 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2511
2512 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2513 Fix typos in docstrings.
2514
2515 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2516
2517 * frame.el (get-other-frame): Tiny cleanup.
2518
2519 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2520
2521 * vc/vc.el (vc-default-ignore-completion-table):
2522 Silence byte-compiler warning.
2523
2524 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2525 slot , which can indeed be nil.
2526 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2527 Move entry for `left' from persistent to live filter alist.
2528 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2529 Doc fixes.
2530 (frameset-filter-params): When restoring a frame, copy items added to
2531 `filtered', to avoid unwittingly modifying the original parameters.
2532 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2533 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2534
2535 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2536 to use looking-at-p instead of looking-at. (Bug#15028)
2537
2538 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 Revert introduction of isearch-filter-predicates (bug#14714).
2541 Rely on add-function instead.
2542 * isearch.el (isearch-filter-predicates): Rename it back to
2543 isearch-filter-predicate.
2544 (isearch-message-prefix): Use advice-function-mapc and advice
2545 properties to get the isearch-message-prefix.
2546 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2547 instead of run-hook-with-args-until-failure.
2548 (isearch-filter-visible): Not obsolete any more.
2549 * loadup.el: Preload nadvice.
2550 * replace.el (perform-replace): Revert to funcall
2551 instead of run-hook-with-args-until-failure.
2552 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2553 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2554 dired-isearch-filenames-toggle; make it into a proper minor mode.
2555 Use add/remove-function.
2556 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2557 Call the minor-mode rather than add/remove-hook.
2558 (dired-isearch-filter-filenames):
2559 Remove isearch-message-prefix property.
2560 * info.el (Info--search-loop): New function, extracted from Info-search.
2561 Funcall isearch-filter-predicate instead of
2562 run-hook-with-args-until-failure isearch-filter-predicates.
2563 (Info-search): Use it.
2564 (Info-mode): Use isearch-filter-predicate instead of
2565 isearch-filter-predicates.
2566
2567 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2568
2569 Do not call to `selected-window' where it is assumed by default.
2570 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2571 `window-hscroll', `window-width', `window-height', `window-buffer',
2572 `window-frame', `window-start', `window-point', `next-window'
2573 and `window-display-table'.
2574 * abbrev.el (abbrev--default-expand):
2575 * bs.el (bs--show-with-configuration):
2576 * buff-menu.el (Buffer-menu-mouse-select):
2577 * calc/calc.el (calc):
2578 * calendar/calendar.el (calendar-generate-window):
2579 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2580 (diary-make-entry):
2581 * comint.el (send-invisible, comint-dynamic-complete-filename)
2582 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2583 * completion.el (complete):
2584 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2585 * disp-table.el (describe-current-display-table):
2586 * doc-view.el (doc-view-insert-image):
2587 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2588 * ehelp.el (with-electric-help):
2589 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2590 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2591 * emacs-lisp/helper.el (Helper-help-scroller):
2592 * emulation/cua-base.el (cua--post-command-handler-1):
2593 * eshell/esh-mode.el (eshell-output-filter):
2594 * ffap.el (ffap-gnus-wrapper):
2595 * help-macro.el (make-help-screen):
2596 * hilit-chg.el (highlight-compare-buffers):
2597 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2598 * hl-line.el (global-hl-line-highlight):
2599 * icomplete.el (icomplete-simple-completing-p):
2600 * isearch.el (isearch-done):
2601 * jit-lock.el (jit-lock-stealth-fontify):
2602 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2603 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2604 * mpc.el (mpc-tagbrowser, mpc):
2605 * net/rcirc.el (rcirc-any-buffer):
2606 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2607 * play/landmark.el (landmark-max-width, landmark-max-height):
2608 * play/zone.el (zone):
2609 * progmodes/compile.el (compilation-goto-locus):
2610 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2611 * progmodes/etags.el (find-tag-other-window):
2612 * progmodes/fortran.el (fortran-column-ruler):
2613 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2614 * progmodes/verilog-mode.el (verilog-point-text):
2615 * reposition.el (reposition-window):
2616 * rot13.el (toggle-rot13-mode):
2617 * server.el (server-switch-buffer):
2618 * shell.el (shell-dynamic-complete-command)
2619 (shell-dynamic-complete-environment-variable):
2620 * simple.el (insert-buffer, set-selective-display)
2621 (delete-completion-window):
2622 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2623 (speedbar-recenter):
2624 * startup.el (fancy-splash-head):
2625 * textmodes/ispell.el (ispell-command-loop):
2626 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2627 * tutorial.el (help-with-tutorial):
2628 * vc/add-log.el (add-change-log-entry):
2629 * vc/compare-w.el (compare-windows):
2630 * vc/ediff-help.el (ediff-indent-help-message):
2631 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2632 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2633 (ediff-setup-control-frame):
2634 * vc/emerge.el (emerge-position-region):
2635 * vc/pcvs-util.el (cvs-bury-buffer):
2636 * window.el (walk-windows, mouse-autoselect-window-select):
2637 * winner.el (winner-set-conf, winner-undo): Related users changed.
2638
2639 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2640
2641 * frameset.el (frameset--set-id): Doc fix.
2642 (frameset-frame-id, frameset-frame-id-equal-p)
2643 (frameset-locate-frame-id): New functions.
2644 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2645 (frameset-restore): Use them.
2646
2647 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2648
2649 Do not call to `selected-frame' where it is assumed by default.
2650 Affected functions are `raise-frame', `redraw-frame',
2651 `frame-first-window', `frame-terminal' and `delete-frame'.
2652 * calendar/appt.el (appt-disp-window):
2653 * epg.el (epg-wait-for-completion):
2654 * follow.el (follow-delete-other-windows-and-split)
2655 (follow-avoid-tail-recenter):
2656 * international/mule.el (set-terminal-coding-system):
2657 * mail/rmail.el (rmail-mail-return):
2658 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2659 * progmodes/f90.el (f90-add-imenu-menu):
2660 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2661 * server.el (server-switch-buffer):
2662 * simple.el (delete-completion-window):
2663 * talk.el (talk):
2664 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2665 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2666 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2667 * vc/ediff.el (ediff-documentation): Related users changed.
2668 * frame.el (selected-terminal): Remove the leftover.
2669
2670 2013-08-05 Glenn Morris <rgm@gnu.org>
2671
2672 * calendar/calendar.el (calendar-generate-month):
2673 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2674 (calendar-generate-month, calendar-font-lock-keywords):
2675 Fix for calendar-day-header-width > length of any day name.
2676
2677 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2678
2679 * desktop.el (desktop-clear): Use new name of sort predicate.
2680
2681 * frameset.el (frameset): Add docstring. Move :version property to its
2682 own `version' slot.
2683 (frameset-copy): Rename from copy-frameset.
2684 (frameset-p): Check more thoroughly.
2685 (frameset-prop): Do not check for :version, which is no longer a prop.
2686 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2687 Use new :never value instead of t.
2688 (frameset-filter-alist): Expand and clarify docstring.
2689 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2690 (frameset-filter-minibuffer, frameset-filter-save-param)
2691 (frameset-filter-restore-param, frameset-filter-iconified):
2692 Add pointer to docstring of frameset-filter-alist.
2693 (frameset-filter-params): Rename filter values to be more meaningful:
2694 :never instead of t, and reverse the meanings of :save and :restore.
2695 (frameset--process-minibuffer-frames): Clarify error message.
2696 (frameset-save): Avoid unnecessary and confusing call to framep.
2697 Use new BOA constructor for framesets.
2698 (frameset--reuse-list): Doc fix.
2699 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2700 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2701 (frameset-minibufferless-first-p): Doc fix.
2702 Rename from frameset-sort-frames-for-deletion.
2703 (frameset-restore): Doc fixes. Use new function names.
2704 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2705
2706 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2707
2708 * desktop.el (desktop-restore-forces-onscreen)
2709 (desktop-restore-reuses-frames): Document :keyword constant values.
2710 (desktop-filter-parameters-alist): Remove, now identical to
2711 frameset-filter-alist.
2712 (desktop--filter-tty*): Remove, moved to frameset.el.
2713 (desktop-save-frameset, desktop-restore-frameset):
2714 Do not pass :filters argument.
2715
2716 * frameset.el (frameset-live-filter-alist)
2717 (frameset-persistent-filter-alist): New variables.
2718 (frameset-filter-alist): Use them. Add autoload cookie.
2719 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2720 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2721 `frameset--id' (it's supposed to be internal to frameset.el).
2722 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2723 (frameset--initial-params): New function.
2724 (frameset--get-frame): Use it. Doc fix.
2725 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2726 Accept :all, not 'all.
2727 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2728 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2729 with fbound symbols. Fix frame id matching, and remove matching ids if
2730 the frame being restored is deleted. Obey :delete.
2731
2732 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * subr.el (macrop): New function.
2735 (text-clone--maintaining): New var.
2736 (text-clone--maintain): Rename from text-clone-maintain. Use it
2737 instead of inhibit-modification-hooks.
2738
2739 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2740 a proxy, so as handle autoloads and redefinitions of the target.
2741 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2742
2743 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2744 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2745 (pcase--mutually-exclusive-p): New function.
2746 (pcase--split-consp): Use it.
2747 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2748 mutually exclusive with the current predicate.
2749
2750 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2751 (edebug-macrop): Remove. Use `macrop' instead.
2752 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2753 (ad-macro-p):
2754 * eshell/esh-cmd.el (eshell-macrop):
2755 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2756
2757 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2760 (advice-mapc): New function, using it.
2761 (advice-function-member-p): New function.
2762 (advice--normalize): Store the cdr in advice--saved-rewrite since
2763 that's the part that will be changed.
2764 (advice--symbol-function): New function.
2765 (advice-remove): Handle removal before the function is defined.
2766 Adjust to new advice--saved-rewrite.
2767 (advice-member-p): Use advice-function-member-p and
2768 advice--symbol-function.
2769
2770 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2771
2772 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2773 (frameset-filter-minibuffer): Doc fix.
2774 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2775 (frameset--set-id, frameset--process-minibuffer-frames)
2776 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2777 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2778
2779 * desktop.el (desktop-clear): Only delete frames when called
2780 interactively and desktop-restore-frames is non-nil. Doc fix.
2781 (desktop-read): Set desktop-saved-frameset to nil.
2782
2783 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2784
2785 * vc/vc.el (vc-ignore): Rewrite.
2786 (vc-default-ignore-completion-table):
2787 (vc--read-lines):
2788 (vc--add-line, vc--remove-regexp): New functions.
2789
2790 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2791 (vc-svn-ignore-completion-table): New function.
2792
2793 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2794 (vc-hg-ignore-completion-table):
2795 (vc-hg-find-ignore-file): New functions.
2796
2797 * vc/vc-git.el (vc-git-ignore): Rewrite.
2798 (vc-git-ignore-completion-table):
2799 (vc-git-find-ignore-file): New functions.
2800
2801 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2802
2803 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2804 (vc-bzr-ignore-completion-table):
2805 (vc-bzr-find-ignore-file): New functions.
2806
2807 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2808
2809 * frameset.el (frameset-prop): New function and setter.
2810 (frameset-save): Do not modify frame list passed by the caller.
2811
2812 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2815
2816 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2819 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2820
2821 * custom.el (custom-initialize-default, custom-initialize-set)
2822 (custom-initialize-reset, custom-initialize-changed): Affect the
2823 toplevel-default-value (bug#6275, bug#14586).
2824 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2825 for bug#6275.
2826
2827 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2828
2829 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2830 Add cl-def* expressions.
2831
2832 * frameset.el (frameset-filter-params): Fix order of arguments.
2833
2834 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2835
2836 Move code related to saving frames to frameset.el.
2837 * desktop.el: Require frameset.
2838 (desktop-restore-frames): Doc fix.
2839 (desktop-restore-reuses-frames): Rename from
2840 desktop-restoring-reuses-frames.
2841 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2842 (desktop-clear): Clear frames too.
2843 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2844 (desktop--filter-tty*, desktop-save, desktop-read):
2845 Use frameset functions.
2846 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2847 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2848 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2849 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2850 (desktop--process-minibuffer-frames, desktop-save-frames)
2851 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2852 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2853 (desktop--sort-states, desktop-restoring-frames-p)
2854 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2855 (desktop-restoring-frameset-p, desktop-restore-frameset)
2856 (desktop--check-dont-save, desktop-save-frameset): New functions.
2857 (desktop--app-id): New constant.
2858 (desktop-first-buffer, desktop-buffer-ok-count)
2859 (desktop-buffer-fail-count): Move before first use.
2860 * frameset.el: New file.
2861
2862 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * files.el: Use lexical-binding.
2865 (dir-locals-read-from-file): Remove unused `err' variable.
2866 (hack-dir-local-variables--warned-coding): New var.
2867 (hack-dir-local-variables): Use it to avoid repeated warnings.
2868 (make-backup-file-name--default-function): New function.
2869 (make-backup-file-name-function): Use it as default.
2870 (buffer-stale--default-function): New function.
2871 (buffer-stale-function): Use it as default.
2872 (revert-buffer-insert-file-contents--default-function): New function.
2873 (revert-buffer-insert-file-contents-function): Use it as default.
2874 (insert-directory): Avoid add-to-list.
2875
2876 * autorevert.el (auto-revert-handler): Simplify.
2877 Use buffer-stale--default-function.
2878
2879 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2880
2881 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2882
2883 * whitespace.el (whitespace-ensure-local-variables): New function.
2884 (whitespace-cleanup-region): Call it.
2885 (whitespace-turn-on): Call it.
2886
2887 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2888
2889 Complete file name handlers.
2890
2891 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2892 (tramp-handle-verify-visited-file-modtime)
2893 (tramp-handle-file-notify-rm-watch): New functions.
2894 (tramp-call-process): Do not bind `default-directory'.
2895
2896 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2897 Order alphabetically.
2898 [access-file, add-name-to-file, dired-call-process]:
2899 [dired-compress-file, file-acl, file-notify-rm-watch]:
2900 [file-ownership-preserved-p, file-selinux-context]:
2901 [make-directory-internal, make-symbolic-link, set-file-acl]:
2902 [set-file-selinux-context, set-visited-file-modtime]:
2903 [verify-visited-file-modtime]: Add handler.
2904 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2905
2906 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2907 [file-notify-add-watch, file-notify-rm-watch]:
2908 [set-file-times, set-visited-file-modtime]:
2909 [verify-visited-file-modtime]: Add handler.
2910 (with-tramp-gvfs-error-message)
2911 (tramp-gvfs-handle-set-visited-file-modtime)
2912 (tramp-gvfs-fuse-file-name): Remove.
2913 (tramp-gvfs-handle-file-notify-add-watch)
2914 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2915 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2916
2917 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2918 Order alphabetically.
2919 [file-notify-rm-watch ]: Use default Tramp handler.
2920 [executable-find]: Remove private handler.
2921 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2922 `default-directory'.
2923 (tramp-sh-handle-executable-find)
2924 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2925 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2926 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2927 Do not use `format' in `tramp-message'.
2928
2929 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2930 [file-notify-rm-watch, set-visited-file-modtime]:
2931 [verify-visited-file-modtime]: Add handler.
2932 (tramp-smb-call-winexe): Do not bind `default-directory'.
2933
2934 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2935
2936 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2937
2938 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2939
2940 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2941 use it.
2942 (log-view-diff-changeset): Same.
2943 (log-view-diff-common): Call backend command `previous-revision'
2944 to find out the previous revision, in both cases. Swap the
2945 variables `to' and `fr', so that `fr' usually refers to the
2946 earlier revision (Bug#14989).
2947
2948 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2949
2950 * ibuf-ext.el (ibuffer-filter-by-filename):
2951 Make it work with dired buffers too.
2952
2953 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2954
2955 * emacs-lisp/re-builder.el (reb-color-display-p):
2956 * files.el (save-buffers-kill-terminal):
2957 * net/browse-url.el (browse-url):
2958 * server.el (server-save-buffers-kill-terminal):
2959 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2960 Prefer nil to selected-frame for the first arg of frame-parameter.
2961
2962 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2963
2964 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2965
2966 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2967
2968 * minibuffer.el (completion--twq-all): Try and preserve each
2969 completion's case choice (bug#14907).
2970
2971 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2972
2973 * net/network-stream.el (open-network-stream): Mention the new
2974 :nogreeting parameter.
2975 (network-stream-open-starttls): Use the :nogreeting parameter
2976 (bug#14938).
2977
2978 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2979
2980 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2981 more natural than popping.
2982
2983 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2984 (shr-urlify): Highlight under mouse.
2985
2986 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2987
2988 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2989
2990 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2991
2992 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2993 buffer for output.
2994
2995 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2996 point-min==1. Fix search string. Fix parentheses missing.
2997
2998 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2999 assume point-min==1. Fix search string. Fix parentheses missing.
3000
3001 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3002
3003 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3004 buffer for output.
3005
3006 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3007
3008 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3009 initial frame is minibuffer-less. (Bug#14841)
3010
3011 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3014 option.
3015
3016 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3017 (tramp-maybe-open-connection): Use it.
3018
3019 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3020
3021 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3022 minimal set of parameters passed when creating a frame, because
3023 the minibuffer status of a frame cannot be changed later.
3024
3025 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3026
3027 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3028 replace-regexp-in-string and inadvertent omissions in previous change.
3029 (todo-filter-items): Ensure only file names are comma-separated in
3030 name of filtered items buffer.
3031
3032 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3033
3034 * desktop.el: Optionally force offscreen frames back onscreen.
3035 (desktop-restoring-reuses-frames): New option.
3036 (desktop--compute-pos, desktop--move-onscreen): New functions.
3037 (desktop--make-frame): Use desktop--move-onscreen.
3038
3039 2013-07-27 Alan Mackenzie <acm@muc.de>
3040
3041 Fontify a Java generic method as a function.
3042 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3043 value to t.
3044
3045 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3046
3047 * calendar/todo-mode.el: Add command to rename todo files.
3048 (todo-rename-file): New command.
3049 (todo-key-bindings-t): Add key binding for it. Change the
3050 bindings of todo-filter-regexp-items(-multifile) to use `x'
3051 instead of `r', since the latter is better suited to the new
3052 renaming command.
3053
3054 2013-07-27 Alan Mackenzie <acm@muc.de>
3055
3056 Make Java try-with-resources statement parse properly.
3057 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3058 (c-block-stmt-1-2-key): New language constants/variables.
3059 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3060 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3061 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3062 with c-block-stmt-1-2-key.
3063
3064 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3065
3066 * desktop.el (desktop--make-frame): Apply most frame parameters after
3067 creating the frame to force (partially or totally) offscreen frames to
3068 be restored as such.
3069
3070 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3071
3072 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3073 (Bug#14948)
3074
3075 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3078 `base' arg of backtrace-frame.
3079
3080 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3081
3082 * simple.el (list-processes): Doc fix.
3083
3084 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3085
3086 * desktop.el (desktop--select-frame):
3087 Try harder to reuse existing frames.
3088
3089 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3092 (edebug-eval): Use backtrace-eval.
3093 (edebug--display, edebug--recursive-edit): Don't let-bind the
3094 edebug-outer-* vars that keep track of variables we locally let-bind.
3095 (edebug-outside-excursion): Don't restore outside values of locally
3096 let-bound vars.
3097 (edebug--display): Use user-error.
3098 (cl-lexical-debug, cl-debug-env): Remove.
3099
3100 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3101
3102 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3103 are restored to be sure that they are visible before deleting any
3104 remaining ones.
3105
3106 2013-07-26 Matthias Meulien <orontee@gmail.com>
3107
3108 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3109 vc-print-root-log. (Bug#14948)
3110
3111 2013-07-26 Richard Stallman <rms@gnu.org>
3112
3113 Add aliases for encrypting mail.
3114 * epa.el (epa-mail-aliases): New option.
3115 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3116 Bind inhibit-read-only so read-only text doesn't ruin everything.
3117 (epa-mail-default-recipients): New subroutine broken out.
3118 Handle epa-mail-aliases.
3119
3120 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 Add support for lexical variables to the debugger's `e' command.
3123 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3124 vars, except for debugger-outer-match-data.
3125 (debugger-frame-number): Move check for "on a function call" from
3126 callers into it. Add `skip-base' argument.
3127 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3128 (debugger-env-macro): Only reset the state stored in non-variables,
3129 i.e. current-buffer and match-data.
3130 (debugger-eval-expression): Rewrite using backtrace-eval.
3131 * subr.el (internal--called-interactively-p--get-frame): Remove.
3132 (called-interactively-p):
3133 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3134 `base' arg of backtrace-frame instead.
3135
3136 2013-07-26 Glenn Morris <rgm@gnu.org>
3137
3138 * align.el (align-regexp): Doc fix. (Bug#14857)
3139 (align-region): Explicit error if subexpression missing/does not match.
3140
3141 * simple.el (global-visual-line-mode):
3142 Do not duplicate the mode lighter. (Bug#14858)
3143
3144 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3145
3146 * window.el (display-buffer): In display-buffer bind
3147 split-window-keep-point to t, bug#14829.
3148
3149 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3150
3151 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3152 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3153 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3154 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3155 Change accordingly.
3156 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3157 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3158
3159 2013-07-25 Glenn Morris <rgm@gnu.org>
3160
3161 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3162
3163 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3164
3165 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3166 parameter to modify-frame-parameters if the value has not changed;
3167 this is a workaround for bug#14949.
3168 (desktop--make-frame): On cl-delete-if call, check parameter name,
3169 not full parameter.
3170
3171 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3172
3173 * vc/vc.el (vc-ignore): New function.
3174
3175 * vc/vc-svn.el (vc-svn-ignore): New function.
3176
3177 * vc/vc-hg.el (vc-hg-ignore): New function.
3178
3179 * vc/vc-git.el (vc-git-ignore): New function.
3180
3181 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3182 (vc-dir-ignore): New function.
3183
3184 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3185 (cvs-append-to-ignore): Move here from pcvs.el.
3186
3187 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3188
3189 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3190
3191 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3192
3193 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3194 (desktop-restore-frames): Warn when deleting an existing frame failed.
3195
3196 2013-07-24 Glenn Morris <rgm@gnu.org>
3197
3198 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3199
3200 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3201
3202 * filenotify.el (file-notify-supported-p):
3203 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3204 Remove functions.
3205
3206 * autorevert.el (auto-revert-use-notify):
3207 (auto-revert-notify-add-watch):
3208 * net/tramp.el (tramp-file-name-for-operation):
3209 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3210 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3211 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3212 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3213 Remove `file-notify-supported-p' entry.
3214
3215 2013-07-24 Glenn Morris <rgm@gnu.org>
3216
3217 * printing.el: Replace all uses of deleted ps-windows-system,
3218 ps-lp-system, ps-flatten-list with lpr- versions.
3219
3220 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3223 checked with memq (bug#14935).
3224
3225 * files.el (revert-buffer-function): Use a non-nil default.
3226 (revert-buffer-preserve-modes): Declare var to
3227 provide access to the `preserve-modes' argument.
3228 (revert-buffer): Let-bind it.
3229 (revert-buffer--default): New function, extracted from revert-buffer.
3230
3231 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * lpr.el: Signal print errors more prominently.
3234 (print-region-function): Don't default to nil.
3235 (lpr-print-region): New function, extracted from print-region-1.
3236 Check lpr's return value and signal an error in case of problem.
3237 (print-region-1): Use it.
3238 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3239 versions instead.
3240 (ps-printer-name): Default to nil.
3241 (ps-printer-name-option): Default to lpr-printer-switch.
3242 (ps-print-region-function): Don't default to nil.
3243 (ps-postscript-code-directory): Simplify default.
3244 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3245 (ps-string-list, ps-eval-switch, ps-flatten-list)
3246 (ps-flatten-list-1): Remove.
3247 (ps-multibyte-buffer): Avoid setq.
3248 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3249 (print-region-function, ps-print-region-function): Don't set them here.
3250
3251 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3252
3253 * ido.el (ido-fractionp):
3254 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3255 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3256 (ido-max-directory-size, ido-max-dir-file-cache)
3257 (ido-decorations): Doc fix.
3258
3259 * ansi-color.el: Fix old URL.
3260
3261 2013-07-23 Michael R. Mauger <michael@mauger.com>
3262
3263 * progmodes/sql.el: Version 3.3
3264 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3265 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3266 (sql-interactive-remove-continuation-prompt): Rewrite, use
3267 functions above. Fix continuation prompt and complete output line
3268 handling.
3269 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3270 redirected output buffer.
3271 (sql-mode): Restore deleted code (Bug#13591).
3272
3273 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3274
3275 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3276
3277 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3278
3279 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3280
3281 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3282 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3283 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3284
3285 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * desktop.el (desktop-clear): Simplify; remove useless checks
3288 against invalid buffer names.
3289 (desktop-list*): Use cl-list*.
3290 (desktop-buffer-info, desktop-create-buffer): Simplify.
3291
3292 2013-07-23 Leo Liu <sdl.web@gmail.com>
3293
3294 * bookmark.el (bookmark-make-record): Restore NAME as a default
3295 value. (Bug#14933)
3296
3297 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3300 extracted from autoload--insert-text.
3301 (autoload--insert-text): Remove.
3302 (autoload--print-cookie-text): New function, extracted from
3303 autoload--insert-cookie-text.
3304 (autoload--insert-cookie-text): Remove.
3305 (autoload-generate-file-autoloads): Adjust calls accordingly.
3306
3307 * winner.el (winner-hook-installed-p): Remove.
3308 (winner-mode): Simplify accordingly.
3309
3310 * subr.el (add-to-list): Fix compiler-macro when `append' is
3311 not constant. Don't use `cl-member' for the base case.
3312
3313 * progmodes/subword.el: Fix boundary case (bug#13758).
3314 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3315 own group.
3316 (subword-backward-regexp): Make it a constant.
3317 (subword-forward-internal): Don't treat a trailing capital as the
3318 beginning of a word.
3319
3320 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3321
3322 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3323 global value of tabulated-list-revert-hook (bug#14930).
3324
3325 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * desktop.el: Require 'cl-lib.
3328 (desktop-before-saving-frames-functions): New hook.
3329 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3330 for frames being saved. Rename from desktop--save-minibuffer-frames.
3331 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3332 Do not save frames with non-nil `desktop-dont-save' parameter.
3333 Filter out deleted frames.
3334 (desktop--find-frame): Use cl-find-if.
3335 (desktop--select-frame): Use cl-(first|second|third) to access values
3336 of desktop-mini.
3337 (desktop--make-frame): Use cl-delete-if.
3338 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3339 (desktop-restore-frames): Use cl-(first|second|third) to access values
3340 of desktop-mini. Look for visible frame at the end, not while
3341 restoring frames.
3342
3343 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3344 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3345 Use string-match-p, looking-at-p (bug#14927).
3346
3347 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3348
3349 * desktop.el (desktop-saved-frame-states):
3350 Rename from desktop--saved-states; all users changed.
3351 (desktop-save-frames): Rename from desktop--save-frames.
3352 Do not save state to desktop file.
3353 (desktop-save): Save desktop-saved-frame-states to desktop file
3354 and reset to nil.
3355 (desktop-restoring-frames-p): New function.
3356 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3357 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3358 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3359
3360 * desktop.el: Correctly restore iconified frames.
3361 (desktop--filter-iconified-position): New function.
3362 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3363
3364 2013-07-20 Glenn Morris <rgm@gnu.org>
3365
3366 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3367 Let `message' do the formatting.
3368 (def-gdb-preempt-display-buffer): Add explicit format.
3369
3370 * image-dired.el (image-dired-track-original-file):
3371 Use with-current-buffer.
3372 (image-dired-track-thumbnail): Use with-current-buffer.
3373 Avoid changing point of wrong window.
3374
3375 * image-dired.el (image-dired-track-original-file):
3376 Avoid changing point of wrong window. (Bug#14909)
3377
3378 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3379
3380 * progmodes/gdb-mi.el (gdb-done-or-error):
3381 Guard against "%" in gdb output. (Bug#14127)
3382
3383 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3384
3385 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3386 (Bug#14826)
3387
3388 * international/mule.el (coding-system-iso-2022-flags): Fix last
3389 change.
3390
3391 2013-07-20 Kenichi Handa <handa@gnu.org>
3392
3393 * international/mule.el (coding-system-iso-2022-flags):
3394 Add `8-bit-level-4'. (Bug#8522)
3395
3396 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3397
3398 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3399 (bug#14815).
3400
3401 * net/eww.el (eww-process-text-input): Allow inputting when the
3402 point is at the start of the line, as the properties aren't
3403 front-sticky.
3404
3405 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3406 degenerate widths.
3407
3408 2013-07-19 Richard Stallman <rms@gnu.org>
3409
3410 * epa.el (epa-popup-info-window): Doc fix.
3411
3412 * subr.el (split-string): New arg TRIM.
3413
3414 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3415
3416 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3417 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3418
3419 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3420
3421 * filenotify.el (file-notify--library): Rename from
3422 `file-notify-support'. Do not autoload. Adapt all uses.
3423 (file-notify-supported-p): New defun.
3424
3425 * autorevert.el (auto-revert-use-notify):
3426 Use `file-notify-supported-p' instead of `file-notify-support'.
3427 Adapt docstring.
3428 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3429
3430 * net/tramp.el (tramp-file-name-for-operation):
3431 Add `file-notify-supported-p'.
3432
3433 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3434 New defun.
3435 (tramp-sh-file-name-handler-alist): Add it as handler for
3436 `file-notify-supported-p '.
3437
3438 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3439 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3440 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3441 Add `ignore' as handler for `file-notify-*' functions.
3442
3443 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3444
3445 * simple.el (line-move-partial, line-move): Don't start vscroll or
3446 scroll-up if the current line is not taller than the window.
3447 (Bug#14881)
3448
3449 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3450
3451 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3452 highlight question marks in the method names as strings.
3453 (ruby-block-beg-keywords): Inline.
3454 (ruby-font-lock-keyword-beg-re): Extract from
3455 `ruby-font-lock-keywords'.
3456
3457 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3458
3459 * frame.el (blink-cursor-blinks): New defcustom.
3460 (blink-cursor-blinks-done): New defvar.
3461 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3462 (blink-cursor-timer-function): Check if number of blinks has been
3463 done on X and NS.
3464 (blink-cursor-suspend, blink-cursor-check): New defuns.
3465
3466 2013-07-15 Glenn Morris <rgm@gnu.org>
3467
3468 * edmacro.el (edmacro-format-keys): Fix previous change.
3469
3470 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3471
3472 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3473 The hack didn't work outside English locales anyway.
3474
3475 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * simple.el (define-alternatives): Rename from alternatives-define,
3478 per RMS' suggestion.
3479
3480 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3481
3482 * desktop.el (desktop-restore-frames): Change default to t.
3483 (desktop-restore-in-current-display): Now offer more options.
3484 (desktop-restoring-reuses-frames): New customization option.
3485 (desktop--saved-states): Doc fix.
3486 (desktop-filter-parameters-alist): New variable, renamed and expanded
3487 from desktop--excluded-frame-parameters.
3488 (desktop--target-display): New variable.
3489 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3490 (desktop--filter-tty*, desktop--filter-*-color)
3491 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3492 (desktop--filter-save-desktop-parm)
3493 (desktop-restore-in-original-display-p): New functions.
3494 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3495 (desktop--save-minibuffer-frames): New function, inspired by a similar
3496 function from Martin Rudalics.
3497 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3498 (desktop--restore-in-this-display-p): Remove.
3499 (desktop--find-frame): Rename from desktop--find-frame-in-display
3500 and add predicate argument.
3501 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3502 (desktop--reuse-list): New variable.
3503 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3504 New functions.
3505 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3506
3507 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3508
3509 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3510
3511 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3512
3513 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3514 Highlight conversion methods on Kernel.
3515
3516 2013-07-13 Alan Mackenzie <acm@muc.de>
3517
3518 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3519 and comment it out. This out-commenting enables certain C++
3520 declarations to be parsed correctly.
3521
3522 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3523
3524 * international/mule.el (define-coding-system): Doc fix.
3525
3526 * simple.el (default-font-height): Don't call font-info if the
3527 frame's default font didn't change since the frame was created.
3528 (Bug#14838)
3529
3530 2013-07-13 Leo Liu <sdl.web@gmail.com>
3531
3532 * ido.el (ido-read-file-name): Guard against non-symbol value.
3533
3534 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3535
3536 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3537 in nested defuns.
3538
3539 2013-07-13 Leo Liu <sdl.web@gmail.com>
3540
3541 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3542 ido-set-matches call. (Bug#6852)
3543
3544 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3545
3546 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3547 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3548 Ruby 2.0.
3549 (ruby-font-lock-keywords): Distinguish calls to functions with
3550 module-like names from module references. Highlight character
3551 literals.
3552
3553 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3554
3555 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3556 (gdb-send): Handle continued commands. (Bug#14847)
3557
3558 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3559
3560 * desktop.el (desktop--v2s): Remove unused local variable.
3561 (desktop-save-buffer): Make defvar-local; adjust docstring.
3562 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3563 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3564
3565 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3566
3567 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3568
3569 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3570
3571 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3572 (Bug#14842)
3573
3574 2013-07-12 Glenn Morris <rgm@gnu.org>
3575
3576 * doc-view.el: Require cl-lib at runtime too.
3577 (doc-view-remove-if): Remove.
3578 (doc-view-search-next-match, doc-view-search-previous-match):
3579 Use cl-remove-if.
3580
3581 * edmacro.el: Require cl-lib at runtime too.
3582 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3583 (edmacro-mismatch, edmacro-subseq): Remove.
3584
3585 * shadowfile.el: Require cl-lib.
3586 (shadow-remove-if): Remove.
3587 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3588 Use cl-remove-if.
3589
3590 * wid-edit.el: Require cl-lib.
3591 (widget-choose): Use cl-remove-if.
3592 (widget-remove-if): Remove.
3593
3594 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3595 (ebrowse-delete-if-not): Remove.
3596 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3597 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3598 Use cl-delete-if-not.
3599
3600 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3601
3602 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3603 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3604
3605 2013-07-12 Leo Liu <sdl.web@gmail.com>
3606
3607 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3608
3609 2013-07-11 Glenn Morris <rgm@gnu.org>
3610
3611 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3612 (edebug-gensym-index, edebug-gensym):
3613 Remove reimplementation of cl-gensym.
3614 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3615
3616 * thumbs.el: Require cl-lib at run-time too.
3617 (thumbs-gensym-counter, thumbs-gensym):
3618 Remove reimplementation of cl-gensym.
3619 (thumbs-temp-file): Use cl-gensym.
3620
3621 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3622 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3623 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3624 (ert--union, ert--gensym-counter, ert--gensym-counter)
3625 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3626 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3627 (ert-make-test-unbound, ert--expand-should-1)
3628 (ert--expand-should, ert--should-error-handle-error)
3629 (should-error, ert--explain-equal-rec)
3630 (ert--plist-difference-explanation, ert-select-tests)
3631 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3632 Use cl-lib functions rather than reimplementations.
3633
3634 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3635
3636 * net/tramp.el (tramp-methods): Extend docstring.
3637 (tramp-connection-timeout): New defcustom.
3638 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3639 (with-tramp-progress-reporter): Simplify.
3640 (tramp-process-actions): Improve messages.
3641
3642 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3643 * net/tramp-sh.el (tramp-maybe-open-connection):
3644 Use `tramp-connection-timeout'.
3645 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3646 (Bug#14808)
3647
3648 2013-07-11 Leo Liu <sdl.web@gmail.com>
3649
3650 * ido.el (ido-read-file-name): Conform to the requirements of
3651 read-file-name. (Bug#11861)
3652 (ido-read-directory-name): Conform to the requirements of
3653 read-directory-name.
3654
3655 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3656
3657 * subr.el (delay-warning): New function.
3658
3659 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3660
3661 * simple.el (default-line-height): New function.
3662 (line-move-partial, line-move): Use it instead of computing the
3663 line height inline.
3664 (line-move-partial): Always compute ROWH. If the last line is
3665 partially-visible, but its text is completely visible, allow
3666 cursor to enter such a partially-visible line.
3667
3668 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3669
3670 Improve error messages. (Bug#14808)
3671
3672 * net/tramp.el (tramp-current-connection): New defvar, moved from
3673 tramp-sh.el.
3674 (tramp-message-show-progress-reporter-message): Remove, not
3675 needed anymore.
3676 (tramp-error-with-buffer): Show message in minibuffer.
3677 Discard input before waiting. Reset connection timestamp.
3678 (with-tramp-progress-reporter): Improve messages.
3679 (tramp-process-actions): Use progress reporter. Delete process in
3680 case of error. Improve messages.
3681
3682 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3683 Call `tramp-error-with-buffer' with vector and buffer.
3684 (tramp-current-connection): Remove.
3685 (tramp-maybe-open-connection): The car of
3686 `tramp-current-connection' are the first 3 slots of the vector.
3687
3688 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3689
3690 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3691 inside continued strings.
3692
3693 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3694
3695 Timestamp fixes for undo (Bug#14824).
3696 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3697
3698 2013-07-10 Leo Liu <sdl.web@gmail.com>
3699
3700 * files.el (require-final-newline): Allow safe local value.
3701 (Bug#14834)
3702
3703 2013-07-09 Leo Liu <sdl.web@gmail.com>
3704
3705 * ido.el (ido-read-directory-name): Handle fallback.
3706 (ido-read-file-name): Update DIR to ido-current-directory.
3707 (Bug#1516)
3708 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3709
3710 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3711
3712 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3713 "autoload". Remove "warn lower camel case" section, previously
3714 commented out. Highlight negation char. Do not highlight the
3715 target in singleton method definitions.
3716
3717 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * faces.el (tty-setup-hook): Declare the hook.
3720
3721 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3722 and detect when a guard/pred depends on local vars (bug#14773).
3723 (pcase--u1): Adjust caller.
3724
3725 2013-07-08 Eli Zaretskii <eliz@gnu.org>
3726
3727 * simple.el (line-move-partial, line-move): Account for
3728 line-spacing.
3729 (line-move-partial): Avoid setting vscroll when the last
3730 partially-visible line in window is of default height.
3731
3732 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3733
3734 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3735 been used a while.
3736
3737 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
3738
3739 * subr.el (read-quoted-char): Remove unused local variable `char'.
3740
3741 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3742
3743 * ediff.el (ediff-version): Version update.
3744 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3745 (ediff-merge-with-ancestor-command, ediff-directories-command)
3746 (ediff-directories3-command, ediff-merge-directories-command)
3747 (ediff-merge-directories-with-ancestor-command): New functions.
3748 All are command-line interfaces to ediff: to facilitate calling
3749 Emacs with the appropriate ediff functions invoked.
3750
3751 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3752 (viper-save-kill-buffer): Check if buffer is modified.
3753
3754 * viper.el (viper-version): Version update.
3755 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3756
3757 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3760 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3761 (viper-intercept-ESC-key): Simplify.
3762 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3763 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3764 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3765 (viper-setup-ESC-to-escape): New functions.
3766 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3767 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3768
3769 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3770
3771 * simple.el (default-font-height, window-screen-lines):
3772 New functions.
3773 (line-move, line-move-partial): Use them instead of
3774 frame-char-height and window-text-height. This makes scrolling
3775 text smoother when the buffer's default face uses a font that is
3776 different from the frame's default font.
3777
3778 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3779
3780 * files.el (write-file): Do not display confirm dialog for NS,
3781 it does its own dialog, which can't be cancelled (Bug#14578).
3782
3783 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3784
3785 * simple.el (line-move-partial): Adjust the row returned by
3786 posn-at-point for the current window-vscroll. (Bug#14567)
3787
3788 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3789
3790 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3791 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3792 spaces.
3793
3794 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3795
3796 * window.el (window-state-put-stale-windows): New variable.
3797 (window--state-put-2): Save list of windows without matching buffer.
3798 (window-state-put): Remove "bufferless" windows if possible.
3799
3800 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3801
3802 * simple.el (alternatives-define): Remove leftover :group keyword.
3803 Tweak docstring.
3804
3805 2013-07-06 Leo Liu <sdl.web@gmail.com>
3806
3807 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3808 (ido-enable-virtual-buffers): New variable.
3809 (ido-buffer-internal, ido-toggle-virtual-buffers)
3810 (ido-make-buffer-list): Use it.
3811 (ido-exhibit): Support turning on and off virtual buffers
3812 automatically.
3813
3814 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3815
3816 * simple.el (alternatives-define): New macro.
3817
3818 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * subr.el (read-quoted-char): Use read-key.
3821 (sit-for): Let read-event decode tty input (bug#14782).
3822
3823 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3824
3825 * calendar/todo-mode.el: Add handling of file deletion, both by
3826 mode command and externally. Fix various related bugs.
3827 Clarify Commentary and improve some documentation strings and code.
3828 (todo-delete-file): New command.
3829 (todo-check-file): New function.
3830 (todo-show): Handle external deletion of the file we're trying to
3831 show (bug#14688). Replace called-interactively-p by an optional
3832 prefix argument to avoid problematic interaction with catch form
3833 when byte compiled (bug#14702).
3834 (todo-quit): Handle external deletion of the archive's todo file.
3835 Make sure the buffer that was visiting the archive file is still
3836 live before trying to bury it.
3837 (todo-category-completions): Handle external deletion of any
3838 category completion files.
3839 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3840 of todo files, in case of external deletion.
3841 (todo-add-file): Replace unnecessary setq by let-binding.
3842 (todo-find-archive): Check whether there are any archives.
3843 Replace unnecessary setq by let-binding.
3844 (todo-archive-done-item): Use find-file-noselect to get the
3845 archive buffer whether or not the archive already exists.
3846 Remove superfluous code. Use file size instead of buffer-file-name to
3847 check if the archive is new; if it is, update list of archives.
3848 (todo-default-todo-file): Allow nil to be a valid value for when
3849 there are no todo files.
3850 (todo-reevaluate-default-file-defcustom): Use corrected definition
3851 of todo-default-todo-file.
3852 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3853 (todo-delete-category, todo-show-categories-table)
3854 (todo-category-number): Clarify comment.
3855 (todo-filter-items): Clarify documentation string.
3856 (todo-show-current-file, todo-display-as-todo-file)
3857 (todo-reset-and-enable-done-separator): Tweak documentation string.
3858 (todo-done-separator): Make separator length window-width, since
3859 bug#2749 is now fixed.
3860
3861 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3862
3863 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3864 Support both "gvfs-monitor-dir" and "inotifywait".
3865 (tramp-sh-file-inotifywait-process-filter): Rename from
3866 `tramp-sh-file-notify-process-filter'.
3867 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3868 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3869
3870 2013-07-05 Leo Liu <sdl.web@gmail.com>
3871
3872 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3873
3874 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3875
3876 * frame.el (display-pixel-height, display-pixel-width)
3877 (display-mm-height, display-mm-width): Mention behavior on
3878 multi-monitor setups in docstrings.
3879 (w32-display-monitor-attributes-list): Declare function.
3880 (display-monitor-attributes-list): Use it.
3881
3882 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * filenotify.el: New package.
3885
3886 * autorevert.el (top): Require filenotify.el.
3887 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3888 instead.
3889 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3890 (auto-revert-notify-handler): Use `file-notify-*' functions.
3891
3892 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3893
3894 * net/tramp.el (tramp-file-name-for-operation):
3895 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3896
3897 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3898 for `file-notify-add-watch' and `file-notify-rm-watch'.
3899 (tramp-process-sentinel): Improve trace.
3900 (tramp-sh-handle-file-notify-add-watch)
3901 (tramp-sh-file-notify-process-filter)
3902 (tramp-sh-handle-file-notify-rm-watch)
3903 (tramp-get-remote-inotifywait): New defuns.
3904
3905 2013-07-03 Juri Linkov <juri@jurta.org>
3906
3907 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3908 call of `occur-read-primary-args' to interactive spec.
3909
3910 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3911 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3912
3913 2013-07-03 Matthias Meulien <orontee@gmail.com>
3914
3915 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3916 `Buffer-menu-multi-occur'. Add it to the menu.
3917 (Buffer-menu-mode): Document it in docstring.
3918 (Buffer-menu-multi-occur): New command. (Bug#14673)
3919
3920 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3921
3922 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3923 keywords and built-ins.
3924
3925 2013-07-03 Glenn Morris <rgm@gnu.org>
3926
3927 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3928
3929 Make info-xref checks case-sensitive by default
3930 * info.el (Info-find-node, Info-find-in-tag-table)
3931 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3932 Add option for exact case matching of nodes.
3933 * info-xref.el (info-xref): New custom group.
3934 (info-xref-case-fold): New option.
3935 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3936
3937 2013-07-03 Leo Liu <sdl.web@gmail.com>
3938
3939 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3940
3941 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3942
3943 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3944 middle of block statement initially, lower the depth. Remove
3945 FIXME comment, not longer valid. Remove middle of block statement
3946 detection, no need to do that anymore since we've been using
3947 `ruby-parse-region' here.
3948
3949 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3950
3951 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3952
3953 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3954
3955 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3956
3957 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3958
3959 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3960 (desktop-restore-in-current-display): New customization option.
3961 (desktop--excluded-frame-parameters): Add `font'.
3962 (desktop--save-frames): Rename from desktop--save-windows.
3963 (desktop--restore-in-this-display-p): New function.
3964 (desktop--make-full-frame): Remove unwanted width/height from
3965 full(width|height) frames.
3966 (desktop--restore-frames): Rename from desktop--restore-windows.
3967 Obey desktop-restore-current-display. Do not delete old frames or
3968 select a new frame unless we were able to restore at least one frame.
3969
3970 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3971
3972 * files.el (find-file-noselect): Simplify conditional expression.
3973
3974 * remember.el (remember-append-to-file):
3975 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3976
3977 Add `remember-notes' function to store random notes across Emacs
3978 restarts.
3979 * remember.el (remember-data-file): Add :set callback to affect
3980 notes buffer (if any).
3981 (remember-notes): New command.
3982 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3983 New defcustoms for the `remember-notes' function.
3984 (remember-notes-save-and-bury-buffer): New command.
3985 (remember-notes-mode-map): New variable.
3986 (remember-mode): New minor mode.
3987 (remember-notes--kill-buffer-query): New function.
3988 * startup.el (initial-buffer-choice): Add notes to custom type.
3989
3990 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3991
3992 * bindings.el (right-char, left-char): Don't call sit-for, this is
3993 no longer needed. Use arithmetic comparison only for numerical
3994 arguments.
3995
3996 * international/mule-cmds.el (select-safe-coding-system):
3997 Handle the case of FROM being a string correctly. (Bug#14755)
3998
3999 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4000
4001 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4002 progression on degenerate tables.
4003 (shr-rescale-image): ImageMagick animated images currently don't work.
4004
4005 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4006
4007 Some fixes and improvements for desktop frame restoration.
4008 It is still experimental and disabled by default.
4009 * desktop.el (desktop--save-windows): Put the selected frame at
4010 the head of the list.
4011 (desktop--make-full-frame): New function.
4012 (desktop--restore-windows): Try to re-select the frame that was
4013 selected upon saving. Do not abort if some frames fail to restore,
4014 just show an error message and continue. Set up maximized frames
4015 so they have default non-maximized dimensions.
4016
4017 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4018
4019 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4020 Don't start heredoc inside a string or comment.
4021
4022 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4023
4024 * bindings.el (visual-order-cursor-movement): New defcustom.
4025 (right-char, left-char): Provide visual-order cursor motion by
4026 calling move-point-visually. Update the doc strings.
4027
4028 2013-06-28 Kenichi Handa <handa@gnu.org>
4029
4030 * international/mule.el (define-coding-system): New coding system
4031 properties :inhibit-null-byte-detection,
4032 :inhibit-iso-escape-detection, and :prefer-utf-8.
4033 (set-buffer-file-coding-system): If :charset-list property of
4034 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4035 appropriate for setting.
4036
4037 * international/mule-cmds.el (select-safe-coding-system):
4038 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4039 multibyte characters, return utf-8 (or one of its siblings).
4040
4041 * international/mule-conf.el (prefer-utf-8): New coding system.
4042 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4043 files.
4044
4045 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4046
4047 * net/shr.el (shr-render-region): New function.
4048
4049 * net/eww.el: Autoload `eww-browse-url'.
4050
4051 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4052
4053 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4054 Adapt to `package-desc-version' being a list.
4055 Use `package--ac-desc-version' to retrieve version from a package
4056 archive element.
4057
4058 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4059
4060 New experimental feature to save&restore window and frame setup.
4061 * desktop.el (desktop-save-windows): New defcustom.
4062 (desktop--saved-states): New var.
4063 (desktop--excluded-frame-parameters): New defconst.
4064 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4065 (desktop--restore-windows, desktop--save-windows): New functions.
4066 (desktop-save): Call `desktop--save-windows'.
4067 (desktop-read): Call `desktop--restore-windows'.
4068
4069 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4070
4071 * net/shr.el (add-face-text-property): Remove compat definition.
4072
4073 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4074
4075 * info.el (Info-try-follow-nearest-node): Move search for footnote
4076 above search for node name to prevent missing a footnote (bug#14717).
4077
4078 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4079
4080 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4081
4082 2013-06-27 Leo Liu <sdl.web@gmail.com>
4083
4084 * net/eww.el (eww-read-bookmarks): Check file size.
4085
4086 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4089 advice--pending if newdef is nil or an autoload (bug#13820).
4090 (advice-mapc): New function.
4091
4092 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4093
4094 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4095 probably.
4096 (eww-mode-map): Add a menu bar.
4097 (eww-add-bookmark): New command.
4098 (eww-bookmark-mode): New mode and commands.
4099 (eww-add-bookmark): Remove newlines from the title.
4100 (eww-bookmark-browse): Don't bug out if it's the only window.
4101
4102 2013-06-26 Glenn Morris <rgm@gnu.org>
4103
4104 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4105 (hfy-size): Handle ttys. (Bug#14668)
4106
4107 * info-xref.el: Update for Texinfo 5 change in *note format.
4108 (info-xref-node-re, info-xref-note-re): New constants.
4109 (info-xref-check-buffer): Use info-xref-note-re.
4110
4111 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4114
4115 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4116 nil terminate the loop (bug#14718).
4117
4118 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119
4120 * net/eww.el: Rework history traversal. When going forward/back,
4121 put these actions into the history, too, so that they can be
4122 replayed.
4123 (eww-render): Move the history reset to the correct buffer.
4124
4125 2013-06-25 Juri Linkov <juri@jurta.org>
4126
4127 * files-x.el (modify-dir-local-variable): Change the header comment
4128 in the file with directory local variables. (Bug#14692)
4129
4130 * files-x.el (read-file-local-variable-value): Add `default'.
4131 (Bug#14710)
4132
4133 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4134
4135 * net/eww.el (eww-make-unique-file-name): Create a unique file
4136 name before saving to entering `y' accidentally asynchronously.
4137
4138 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4139
4140 * net/eww.el (eww-download): New command and keystroke.
4141
4142 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4143
4144 * net/eww.el (eww-copy-page-url): Change name of command.
4145
4146 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4147 be more consistent with Info and dired.
4148
4149 * net/eww.el (eww-mode-map): Ditto.
4150
4151 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4154 packages from archives.
4155 (package-archive-contents): Change format; include obsolete packages.
4156 (package-desc): Use `dir' to mark builtin packages.
4157 (package--from-builtin): Set the `dir' field to `builtin'.
4158 (generated-autoload-file, version-control): Declare.
4159 (package-compute-transaction): Change first arg and return value to be
4160 lists of package-descs. Adjust to new package-archive-contents format.
4161 (package--add-to-archive-contents): Adjust to new
4162 package-archive-contents format.
4163 (package-download-transaction): Arg is now a list of package-descs.
4164 (package-install): If `pkg' is a package name, pass it as
4165 a requirement, so it is subject to the usual (e.g. disabled) checks.
4166 (describe-package): Accept package-desc as well.
4167 (describe-package-1): Describe a specific package-desc. Add links to
4168 other package-descs for the same package name.
4169 (package-menu-describe-package): Pass the actual package-desc.
4170 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4171 works correctly.
4172 (package-desc-status): New function.
4173 (package-menu--refresh): New function, extracted
4174 from package-menu--generate.
4175 (package-menu--generate): Use it.
4176 (package-delete): Update package-alist.
4177 (package-menu-execute): Don't call package-initialize.
4178
4179 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4180 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4181 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4182 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4183 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4184 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4185
4186 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4187
4188 * window.el (window--state-get-1): Workaround for bug#14527.
4189 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4190
4191 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4192
4193 * net/eww.el (eww-back-url): Implement the history by stashing all
4194 the data into a list.
4195 (eww-forward-url): Allow going forward in the history, too.
4196
4197 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4200 for values and use read--expression for expressions (bug#14710).
4201 (read-file-local-variable): Avoid setq.
4202 (read-file-local-variable-mode): Use minor-mode-list.
4203
4204 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4205
4206 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4207 for DOI URLs.
4208
4209 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4210
4211 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4212 Update imenu-support when dialect changes.
4213
4214 2013-06-25 Leo Liu <sdl.web@gmail.com>
4215
4216 * ido.el (ido-read-internal): Allow forward slash on windows.
4217
4218 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4219
4220 * net/eww.el (eww): Start of strings is \\`, not ^.
4221
4222 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4223
4224 * net/shr.el (shr-browse-url): Fix interactive spec.
4225
4226 * net/eww.el (eww): Add a trailing slash to domain names.
4227
4228 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4229
4230 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4231
4232 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4233
4234 * net/shr.el (shr-browse-url): Use an external browser if given a
4235 prefix.
4236
4237 * net/eww.el (eww-external-browser): Move to shr.
4238
4239 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4240
4241 * net/eww.el (eww): Work more correctly for file: URLs.
4242 (eww-detect-charset): Allow quoted charsets.
4243 (eww-yank-page-url): New command and keystroke.
4244
4245 2013-06-24 Daiki Ueno <ueno@gnu.org>
4246
4247 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4248 file name of gpg executable.
4249 (epg-context-program): New function.
4250 (epg-context-home-directory): New function.
4251 (epg-context-set-program): New function.
4252 (epg-context-set-home-directory): New function.
4253 (epg--start): Use `epg-context-program' instead of
4254 'epg-gpg-program'.
4255 (epg--list-keys-1): Likewise.
4256
4257 2013-06-24 Leo Liu <sdl.web@gmail.com>
4258
4259 * ido.el (ido-read-internal): Fix bug#14620.
4260
4261 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * faces.el (face-documentation): Simplify.
4264 (read-face-attribute, tty-find-type, x-resolve-font-name):
4265 Use `string-match-p'.
4266 (list-faces-display): Use `string-match-p'. Simplify.
4267 (face-spec-recalc): Check face to avoid face alias loops.
4268 (read-color): Use `string-match-p' and non-capturing parenthesis.
4269
4270 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4271
4272 * net/shr.el (shr-rescale-image): Use the new
4273 :max-width/:max-height functionality.
4274
4275 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4276
4277 * net/eww.el (eww-search-prefix): New variable.
4278 (eww): Use it.
4279 (eww-external-browser): New variable.
4280 (eww-mode-map): New keystroke.
4281 (eww-browse-with-external-browser): New command.
4282
4283 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4284
4285 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4286
4287 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4288 Don't skip aligning the next header field when padding is 0;
4289 otherwise, field width is not respected unless the title is as
4290 wide as the field.
4291
4292 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * emacs-lisp/package.el (package-el-version): Remove.
4295 (package-process-define-package): Fix inf-loop.
4296 (package-install): Allow symbols as arguments again.
4297
4298 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4299
4300 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4301 add some more keyword-like methods.
4302 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4303
4304 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4305
4306 * bs.el (bs-buffer-show-mark): Make defvar-local.
4307 (bs-mode): Use setq-local.
4308
4309 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4310 (emacs-lock--try-unlocking): Make defvar-local.
4311
4312 2013-06-22 Glenn Morris <rgm@gnu.org>
4313
4314 * play/cookie1.el (cookie-apropos): Minor simplification.
4315
4316 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4317
4318 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4319
4320 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4321 `regexp-opt', it breaks the build during dumping.
4322
4323 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4324
4325 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4326 Highlight keyword-like methods on Kernel and Module with
4327 font-lock-builtin-face.
4328 (auto-mode-alist): Consolidate different entries into one regexp
4329 and add more *file-s.
4330
4331 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4332
4333 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4334
4335 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4336 (diary-entry): Use it in the action of this button type instead of
4337 diary-goto-entry.
4338
4339 * calendar/todo-mode.el: New version.
4340 (todo-add-category): Append new category to end of file and give
4341 it the highest number, instead of putting it at the beginning and
4342 giving it 0. Incorporate noninteractive functionality.
4343 (todo-forward-category): Adapt to 1-based category numbering.
4344 Allow skipping over archived categories.
4345 (todo-backward-category): Derive from todo-forward-category.
4346 (todo-backward-item, todo-forward-item): Make noninteractive and
4347 delegate interactive part to new commands. Make sensitive to done items.
4348 (todo-categories): Make value an alist of category names and
4349 vectors of item counts.
4350 (todo-category-beg): Make a defconst.
4351 (todo-category-number): Use 1 instead of 0 as initial value.
4352 (todo-category-select): Make sensitive to overlays, optional item
4353 highlighting and done items.
4354 (todo-delete-item): Make sensitive to overlays and marked and done items.
4355 (todo-edit-item): Make sensitive to overlays and editing of
4356 date/time header optional. Add format checks.
4357 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4358 no-op if point is not on an item. Advertise using todo-edit-quit.
4359 (todo-edit-mode): Make sensitive to new format, font-locking, and
4360 multiple todo files.
4361 (todo-insert-item, todo-insert-item-here): Derive from
4362 todo-basic-insert-item and extend functionality.
4363 (todo-item-end, todo-item-start): Make sensitive to done items.
4364 (todo-item-string): Don't return text properties. Restore point.
4365 (todo-jump-to-category): Make sensitive to multiple todo files and
4366 todo archives. Use extended category completion.
4367 (todo-lower-item, todo-raise-item): Rename to *-priority and
4368 derive from todo-set-item-priority.
4369 (todo-mode): Derive from special-mode. Make sensitive to new
4370 format, font-locking and multiple todo files. Make read-only.
4371 (todo-mode-map): Don't suppress digit keys, so they can supply
4372 prefix arguments. Add many new key bindings.
4373 (todo-prefix): Insert as an overlay instead of file text.
4374 Change semantics from diary date expression to purely visual mark.
4375 (todo-print): Rename to todo-print-buffer. Make buffer display
4376 features printable. Remove option to restrict number of items
4377 printed. Add option to print to file.
4378 (todo-print-function): Rename to todo-print-buffer-function.
4379 (todo-quit): Extend to handle exiting new todo modes.
4380 (todo-remove-item): Make sensitive to overlays.
4381 (todo-save): Extend to buffers of filtered items.
4382 (todo-show): Make sensitive to done items, multiple todo files and
4383 new todo modes. Offer to convert legacy todo file before creating
4384 first new todo file.
4385 (todo-show-priorities): Rename to todo-top-priorities.
4386 Change semantics of value 0.
4387 (todo-top-priorities): Rename to todo-filter-top-priorities,
4388 derive from todo-filter-items and extend functionality.
4389 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4390 and extend functionality to other types of filtered items.
4391 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4392 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4393 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4394 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4395 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4396 (todo-edit-mode-hook, todo-entry-prefix-function)
4397 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4398 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4399 (todo-initials, todo-insert-threshold, todo-item-string-start)
4400 (todo-line-string, todo-menu, todo-mode-hook)
4401 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4402 (todo-print-priorities, todo-remove-separator)
4403 (todo-save-top-priorities-too, todo-string-count-lines)
4404 (todo-string-multiline-p, todo-time-string-format)
4405 (todo-tmp-buffer-name): Remove.
4406 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4407 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4408 (todo-edit-category-diary-inclusion)
4409 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4410 (todo-edit-file, todo-edit-item-date-day)
4411 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4412 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4413 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4414 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4415 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4416 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4417 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4418 (todo-filter-top-priorities-multifile, todo-find-archive)
4419 (todo-find-filtered-items-file, todo-go-to-source-item)
4420 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4421 (todo-jump-to-archive-category, todo-lower-category)
4422 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4423 (todo-move-category, todo-move-item, todo-next-button)
4424 (todo-next-item, todo-padded-string, todo-powerset)
4425 (todo-previous-button, todo-previous-item)
4426 (todo-print-buffer-to-file, todo-raise-category)
4427 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4428 (todo-set-category-number, todo-set-item-priority)
4429 (todo-set-top-priorities-in-category)
4430 (todo-set-top-priorities-in-file, todo-show-categories-table)
4431 (todo-sort-categories-alphabetically-or-numerically)
4432 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4433 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4434 (todo-toggle-item-header, todo-toggle-item-highlighting)
4435 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4436 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4437 (todo-unarchive-items, todo-unmark-category): New commands.
4438 (todo-absolute-file-name, todo-add-to-buffer-list)
4439 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4440 (todo-basic-insert-item, todo-category-completions)
4441 (todo-category-number, todo-category-string-matcher-1)
4442 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4443 (todo-check-format, todo-clear-matches)
4444 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4445 (todo-current-category, todo-date-string-matcher)
4446 (todo-define-insertion-command, todo-diary-expired-matcher)
4447 (todo-diary-goto-entry, todo-diary-item-p)
4448 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4449 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4450 (todo-done-item-section-p, todo-done-separator)
4451 (todo-done-string-matcher, todo-files, todo-filter-items)
4452 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4453 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4454 (todo-insert-category-line, todo-insert-item-from-calendar)
4455 (todo-insert-sort-button, todo-insert-with-overlays)
4456 (todo-insertion-command-name, todo-insertion-key-bindings)
4457 (todo-label-to-key, todo-longest-category-name-length)
4458 (todo-make-categories-list, todo-mode-external-set)
4459 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4460 (todo-modes-set-3, todo-multiple-filter-files)
4461 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4462 (todo-read-category, todo-read-date, todo-read-dayname)
4463 (todo-read-file-name, todo-read-time)
4464 (todo-reevaluate-category-completions-files-defcustom)
4465 (todo-reevaluate-default-file-defcustom)
4466 (todo-reevaluate-filelist-defcustoms)
4467 (todo-reevaluate-filter-files-defcustom)
4468 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4469 (todo-reset-done-separator, todo-reset-done-separator-string)
4470 (todo-reset-done-string, todo-reset-global-current-todo-file)
4471 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4472 (todo-reset-prefix, todo-set-categories)
4473 (todo-set-date-from-calendar, todo-set-show-current-file)
4474 (todo-set-top-priorities, todo-short-file-name)
4475 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4476 (todo-total-item-counts, todo-update-buffer-list)
4477 (todo-update-categories-display, todo-update-categories-sexp)
4478 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4479 New functions.
4480 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4481 New major modes.
4482 (todo-categories, todo-display, todo-edit, todo-faces)
4483 (todo-filtered): New defgroups.
4484 (todo-archived-only, todo-button, todo-category-string, todo-date)
4485 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4486 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4487 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4488 (todo-add-item-if-new-category, todo-always-add-time-string)
4489 (todo-categories-align, todo-categories-archived-label)
4490 (todo-categories-category-label, todo-categories-diary-label)
4491 (todo-categories-done-label, todo-categories-number-separator)
4492 (todo-categories-todo-label, todo-categories-totals-label)
4493 (todo-category-completions-files, todo-completion-ignore-case)
4494 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4495 (todo-done-separator-string, todo-done-string)
4496 (todo-files-function, todo-filter-done-items, todo-filter-files)
4497 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4498 (todo-initial-category, todo-initial-file, todo-item-mark)
4499 (todo-legacy-date-time-regexp, todo-mode-line-function)
4500 (todo-nondiary-marker, todo-number-prefix)
4501 (todo-print-buffer-function, todo-show-current-file)
4502 (todo-show-done-only, todo-show-first, todo-show-with-done)
4503 (todo-skip-archived-categories, todo-top-priorities-overrides)
4504 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4505 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4506 New defcustoms.
4507 (todo-category-done, todo-date-pattern, todo-date-string-start)
4508 (todo-diary-items-buffer, todo-done-string-start)
4509 (todo-filtered-items-buffer, todo-item-start)
4510 (todo-month-abbrev-array, todo-month-name-array)
4511 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4512 (todo-top-priorities-buffer): New defconsts.
4513 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4514 (todo-categories-with-marks, todo-category-string-face)
4515 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4516 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4517 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4518 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4519 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4520 (todo-font-lock-keywords, todo-global-current-todo-file)
4521 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4522 (todo-insertion-commands-args)
4523 (todo-insertion-commands-args-genlist)
4524 (todo-insertion-commands-names, todo-insertion-map)
4525 (todo-key-bindings-t, todo-key-bindings-t+a)
4526 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4527 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4528 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4529 (todo-visited): New variables.
4530
4531 2013-06-21 Glenn Morris <rgm@gnu.org>
4532
4533 * play/cookie1.el (cookie-apropos): Add optional display argument.
4534 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4535 (psychoanalyze-pinhead): Use cookie-doctor.
4536
4537 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4538
4539 * emacs-lisp/package.el (tar-get-file-descriptor)
4540 (tar--extract): Declare.
4541
4542 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4543
4544 Extend flymake's warning predicate to be a function (bug#14217).
4545 * progmodes/flymake.el (flymake-warning-predicate): New.
4546 (flymake-parse-line): Use it.
4547 (flymake-warning-re): Make obsolete alias to
4548 `flymake-warning-predicate'.
4549
4550 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4553 (package-obsolete-list): Remove.
4554 (package-activate): Remove min-version argument. Add `force' argument.
4555 Adjust to new package-alist format.
4556 (package-mark-obsolete): Remove.
4557 (package-unpack): Force reload of the package's autoloads.
4558 (package-installed-p): Check builtins if the installed package is not
4559 recent enough.
4560 (package-initialize): Don't reset package-obsolete-list.
4561 Don't specify which package version to activate.
4562 (package-process-define-package, describe-package-1)
4563 (package-menu--generate): Adjust to new package-alist format.
4564
4565 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4566
4567 * allout-widgets.el (allout-widgets-mode-off)
4568 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4569 (allout-widgets-post-command-business)
4570 (allout-widgets-after-copy-or-kill-function)
4571 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4572 (allout-decorate-item-and-context)
4573 (allout-graphics-modification-handler): Fix typos in docstrings.
4574 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4575
4576 * cmuscheme.el (scheme-start-file): Doc fix.
4577 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4578 (scheme-input-filter): Use `string-match-p'.
4579
4580 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4581
4582 * dired-x.el: Use Dired consistently in docstrings.
4583
4584 * dired.el: Use Dired consistently in docstrings.
4585 (dired-readin, dired-mode): Use `setq-local'.
4586 (dired-switches-alist): Make defvar-local.
4587 (dired-buffers-for-dir): Use `zerop'.
4588 (dired-safe-switches-p, dired-switches-escape-p)
4589 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4590 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4591 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4592 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4593 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4594 (dired-toggle-marks, dired-mark-files-containing-regexp)
4595 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4596 (dired-flag-auto-save-files, dired-flag-backup-files):
4597 Use `looking-at-p'.
4598 (dired-mark-files-regexp, dired-build-subdir-alist):
4599 Use `string-match-p', `looking-at-p'.
4600
4601 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4602 (direct-print-region-helper): Use `string-match-p'.
4603
4604 2013-06-21 Leo Liu <sdl.web@gmail.com>
4605
4606 * comint.el (comint-redirect-results-list-from-process):
4607 Fix infinite loop.
4608
4609 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4610
4611 * net/eww.el (eww-update-header-line-format): Quote % characters.
4612
4613 2013-06-21 Glenn Morris <rgm@gnu.org>
4614
4615 * play/cookie1.el (cookie): New custom group.
4616 (cookie-file): New option.
4617 (cookie-check-file): New function.
4618 (cookie): Make it interactive. Make start and end messages optional.
4619 Interactively, display the result. Default to cookie-file.
4620 (cookie-insert): Default to cookie-file.
4621 (cookie-snarf): Make start and end messages optional.
4622 Default to cookie-file. Use with-temp-buffer.
4623 (cookie-read): Rename from read-cookie.
4624 Make start and end messages optional. Default to cookie-file.
4625 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4626 Do not autoload it.
4627 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4628 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4629
4630 2013-06-21 Leo Liu <sdl.web@gmail.com>
4631
4632 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4633
4634 2013-06-21 Glenn Morris <rgm@gnu.org>
4635
4636 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4637
4638 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4639 Daniel Hackney <dan@haxney.org>
4640
4641 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4642 Consolidate the single-file vs tarball code.
4643 (package-desc-suffix): New function.
4644 (package-desc-full-name): Don't bother inlining it.
4645 (package-load-descriptor): Return the new package-desc.
4646 (package-mark-obsolete): Remove unused arg `package'.
4647 (package-unpack): Make it work for single files as well.
4648 Make it update package-alist.
4649 (package--make-autoloads-and-stuff): Rename from
4650 package--make-autoloads-and-compile. Don't compile any more.
4651 (package--compile): New function.
4652 (package-generate-description-file): New function, extracted from
4653 package-unpack-single.
4654 (package-unpack-single): Remove.
4655 (package--with-work-buffer): Add indentation and debugging info.
4656 (package-download-single): Remove.
4657 (package-install-from-archive): Rename from package-download-tar, make
4658 it take a pkg-desc, and make it work for single files as well.
4659 (package-download-transaction): Simplify.
4660 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4661 external tar program.
4662 (package-install-from-buffer): Remove `pkg-desc' argument.
4663 Use package-tar-file-info for tar-mode buffers.
4664 (package-install-file): Simplify accordingly.
4665 (package-archive-base): Change to take a pkg-desc.
4666 * tar-mode.el (tar--check-descriptor): New function, extracted from
4667 tar-get-descriptor.
4668 (tar-get-descriptor): Use it.
4669 (tar-get-file-descriptor): New function.
4670 (tar--extract): New function, extracted from tar-extract.
4671 (tar--extract): Use it.
4672 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4673 case the summary uses non-ascii. Adjust to new calling convention of
4674 package-tar-file-info.
4675
4676 2013-06-21 Leo Liu <sdl.web@gmail.com>
4677
4678 * comint.el (comint-redirect-results-list-from-process):
4679 Fix random delay. (Bug#14681)
4680
4681 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4682
4683 * profiler.el (profiler-format-number): Use log, not log10.
4684
4685 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4686
4687 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4688
4689 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4692 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4693 yet available.
4694 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4695 (AUTOGENEL): ... here.
4696 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4697 (cl--defsubst-expand): Use it.
4698
4699 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4700
4701 * subr.el (log10): Move here from C code, and declare as obsolete.
4702 All uses of (log10 X) replaced with (log X 10).
4703
4704 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4705
4706 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4707 Declare with `defvar-local'.
4708 (tabulated-list-use-header-line, tabulated-list-entries)
4709 (tabulated-list-padding, tabulated-list-printer)
4710 (tabulated-list-sort-key): Declare with `defvar-local'.
4711 (tabulated-list-init-header, tabulated-list-print-fake-header):
4712 Use `setq-local'.
4713
4714 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
4715
4716 * arc-mode.el (archive-mode): Add `archive-write-file' to
4717 `write-contents-functions' also for remote files. (Bug#14652)
4718
4719 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
4720
4721 * cus-edit.el (custom-commands): Fix typos.
4722 (custom-display): Fix tooltip text.
4723 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4724 Fix typos in docstrings.
4725 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4726 (custom-unlispify-menu-entry, custom-magic-value-create)
4727 (custom-add-see-also, custom-group-value-create): Use ?\s.
4728 (custom-guess-type, customize-apropos, editable-field)
4729 (custom-face-value-create): Use `string-match-p'.
4730 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4731
4732 * custom.el (custom-load-symbol): Use `string-match-p'.
4733
4734 * ansi-color.el: Convert to lexical binding.
4735 (ansi-colors): Fix URL.
4736 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4737 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4738 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4739
4740 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4741
4742 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4743
4744 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4745
4746 2013-06-19 Tom Tromey <tromey@redhat.com>
4747
4748 * net/eww.el (eww-top-url): Remove.
4749 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4750 (eww-render): Set new variables. Don't set eww-top-url.
4751 (eww-handle-link): Handle "prev", "home", and "contents".
4752 Downcase the rel text.
4753 (eww-top-url): Choose best top URL.
4754
4755 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4756
4757 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4758 relying in widget.el. Using widget.el leads to too many
4759 user interface inconsistencies.
4760 (eww-self-insert): Implement entering commands in text fields.
4761 (eww-process-text-input): New function to make text input field editing
4762 work.
4763 (eww-submit): Rewrite to use the new-style form methods.
4764 (eww-select-display): Display the correct selected item.
4765 (eww-change-select): Implement changing the select value.
4766 (eww-toggle-checkbox): Implement radio/checkboxes.
4767 (eww-update-field): Fix compilation error.
4768 (eww-tag-textarea): Implement <textarea>.
4769
4770 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4771 we don't shadow mode-specific bindings.
4772
4773 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4774 nothing to push.
4775
4776 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4777
4778 2013-06-19 Glenn Morris <rgm@gnu.org>
4779
4780 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4781
4782 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4783
4784 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4785 not needed.
4786
4787 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4788
4789 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4790
4791 * net/browse-url.el (browse-url-browser-function):
4792 `eww-browse-url' has the right calling signature, `eww' does not.
4793
4794 2013-06-19 Glenn Morris <rgm@gnu.org>
4795
4796 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4797 Only eval autoloaded macros.
4798 (byte-compile-autoload): Only give the macro warning for macros.
4799
4800 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4801 (ps-underlined-faces): Declare.
4802
4803 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4804 (speedbar-add-supported-extension): Declare.
4805
4806 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4807 Don't include a date stamp in the header of the generated file;
4808 it leads to needless differences between output files.
4809
4810 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4811
4812 * net/secrets.el (secrets-struct-secret-content-type):
4813 Replace check of introspection data by a test call of "CreateItem".
4814 Some servers do not offer introspection.
4815
4816 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * electric.el (electric-pair-mode): Improve interaction with
4819 electric-layout-mode.
4820 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4821 (electric-pair-syntax): Use text-mode-syntax-table in comments
4822 and strings.
4823 (electric-pair--insert): New function.
4824 (electric-pair-post-self-insert-function): Use it and
4825 electric--after-char-pos.
4826
4827 2013-06-19 Leo Liu <sdl.web@gmail.com>
4828
4829 * progmodes/octave.el (octave-help): Fix regexp.
4830
4831 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4832
4833 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4834 (shr-table-horizontal-line): Allow nil as a value, and change the
4835 default.
4836 (shr-insert-table-ruler): Respect the nil value.
4837
4838 2013-06-18 Tom Tromey <tromey@barimba>
4839
4840 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4841 New defvars.
4842 (eww-open-file): New defun.
4843 (eww-render): Initialize new variables.
4844 (eww-display-html): Handle "link" and "a".
4845 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4846 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4847 (eww-back-url): Rename from eww-previous-url.
4848 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4849 New defuns.
4850
4851 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4852
4853 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4854 Distinguish ternary operator tokens from slash symbol and slash
4855 char literal.
4856
4857 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4858
4859 Convert symbol prettification into minor mode and global minor mode.
4860
4861 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4862 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4863 (prettify-symbols--keywords): Rename from
4864 `prog-prettify-symbols-alist' and make a local defvar.
4865 (prettify-symbols--compose-symbol): Rename from
4866 `prog--prettify-font-lock-compose-symbol'.
4867 (prettify-symbols--make-keywords): Rename from
4868 `prog-prettify-font-lock-symbols-keywords' and simplify.
4869 (prog-prettify-install): Remove.
4870 (prettify-symbols-mode): New minor mode, based on
4871 `prog-prettify-install'.
4872 (turn-on-prettify-symbols-mode): New function.
4873 (global-prettify-symbols-mode): New globalized minor mode.
4874
4875 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4876 * progmodes/cfengine.el (cfengine3-mode):
4877 * progmodes/perl-mode.el (perl-mode): Don't call
4878 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4879
4880 2013-06-18 Juri Linkov <juri@jurta.org>
4881
4882 * files-x.el (modify-file-local-variable-message): New function.
4883 (modify-file-local-variable)
4884 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4885 and call `modify-file-local-variable-message' when it's non-nil.
4886 (add-file-local-variable, delete-file-local-variable)
4887 (add-file-local-variable-prop-line)
4888 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4889 and use it. (Bug#9820)
4890
4891 2013-06-18 Juri Linkov <juri@jurta.org>
4892
4893 * emulation/vi.el (vi-shell-op):
4894 * emulation/vip.el (vip-execute-com, ex-command):
4895 * emulation/viper-cmd.el (viper-exec-bang):
4896 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4897 the call of `shell-command-on-region'. (Bug#14637)
4898
4899 * simple.el (shell-command-on-region): Doc fix.
4900
4901 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4904 (bug#14633).
4905
4906 2013-06-18 Glenn Morris <rgm@gnu.org>
4907
4908 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4909
4910 * newcomment.el (comment-search-forward, comment-search-backward):
4911 Doc fix. (Bug#14376)
4912
4913 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4914
4915 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4916 (buffer-face-mode-invoke): Doc fix.
4917
4918 2013-06-18 Matthias Meulien <orontee@gmail.com>
4919
4920 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4921 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4922
4923 2013-06-18 Glenn Morris <rgm@gnu.org>
4924
4925 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4926 Replace obsolete function generic-make-keywords with its expansion.
4927
4928 * progmodes/python.el (ffap-alist): Declare.
4929
4930 * textmodes/reftex.el (bibtex-mode-map): Declare.
4931
4932 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4935 (package-unpack, package-unpack-single): Return the pkg-dir.
4936 (package-download-transaction): Use it to update package-alist.
4937
4938 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4939
4940 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4941 possible choice.
4942
4943 2013-06-17 Juri Linkov <juri@jurta.org>
4944
4945 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4946
4947 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4948
4949 * emacs-lisp/package.el (package-load-descriptor):
4950 Remove `with-syntax-table' call, `read' doesn't need it.
4951 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4952
4953 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4954
4955 * startup.el (command-line): Expand package name returned by
4956 `package--description-file' (bug#14639).
4957
4958 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4959
4960 * emacs-lisp/package.el (package-load-descriptor): Do not call
4961 `emacs-lisp-mode', just use its syntax table.
4962
4963 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4966 `font-lock-extra-managed-props' if any prettifying keyword is added.
4967 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4968 (prog-mode): Use `setq-local'.
4969
4970 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * international/characters.el (standard-case-table): Set syntax of ?»
4973 and ?« to punctuation.
4974
4975 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4976
4977 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4978 Save relevant match data before calling `syntax-ppss' (bug#14595).
4979
4980 2013-06-15 Juri Linkov <juri@jurta.org>
4981
4982 * files-x.el (modify-file-local-variable-prop-line): Add local
4983 variables to the end of the existing comment on the first line.
4984 Use `file-auto-mode-skip' to skip interpreter magic line,
4985 and also skip XML declaration.
4986
4987 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * startup.el (package--builtin-versions): New var.
4990 (package-subdirectory-regexp): Remove.
4991 (package--description-file): Hard code its value instead.
4992
4993 * emacs-lisp/package.el: Don't activate packages older than builtin.
4994 (package-obsolete-list): Rename from package-obsolete-alist, and make
4995 it into a simple list of package-desc.
4996 (package-strip-version): Remove.
4997 (package-built-in-p): Use package--builtin-versions.
4998 (package-mark-obsolete): Simplify.
4999 (package-process-define-package): Mark it obsolete if older than the
5000 builtin version.
5001 (package-handle-response): Use line-end-position.
5002 (package-read-archive-contents, package--download-one-archive):
5003 Simplify.
5004 (package--add-to-archive-contents): Skip if older than the builtin or
5005 installed version.
5006 (package-menu-describe-package): Fix last change.
5007 (package-list-unversioned): New var.
5008 (package-menu--generate): Use it.
5009
5010 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5011 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5012 (autoload-builtin-package-versions): New variable.
5013 (autoload-generate-file-autoloads): Use them.
5014 Remove the list of autoloaded functions/macros from the
5015 (autoload...) comments.
5016
5017 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5018
5019 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5020
5021 * simple.el (line-move-partial): Don't jump to the next screen
5022 line as soon as it becomes visible. Instead, continue enlarging
5023 the vscroll until the portion of a tall screen line that's left on
5024 display is about the height of the frame's default font.
5025 (Bug#14567)
5026
5027 2013-06-15 Glenn Morris <rgm@gnu.org>
5028
5029 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5030 compilation-error-regexp-alist void, or local while let-bound.
5031
5032 * progmodes/make-mode.el (makefile-mode-syntax-table):
5033 Treat "=" as punctuation. (Bug#14614)
5034
5035 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5036
5037 * help-fns.el (describe-variable):
5038 Add extra line for permanent-local variables.
5039
5040 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5041
5042 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5043 Add export, import, library. (Bug#9164)
5044 (library): Set indent function.
5045
5046 2013-06-14 Glenn Morris <rgm@gnu.org>
5047
5048 * term/xterm.el (xterm--query):
5049 Stop after first matching handler. (Bug#14615)
5050
5051 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5052
5053 Add support for dired in saveplace.
5054 * dired.el (dired-initial-position-hook): New variable.
5055 (dired-initial-position): Call hook to place cursor position.
5056 * saveplace.el (save-place-to-alist): Add dired position.
5057 (save-place-dired-hook): New function.
5058
5059 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5062 through a symbol rather than letrec.
5063
5064 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5065 (package-desc): Add `dir' field.
5066 (package-desc-full-name): New function.
5067 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5068 (package-maybe-load-descriptor): Remove.
5069 (package-load-all-descriptors): Just call package-load-descriptor.
5070 (package--disabled-p): New function.
5071 (package-desc-vers, package-desc-doc): Remove aliases.
5072 (package--dir): Remove function.
5073 (package-activate): Check if a package is disabled.
5074 (package-process-define-package): New function, extracted from
5075 define-package.
5076 (define-package): Turn into a place holder.
5077 (package-unpack-single, package-tar-file-info):
5078 Use package--description-file.
5079 (package-compute-transaction): Use package--disabled-p.
5080 (package-download-transaction): Don't call
5081 package-maybe-load-descriptor since they're all loaded anyway.
5082 (package-install): Change argument to be a pkg-desc.
5083 (package-delete): Use a single pkg-desc argument.
5084 (describe-package-1): Use package-desc-dir instead of package--dir.
5085 Use package-desc property instead of package-symbol.
5086 (package-install-button-action): Adjust accordingly.
5087 (package--push): Rewrite.
5088 (package-menu--print-info): Adjust accordingly. Change the ID format
5089 to be a pkg-desc.
5090 (package-menu-describe-package, package-menu-get-status)
5091 (package-menu--find-upgrades, package-menu-mark-upgrades)
5092 (package-menu-execute, package-menu--name-predicate):
5093 Adjust accordingly.
5094 * startup.el (package--description-file): New function.
5095 (command-line): Use it.
5096 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5097 Use package-desc-version.
5098
5099 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5100 (byte-compile-preprocess): Use it.
5101 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5102 can't quite recognize.
5103 (byte-compile-add-to-list): Remove.
5104 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5105 (cconv-closure-convert): Add assertion.
5106
5107 * emacs-lisp/map-ynp.el: Use lexical-binding.
5108 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5109 Factor out some repeated code.
5110
5111 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * subr.el (with-eval-after-load): New macro.
5114 (eval-after-load): Allow form to be a function.
5115 take advantage of lexical-binding.
5116 (do-after-load-evaluation): Use dolist and adjust to new format.
5117 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5118
5119 2013-06-13 Juri Linkov <juri@jurta.org>
5120
5121 * replace.el (perform-replace): Display "symbol " and other search
5122 modes from `isearch-message-prefix' in the *Help* buffer.
5123
5124 * isearch.el (isearch-query-replace): Add " symbol" and other
5125 possible search modes from `isearch-message-prefix' to the prompt.
5126 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5127 when reading a regexp to collect.
5128
5129 2013-06-13 Juri Linkov <juri@jurta.org>
5130
5131 * isearch.el (word-search-regexp): Match whitespace if the search
5132 string begins or ends in whitespace. The LAX arg is applied to
5133 both ends of the search string. Use `regexp-quote' and explicit
5134 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5135 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5136 boundaries are replaced with symbol boundaries, and characters
5137 between symbols match non-word non-symbol syntax. (Bug#14602)
5138
5139 2013-06-13 Juri Linkov <juri@jurta.org>
5140
5141 * isearch.el (isearch-del-char): Don't exceed the length of
5142 `isearch-string' by the prefix arg. (Bug#14563)
5143
5144 2013-06-13 Juri Linkov <juri@jurta.org>
5145
5146 * isearch.el (isearch-yank-word, isearch-yank-line)
5147 (isearch-char-by-name, isearch-quote-char)
5148 (isearch-printing-char, isearch-process-search-char):
5149 Add optional count prefix arg. (Bug#14563)
5150
5151 * international/isearch-x.el
5152 (isearch-process-search-multibyte-characters):
5153 Add optional count prefix arg.
5154
5155 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5158 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5159 lexical-binding.
5160
5161 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5162
5163 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5164
5165 2013-06-13 Glenn Morris <rgm@gnu.org>
5166
5167 * startup.el (tty-handle-args):
5168 Don't just discard "--" and anything after. (Bug#14608)
5169
5170 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5171
5172 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5173
5174 Implement changes in Secret Service API. Make it backward compatible.
5175 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5176 (secrets-create-item): Use it. Prefix properties with interface.
5177
5178 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5179
5180 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5181 (term-emulate-terminal): Respect term-suppress-hard-newline.
5182
5183 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5184
5185 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5186 Only remove a `thumb-file' overlay. (Bug#14548)
5187
5188 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5189
5190 * mail/reporter.el (reporter-submit-bug-report):
5191 Handle missing package-name. (Bug#14600)
5192
5193 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5194
5195 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5196 (reftex-citation-prompt, reftex-default-bibliography)
5197 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5198 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5199 (reftex-bib-sort-author, reftex-bib-sort-year)
5200 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5201 (reftex-extract-bib-entries-from-thebibliography)
5202 (reftex-get-bibkey-default, reftex-get-bib-names)
5203 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5204 (reftex-format-bib-entry, reftex-parse-bibitem)
5205 (reftex-format-bibitem, reftex-do-citation)
5206 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5207 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5208 (reftex-insert-bib-matches, reftex-format-citation)
5209 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5210 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5211 existing comments into docstrings.
5212
5213 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5214
5215 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5216
5217 2013-06-12 Andreas Schwab <schwab@suse.de>
5218
5219 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5220 for auto-save files.
5221
5222 2013-06-12 Glenn Morris <rgm@gnu.org>
5223
5224 * ido.el (ido-delete-ignored-files): Remove.
5225 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5226 Go back to calling ido-ignore-item-p directly.
5227
5228 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5229
5230 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5231
5232 * ido.el (ido-delete-ignored-files): New function,
5233 split from ido-make-file-list-1.
5234 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5235 (ido-make-file-list-1): Use ido-delete-ignored-files.
5236
5237 2013-06-12 Leo Liu <sdl.web@gmail.com>
5238
5239 * progmodes/octave.el (inferior-octave-startup)
5240 (inferior-octave-completion-table)
5241 (inferior-octave-track-window-width-change)
5242 (octave-eldoc-function-signatures, octave-help)
5243 (octave-find-definition): Use single quoted strings.
5244 (inferior-octave-startup-args): Change default value.
5245 (inferior-octave-startup): Do not hard code "-i" and
5246 "--no-line-editing".
5247 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5248 (inferior-octave-directory-tracker): Use it.
5249 (octave-goto-function-definition): Robustify.
5250 (octave-help): Support highlighting operators in 'See also'.
5251 (octave-find-definition): Find subfunctions only in Octave mode.
5252
5253 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * help-fns.el (help-fns--compiler-macro): If the handler function is
5256 named, then put a link to it.
5257 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5258 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5259 (cl-typep): Use it.
5260 (cl-eval-when): Simplify debug spec.
5261 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5262 compiler-macro function instead of setting `compiler-macro-file'.
5263
5264 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5265
5266 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5267 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5268
5269 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5270 Daniel Hackney <dan@haxney.org>
5271
5272 First part of Daniel Hackney's patch to package.el.
5273 * emacs-lisp/package.el: Use defstruct.
5274 (package-desc): New, main struct.
5275 (package--bi-desc, package--ac-desc): New structs, used to describe the
5276 format in external files.
5277 (package-desc-vers): Replace with package-desc-version accessor.
5278 (package-desc-doc): Replace with package-desc-summary accessor.
5279 (package-activate-1): Remove `package' arg since the pkg-vec now
5280 includes the name.
5281 (define-package): Use package-desc-from-define.
5282 (package-unpack-single): Change file-name arg to be a symbol.
5283 (package--add-to-archive-contents): Use package-desc-create and new
5284 accessor functions to package--ac-desc.
5285 (package-buffer-info, package-tar-file-info): Return a package-desc.
5286 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5287 arg to be a package-desc.
5288 (package-install-file): Adjust accordingly. Use \' to match EOS.
5289 (package--from-builtin): New function.
5290 (describe-package-1, package-menu--generate): Use it.
5291 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5292 (package-generate-autoloads): Idem and return the name of the file.
5293 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5294 Change pkg-info arg to be a package-desc.
5295 Use package-make-ac-desc.
5296 (package-upload-file): Use \' to match EOS.
5297 * finder.el (finder-compile-keywords): Use package-make-builtin.
5298
5299 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * vc/vc.el (vc-deduce-fileset): Change error message.
5302 (vc-read-backend): New function.
5303 (vc-next-action): Use it.
5304
5305 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5306
5307 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5308 (prolog-font-lock-keywords): Use regexp-opt instead.
5309 Don't manually highlight strings.
5310 (prolog-mode-variables): Simplify comment-start-skip.
5311 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5312
5313 * emacs-lisp/generic.el (generic--normalise-comments)
5314 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5315 (generic-mode-set-comments): Use them.
5316 (generic-bracket-support): Use setq-local.
5317 (generic-make-keywords-list): Declare obsolete.
5318
5319 2013-06-11 Glenn Morris <rgm@gnu.org>
5320
5321 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5322 Prettify after setting font-lock-defaults. (Bug#14574)
5323
5324 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5325
5326 * replace.el (query-replace, occur-read-regexp-defaults-function)
5327 (replace-search):
5328 * subr.el (declare-function, number-sequence, local-set-key)
5329 (substitute-key-definition, locate-user-emacs-file)
5330 (with-silent-modifications, split-string, eval-after-load):
5331 Fix typos, remove unneeded backslashes and reflow some docstrings.
5332
5333 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5336 default for Elisp files.
5337
5338 2013-06-11 Glenn Morris <rgm@gnu.org>
5339
5340 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5341 although define-derived-mode was doing this anyway. (Bug#14583)
5342
5343 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5344
5345 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5346 Fix make-variable-buffer-local call to refer to the correct variable.
5347
5348 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5349
5350 * eshell/em-term.el (eshell-visual-commands)
5351 (eshell-visual-subcommands, eshell-visual-options):
5352 Add summary line to docstrings. Add cross-references.
5353
5354 2013-06-10 Glenn Morris <rgm@gnu.org>
5355
5356 * epa.el (epa-read-file-name): New function. (Bug#14510)
5357 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5358
5359 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5360
5361 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5362 output redirection to be ignored with visual commands.
5363
5364 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5365
5366 * eshell/em-term.el (eshell-visual-command-p): New function.
5367 (eshell-term-initialize): Move long lambda to separate function
5368 eshell-visual-command-p.
5369 * eshell/em-dirs.el (eshell-dirs-initialise):
5370 * eshell/em-script.el (eshell-script-initialize):
5371 Add missing #' to lambda.
5372
5373 2013-06-08 Leo Liu <sdl.web@gmail.com>
5374
5375 * progmodes/octave.el (octave-add-log-current-defun): New function.
5376 (octave-mode): Set add-log-current-defun-function.
5377 (octave-goto-function-definition): Do not move point if not found.
5378 (octave-find-definition): Enhance to try subfunctions first.
5379
5380 2013-06-08 Glenn Morris <rgm@gnu.org>
5381
5382 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5383 (byte-compile-backward-char, byte-compile-backward-word):
5384 Improve previous change, to handle non-explicit nil.
5385
5386 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5389 (smie--opener/closer-at-point): New function.
5390 (smie--matching-block-data): Use it. Don't match from right after an
5391 opener or right before a closer. Obey smie-blink-matching-inners.
5392 Don't signal a mismatch for repeated inners like "switch..case..case".
5393
5394 2013-06-07 Leo Liu <sdl.web@gmail.com>
5395
5396 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5397 to t. (Bug#14303)
5398 (octave-function-header-regexp): Fix. (Bug#14570)
5399 (octave-help-mode-finish-hook, octave-help-mode-finish):
5400 Remove. Just use temp-buffer-show-hook.
5401
5402 * newcomment.el (comment-search-backward): Revert last change.
5403 (Bug#14434)
5404
5405 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5406
5407 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5408
5409 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5410 through xargs, to avoid failure due to MS-Windows limitations on
5411 command-line length.
5412
5413 2013-06-06 Glenn Morris <rgm@gnu.org>
5414
5415 * font-lock.el (lisp-font-lock-keywords-2):
5416 Treat user-error like error.
5417
5418 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5419 (byte-compile-backward-char, byte-compile-backward-word):
5420 Handle explicit nil arguments. (Bug#14565)
5421
5422 2013-06-05 Alan Mackenzie <acm@muc.de>
5423
5424 * isearch.el (isearch-allow-prefix): New user option.
5425 (isearch-other-meta-char): Don't exit isearch when a prefix
5426 argument is typed whilst `isearch-allow-prefix' is non-nil.
5427 (Bug#9706)
5428
5429 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * autorevert.el (auto-revert-notify-handler): Use memq.
5432 Hide assertion failure.
5433
5434 * skeleton.el: Use cl-lib.
5435 (skeleton-further-elements): Use defvar-local.
5436 (skeleton-insert): Use cl-progv.
5437
5438 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5439
5440 * progmodes/prog-mode.el (prog-prettify-symbols)
5441 (prog-prettify-install): Update docstrings.
5442
5443 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * simple.el: Move all the prog-mode code to prog-mode.el.
5446 * progmodes/prog-mode.el: New file.
5447 * loadup.el: Add prog-mode.el.
5448
5449 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5450
5451 * simple.el (prog-prettify-symbols): Add version.
5452 (prog-prettify-install): Add convenience function to prettify symbols.
5453
5454 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5455 (perl--augmented-font-lock-keywords-1)
5456 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5457 variables and use it.
5458
5459 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5460 (cfengine3-mode): Remove unneeded variable and use it.
5461
5462 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5463 (lisp--augmented-font-lock-keywords-1)
5464 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5465 Remove unneeded variables and use it.
5466
5467 2013-06-05 João Távora <joaotavora@gmail.com>
5468
5469 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5470 to point when opening the connection. (Bug#14380)
5471
5472 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * subr.el (load-history-regexp, load-history-filename-element)
5475 (eval-after-load, after-load-functions, do-after-load-evaluation)
5476 (eval-next-after-load, display-delayed-warnings)
5477 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5478 definition of save-match-data.
5479 (overriding-local-map): Remove accidental obsolescence declaration.
5480
5481 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5482
5483 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5484
5485 Generalize symbol prettify support to prog-mode and implement it
5486 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5487 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5488 (prog--prettify-font-lock-compose-symbol)
5489 (prog-prettify-font-lock-symbols-keywords): New variables and
5490 functions to support symbol prettification.
5491 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5492 (lisp--augmented-font-lock-keywords-1)
5493 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5494 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5495 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5496 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5497 Implement prettify of -> => :: strings.
5498 * progmodes/perl-mode.el (perl-prettify-symbols)
5499 (perl--font-lock-compose-symbol)
5500 (perl--font-lock-symbols-keywords): Move to prog-mode.
5501 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5502 (perl-font-lock-keywords-1)
5503 (perl-font-lock-keywords-2): Remove explicit prettify support.
5504 (perl--augmented-font-lock-keywords)
5505 (perl--augmented-font-lock-keywords-1)
5506 (perl--augmented-font-lock-keywords-2, perl-mode):
5507 Implement prettify support.
5508
5509 2013-06-05 Leo Liu <sdl.web@gmail.com>
5510
5511 Re-implement smie matching block highlight using
5512 show-paren-data-function. (Bug#14395)
5513 * emacs-lisp/smie.el (smie-matching-block-highlight)
5514 (smie--highlight-matching-block-overlay)
5515 (smie--highlight-matching-block-lastpos)
5516 (smie-highlight-matching-block)
5517 (smie-highlight-matching-block-mode): Remove.
5518 (smie--matching-block-data-cache): New variable.
5519 (smie--matching-block-data): New function.
5520 (smie-setup): Use smie--matching-block-data for
5521 show-paren-data-function.
5522
5523 * progmodes/octave.el (octave-mode-menu): Fix.
5524 (octave-find-definition): Skip garbage lines.
5525
5526 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 Fix compilation error with simultaneous dynamic+lexical scoping.
5529 Add warning when a defvar appears after the first let-binding.
5530 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5531 (byte-compile-close-variables): Initialize it.
5532 (byte-compile--declare-var): New function.
5533 (byte-compile-file-form-defvar)
5534 (byte-compile-file-form-define-abbrev-table)
5535 (byte-compile-file-form-custom-declare-variable): Use it.
5536 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5537 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5538 (byte-compile-bind): Handle dynamic bindings that shadow
5539 lexical bindings.
5540 (byte-compile-unbind): Make arg non-optional.
5541 (byte-compile-let): Simplify.
5542 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5543 (cconv--analyse-function, cconv-analyse-form): Populate it.
5544 Protect byte-compile-bound-variables to limit the scope of defvars.
5545 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5546 Remove unneeded rule for `declare'.
5547
5548 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5549 so as to avoid depending on cl-adjoin at run-time.
5550 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5551
5552 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5553 (macroexp--warn-and-return): Use it.
5554
5555 2013-06-05 Leo Liu <sdl.web@gmail.com>
5556
5557 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5558
5559 2013-06-04 Leo Liu <sdl.web@gmail.com>
5560
5561 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5562 (compilation-auto-jump): Suppress the "Mark set" message to give
5563 way to exit message.
5564
5565 2013-06-04 Alan Mackenzie <acm@muc.de>
5566
5567 Remove faulty optimisation from indentation calculation.
5568 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5569 search limit based on 2000 characters back from indent-point.
5570
5571 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5572
5573 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5574
5575 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * emacs-lisp/lisp.el: Use lexical-binding.
5578 (lisp--local-variables-1, lisp--local-variables): New functions.
5579 (lisp--local-variables-completion-table): New var.
5580 (lisp-completion-at-point): Use it complete let-bound vars.
5581
5582 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5583 eagerly (bug#14422).
5584
5585 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5586
5587 * autorevert.el (auto-revert-notify-enabled)
5588 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5589 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5590 (auto-revert-notify-handler): Handle also gfilenotify.
5591
5592 * subr.el (file-notify-handle-event): New defun. Replacing ...
5593 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5594 Remove.
5595
5596 2013-06-03 Juri Linkov <juri@jurta.org>
5597
5598 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5599 `M-s h .'. (Bug#14427)
5600
5601 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5602 command `hi-lock-face-symbol-at-point'.
5603 (hi-lock-face-symbol-at-point): New command.
5604 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5605 (hi-lock-menu): Add `highlight-symbol-at-point'.
5606 (hi-lock-mode): Doc fix.
5607
5608 * isearch.el (isearch-forward-symbol-at-point): New command.
5609 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5610 (isearch-highlight-regexp): Add a regexp which matches
5611 words/symbols for word/symbol mode.
5612
5613 * subr.el (find-tag-default-bounds): New function with the body
5614 mostly moved from `find-tag-default'.
5615 (find-tag-default): Move most code to `find-tag-default-bounds',
5616 call it and apply `buffer-substring-no-properties' afterwards.
5617
5618 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5619
5620 * eshell/em-term.el (eshell-term-initialize):
5621 Use `cl-intersection' rather than `intersection'.
5622
5623 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5624
5625 * vc/log-view.el: Doc fix.
5626 (log-view-mode-map): Copy keymap from `special-mode-map'.
5627
5628 2013-06-02 Eric Ludlam <zappo@gnu.org>
5629
5630 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5631 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5632 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5633 (eieio-unbound, eieio-default-superclass)
5634 (eieio--define-field-accessors, method-static, method-before)
5635 (method-primary, method-after, method-num-lists)
5636 (method-generic-before, method-generic-primary)
5637 (method-generic-after, method-num-slots)
5638 (eieio-specialized-key-to-generic-key)
5639 (eieio--check-type, class-v, class-p)
5640 (eieio-class-name, define-obsolete-function-alias)
5641 (eieio-class-parents-fast, eieio-class-children-fast)
5642 (same-class-fast-p, class-constructor, generic-p)
5643 (generic-primary-only-p, generic-primary-only-one-p)
5644 (class-option-assoc, class-option, eieio-object-p)
5645 (class-abstract-p, class-method-invocation-order)
5646 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5647 (eieio-class-un-autoload, eieio-defclass)
5648 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5649 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5650 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5651 (eieio-defgeneric-reset-generic-form)
5652 (eieio-defgeneric-form-primary-only)
5653 (eieio-defgeneric-reset-generic-form-primary-only)
5654 (eieio-defgeneric-form-primary-only-one)
5655 (eieio-defgeneric-reset-generic-form-primary-only-one)
5656 (eieio-unbind-method-implementations)
5657 (eieio--defmethod, eieio--typep)
5658 (eieio-perform-slot-validation, eieio-validate-slot-value)
5659 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5660 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5661 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5662 (eieio-slot-name-index, eieio-class-slot-name-index)
5663 (eieio-set-defaults, eieio-initarg-to-attribute)
5664 (eieio-attribute-to-initarg, eieio-c3-candidate)
5665 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5666 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5667 (eieio-class-precedence-list, eieio-generic-call-methodname)
5668 (eieio-generic-call-arglst, eieio-generic-call-key)
5669 (eieio-generic-call-next-method-list)
5670 (eieio-pre-method-execution-functions, eieio-generic-call)
5671 (eieio-generic-call-primary-only, eieiomt-method-list)
5672 (eieiomt-optimizing-obarray, eieiomt-install)
5673 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5674 (eieio-generic-form, eieio-defmethod, make-obsolete)
5675 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5676 (defclass): Remove `eval-and-compile' from macro.
5677 (call-next-method, shared-initialize): Instead of using
5678 `scoped-class' variable, use new eieio--scoped-class, and
5679 eieio--with-scoped-class.
5680 (initialize-instance): Rename local variable 'scoped-class' to
5681 'this-class' to remove ambiguitity from old global.
5682
5683 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5684 eieio.el.
5685 (eieio--scoped-class-stack): New variable.
5686 (eieio--scoped-class): New fcn.
5687 (eieio--with-scoped-class): New scoping macro.
5688 (eieio-defclass): Use pushnew instead of add-to-list.
5689 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5690 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5691 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5692 `scoped-class' variable, use new eieio--scoped-class, and
5693 eieio--with-scoped-class.
5694
5695 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5696
5697 2013-06-02 Tassilo Horn <tsdh@gnu.org>
5698
5699 * eshell/esh-ext.el (eshell-external-command): Pass args to
5700 `eshell-find-interpreter'.
5701 (eshell-find-interpreter): Add new second parameter ARGS.
5702
5703 * eshell/em-script.el (eshell-script-initialize): Add second arg
5704 to the function added as MATCH to `eshell-interpreter-alist'.
5705
5706 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5707 the function added as MATCH to `eshell-interpreter-alist'.
5708
5709 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5710 (eshell-visual-options): New defcustom.
5711 (eshell-escape-control-x): Adapt docstring.
5712 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5713 `eshell-visual-options' in addition to `eshell-visual-commands'.
5714 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5715
5716 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5717
5718 * progmodes/python.el (python-indent-block-enders): Add break,
5719 continue and raise keywords.
5720
5721 2013-06-01 Glenn Morris <rgm@gnu.org>
5722
5723 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5724
5725 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5726 * progmodes/cc-cmds.el (delete-forward-p):
5727 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5728 * progmodes/cc-engine.el (buffer-syntactic-context):
5729 * progmodes/cc-fonts.el (face-property-instance):
5730 * progmodes/cc-mode.el (set-keymap-parents):
5731 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5732 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5733 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5734 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5735 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5736
5737 * progmodes/cc-vars.el (other): Emacs has this widget since
5738 at least 21.1, so don't (re)define it.
5739
5740 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5741 Replace the obsolete alias pcomplete-arg-quote-list.
5742
5743 2013-06-01 Leo Liu <sdl.web@gmail.com>
5744
5745 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5746 punctuation syntax.
5747 (inferior-octave-minimal-columns)
5748 (inferior-octave-last-column-width): New variables.
5749 (inferior-octave-track-window-width-change): New function.
5750 (inferior-octave-mode): Adjust column width so that Octave output,
5751 for example from 'ls', can fit into the window nicely.
5752
5753 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5754
5755 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5756 Highlight expansions inside regexp literals.
5757
5758 2013-05-31 Glenn Morris <rgm@gnu.org>
5759
5760 * obsolete/sym-comp.el (symbol-complete):
5761 Replace obsolete completion-annotate-function.
5762
5763 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5764
5765 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5766
5767 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5768 New function, checks if point is inside a literal that allows
5769 expression expansion.
5770 (ruby-syntax-propertize-expansion): Use it.
5771 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5772 around the body.
5773
5774 2013-05-30 Juri Linkov <juri@jurta.org>
5775
5776 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5777 to "\M-si".
5778 (isearch-invisible): New variable.
5779 (isearch-forward): Doc fix.
5780 (isearch-mode): Set `isearch-invisible'
5781 to the value of `search-invisible'.
5782 (isearch-toggle-case-fold): Doc fix.
5783 (isearch-toggle-invisible): New command.
5784 (isearch-query-replace): Let-bind `search-invisible'
5785 to the value of `isearch-invisible'.
5786 (isearch-search): Use `isearch-invisible' instead of
5787 `search-invisible'. Let-bind `search-invisible'
5788 to the value of `isearch-invisible'. (Bug#11378)
5789
5790 2013-05-30 Juri Linkov <juri@jurta.org>
5791
5792 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5793 call when `query-flag' is nil and `search-invisible' is non-nil.
5794 (Bug#11746)
5795
5796 2013-05-30 Glenn Morris <rgm@gnu.org>
5797
5798 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5799
5800 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5801 (cc-require): Suppress spurious "noruntime" warnings.
5802 (cc-require-when-compile): Use fboundp, for sake of compiler.
5803
5804 * progmodes/cc-mode.el: Move load of cc-vars before that of
5805 cc-langs (which in turn loads cc-vars), to quieten compiler.
5806
5807 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * paren.el: Simplify the code.
5810 (show-paren-mode): Always start the timer.
5811 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5812 (show-paren--overlay, show-paren--overlay-1): Rename from
5813 show-paren-overlay and show-paren-overlay-1, and initialize to an
5814 overlay rather than to nil.
5815 (show-paren-function): Misc cleanup and simplifications.
5816
5817 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * paren.el (show-paren-data-function): New hook.
5820 (show-paren--default): New function, extracted from show-paren-function.
5821 (show-paren-function): Use show-paren-data-function.
5822
5823 2013-05-30 Glenn Morris <rgm@gnu.org>
5824
5825 * ielm.el (ielm-map, ielm-complete-symbol):
5826 Use completion-at-point rather than obsolete functions.
5827 (inferior-emacs-lisp-mode): Doc fix.
5828 Set completion-at-point-functions, rather than
5829 comint-dynamic-complete-functions.
5830
5831 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5832 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5833 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5834
5835 * image.el (image-animated-p): Tweak definition.
5836
5837 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5838 (rlogin-process-connection-type): Tweak default. Add set-after.
5839 (rlogin-host): Doc fix.
5840 (rlogin): Tweak prompt.
5841 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5842
5843 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5844 * progmodes/tcl.el (inferior-tcl-mode-map):
5845 Use completion-at-point rather than obsolete alias.
5846
5847 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5848
5849 * minibuffer.el (read-file-name-completion-ignore-case):
5850 Move before completion--in-region, for eager macro expansion.
5851
5852 2013-05-29 Juri Linkov <juri@jurta.org>
5853
5854 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5855 for total count of matching lines. Add `global-matches' for total
5856 count of matches. Rename `matches' to `lines' for count of
5857 matching lines. Add `matches' for count of matches.
5858 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5859 to `prev-line' for line number of prev match endpt.
5860 Increment `matches' for every match. Print the number of
5861 matching lines in the header.
5862 (occur-context-lines): Rename `lines' to `curr-line'.
5863 Rename `prev-lines' to `prev-line'. (Bug#14017)
5864
5865 2013-05-29 Juri Linkov <juri@jurta.org>
5866
5867 * replace.el (perform-replace): Add `skip-read-only-count',
5868 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5869 Increment them for corresponding conditions and report the number
5870 of skipped occurrences in the final message. (Bug#11746)
5871 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5872 (replace-string, replace-regexp): Doc fix.
5873
5874 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5877
5878 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5879 prog-mode-map (bug#14504).
5880
5881 2013-05-29 Leo Liu <sdl.web@gmail.com>
5882
5883 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5884 (octave-help): Small simplification.
5885
5886 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5887 off the highlight first.
5888
5889 2013-05-29 Glenn Morris <rgm@gnu.org>
5890
5891 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5892 Handle idlwave-last-system-routine-info-cons-cell being nil.
5893
5894 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5895 (idlwave-write-paths): Simplify via with-temp-buffer.
5896
5897 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5898 * emulation/cua-rect.el: Also load cua-base at run time.
5899
5900 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5901 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5902 (cperl-imenu-on-info): Require imenu.
5903
5904 2013-05-28 Alan Mackenzie <acm@muc.de>
5905
5906 Handle "capitalised keywords" correctly.
5907 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5908
5909 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5910
5911 * eshell/em-unix.el: Add -r option to cp.
5912
5913 2013-05-28 Glenn Morris <rgm@gnu.org>
5914
5915 * vc/vc-arch.el (vc-exec-after): Declare.
5916 (vc-switches): Autoload.
5917 * vc/vc-bzr.el: No need to require vc when compiling.
5918 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5919 (vc-resynch-buffer, vc-dir-refresh): Declare.
5920 (vc-setup-buffer, vc-switches): Autoload.
5921 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5922 (vc-resynch-buffer): Declare.
5923 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5924 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5925 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5926 (grep-read-regexp, grep-read-files, grep-expand-template)
5927 (vc-dir-refresh): Declare.
5928 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5929 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5930 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5931 * vc/vc-mtn.el (vc-exec-after): Declare.
5932 (vc-switches): Autoload.
5933 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5934 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5935 (vc-file-tree-walk): Declare.
5936 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5937 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5938 (vc-tag-precondition, vc-rename-master): Autoload.
5939 * vc/vc-svn.el (vc-exec-after): Declare.
5940 (vc-switches, vc-setup-buffer): Autoload.
5941 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5942 Autoload.
5943 (vc-resynch-buffer): Declare.
5944
5945 * obsolete/fast-lock.el (byte-compile-warnings):
5946 Don't warn about obsolete features in this obsolete file.
5947
5948 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5949 Move definition before use.
5950
5951 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5952 (dun-unix-verbs): Remove dun-zippy.
5953 (dun-zippy): Remove function.
5954
5955 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5956
5957 2013-05-27 Juri Linkov <juri@jurta.org>
5958
5959 * replace.el (replace-search): New function with code moved out
5960 from `perform-replace'.
5961 (replace-highlight, replace-dehighlight): Move function definitions
5962 up closer to `replace-search'. (Bug#11746)
5963
5964 2013-05-27 Juri Linkov <juri@jurta.org>
5965
5966 * replace.el (perform-replace): Ignore invisible matches.
5967 In addition to checking `query-replace-skip-read-only', also
5968 filter out matches by calling `run-hook-with-args-until-failure'
5969 on `isearch-filter-predicates', and also check `search-invisible'
5970 for t or call `isearch-range-invisible'.
5971 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5972
5973 2013-05-27 Juri Linkov <juri@jurta.org>
5974
5975 * isearch.el (isearch-filter-predicates): Rename from
5976 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5977 (isearch-message-prefix): Display text from the property
5978 `isearch-message-prefix' of the currently active filters.
5979 (isearch-search): Don't compare `isearch-filter-predicate' with
5980 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5981 on `isearch-filter-predicates'. Also check `search-invisible' for t
5982 or call `isearch-range-invisible'.
5983 (isearch-filter-visible): Make obsolete.
5984 (isearch-lazy-highlight-search):
5985 Call `run-hook-with-args-until-failure' on
5986 `isearch-filter-predicates' and use `isearch-range-invisible'.
5987
5988 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5989 `isearch-filter-predicates' instead of `funcall'ing
5990 `isearch-filter-predicate'.
5991 (Info-mode): Set `Info-isearch-filter' to
5992 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5993
5994 * dired-aux.el (dired-isearch-filter-predicate-orig):
5995 Remove variable.
5996 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5997 (dired-isearch-filenames-end): Add and remove
5998 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5999 instead of changing the value of `isearch-filter-predicate'.
6000 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6001 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6002 Put property `isearch-message-prefix' to "filename " on
6003 `dired-isearch-filter-filenames'.
6004
6005 * wdired.el (wdired-change-to-wdired-mode):
6006 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6007 locally instead of changing `isearch-filter-predicate'.
6008 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6009
6010 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6011
6012 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6013 return the commit hash (Bug#14459). Also set the
6014 `vc-git-detached' property.
6015 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6016 (vc-git-mode-line-string): Use the same help-echo format whether
6017 in detached mode or not, because we know the actual revision now.
6018 When in detached mode, shorten the revision to 7 chars.
6019
6020 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * emacs-lisp/easy-mmode.el (define-minor-mode):
6023 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6024 mode hook and provide a docstring.
6025
6026 2013-05-27 Alan Mackenzie <acm@muc.de>
6027
6028 Remove spurious syntax-table text properties inserted by C-y.
6029 * progmodes/cc-mode.el (c-after-change): Also clear hard
6030 syntax-table property with value nil.
6031
6032 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6033
6034 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6035 when reading the events; the buffer layout shall not be changed.
6036
6037 2013-05-27 Leo Liu <sdl.web@gmail.com>
6038
6039 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6040 New variable.
6041 (inferior-octave-directory-tracker): Automatically re-sync
6042 default-directory.
6043 (octave-help): Improve handling of 'See also'.
6044
6045 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * doc-view.el: Minor naming convention tweaks.
6048 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6049
6050 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6051 even if there's no `display' property yet (bug#14435).
6052
6053 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6054
6055 * subr.el (unmsys--file-name): Rename from reveal-filename.
6056
6057 * Makefile.in (custom-deps, finder-data, autoloads)
6058 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6059 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6060 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6061
6062 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6065 error-completion on the first 2 args of condition-case (bug#14446).
6066 Don't burp at EOB.
6067
6068 2013-05-25 Leo Liu <sdl.web@gmail.com>
6069
6070 * comint.el (comint-previous-matching-input): Do not flood the
6071 *Messages* buffer with trivial messages.
6072
6073 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * progmodes/flymake.el (flymake-nop): Don't return a string.
6076 (flymake-set-at): Fix typo.
6077
6078 * simple.el (read--expression): New function, extracted from
6079 eval-expression. Set completion-at-point-functions (bug#14465).
6080 (eval-expression, eval-minibuffer): Use it.
6081
6082 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6083
6084 * progmodes/flymake.el (flymake-save-buffer-in-file)
6085 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6086 (flymake-selected-frame, flymake-log, flymake-ins-after)
6087 (flymake-set-at, flymake-get-buildfile-from-cache)
6088 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6089 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6090 Refine the doc string.
6091 (flymake-get-file-name-mode-and-masks): Reformat.
6092 (flymake-get-real-file-name-function): Fix a minor bug.
6093
6094 2013-05-24 Juri Linkov <juri@jurta.org>
6095
6096 * progmodes/grep.el (grep-mode-font-lock-keywords):
6097 Support =linenumber= format used by git-grep for lines with
6098 function names. (Bug#13549)
6099
6100 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6103 0 after a semi-colon; it works better for smie-auto-fill.
6104 (octave--indent-new-comment-line): New function.
6105 (octave-indent-new-comment-line): Use it (indirectly).
6106 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6107 modify comment-line-break-function.
6108
6109 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6110 (smie-setup): Use add-function to set it.
6111
6112 2013-05-24 Sam Steingold <sds@gnu.org>
6113
6114 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6115 argument (before the `interactive' argument).
6116
6117 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * image-mode.el (image-mode-winprops): Add winprops to
6120 image-mode-winprops-alist before running
6121 image-mode-new-window-functions.
6122 * doc-view.el (doc-view-new-window-function): Don't delay
6123 doc-view-goto-page via timers (bug#14435).
6124
6125 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6126
6127 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6128 (doc-view-desktop-save-buffer): New function.
6129 (doc-view-restore-desktop-buffer): New function.
6130 (desktop-buffer-mode-handlers):
6131 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6132 handler.
6133 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6134 `desktop-save-buffer' function.
6135
6136 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6137
6138 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6139 (tramp-gvfs-file-name-handler): Raise a user error when
6140 `tramp-gvfs-enabled' is nil.
6141 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6142 Do not raise a user error when loading package. (Bug#14447)
6143
6144 * net/xesam.el: Move to obsolete/.
6145
6146 2013-05-24 Glenn Morris <rgm@gnu.org>
6147
6148 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6149
6150 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6151
6152 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6153 (Info-find-node, Man-getpage-in-background): Declare.
6154
6155 * mail/unrmail.el (unrmail):
6156 Replace obsolete detect-coding-with-priority.
6157
6158 * net/socks.el (socks-split-string): Use this rather than split-string.
6159 (socks-nslookup-host): Update for above change.
6160 (dynamic-choice, s5-dynamic-choice-match)
6161 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6162 Comment out unused code.
6163
6164 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6165 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6166 (gud-tooltip-echo-area): Make obsolete.
6167 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6168
6169 * progmodes/js.el (js--optimize-arglist): Declare.
6170
6171 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6172
6173 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6174 (ediff-window-C): Declare.
6175
6176 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6177 Tweak requires to silence compiler.
6178
6179 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6180 (he-search-string, he-tried-table, he-expand-list)
6181 (he-init-string, he-string-member, he-substitute-string)
6182 (he-reset-string): Declare.
6183
6184 * obsolete/options.el (list-options): Use custom-variable-p,
6185 rather than obsolete alias.
6186
6187 2013-05-23 Sam Steingold <sds@gnu.org>
6188
6189 * simple.el (shell-command-on-region): Pass the `replace' argument
6190 down to `call-process-region' to comply with the doc as reported on
6191 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6192
6193 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * emacs-lisp/smie.el (smie-indent-forward-token)
6196 (smie-indent-backward-token): Handle string tokens (bug#14381).
6197
6198 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6199
6200 * ielm.el (ielm-menu): New menu.
6201 (inferior-emacs-lisp-mode): Set comment-start.
6202
6203 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6204
6205 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6206 Fix deactivate action.
6207
6208 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6209 Add cleveref macros.
6210
6211 * lisp/textmodes/reftex-parse.el
6212 (reftex-locate-bibliography-files): Accept options for
6213 bibliography commands.
6214 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6215 Add addbibresource. Basic Biblatex support.
6216
6217 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6218
6219 * net/tramp-gvfs.el (top):
6220 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6221 when loading package. (Bug#14447)
6222
6223 2013-05-23 Glenn Morris <rgm@gnu.org>
6224
6225 * progmodes/js.el: No need to load comint when compiling.
6226 (ring-insert, comint-send-string, comint-send-input)
6227 (comint-last-input-end, ido-chop): Declare.
6228
6229 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6230 * vc/ediff-mult.el: Adjust requires.
6231 (ediff-directories-internal, ediff-directory-revisions-internal)
6232 (ediff-patch-file-internal): Declare.
6233 * vc/ediff-ptch.el: Adjust requires.
6234 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6235 (ediff-find-file): Autoload.
6236 * vc/ediff-util.el: No need to load ediff when compiling.
6237 (ediff-regions-internal): Declare.
6238 * vc/ediff-wind.el: Adjust requires.
6239 (ediff-compute-toolbar-width): Define when compiling.
6240 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6241 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6242 (dired-get-filename, dired-get-marked-files)
6243 (ediff-last-dir-patch, ediff-patch-default-directory)
6244 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6245 (ediff-patch-buffer-internal): Declare.
6246
6247 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6248 (ispell-process, ispell-buffer-local-words, lm-summary)
6249 (lm-section-start, lm-section-end): Declare.
6250 (checkdoc-ispell-init): Simplify.
6251
6252 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6253 (he-string-member, he-reset-string, he-substitute-string): Declare.
6254
6255 * eshell/em-ls.el: Adjust requires.
6256 (eshell-glob-regexp): Declare.
6257 * eshell/em-tramp.el: Adjust requires.
6258 (eshell-parse-command): Autoload.
6259 * eshell/em-xtra.el: Adjust requires.
6260 (eshell-parse-command): Autoload.
6261 * eshell/esh-ext.el: Adjust requires.
6262 (eshell-parse-command, eshell-close-handles): Autoload.
6263 * eshell/esh-io.el: Adjust requires.
6264 (eshell-output-filter): Autoload.
6265 * eshell/esh-util.el: No need to load tramp when compiling.
6266 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6267 Declare.
6268 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6269 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6270 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6271 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6272 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6273 * eshell/esh-opt.el, eshell/esh-proc.el:
6274 * eshell/esh-var.el: Adjust requires.
6275 * eshell/eshell.el: Do not require esh-util twice.
6276 (eshell-add-input-to-history): Declare.
6277 (eshell-command): Check history module is active before using it.
6278
6279 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6280
6281 2013-05-22 Leo Liu <sdl.web@gmail.com>
6282
6283 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6284
6285 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6286
6287 * autorevert.el (auto-revert-notify-add-watch)
6288 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6289 it indicates changes in file modification time.
6290
6291 2013-05-22 Glenn Morris <rgm@gnu.org>
6292
6293 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6294 Always delete the autoloaded function from the noruntime and
6295 unresolved functions lists.
6296
6297 * allout.el: No need to load epa, epg, overlay when compiling.
6298 (epg-context-set-passphrase-callback, epg-list-keys)
6299 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6300 (epg-key-user-id-list): Declare.
6301
6302 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6303 (viper-set-parsing-style-toggling-macro)
6304 (viper-set-emacs-state-searchstyle-macros):
6305 Use called-interactively-p on Emacs.
6306 (viper-looking-back): Make it an obsolete alias. Update callers.
6307 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6308 Use looking-back rather than viper-looking-back.
6309 (viper-tmp-insert-at-eob, viper-enlarge-region)
6310 (viper-read-string-with-history, viper-register-to-point)
6311 (viper-append-to-register, viper-change-state-to-vi)
6312 (viper-backward-char-carefully, viper-forward-char-carefully)
6313 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6314 (viper-change-state-to-emacs): Declare.
6315 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6316 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6317 * emulation/viper-mous.el: Do not load viper-cmd.
6318 (viper-backward-char-carefully, viper-forward-char-carefully)
6319 (viper-forward-word, viper-adjust-window): Declare.
6320
6321 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6322
6323 * progmodes/idlw-help.el (idlwave-help-fontify):
6324 Use called-interactively-p.
6325
6326 * term/w32console.el (w32-get-console-codepage)
6327 (w32-get-console-output-codepage): Declare.
6328
6329 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6330 Remove unnecessary declarations.
6331 (dframe-message): Doc fix.
6332
6333 * info.el (dframe-select-attached-frame, dframe-current-frame):
6334 Declare.
6335
6336 * speedbar.el (speedbar-message): Make it an obsolete alias.
6337 Update all callers.
6338 (speedbar-with-attached-buffer)
6339 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6340 (speedbar-with-writable): Use backquote.
6341 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6342 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6343 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6344 rather than speedbar- aliases.
6345 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6346 (speedbar-make-specialized-keymap, speedbar-insert-button)
6347 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6348 (speedbar-do-function-pointer): Declare.
6349 (rmail-speedbar-button, rmail-speedbar-find-file)
6350 (rmail-speedbar-move-message):
6351 Use dframe-with-attached-buffer rather than speedbar- alias.
6352 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6353 (dframe-message, speedbar-make-specialized-keymap)
6354 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6355 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6356 (speedbar-insert-button, dframe-select-attached-frame)
6357 (dframe-maybee-jump-to-attached-frame)
6358 (speedbar-change-initial-expansion-list)
6359 (speedbar-previously-used-expansion-list-name): Declare.
6360 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6361 Use dframe-message, dframe-with-attached-buffer rather than
6362 speedbar- aliases.
6363 (gud-sentinel): Silence compiler.
6364 * progmodes/vhdl-mode.el (speedbar-refresh)
6365 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6366 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6367 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6368 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6369 (speedbar-file-lists, speedbar-make-tag-line)
6370 (speedbar-line-directory, speedbar-goto-this-file)
6371 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6372 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6373 (speedbar-make-button, speedbar-reset-scanners)
6374 (speedbar-files-item-info, speedbar-line-text)
6375 (speedbar-find-file-in-frame, speedbar-set-timer)
6376 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6377 (speedbar-with-writable): Do not (re)define it.
6378 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6379 rather than speedbar- alias.
6380
6381 2013-05-21 Leo Liu <sdl.web@gmail.com>
6382
6383 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6384 menu items.
6385 (octave-mode): Tweak fill-nobreak-predicate.
6386 (inferior-octave-startup): Check process to avoid infinite loop.
6387 (inferior-octave): Pop to buffer first to show abornmal process
6388 exit information.
6389
6390 2013-05-21 Glenn Morris <rgm@gnu.org>
6391
6392 * printing.el (pr-menu-bar): Define when compiling.
6393
6394 2013-05-21 Leo Liu <sdl.web@gmail.com>
6395
6396 * progmodes/octave.el (octave-auto-fill): Remove.
6397 (octave-indent-new-comment-line): Improve.
6398 (octave-mode): Use auto fill mode through
6399 comment-line-break-function and fill-nobreak-predicate.
6400 (octave-goto-function-definition): Support DEFUN_DLD.
6401 (octave-beginning-of-defun): Small tweak.
6402 (octave-help): Show parent directory.
6403
6404 2013-05-21 Glenn Morris <rgm@gnu.org>
6405
6406 * files.el (dired-unmark):
6407 * progmodes/gud.el (gdb-input): Update declarations.
6408
6409 * calculator.el (electric, ehelp): No need to load when compiling.
6410 (Electric-command-loop, electric-describe-mode): Declare.
6411
6412 * doc-view.el (doc-view-current-converter-processes): Move before use.
6413
6414 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6415 Move MODE-set-explicitly definition before use.
6416
6417 * international/mule-diag.el (mule-diag):
6418 Don't use obsolete window-system-version.
6419
6420 * mail/feedmail.el (smtpmail): No need to load when compiling.
6421 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6422
6423 * mail/mail-utils.el (rfc822): No need to load when compiling.
6424 (rfc822-addresses): Autoload it.
6425 (mail-strip-quoted-names): Trivial simplification.
6426
6427 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6428 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6429
6430 * net/snmp-mode.el (tempo): Don't duplicate requires.
6431
6432 * progmodes/prolog.el (info): No need to load when compiling.
6433 (comint): Require before shell requires it.
6434 (Info-goto-node): Autoload it.
6435 (Info-follow-nearest-node): Declare.
6436 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6437
6438 * textmodes/artist.el (picture-mode-exit): Declare.
6439
6440 * textmodes/reftex-parse.el (reftex-parse-from-file):
6441 Trivial rewrite so the compiler can parse it better.
6442
6443 2013-05-20 Leo Liu <sdl.web@gmail.com>
6444
6445 * progmodes/octave.el (octave-help-mode-map)
6446 (octave-help-mode-finish-hook): New variables.
6447 (octave-help-mode, octave-help-mode-finish): New functions.
6448 (octave-help): Use octave-help-mode.
6449
6450 2013-05-20 Glenn Morris <rgm@gnu.org>
6451
6452 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6453
6454 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6455
6456 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6457 start at point, so that expansion starting right after opening
6458 slash in a regexp is recognized.
6459 (ruby-syntax-before-regexp-re): New defvar, extracted from
6460 ruby-syntax-propertize-function. Since the value of this regexp
6461 is looked up at runtime now, we should be able to turn
6462 `ruby-syntax-methods-before-regexp' into a defcustom later.
6463 (ruby-syntax-propertize-function): Split regexp matching into two
6464 parts, for opening and closing slashes. That allows us to skip
6465 over string interpolations and support multiline regexps.
6466 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6467 for them, which calls `ruby-syntax-propertize-expansion'.
6468 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6469 call to `ruby-syntax-propertize-function'.
6470 (ruby-syntax-propertize-expansion): Extracted from
6471 `ruby-syntax-propertize-expansions'. Handles one expansion.
6472 (ruby-syntax-propertize-percent-literal): Leave point right after
6473 the percent symbol, so that the expression expansion rule can
6474 propertize the contents.
6475 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6476 heredoc openers.
6477 (ruby-syntax-propertize-expansions): Remove.
6478
6479 2013-05-18 Juri Linkov <juri@jurta.org>
6480
6481 * man.el (Man-default-man-entry): Remove `-' from the end
6482 of the default value. (Bug#14400)
6483
6484 2013-05-18 Glenn Morris <rgm@gnu.org>
6485
6486 * comint.el (comint-password-prompt-regexp):
6487 Allow "password for XXX" where XXX contains colons (eg https://...).
6488
6489 2013-05-18 Leo Liu <sdl.web@gmail.com>
6490
6491 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6492 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6493 (octave-source-directories): Don't check process.
6494 (octave-source-directories, octave-find-definition): Doc fix.
6495
6496 2013-05-18 Glenn Morris <rgm@gnu.org>
6497
6498 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6499 Remove backspace/delete bindings. (Bug#14392)
6500
6501 * cus-dep.el (custom-make-dependencies): Sort the output.
6502 (custom-versions-load-alist): Convert comment to doc.
6503
6504 2013-05-17 Leo Liu <sdl.web@gmail.com>
6505
6506 * newcomment.el (comment-search-backward): Stricter in finding
6507 comment start. (Bug#14303)
6508
6509 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6510 (octave-comment-start-skip): Properly anchored.
6511
6512 2013-05-17 Leo Liu <sdl.web@gmail.com>
6513
6514 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6515 Clean up when turned off. (Bug#14395)
6516 (smie--highlight-matching-block-overlay): No longer buffer-local.
6517 (smie-highlight-matching-block): Adjust.
6518
6519 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6520
6521 Doc string fix for "nanoseconds" (Bug#14406).
6522 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6523 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6524
6525 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6526
6527 * calc/calc-units.el (math-extract-units): Preserve powers
6528 of units.
6529
6530 2013-05-17 Leo Liu <sdl.web@gmail.com>
6531
6532 * subr.el (delete-consecutive-dups): New function.
6533 * ido.el (ido-set-matches-1): Use it.
6534 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6535 * ido.el (ido-remove-consecutive-dups): Remove.
6536
6537 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6540 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6541 regexp-opt's `words'.
6542
6543 2013-05-16 Leo Liu <sdl.web@gmail.com>
6544
6545 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6546 (smie--highlight-matching-block-overlay)
6547 (smie--highlight-matching-block-lastpos)
6548 (smie--highlight-matching-block-timer): New variables.
6549 (smie-highlight-matching-block): New function.
6550 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6551 (smie-setup): Conditionally enable smie-blink-matching-open.
6552
6553 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6554
6555 Sync with upstream verilog-mode r840.
6556 * progmodes/verilog-mode.el (verilog-mode-version)
6557 (verilog-mode-release-date): Update.
6558 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6559 (verilog-sig-tieoff): Fix string error on
6560 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6561 (verilog-read-decls): Fix parameters confusing
6562 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6563
6564 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6565
6566 * subr.el (reveal-filename): New function.
6567
6568 * loadup.el: Compute Emacs executable versions on MS-Windows,
6569 where executables have the .exe extension. Add a hard link
6570 emacs-XX.YY.ZZ.exe on MS-Windows.
6571
6572 * Makefile.in (XARGS_LIMIT): New variable.
6573 (custom-deps, finder-data, autoloads)
6574 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6575 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6576 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6577 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6578
6579 2013-05-16 Leo Liu <sdl.web@gmail.com>
6580
6581 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6582 (octave-mode-menu, octave-mode-map): Remove its uses.
6583
6584 2013-05-16 Reto Zimmermann <reto@gnu.org>
6585
6586 Sync with upstream vhdl mode v3.34.2.
6587 * progmodes/vhdl-mode.el: Use `push' throughout.
6588 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6589 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6590 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6591 (vhdl-actual-generic-name): New option to derive actual generic name.
6592 (vhdl-port-paste-signals): Replace formal by actual generics.
6593 (vhdl-beautify): New name for old group vhdl-align. Update users.
6594 (vhdl-beautify-options): New option.
6595 (vhdl-last-input-event): New compat alias. Use throughout.
6596 (vhdl-goto-line): Replace user level function `goto-line'.
6597 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6598 vhdl-fix-statement-buffer.
6599 (vhdl-create-mode-menu): Add some entries.
6600 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6601 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6602 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6603 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6604 to force statements on one line.
6605 (vhdl-remove-trailing-spaces-region):
6606 New, split from vhdl-remove-trailing-spaces.
6607 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6608 Respect vhdl-beautify-options.
6609 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6610 (vhdl-update-sensitivity-list): Not add with index if exists without.
6611 Not include array index with signal. Ignore keywords in comments.
6612 (vhdl-get-visible-signals): Regexp tweaks.
6613 (vhdl-template-component-inst): Handle empty library.
6614 (vhdl-template-type): Add template for 'enum' type.
6615 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6616 Use vhdl-replace-string.
6617 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6618 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6619 (vhdl-speedbar-initialize): Update for above name change.
6620 (vhdl-compose-wire-components): Fix in handling of constants.
6621 (vhdl-error-regexp-emacs-alist): New variable.
6622 (vhdl-error-regexp-add-emacs): New function;
6623 adds support for new compile.el (Emacs 22+)
6624 (vhdl-generate-makefile-1): Change target order for single lib. units.
6625 Allow use of absolute file names.
6626
6627 2013-05-16 Leo Liu <sdl.web@gmail.com>
6628
6629 * simple.el (prog-indent-sexp): Indent enclosing defun.
6630
6631 2013-05-15 Glenn Morris <rgm@gnu.org>
6632
6633 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6634 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6635 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6636 (whitespace-highlight): Move to whitespace group.
6637
6638 * comint.el (comint-source):
6639 * pcmpl-linux.el (pcmpl-linux):
6640 * shell.el (shell-faces):
6641 * eshell/esh-opt.el (eshell-opt):
6642 * international/ccl.el (ccl): Remove empty custom groups.
6643
6644 * completion.el (dynamic-completion-mode):
6645 * jit-lock.el (jit-lock-debug-mode):
6646 * minibuffer.el (completion-in-region-mode):
6647 * type-break.el (type-break-mode-line-message-mode)
6648 (type-break-query-mode):
6649 * emulation/tpu-edt.el (tpu-edt-mode):
6650 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6651 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6652 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6653
6654 * term/xterm.el (xterm): Change parent group to terminals.
6655
6656 * master.el (master): Remove empty custom group.
6657 (master-mode): Remove unused :group argument.
6658 * textmodes/refill.el (refill): Remove empty custom group.
6659 (refill-mode): Remove unused :group argument.
6660
6661 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6662
6663 * cus-dep.el: Provide a feature.
6664 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6665 Don't mistakenly ignore files whose basenames match a basename
6666 from preloaded-file-list (eg cedet/ede/simple.el).
6667 Add a fallback method for getting :group.
6668
6669 2013-05-15 Juri Linkov <juri@jurta.org>
6670
6671 * isearch.el (isearch-char-by-name): Rename from
6672 `isearch-insert-char-by-name'. Doc fix.
6673 (isearch-forward): Mention `isearch-char-by-name' in
6674 the docstring. (Bug#13348)
6675
6676 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6677 `exit-minibuffer' instead of
6678 `isearch-nonincremental-exit-minibuffer'.
6679 (isearch-edit-string): Remove mention of
6680 `isearch-nonincremental-exit-minibuffer' from docstring.
6681 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6682 (isearch-forward-exit-minibuffer)
6683 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6684
6685 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * loadup.el: Just use unversioned DOC.
6688
6689 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6690 literals as extending to EOB.
6691 (nxml-last-fontify-end): Remove unused variable.
6692 (nxml-after-change1): Use with-silent-modifications.
6693 (nxml-extend-after-change-region): Simplify.
6694 (nxml-extend-after-change-region1): Remove function.
6695 (nxml-after-change1): Don't adjust for dependent regions.
6696 (nxml-fontify-matcher): Simplify.
6697 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6698 (xmltok-add-dependent): Remove function.
6699 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6700 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6701 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6702 unclosed <[[, <?, comment, and other literals as extending to EOB.
6703 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6704 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6705 Remove functions.
6706 (rng-do-some-validation-1): Don't mark dependent regions.
6707 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6708 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6709 (nxml-clear-dependent-regions): Remove functions.
6710 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6711 (nxml-ensure-scan-up-to-date):
6712 Don't clear&mark dependent regions.
6713
6714 2013-05-15 Leo Liu <sdl.web@gmail.com>
6715
6716 * progmodes/octave.el (octave-goto-function-definition):
6717 Improve and fix callers.
6718
6719 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6722 the setter (bug#14387).
6723
6724 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6725 surrounding group (bug#14402).
6726
6727 2013-05-14 Juri Linkov <juri@jurta.org>
6728
6729 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6730 (Bug#14390)
6731
6732 2013-05-14 Glenn Morris <rgm@gnu.org>
6733
6734 * progmodes/f90.el (f90-imenu-generic-expression):
6735 Fix typo in 2013-05-08 change. (Bug#14402)
6736
6737 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6738
6739 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6740 Remove signals for which replies are never received.
6741
6742 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6743
6744 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6745 (gdb-handler-alist, gdb-handler-number): Remove variables.
6746 (gdb-handler-list): New variable.
6747 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6748 (gdb-pending-handler-p, gdb-handle-reply)
6749 (gdb-remove-all-pending-triggers): New functions.
6750 (gdb-discard-unordered-replies): New defcustom.
6751 (gdb-handler): New defstruct.
6752 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6753 instead of gdb-pending-triggers. Update docstring.
6754 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6755 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6756 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6757 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6758 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6759 (gdb-frame-handler): Pending triggers are now automatically managed.
6760 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6761 Remove argument.
6762 (gdb-input): Automatically handles pending triggers. Update docstring.
6763 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6764 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6765 Update comments.
6766 (gdb-done-or-error): Now use gdb-handle-reply.
6767
6768 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6769
6770 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6771 gdb-debug-log.
6772
6773 2013-05-14 Glenn Morris <rgm@gnu.org>
6774
6775 * subr.el (user-emacs-directory-warning): New option.
6776 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6777
6778 2013-05-14 Leo Liu <sdl.web@gmail.com>
6779
6780 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6781 during redisplay.
6782 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6783 (octave-font-lock-texinfo-comment): Fix invalid search bound
6784 error: wrong side of point.
6785
6786 2013-05-14 Glenn Morris <rgm@gnu.org>
6787
6788 * progmodes/flymake.el (flymake-xml-program): New option.
6789 (flymake-xml-init): Use it.
6790
6791 * term/xterm.el: Provide a feature.
6792
6793 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6794
6795 2013-05-13 Glenn Morris <rgm@gnu.org>
6796
6797 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6798 Add compat aliases as a hack workaround. (Bug#14384)
6799
6800 2013-05-13 Leo Liu <sdl.web@gmail.com>
6801
6802 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6803 ###, and %!.
6804 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6805 C-M-q.
6806 (octave-comment-start-skip): Include %!.
6807 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6808
6809 2013-05-12 Leo Liu <sdl.web@gmail.com>
6810
6811 * progmodes/octave.el (inferior-octave-startup): Store the value
6812 of __octave_srcdir__ for octave-source-directories.
6813 (inferior-octave-check-process): New function refactored out of
6814 inferior-octave-send-list-and-digest.
6815 (octave-source-directories)
6816 (octave-find-definition-filename-function): New variables.
6817 (octave-source-directories)
6818 (octave-find-definition-default-filename): New functions.
6819 (octave-find-definition): Improve to find functions implemented in C++.
6820
6821 2013-05-12 Glenn Morris <rgm@gnu.org>
6822
6823 * calendar/diary-lib.el (diary-outlook-format-1):
6824 Don't include dayname in the output. (Bug#14349)
6825
6826 2013-05-11 Glenn Morris <rgm@gnu.org>
6827
6828 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6829
6830 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6831 Treat cc-provide like provide.
6832
6833 2013-05-11 Kevin Ryde <user42@zip.com.au>
6834
6835 * cus-dep.el (custom-make-dependencies):
6836 Use generated-autoload-load-name for the sake of files such
6837 such cedet/semantic/bovine/c.el, where the base file name
6838 is not in load-path. (Bug#5277)
6839
6840 2013-05-11 Glenn Morris <rgm@gnu.org>
6841
6842 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6843 Provide features.
6844
6845 2013-05-11 Leo Liu <sdl.web@gmail.com>
6846
6847 * progmodes/octave.el (octave-indent-comment): Improve.
6848 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6849 (octave-eldoc-function-signatures, octave-eldoc-function):
6850 New functions.
6851 (octave-mode, inferior-octave-mode): Add eldoc support.
6852
6853 2013-05-11 Richard Stallman <rms@gnu.org>
6854
6855 * epa.el (epa-decrypt-file): Take output file name as argument
6856 and read it using `interactive'.
6857
6858 2013-05-11 Leo Liu <sdl.web@gmail.com>
6859
6860 * progmodes/octave.el (octave-beginning-of-line)
6861 (octave-end-of-line): Check before using up-list because it jumps
6862 out of more syntactic contructs since moving to smie.
6863 (octave-indent-comment): New function.
6864 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6865 (octave-begin-keywords, octave-end-keywords)
6866 (octave-reserved-words, octave-smie-bnf-table)
6867 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6868
6869 2013-05-11 Glenn Morris <rgm@gnu.org>
6870
6871 * faces.el (internal-face-x-get-resource):
6872 * frame.el (ns-display-monitor-attributes-list):
6873 * calc/calc-aent.el (math-to-radians-2):
6874 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6875 Fix declarations.
6876
6877 * calc/calc-menu.el: Make it loadable in isolation.
6878
6879 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6880 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6881 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6882 (eudc-bbdb-query-internal): Require 'bbdb.
6883
6884 * lpr.el (lpr-headers-switches):
6885 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6886
6887 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6888
6889 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6890
6891 * term.el (term-set-escape-char): Make it idempotent.
6892
6893 2013-05-10 Leo Liu <sdl.web@gmail.com>
6894
6895 * progmodes/octave.el (inferior-octave-completion-table):
6896 No longer a function and all uses changed. Use cache to speed up
6897 completion due to bug#11906.
6898 (octave-beginning-of-defun): Re-write to be more general.
6899
6900 2013-05-10 Glenn Morris <rgm@gnu.org>
6901
6902 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6903
6904 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * comint.el (comint-redirect-send-command-to-process): Use :around
6907 rather than :override for comint-redirect-filter.
6908 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6909 Call it instead of comint-redirect-original-filter-function (which
6910 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6911
6912 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6913
6914 * frame.el (display-monitor-attributes-list): Add NS case.
6915 (ns-display-monitor-attributes-list): Declare.
6916
6917 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6918
6919 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6920
6921 2013-05-09 Glenn Morris <rgm@gnu.org>
6922
6923 * international/fontset.el (vertical-centering-font-regexp):
6924 Set standard-value.
6925
6926 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6927
6928 * bookmark.el (bookmark-search-delay):
6929 * cus-start.el (vertical-centering-font-regexp):
6930 * ps-mule.el (ps-mule-font-info-database-default):
6931 * ps-print.el (ps-default-fg, ps-default-bg):
6932 * type-break.el (type-break-good-break-interval):
6933 * whitespace.el (whitespace-indentation-regexp)
6934 (whitespace-space-after-tab-regexp):
6935 * emacs-lisp/testcover.el (testcover-1value-functions)
6936 (testcover-noreturn-functions, testcover-progn-functions)
6937 (testcover-prog1-functions):
6938 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6939 * eshell/em-glob.el (eshell-glob-translate-alist):
6940 * play/tetris.el (tetris-tty-colors):
6941 * progmodes/cpp.el (cpp-face-default-list):
6942 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6943 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6944 (idlwave-help-browser-generic-args):
6945 * progmodes/make-mode.el (makefile-special-targets-list):
6946 * progmodes/python.el (python-shell-virtualenv-path):
6947 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6948 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6949 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6950 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6951 * textmodes/reftex-vars.el (reftex-format-label-function):
6952 * textmodes/remember.el (remember-diary-file): Fix custom types.
6953
6954 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6955 Add :version.
6956
6957 2013-05-09 Leo Liu <sdl.web@gmail.com>
6958
6959 * progmodes/octave.el (inferior-octave-completion-at-point):
6960 Restore file completion. (Bug#14300)
6961 (inferior-octave-startup): Fix incorrect highlighting for the
6962 first prompt.
6963
6964 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * progmodes/ruby-mode.el: First cut at SMIE support.
6967 (ruby-use-smie): New var.
6968 (ruby-smie-grammar): New constant.
6969 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6970 (ruby-smie--forward-token, ruby-smie--backward-token)
6971 (ruby-smie-rules): New functions.
6972 (ruby-mode-variables): Setup SMIE if applicable.
6973
6974 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6975
6976 * simple.el (line-move-visual): Signal beginning/end of buffer
6977 only if vertical-motion moved less than it was requested. Avoids
6978 silly incorrect error messages when there are display strings with
6979 multiple newlines at EOL.
6980
6981 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6984 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6985 (prolog-char-quote-workaround):
6986 * progmodes/cperl-mode.el (cperl-under-as-char):
6987 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6988 Mark as obsolete.
6989 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6990 their declaration.
6991 (vhdl-mode-syntax-table-init): Remove.
6992
6993 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6994 last change.
6995
6996 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6997 syntax for "_".
6998 (ld-script-font-lock-keywords):
6999 Change regexps to use things like \_< and \_>.
7000
7001 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7002 Change all regexps to use things like \_< and \_>.
7003
7004 * progmodes/autoconf.el (autoconf-definition-regexp)
7005 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7006 Handle a _ with symbol syntax.
7007 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7008
7009 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7010 Consolidate declaration.
7011 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7012 the declaration.
7013 (ada-create-syntax-table): Remove.
7014 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7015 already has the right syntax nowadays.
7016 (ada-goto-next-word): Don't change the syntax of "_".
7017
7018 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7019 with-wrapper-hook.
7020
7021 2013-05-08 Sam Steingold <sds@gnu.org>
7022
7023 * thingatpt.el (thing-at-point): Accept optional second argument
7024 NO-PROPERTIES to strip the text properties from the return value.
7025 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7026 to `thing-at-point' instead of stripping the properties ourselves.
7027 Also, when `thing-at-point' fails to find a url, prepend "http://"
7028 to the filename at point on the assumption that the user is
7029 pointing at something like gnu.org/gnu.
7030
7031 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7034 * faces.el (crm-separator):
7035 Silence byte-compiler.
7036
7037 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7038 (tool-bar-map): Remove unneeded defvars.
7039
7040 2013-05-08 Leo Liu <sdl.web@gmail.com>
7041
7042 Re-work a fix for bug#10994 based on Le Wang's patch.
7043 * ido.el (ido-remove-consecutive-dups): New helper.
7044 (ido-completing-read): Use it.
7045 (ido-chop): Revert fix for bug#10994.
7046
7047 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7048
7049 * cus-edit.el (custom-save-variables):
7050 Pretty-print long values. (Bug#14187)
7051
7052 2013-05-08 Glenn Morris <rgm@gnu.org>
7053
7054 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7055 (m4-mode-syntax-table): Init in the defvar.
7056 (m4-mode-abbrev-table): Let define-derived-mode define it.
7057
7058 2013-05-08 Tom Tromey <tromey@redhat.com>
7059
7060 * progmodes/m4-mode.el (m4-mode-syntax-table):
7061 Do not treat "_" as word constituent. (Bug#14167)
7062
7063 2013-05-07 Glenn Morris <rgm@gnu.org>
7064
7065 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7066 Remove explicit eshell-isearch-cancel-map.
7067
7068 * progmodes/f90.el (f90-smart-end-names): New option.
7069 (f90-smart-end): Doc fix.
7070 (f90-end-block-optional-name): New constant.
7071 (f90-block-match): Respect f90-smart-end-names.
7072
7073 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7076 about implicit semi-colons (bug#14218).
7077
7078 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7079
7080 * frame.el (display-monitor-attributes-list)
7081 (frame-monitor-attributes): New functions.
7082
7083 2013-05-06 Leo Liu <sdl.web@gmail.com>
7084
7085 * progmodes/octave.el (octave-syntax-propertize-function): Change
7086 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7087 (octave-font-lock-keywords): Use octave-operator-regexp.
7088 (octave-completion-at-point): Rename from
7089 octave-completion-at-point-function.
7090 (inferior-octave-directory-tracker): Robustify.
7091 (octave-text-functions): Remove and fix its uses. No such things
7092 any more.
7093
7094 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * emacs-lisp/trace.el (trace--display-buffer): New function.
7097 (trace-make-advice): Use it.
7098
7099 2013-05-06 Juri Linkov <juri@jurta.org>
7100
7101 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7102 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7103 Doc fix.
7104 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7105 in the help string. (Bug#12985)
7106
7107 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7108
7109 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7110
7111 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * progmodes/perl-mode.el: Add support for here documents.
7114 (perl-syntax-propertize-function): Match here-doc markers.
7115 (perl-syntax-propertize-special-constructs): Find their end.
7116 (perl-imenu-generic-expression): Use [:alnum:].
7117
7118 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7119 (advice--add-function): Refresh the advice if already present
7120 (bug#14317).
7121
7122 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7123
7124 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7125
7126 2013-05-06 Glenn Morris <rgm@gnu.org>
7127
7128 * w32-fns.el (w32-charset-info-alist): Declare.
7129
7130 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7131 of its defcustom properties.
7132 (eshell-cmpl-initialize): No need to load pcomplete.
7133
7134 * generic-x.el: No need to require comint when compiling.
7135
7136 * net/eudc-export.el: Make it loadable without bbdb.
7137 (top-level): Use require rather than load-library.
7138 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7139 (eudc-batch-export-records-to-bbdb)
7140 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7141 Require bbdb.
7142
7143 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7146 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7147 some tweaks, instead.
7148
7149 2013-05-05 Leo Liu <sdl.web@gmail.com>
7150
7151 * progmodes/octave.el (octave-font-lock-keywords)
7152 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7153 (inferior-octave-send-list-and-digest): Improve error message.
7154 (octave-mode, inferior-octave-mode): Use setq-local.
7155 (octave-help): Set info-lookup-mode.
7156
7157 2013-05-05 Richard Stallman <rms@gnu.org>
7158
7159 * vc/compare-w.el (compare-windows-whitespace):
7160 Treat no-break space as whitespace.
7161
7162 * mail/rmailsum.el (rmail-summary-rmail-update):
7163 Detect empty summary and don't change selected message.
7164 (rmail-summary-goto-msg): Likewise.
7165
7166 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7167 Doc fixes, rename args.
7168
7169 2013-05-05 Alan Mackenzie <acm@muc.de>
7170
7171 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7172
7173 2013-05-05 Juri Linkov <juri@jurta.org>
7174
7175 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7176 to not add the length of the summary segment to the return value.
7177 (Bug#14125)
7178
7179 2013-05-05 Leo Liu <sdl.web@gmail.com>
7180
7181 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7182 (inferior-octave-output-filter): Remove.
7183 (octave-send-region, inferior-octave-startup): Fix callers.
7184 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7185 (octave-binary-file-extensions): New user variable.
7186 (octave-find-definition): Confirm if opening binary files.
7187 (octave-help-file): Use octave-find-definition to get the binary
7188 confirmation.
7189 (octave-help): Adjust for octave-help-file change.
7190
7191 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7194 Merge the two entries that handle function definitions.
7195 (pascal--syntax-propertize): New const.
7196 (pascal-mode): Use it. Use setq-local.
7197
7198 2013-05-04 Glenn Morris <rgm@gnu.org>
7199
7200 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7201 (diary-from-outlook): Respect diary-from-outlook-function.
7202
7203 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7206 Move the declaration from C.
7207 (read-minibuffer, eval-minibuffer): Move from C.
7208 (completion-setup-function): Avoid minibuffer-completion-contents.
7209
7210 2013-05-03 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (octave-font-lock-keywords): Do not
7213 dehighlight 'end' in comments or strings.
7214 (octave-completing-read, octave-goto-function-definition):
7215 New helpers.
7216 (octave-help-buffer): New user variable.
7217 (octave-help-file, octave-help-function): New button types.
7218 (octave-help): New command and bind it to C-h ;.
7219 (octave-find-definition): New command and bind it to M-.
7220 (user-error): Alias to error if not defined.
7221
7222 2013-05-02 Leo Liu <sdl.web@gmail.com>
7223
7224 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7225 for \. (bug#14332)
7226 (octave-font-lock-keywords): Include [ and {.
7227
7228 2013-05-02 Leo Liu <sdl.web@gmail.com>
7229
7230 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7231 (inferior-octave): Remove calling comint-mode and return the buffer.
7232 (inferior-octave-startup): Cosmetic changes.
7233
7234 2013-05-02 Leo Liu <sdl.web@gmail.com>
7235
7236 * progmodes/octave.el (octave-syntax-propertize-function):
7237 Include the case when ' is at line beginning. (Bug#14336)
7238
7239 2013-05-02 Glenn Morris <rgm@gnu.org>
7240
7241 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7242 * desktop.el (vc-dir-mode): Just autoload it here.
7243
7244 2013-05-02 Alan Mackenzie <acm@muc.de>
7245
7246 Eliminate variable c-standard-font-lock-fontify-region-function.
7247 * progmodes/cc-mode.el
7248 (c-standard-font-lock-fontify-region-function): Remove.
7249 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7250
7251 2013-05-01 Leo Liu <sdl.web@gmail.com>
7252
7253 * progmodes/octave.el: Compatible with older emacs-24 releases.
7254 (inferior-octave-has-built-in-variables): Remove. Built-in
7255 variables were removed from Octave in 2007.
7256 (inferior-octave-startup): Fix uses.
7257 (comint-line-beginning-position): Remove compatibility code for
7258 emacs 21.
7259
7260 2013-05-01 Juri Linkov <juri@jurta.org>
7261
7262 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7263
7264 2013-05-01 Juri Linkov <juri@jurta.org>
7265
7266 * comint.el (comint-previous-matching-input): Don't print message
7267 "History item: %d" when `isearch-mode' is active.
7268 (comint-history-isearch-message): Print message "History item: %d"
7269 when `comint-input-ring-index' is not empty and this function is
7270 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7271
7272 2013-05-01 Leo Liu <sdl.web@gmail.com>
7273
7274 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7275 definitions. Use completion-at-point to insert keywords.
7276 (octave-abbrev-start): Remove.
7277 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7278
7279 2013-04-30 Leo Liu <sdl.web@gmail.com>
7280
7281 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7282 change.
7283
7284 2013-04-30 Alan Mackenzie <acm@muc.de>
7285
7286 Handle arbitrarily long C++ member initialisation lists.
7287 * progmodes/cc-engine.el (c-back-over-member-initializers):
7288 new function.
7289 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7290 (most) member init lists.
7291
7292 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7293
7294 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7295 variable.
7296
7297 2013-04-30 Leo Liu <sdl.web@gmail.com>
7298
7299 * progmodes/octave.el (octave-variables): Remove. No builtin
7300 variables any more. All converted to functions.
7301 (octave-font-lock-keywords, octave-completion-at-point-function):
7302 Fix uses.
7303 (octave-font-lock-texinfo-comment): New user variable.
7304 (octave-texinfo-font-lock-keywords): New variable for texinfo
7305 comment block.
7306 (octave-function-comment-block): New face.
7307 (octave-font-lock-texinfo-comment): New function.
7308 (octave-mode): Font lock texinfo comment block.
7309
7310 2013-04-29 Leo Liu <sdl.web@gmail.com>
7311
7312 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7313 indexing expression.
7314 (octave-continuation-string): Do not use \.
7315 (inferior-octave-complete-impossible): Remove.
7316 (inferior-octave-completion-table)
7317 (inferior-octave-completion-at-point): Remove its uses.
7318 (inferior-octave-startup): completion_matches was introduced to
7319 Octave in 1996 so safe to assume it.
7320 (octave-function-file-comment): Improve to follow how Octave does it.
7321 (octave-update-function-file-comment): Tweak.
7322
7323 2013-04-29 Leo Liu <sdl.web@gmail.com>
7324
7325 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7326 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7327 (octave-function-file-comment): Fix typo.
7328 (octave-sync-function-file-names): Use read-char-choice.
7329
7330 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7331
7332 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7333 to t for the less important warnings.
7334
7335 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7336
7337 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7338
7339 2013-04-27 Glenn Morris <rgm@gnu.org>
7340
7341 * vc/log-view.el (log-view-current-entry):
7342 Treat "---" separator lines as part of the following rev. (Bug#14169)
7343
7344 2013-04-27 Juri Linkov <juri@jurta.org>
7345
7346 * subr.el (read-number): Doc fix about using it by interactive
7347 code letter `n'. (Bug#14254)
7348
7349 2013-04-27 Juri Linkov <juri@jurta.org>
7350
7351 * desktop.el (desktop-auto-save-timeout): New option.
7352 (desktop-file-checksum): New variable.
7353 (desktop-save): Add optional arg `auto-save' and don't auto-save
7354 if nothing changed.
7355 (desktop-auto-save-timer): New variable.
7356 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7357 (after-init-hook): Call `desktop-auto-save-set-timer'.
7358 Suggested by Reuben Thomas <rrt@sc3d.org> in
7359 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7360
7361 2013-04-27 Leo Liu <sdl.web@gmail.com>
7362
7363 * progmodes/octave.el (octave-function-file-p)
7364 (octave-skip-comment-forward, octave-function-file-comment)
7365 (octave-update-function-file-comment): New functions.
7366 (octave-mode-map): Bind C-c ; to
7367 octave-update-function-file-comment.
7368 (octave-mode-menu): Add octave-update-function-file-comment.
7369 (octave-mode, inferior-octave-mode): Fix doc-string.
7370 (octave-insert-defun): Conform to Octave's coding convention.
7371 (Bug#14285)
7372
7373 * files.el (basic-save-buffer): Don't let errors in
7374 before-save-hook prevent saving buffer.
7375
7376 2013-04-20 Roland Winkler <winkler@gnu.org>
7377
7378 * faces.el (read-face-name): Use completing-read if arg multiple
7379 is nil.
7380
7381 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7382
7383 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7384 displayed, move point to after the totals line.
7385 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7386 for the details.
7387
7388 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7391 Add current dir to the load-path.
7392 (package-generate-autoloads): Don't rely on
7393 autoload-ensure-default-file.
7394
7395 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7396
7397 * textmodes/remember.el (remember-store-in-files): Document that
7398 the file name format is passed to `format-time-string'.
7399
7400 2013-04-26 Leo Liu <sdl.web@gmail.com>
7401
7402 * progmodes/octave.el (octave-sync-function-file-names): New function.
7403 (octave-mode): Use it in before-save-hook.
7404
7405 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7408 (bug#14274).
7409
7410 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7411 \n and comment, even if it's not an implicit ; (bug#14218).
7412
7413 2013-04-26 Glenn Morris <rgm@gnu.org>
7414
7415 * subr.el (read-number): Once more use `read' rather than
7416 `string-to-number', to trap non-numeric input. (Bug#14254)
7417
7418 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7419
7420 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7421 Use `syntax-multiline' text property consistently instead of
7422 `font-lock-multiline'. (Bug#14237)
7423
7424 2013-04-26 Glenn Morris <rgm@gnu.org>
7425
7426 * emacs-lisp/shadow.el (list-load-path-shadows):
7427 No longer necessary to check for duplicate simple.el, since
7428 2012-07-07 change to init_lread to not include installation lisp
7429 directories in load-path when running uninstalled. (Bug#14270)
7430
7431 2013-04-26 Leo Liu <sdl.web@gmail.com>
7432
7433 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7434 (octave-mode, inferior-octave-mode): Use setq-local.
7435 (octave-not-in-string-or-comment-p): Rename to
7436 octave-in-string-or-comment-p.
7437 (octave-in-comment-p, octave-in-string-p)
7438 (octave-in-string-or-comment-p): Replace defsubst with defun.
7439
7440 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7441
7442 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7443
7444 2013-04-25 Bastien Guerry <bzg@gnu.org>
7445
7446 * textmodes/remember.el (remember-data-directory)
7447 (remember-directory-file-name-format): Fix custom types.
7448
7449 2013-04-25 Leo Liu <sdl.web@gmail.com>
7450
7451 * progmodes/octave.el (octave-completion-at-point-function):
7452 Make use of inferior octave process.
7453 (octave-initialize-completions): Remove.
7454 (inferior-octave-completion-table): New function.
7455 (inferior-octave-completion-at-point): Use it.
7456 (octave-completion-alist): Remove.
7457
7458 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7461 (opascal-mode-syntax-table): New var.
7462 (opascal-literal-kind, opascal-is-literal-end)
7463 (opascal-literal-token-at): Rewrite.
7464 (opascal--literal-start-re, opascal-font-lock-keywords)
7465 (opascal--syntax-propertize): New constants.
7466 (opascal-font-lock-defaults): Adjust.
7467 (opascal-mode): Use them. Set comment-<foo> variables as well.
7468 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7469 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7470 (delphi-other-face, opascal-other-face): Remove face variables.
7471 (opascal-save-state): Remove macro.
7472 (opascal-fontifying-progress-step): Remove constant.
7473 (opascal--ignore-changes): Remove var.
7474 (opascal-set-token-property, opascal-parse-next-literal)
7475 (opascal-is-stable-literal, opascal-complete-literal)
7476 (opascal-is-literal-start, opascal-face-of)
7477 (opascal-parse-region, opascal-parse-region-until-stable)
7478 (opascal-fontify-region, opascal-after-change)
7479 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7480 (opascal-debug-parse-region, opascal-debug-parse-window)
7481 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7482 (opascal-debug-fontify-buffer): Remove.
7483 (opascal-debug-mode-map): Adjust accordingly.
7484
7485 2013-04-25 Leo Liu <sdl.web@gmail.com>
7486
7487 Merge octave-mod.el and octave-inf.el into octave.el with some
7488 cleanups.
7489 * progmodes/octave.el: New file renamed from octave-mod.el.
7490 * progmodes/octave-inf.el: Merged into octave.el.
7491 * progmodes/octave-mod.el: Renamed to octave.el.
7492
7493 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7494
7495 * textmodes/reftex-vars.el
7496 (reftex-label-ignored-macros-and-environments): New defcustom.
7497
7498 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7499
7500 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7503 (smie-indent-keyword): Improve the check to ensure that the next
7504 comment is really on the same line.
7505 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7506
7507 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7508 semi-colons if the line is not otherwise empty (bug#14218).
7509
7510 2013-04-25 Glenn Morris <rgm@gnu.org>
7511
7512 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7513
7514 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * progmodes/opascal.el (opascal-set-token-property): Rename from
7517 opascal-set-text-properties and only set `token' (bug#14134).
7518 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7519 (opascal-literal-text-properties): Remove.
7520 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7521 Adjust callers.
7522
7523 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7524
7525 * textmodes/remember.el (remember-handler-functions): Add an
7526 option for a new handler `remember-store-in-files'.
7527 (remember-data-directory, remember-directory-file-name-format):
7528 New options.
7529 (remember-store-in-files): New function to store remember notes
7530 as separate files within a directory.
7531
7532 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7533
7534 * progmodes/compile.el (compilation-next-error-function):
7535 Pass "formats" to compilation-find-file (bug#11777).
7536
7537 2013-04-24 Glenn Morris <rgm@gnu.org>
7538
7539 * vc/vc-bzr.el (vc-bzr-print-log):
7540 * vc/vc-hg.el (vc-hg-print-log):
7541 * vc/vc-svn.el (vc-svn-print-log):
7542 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7543
7544 * vc/vc-bzr.el (vc-bzr-print-log):
7545 * vc/vc-cvs.el (vc-cvs-print-log):
7546 * vc/vc-git.el (vc-git-print-log):
7547 * vc/vc-hg.el (vc-hg-print-log):
7548 * vc/vc-mtn.el (vc-mtn-print-log):
7549 * vc/vc-rcs.el (vc-rcs-print-log):
7550 * vc/vc-sccs.el (vc-sccs-print-log):
7551 * vc/vc-svn.el (vc-svn-print-log):
7552 * vc/vc.el (vc-print-log-internal): Doc fixes.
7553
7554 2013-04-23 Glenn Morris <rgm@gnu.org>
7555
7556 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7557 Remove venerable code attempting to avoid substitute-command-keys.
7558
7559 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7560
7561 * textmodes/reftex-vars.el (reftex-label-regexps):
7562 Call `reftex-compile-variables' after changes to this variable.
7563
7564 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7567 Use lexical-binding.
7568 (jit-lock-force-redisplay): Use markers, check buffer's continued
7569 existence and beware narrowed buffers.
7570 (jit-lock-fontify-now): Adjust call accordingly.
7571
7572 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7575 to avoid misleading the user.
7576
7577 2013-04-22 Leo Liu <sdl.web@gmail.com>
7578
7579 * info-look.el: Prefer latex2e.info. (Bug#14240)
7580
7581 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7582
7583 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7584
7585 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7586 * net/tramp.el (tramp-call-process): ... here.
7587 (tramp-set-completion-function, tramp-parse-putty):
7588 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7589 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7590 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7591 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7592 (tramp-call-local-coding-command): Use `tramp-call-process'
7593 instead of `tramp-compat-call-process'.
7594
7595 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7596 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7597 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7598 (tramp-find-inline-compress): Improve traces.
7599 (tramp-maybe-send-script): Check for Perl binary.
7600 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7601
7602 2013-04-22 Daiki Ueno <ueno@gnu.org>
7603
7604 * epg.el (epg-context-pinentry-mode): New function.
7605 (epg-context-set-pinentry-mode): New function.
7606 (epg--start): Pass --pinentry-mode option to gpg command.
7607
7608 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7609
7610 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7611 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7612 `completion-at-point'. (Bug#13774)
7613
7614 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7615 default key binding for `describe-distribution' has been moved to
7616 `C-h C-o'. (Bug#13970)
7617
7618 2013-04-21 Glenn Morris <rgm@gnu.org>
7619
7620 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7621 Add doc strings.
7622 (vc-print-log): Clarify interactive prompt.
7623
7624 2013-04-20 Glenn Morris <rgm@gnu.org>
7625
7626 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7627 No longer include timestamp etc information.
7628
7629 2013-04-20 Roland Winkler <winkler@gnu.org>
7630
7631 * faces.el (read-face-name): Bug fix, return just one face if arg
7632 multiple is nil. (Bug#14209)
7633
7634 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7637 (remove-function): Autoload.
7638
7639 * comint.el (comint-redirect-original-filter-function): Remove.
7640 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7641 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7642 (vc-cvs-annotate-command):
7643 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7644 * progmodes/prolog.el (prolog-consult-compile):
7645 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7646 Use add/remove-function instead.
7647 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7648 (gud-tooltip-process-output, gud-tooltip-tips):
7649 Use add/remove-function instead.
7650 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7651 (scheme-interaction-mode, exit-scheme-interaction-mode):
7652 Use add/remove-function instead.
7653
7654 * vc/vc-dispatcher.el: Use lexical-binding.
7655 (vc--process-sentinel): Rename from vc-process-sentinel.
7656 Change last arg to be the code to run. Don't use vc-previous-sentinel
7657 and vc-sentinel-commands any more.
7658 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7659 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7660
7661 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7662
7663 * progmodes/sh-script.el (sh-imenu-generic-expression):
7664 Handle function names with a single character. (Bug#14111)
7665
7666 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7667
7668 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7669 for subroutines defined in an eval (bug#14182).
7670
7671 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7672
7673 * bookmark.el (bookmark-completing-read): Improve handling of empty
7674 string (bug#14176).
7675
7676 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7679
7680 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7681
7682 New faster Imenu implementation (bug#14058).
7683 * progmodes/python.el:
7684 (python-imenu-prev-index-position):
7685 (python-imenu-format-item-label-function)
7686 (python-imenu-format-parent-item-label-function)
7687 (python-imenu-format-parent-item-jump-label-function):
7688 New vars.
7689 (python-imenu-format-item-label)
7690 (python-imenu-format-parent-item-label)
7691 (python-imenu-format-parent-item-jump-label)
7692 (python-imenu--put-parent, python-imenu--build-tree)
7693 (python-imenu-create-index, python-imenu-create-flat-index)
7694 (python-util-popn): New functions.
7695 (python-mode): Set imenu-create-index-function to
7696 python-imenu-create-index.
7697
7698 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * winner.el (winner-active-region): Use region-active-p, activate-mark
7701 and deactivate-mark (bug#14225).
7702
7703 * simple.el (deactivate-mark): Don't inline it.
7704
7705 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
7706
7707 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7708
7709 2013-04-18 Tassilo Horn <tsdh@gnu.org>
7710
7711 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7712 file extensions from the archive-mode entry in order to prefer
7713 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7714
7715 2013-04-18 Leo Liu <sdl.web@gmail.com>
7716
7717 * bindings.el (help-event-list): Add ?\?.
7718
7719 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * subr.el (with-wrapper-hook): Declare obsolete.
7722 * simple.el (filter-buffer-substring-function): New hook.
7723 (filter-buffer-substring): Use it.
7724 (filter-buffer-substring-functions): Mark obsolete.
7725 * minibuffer.el (completion-in-region-function): New hook.
7726 (completion-in-region): Use it.
7727 (completion-in-region-functions): Mark obsolete.
7728 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7729 * abbrev.el (abbrev-expand-function): New hook.
7730 (expand-abbrev): Use it.
7731 (abbrev-expand-functions): Mark obsolete.
7732 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7733 and :filter-return.
7734
7735 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7736
7737 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7738 and do not care about match data.
7739
7740 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7743 completion tables when completing error conditions and
7744 `declare' arguments.
7745 (lisp-complete-symbol, field-complete): Mark as obsolete.
7746 (check-parens): Unmatched parens are user errors.
7747 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7748
7749 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
7750
7751 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7752 command changed buffer (ie. `flyspell-pre-buffer' is not current
7753 buffer), which prevents making decisions based on invalid value of
7754 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7755 cause an error when `flyspell-pre-point' was nil after switching
7756 buffers.
7757 (flyspell-post-command-hook): No longer needs to change buffers when
7758 checking pre-word. While at it remove unnecessary progn.
7759
7760 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7761
7762 * textmodes/ispell.el (ispell-add-per-file-word-list):
7763 Fix `flyspell-correct-word-before-point' error when accepting
7764 words and `coment-padding' is an integer by using
7765 `comment-normalize-vars' (Bug #14214).
7766
7767 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7768
7769 New defun movement commands.
7770 * progmodes/python.el (python-nav--syntactically)
7771 (python-nav--forward-defun, python-nav-backward-defun)
7772 (python-nav-forward-defun): New functions.
7773
7774 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7775
7776 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7777 (python-syntax-context): Use named compiler-macro for backwards
7778 compatibility with Emacs 24.x.
7779
7780 2013-04-17 Leo Liu <sdl.web@gmail.com>
7781
7782 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7783 octave-hide-process-buffer.
7784
7785 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7788 (bug#14216).
7789
7790 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7791
7792 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7793 Fix adjustment of offset when receiving incomplete responses from GDB
7794 (bug#14129).
7795
7796 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7799 python-mode-abbrev-table.
7800 (python-skeleton-define): Adjust accordingly.
7801 (python-mode-abbrev-table): New table that inherits from it so that
7802 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7803
7804 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7805 (abbrev-symbol): Use it.
7806 (abbrev--before-point): Use it since we already handle inheritance.
7807
7808 2013-04-16 Leo Liu <sdl.web@gmail.com>
7809
7810 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7811 binding to info-lookup-symbol.
7812
7813 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7814
7815 * minibuffer.el (completion--twq-all):
7816 * term/ns-win.el (ns-initialize-window-system):
7817 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7818
7819 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7822 global bindings.
7823
7824 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7825
7826 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7827
7828 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7829 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7830 to nil.
7831 (ruby-end-of-defun): Remove the unused arg, change the docstring
7832 to reflect that this function is only used as the value of
7833 `end-of-defun-function'.
7834 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7835 to reflect an earlier change that beginning/end-of-defun functions
7836 jump between methods in a class definition, as well as top-level
7837 functions.
7838
7839 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * minibuffer.el (minibuffer-complete): Don't just scroll
7842 a *Completions* that's been iconified.
7843 (minibuffer-force-complete): Make sure repetitions do cycle when going
7844 through completion-in-region -> minibuffer-complete.
7845
7846 2013-04-15 Alan Mackenzie <acm@muc.de>
7847
7848 Correct the placement of c-cpp-delimiters when there're #s not at
7849 col 0.
7850
7851 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7852 place a submatch around the #.
7853 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7854 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7855 on the #, not BOL.
7856
7857 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7860 (advice--member-p): New arg `name'.
7861 (advice--add-function, advice-member-p): Use it (bug#14202).
7862
7863 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7864
7865 Reformulate java imenu-generic-expression.
7866 The old expression contained ill formed regexps.
7867
7868 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7869 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7870 (cc-imenu-java-method-arg-regexp): New defconsts.
7871 (cc-imenu-java-build-type-args-regex): New defun.
7872 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7873 handling of spaces in the regexp.
7874
7875 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7876
7877 * textmodes/ispell.el (ispell-command-loop): Remove
7878 flyspell highlight of a word when ispell accepts it (bug #14178).
7879
7880 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7881
7882 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7883 uses code from the previous `ange-ftp-run-real-handler'.
7884 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7885 only in case that function exist. This is needed for proper
7886 unloading of Tramp.
7887
7888 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7889
7890 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7891
7892 * textmodes/reftex.el (reftex-compile-variables): Use it.
7893
7894 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * files.el (normal-mode): Only use default major-mode if no other mode
7897 was specified.
7898
7899 * emacs-lisp/trace.el (trace-values): New function.
7900
7901 * files.el: Allow : in local variables (bug#14089).
7902 (hack-local-variable-regexp): New var.
7903 (hack-local-variables-prop-line, hack-local-variables): Use it.
7904
7905 2013-04-13 Roland Winkler <winkler@gnu.org>
7906
7907 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7908 data before it gets modified by bibtex-beginning-of-entry.
7909
7910 2013-04-13 Roland Winkler <winkler@gnu.org>
7911
7912 * textmodes/bibtex.el (bibtex-url): Doc fix.
7913
7914 2013-04-13 Roland Winkler <winkler@gnu.org>
7915
7916 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7917 does not visit a BibTeX file, exclude it from the list of buffers
7918 returned by bibtex-initialize.
7919
7920 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7921
7922 * window.el (split-window): Remove interactive form, since as a
7923 command this function is a special case of split-window-below.
7924 Correct doc string.
7925
7926 2013-04-12 Roland Winkler <winkler@gnu.org>
7927
7928 * faces.el (read-face-name): Do not override value of arg default.
7929 Allow single faces and strings as default values. Remove those
7930 elements from return value that are not faces.
7931 (describe-face): Simplify.
7932 (face-at-point): New optional args thing and multiple so that this
7933 function can provide the same functionality previously provided by
7934 read-face-name.
7935 (make-face-bold, make-face-unbold, make-face-italic)
7936 (make-face-unitalic, make-face-bold-italic, invert-face)
7937 (modify-face, read-face-and-attribute): Use face-at-point.
7938
7939 * cus-edit.el (customize-face, customize-face-other-window)
7940 * cus-theme.el (custom-theme-add-face)
7941 * face-remap.el (buffer-face-set)
7942 * facemenu.el (facemenu-set-face): Use face-at-point.
7943
7944 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7945
7946 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7947
7948 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7949
7950 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7951 off leading { and trailing } from field values.
7952
7953 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * emacs-lisp/timer.el (timer--check): New function.
7956 (timer--time, timer-set-function, timer-event-handler): Use it.
7957 (timer-set-idle-time): Simplify.
7958 (timer--activate): CSE.
7959 (timer-event-handler): Give more info in error message.
7960 (internal-timer-start-idle): New function, moved from C.
7961
7962 * mpc.el (mpc-proc): Add `restart' argument.
7963 (mpc-proc-cmd): Use it.
7964 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7965 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7966 less often.
7967
7968 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7969
7970 * progmodes/sh-script.el: Implement `sh-mode' own
7971 `add-log-current-defun-function' (bug#14112).
7972 (sh-current-defun-name): New function.
7973 (sh-mode): Use the function.
7974
7975 2013-04-09 Bastien Guerry <bzg@gnu.org>
7976
7977 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7978
7979 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7982
7983 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7984 timer (bug#14156).
7985
7986 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7987
7988 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7989 declaration.
7990
7991 2013-04-07 Leo Liu <sdl.web@gmail.com>
7992
7993 * pcmpl-x.el: New file.
7994
7995 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7996
7997 Do not set x-display-name until X connection is established.
7998 This is needed to prevent from weird situation described at
7999 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8000 * frame.el (make-frame): Set x-display-name after call to
8001 window system initialization function, not before.
8002 * term/x-win.el (x-initialize-window-system): Add optional
8003 display argument and use it.
8004 * term/w32-win.el (w32-initialize-window-system):
8005 * term/ns-win.el (ns-initialize-window-system):
8006 * term/pc-win.el (msdos-initialize-window-system):
8007 Add compatible optional display argument.
8008
8009 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8010
8011 * files.el (normal-backup-enable-predicate): On MS-Windows and
8012 MS-DOS compare truenames of temporary-file-directory and of the
8013 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8014 don't fail comparison by compare-strings. Also, compare file
8015 names case-insensitively on MS-Windows and MS-DOS.
8016
8017 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8020 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8021
8022 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8023
8024 * whitespace.el (whitespace-color-on, whitespace-color-off):
8025 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8026
8027 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8028
8029 * ispell.el (ispell-set-spellchecker-params):
8030 Really set `ispell-args' for all equivs.
8031
8032 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * ido.el (ido-completions): Use extra elements of ido-decorations
8035 (bug#14143).
8036 (ido-decorations): Update docstring.
8037
8038 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8039
8040 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8041 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8042 nil during initialization, in order not to miss changes since the
8043 file was opened. (Bug#14140)
8044
8045 2013-04-05 Leo Liu <sdl.web@gmail.com>
8046
8047 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8048
8049 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8050
8051 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8052
8053 2013-04-04 Glenn Morris <rgm@gnu.org>
8054
8055 * electric.el (electric-pair-inhibit-predicate): Add :version.
8056
8057 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8060 when a package is required several times (bug#14082).
8061
8062 2013-04-04 Roland Winkler <winkler@gnu.org>
8063
8064 * faces.el (read-face-name): Behave as promised by the docstring.
8065 Assume that arg default is a list of faces.
8066 (describe-face): Call read-face-name with list of default faces.
8067
8068 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8069
8070 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8071 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8072 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8073 the header.
8074 (bookmark-exit-hook-internal): Save even if list is empty.
8075
8076 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8077
8078 * emacs-lisp/package.el (package-pinned-packages): New var.
8079 (package--add-to-archive-contents): Obey it (bug#14118).
8080
8081 2013-04-03 Alan Mackenzie <acm@muc.de>
8082
8083 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8084 Also adapt to the new values of element 7 of a parse state.
8085
8086 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8087 parameter `not-in-delimiter'. Handle being inside comment opener.
8088 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8089 character in case we're typing a '*' after a '/'.
8090 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8091 instead by passing the parameter to c-state-pp-to-literal.
8092
8093 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8094 for elt. 7 of a parse state.
8095
8096 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8097
8098 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8099 * international/latin1-disp.el, international/mule-util.el:
8100 * language/cyril-util.el, language/european.el, language/ind-util.el:
8101 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8102 * language/tibetan.el, language/viet-util.el:
8103 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8104
8105 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8108 (electric-pair-post-self-insert-function): Use it.
8109 (electric-pair-default-inhibit): New function, extracted from
8110 electric-pair-post-self-insert-function.
8111
8112 2013-03-31 Roland Winkler <winkler@gnu.org>
8113
8114 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8115
8116 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8119
8120 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8121
8122 Un-indent after "pass" and "return" statements (Bug#13888)
8123 * progmodes/python.el (python-indent-block-enders): New var.
8124 (python-indent-calculate-indentation): Use it.
8125
8126 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8127
8128 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8129 defun. Defining it as defalias could introduce too eager
8130 byte-compiler optimization. (Bug#14030)
8131
8132 2013-03-30 Chong Yidong <cyd@gnu.org>
8133
8134 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8135
8136 2013-03-30 Leo Liu <sdl.web@gmail.com>
8137
8138 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8139 (kmacro-execute-from-register): Pass the keyboard macro to
8140 kmacro-call-macro or repeating won't work correctly.
8141
8142 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8143
8144 * progmodes/subword.el: Back to using `forward-symbol'.
8145
8146 * subr.el (forward-whitespace, forward-symbol)
8147 (forward-same-syntax): Move from thingatpt.el.
8148
8149 2013-03-29 Leo Liu <sdl.web@gmail.com>
8150
8151 * kmacro.el (kmacro-to-register): New command.
8152 (kmacro-execute-from-register): New function.
8153 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8154
8155 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * mpc.el: Use defvar-local and setq-local.
8158 (mpc--proc-connect): Connection failures are not bugs.
8159 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8160 (mpc-volume-map): Bind to the up-events.
8161
8162 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8163
8164 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8165 instead of `forward-symbol'.
8166
8167 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8170 (edebug--recursive-edit): Use it.
8171 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8172 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8173
8174 2013-03-28 Leo Liu <sdl.web@gmail.com>
8175
8176 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8177
8178 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8179
8180 * facemenu.el (list-colors-callback): New defvar.
8181 (list-colors-redisplay): New function.
8182 (list-colors-display): Install list-colors-redisplay as the
8183 revert-buffer-function. (Bug#14063)
8184
8185 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8188 and suffixes don't overlap (bug#14061).
8189
8190 * case-table.el: Use lexical-binding.
8191 (case-table-get-table): New function.
8192 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8193
8194 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8195
8196 * progmodes/subword.el: Add `superword-mode' to do word motion
8197 over symbol_words (parallels and leverages `subword-mode' which
8198 does word motion inside MixedCaseWords).
8199
8200 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8201
8202 * eshell/em-unix.el: Move su and sudo to...
8203 * eshell/em-tramp.el: ...Eshell tramp module.
8204
8205 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8208 Change return value to be a sexp. Delay `get-buffer' to after
8209 restoring the desktop (bug#13951).
8210
8211 2013-03-26 Leo Liu <sdl.web@gmail.com>
8212
8213 * register.el: Move semantic tag handling back to
8214 cedet/semantic/senator.el. (Bug#14052)
8215
8216 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8219 into the prompt either (bug#13963).
8220
8221 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8224 part of "(error-foo)".
8225
8226 2013-03-24 Juri Linkov <juri@jurta.org>
8227
8228 * replace.el (list-matching-lines-prefix-face): New defcustom.
8229 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8230 `occur-engine' if `face-differs-from-default-p' returns t.
8231 (occur-engine): Add `,' inside backquote construct to evaluate
8232 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8233 Pass `prefix-face' to the functions `occur-context-lines' and
8234 `occur-engine-add-prefix'.
8235 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8236 `prefix-face' and propertize the prefix with `prefix-face'.
8237 (Bug#14017)
8238
8239 2013-03-24 Leo Liu <sdl.web@gmail.com>
8240
8241 * nxml/rng-valid.el (rng-validate-while-idle)
8242 (rng-validate-quick-while-idle): Guard against deleted buffer.
8243 (Bug#13999)
8244
8245 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8246 is the last entry in kill-buffer-hook.
8247
8248 * files.el (kill-buffer-hook): Doc fix.
8249
8250 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8251
8252 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8253 Make it safe-local.
8254
8255 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8256
8257 2013-03-23 Leo Liu <sdl.web@gmail.com>
8258
8259 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8260 Remove.
8261
8262 * nxml/rng-valid.el (rng-validate-mode)
8263 (rng-after-change-function, rng-do-some-validation):
8264 * nxml/rng-maint.el (rng-validate-buffer):
8265 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8266 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8267 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8268 (nxml-extend-after-change-region): Use with-silent-modifications.
8269
8270 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8271 timer-idle-list.
8272
8273 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8274 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8275 timer-idle-list. (Bug#13999)
8276
8277 2013-03-23 Juri Linkov <juri@jurta.org>
8278
8279 * info.el (info-index-match): New face.
8280 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8281 main pattern and add text properties with the new face to matches
8282 in index entries relative to the beginning of the index entry.
8283 (Bug#14015)
8284
8285 2013-03-21 Eric Ludlam <zappo@gnu.org>
8286
8287 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8288 Inhibit read only while inserting objects.
8289
8290 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8291
8292 * progmodes/cfengine.el: Update docs to mention
8293 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8294 symbol motion. Remove "_" from the word syntax.
8295
8296 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8297
8298 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8299 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8300
8301 2013-03-20 Juri Linkov <juri@jurta.org>
8302
8303 * info.el (Info-next-reference-or-link)
8304 (Info-prev-reference-or-link): New functions.
8305 (Info-next-reference, Info-prev-reference): Use them.
8306 (Info-try-follow-nearest-node): Handle footnote navigation.
8307 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8308
8309 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8312 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8313
8314 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8315
8316 Suppress unnecessary non-ASCII chatter during build process.
8317 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8318 (batch-skkdic-convert): Suppress most of the chatter.
8319 It's not needed so much now that machines are faster,
8320 and its non-ASCII component was confusing; see Dmitry Gutov in
8321 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8322
8323 2013-03-20 Leo Liu <sdl.web@gmail.com>
8324
8325 * ido.el (ido-chop): Fix bug#10994.
8326
8327 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8328
8329 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8330 Remove vars.
8331 (whitespace-color-on, whitespace-color-off):
8332 Use `font-lock-fontify-buffer' (Bug#13817).
8333
8334 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8337 remapping in mode-line.
8338 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8339
8340 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8341
8342 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8343 value for `whitespace-line' face (Bug#13875).
8344 (whitespace-font-lock-keywords): Change description.
8345 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8346 the constructed keywords instead.
8347 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8348
8349 2013-03-19 Leo Liu <sdl.web@gmail.com>
8350
8351 * progmodes/compile.el (compilation-display-error): New command.
8352 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8353 C-o. (Bug#13992)
8354
8355 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8356
8357 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8358
8359 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8360
8361 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8362
8363 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8364
8365 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8366
8367 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8368 * net/tramp-gvfs.el (top):
8369 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8370 (tramp-handle-shell-command): Use it.
8371 (tramp-dissect-file-name): Raise an error when hostname is a
8372 method name, and neither method nor user is specified.
8373
8374 * net/trampver.el: Update release number.
8375
8376 2013-03-18 Leo Liu <sdl.web@gmail.com>
8377
8378 Make sure eldoc can be turned off properly.
8379 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8380 eldoc-mode.
8381 (eldoc-display-message-p): Revert last change.
8382 (eldoc-display-message-no-interference-p)
8383 (eldoc-print-current-symbol-info): Tweak.
8384
8385 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8386
8387 * doc-view.el (doc-view-new-window-function): Check the new window
8388 overlay's display property instead the char property of the
8389 buffer's first char. Use `with-selected-window' instead of
8390 `save-window-excursion' with `select-window'.
8391 (doc-view-document->bitmap): Check the current doc-view overlay's
8392 display property instead the char property of the buffer's first char.
8393
8394 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8395
8396 Automate the build of ja-dic.el (Bug#13984).
8397 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8398 from the input, rather than assume that it's been done for us by the
8399 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8400 the current date into a ja-dic.el comment, as that complicates
8401 regression testing.
8402
8403 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * whitespace.el: Fix double evaluation.
8406 (whitespace-space, whitespace-hspace, whitespace-tab)
8407 (whitespace-newline, whitespace-trailing, whitespace-line)
8408 (whitespace-space-before-tab, whitespace-indentation)
8409 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8410 obsolete defvars.
8411 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8412 (whitespace-color-on): Use a single font-lock-add-keywords call.
8413 Fix double-evaluation of face variables.
8414
8415 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8416
8417 * net/tramp-adb.el (tramp-adb-parse-device-names):
8418 Use `start-process' instead of `call-process'. Otherwise, the
8419 function might be blocked under MS Windows. (Bug#13299)
8420
8421 2013-03-17 Leo Liu <sdl.web@gmail.com>
8422
8423 Extend eldoc to display info in the mode-line. (Bug#13978)
8424 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8425 (eldoc-mode-line-string): New variable.
8426 (eldoc-minibuffer-message): New function.
8427 (eldoc-message-function): New variable.
8428 (eldoc-message): Use it.
8429 (eldoc-display-message-p)
8430 (eldoc-display-message-no-interference-p):
8431 Support eldoc-post-insert-mode.
8432
8433 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8434 (eval-expression): Run it.
8435
8436 2013-03-17 Roland Winkler <winkler@gnu.org>
8437
8438 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8439 strings in the list of return values.
8440
8441 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8442
8443 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8444 radix before checking for HMS forms.
8445
8446 2013-03-16 Leo Liu <sdl.web@gmail.com>
8447
8448 * progmodes/scheme.el: Add indentation and font-locking for λ.
8449 (Bug#13975)
8450
8451 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8454 token before point (bug#13942).
8455
8456 2013-03-16 Leo Liu <sdl.web@gmail.com>
8457
8458 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8459
8460 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8461
8462 * startup.el (command-line-normalize-file-name): Fix handling of
8463 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8464 <xfq.free@gmail.com> in
8465 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8466
8467 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8468
8469 Sync with Tramp 2.2.7.
8470
8471 * net/trampver.el: Update release number.
8472
8473 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8474
8475 * doc-view.el: Fix bug#13887.
8476 (doc-view-insert-image): Don't modify overlay associated to
8477 non-live windows, and implement horizontal centering of image in
8478 case it's smaller than the window.
8479 (doc-view-new-window-function): Force redisplay of new windows on
8480 doc-view buffers.
8481
8482 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8483
8484 * saveplace.el (save-place-alist-to-file): Don't sort
8485 `save-place-alist', just pretty-print it (bug#13882).
8486
8487 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8488
8489 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8490 Check whether `default-file-name-coding-system' is bound.
8491 It isn't in XEmacs.
8492
8493 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8496 backquotes for `obsolete' (bug#13929).
8497
8498 * international/mule.el (find-auto-coding): Include file name in
8499 obsolescence warning (bug#13922).
8500
8501 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8502
8503 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8504 for CFEngine 3-specific indentation.
8505 (cfengine3-indent-line): Use it. Fix up category regex.
8506 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8507
8508 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * type-break.el (type-break-file-name):
8511 * textmodes/remember.el (remember-data-file):
8512 * strokes.el (strokes-file):
8513 * shadowfile.el (shadow-initialize):
8514 * saveplace.el (save-place-file):
8515 * ps-bdf.el (bdf-cache-file):
8516 * progmodes/idlwave.el (idlwave-config-directory):
8517 * net/quickurl.el (quickurl-url-file):
8518 * international/kkc.el (kkc-init-file-name):
8519 * ido.el (ido-save-directory-list-file):
8520 * emulation/viper.el (viper-custom-file-name):
8521 * emulation/vip.el (vip-startup-file):
8522 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8523 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8524
8525 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8526
8527 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8528 * language/thai-word.el: Switch to UTF-8.
8529
8530 See ChangeLog.16 for earlier changes.
8531
8532 ;; Local Variables:
8533 ;; coding: utf-8
8534 ;; End:
8535
8536 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8537
8538 This file is part of GNU Emacs.
8539
8540 GNU Emacs is free software: you can redistribute it and/or modify
8541 it under the terms of the GNU General Public License as published by
8542 the Free Software Foundation, either version 3 of the License, or
8543 (at your option) any later version.
8544
8545 GNU Emacs is distributed in the hope that it will be useful,
8546 but WITHOUT ANY WARRANTY; without even the implied warranty of
8547 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8548 GNU General Public License for more details.
8549
8550 You should have received a copy of the GNU General Public License
8551 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.