compile: Support GNU Make-4.0 directory quoting (tiny change)
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2
3 * progmodes/compile.el (compilation-directory-matcher)
4 (compilation-page-delimiter):
5 Support GNU Make-4.0 directory quoting. (Bug#15678)
6
7 2013-10-23 Leo Liu <sdl.web@gmail.com>
8
9 * ido.el (ido-tidy): Handle read-only text.
10
11 2013-10-23 Glenn Morris <rgm@gnu.org>
12
13 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
14 (emacs, compile, compile-always):
15 Quote entities that might contain whitespace.
16 (custom-deps, finder-data, autoloads): Use abs_lisp.
17 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
20
21 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
24 `following-char'.
25
26 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
29 * progmodes/ruby-mode.el (ruby-smie-rules):
30 Remove corresponding workaround. Fix indentation rule of ";" so it
31 also applies when ";" is the parent.
32
33 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
34
35 * frame.el (display-screens, display-pixel-height)
36 (display-pixel-width, display-mm-width, display-backing-store)
37 (display-save-under, display-planes, display-color-cells)
38 (display-visual-class, display-monitor-attributes-list):
39 Mention the optional ‘display’ argument in doc strings.
40
41 2013-10-22 Michael Gauland <mikelygee@amuri.net>
42
43 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
44 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
45
46 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
47
48 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
49 TODO. Add "." after " @ ".
50 (ruby-smie--at-dot-call): New function. Checks if point at method
51 call with explicit target.
52 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
53 to the method name tokens when it precedes them.
54 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
55 (ruby-smie-rules): Add rule for indentation before and after "."
56 token.
57
58 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * textmodes/remember.el (remember-diary-extract-entries):
61 Avoid add-to-list.
62
63 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
64 an instruction.
65
66 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
67
68 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
69 (ruby-smie--implicit-semi-p): Add new operator chars.
70
71 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
72 `smie-down-list'.
73 (ruby-smie--args-separator-p): Check that there's no newline
74 between method call and its arguments.
75
76 2013-10-20 Alan Mackenzie <acm@muc.de>
77
78 Allow comma separated lists after Java "implements".
79
80 * progmodes/cc-engine.el (c-backward-over-enum-header):
81 Parse commas.
82 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
83 from a "disallowed" list in enum fontification.
84
85 2013-10-20 Johan Bockgård <bojohan@gnu.org>
86
87 * startup.el (default-frame-background-mode): Remove unused defvar.
88
89 * progmodes/verilog-mode.el (verilog-mode): Don't set
90 comment-indent-function globally.
91
92 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
93
94 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
95 Move Info menu item creation to ns-win.el.
96
97 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
98 in menu bar.
99
100 * menu-bar.el: Move GNUStep specific menus...
101
102 * term/ns-win.el (ns-initialize-window-system): ... to here.
103
104 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * simple.el (newline): Only run post-self-insert-hook when
107 called interactively.
108
109 2013-10-19 Johan Bockgård <bojohan@gnu.org>
110
111 * icomplete.el (icomplete-with-completion-tables): Add :version.
112
113 2013-10-19 Alan Mackenzie <acm@muc.de>
114
115 Fix fontification bugs with constructors and const.
116
117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
118 CASE 2) Remove the check for the absence of a suffix construct
119 after a function declaration with only types (no identifiers) in
120 the parentheses. Also, accept a function declaration with just a
121 type inside the parentheses, if this type can be positively
122 recognised as such, or if a prefix keyword like "explicit" nails
123 down the construct as a declaration.
124
125 2013-10-19 Eli Zaretskii <eliz@gnu.org>
126
127 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
128 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
129 the problem whereby selecting a menu item that leads to a
130 minibuffer prompt moves the cursor out of the minibuffer window,
131 making it hard to type at the prompt. Suggested by Stefan Monnier
132 <monnier@iro.umontreal.ca>.
133
134 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
135
136 * menu-bar.el: Don't make Services menu.
137
138 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
139
140 * ffap.el: Handle "/usr/include/c++/<version>" directories.
141 (ffap-alist): Use ffap-c++-mode for c++-mode.
142 (ffap-c++-path): New variable.
143 (ffap-c++-mode): New function.
144
145 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
146
147 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
148
149 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
150
151 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
152 introduced on 2013-09-08, which results in an infinite loop
153 requesting a password.
154
155 2013-10-18 Glenn Morris <rgm@gnu.org>
156
157 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
158
159 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
160
161 Sync with upstream verilog-mode revision 1a6ecec7.
162 * progmodes/verilog-mode.el (verilog-mode-version): Update.
163 (verilog-mode-release-date): Remove.
164 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
165 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
166 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
167 (verilog-auto-tieoff-ignore-regexp)
168 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
169 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
170 (verilog-signals-with, verilog-dir-cache-preserving)
171 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
172 Doc fixes.
173 (verilog-case-fold): New option, to control case folding in
174 regexp searches, bug597.
175 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
176 (verilog-string-match-fold, verilog-in-paren-count)
177 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
178 (verilog-at-close-struct-p): New functions.
179 (verilog-beg-block-re-ordered, verilog-extended-case-re)
180 (verilog-forward-sexp, verilog-set-auto-endcomments):
181 (verilog-leap-to-case-head): Handle "unique0" case.
182 (verilog-in-constraint-re): New constant.
183 (verilog-keywords, verilog-type-font-keywords):
184 Add some SystemVerilog 1800-2012 keywords.
185 (verilog-label-be): Remove unimplemented argument, bug669.
186 (verilog-batch-execute-func): When batch expanding clear
187 create-lockfiles to prevent spurious user locks when a file ends
188 up not changing.
189 (verilog-calculate-indent, verilog-calc-1)
190 (verilog-at-close-constraint-p, verilog-at-constraint-p)
191 (verilog-do-indent): Fix indentation of nested constraints
192 and structures.
193 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
194 (verilog-auto-inst-param): Use verilog-string-match-fold.
195 (verilog-read-inst-module-matcher):
196 Fix AUTOINST on gate primitives with #1.
197 (verilog-read-decls): Fix double-declaring user-defined typed signals.
198 Reads all user-defined typed variables.
199 (verilog-read-defines): Fix reading definitions inside comments, bug647.
200 (verilog-signals-matching-regexp)
201 (verilog-signals-not-matching-regexp, verilog-auto):
202 Respect verilog-case-fold.
203 (verilog-diff-report): Fix line count.
204 (verilog-auto-assign-modport): Remove unused local `modi'.
205 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
206 better handle multidimensional arrays.
207 Fix packed array ports misadding bit index in AUTOINST, bug637.
208 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
209 to not double-declare existing outputs and inputs, respectively.
210 (verilog-template-map): Bind U to verilog-sk-uvm-component.
211 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
212 (verilog-sk-uvm-component): New skeleton.
213 (verilog-submit-bug-report): Add verilog-case-fold,
214 remove verilog-mode-release-date.
215
216 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
217
218 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
219 as before.
220
221 2013-10-18 Reuben Thomas <rrt@sc3d.org>
222
223 * textmodes/remember.el (remember): set buffer-offer-save in
224 remember buffers (bug#13566).
225
226 2013-10-18 Daniel Colascione <dancol@dancol.org>
227
228 When evaluating forms in ielm, direct standard output to ielm
229 buffer. Add new ielm-return-for-effect command. Remove trailing
230 whitespace throughout.
231
232 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
233 (ielm-return-for-effect): New command.
234 (ielm-send-input): Accept optional `for-effect' parameter.
235 (ielm-eval-input): Accept optional `for-effect' parameter.
236 Bind `standard-output' to stream we create using
237 `ielm-standard-output-impl'. Suppress printing result when
238 `for-effect'.
239 (ielm-standard-output-impl): New function.
240 (inferior-emacs-lisp-mode): Explain new features in documentation.
241
242 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
243
244 Code cleanup.
245
246 * net/tramp.el (tramp-debug-message): Do not check for connection
247 buffer.
248 (tramp-message): Use "vector" connection property.
249
250 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
251 (tramp-equal-remote, tramp-eshell-directory-change)
252 * net/tramp-adb.el (tramp-adb-handle-copy-file)
253 (tramp-adb-handle-rename-file)
254 * net/tramp-cmds.el (tramp-list-remote-buffers)
255 (tramp-cleanup-connection, tramp-cleanup-this-connection)
256 * net/tramp-compat.el (tramp-compat-process-running-p)
257 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
258 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
259 (tramp-gvfs-handle-rename-file)
260 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
261 (tramp-set-file-uid-gid)
262 * net/tramp-smb.el (tramp-smb-handle-copy-file)
263 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
264 of `file-remote-p'.
265
266 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
267 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
268 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
269 (tramp-gw-open-network-stream): Suppress unrelated traces.
270
271 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
272 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
273 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
274 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
275 connection property.
276
277 * net/tramp-cache.el (top): Suppress traces when reading
278 persistency file.
279
280 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
281 Refactor common code. Improve debug message.
282 (tramp-maybe-open-connection)
283 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
284 connection buffer too early.
285
286 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
287 from `tramp-smb-actions-with-acl'.
288 (tramp-smb-actions-set-acl): New defconst.
289 (tramp-smb-handle-copy-directory)
290 (tramp-smb-action-get-acl): New defun, renamed from
291 `tramp-smb-action-with-acl'.
292 (tramp-smb-action-set-acl): New defun.
293 (tramp-smb-handle-set-file-acl): Rewrite.
294
295 2013-10-17 Glenn Morris <rgm@gnu.org>
296
297 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
298
299 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * skeleton.el (skeleton-newline): Remove.
302 (skeleton-internal-1): Use (insert "\n") instead.
303
304 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
305 let-bindings.
306
307 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
308 forward-sexp-function while we redo its job (bug#15613).
309
310 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
311
312 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
313 represented by lists.
314
315 2013-10-16 Glenn Morris <rgm@gnu.org>
316
317 * tmm.el (tmm--history): New dynamic variable.
318 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
319
320 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
321
322 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
323 (tramp-smb-errors): Add error messages.
324 (tramp-smb-actions-with-acl): New defconst.
325 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
326 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
327 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
328 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
329 (tramp-smb-get-stat-capability): Fix tests.
330
331 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
332
333 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
334 (bug#15580).
335
336 2013-10-16 Glenn Morris <rgm@gnu.org>
337
338 * ansi-color.el (ansi-color-drop-regexp):
339 Add 1J, 1K, 2K. (Bug#15617)
340
341 * files.el (hack-local-variables--warned-lexical): New.
342 (hack-local-variables):
343 Warn about misplaced lexical-binding. (Bug#15616)
344
345 * net/eww.el (eww-render): Always set eww-current-url,
346 and update header line. (Bug#15622)
347 (eww-display-html): ... Rather than just doing it here.
348
349 2013-10-15 Eli Zaretskii <eliz@gnu.org>
350
351 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
352 menu navigations commands.
353
354 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
355
356 * progmodes/subword.el (subword-capitalize): Be careful when
357 the search for [[:alpha:]] fails (bug#15580).
358
359 2013-10-14 Eli Zaretskii <eliz@gnu.org>
360
361 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
362 to commands that scroll the menu.
363
364 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
365
366 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
367 Handle methods ending with `?' and `!'.
368
369 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
370
371 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
372 `japanese-cp932' to `cp932' to fix the problem where saving a
373 source file written in Shift_JIS twice would end up having
374 `coding: japanese-cp932' which Ruby could not recognize.
375 (ruby-mode-set-encoding): Add support for encodings mapped to nil
376 in `ruby-encoding-map'.
377 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
378 doesn't need to be explicitly declared in magic comment.
379 (ruby-encoding-map): Add type declaration for better customize UI.
380
381 2013-10-13 Glenn Morris <rgm@gnu.org>
382
383 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
384 Occur buffers are read-only. http://bugs.debian.org/720775
385
386 * emacs-lisp/authors.el (authors-fixed-entries):
387 Comment out old alpha stuff.
388
389 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
390
391 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
392 to `after-save-hook' instead of `before-save-hook'.
393 (ruby-mode-set-encoding): Use the value of coding system used to
394 write the file. Call `basic-save-buffer-1' after modifying the
395 buffer.
396
397 2013-10-13 Alan Mackenzie <acm@muc.de>
398
399 Fix indentation/fontification of Java enum with
400 "implements"/generic.
401
402 * progmodes/cc-engine.el (c-backward-over-enum-header):
403 Extracted from the three other places and enhanced to handle generics.
404 (c-inside-bracelist-p): Uses new function above.
405 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
406 function above.
407 (c-font-lock-enum-tail): Uses new function above.
408
409 2013-10-13 Kenichi Handa <handa@gnu.org>
410
411 * international/mule-cmds.el (select-safe-coding-system): Remove a
412 superfluous condition in chekcing whether a coding system is safe
413 or not.
414
415 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
416
417 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
418
419 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
420
421 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
422
423 2013-10-13 Glenn Morris <rgm@gnu.org>
424
425 * menu-bar.el (menu-bar-update-buffers):
426 Unify Buffers menu prompt string. (Bug#15576)
427
428 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
429
430 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
431 Add some entries.
432 (authors-fixed-entries): Use accented form of name.
433
434 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
437 method calls (bug#15594).
438 (ruby-smie--args-separator-p): New function.
439 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
440 recognize paren-free method calls.
441
442 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
443 internals of universal-argument.
444
445 2013-10-11 Eli Zaretskii <eliz@gnu.org>
446
447 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
448 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
449 dropped menu on second mouse click on the menu bar.
450
451 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
454 (explicit-shell-file-name): Declare.
455 (sh--vars-before-point, sh--cmd-completion-table): New functions.
456 (sh-completion-at-point-function): New function.
457 (sh-mode): Use it.
458 (sh-smie--keyword-p): Remove unused argument.
459 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
460 vars.
461 (sh-set-shell): Always setup SMIE, even if we use the
462 old indentation code.
463
464 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
465
466 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
467 cases of ? and =.
468 (ruby-smie-rules): Simplify the "do" rule. The cases when the
469 predicate would return nil are almost non-existent.
470 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
471
472 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
473 cache also after commands that modify the buffer but don't move
474 point.
475
476 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * env.el (substitute-env-in-file-name): New function.
479 (substitute-env-vars): Extend the meaning of the optional arg.
480
481 2013-10-10 Eli Zaretskii <eliz@gnu.org>
482
483 * term/w32-win.el (dynamic-library-alist): Define separate lists
484 of GIF DLLs for versions before and after 5.0.0 of giflib.
485 (Bug#15531)
486
487 2013-10-10 João Távora <joaotavora@gmail.com>
488
489 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
490 not locked, use last revision and current source as
491 defaults. (Bug#15569)
492
493 2013-10-10 Masatake YAMATO <yamato@redhat.com>
494
495 * menu-bar.el (menu-bar-open): Don't use popup-menu if
496 menu-bar is hidden.
497
498 2013-10-10 Martin Rudalics <rudalics@gmx.at>
499
500 * window.el (pop-to-buffer-same-window): Fix doc-string.
501 (Bug#15492)
502
503 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
506
507 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
508
509 * calendar/icalendar.el (icalendar-import-file):
510 Fix interactive spec. (Bug#15482)
511
512 2013-10-10 Glenn Morris <rgm@gnu.org>
513
514 * desktop.el (desktop-save): Default to saving in .emacs.d,
515 since PWD is no longer in desktop-path by default. (Bug#15319)
516
517 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
518 now that text mode has a menu with the same entry.
519 (menu-bar-text-mode-auto-fill): Remove now unused func.
520 * textmodes/text-mode.el (text-mode-map):
521 Use auto-fill help text from menu-bar.el.
522
523 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
524
525 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
526
527 2013-10-09 Juri Linkov <juri@jurta.org>
528
529 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
530 instead of this-command-keys. Add universal-argument-more and
531 universal-argument-minus to the list of prefix commands. (Bug#15568)
532
533 2013-10-09 Glenn Morris <rgm@gnu.org>
534
535 * vc/vc-svn.el (vc-svn-create-repo):
536 Expand paths in file://... url. (Bug#15446)
537
538 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
539 Add some entries.
540 (authors): Remove unused local variables.
541
542 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * profiler.el: Create a more coherent calltree from partial backtraces.
545 (profiler-format): Hide the tail with `invisible' so that C-s can still
546 find the hidden elements.
547 (profiler-calltree-depth): Don't recurse so enthusiastically.
548 (profiler-function-equal): New hash-table-test.
549 (profiler-calltree-build-unified): New function.
550 (profiler-calltree-build): Use it.
551 (profiler-report-make-name-part): Indent the calltree less.
552 (profiler-report-mode): Add visibility specs for profiler-format.
553 (profiler-report-expand-entry, profiler-report-toggle-entry):
554 Expand the whole subtree when provided with a prefix arg.
555
556 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
557
558 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
559 iuwu-mod token.
560 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
561 hanging iuwu-mod token.
562 (ruby-smie--forward-token): Do not include a dot after a token in
563 that token.
564 (ruby-smie--backward-token): Likewise.
565
566 2013-10-08 Juri Linkov <juri@jurta.org>
567
568 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
569 to isearch-other-control-char.
570 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
571 and isearch-post-command-hook to post-command-hook.
572 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
573 and isearch-post-command-hook from post-command-hook.
574 (isearch-unread-key-sequence)
575 (isearch-reread-key-sequence-naturally)
576 (isearch-lookup-scroll-key, isearch-other-control-char)
577 (isearch-other-meta-char): Remove functions.
578 (isearch-pre-command-hook, isearch-post-command-hook):
579 New functions based on isearch-other-meta-char rewritten
580 relying on the new behavior of overriding-terminal-local-map
581 that does not replace the local keymaps any more. (Bug#15200)
582
583 2013-10-08 Eli Zaretskii <eliz@gnu.org>
584
585 Support menus on text-mode terminals.
586 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
587 functionality.
588
589 * tooltip.el (tooltip-mode): Don't error out on TTYs.
590
591 * menu-bar.el (popup-menu, popup-menu-normalize-position):
592 Move here from mouse.el.
593 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
594 and arrow keys.
595 (tty-menu-navigation-map): New map for TTY menu navigation.
596
597 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
598
599 * frame.el (display-mouse-p): Report text-mode mouse as available
600 on w32.
601 (display-popup-menus-p): Report availability if mouse is
602 available; don't condition on window-system.
603
604 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
605 (tty-menu-selected-face): New faces.
606
607 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
610 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
611 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
612 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
613 New constants.
614 (lisp-mode-variables): New `elisp' argument.
615 (emacs-lisp-mode): Use it.
616 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
617 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
618
619 * indent.el: Use lexical-binding.
620 (indent-region): Add progress reporter.
621 (tab-stop-list): Make it implicitly extend to infinity by repeating the
622 last step.
623 (indent--next-tab-stop): New function to implement this behavior.
624 (tab-to-tab-stop, move-to-tab-stop): Use it.
625
626 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
627
628 * indent.el (indent-rigidly--current-indentation): New function.
629 (indent-rigidly-map): New var.
630 (indent-rigidly): Use it to provide interactive mode (bug#8196).
631
632 2013-10-08 Bastien Guerry <bzg@gnu.org>
633
634 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
635
636 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * progmodes/perl-mode.el: Use lexical-binding.
639 Remove redundant :group args.
640 (perl-nochange): Change default to be closer to other major modes's
641 standard behavior.
642 (perl-indent-line): Don't consider text on current line as a
643 valid beginning of function from which to indent.
644
645 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
646 with more than one argument (bug#15538).
647
648 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
649
650 * vc/pcvs.el: Use lexical-binding.
651 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
652 environment of `eval'.
653 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
654 than a list of expressions. Adjust callers.
655 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
656
657 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
658
659 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
660 case of the dot in a chained method call being on the following line.
661
662 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * electric.el (electric-indent-inhibit): New var.
665 (electric-indent-post-self-insert-function): Use it.
666 * progmodes/python.el (python-mode): Set it.
667
668 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
669 open braces.
670
671 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
672
673 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
674 (css-mode): Use electric-indent-chars.
675
676 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
677 (font-lock-beg, font-lock-end): Move before first use.
678 (nxml-mode): Use syntax-propertize-function.
679 (nxml-after-change, nxml-after-change1): Adjust accordingly.
680 (nxml-extend-after-change-region): Remove.
681 * nxml/xmltok.el: Use lexical-binding.
682 (xmltok-save): Use `declare'.
683 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
684 * nxml/nxml-util.el: Use lexical-binding.
685 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
686 Use `declare'.
687 * nxml/nxml-ns.el: Use lexical-binding.
688 (nxml-ns-save): Use `declare'.
689 (nxml-ns-prefixes-for): Avoid add-to-list.
690 * nxml/rng-match.el: Use lexical-binding.
691 (rng--ipattern): Use cl-defstruct.
692 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
693 (rng-cons-group-after, rng-subst-group-after)
694 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
695 Use closures instead of `(lambda...).
696
697 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
698
699 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
700 of BEG and END.
701
702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
703 Use `tramp-handle-insert-file-contents'.
704 (tramp-gvfs-handle-insert-file-contents): Remove function.
705
706 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
707 Use `save-restriction' in order to keep markers.
708
709 * net/trampver.el: Update release number.
710
711 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * progmodes/compile.el (compilation-parse-errors):
714 Use compilation--put-prop.
715 (compilation--ensure-parse): Check compilation-multiline.
716
717 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
718
719 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
720 lexical-binding.
721
722 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
723
724 * progmodes/ruby-mode.el: Fix recently added tests.
725 (ruby-smie-grammar): Add - and +.
726 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
727 (ruby-smie--backward-id): New functions.
728 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
729 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
730 any more.
731
732 2013-10-07 Leo Liu <sdl.web@gmail.com>
733
734 * register.el (register-preview-delay)
735 (register-preview-functions): New variables.
736 (register-read-with-preview, register-preview)
737 (register-describe-oneline): New functions.
738 (point-to-register, window-configuration-to-register)
739 (frame-configuration-to-register, jump-to-register)
740 (number-to-register, view-register, insert-register)
741 (copy-to-register, append-to-register, prepend-to-register)
742 (copy-rectangle-to-register): Use register-read-with-preview to
743 read register. (Bug#15525)
744
745 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
746
747 * net/network-stream.el (network-stream-open-starttls): Don't add
748 --insecure if it's already present, because that gnutls-cli
749 rejects getting that parameter twice.
750
751 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
752
753 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
754 keyword, too.
755
756 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
757
758 * newcomment.el (comment-use-global-state): Change default value
759 to t, mark obsolete (Bug#15251).
760 (comment-beginning): In addition to `comment-to-syntax', check the
761 value of `comment-use-global-state'.
762
763 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
766 (ruby-comment-column): Follow the global default, by default.
767 (ruby-smie-grammar): Add assignment syntax.
768 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
769 open-paren, a comma, or a \.
770 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
771 and line continuations.
772 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
773 followed by implicit semi-colons. Add rule for string concatenation
774 and for indentation at BOB.
775 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
776
777 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
778 calling next-sexp, since next-token may have skipped chars which
779 next-sexp doesn't know should be skipped!
780
781 2013-10-05 Leo Liu <sdl.web@gmail.com>
782
783 * progmodes/octave.el (octave-send-region):
784 Call compilation-forget-errors.
785
786 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
787
788 * vc/vc-svn.el (vc-svn-find-admin-dir):
789 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
790 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
791 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
792 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
793
794 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
797
798 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * subr.el (read-passwd): Hide chars even when called within a context
801 where after-change-functions is disabled (bug#15501).
802 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
803 until we removed ourself from overriding-terminal-local-map.
804
805 2013-10-04 Leo Liu <sdl.web@gmail.com>
806
807 * progmodes/octave.el (inferior-octave-mode):
808 Call compilation-forget-errors.
809
810 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
811
812 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
813
814 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
815
816 * net/secrets.el (secrets-create-collection): Add optional
817 argument ALIAS. Use proper Label keyword. Append ALIAS as
818 dbus-call-method argument. (Bug#15516)
819
820 2013-10-04 Leo Liu <sdl.web@gmail.com>
821
822 * progmodes/octave.el (inferior-octave-error-regexp-alist)
823 (inferior-octave-compilation-font-lock-keywords): New variables.
824 (compilation-error-regexp-alist)
825 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
826 (inferior-octave-mode): Use compilation-shell-minor-mode.
827
828 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
829
830 * minibuffer.el (completion--replace): Be careful that `end' might be
831 a marker.
832
833 2013-10-03 Daiki Ueno <ueno@gnu.org>
834
835 Add support for package signature checking.
836 * emacs-lisp/package.el (url-http-file-exists-p)
837 (epg-make-context, epg-context-set-home-directory)
838 (epg-verify-string, epg-context-result-for)
839 (epg-signature-status, epg-signature-to-string)
840 (epg-check-configuration, epg-configuration)
841 (epg-import-keys-from-file): Declare.
842 (package-check-signature): New user option.
843 (package-unsigned-archives): New user option.
844 (package-desc): Add `signed' field.
845 (package-load-descriptor): Set `signed' field if .signed file exists.
846 (package--archive-file-exists-p): New function.
847 (package--check-signature): New function.
848 (package-install-from-archive): Check package signature.
849 (package--download-one-archive): Check archive signature.
850 (package-delete): Remove .signed file.
851 (package-import-keyring): New command.
852 (package-refresh-contents): Import default keyring.
853 (package-desc-status): Add "unsigned" status.
854 (describe-package-1, package-menu--print-info)
855 (package-menu-mark-delete, package-menu--find-upgrades)
856 (package-menu--status-predicate): Support "unsigned" status.
857
858 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
861 the new compilation scheme using the new byte-codes.
862
863 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
864 (byte-pophandler): New byte codes.
865 (byte-goto-ops): Adjust accordingly.
866 (byte-compile--use-old-handlers): New var.
867 (byte-compile-catch): Use new byte codes depending on
868 byte-compile--use-old-handlers.
869 (byte-compile-condition-case--old): Rename from
870 byte-compile-condition-case.
871 (byte-compile-condition-case--new): New function.
872 (byte-compile-condition-case): New function that dispatches depending
873 on byte-compile--use-old-handlers.
874 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
875 when we can.
876
877 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
878 Optimize under `condition-case' and `catch' if
879 byte-compile--use-old-handlers is nil.
880 (disassemble-offset): Handle new bytecodes.
881
882 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * subr.el (error): Use `declare'.
885 (decode-char, encode-char): Use advertised-calling-convention instead
886 of the docstring to discourage use of the `restriction' arg.
887
888 2013-10-03 Daiki Ueno <ueno@gnu.org>
889
890 * epg.el (epg-verify-file): Add a comment saying that it does not
891 notify verification error as a return value nor a signal.
892 (epg-verify-string): Ditto.
893
894 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
895
896 * progmodes/compile.el (compilation-start): Try globbing the arg to
897 `cd' (bug#15417).
898
899 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
900
901 Sync with Tramp 2.2.8.
902
903 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
904 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
905 * net/trampver.el: Update release number.
906
907 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
908
909 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
910 and default-process-coding-system for darwin only.
911
912 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
915
916 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
917
918 * vc/vc-git.el (vc-git-grep): Disable pager.
919
920 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
921
922 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
923 Use :url instead of :homepage, as per
924 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
925
926 * newcomment.el (comment-beginning): When `comment-use-syntax' is
927 non-nil, use `syntax-ppss' (Bug#15251).
928
929 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
930
931 * progmodes/octave.el (inferior-octave-startup-file):
932 Prefer ~/.emacs.d/init_octave.m.
933
934 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
935
936 * emacs-lisp/package.el (package-desc-from-define):
937 Accept additional arguments as plist, convert them to an alist and store
938 them in the `extras' slot.
939 (package-generate-description-file): Convert extras alist back to
940 plist and append to the `define-package' form arguments.
941 (package--alist-to-plist): New function.
942 (package--ac-desc): Add `extras' slot.
943 (package--add-to-archive-contents): Check if the archive-contents
944 vector is long enough, and if it is, pass its `extras' slot value
945 to `package-desc-create'.
946 (package-buffer-info): Call `lm-homepage', pass the returned value
947 to `package-desc-from-define'.
948 (describe-package-1): Render the homepage button (Bug#13291).
949
950 * emacs-lisp/package-x.el (package-upload-buffer-internal):
951 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
952
953 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
954
955 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
956 and default-process-coding-system to utf-8-unix (Bug#15402).
957
958 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
959
960 * subr.el (looking-back): Do not recommend using looking-back.
961
962 2013-09-28 Alan Mackenzie <acm@muc.de>
963
964 Fix indentation/fontification of Java enum with "implements".
965
966 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
967 regexp which matches "implements", etc., in Java.
968 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
969 specifier clauses coming after "enum".
970 * progmodes/cc-fonts.el (c-font-lock-declarations)
971 (c-font-lock-enum-tail): Check for extra specifier clauses coming
972 after "enum".
973
974 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
975
976 * faces.el (region): Change ns_selection_color to
977 ns_selection_fg_color, add ns_selection_bg_color.
978
979 2013-09-28 Leo Liu <sdl.web@gmail.com>
980
981 * progmodes/octave.el (inferior-octave-completion-table)
982 (inferior-octave-completion-at-point): Minor tweaks.
983
984 * textmodes/ispell.el (ispell-lookup-words): Rename from
985 lookup-words. (Bug#15460)
986 (lookup-words): Obsolete.
987 (ispell-complete-word, ispell-command-loop): All uses changed.
988
989 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
990
991 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
992 (octave-mode-menu): Add octave-send-buffer.
993 (octave-send-buffer): New function.
994
995 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
996
997 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
998 octave-lookfor.
999 (octave-mode-menu): Add octave-lookfor.
1000 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1001 octave-lookfor.
1002 (octave-lookfor): New function.
1003
1004 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * emacs-lisp/cl-macs.el:
1007 (cl--loop-destr-temps): Remove.
1008 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1009 its convention.
1010 (cl--loop-set-iterator-function): New function.
1011 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1012 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1013 Bind `it' with `let' instead of substituting it with `cl-subst'.
1014 (cl--unused-var-p): New function.
1015 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1016 Eliminate some unused variable warnings (bug#15326).
1017
1018 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1019
1020 * doc-view.el (doc-view-scale-reset): Rename from
1021 `doc-view-reset-zoom-level'.
1022 (doc-view-scale-adjust): New command.
1023 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1024 `doc-view-scale-adjust'.
1025
1026 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1027
1028 * doc-view.el (doc-view-reset-zoom-level): New command.
1029 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1030 zoom commands (bug#15466).
1031
1032 2013-09-26 Kenichi Handa <handa@gnu.org>
1033
1034 * international/quail.el (quail-help): Make it not a command.
1035
1036 2013-09-26 Leo Liu <sdl.web@gmail.com>
1037
1038 * minibuffer.el (completion-all-sorted-completions): Make args
1039 optional as they are.
1040
1041 2013-09-25 Daniel Colascione <dancol@dancol.org>
1042
1043 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1044 specs are and that they're not evaluated.
1045
1046 2013-09-24 Sam Steingold <sds@gnu.org>
1047
1048 * midnight.el (clean-buffer-list-kill-regexps)
1049 (clean-buffer-list-kill-buffer-names): Update for the new Man
1050 buffer naming which includes the object name.
1051
1052 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1055 (eshell-parse-command, eshell-parse-pipeline): Use it since
1056 eshell-separate-commands requires a dynamic scoped var.
1057 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1058
1059 2013-09-23 Leo Liu <sdl.web@gmail.com>
1060
1061 * autoinsert.el (auto-insert-alist): Make the value of
1062 lexical-binding match its file setting.
1063
1064 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1065
1066 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1067
1068 * autoarg.el (autoarg-kp-digit-argument):
1069 * electric.el (Electric-command-loop):
1070 * kmacro.el (kmacro-step-edit-insert):
1071 Do not set universal-argument-num-events.
1072
1073 2013-09-22 Leo Liu <sdl.web@gmail.com>
1074
1075 * files.el (interpreter-mode-alist): Add octave.
1076
1077 2013-09-21 Alan Mackenzie <acm@muc.de>
1078
1079 C++: fontify identifier in declaration following "public:" correctly.
1080 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1081 to match "public", etc.
1082 (c-decl-prefix-re): Add ":" into the C++ value.
1083 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1084 bit. Add a check for a ":" preceded by "public", etc.
1085
1086 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1087
1088 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1089 recognized by GDB 7.5 and later.
1090
1091 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1092
1093 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1094
1095 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * subr.el (internal--call-interactively): New const.
1098 (called-interactively-p): Use it (bug#3984).
1099
1100 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1101
1102 * vc/pcvs.el (cvs-mode-ignore):
1103 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1104 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1105
1106 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1109 (eshell-ls-orig-insert-directory): Remove.
1110 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1111 (eshell-ls-use-in-dired): Use advice-add/remove.
1112 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1113 Add `orig-fun' arg for use in :around advice.
1114 Make it check (redundantly) eshell-ls-use-in-dired.
1115
1116 2013-09-19 Glenn Morris <rgm@gnu.org>
1117
1118 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1119
1120 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1121
1122 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1123
1124 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1125
1126 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1127 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1128 (tramp-get-remote-python): New defuns.
1129 (tramp-get-remote-uid-with-perl)
1130 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1131 contributed by yary <not.com@gmail.com> (tiny change).
1132 (tramp-get-remote-uid-with-python)
1133 (tramp-get-remote-gid-with-python): New defuns. Python code
1134 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1135 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1136
1137 2013-09-19 Glenn Morris <rgm@gnu.org>
1138
1139 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1140
1141 * eshell/em-unix.el (eshell-remove-entries):
1142 Rename argument to avoid name-clash with global `top-level'.
1143
1144 * eshell/esh-proc.el (eshell-kill-process-function):
1145 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1146 (eshell-reset-after-proc): Remove unused arg `proc'.
1147
1148 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1149 (directory-files-and-attributes): Mark unused arg.
1150
1151 * eshell/em-unix.el (eshell-remove-entries):
1152 Remove unused arg `path'. Update callers.
1153
1154 * eshell/em-hist.el (eshell-hist-parse-arguments):
1155 Remove unused arg `silent'. Update callers.
1156
1157 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1158 Fix (f)boundp mix-up.
1159
1160 * eshell/em-smart.el (eshell-smart-scroll-window)
1161 (eshell-disable-after-change):
1162 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1163
1164 2013-09-18 Alan Mackenzie <acm@muc.de>
1165
1166 Fix fontification of type when followed by "const".
1167 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1168 "known" types from fontification.
1169
1170 2013-09-18 Glenn Morris <rgm@gnu.org>
1171
1172 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1173 (chart-face-list): Drop Emacsen without display-color-p.
1174
1175 * net/eww.el (libxml-parse-html-region): Declare.
1176 (eww-display-html): Explicit error if no libxml2 support.
1177
1178 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1179
1180 * image.el (image-type-from-buffer, image-multi-frame-p):
1181 Remove --without-x warning/error.
1182
1183 * mouse.el (mouse-yank-primary):
1184 * term.el (term-mouse-paste):
1185 Reorder to silence --without-x compilation.
1186
1187 * mpc.el (doc-view-mode): Silence --without-x compilation.
1188
1189 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1190 Silence --without-x compilation.
1191
1192 * progmodes/gud.el (gud-find-file, gud-mode):
1193 Silence --without-x compilation.
1194 (tooltip-mode): Declare.
1195
1196 * wdired.el (dired-backup-overwrite): Remove declaration.
1197 (wdired-mode-map): Add doc string.
1198
1199 * custom.el (x-get-resource): Declare.
1200
1201 * eshell/em-glob.el (ange-cache):
1202 * eshell/em-unix.el (ange-cache): Declare.
1203
1204 * faces.el (x-display-list, x-open-connection, x-get-resource):
1205 Declare.
1206
1207 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1208 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1209 Declare.
1210
1211 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1212
1213 * net/gnutls.el (gnutls-log-level): Declare.
1214
1215 * net/shr.el (image-size, image-animate): Declare.
1216
1217 * simple.el (font-info): Declare.
1218
1219 * subr.el (x-popup-dialog): Declare.
1220
1221 * term/common-win.el (x-select-enable-primary)
1222 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1223 Declare.
1224
1225 * term/ns-win.el (x-handle-args): Declare.
1226
1227 * term/x-win.el (x-select-enable-clipboard): Declare.
1228
1229 * term/w32-win.el (create-default-fontset): Declare.
1230
1231 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1232 Declare.
1233
1234 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1235 (fit-frame-to-buffer): Explicit error if --without-x.
1236 (mouse-autoselect-window-select): Silence compiler.
1237
1238 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1239
1240 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1241 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1242 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1243 * eshell/esh-util.el (eshell-sublist):
1244 Remove unused local variables.
1245
1246 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1247
1248 * textmodes/two-column.el: Make 2C-split work for --without-x.
1249 (scroll-bar-columns): Autoload.
1250 (top-level): Require fringe when compiling.
1251
1252 2013-09-18 Leo Liu <sdl.web@gmail.com>
1253
1254 * subr.el (add-hook): Robustify to handle closure as well.
1255
1256 2013-09-17 Glenn Morris <rgm@gnu.org>
1257
1258 * simple.el (messages-buffer-mode-map): Unbind "g".
1259
1260 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * help-mode.el (help-mode-finish): Use derived-mode-p.
1263 Remove obsolete highlighting.
1264
1265 * play/life.el (life-mode): Use define-derived-mode. Derive from
1266 special-mode.
1267 (life): Let-bind inhibit-read-only.
1268 (life-setup): Avoid `setq'. Use `life-mode'.
1269
1270 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1271 which should not be needed any more.
1272 (package-menu-refresh, package-menu-describe-package): Use user-error.
1273
1274 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1275 (eshell-post-rewrite-command-hook): Make obsolete.
1276 (eshell-parse-command): Simplify.
1277 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1278 (eshell--cmd): Declare.
1279 (eshell-parse-pipeline): Remove unused var `final-p'.
1280 Pass a dynvar to eshell-post-rewrite-command-hook.
1281 Implement the new eshell-post-rewrite-command-function.
1282 (eshell-invoke-directly): Remove unused arg `input'.
1283 * eshell/esh-io.el (eshell-io-initialize):
1284 Use eshell-post-rewrite-command-function (bug#15399).
1285 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1286 adjust to new calling convention.
1287 (eshell-create-handles): Rename args to avoid clashing with dynvar
1288 `standard-output'.
1289
1290 2013-09-17 Glenn Morris <rgm@gnu.org>
1291
1292 * simple.el (messages-buffer-mode): New major mode.
1293 (messages-buffer): New function.
1294 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1295 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1296 (ert-run-test): Use `messages-buffer' function.
1297 (ert--force-message-log-buffer-truncation): Ignore read-only.
1298 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1299 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1300
1301 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1304
1305 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1306
1307 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * icomplete.el (icomplete-in-buffer): New var.
1310 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1311 vars and replace them with functions.
1312 (icomplete-minibuffer-setup): Adjust accordingly.
1313 (icomplete--completion-table, icomplete--completion-predicate)
1314 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1315 New functions.
1316 (icomplete-forward-completions, icomplete-backward-completions)
1317 (icomplete-simple-completing-p, icomplete-exhibit)
1318 (icomplete-completions): Use them.
1319 (icomplete--in-region-buffer): New var.
1320 (icomplete--in-region-setup): New function.
1321 (icomplete-mode): Use it.
1322
1323 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1324 (bug#15379).
1325 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1326 return args and options.
1327 (eshell-eval-using-options): Use the new return value of
1328 eshell--do-opts to set the options's vars in their scope.
1329 (eshell--set-option): Rename from eshell-set-option.
1330 Add arg `opt-vals'.
1331 (eshell--process-option): Rename from eshell-process-option.
1332 Add arg `opt-vals'.
1333 (eshell--process-args): Use an `opt-vals' alist to store the options's
1334 values during their processing and return them additionally to the
1335 remaining args.
1336
1337 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1338
1339 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1340 continuation character an operator, as far as indentation is
1341 concerned (Bug#15369).
1342
1343 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1344
1345 * window.el (window--state-put-2): Don't process buffer state
1346 when buffer doesn't exist any more (Bug#15382).
1347
1348 2013-09-15 Glenn Morris <rgm@gnu.org>
1349
1350 * eshell/em-unix.el (eshell/rm):
1351 Make -f ignore missing files. (Bug#15373)
1352
1353 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1354 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1355 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1356
1357 2013-09-14 Glenn Morris <rgm@gnu.org>
1358
1359 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1360
1361 2013-09-13 Glenn Morris <rgm@gnu.org>
1362
1363 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1364 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1365
1366 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1367
1368 * frame.el (x-focus-frame): Mark as declared in frame.c.
1369
1370 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * ls-lisp.el: Use advice-add.
1373 (original-insert-directory): Remove.
1374 (ls-lisp--insert-directory): Rename from insert-directory; add
1375 `orig-fun' argument.
1376 (insert-directory): Advise.
1377
1378 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1379
1380 * term.el (term-emulate-terminal): Decode the command string
1381 before passing it to term-command-hook. (Bug#15337)
1382
1383 2013-09-13 Glenn Morris <rgm@gnu.org>
1384
1385 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1386
1387 * eshell/esh-ext.el (eshell-search-path): Declare.
1388
1389 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1390 Otherwise an error occurs if eshell-dirs module not loaded.
1391
1392 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1393
1394 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1397 `tramp-check-proper-host'. Check for a valid method name.
1398
1399 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1400 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1401 * net/tramp-sh.el (tramp-maybe-open-connection):
1402 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1403
1404 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1405 also for hash values.
1406
1407 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * term/ns-win.el (parameters): Don't declare as dynamic.
1410 (before-make-frame-hook): Don't add ineffective function.
1411
1412 * eshell/*.el: Use lexical-binding (bug#15231).
1413
1414 2013-09-12 Kenichi Handa <handa@gnu.org>
1415
1416 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1417
1418 2013-09-12 Glenn Morris <rgm@gnu.org>
1419
1420 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1421 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1422
1423 * subr.el (do-after-load-evaluation): Also give compiler warnings
1424 when obsolete files are used (except by obsolete files).
1425
1426 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1427 in the status output, assume `filename' is the first. (Bug#15322)
1428
1429 * vc/vc.el (vc-deduce-fileset): Doc fix.
1430
1431 * calc/calc-help.el (Info-goto-node):
1432 * progmodes/cperl-mode.el (Info-find-node):
1433 * vc/ediff.el (Info-goto-node): Update declarations.
1434
1435 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1436
1437 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1438 (vc-bzr-pull): Require vc-dispatcher.
1439 * vc/vc-git.el (vc-compilation-mode): Declare.
1440 (vc-git-pull): Require vc-dispatcher.
1441
1442 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1443
1444 * progmodes/octave.el (help-button-action): Declare.
1445
1446 * shell.el (shell-directory-tracker): Output error as a message
1447 rather than just returning it as a string.
1448 (shell-process-pushd): Remove useless use of message.
1449
1450 * dframe.el (dframe-timer-fn):
1451 * files.el (dir-locals-read-from-file):
1452 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1453 (mpc-format):
1454 * reveal.el (reveal-post-command):
1455 * saveplace.el (load-save-place-alist-from-file):
1456 * shell.el (shell-resync-dirs):
1457 * w32-common-fns.el (x-get-selection-value):
1458 * emacs-lisp/copyright.el (copyright-find-copyright):
1459 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1460 * emulation/tpu-edt.el (tpu-copy-keyfile):
1461 * play/bubbles.el (bubbles--mark-neighbourhood):
1462 * progmodes/executable.el
1463 (executable-make-buffer-file-executable-if-script-p):
1464 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1465
1466 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 Cleanup Eshell to rely less on dynamic scoping.
1469 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1470 last-value, and ext-command here. Bind `args' closer to `body'.
1471 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1472 (eshell--args): Declare new dynamic var.
1473 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1474 last-value, and ext-command. Pass `args' to `body'.
1475 (eshell-process-args): Bind eshell--args.
1476 (eshell-set-option): Use eshell--args.
1477 * eshell/eshell.el (eshell): Use derived-mode-p.
1478 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1479 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1480 (eshell-glob-function): Declare.
1481 * eshell/esh-util.el: Require cl-lib.
1482 (eshell-read-hosts-file): Avoid add-to-list.
1483 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1484 `err'.
1485 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1486 Declare.
1487 (eshell/diff): Remove unused var `err'.
1488 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1489 `killflag'.
1490 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1491 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1492 first use.
1493 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1494 Move declaration before first use.
1495 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1496 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1497 rely on cl-return.
1498
1499 2013-09-12 Glenn Morris <rgm@gnu.org>
1500
1501 * term/ns-win.el (global-map): Remove binding for ispell-next,
1502 deleted 1999-05-29. (Bug#15357)
1503
1504 2013-09-11 Glenn Morris <rgm@gnu.org>
1505
1506 * echistory.el (electric-command-history): Remove call to deleted func.
1507
1508 * play/landmark.el (landmark-mode): Fix typos.
1509
1510 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1511 Check cvs-sort-ignore-file is bound.
1512
1513 * savehist.el: No need for cl when compiling on Emacs.
1514
1515 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1518 (bug#15338).
1519 (eshell-self-insert-command, eshell-send-invisible):
1520 Remove unused argument.
1521 (eshell-handle-control-codes): Remove unused var `orig'.
1522 Avoid delete-backward-char.
1523
1524 * files.el (set-auto-mode): Simplify a bit further.
1525
1526 2013-09-11 Glenn Morris <rgm@gnu.org>
1527
1528 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1529 (set-auto-mode): Don't regexp-quote elements.
1530 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1531 * progmodes/cc-mode.el (interpreter-mode-alist):
1532 * progmodes/ruby-mode.el (interpreter-mode-alist):
1533 Revert previous change.
1534
1535 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * play/snake.el (snake-mode):
1538 * play/mpuz.el (mpuz-mode):
1539 * play/landmark.el (lm-mode):
1540 * play/blackbox.el (blackbox-mode):
1541 * play/5x5.el (5x5-mode):
1542 * obsolete/options.el (Edit-options-mode):
1543 * net/quickurl.el (quickurl-list-mode):
1544 * net/newst-treeview.el (newsticker-treeview-mode):
1545 * mail/rmailsum.el (rmail-summary-mode):
1546 * mail/mspools.el (mspools-mode):
1547 * locate.el (locate-mode):
1548 * ibuffer.el (ibuffer-mode):
1549 * emulation/ws-mode.el (wordstar-mode):
1550 * emacs-lisp/debug.el (debugger-mode):
1551 * array.el (array-mode):
1552 * net/eudc.el (eudc-mode): Use define-derived-mode.
1553 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1554 Move initialization into declaration.
1555 (mairix-searches-mode): Use define-derived-mode.
1556 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1557 (eudc-edit-hotlist): Use dolist.
1558 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1559 (Man-mode): Use define-derived-mode.
1560 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1561 (Info-edit-mode): Use define-derived-mode.
1562 (Info-cease-edit): Use Info-mode.
1563 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1564 into declaration.
1565 (eshell-mode): Use define-derived-mode.
1566 * chistory.el (command-history-mode-map): Rename from
1567 command-history-map.
1568 (command-history-mode): Use define-derived-mode.
1569 (Command-history-setup): Remove function.
1570 * calc/calc.el (calc-trail-mode-map): New var.
1571 (calc-trail-mode): Use define-derived-mode.
1572 (calc-trail-buffer): Set calc-main-buffer manually.
1573 * bookmark.el (bookmark-insert-annotation): New function.
1574 (bookmark-edit-annotation): Use it.
1575 (bookmark-edit-annotation-mode): Make it a proper major mode.
1576 (bookmark-send-edited-annotation): Use derived-mode-p.
1577 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1578 closer to its ideal place. Use \' to match EOS.
1579
1580 * profiler.el (profiler-calltree-find): Use function-equal.
1581
1582 2013-09-10 Glenn Morris <rgm@gnu.org>
1583
1584 * files.el (interpreter-mode-alist): Convert to regexps.
1585 (set-auto-mode): Adapt for this. (Bug#15306)
1586 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1587 Comment out unused variable.
1588 * progmodes/cc-mode.el (interpreter-mode-alist):
1589 * progmodes/python.el (interpreter-mode-alist):
1590 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1591 * progmodes/sh-script.el (sh-set-shell):
1592 No longer use interpreter-mode-alist to get list of shells.
1593
1594 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1595
1596 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * simple.el: Use set-temporary-overlay-map for universal-argument.
1599 (universal-argument-map): Don't use default-bindings (bug#15317).
1600 Bind switch-frame explicitly. Replace universal-argument-minus with
1601 a conditional binding.
1602 (universal-argument-num-events, saved-overriding-map): Remove.
1603 (restore-overriding-map): Remove.
1604 (universal-argument--mode): Rename from save&set-overriding-map,
1605 and rewrite.
1606 (universal-argument, universal-argument-more, negative-argument)
1607 (digit-argument): Adjust accordingly.
1608 (universal-argument-minus): Remove.
1609 (universal-argument-other-key): Remove.
1610
1611 * subr.el (with-demoted-errors): Add `format' argument.
1612
1613 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1614
1615 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1616 `tramp-cleanup-connection'.
1617
1618 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1619 parameters KEEP-DEBUG and KEEP-PASSWORD.
1620
1621 * net/tramp.el (tramp-file-name-handler):
1622 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1623 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1624 (tramp-maybe-open-connection):
1625 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1626 Use `tramp-cleanup-connection'.
1627
1628 * net/tramp-sh.el (tramp-maybe-open-connection):
1629 Catch 'uname-changed inside the progress reporter.
1630
1631 2013-09-10 Glenn Morris <rgm@gnu.org>
1632
1633 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1634
1635 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1636 returns "alternate access method" in mode (eg "-rw-r--r--.").
1637
1638 2013-09-08 Glenn Morris <rgm@gnu.org>
1639
1640 * saveplace.el (load-save-place-alist-from-file):
1641 Demote errors. (Bug#15305)
1642
1643 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1644
1645 Improve compatibility with older Emacsen, and XEmacs.
1646
1647 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1648 only if it is bound. It isn't for XEmacs.
1649 (with-tramp-progress-reporter): Do not let-bind `result'.
1650 This yields to scoping errors in XEmacs.
1651 (tramp-handle-make-auto-save-file-name): New function, moved from
1652 tramp-sh.el.
1653
1654 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1655 for `make-auto-save-file-name'.
1656 (tramp-adb--gnu-switches-to-ash):
1657 Use `tramp-compat-replace-regexp-in-string'.
1658
1659 * net/tramp-cache.el (tramp-cache-print): Call
1660 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1661
1662 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1663 bound. It isn't for XEmacs.
1664
1665 * net/tramp-compat.el (tramp-compat-copy-file):
1666 Catch `wrong-number-of-arguments' error.
1667 (tramp-compat-replace-regexp-in-string): New defun.
1668
1669 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1670 for `make-auto-save-file-name'.
1671 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1672 `copy-file'.
1673 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1674 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1675 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1676
1677 * net/tramp-gw.el (tramp-gw-open-network-stream):
1678 Use `tramp-compat-replace-regexp-in-string'.
1679
1680 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1681 Call `tramp-handle-make-auto-save-file-name'.
1682 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1683 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1684 (tramp-sh-file-inotifywait-process-filter):
1685 Use `tramp-compat-replace-regexp-in-string'.
1686 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1687
1688 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1689 for `make-auto-save-file-name'.
1690 (tramp-smb-handle-copy-directory):
1691 Call `tramp-compat-replace-regexp-in-string'.
1692 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1693 (tramp-smb-handle-copy-file): Improve error message.
1694 (tramp-smb-handle-rename-file): Rename directly only in case
1695 `newname' does not exist yet. This is a restriction of smbclient.
1696 (tramp-smb-maybe-open-connection): Rerun the function only when
1697 `auth-sources' is non-nil.
1698
1699 2013-09-08 Kenichi Handa <handa@gnu.org>
1700
1701 * international/characters.el: Set category "^" (Combining) for
1702 more characters.
1703
1704 2013-09-07 Alan Mackenzie <acm@muc.de>
1705
1706 Correctly fontify Java class constructors.
1707 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1708 in Java Mode.
1709 (c-recognize-typeless-decls): Set the Java value to t.
1710 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1711 While handling a "(", add a check for, effectively, Java, and handle a
1712 "typeless" declaration there.
1713
1714 2013-09-07 Roland Winkler <winkler@gnu.org>
1715
1716 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1717 field subtitle for entry type book.
1718
1719 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * minibuffer.el: Make minibuffer-complete call completion-in-region
1722 rather than other way around.
1723 (completion--some, completion-pcm--find-all-completions):
1724 Don't delay signals when debugging.
1725 (minibuffer-completion-contents): Beware fields within the
1726 minibuffer contents.
1727 (completion-all-sorted-completions): Use defvar-local.
1728 (completion--do-completion, completion--cache-all-sorted-completions)
1729 (completion-all-sorted-completions, minibuffer-force-complete):
1730 Add args `beg' and `end'.
1731 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1732 (minibuffer-complete): Use completion-in-region.
1733 (completion-complete-and-exit): New fun, extracted from
1734 minibuffer-complete-and-exit.
1735 (minibuffer-complete-and-exit): Use it.
1736 (completion--complete-and-exit): Rename from
1737 minibuffer--complete-and-exit.
1738 (completion-in-region--single-word): New function, extracted from
1739 minibuffer-complete-word.
1740 (minibuffer-complete-word): Use it.
1741 (display-completion-list): Make `common-substring' argument obsolete.
1742 (completion--in-region): Call completion--in-region-1 instead of
1743 minibuffer-complete.
1744 (completion-help-at-point): Pass boundaries to
1745 minibuffer-completion-help as args rather than via an overlay.
1746 (completion-pcm--string->pattern): Use `any-delim'.
1747 (completion-pcm--optimize-pattern): New function.
1748 (completion-pcm--pattern->regex): Handle `any-delim'.
1749 * icomplete.el (icomplete-forward-completions)
1750 (icomplete-backward-completions, icomplete-completions):
1751 Adjust calls to completion-all-sorted-completions and
1752 completion--cache-all-sorted-completions.
1753 (icomplete-with-completion-tables): Default to t.
1754 * emacs-lisp/crm.el (crm--current-element): Rename from
1755 crm--select-current-element. Don't put an overlay but return the
1756 boundaries instead.
1757 (crm--completion-command): Take two new args to bind to the boundaries.
1758 (crm-completion-help): Adjust accordingly.
1759 (crm-complete): Use completion-in-region.
1760 (crm-complete-word): Use completion-in-region--single-word.
1761 (crm-complete-and-exit): Use completion-complete-and-exit.
1762
1763 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1766 than dynamically.
1767
1768 2013-09-06 Juri Linkov <juri@jurta.org>
1769
1770 * info.el (Info-display-images-node): When image file doesn't exist
1771 display text version of the image if it's provided in the Info file.
1772 Otherwise, display the location of missing image from SRC attribute.
1773 Add help-echo text property from ALT attribute. (Bug#15279)
1774
1775 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1778 (edit-abbrevs-mode): Use define-derived-mode.
1779
1780 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1781 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1782 that it's defined.
1783 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1784 Use define-derived-mode.
1785
1786 * epg.el (epg-start-encrypt): Minor CSE simplification.
1787
1788 2013-09-06 William Xu <william.xwl@gmail.com>
1789
1790 * arc-mode.el: Add support for 7za (bug#15264).
1791 (archive-7z-program): New var.
1792 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1793 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1794 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1795
1796 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1797
1798 Remove URL syntax.
1799
1800 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1801 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1802 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1803 (tramp-postfix-host-format, tramp-file-name-regexp)
1804 (tramp-completion-file-name-regexp)
1805 (tramp-completion-dissect-file-name)
1806 (tramp-handle-substitute-in-file-name): Remove 'url case.
1807 (tramp-file-name-regexp-url)
1808 (tramp-completion-file-name-regexp-url): Remove constants.
1809
1810 2013-09-06 Glenn Morris <rgm@gnu.org>
1811
1812 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1813
1814 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1815
1816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1817 keywords" below "here-doc beginnings" (Bug#15270).
1818
1819 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * subr.el (pop): Use `car-safe'.
1822 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1823 to detect unused `pop' return value.
1824
1825 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1826 var `block-regexp'.
1827 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1828 (python-fill-string): Remove unused var `marker'.
1829 (python-skeleton-add-menu-items): Remove unused var `items'.
1830
1831 * international/mule-cmds.el: Require CL.
1832 (find-coding-systems-for-charsets): Avoid add-to-list.
1833 (sanitize-coding-system-list): New function, extracted from
1834 select-safe-coding-system-interactively.
1835 (select-safe-coding-system-interactively): Use it.
1836 (read-input-method-name): Accept symbols for `default'.
1837
1838 * emacs-lisp/advice.el (defadvice): Add indent rule.
1839
1840 2013-09-05 Daniel Hackney <dan@haxney.org>
1841
1842 * dired-x.el:
1843 * net/ange-ftp.el:
1844 * net/browse-url.el:
1845 * net/dbus.el:
1846 * net/eudc.el:
1847 * net/eudcb-ldap.el:
1848 * net/eww.el:
1849 * net/imap.el:
1850 * printing.el:
1851 * vc/ediff-diff.el:
1852 * vc/ediff-init.el:
1853 * vc/ediff-merg.el:
1854 * vc/ediff-mult.el:
1855 * vc/ediff-util.el:
1856 * vc/ediff-wind.el:
1857 * vc/ediff.el:
1858 * vc/emerge.el:
1859 * vc/pcvs.el:
1860 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1861 byte compiler. Remove some unused let-bound variables.
1862
1863 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1866 a "ref-cell", since it gets better optimized (bug#14883).
1867
1868 2013-09-05 Glenn Morris <rgm@gnu.org>
1869
1870 * progmodes/cc-awk.el (c-forward-sws): Declare.
1871
1872 2013-09-04 Glenn Morris <rgm@gnu.org>
1873
1874 * generic-x.el [rul-generic-mode]: Require cc-mode.
1875 (c++-mode-syntax-table): Declare.
1876 (rul-generic-mode-syntax-table): Init in the defvar.
1877
1878 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1881 (vc-do-command, vc-set-async-update):
1882 * vc/vc-mtn.el (vc-mtn-dir-status):
1883 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1884 (vc-hg-pull, vc-hg-merge-branch):
1885 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1886 (vc-git-merge-branch):
1887 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1888 (vc-cvs-dir-status-files):
1889 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1890 (vc-bzr-dir-status-files):
1891 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1892 * vc/vc-annotate.el: Use lexical-binding.
1893 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1894 (vc-sentinel-movepoint): Declare.
1895 (vc-annotate): Don't use `goto-line'.
1896 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1897 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1898 (vc-sentinel-movepoint): Declare.
1899 * vc/vc-svn.el: Use lexical-binding.
1900 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1901 * vc/vc-sccs.el:
1902 * vc/vc-rcs.el: Use lexical-binding.
1903
1904 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1905 `deleted'. Don't drop errors silently.
1906
1907 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1908
1909 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1910
1911 * vc/vc.el (vc-ignore): Rewrite.
1912 (vc-default-ignore): New function.
1913 (vc-default-ignore-completion-table): Use find-ignore-file.
1914
1915 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1916 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1917 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1918 Remove. Most code moved to vc.el.
1919
1920 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1923 * net/tramp-smb.el (tramp-smb-get-file-entries):
1924 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1925 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1926
1927 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1928 Update call to it.
1929 (eww-change-select): Remove unused var `properties'.
1930 (eww-make-unique-file-name): Remove unused var `base'.
1931
1932 * finder.el (finder-compile-keywords): Don't mess with windows.
1933
1934 * calculator.el (calculator-funcall): Fix typo in last change.
1935
1936 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1937
1938 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1939 <pkg>-autoloads.el file stop us.
1940
1941 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1942 warnings, and factor out common code.
1943
1944 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1945
1946 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1947 two-character operators and whether the character preceding them
1948 changes their meaning (Bug#15208).
1949
1950 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1951
1952 Format code sent to Python shell for robustness.
1953 * progmodes/python.el (python-shell-buffer-substring):
1954 New function.
1955 (python-shell-send-region, python-shell-send-buffer): Use it.
1956
1957 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1960 * net/tramp.el (tramp-user-error): ... here.
1961 (tramp-find-method, tramp-check-proper-host)
1962 (tramp-dissect-file-name, tramp-debug-message)
1963 (tramp-handle-shell-command):
1964 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1965 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1966
1967 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1968
1969 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1970
1971 * avoid.el (mouse-avoidance-point-position)
1972 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1973 returns nil.
1974
1975 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1976
1977 * progmodes/python.el (python-shell-completion-get-completions):
1978 Drop use of deleted `comint-last-prompt-overlay'.
1979 (python-nav-if-name-main): New command.
1980
1981 2013-09-01 Glenn Morris <rgm@gnu.org>
1982
1983 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1984 Avoid leading space in $wins. Otherwise the sed command used by
1985 eg compile-main ends up containing "/*.el". (Bug#15170)
1986
1987 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1988
1989 2013-08-30 Glenn Morris <rgm@gnu.org>
1990
1991 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1992 Fix is-this-a-directory logic. (Bug#15220)
1993
1994 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * textmodes/css-mode.el: Use SMIE.
1997 (css-smie-grammar): New var.
1998 (css-smie--forward-token, css-smie--backward-token)
1999 (css-smie-rules): New functions.
2000 (css-mode): Use them.
2001 (css-navigation-syntax-table): Remove var.
2002 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2003 (css-indent-calculate, css-indent-line): Remove functions.
2004
2005 Misc changes to reduce use of `(lambda...); and other cleanups.
2006 * cus-edit.el: Use lexical-binding.
2007 (customize-push-and-save, customize-apropos)
2008 (custom-buffer-create-internal): Use closures.
2009 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2010 * progmodes/ada-xref.el: Use setq.
2011 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2012 * dframe.el: Use lexical-binding.
2013 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2014 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2015 * descr-text.el: Use lexical-binding.
2016 (describe-text-widget, describe-text-sexp, describe-property-list):
2017 Use closures.
2018 * comint.el (comint-history-isearch-push-state): Use a closure.
2019 * calculator.el: Use lexical-binding.
2020 (calculator-number-to-string): Make it work with lexical-binding.
2021 (calculator-funcall): Same and use cl-letf.
2022
2023 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2024 (lisp--company-doc-string, lisp--company-location): New functions.
2025 (lisp-completion-at-point): Use them to improve Company support.
2026
2027 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2028 params of lambda expressions.
2029 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2030 (ruby-smie--opening-pipe-p): New function.
2031 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2032 symbols and matched |...| for formal params.
2033 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2034 from being treated as hanging. Handle "rescue".
2035
2036 2013-08-29 Glenn Morris <rgm@gnu.org>
2037
2038 * progmodes/cc-engine.el (c-pull-open-brace):
2039 Move definition before use.
2040
2041 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2044 are immutable. Don't use `unsafe' any more.
2045 (cl--defsubst-expand): Don't substitute at the same time as keeping
2046 a residual unused let-binding. Don't use `unsafe' any more.
2047
2048 2013-08-29 Glenn Morris <rgm@gnu.org>
2049
2050 * calendar/cal-china.el (calendar-chinese-year-cache):
2051 Recenter on 2015.
2052
2053 * nxml/nxml-util.el (nxml-debug-clear-inside):
2054 Use cl-loop rather than loop.
2055
2056 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2057
2058 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2059
2060 2013-08-28 Glenn Morris <rgm@gnu.org>
2061
2062 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2063
2064 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2065
2066 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2067
2068 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * simple.el (repeat-complex-command--called-interactively-skip):
2071 New function.
2072 (repeat-complex-command): Use it (bug#14136).
2073
2074 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2075 (c-define-abbrev-table): Add `doc' argument.
2076 (c-mode-abbrev-table, c++-mode-abbrev-table)
2077 (objc-mode-abbrev-table, java-mode-abbrev-table)
2078 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2079 (awk-mode-abbrev-table): Use it.
2080 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2081 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2082 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2083 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2084 Move initialization into the declaration; and remove any
2085 autoload cookie.
2086
2087 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2088 and dynamic let binding.
2089
2090 * vc/smerge-mode.el: Remove redundant :group args.
2091
2092 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2093 to load-path.
2094
2095 2013-08-28 Juri Linkov <juri@jurta.org>
2096
2097 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2098 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2099 (isearch-other-meta-char): Handle an undefined shifted printing
2100 character by downshifting it. (Bug#15200)
2101
2102 2013-08-28 Juri Linkov <juri@jurta.org>
2103
2104 * isearch.el (isearch-search): Change regexp error message for
2105 non-regexp searches. (Bug#15166)
2106
2107 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2108
2109 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2110 for portability to hosts where /bin/sh has problems.
2111
2112 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2115
2116 2013-08-27 Juri Linkov <juri@jurta.org>
2117
2118 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2119 in the keyboard macro. (Bug#15126)
2120
2121 2013-08-27 Juri Linkov <juri@jurta.org>
2122
2123 * isearch.el (isearch-quote-char): Comment out converting unibyte
2124 to multibyte, thus syncing with its `quoted-insert' counterpart.
2125 (Bug#15166)
2126
2127 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2128
2129 * window.el (display-buffer-use-some-window): Add missing
2130 argument in call of get-largest-window (Bug#15185).
2131 Reported by Stephen Leake.
2132
2133 2013-08-27 Glenn Morris <rgm@gnu.org>
2134
2135 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2136
2137 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2140 from a matcher-function unless there's no more matches (bug#15161).
2141
2142 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * minibuffer.el: Revert change from 2013-08-20.
2145
2146 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2147 with text property `tramp-default', if appropriate.
2148 (tramp-check-proper-host): New defun.
2149 (tramp-dissect-file-name): Do not check hostname. Revert change
2150 of 2013-03-18.
2151 (tramp-backtrace): Make VEC-OR-PROC optional.
2152
2153 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2154 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2155 * net/tramp-sh.el (tramp-maybe-open-connection):
2156 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2157 Apply `tramp-check-proper-host'.
2158
2159 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2160
2161 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2162 lambda expression in order to have `describe-variable' display it.
2163
2164 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2165
2166 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2167 BUF can be optional. (Bug#15186)
2168
2169 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2170
2171 * progmodes/flymake.el (flymake-get-real-file-name-function):
2172 Fix broken customization. (Bug#15184)
2173
2174 2013-08-25 Alan Mackenzie <acm@muc.de>
2175
2176 Improve indentation of bracelists defined by macros (without "=").
2177
2178 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2179 expansion begins with "{", regard it as bracelist when it doesn't
2180 contain a ";".
2181
2182 Parse C++ inher-intro when there's a template split over 2 lines.
2183
2184 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2185 rigorously the search for "class" etc. followed by ":".
2186
2187 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2188 random languages a regexp which never matches rather than nil.
2189
2190 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2191
2192 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2193 (c-awk-regexp-one-line-possibly-open-char-list-re)
2194 (c-awk-one-line-possibly-open-regexp-re)
2195 (c-awk-one-line-non-syn-ws*-re): Remove.
2196 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2197 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2198 (c-awk-space*-unclosed-regexp-/-re): New constants.
2199 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2200 aren't regexp delimiters.
2201
2202 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2203 handling for a rare situation in AWK Mode involving unterminated
2204 strings/regexps.
2205
2206 2013-08-23 Glenn Morris <rgm@gnu.org>
2207
2208 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2209
2210 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2211
2212 * files.el (create-file-buffer): If the result would begin with
2213 spaces, prepend a "|" instead of removing them. (Bug#15162)
2214
2215 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2218 text-properties (bug#15155).
2219
2220 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2221 exist any more.
2222 (calc-keypad-redraw): Remove unused var `pad'.
2223 (calc-keypad-press): Remove unused var `menu'.
2224
2225 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2226
2227 * window.el (display-buffer-pop-up-frame):
2228 Call pop-up-frame-function with BUFFER current so `make-frame' will
2229 use it as the new frame's buffer (Bug#15133).
2230
2231 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * calendar/timeclock.el: Minor cleanups.
2234 (timeclock-ask-before-exiting, timeclock-use-display-time):
2235 Use `symbol'.
2236 (timeclock-modeline-display): Define as alias before the
2237 actual definition.
2238 (timeclock-mode-line-display): Use define-minor-mode.
2239 (timeclock-day-list-template): Make it a function, add an argument.
2240 (timeclock-day-list-required, timeclock-day-list-length)
2241 (timeclock-day-list-debt, timeclock-day-list-span)
2242 (timeclock-day-list-break): Adjust calls accordingly.
2243
2244 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2247 Use read--expression so that completion works again.
2248
2249 2013-08-21 Sam Steingold <sds@gnu.org>
2250
2251 Add rudimentary inferior shell interaction
2252 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2253 (sh-set-shell): Reset it.
2254 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2255 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2256
2257 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * align.el: Use lexical-binding.
2260 (align-region): Simplify accordingly.
2261
2262 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2263
2264 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2265
2266 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2267 `non-essential' up.
2268
2269 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2270
2271 * net/tramp.el:
2272 * net/tramp-adb.el:
2273 * net/tramp-cmds.el:
2274 * net/tramp-ftp.el:
2275 * net/tramp-gvfs.el:
2276 * net/tramp-gw.el:
2277 * net/tramp-sh.el: Don't wrap external variable declarations by
2278 `eval-when-compile'.
2279
2280 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2281
2282 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2283 now that Emacs supports ImageMagick animations.
2284
2285 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2288 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2289
2290 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2291
2292 * window.el (mouse-autoselect-window-select): Do autoselect when
2293 mouse pointer is on margin.
2294
2295 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2296
2297 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2298
2299 2013-08-16 Glenn Morris <rgm@gnu.org>
2300
2301 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2302 Handle "Remote Directory" response of some clients. (Bug#15058)
2303
2304 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2305 Tweak warning. (Bug#14926)
2306
2307 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2308 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2309
2310 * image-mode.el (image-mode-map): Add menu items to reverse,
2311 increase, decrease, reset animation speed.
2312 (image--set-speed, image-increase-speed, image-decrease-speed)
2313 (image-reverse-speed, image-reset-speed): New functions.
2314 (image-mode-map): Add bindings for speed commands.
2315
2316 * image.el (image-animate-get-speed, image-animate-set-speed):
2317 New functions.
2318 (image-animate-timeout): Respect image :speed property.
2319
2320 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2323 previous line (bug#15101).
2324 (debugger-eval-expression, debugger-record-expression):
2325 Use read--expression (bug#15102).
2326
2327 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2328
2329 Remove byte compiler warnings, visible when compiling with
2330 `byte-compile-force-lexical-warnings' set to t.
2331
2332 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2333 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2334 (tramp-handle-unhandled-file-name-directory)
2335 (tramp-handle-file-notify-add-watch, tramp-action-login)
2336 (tramp-action-succeed, tramp-action-permission-denied)
2337 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2338 arguments with "_".
2339
2340 * net/tramp-adb.el (tramp-adb-parse-device-names)
2341 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2342 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2343 (tramp-adb-handle-file-truename): Remove unused arguments.
2344
2345 * net/tramp-cache.el (tramp-flush-directory-property)
2346 (tramp-flush-connection-property, tramp-list-connections)
2347 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2348
2349 * net/tramp-compat.el (tramp-compat-make-temp-file):
2350 Rename FILENAME to F.
2351
2352 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2353 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2354 (tramp-zeroconf-parse-workstation-device-names)
2355 (tramp-zeroconf-parse-webdav-device-names)
2356 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2357
2358 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2359 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2360
2361 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2362 arguments.
2363 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2364 (tramp-sh-handle-insert-file-contents-literally)
2365 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2366 with "_".
2367 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2368 Remove unused variables.
2369
2370 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2371 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2372 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2373
2374 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2375 Make them a defconst.
2376 (tramp-uuencode-region): Remove unused variable.
2377
2378 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2379
2380 * frameset.el (frameset--prop-setter): New function.
2381 (frameset-prop): Add gv-setter declaration.
2382 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2383 parameter was already set in FILTERED. Doc fix.
2384 (frameset--record-minibuffer-relationships): Allow saving a
2385 minibufferless frame without its corresponding minibuffer frame.
2386 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2387 frame, if the frame id matches.
2388 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2389 frames before orphaned ones.
2390 (frameset-restore): Warn about orphaned windows, instead of error out.
2391
2392 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2393
2394 * window.el (window-make-atom): Don't overwrite parameter
2395 already present.
2396 (display-buffer-in-atom-window): Handle special case where we
2397 split an already atomic window.
2398 (window--major-non-side-window, display-buffer-in-side-window)
2399 (window--side-check): Ignore minibuffer window when walking
2400 window tree.
2401 (window-deletable-p): Return 'frame only if no other frame uses
2402 our minibuffer window.
2403 (record-window-buffer): Run buffer-list-update-hook.
2404 (split-window): Make sure window--check-frame won't destroy an
2405 existing atomic window in case the new window gets nested
2406 inside.
2407 (display-buffer-at-bottom): Ignore minibuffer window when
2408 walking window tree. Don't split a side window.
2409 (pop-to-buffer): Don't set-buffer here, the select-window call
2410 should do that.
2411 (mouse-autoselect-window-select): Autoselect only if we are in the
2412 text portion of the window.
2413
2414 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2415
2416 * net/shr.el (shr-parse-image-data): New function to grab both the
2417 data itself and the Content-Type.
2418 (shr-put-image): Use it.
2419
2420 * net/eww.el (eww-display-image): Ditto.
2421
2422 * image.el (image-content-type-suffixes): New variable.
2423
2424 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2425
2426 * progmodes/python.el (python-imenu--build-tree)
2427 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2428
2429 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2430
2431 * simple.el (backward-word): Mention the optional argument.
2432
2433 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * frameset.el (frameset--make): Rename constructor from make-frameset.
2436 (frameset-p, frameset-valid-p): Don't autoload.
2437 (frameset-valid-p): Use normal accessors.
2438
2439 2013-08-13 Glenn Morris <rgm@gnu.org>
2440
2441 * progmodes/compile.el (compile-command): Tweak example in doc.
2442 * obsolete/scribe.el (scribe-mode):
2443 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2444
2445 * mail/feedmail.el (feedmail-confirm-outgoing)
2446 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2447
2448 * cus-start.el (truncate-partial-width-windows): Fix type.
2449
2450 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2451
2452 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2453
2454 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/timer.el (timer--time-setter): New function.
2457 (timer--time): Use it as gv-setter.
2458
2459 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2460 setter is not a symbol.
2461
2462 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2463
2464 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2465 if sending fails. This makes debugging easier.
2466
2467 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2468
2469 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2470 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2471 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2472
2473 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2474
2475 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2476
2477 2013-08-12 Glenn Morris <rgm@gnu.org>
2478
2479 * format.el (format-annotate-function):
2480 Handle read-only text properties in the source. (Bug#14887)
2481
2482 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2483
2484 * net/eww.el (eww-display-html): Ignore coding system errors.
2485 One web site uses "utf-8lias" as the coding system.
2486
2487 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2488
2489 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2490
2491 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2492
2493 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2494 (tutorial--detailed-help): Remove unused local variables.
2495 (tutorial--save-tutorial-to): Use ignore-errors.
2496 (help-with-tutorial): Use looking-at-p.
2497
2498 * view.el (view-buffer-other-window, view-buffer-other-frame):
2499 Mark unused arguments.
2500
2501 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2502 (woman-select-symbol-fonts, woman, woman-find-file)
2503 (woman-insert-file-contents, woman-non-underline-faces):
2504 Use string-match-p.
2505 (woman1-unquote): Move declaration.
2506
2507 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2508 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2509 argument. Remove unused local variable.
2510 (xml-parse-elem-type): Use string-match-p.
2511 (xml-substitute-numeric-entities): Use ignore-errors.
2512
2513 * calculator.el (calculator): Mark unused argument.
2514 (calculator-paste, calculator-quit, calculator-integer-p):
2515 Use ignore-errors.
2516 (calculator-string-to-number, calculator-decimal, calculator-exp)
2517 (calculator-op-or-exp): Use string-match-p.
2518
2519 * dired.el (dired-buffer-more-recently-used-p): Declare.
2520 (dired-insert-set-properties, dired-insert-old-subdirs):
2521 Use ignore-errors.
2522
2523 * dired-aux.el (dired-compress): Use ignore-errors.
2524 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2525 (dired-do-async-shell-command, dired-do-shell-command)
2526 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2527 (dired-insert-subdir-validate): Use string-match-p.
2528 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2529 (dired-add-entry): Use string-match-p, looking-at-p.
2530 (dired-insert-subdir-newpos): Remove unused local variable.
2531
2532 * filenotify.el (file-notify-callback): Remove unused local variable.
2533
2534 * filesets.el (filesets-error): Mark unused argument.
2535 (filesets-which-command-p, filesets-filter-dir-names)
2536 (filesets-directory-files, filesets-get-external-viewer)
2537 (filesets-ingroup-get-data): Use string-match-p.
2538
2539 * find-file.el (ff-other-file-name, ff-other-file-name)
2540 (ff-find-the-other-file, ff-cc-hh-converter):
2541 Remove unused local variables.
2542 (ff-get-file-name): Use string-match-p.
2543 (ff-all-dirs-under): Use ignore-errors.
2544
2545 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2546 (follow-select-if-visible): Remove unused local variable.
2547
2548 * forms.el (read-file-filter): Move declaration.
2549 (forms--make-format, forms--make-parser, forms-insert-record):
2550 Quote function with #'.
2551 (forms--update): Use string-match-p. Quote function with #'.
2552
2553 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2554 (help-make-xrefs): Use looking-at-p.
2555 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2556
2557 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2558 (ibuffer-confirm-operation-on): Use string-match-p.
2559
2560 * msb.el (msb-item-handler, msb-dired-item-handler):
2561 Mark unused arguments.
2562
2563 * ses.el (ses-decode-cell-symbol)
2564 (ses-kill-override): Remove unused local variable.
2565 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2566 (ses-load): Use ignore-errors, looking-at-p.
2567 (ses-jump-safe): Use ignore-errors.
2568 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2569
2570 * tabify.el (untabify, tabify): Mark unused arguments.
2571
2572 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2573 Mark unused argument.
2574 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2575 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2576
2577 * emacs-lisp/timer.el (timer--time): Define setter with
2578 gv-define-setter to avoid deprecation warning.
2579
2580 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2581 (*record-cmpl-statistics-p*): Remove (was commented out).
2582 (cmpl-statistics-block): Remove (body was commented out).
2583 All callers changed.
2584 (add-completions-from-buffer, load-completions-from-file):
2585 Remove unused variables.
2586
2587 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * filecache.el (file-cache-delete-file-list):
2590 Print message only when told so.
2591 (file-cache-files-matching): Use #' in mapconcat argument.
2592
2593 * ffap.el (ffap-url-at-point): Fix reference to variable
2594 thing-at-point-default-mail-uri-scheme.
2595
2596 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * subr.el (define-error): New function.
2599 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2600 error-file-not-found and define with define-error.
2601 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2602 and define with define-error.
2603 * userlock.el (file-locked, file-supersession):
2604 * simple.el (mark-inactive):
2605 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2606 * progmodes/ada-mode.el (ada-mode-errors):
2607 * play/life.el (life-extinct):
2608 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2609 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2610 * nxml/rng-util.el (rng-error):
2611 * nxml/rng-uri.el (rng-uri-error):
2612 * nxml/rng-match.el (rng-compile-error):
2613 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2614 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2615 * nxml/nxml-rap.el (nxml-scan-error):
2616 * nxml/nxml-outln.el (nxml-outline-error):
2617 * net/soap-client.el (soap-error):
2618 * net/gnutls.el (gnutls-error):
2619 * net/ange-ftp.el (ftp-error):
2620 * mpc.el (mpc-proc-error):
2621 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2622 (json-number-format, json-string-escape, json-string-format)
2623 (json-key-format, json-object-format):
2624 * jka-compr.el (compression-error):
2625 * international/quail.el (quail-error):
2626 * international/kkc.el (kkc-error):
2627 * emacs-lisp/ert.el (ert-test-failed):
2628 * calc/calc.el (calc-error, inexact-result, math-overflow)
2629 (math-underflow):
2630 * bookmark.el (bookmark-error-no-filename):
2631 * epg.el (epg-error): Define with define-error.
2632
2633 * time.el (display-time-event-handler)
2634 (display-time-next-load-average): Don't call sit-for since it seems
2635 unnecessary (bug#15045).
2636
2637 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2638 Use #' instead of ' to quote functions.
2639 (checkdoc-output-mode): Use setq-local.
2640 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2641 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2642 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2643 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2644 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2645 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2646 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2647 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2648
2649 * ido.el (ido-completion-help): Fix up compiler warning.
2650
2651 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2652
2653 * frameset.el (frameset-p): Add autoload cookie.
2654 (frameset--jump-to-register): New function, based on code moved from
2655 register.el.
2656 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2657
2658 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2659 (frameset-restore, frameset-save, frameset-session-filter-alist):
2660 Remove declarations.
2661 (register-alist): Doc fix.
2662 (frameset-to-register): Move to frameset.el.
2663 (jump-to-register, describe-register-1): Remove frameset-specific code.
2664
2665 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2666
2667 * allout-widgets.el (allout-widgets-pre-command-business)
2668 (allout-widgets-post-command-business)
2669 (allout-widgets-after-change-handler)
2670 (allout-decorate-item-and-context, allout-set-boundary-marker)
2671 (allout-body-modification-handler)
2672 (allout-graphics-modification-handler): Mark ignored arguments.
2673 (allout-widgets-post-command-business)
2674 (allout-widgets-exposure-change-processor)
2675 (allout-widgets-exposure-undo-processor)
2676 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2677 (allout-parse-item-at-point, allout-decorate-item-guides)
2678 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2679 * allout.el (epa-passphrase-callback-function): Declare.
2680 (allout-overlay-insert-in-front-handler)
2681 (allout-overlay-interior-modification-handler)
2682 (allout-isearch-end-handler, allout-chart-siblings)
2683 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2684 (allout-yank-processing, allout-process-exposed)
2685 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2686 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2687 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2688 (lisp-indent-defform): Mark ignored arguments.
2689 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2690 (calculate-lisp-indent): Remove unused variables.
2691 * international/characters.el (indian-2-column, arabic-2-column)
2692 (tibetan): Mark ignored arguments.
2693 (use-cjk-char-width-table): Mark ignored arguments.
2694 Remove unused variables.
2695 * international/fontset.el (build-default-fontset-data)
2696 (x-compose-font-name, create-fontset-from-fontset-spec):
2697 Mark ignored arguments.
2698 (fontset-plain-name): Remove unused variables.
2699 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2700 (keyboard-coding-system): Mark ignored arguments.
2701 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2702 * help.el (resize-temp-buffer-window):
2703 * window.el (display-buffer-in-major-side-window)
2704 (display-buffer-in-side-window, display-buffer-in-previous-window):
2705 Remove unused variables.
2706 * isearch.el (isearch-forward-symbol):
2707 * version.el (emacs-bzr-version-bzr):
2708 * international/mule-cmds.el (current-language-environment):
2709 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2710 (x-handle-display):
2711 * term/pc-win.el (x-list-fonts, x-display-planes)
2712 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2713 (x-server-version, x-display-screens, x-display-mm-height)
2714 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2715 (x-selection-owner-p, x-own-selection-internal)
2716 (x-disown-selection-internal, x-get-selection-internal)
2717 (msdos-initialize-window-system):
2718 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2719 * term/x-win.el (x-handle-no-bitmap-icon):
2720 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2721 (vc-default-find-file-hook, vc-default-extra-menu):
2722 Mark ignored arguments.
2723
2724 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2727 break-condition in the context of the debugged code (bug#12685).
2728
2729 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2730
2731 * comint.el:
2732 Do not use an overlay to highlight the last prompt. (Bug#14744)
2733 (comint-mode): Make comint-last-prompt buffer local.
2734 (comint-last-prompt): New variable.
2735 (comint-last-prompt-overlay): Remove. Superseded by
2736 comint-last-prompt.
2737 (comint-snapshot-last-prompt, comint-output-filter):
2738 Use comint-last-prompt.
2739
2740 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2741
2742 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2743 (frameset-save): Check validity of the resulting frameset.
2744
2745 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2746
2747 * ido.el (ido-record-command): Add doc string.
2748
2749 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2750
2751 * frameset.el (frameset): Do not disable creation of the default
2752 frameset-p predicate. Doc fix.
2753 (frameset-valid-p): New function, copied from the old predicate-p.
2754 Add additional checks.
2755 (frameset-restore): Check with frameset-valid-p.
2756 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2757 (frameset-name, frameset-description, frameset-properties)
2758 (frameset-states): Add docstring.
2759 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2760 (frameset-filter-alist): Doc fixes.
2761
2762 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2763
2764 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2765
2766 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2769 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2770 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2771 (byte-compile-normal-call): Remove obsolescence check.
2772
2773 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2774
2775 * frameset.el (frameset-restore): Doc fix.
2776
2777 * register.el (frameset-frame-id, frameset-frame-with-id)
2778 (frameset-p, frameset-restore, frameset-save): Declare.
2779 (register-alist): Document framesets.
2780 (frameset-session-filter-alist): Declare.
2781 (frameset-to-register): New function.
2782 (jump-to-register): Implement jumping to framesets. Doc fix.
2783 (describe-register-1): Describe framesets.
2784
2785 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2786
2787 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2788
2789 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2790 Use lexical-binding.
2791
2792 * frameset.el (frameset): Use type vector, not list (incompatible
2793 change). Do not declare a new constructor, use the default one.
2794 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2795 `name' and `description', respectively, and add read-only slot
2796 `timestamp'. Doc fixes.
2797 (frameset-copy, frameset-persistent-filter-alist)
2798 (frameset-filter-alist, frameset-switch-to-gui-p)
2799 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2800 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2801 (frameset-filter-iconified, frameset-keep-original-display-p):
2802 Doc fixes.
2803 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2804 Rename from frameset-filter-(save|restore)-param. All callers changed.
2805 Doc fix.
2806 (frameset-p): Adapt to change to vector and be more thorough.
2807 Change arg name to OBJECT. Doc fix.
2808 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2809 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2810 All callers changed.
2811 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2812 All callers changed.
2813 (frameset--record-minibuffer-relationships): Rename from
2814 frameset--process-minibuffer-frames. All callers changed.
2815 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2816 Use new default constructor (again). Doc fix.
2817 (frameset--find-frame-if): Rename from `frameset--find-frame.
2818 All callers changed.
2819 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2820 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2821 Doc fix.
2822 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2823 PARAMETERS and WINDOW-STATE, respectively.
2824 (frameset-restore): Add new keyword argument PREDICATE.
2825 Reset frameset--target-display to nil. Doc fix.
2826
2827 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2830 (bat-mode): Use it.
2831 (bat-mode-syntax-table): Mark \n as end-of-comment.
2832 (bat-font-lock-keywords): Remove comment rule.
2833
2834 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2835 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2836
2837 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2838 (byte-compile-callargs-warn): Use `push'.
2839 (byte-compile-arglist-warn): Ignore higher-order "calls".
2840 (byte-compile-file-form-autoload): Use `pcase'.
2841 (byte-compile-function-form): If quoting a symbol, check that it exists.
2842
2843 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2844
2845 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2846 and add a few popular commands found in batch files.
2847 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2848 (dos-mode): Doc fixes.
2849
2850 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2853 (dos-mode): Use setq-local. Add space after "rem".
2854 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2855 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2856
2857 2013-08-07 Arni Magnusson <arnima@hafro.is>
2858
2859 * progmodes/dos.el: New file.
2860 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2861 dos-mode.
2862
2863 2013-08-06 Glenn Morris <rgm@gnu.org>
2864
2865 * calendar/calendar.el: Add new faces, and day-header-array.
2866 (calendar-weekday-header, calendar-weekend-header)
2867 (calendar-month-header): New faces.
2868 (calendar-day-header-construct): New function.
2869 (calendar-day-header-width): Also :set calendar-day-header-array.
2870 (calendar-american-month-header, calendar-european-month-header)
2871 (calendar-iso-month-header): Use calendar- faces.
2872 (calendar-generate-month):
2873 Use calendar-day-header-array for day headers; apply faces to them.
2874 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2875 (calendar-abbrev-construct): Add optional maxlen argument.
2876 (calendar-day-name-array): Doc fix.
2877 (calendar-day-name-array, calendar-abbrev-length)
2878 (calendar-day-abbrev-array):
2879 Also :set calendar-day-header-array, and maybe redraw.
2880 (calendar-day-header-array): New option. (Bug#15007)
2881 (calendar-font-lock-keywords): Set to nil and make obsolete.
2882 (calendar-day-name): Add option to use header array.
2883
2884 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2885
2886 * net/shr.el (shr-render-td): Remove debugging.
2887 (shr-render-td): Make width computation consistent by defaulting
2888 all zero-width columns to 10 characters. This may not be optimal,
2889 but it's at least consistent.
2890 (shr-make-table-1): Redo last change to fix the real problem in
2891 colspan handling.
2892
2893 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2894
2895 * files.el (cache-long-line-scans):
2896 Make obsolete alias to `cache-long-scans'.
2897
2898 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2899
2900 * frameset.el (frameset, frameset-filter-alist)
2901 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2902 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2903 (frameset-compute-pos): Rename from frameset--compute-pos,
2904 and add docstring.
2905 (frameset-move-onscreen): Use frameset-compute-pos.
2906 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2907
2908 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2909 Fix typos in docstrings.
2910
2911 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2912
2913 * frame.el (get-other-frame): Tiny cleanup.
2914
2915 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2916
2917 * vc/vc.el (vc-default-ignore-completion-table):
2918 Silence byte-compiler warning.
2919
2920 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2921 slot , which can indeed be nil.
2922 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2923 Move entry for `left' from persistent to live filter alist.
2924 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2925 Doc fixes.
2926 (frameset-filter-params): When restoring a frame, copy items added to
2927 `filtered', to avoid unwittingly modifying the original parameters.
2928 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2929 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2930
2931 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2932 to use looking-at-p instead of looking-at. (Bug#15028)
2933
2934 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 Revert introduction of isearch-filter-predicates (bug#14714).
2937 Rely on add-function instead.
2938 * isearch.el (isearch-filter-predicates): Rename it back to
2939 isearch-filter-predicate.
2940 (isearch-message-prefix): Use advice-function-mapc and advice
2941 properties to get the isearch-message-prefix.
2942 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2943 instead of run-hook-with-args-until-failure.
2944 (isearch-filter-visible): Not obsolete any more.
2945 * loadup.el: Preload nadvice.
2946 * replace.el (perform-replace): Revert to funcall
2947 instead of run-hook-with-args-until-failure.
2948 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2949 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2950 dired-isearch-filenames-toggle; make it into a proper minor mode.
2951 Use add/remove-function.
2952 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2953 Call the minor-mode rather than add/remove-hook.
2954 (dired-isearch-filter-filenames):
2955 Remove isearch-message-prefix property.
2956 * info.el (Info--search-loop): New function, extracted from Info-search.
2957 Funcall isearch-filter-predicate instead of
2958 run-hook-with-args-until-failure isearch-filter-predicates.
2959 (Info-search): Use it.
2960 (Info-mode): Use isearch-filter-predicate instead of
2961 isearch-filter-predicates.
2962
2963 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2964
2965 Do not call to `selected-window' where it is assumed by default.
2966 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2967 `window-hscroll', `window-width', `window-height', `window-buffer',
2968 `window-frame', `window-start', `window-point', `next-window'
2969 and `window-display-table'.
2970 * abbrev.el (abbrev--default-expand):
2971 * bs.el (bs--show-with-configuration):
2972 * buff-menu.el (Buffer-menu-mouse-select):
2973 * calc/calc.el (calc):
2974 * calendar/calendar.el (calendar-generate-window):
2975 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2976 (diary-make-entry):
2977 * comint.el (send-invisible, comint-dynamic-complete-filename)
2978 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2979 * completion.el (complete):
2980 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2981 * disp-table.el (describe-current-display-table):
2982 * doc-view.el (doc-view-insert-image):
2983 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2984 * ehelp.el (with-electric-help):
2985 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2986 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2987 * emacs-lisp/helper.el (Helper-help-scroller):
2988 * emulation/cua-base.el (cua--post-command-handler-1):
2989 * eshell/esh-mode.el (eshell-output-filter):
2990 * ffap.el (ffap-gnus-wrapper):
2991 * help-macro.el (make-help-screen):
2992 * hilit-chg.el (highlight-compare-buffers):
2993 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2994 * hl-line.el (global-hl-line-highlight):
2995 * icomplete.el (icomplete-simple-completing-p):
2996 * isearch.el (isearch-done):
2997 * jit-lock.el (jit-lock-stealth-fontify):
2998 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2999 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3000 * mpc.el (mpc-tagbrowser, mpc):
3001 * net/rcirc.el (rcirc-any-buffer):
3002 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3003 * play/landmark.el (landmark-max-width, landmark-max-height):
3004 * play/zone.el (zone):
3005 * progmodes/compile.el (compilation-goto-locus):
3006 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3007 * progmodes/etags.el (find-tag-other-window):
3008 * progmodes/fortran.el (fortran-column-ruler):
3009 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3010 * progmodes/verilog-mode.el (verilog-point-text):
3011 * reposition.el (reposition-window):
3012 * rot13.el (toggle-rot13-mode):
3013 * server.el (server-switch-buffer):
3014 * shell.el (shell-dynamic-complete-command)
3015 (shell-dynamic-complete-environment-variable):
3016 * simple.el (insert-buffer, set-selective-display)
3017 (delete-completion-window):
3018 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3019 (speedbar-recenter):
3020 * startup.el (fancy-splash-head):
3021 * textmodes/ispell.el (ispell-command-loop):
3022 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3023 * tutorial.el (help-with-tutorial):
3024 * vc/add-log.el (add-change-log-entry):
3025 * vc/compare-w.el (compare-windows):
3026 * vc/ediff-help.el (ediff-indent-help-message):
3027 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3028 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3029 (ediff-setup-control-frame):
3030 * vc/emerge.el (emerge-position-region):
3031 * vc/pcvs-util.el (cvs-bury-buffer):
3032 * window.el (walk-windows, mouse-autoselect-window-select):
3033 * winner.el (winner-set-conf, winner-undo): Related users changed.
3034
3035 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3036
3037 * frameset.el (frameset--set-id): Doc fix.
3038 (frameset-frame-id, frameset-frame-id-equal-p)
3039 (frameset-locate-frame-id): New functions.
3040 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3041 (frameset-restore): Use them.
3042
3043 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3044
3045 Do not call to `selected-frame' where it is assumed by default.
3046 Affected functions are `raise-frame', `redraw-frame',
3047 `frame-first-window', `frame-terminal' and `delete-frame'.
3048 * calendar/appt.el (appt-disp-window):
3049 * epg.el (epg-wait-for-completion):
3050 * follow.el (follow-delete-other-windows-and-split)
3051 (follow-avoid-tail-recenter):
3052 * international/mule.el (set-terminal-coding-system):
3053 * mail/rmail.el (rmail-mail-return):
3054 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3055 * progmodes/f90.el (f90-add-imenu-menu):
3056 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3057 * server.el (server-switch-buffer):
3058 * simple.el (delete-completion-window):
3059 * talk.el (talk):
3060 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3061 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3062 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3063 * vc/ediff.el (ediff-documentation): Related users changed.
3064 * frame.el (selected-terminal): Remove the leftover.
3065
3066 2013-08-05 Glenn Morris <rgm@gnu.org>
3067
3068 * calendar/calendar.el (calendar-generate-month):
3069 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3070 (calendar-generate-month, calendar-font-lock-keywords):
3071 Fix for calendar-day-header-width > length of any day name.
3072
3073 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3074
3075 * desktop.el (desktop-clear): Use new name of sort predicate.
3076
3077 * frameset.el (frameset): Add docstring. Move :version property to its
3078 own `version' slot.
3079 (frameset-copy): Rename from copy-frameset.
3080 (frameset-p): Check more thoroughly.
3081 (frameset-prop): Do not check for :version, which is no longer a prop.
3082 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3083 Use new :never value instead of t.
3084 (frameset-filter-alist): Expand and clarify docstring.
3085 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3086 (frameset-filter-minibuffer, frameset-filter-save-param)
3087 (frameset-filter-restore-param, frameset-filter-iconified):
3088 Add pointer to docstring of frameset-filter-alist.
3089 (frameset-filter-params): Rename filter values to be more meaningful:
3090 :never instead of t, and reverse the meanings of :save and :restore.
3091 (frameset--process-minibuffer-frames): Clarify error message.
3092 (frameset-save): Avoid unnecessary and confusing call to framep.
3093 Use new BOA constructor for framesets.
3094 (frameset--reuse-list): Doc fix.
3095 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3096 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3097 (frameset-minibufferless-first-p): Doc fix.
3098 Rename from frameset-sort-frames-for-deletion.
3099 (frameset-restore): Doc fixes. Use new function names.
3100 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3101
3102 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3103
3104 * desktop.el (desktop-restore-forces-onscreen)
3105 (desktop-restore-reuses-frames): Document :keyword constant values.
3106 (desktop-filter-parameters-alist): Remove, now identical to
3107 frameset-filter-alist.
3108 (desktop--filter-tty*): Remove, moved to frameset.el.
3109 (desktop-save-frameset, desktop-restore-frameset):
3110 Do not pass :filters argument.
3111
3112 * frameset.el (frameset-live-filter-alist)
3113 (frameset-persistent-filter-alist): New variables.
3114 (frameset-filter-alist): Use them. Add autoload cookie.
3115 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3116 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3117 `frameset--id' (it's supposed to be internal to frameset.el).
3118 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3119 (frameset--initial-params): New function.
3120 (frameset--get-frame): Use it. Doc fix.
3121 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3122 Accept :all, not 'all.
3123 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3124 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3125 with fbound symbols. Fix frame id matching, and remove matching ids if
3126 the frame being restored is deleted. Obey :delete.
3127
3128 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * subr.el (macrop): New function.
3131 (text-clone--maintaining): New var.
3132 (text-clone--maintain): Rename from text-clone-maintain. Use it
3133 instead of inhibit-modification-hooks.
3134
3135 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3136 a proxy, so as handle autoloads and redefinitions of the target.
3137 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3138
3139 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3140 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3141 (pcase--mutually-exclusive-p): New function.
3142 (pcase--split-consp): Use it.
3143 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3144 mutually exclusive with the current predicate.
3145
3146 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3147 (edebug-macrop): Remove. Use `macrop' instead.
3148 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3149 (ad-macro-p):
3150 * eshell/esh-cmd.el (eshell-macrop):
3151 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3152
3153 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3156 (advice-mapc): New function, using it.
3157 (advice-function-member-p): New function.
3158 (advice--normalize): Store the cdr in advice--saved-rewrite since
3159 that's the part that will be changed.
3160 (advice--symbol-function): New function.
3161 (advice-remove): Handle removal before the function is defined.
3162 Adjust to new advice--saved-rewrite.
3163 (advice-member-p): Use advice-function-member-p and
3164 advice--symbol-function.
3165
3166 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3167
3168 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3169 (frameset-filter-minibuffer): Doc fix.
3170 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3171 (frameset--set-id, frameset--process-minibuffer-frames)
3172 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3173 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3174
3175 * desktop.el (desktop-clear): Only delete frames when called
3176 interactively and desktop-restore-frames is non-nil. Doc fix.
3177 (desktop-read): Set desktop-saved-frameset to nil.
3178
3179 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3180
3181 * vc/vc.el (vc-ignore): Rewrite.
3182 (vc-default-ignore-completion-table):
3183 (vc--read-lines):
3184 (vc--add-line, vc--remove-regexp): New functions.
3185
3186 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3187 (vc-svn-ignore-completion-table): New function.
3188
3189 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3190 (vc-hg-ignore-completion-table):
3191 (vc-hg-find-ignore-file): New functions.
3192
3193 * vc/vc-git.el (vc-git-ignore): Rewrite.
3194 (vc-git-ignore-completion-table):
3195 (vc-git-find-ignore-file): New functions.
3196
3197 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3198
3199 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3200 (vc-bzr-ignore-completion-table):
3201 (vc-bzr-find-ignore-file): New functions.
3202
3203 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3204
3205 * frameset.el (frameset-prop): New function and setter.
3206 (frameset-save): Do not modify frame list passed by the caller.
3207
3208 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3211
3212 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3215 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3216
3217 * custom.el (custom-initialize-default, custom-initialize-set)
3218 (custom-initialize-reset, custom-initialize-changed): Affect the
3219 toplevel-default-value (bug#6275, bug#14586).
3220 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3221 for bug#6275.
3222
3223 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3226 Add cl-def* expressions.
3227
3228 * frameset.el (frameset-filter-params): Fix order of arguments.
3229
3230 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3231
3232 Move code related to saving frames to frameset.el.
3233 * desktop.el: Require frameset.
3234 (desktop-restore-frames): Doc fix.
3235 (desktop-restore-reuses-frames): Rename from
3236 desktop-restoring-reuses-frames.
3237 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3238 (desktop-clear): Clear frames too.
3239 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3240 (desktop--filter-tty*, desktop-save, desktop-read):
3241 Use frameset functions.
3242 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3243 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3244 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3245 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3246 (desktop--process-minibuffer-frames, desktop-save-frames)
3247 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3248 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3249 (desktop--sort-states, desktop-restoring-frames-p)
3250 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3251 (desktop-restoring-frameset-p, desktop-restore-frameset)
3252 (desktop--check-dont-save, desktop-save-frameset): New functions.
3253 (desktop--app-id): New constant.
3254 (desktop-first-buffer, desktop-buffer-ok-count)
3255 (desktop-buffer-fail-count): Move before first use.
3256 * frameset.el: New file.
3257
3258 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3259
3260 * files.el: Use lexical-binding.
3261 (dir-locals-read-from-file): Remove unused `err' variable.
3262 (hack-dir-local-variables--warned-coding): New var.
3263 (hack-dir-local-variables): Use it to avoid repeated warnings.
3264 (make-backup-file-name--default-function): New function.
3265 (make-backup-file-name-function): Use it as default.
3266 (buffer-stale--default-function): New function.
3267 (buffer-stale-function): Use it as default.
3268 (revert-buffer-insert-file-contents--default-function): New function.
3269 (revert-buffer-insert-file-contents-function): Use it as default.
3270 (insert-directory): Avoid add-to-list.
3271
3272 * autorevert.el (auto-revert-handler): Simplify.
3273 Use buffer-stale--default-function.
3274
3275 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3276
3277 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3278
3279 * whitespace.el (whitespace-ensure-local-variables): New function.
3280 (whitespace-cleanup-region): Call it.
3281 (whitespace-turn-on): Call it.
3282
3283 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3284
3285 Complete file name handlers.
3286
3287 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3288 (tramp-handle-verify-visited-file-modtime)
3289 (tramp-handle-file-notify-rm-watch): New functions.
3290 (tramp-call-process): Do not bind `default-directory'.
3291
3292 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3293 Order alphabetically.
3294 [access-file, add-name-to-file, dired-call-process]:
3295 [dired-compress-file, file-acl, file-notify-rm-watch]:
3296 [file-ownership-preserved-p, file-selinux-context]:
3297 [make-directory-internal, make-symbolic-link, set-file-acl]:
3298 [set-file-selinux-context, set-visited-file-modtime]:
3299 [verify-visited-file-modtime]: Add handler.
3300 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3301
3302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3303 [file-notify-add-watch, file-notify-rm-watch]:
3304 [set-file-times, set-visited-file-modtime]:
3305 [verify-visited-file-modtime]: Add handler.
3306 (with-tramp-gvfs-error-message)
3307 (tramp-gvfs-handle-set-visited-file-modtime)
3308 (tramp-gvfs-fuse-file-name): Remove.
3309 (tramp-gvfs-handle-file-notify-add-watch)
3310 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3311 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3312
3313 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3314 Order alphabetically.
3315 [file-notify-rm-watch ]: Use default Tramp handler.
3316 [executable-find]: Remove private handler.
3317 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3318 `default-directory'.
3319 (tramp-sh-handle-executable-find)
3320 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3321 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3322 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3323 Do not use `format' in `tramp-message'.
3324
3325 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3326 [file-notify-rm-watch, set-visited-file-modtime]:
3327 [verify-visited-file-modtime]: Add handler.
3328 (tramp-smb-call-winexe): Do not bind `default-directory'.
3329
3330 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3331
3332 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3333
3334 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3335
3336 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3337 use it.
3338 (log-view-diff-changeset): Same.
3339 (log-view-diff-common): Call backend command `previous-revision'
3340 to find out the previous revision, in both cases. Swap the
3341 variables `to' and `fr', so that `fr' usually refers to the
3342 earlier revision (Bug#14989).
3343
3344 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3345
3346 * ibuf-ext.el (ibuffer-filter-by-filename):
3347 Make it work with dired buffers too.
3348
3349 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3350
3351 * emacs-lisp/re-builder.el (reb-color-display-p):
3352 * files.el (save-buffers-kill-terminal):
3353 * net/browse-url.el (browse-url):
3354 * server.el (server-save-buffers-kill-terminal):
3355 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3356 Prefer nil to selected-frame for the first arg of frame-parameter.
3357
3358 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3359
3360 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3361
3362 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3363
3364 * minibuffer.el (completion--twq-all): Try and preserve each
3365 completion's case choice (bug#14907).
3366
3367 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3368
3369 * net/network-stream.el (open-network-stream): Mention the new
3370 :nogreeting parameter.
3371 (network-stream-open-starttls): Use the :nogreeting parameter
3372 (bug#14938).
3373
3374 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3375
3376 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3377 more natural than popping.
3378
3379 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3380 (shr-urlify): Highlight under mouse.
3381
3382 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3383
3384 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3385
3386 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3387
3388 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3389 buffer for output.
3390
3391 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3392 point-min==1. Fix search string. Fix parentheses missing.
3393
3394 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3395 assume point-min==1. Fix search string. Fix parentheses missing.
3396
3397 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3398
3399 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3400 buffer for output.
3401
3402 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3403
3404 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3405 initial frame is minibuffer-less. (Bug#14841)
3406
3407 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3408
3409 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3410 option.
3411
3412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3413 (tramp-maybe-open-connection): Use it.
3414
3415 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3416
3417 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3418 minimal set of parameters passed when creating a frame, because
3419 the minibuffer status of a frame cannot be changed later.
3420
3421 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3422
3423 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3424 replace-regexp-in-string and inadvertent omissions in previous change.
3425 (todo-filter-items): Ensure only file names are comma-separated in
3426 name of filtered items buffer.
3427
3428 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3429
3430 * desktop.el: Optionally force offscreen frames back onscreen.
3431 (desktop-restoring-reuses-frames): New option.
3432 (desktop--compute-pos, desktop--move-onscreen): New functions.
3433 (desktop--make-frame): Use desktop--move-onscreen.
3434
3435 2013-07-27 Alan Mackenzie <acm@muc.de>
3436
3437 Fontify a Java generic method as a function.
3438 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3439 value to t.
3440
3441 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3442
3443 * calendar/todo-mode.el: Add command to rename todo files.
3444 (todo-rename-file): New command.
3445 (todo-key-bindings-t): Add key binding for it. Change the
3446 bindings of todo-filter-regexp-items(-multifile) to use `x'
3447 instead of `r', since the latter is better suited to the new
3448 renaming command.
3449
3450 2013-07-27 Alan Mackenzie <acm@muc.de>
3451
3452 Make Java try-with-resources statement parse properly.
3453 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3454 (c-block-stmt-1-2-key): New language constants/variables.
3455 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3456 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3457 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3458 with c-block-stmt-1-2-key.
3459
3460 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * desktop.el (desktop--make-frame): Apply most frame parameters after
3463 creating the frame to force (partially or totally) offscreen frames to
3464 be restored as such.
3465
3466 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3467
3468 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3469 (Bug#14948)
3470
3471 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3474 `base' arg of backtrace-frame.
3475
3476 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3477
3478 * simple.el (list-processes): Doc fix.
3479
3480 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3481
3482 * desktop.el (desktop--select-frame):
3483 Try harder to reuse existing frames.
3484
3485 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3488 (edebug-eval): Use backtrace-eval.
3489 (edebug--display, edebug--recursive-edit): Don't let-bind the
3490 edebug-outer-* vars that keep track of variables we locally let-bind.
3491 (edebug-outside-excursion): Don't restore outside values of locally
3492 let-bound vars.
3493 (edebug--display): Use user-error.
3494 (cl-lexical-debug, cl-debug-env): Remove.
3495
3496 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3497
3498 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3499 are restored to be sure that they are visible before deleting any
3500 remaining ones.
3501
3502 2013-07-26 Matthias Meulien <orontee@gmail.com>
3503
3504 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3505 vc-print-root-log. (Bug#14948)
3506
3507 2013-07-26 Richard Stallman <rms@gnu.org>
3508
3509 Add aliases for encrypting mail.
3510 * epa.el (epa-mail-aliases): New option.
3511 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3512 Bind inhibit-read-only so read-only text doesn't ruin everything.
3513 (epa-mail-default-recipients): New subroutine broken out.
3514 Handle epa-mail-aliases.
3515
3516 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 Add support for lexical variables to the debugger's `e' command.
3519 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3520 vars, except for debugger-outer-match-data.
3521 (debugger-frame-number): Move check for "on a function call" from
3522 callers into it. Add `skip-base' argument.
3523 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3524 (debugger-env-macro): Only reset the state stored in non-variables,
3525 i.e. current-buffer and match-data.
3526 (debugger-eval-expression): Rewrite using backtrace-eval.
3527 * subr.el (internal--called-interactively-p--get-frame): Remove.
3528 (called-interactively-p):
3529 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3530 `base' arg of backtrace-frame instead.
3531
3532 2013-07-26 Glenn Morris <rgm@gnu.org>
3533
3534 * align.el (align-regexp): Doc fix. (Bug#14857)
3535 (align-region): Explicit error if subexpression missing/does not match.
3536
3537 * simple.el (global-visual-line-mode):
3538 Do not duplicate the mode lighter. (Bug#14858)
3539
3540 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3541
3542 * window.el (display-buffer): In display-buffer bind
3543 split-window-keep-point to t, bug#14829.
3544
3545 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3546
3547 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3548 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3549 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3550 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3551 Change accordingly.
3552 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3553 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3554
3555 2013-07-25 Glenn Morris <rgm@gnu.org>
3556
3557 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3558
3559 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3560
3561 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3562 parameter to modify-frame-parameters if the value has not changed;
3563 this is a workaround for bug#14949.
3564 (desktop--make-frame): On cl-delete-if call, check parameter name,
3565 not full parameter.
3566
3567 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3568
3569 * vc/vc.el (vc-ignore): New function.
3570
3571 * vc/vc-svn.el (vc-svn-ignore): New function.
3572
3573 * vc/vc-hg.el (vc-hg-ignore): New function.
3574
3575 * vc/vc-git.el (vc-git-ignore): New function.
3576
3577 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3578 (vc-dir-ignore): New function.
3579
3580 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3581 (cvs-append-to-ignore): Move here from pcvs.el.
3582
3583 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3584
3585 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3586
3587 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3588
3589 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3590 (desktop-restore-frames): Warn when deleting an existing frame failed.
3591
3592 2013-07-24 Glenn Morris <rgm@gnu.org>
3593
3594 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3595
3596 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3597
3598 * filenotify.el (file-notify-supported-p):
3599 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3600 Remove functions.
3601
3602 * autorevert.el (auto-revert-use-notify):
3603 (auto-revert-notify-add-watch):
3604 * net/tramp.el (tramp-file-name-for-operation):
3605 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3606 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3607 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3608 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3609 Remove `file-notify-supported-p' entry.
3610
3611 2013-07-24 Glenn Morris <rgm@gnu.org>
3612
3613 * printing.el: Replace all uses of deleted ps-windows-system,
3614 ps-lp-system, ps-flatten-list with lpr- versions.
3615
3616 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3619 checked with memq (bug#14935).
3620
3621 * files.el (revert-buffer-function): Use a non-nil default.
3622 (revert-buffer-preserve-modes): Declare var to
3623 provide access to the `preserve-modes' argument.
3624 (revert-buffer): Let-bind it.
3625 (revert-buffer--default): New function, extracted from revert-buffer.
3626
3627 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * lpr.el: Signal print errors more prominently.
3630 (print-region-function): Don't default to nil.
3631 (lpr-print-region): New function, extracted from print-region-1.
3632 Check lpr's return value and signal an error in case of problem.
3633 (print-region-1): Use it.
3634 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3635 versions instead.
3636 (ps-printer-name): Default to nil.
3637 (ps-printer-name-option): Default to lpr-printer-switch.
3638 (ps-print-region-function): Don't default to nil.
3639 (ps-postscript-code-directory): Simplify default.
3640 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3641 (ps-string-list, ps-eval-switch, ps-flatten-list)
3642 (ps-flatten-list-1): Remove.
3643 (ps-multibyte-buffer): Avoid setq.
3644 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3645 (print-region-function, ps-print-region-function): Don't set them here.
3646
3647 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3648
3649 * ido.el (ido-fractionp):
3650 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3651 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3652 (ido-max-directory-size, ido-max-dir-file-cache)
3653 (ido-decorations): Doc fix.
3654
3655 * ansi-color.el: Fix old URL.
3656
3657 2013-07-23 Michael R. Mauger <michael@mauger.com>
3658
3659 * progmodes/sql.el: Version 3.3
3660 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3661 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3662 (sql-interactive-remove-continuation-prompt): Rewrite, use
3663 functions above. Fix continuation prompt and complete output line
3664 handling.
3665 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3666 redirected output buffer.
3667 (sql-mode): Restore deleted code (Bug#13591).
3668
3669 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3670
3671 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3672
3673 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3674
3675 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3676
3677 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3678 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3679 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3680
3681 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3682
3683 * desktop.el (desktop-clear): Simplify; remove useless checks
3684 against invalid buffer names.
3685 (desktop-list*): Use cl-list*.
3686 (desktop-buffer-info, desktop-create-buffer): Simplify.
3687
3688 2013-07-23 Leo Liu <sdl.web@gmail.com>
3689
3690 * bookmark.el (bookmark-make-record): Restore NAME as a default
3691 value. (Bug#14933)
3692
3693 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3696 extracted from autoload--insert-text.
3697 (autoload--insert-text): Remove.
3698 (autoload--print-cookie-text): New function, extracted from
3699 autoload--insert-cookie-text.
3700 (autoload--insert-cookie-text): Remove.
3701 (autoload-generate-file-autoloads): Adjust calls accordingly.
3702
3703 * winner.el (winner-hook-installed-p): Remove.
3704 (winner-mode): Simplify accordingly.
3705
3706 * subr.el (add-to-list): Fix compiler-macro when `append' is
3707 not constant. Don't use `cl-member' for the base case.
3708
3709 * progmodes/subword.el: Fix boundary case (bug#13758).
3710 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3711 own group.
3712 (subword-backward-regexp): Make it a constant.
3713 (subword-forward-internal): Don't treat a trailing capital as the
3714 beginning of a word.
3715
3716 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3717
3718 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3719 global value of tabulated-list-revert-hook (bug#14930).
3720
3721 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3722
3723 * desktop.el: Require 'cl-lib.
3724 (desktop-before-saving-frames-functions): New hook.
3725 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3726 for frames being saved. Rename from desktop--save-minibuffer-frames.
3727 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3728 Do not save frames with non-nil `desktop-dont-save' parameter.
3729 Filter out deleted frames.
3730 (desktop--find-frame): Use cl-find-if.
3731 (desktop--select-frame): Use cl-(first|second|third) to access values
3732 of desktop-mini.
3733 (desktop--make-frame): Use cl-delete-if.
3734 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3735 (desktop-restore-frames): Use cl-(first|second|third) to access values
3736 of desktop-mini. Look for visible frame at the end, not while
3737 restoring frames.
3738
3739 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3740 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3741 Use string-match-p, looking-at-p (bug#14927).
3742
3743 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3744
3745 * desktop.el (desktop-saved-frame-states):
3746 Rename from desktop--saved-states; all users changed.
3747 (desktop-save-frames): Rename from desktop--save-frames.
3748 Do not save state to desktop file.
3749 (desktop-save): Save desktop-saved-frame-states to desktop file
3750 and reset to nil.
3751 (desktop-restoring-frames-p): New function.
3752 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3753 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3754 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3755
3756 * desktop.el: Correctly restore iconified frames.
3757 (desktop--filter-iconified-position): New function.
3758 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3759
3760 2013-07-20 Glenn Morris <rgm@gnu.org>
3761
3762 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3763 Let `message' do the formatting.
3764 (def-gdb-preempt-display-buffer): Add explicit format.
3765
3766 * image-dired.el (image-dired-track-original-file):
3767 Use with-current-buffer.
3768 (image-dired-track-thumbnail): Use with-current-buffer.
3769 Avoid changing point of wrong window.
3770
3771 * image-dired.el (image-dired-track-original-file):
3772 Avoid changing point of wrong window. (Bug#14909)
3773
3774 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3775
3776 * progmodes/gdb-mi.el (gdb-done-or-error):
3777 Guard against "%" in gdb output. (Bug#14127)
3778
3779 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3780
3781 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3782 (Bug#14826)
3783
3784 * international/mule.el (coding-system-iso-2022-flags): Fix last
3785 change.
3786
3787 2013-07-20 Kenichi Handa <handa@gnu.org>
3788
3789 * international/mule.el (coding-system-iso-2022-flags):
3790 Add `8-bit-level-4'. (Bug#8522)
3791
3792 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3793
3794 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3795 (bug#14815).
3796
3797 * net/eww.el (eww-process-text-input): Allow inputting when the
3798 point is at the start of the line, as the properties aren't
3799 front-sticky.
3800
3801 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3802 degenerate widths.
3803
3804 2013-07-19 Richard Stallman <rms@gnu.org>
3805
3806 * epa.el (epa-popup-info-window): Doc fix.
3807
3808 * subr.el (split-string): New arg TRIM.
3809
3810 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3813 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3814
3815 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * filenotify.el (file-notify--library): Rename from
3818 `file-notify-support'. Do not autoload. Adapt all uses.
3819 (file-notify-supported-p): New defun.
3820
3821 * autorevert.el (auto-revert-use-notify):
3822 Use `file-notify-supported-p' instead of `file-notify-support'.
3823 Adapt docstring.
3824 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3825
3826 * net/tramp.el (tramp-file-name-for-operation):
3827 Add `file-notify-supported-p'.
3828
3829 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3830 New defun.
3831 (tramp-sh-file-name-handler-alist): Add it as handler for
3832 `file-notify-supported-p '.
3833
3834 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3835 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3836 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3837 Add `ignore' as handler for `file-notify-*' functions.
3838
3839 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3840
3841 * simple.el (line-move-partial, line-move): Don't start vscroll or
3842 scroll-up if the current line is not taller than the window.
3843 (Bug#14881)
3844
3845 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3846
3847 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3848 highlight question marks in the method names as strings.
3849 (ruby-block-beg-keywords): Inline.
3850 (ruby-font-lock-keyword-beg-re): Extract from
3851 `ruby-font-lock-keywords'.
3852
3853 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3854
3855 * frame.el (blink-cursor-blinks): New defcustom.
3856 (blink-cursor-blinks-done): New defvar.
3857 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3858 (blink-cursor-timer-function): Check if number of blinks has been
3859 done on X and NS.
3860 (blink-cursor-suspend, blink-cursor-check): New defuns.
3861
3862 2013-07-15 Glenn Morris <rgm@gnu.org>
3863
3864 * edmacro.el (edmacro-format-keys): Fix previous change.
3865
3866 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3867
3868 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3869 The hack didn't work outside English locales anyway.
3870
3871 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3872
3873 * simple.el (define-alternatives): Rename from alternatives-define,
3874 per RMS' suggestion.
3875
3876 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3877
3878 * desktop.el (desktop-restore-frames): Change default to t.
3879 (desktop-restore-in-current-display): Now offer more options.
3880 (desktop-restoring-reuses-frames): New customization option.
3881 (desktop--saved-states): Doc fix.
3882 (desktop-filter-parameters-alist): New variable, renamed and expanded
3883 from desktop--excluded-frame-parameters.
3884 (desktop--target-display): New variable.
3885 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3886 (desktop--filter-tty*, desktop--filter-*-color)
3887 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3888 (desktop--filter-save-desktop-parm)
3889 (desktop-restore-in-original-display-p): New functions.
3890 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3891 (desktop--save-minibuffer-frames): New function, inspired by a similar
3892 function from Martin Rudalics.
3893 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3894 (desktop--restore-in-this-display-p): Remove.
3895 (desktop--find-frame): Rename from desktop--find-frame-in-display
3896 and add predicate argument.
3897 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3898 (desktop--reuse-list): New variable.
3899 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3900 New functions.
3901 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3902
3903 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3904
3905 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3906
3907 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3908
3909 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3910 Highlight conversion methods on Kernel.
3911
3912 2013-07-13 Alan Mackenzie <acm@muc.de>
3913
3914 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3915 and comment it out. This out-commenting enables certain C++
3916 declarations to be parsed correctly.
3917
3918 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3919
3920 * international/mule.el (define-coding-system): Doc fix.
3921
3922 * simple.el (default-font-height): Don't call font-info if the
3923 frame's default font didn't change since the frame was created.
3924 (Bug#14838)
3925
3926 2013-07-13 Leo Liu <sdl.web@gmail.com>
3927
3928 * ido.el (ido-read-file-name): Guard against non-symbol value.
3929
3930 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3931
3932 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3933 in nested defuns.
3934
3935 2013-07-13 Leo Liu <sdl.web@gmail.com>
3936
3937 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3938 ido-set-matches call. (Bug#6852)
3939
3940 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3941
3942 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3943 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3944 Ruby 2.0.
3945 (ruby-font-lock-keywords): Distinguish calls to functions with
3946 module-like names from module references. Highlight character
3947 literals.
3948
3949 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3950
3951 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3952 (gdb-send): Handle continued commands. (Bug#14847)
3953
3954 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3955
3956 * desktop.el (desktop--v2s): Remove unused local variable.
3957 (desktop-save-buffer): Make defvar-local; adjust docstring.
3958 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3959 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3960
3961 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3962
3963 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3964
3965 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3966
3967 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3968 (Bug#14842)
3969
3970 2013-07-12 Glenn Morris <rgm@gnu.org>
3971
3972 * doc-view.el: Require cl-lib at runtime too.
3973 (doc-view-remove-if): Remove.
3974 (doc-view-search-next-match, doc-view-search-previous-match):
3975 Use cl-remove-if.
3976
3977 * edmacro.el: Require cl-lib at runtime too.
3978 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3979 (edmacro-mismatch, edmacro-subseq): Remove.
3980
3981 * shadowfile.el: Require cl-lib.
3982 (shadow-remove-if): Remove.
3983 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3984 Use cl-remove-if.
3985
3986 * wid-edit.el: Require cl-lib.
3987 (widget-choose): Use cl-remove-if.
3988 (widget-remove-if): Remove.
3989
3990 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3991 (ebrowse-delete-if-not): Remove.
3992 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3993 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3994 Use cl-delete-if-not.
3995
3996 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3997
3998 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3999 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4000
4001 2013-07-12 Leo Liu <sdl.web@gmail.com>
4002
4003 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4004
4005 2013-07-11 Glenn Morris <rgm@gnu.org>
4006
4007 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4008 (edebug-gensym-index, edebug-gensym):
4009 Remove reimplementation of cl-gensym.
4010 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4011
4012 * thumbs.el: Require cl-lib at run-time too.
4013 (thumbs-gensym-counter, thumbs-gensym):
4014 Remove reimplementation of cl-gensym.
4015 (thumbs-temp-file): Use cl-gensym.
4016
4017 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4018 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4019 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4020 (ert--union, ert--gensym-counter, ert--gensym-counter)
4021 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4022 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4023 (ert-make-test-unbound, ert--expand-should-1)
4024 (ert--expand-should, ert--should-error-handle-error)
4025 (should-error, ert--explain-equal-rec)
4026 (ert--plist-difference-explanation, ert-select-tests)
4027 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4028 Use cl-lib functions rather than reimplementations.
4029
4030 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4031
4032 * net/tramp.el (tramp-methods): Extend docstring.
4033 (tramp-connection-timeout): New defcustom.
4034 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4035 (with-tramp-progress-reporter): Simplify.
4036 (tramp-process-actions): Improve messages.
4037
4038 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4039 * net/tramp-sh.el (tramp-maybe-open-connection):
4040 Use `tramp-connection-timeout'.
4041 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4042 (Bug#14808)
4043
4044 2013-07-11 Leo Liu <sdl.web@gmail.com>
4045
4046 * ido.el (ido-read-file-name): Conform to the requirements of
4047 read-file-name. (Bug#11861)
4048 (ido-read-directory-name): Conform to the requirements of
4049 read-directory-name.
4050
4051 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4052
4053 * subr.el (delay-warning): New function.
4054
4055 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4056
4057 * simple.el (default-line-height): New function.
4058 (line-move-partial, line-move): Use it instead of computing the
4059 line height inline.
4060 (line-move-partial): Always compute ROWH. If the last line is
4061 partially-visible, but its text is completely visible, allow
4062 cursor to enter such a partially-visible line.
4063
4064 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4065
4066 Improve error messages. (Bug#14808)
4067
4068 * net/tramp.el (tramp-current-connection): New defvar, moved from
4069 tramp-sh.el.
4070 (tramp-message-show-progress-reporter-message): Remove, not
4071 needed anymore.
4072 (tramp-error-with-buffer): Show message in minibuffer.
4073 Discard input before waiting. Reset connection timestamp.
4074 (with-tramp-progress-reporter): Improve messages.
4075 (tramp-process-actions): Use progress reporter. Delete process in
4076 case of error. Improve messages.
4077
4078 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4079 Call `tramp-error-with-buffer' with vector and buffer.
4080 (tramp-current-connection): Remove.
4081 (tramp-maybe-open-connection): The car of
4082 `tramp-current-connection' are the first 3 slots of the vector.
4083
4084 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4085
4086 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4087 inside continued strings.
4088
4089 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4090
4091 Timestamp fixes for undo (Bug#14824).
4092 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4093
4094 2013-07-10 Leo Liu <sdl.web@gmail.com>
4095
4096 * files.el (require-final-newline): Allow safe local value.
4097 (Bug#14834)
4098
4099 2013-07-09 Leo Liu <sdl.web@gmail.com>
4100
4101 * ido.el (ido-read-directory-name): Handle fallback.
4102 (ido-read-file-name): Update DIR to ido-current-directory.
4103 (Bug#1516)
4104 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4105
4106 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4107
4108 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4109 "autoload". Remove "warn lower camel case" section, previously
4110 commented out. Highlight negation char. Do not highlight the
4111 target in singleton method definitions.
4112
4113 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * faces.el (tty-setup-hook): Declare the hook.
4116
4117 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4118 and detect when a guard/pred depends on local vars (bug#14773).
4119 (pcase--u1): Adjust caller.
4120
4121 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4122
4123 * simple.el (line-move-partial, line-move): Account for
4124 line-spacing.
4125 (line-move-partial): Avoid setting vscroll when the last
4126 partially-visible line in window is of default height.
4127
4128 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4129
4130 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4131 been used a while.
4132
4133 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4134
4135 * subr.el (read-quoted-char): Remove unused local variable `char'.
4136
4137 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4138
4139 * ediff.el (ediff-version): Version update.
4140 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4141 (ediff-merge-with-ancestor-command, ediff-directories-command)
4142 (ediff-directories3-command, ediff-merge-directories-command)
4143 (ediff-merge-directories-with-ancestor-command): New functions.
4144 All are command-line interfaces to ediff: to facilitate calling
4145 Emacs with the appropriate ediff functions invoked.
4146
4147 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4148 (viper-save-kill-buffer): Check if buffer is modified.
4149
4150 * viper.el (viper-version): Version update.
4151 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4152
4153 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4156 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4157 (viper-intercept-ESC-key): Simplify.
4158 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4159 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4160 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4161 (viper-setup-ESC-to-escape): New functions.
4162 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4163 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4164
4165 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4166
4167 * simple.el (default-font-height, window-screen-lines):
4168 New functions.
4169 (line-move, line-move-partial): Use them instead of
4170 frame-char-height and window-text-height. This makes scrolling
4171 text smoother when the buffer's default face uses a font that is
4172 different from the frame's default font.
4173
4174 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4175
4176 * files.el (write-file): Do not display confirm dialog for NS,
4177 it does its own dialog, which can't be cancelled (Bug#14578).
4178
4179 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4180
4181 * simple.el (line-move-partial): Adjust the row returned by
4182 posn-at-point for the current window-vscroll. (Bug#14567)
4183
4184 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4185
4186 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4187 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4188 spaces.
4189
4190 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4191
4192 * window.el (window-state-put-stale-windows): New variable.
4193 (window--state-put-2): Save list of windows without matching buffer.
4194 (window-state-put): Remove "bufferless" windows if possible.
4195
4196 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4197
4198 * simple.el (alternatives-define): Remove leftover :group keyword.
4199 Tweak docstring.
4200
4201 2013-07-06 Leo Liu <sdl.web@gmail.com>
4202
4203 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4204 (ido-enable-virtual-buffers): New variable.
4205 (ido-buffer-internal, ido-toggle-virtual-buffers)
4206 (ido-make-buffer-list): Use it.
4207 (ido-exhibit): Support turning on and off virtual buffers
4208 automatically.
4209
4210 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4211
4212 * simple.el (alternatives-define): New macro.
4213
4214 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * subr.el (read-quoted-char): Use read-key.
4217 (sit-for): Let read-event decode tty input (bug#14782).
4218
4219 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4220
4221 * calendar/todo-mode.el: Add handling of file deletion, both by
4222 mode command and externally. Fix various related bugs.
4223 Clarify Commentary and improve some documentation strings and code.
4224 (todo-delete-file): New command.
4225 (todo-check-file): New function.
4226 (todo-show): Handle external deletion of the file we're trying to
4227 show (bug#14688). Replace called-interactively-p by an optional
4228 prefix argument to avoid problematic interaction with catch form
4229 when byte compiled (bug#14702).
4230 (todo-quit): Handle external deletion of the archive's todo file.
4231 Make sure the buffer that was visiting the archive file is still
4232 live before trying to bury it.
4233 (todo-category-completions): Handle external deletion of any
4234 category completion files.
4235 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4236 of todo files, in case of external deletion.
4237 (todo-add-file): Replace unnecessary setq by let-binding.
4238 (todo-find-archive): Check whether there are any archives.
4239 Replace unnecessary setq by let-binding.
4240 (todo-archive-done-item): Use find-file-noselect to get the
4241 archive buffer whether or not the archive already exists.
4242 Remove superfluous code. Use file size instead of buffer-file-name to
4243 check if the archive is new; if it is, update list of archives.
4244 (todo-default-todo-file): Allow nil to be a valid value for when
4245 there are no todo files.
4246 (todo-reevaluate-default-file-defcustom): Use corrected definition
4247 of todo-default-todo-file.
4248 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4249 (todo-delete-category, todo-show-categories-table)
4250 (todo-category-number): Clarify comment.
4251 (todo-filter-items): Clarify documentation string.
4252 (todo-show-current-file, todo-display-as-todo-file)
4253 (todo-reset-and-enable-done-separator): Tweak documentation string.
4254 (todo-done-separator): Make separator length window-width, since
4255 bug#2749 is now fixed.
4256
4257 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4260 Support both "gvfs-monitor-dir" and "inotifywait".
4261 (tramp-sh-file-inotifywait-process-filter): Rename from
4262 `tramp-sh-file-notify-process-filter'.
4263 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4264 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4265
4266 2013-07-05 Leo Liu <sdl.web@gmail.com>
4267
4268 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4269
4270 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4271
4272 * frame.el (display-pixel-height, display-pixel-width)
4273 (display-mm-height, display-mm-width): Mention behavior on
4274 multi-monitor setups in docstrings.
4275 (w32-display-monitor-attributes-list): Declare function.
4276 (display-monitor-attributes-list): Use it.
4277
4278 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * filenotify.el: New package.
4281
4282 * autorevert.el (top): Require filenotify.el.
4283 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4284 instead.
4285 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4286 (auto-revert-notify-handler): Use `file-notify-*' functions.
4287
4288 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4289
4290 * net/tramp.el (tramp-file-name-for-operation):
4291 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4292
4293 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4294 for `file-notify-add-watch' and `file-notify-rm-watch'.
4295 (tramp-process-sentinel): Improve trace.
4296 (tramp-sh-handle-file-notify-add-watch)
4297 (tramp-sh-file-notify-process-filter)
4298 (tramp-sh-handle-file-notify-rm-watch)
4299 (tramp-get-remote-inotifywait): New defuns.
4300
4301 2013-07-03 Juri Linkov <juri@jurta.org>
4302
4303 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4304 call of `occur-read-primary-args' to interactive spec.
4305
4306 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4307 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4308
4309 2013-07-03 Matthias Meulien <orontee@gmail.com>
4310
4311 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4312 `Buffer-menu-multi-occur'. Add it to the menu.
4313 (Buffer-menu-mode): Document it in docstring.
4314 (Buffer-menu-multi-occur): New command. (Bug#14673)
4315
4316 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4317
4318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4319 keywords and built-ins.
4320
4321 2013-07-03 Glenn Morris <rgm@gnu.org>
4322
4323 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4324
4325 Make info-xref checks case-sensitive by default
4326 * info.el (Info-find-node, Info-find-in-tag-table)
4327 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4328 Add option for exact case matching of nodes.
4329 * info-xref.el (info-xref): New custom group.
4330 (info-xref-case-fold): New option.
4331 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4332
4333 2013-07-03 Leo Liu <sdl.web@gmail.com>
4334
4335 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4336
4337 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4338
4339 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4340 middle of block statement initially, lower the depth. Remove
4341 FIXME comment, not longer valid. Remove middle of block statement
4342 detection, no need to do that anymore since we've been using
4343 `ruby-parse-region' here.
4344
4345 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4346
4347 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4348
4349 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4350
4351 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4352
4353 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4354
4355 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4356 (desktop-restore-in-current-display): New customization option.
4357 (desktop--excluded-frame-parameters): Add `font'.
4358 (desktop--save-frames): Rename from desktop--save-windows.
4359 (desktop--restore-in-this-display-p): New function.
4360 (desktop--make-full-frame): Remove unwanted width/height from
4361 full(width|height) frames.
4362 (desktop--restore-frames): Rename from desktop--restore-windows.
4363 Obey desktop-restore-current-display. Do not delete old frames or
4364 select a new frame unless we were able to restore at least one frame.
4365
4366 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4367
4368 * files.el (find-file-noselect): Simplify conditional expression.
4369
4370 * remember.el (remember-append-to-file):
4371 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4372
4373 Add `remember-notes' function to store random notes across Emacs
4374 restarts.
4375 * remember.el (remember-data-file): Add :set callback to affect
4376 notes buffer (if any).
4377 (remember-notes): New command.
4378 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4379 New defcustoms for the `remember-notes' function.
4380 (remember-notes-save-and-bury-buffer): New command.
4381 (remember-notes-mode-map): New variable.
4382 (remember-mode): New minor mode.
4383 (remember-notes--kill-buffer-query): New function.
4384 * startup.el (initial-buffer-choice): Add notes to custom type.
4385
4386 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4387
4388 * bindings.el (right-char, left-char): Don't call sit-for, this is
4389 no longer needed. Use arithmetic comparison only for numerical
4390 arguments.
4391
4392 * international/mule-cmds.el (select-safe-coding-system):
4393 Handle the case of FROM being a string correctly. (Bug#14755)
4394
4395 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4396
4397 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4398 progression on degenerate tables.
4399 (shr-rescale-image): ImageMagick animated images currently don't work.
4400
4401 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4402
4403 Some fixes and improvements for desktop frame restoration.
4404 It is still experimental and disabled by default.
4405 * desktop.el (desktop--save-windows): Put the selected frame at
4406 the head of the list.
4407 (desktop--make-full-frame): New function.
4408 (desktop--restore-windows): Try to re-select the frame that was
4409 selected upon saving. Do not abort if some frames fail to restore,
4410 just show an error message and continue. Set up maximized frames
4411 so they have default non-maximized dimensions.
4412
4413 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4414
4415 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4416 Don't start heredoc inside a string or comment.
4417
4418 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4419
4420 * bindings.el (visual-order-cursor-movement): New defcustom.
4421 (right-char, left-char): Provide visual-order cursor motion by
4422 calling move-point-visually. Update the doc strings.
4423
4424 2013-06-28 Kenichi Handa <handa@gnu.org>
4425
4426 * international/mule.el (define-coding-system): New coding system
4427 properties :inhibit-null-byte-detection,
4428 :inhibit-iso-escape-detection, and :prefer-utf-8.
4429 (set-buffer-file-coding-system): If :charset-list property of
4430 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4431 appropriate for setting.
4432
4433 * international/mule-cmds.el (select-safe-coding-system):
4434 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4435 multibyte characters, return utf-8 (or one of its siblings).
4436
4437 * international/mule-conf.el (prefer-utf-8): New coding system.
4438 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4439 files.
4440
4441 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4442
4443 * net/shr.el (shr-render-region): New function.
4444
4445 * net/eww.el: Autoload `eww-browse-url'.
4446
4447 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4448
4449 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4450 Adapt to `package-desc-version' being a list.
4451 Use `package--ac-desc-version' to retrieve version from a package
4452 archive element.
4453
4454 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4455
4456 New experimental feature to save&restore window and frame setup.
4457 * desktop.el (desktop-save-windows): New defcustom.
4458 (desktop--saved-states): New var.
4459 (desktop--excluded-frame-parameters): New defconst.
4460 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4461 (desktop--restore-windows, desktop--save-windows): New functions.
4462 (desktop-save): Call `desktop--save-windows'.
4463 (desktop-read): Call `desktop--restore-windows'.
4464
4465 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4466
4467 * net/shr.el (add-face-text-property): Remove compat definition.
4468
4469 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4470
4471 * info.el (Info-try-follow-nearest-node): Move search for footnote
4472 above search for node name to prevent missing a footnote (bug#14717).
4473
4474 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4475
4476 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4477
4478 2013-06-27 Leo Liu <sdl.web@gmail.com>
4479
4480 * net/eww.el (eww-read-bookmarks): Check file size.
4481
4482 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4485 advice--pending if newdef is nil or an autoload (bug#13820).
4486 (advice-mapc): New function.
4487
4488 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4489
4490 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4491 probably.
4492 (eww-mode-map): Add a menu bar.
4493 (eww-add-bookmark): New command.
4494 (eww-bookmark-mode): New mode and commands.
4495 (eww-add-bookmark): Remove newlines from the title.
4496 (eww-bookmark-browse): Don't bug out if it's the only window.
4497
4498 2013-06-26 Glenn Morris <rgm@gnu.org>
4499
4500 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4501 (hfy-size): Handle ttys. (Bug#14668)
4502
4503 * info-xref.el: Update for Texinfo 5 change in *note format.
4504 (info-xref-node-re, info-xref-note-re): New constants.
4505 (info-xref-check-buffer): Use info-xref-note-re.
4506
4507 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4508
4509 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4510
4511 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4512 nil terminate the loop (bug#14718).
4513
4514 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4515
4516 * net/eww.el: Rework history traversal. When going forward/back,
4517 put these actions into the history, too, so that they can be
4518 replayed.
4519 (eww-render): Move the history reset to the correct buffer.
4520
4521 2013-06-25 Juri Linkov <juri@jurta.org>
4522
4523 * files-x.el (modify-dir-local-variable): Change the header comment
4524 in the file with directory local variables. (Bug#14692)
4525
4526 * files-x.el (read-file-local-variable-value): Add `default'.
4527 (Bug#14710)
4528
4529 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4530
4531 * net/eww.el (eww-make-unique-file-name): Create a unique file
4532 name before saving to entering `y' accidentally asynchronously.
4533
4534 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4535
4536 * net/eww.el (eww-download): New command and keystroke.
4537
4538 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4539
4540 * net/eww.el (eww-copy-page-url): Change name of command.
4541
4542 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4543 be more consistent with Info and dired.
4544
4545 * net/eww.el (eww-mode-map): Ditto.
4546
4547 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4550 packages from archives.
4551 (package-archive-contents): Change format; include obsolete packages.
4552 (package-desc): Use `dir' to mark builtin packages.
4553 (package--from-builtin): Set the `dir' field to `builtin'.
4554 (generated-autoload-file, version-control): Declare.
4555 (package-compute-transaction): Change first arg and return value to be
4556 lists of package-descs. Adjust to new package-archive-contents format.
4557 (package--add-to-archive-contents): Adjust to new
4558 package-archive-contents format.
4559 (package-download-transaction): Arg is now a list of package-descs.
4560 (package-install): If `pkg' is a package name, pass it as
4561 a requirement, so it is subject to the usual (e.g. disabled) checks.
4562 (describe-package): Accept package-desc as well.
4563 (describe-package-1): Describe a specific package-desc. Add links to
4564 other package-descs for the same package name.
4565 (package-menu-describe-package): Pass the actual package-desc.
4566 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4567 works correctly.
4568 (package-desc-status): New function.
4569 (package-menu--refresh): New function, extracted
4570 from package-menu--generate.
4571 (package-menu--generate): Use it.
4572 (package-delete): Update package-alist.
4573 (package-menu-execute): Don't call package-initialize.
4574
4575 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4576 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4577 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4578 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4579 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4580 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4581
4582 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4583
4584 * window.el (window--state-get-1): Workaround for bug#14527.
4585 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4586
4587 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4588
4589 * net/eww.el (eww-back-url): Implement the history by stashing all
4590 the data into a list.
4591 (eww-forward-url): Allow going forward in the history, too.
4592
4593 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4596 for values and use read--expression for expressions (bug#14710).
4597 (read-file-local-variable): Avoid setq.
4598 (read-file-local-variable-mode): Use minor-mode-list.
4599
4600 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4601
4602 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4603 for DOI URLs.
4604
4605 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4606
4607 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4608 Update imenu-support when dialect changes.
4609
4610 2013-06-25 Leo Liu <sdl.web@gmail.com>
4611
4612 * ido.el (ido-read-internal): Allow forward slash on windows.
4613
4614 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4615
4616 * net/eww.el (eww): Start of strings is \\`, not ^.
4617
4618 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4619
4620 * net/shr.el (shr-browse-url): Fix interactive spec.
4621
4622 * net/eww.el (eww): Add a trailing slash to domain names.
4623
4624 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4625
4626 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4627
4628 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4629
4630 * net/shr.el (shr-browse-url): Use an external browser if given a
4631 prefix.
4632
4633 * net/eww.el (eww-external-browser): Move to shr.
4634
4635 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4636
4637 * net/eww.el (eww): Work more correctly for file: URLs.
4638 (eww-detect-charset): Allow quoted charsets.
4639 (eww-yank-page-url): New command and keystroke.
4640
4641 2013-06-24 Daiki Ueno <ueno@gnu.org>
4642
4643 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4644 file name of gpg executable.
4645 (epg-context-program): New function.
4646 (epg-context-home-directory): New function.
4647 (epg-context-set-program): New function.
4648 (epg-context-set-home-directory): New function.
4649 (epg--start): Use `epg-context-program' instead of
4650 'epg-gpg-program'.
4651 (epg--list-keys-1): Likewise.
4652
4653 2013-06-24 Leo Liu <sdl.web@gmail.com>
4654
4655 * ido.el (ido-read-internal): Fix bug#14620.
4656
4657 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4658
4659 * faces.el (face-documentation): Simplify.
4660 (read-face-attribute, tty-find-type, x-resolve-font-name):
4661 Use `string-match-p'.
4662 (list-faces-display): Use `string-match-p'. Simplify.
4663 (face-spec-recalc): Check face to avoid face alias loops.
4664 (read-color): Use `string-match-p' and non-capturing parenthesis.
4665
4666 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4667
4668 * net/shr.el (shr-rescale-image): Use the new
4669 :max-width/:max-height functionality.
4670
4671 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4672
4673 * net/eww.el (eww-search-prefix): New variable.
4674 (eww): Use it.
4675 (eww-external-browser): New variable.
4676 (eww-mode-map): New keystroke.
4677 (eww-browse-with-external-browser): New command.
4678
4679 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4680
4681 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4682
4683 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4684 Don't skip aligning the next header field when padding is 0;
4685 otherwise, field width is not respected unless the title is as
4686 wide as the field.
4687
4688 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * emacs-lisp/package.el (package-el-version): Remove.
4691 (package-process-define-package): Fix inf-loop.
4692 (package-install): Allow symbols as arguments again.
4693
4694 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4695
4696 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4697 add some more keyword-like methods.
4698 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4699
4700 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * bs.el (bs-buffer-show-mark): Make defvar-local.
4703 (bs-mode): Use setq-local.
4704
4705 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4706 (emacs-lock--try-unlocking): Make defvar-local.
4707
4708 2013-06-22 Glenn Morris <rgm@gnu.org>
4709
4710 * play/cookie1.el (cookie-apropos): Minor simplification.
4711
4712 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4713
4714 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4715
4716 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4717 `regexp-opt', it breaks the build during dumping.
4718
4719 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4720
4721 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4722 Highlight keyword-like methods on Kernel and Module with
4723 font-lock-builtin-face.
4724 (auto-mode-alist): Consolidate different entries into one regexp
4725 and add more *file-s.
4726
4727 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4728
4729 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4730
4731 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4732 (diary-entry): Use it in the action of this button type instead of
4733 diary-goto-entry.
4734
4735 * calendar/todo-mode.el: New version.
4736 (todo-add-category): Append new category to end of file and give
4737 it the highest number, instead of putting it at the beginning and
4738 giving it 0. Incorporate noninteractive functionality.
4739 (todo-forward-category): Adapt to 1-based category numbering.
4740 Allow skipping over archived categories.
4741 (todo-backward-category): Derive from todo-forward-category.
4742 (todo-backward-item, todo-forward-item): Make noninteractive and
4743 delegate interactive part to new commands. Make sensitive to done items.
4744 (todo-categories): Make value an alist of category names and
4745 vectors of item counts.
4746 (todo-category-beg): Make a defconst.
4747 (todo-category-number): Use 1 instead of 0 as initial value.
4748 (todo-category-select): Make sensitive to overlays, optional item
4749 highlighting and done items.
4750 (todo-delete-item): Make sensitive to overlays and marked and done items.
4751 (todo-edit-item): Make sensitive to overlays and editing of
4752 date/time header optional. Add format checks.
4753 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4754 no-op if point is not on an item. Advertise using todo-edit-quit.
4755 (todo-edit-mode): Make sensitive to new format, font-locking, and
4756 multiple todo files.
4757 (todo-insert-item, todo-insert-item-here): Derive from
4758 todo-basic-insert-item and extend functionality.
4759 (todo-item-end, todo-item-start): Make sensitive to done items.
4760 (todo-item-string): Don't return text properties. Restore point.
4761 (todo-jump-to-category): Make sensitive to multiple todo files and
4762 todo archives. Use extended category completion.
4763 (todo-lower-item, todo-raise-item): Rename to *-priority and
4764 derive from todo-set-item-priority.
4765 (todo-mode): Derive from special-mode. Make sensitive to new
4766 format, font-locking and multiple todo files. Make read-only.
4767 (todo-mode-map): Don't suppress digit keys, so they can supply
4768 prefix arguments. Add many new key bindings.
4769 (todo-prefix): Insert as an overlay instead of file text.
4770 Change semantics from diary date expression to purely visual mark.
4771 (todo-print): Rename to todo-print-buffer. Make buffer display
4772 features printable. Remove option to restrict number of items
4773 printed. Add option to print to file.
4774 (todo-print-function): Rename to todo-print-buffer-function.
4775 (todo-quit): Extend to handle exiting new todo modes.
4776 (todo-remove-item): Make sensitive to overlays.
4777 (todo-save): Extend to buffers of filtered items.
4778 (todo-show): Make sensitive to done items, multiple todo files and
4779 new todo modes. Offer to convert legacy todo file before creating
4780 first new todo file.
4781 (todo-show-priorities): Rename to todo-top-priorities.
4782 Change semantics of value 0.
4783 (todo-top-priorities): Rename to todo-filter-top-priorities,
4784 derive from todo-filter-items and extend functionality.
4785 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4786 and extend functionality to other types of filtered items.
4787 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4788 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4789 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4790 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4791 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4792 (todo-edit-mode-hook, todo-entry-prefix-function)
4793 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4794 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4795 (todo-initials, todo-insert-threshold, todo-item-string-start)
4796 (todo-line-string, todo-menu, todo-mode-hook)
4797 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4798 (todo-print-priorities, todo-remove-separator)
4799 (todo-save-top-priorities-too, todo-string-count-lines)
4800 (todo-string-multiline-p, todo-time-string-format)
4801 (todo-tmp-buffer-name): Remove.
4802 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4803 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4804 (todo-edit-category-diary-inclusion)
4805 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4806 (todo-edit-file, todo-edit-item-date-day)
4807 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4808 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4809 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4810 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4811 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4812 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4813 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4814 (todo-filter-top-priorities-multifile, todo-find-archive)
4815 (todo-find-filtered-items-file, todo-go-to-source-item)
4816 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4817 (todo-jump-to-archive-category, todo-lower-category)
4818 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4819 (todo-move-category, todo-move-item, todo-next-button)
4820 (todo-next-item, todo-padded-string, todo-powerset)
4821 (todo-previous-button, todo-previous-item)
4822 (todo-print-buffer-to-file, todo-raise-category)
4823 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4824 (todo-set-category-number, todo-set-item-priority)
4825 (todo-set-top-priorities-in-category)
4826 (todo-set-top-priorities-in-file, todo-show-categories-table)
4827 (todo-sort-categories-alphabetically-or-numerically)
4828 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4829 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4830 (todo-toggle-item-header, todo-toggle-item-highlighting)
4831 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4832 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4833 (todo-unarchive-items, todo-unmark-category): New commands.
4834 (todo-absolute-file-name, todo-add-to-buffer-list)
4835 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4836 (todo-basic-insert-item, todo-category-completions)
4837 (todo-category-number, todo-category-string-matcher-1)
4838 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4839 (todo-check-format, todo-clear-matches)
4840 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4841 (todo-current-category, todo-date-string-matcher)
4842 (todo-define-insertion-command, todo-diary-expired-matcher)
4843 (todo-diary-goto-entry, todo-diary-item-p)
4844 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4845 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4846 (todo-done-item-section-p, todo-done-separator)
4847 (todo-done-string-matcher, todo-files, todo-filter-items)
4848 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4849 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4850 (todo-insert-category-line, todo-insert-item-from-calendar)
4851 (todo-insert-sort-button, todo-insert-with-overlays)
4852 (todo-insertion-command-name, todo-insertion-key-bindings)
4853 (todo-label-to-key, todo-longest-category-name-length)
4854 (todo-make-categories-list, todo-mode-external-set)
4855 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4856 (todo-modes-set-3, todo-multiple-filter-files)
4857 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4858 (todo-read-category, todo-read-date, todo-read-dayname)
4859 (todo-read-file-name, todo-read-time)
4860 (todo-reevaluate-category-completions-files-defcustom)
4861 (todo-reevaluate-default-file-defcustom)
4862 (todo-reevaluate-filelist-defcustoms)
4863 (todo-reevaluate-filter-files-defcustom)
4864 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4865 (todo-reset-done-separator, todo-reset-done-separator-string)
4866 (todo-reset-done-string, todo-reset-global-current-todo-file)
4867 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4868 (todo-reset-prefix, todo-set-categories)
4869 (todo-set-date-from-calendar, todo-set-show-current-file)
4870 (todo-set-top-priorities, todo-short-file-name)
4871 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4872 (todo-total-item-counts, todo-update-buffer-list)
4873 (todo-update-categories-display, todo-update-categories-sexp)
4874 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4875 New functions.
4876 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4877 New major modes.
4878 (todo-categories, todo-display, todo-edit, todo-faces)
4879 (todo-filtered): New defgroups.
4880 (todo-archived-only, todo-button, todo-category-string, todo-date)
4881 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4882 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4883 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4884 (todo-add-item-if-new-category, todo-always-add-time-string)
4885 (todo-categories-align, todo-categories-archived-label)
4886 (todo-categories-category-label, todo-categories-diary-label)
4887 (todo-categories-done-label, todo-categories-number-separator)
4888 (todo-categories-todo-label, todo-categories-totals-label)
4889 (todo-category-completions-files, todo-completion-ignore-case)
4890 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4891 (todo-done-separator-string, todo-done-string)
4892 (todo-files-function, todo-filter-done-items, todo-filter-files)
4893 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4894 (todo-initial-category, todo-initial-file, todo-item-mark)
4895 (todo-legacy-date-time-regexp, todo-mode-line-function)
4896 (todo-nondiary-marker, todo-number-prefix)
4897 (todo-print-buffer-function, todo-show-current-file)
4898 (todo-show-done-only, todo-show-first, todo-show-with-done)
4899 (todo-skip-archived-categories, todo-top-priorities-overrides)
4900 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4901 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4902 New defcustoms.
4903 (todo-category-done, todo-date-pattern, todo-date-string-start)
4904 (todo-diary-items-buffer, todo-done-string-start)
4905 (todo-filtered-items-buffer, todo-item-start)
4906 (todo-month-abbrev-array, todo-month-name-array)
4907 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4908 (todo-top-priorities-buffer): New defconsts.
4909 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4910 (todo-categories-with-marks, todo-category-string-face)
4911 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4912 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4913 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4914 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4915 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4916 (todo-font-lock-keywords, todo-global-current-todo-file)
4917 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4918 (todo-insertion-commands-args)
4919 (todo-insertion-commands-args-genlist)
4920 (todo-insertion-commands-names, todo-insertion-map)
4921 (todo-key-bindings-t, todo-key-bindings-t+a)
4922 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4923 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4924 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4925 (todo-visited): New variables.
4926
4927 2013-06-21 Glenn Morris <rgm@gnu.org>
4928
4929 * play/cookie1.el (cookie-apropos): Add optional display argument.
4930 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4931 (psychoanalyze-pinhead): Use cookie-doctor.
4932
4933 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4934
4935 * emacs-lisp/package.el (tar-get-file-descriptor)
4936 (tar--extract): Declare.
4937
4938 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4939
4940 Extend flymake's warning predicate to be a function (bug#14217).
4941 * progmodes/flymake.el (flymake-warning-predicate): New.
4942 (flymake-parse-line): Use it.
4943 (flymake-warning-re): Make obsolete alias to
4944 `flymake-warning-predicate'.
4945
4946 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4949 (package-obsolete-list): Remove.
4950 (package-activate): Remove min-version argument. Add `force' argument.
4951 Adjust to new package-alist format.
4952 (package-mark-obsolete): Remove.
4953 (package-unpack): Force reload of the package's autoloads.
4954 (package-installed-p): Check builtins if the installed package is not
4955 recent enough.
4956 (package-initialize): Don't reset package-obsolete-list.
4957 Don't specify which package version to activate.
4958 (package-process-define-package, describe-package-1)
4959 (package-menu--generate): Adjust to new package-alist format.
4960
4961 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * allout-widgets.el (allout-widgets-mode-off)
4964 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4965 (allout-widgets-post-command-business)
4966 (allout-widgets-after-copy-or-kill-function)
4967 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4968 (allout-decorate-item-and-context)
4969 (allout-graphics-modification-handler): Fix typos in docstrings.
4970 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4971
4972 * cmuscheme.el (scheme-start-file): Doc fix.
4973 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4974 (scheme-input-filter): Use `string-match-p'.
4975
4976 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4977
4978 * dired-x.el: Use Dired consistently in docstrings.
4979
4980 * dired.el: Use Dired consistently in docstrings.
4981 (dired-readin, dired-mode): Use `setq-local'.
4982 (dired-switches-alist): Make defvar-local.
4983 (dired-buffers-for-dir): Use `zerop'.
4984 (dired-safe-switches-p, dired-switches-escape-p)
4985 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4986 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4987 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4988 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4989 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4990 (dired-toggle-marks, dired-mark-files-containing-regexp)
4991 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4992 (dired-flag-auto-save-files, dired-flag-backup-files):
4993 Use `looking-at-p'.
4994 (dired-mark-files-regexp, dired-build-subdir-alist):
4995 Use `string-match-p', `looking-at-p'.
4996
4997 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4998 (direct-print-region-helper): Use `string-match-p'.
4999
5000 2013-06-21 Leo Liu <sdl.web@gmail.com>
5001
5002 * comint.el (comint-redirect-results-list-from-process):
5003 Fix infinite loop.
5004
5005 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5006
5007 * net/eww.el (eww-update-header-line-format): Quote % characters.
5008
5009 2013-06-21 Glenn Morris <rgm@gnu.org>
5010
5011 * play/cookie1.el (cookie): New custom group.
5012 (cookie-file): New option.
5013 (cookie-check-file): New function.
5014 (cookie): Make it interactive. Make start and end messages optional.
5015 Interactively, display the result. Default to cookie-file.
5016 (cookie-insert): Default to cookie-file.
5017 (cookie-snarf): Make start and end messages optional.
5018 Default to cookie-file. Use with-temp-buffer.
5019 (cookie-read): Rename from read-cookie.
5020 Make start and end messages optional. Default to cookie-file.
5021 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5022 Do not autoload it.
5023 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5024 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5025
5026 2013-06-21 Leo Liu <sdl.web@gmail.com>
5027
5028 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5029
5030 2013-06-21 Glenn Morris <rgm@gnu.org>
5031
5032 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5033
5034 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5035 Daniel Hackney <dan@haxney.org>
5036
5037 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5038 Consolidate the single-file vs tarball code.
5039 (package-desc-suffix): New function.
5040 (package-desc-full-name): Don't bother inlining it.
5041 (package-load-descriptor): Return the new package-desc.
5042 (package-mark-obsolete): Remove unused arg `package'.
5043 (package-unpack): Make it work for single files as well.
5044 Make it update package-alist.
5045 (package--make-autoloads-and-stuff): Rename from
5046 package--make-autoloads-and-compile. Don't compile any more.
5047 (package--compile): New function.
5048 (package-generate-description-file): New function, extracted from
5049 package-unpack-single.
5050 (package-unpack-single): Remove.
5051 (package--with-work-buffer): Add indentation and debugging info.
5052 (package-download-single): Remove.
5053 (package-install-from-archive): Rename from package-download-tar, make
5054 it take a pkg-desc, and make it work for single files as well.
5055 (package-download-transaction): Simplify.
5056 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5057 external tar program.
5058 (package-install-from-buffer): Remove `pkg-desc' argument.
5059 Use package-tar-file-info for tar-mode buffers.
5060 (package-install-file): Simplify accordingly.
5061 (package-archive-base): Change to take a pkg-desc.
5062 * tar-mode.el (tar--check-descriptor): New function, extracted from
5063 tar-get-descriptor.
5064 (tar-get-descriptor): Use it.
5065 (tar-get-file-descriptor): New function.
5066 (tar--extract): New function, extracted from tar-extract.
5067 (tar--extract): Use it.
5068 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5069 case the summary uses non-ascii. Adjust to new calling convention of
5070 package-tar-file-info.
5071
5072 2013-06-21 Leo Liu <sdl.web@gmail.com>
5073
5074 * comint.el (comint-redirect-results-list-from-process):
5075 Fix random delay. (Bug#14681)
5076
5077 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5078
5079 * profiler.el (profiler-format-number): Use log, not log10.
5080
5081 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5082
5083 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5084
5085 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5086
5087 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5088 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5089 yet available.
5090 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5091 (AUTOGENEL): ... here.
5092 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5093 (cl--defsubst-expand): Use it.
5094
5095 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5096
5097 * subr.el (log10): Move here from C code, and declare as obsolete.
5098 All uses of (log10 X) replaced with (log X 10).
5099
5100 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5101
5102 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5103 Declare with `defvar-local'.
5104 (tabulated-list-use-header-line, tabulated-list-entries)
5105 (tabulated-list-padding, tabulated-list-printer)
5106 (tabulated-list-sort-key): Declare with `defvar-local'.
5107 (tabulated-list-init-header, tabulated-list-print-fake-header):
5108 Use `setq-local'.
5109
5110 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * arc-mode.el (archive-mode): Add `archive-write-file' to
5113 `write-contents-functions' also for remote files. (Bug#14652)
5114
5115 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5116
5117 * cus-edit.el (custom-commands): Fix typos.
5118 (custom-display): Fix tooltip text.
5119 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5120 Fix typos in docstrings.
5121 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5122 (custom-unlispify-menu-entry, custom-magic-value-create)
5123 (custom-add-see-also, custom-group-value-create): Use ?\s.
5124 (custom-guess-type, customize-apropos, editable-field)
5125 (custom-face-value-create): Use `string-match-p'.
5126 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5127
5128 * custom.el (custom-load-symbol): Use `string-match-p'.
5129
5130 * ansi-color.el: Convert to lexical binding.
5131 (ansi-colors): Fix URL.
5132 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5133 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5134 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5135
5136 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5137
5138 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5139
5140 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5141
5142 2013-06-19 Tom Tromey <tromey@redhat.com>
5143
5144 * net/eww.el (eww-top-url): Remove.
5145 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5146 (eww-render): Set new variables. Don't set eww-top-url.
5147 (eww-handle-link): Handle "prev", "home", and "contents".
5148 Downcase the rel text.
5149 (eww-top-url): Choose best top URL.
5150
5151 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5152
5153 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5154 relying in widget.el. Using widget.el leads to too many
5155 user interface inconsistencies.
5156 (eww-self-insert): Implement entering commands in text fields.
5157 (eww-process-text-input): New function to make text input field editing
5158 work.
5159 (eww-submit): Rewrite to use the new-style form methods.
5160 (eww-select-display): Display the correct selected item.
5161 (eww-change-select): Implement changing the select value.
5162 (eww-toggle-checkbox): Implement radio/checkboxes.
5163 (eww-update-field): Fix compilation error.
5164 (eww-tag-textarea): Implement <textarea>.
5165
5166 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5167 we don't shadow mode-specific bindings.
5168
5169 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5170 nothing to push.
5171
5172 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5173
5174 2013-06-19 Glenn Morris <rgm@gnu.org>
5175
5176 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5177
5178 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5179
5180 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5181 not needed.
5182
5183 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5184
5185 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5186
5187 * net/browse-url.el (browse-url-browser-function):
5188 `eww-browse-url' has the right calling signature, `eww' does not.
5189
5190 2013-06-19 Glenn Morris <rgm@gnu.org>
5191
5192 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5193 Only eval autoloaded macros.
5194 (byte-compile-autoload): Only give the macro warning for macros.
5195
5196 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5197 (ps-underlined-faces): Declare.
5198
5199 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5200 (speedbar-add-supported-extension): Declare.
5201
5202 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5203 Don't include a date stamp in the header of the generated file;
5204 it leads to needless differences between output files.
5205
5206 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * net/secrets.el (secrets-struct-secret-content-type):
5209 Replace check of introspection data by a test call of "CreateItem".
5210 Some servers do not offer introspection.
5211
5212 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * electric.el (electric-pair-mode): Improve interaction with
5215 electric-layout-mode.
5216 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5217 (electric-pair-syntax): Use text-mode-syntax-table in comments
5218 and strings.
5219 (electric-pair--insert): New function.
5220 (electric-pair-post-self-insert-function): Use it and
5221 electric--after-char-pos.
5222
5223 2013-06-19 Leo Liu <sdl.web@gmail.com>
5224
5225 * progmodes/octave.el (octave-help): Fix regexp.
5226
5227 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5228
5229 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5230 (shr-table-horizontal-line): Allow nil as a value, and change the
5231 default.
5232 (shr-insert-table-ruler): Respect the nil value.
5233
5234 2013-06-18 Tom Tromey <tromey@barimba>
5235
5236 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5237 New defvars.
5238 (eww-open-file): New defun.
5239 (eww-render): Initialize new variables.
5240 (eww-display-html): Handle "link" and "a".
5241 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5242 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5243 (eww-back-url): Rename from eww-previous-url.
5244 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5245 New defuns.
5246
5247 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5248
5249 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5250 Distinguish ternary operator tokens from slash symbol and slash
5251 char literal.
5252
5253 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5254
5255 Convert symbol prettification into minor mode and global minor mode.
5256
5257 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5258 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5259 (prettify-symbols--keywords): Rename from
5260 `prog-prettify-symbols-alist' and make a local defvar.
5261 (prettify-symbols--compose-symbol): Rename from
5262 `prog--prettify-font-lock-compose-symbol'.
5263 (prettify-symbols--make-keywords): Rename from
5264 `prog-prettify-font-lock-symbols-keywords' and simplify.
5265 (prog-prettify-install): Remove.
5266 (prettify-symbols-mode): New minor mode, based on
5267 `prog-prettify-install'.
5268 (turn-on-prettify-symbols-mode): New function.
5269 (global-prettify-symbols-mode): New globalized minor mode.
5270
5271 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5272 * progmodes/cfengine.el (cfengine3-mode):
5273 * progmodes/perl-mode.el (perl-mode): Don't call
5274 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5275
5276 2013-06-18 Juri Linkov <juri@jurta.org>
5277
5278 * files-x.el (modify-file-local-variable-message): New function.
5279 (modify-file-local-variable)
5280 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5281 and call `modify-file-local-variable-message' when it's non-nil.
5282 (add-file-local-variable, delete-file-local-variable)
5283 (add-file-local-variable-prop-line)
5284 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5285 and use it. (Bug#9820)
5286
5287 2013-06-18 Juri Linkov <juri@jurta.org>
5288
5289 * emulation/vi.el (vi-shell-op):
5290 * emulation/vip.el (vip-execute-com, ex-command):
5291 * emulation/viper-cmd.el (viper-exec-bang):
5292 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5293 the call of `shell-command-on-region'. (Bug#14637)
5294
5295 * simple.el (shell-command-on-region): Doc fix.
5296
5297 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5300 (bug#14633).
5301
5302 2013-06-18 Glenn Morris <rgm@gnu.org>
5303
5304 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5305
5306 * newcomment.el (comment-search-forward, comment-search-backward):
5307 Doc fix. (Bug#14376)
5308
5309 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5310
5311 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5312 (buffer-face-mode-invoke): Doc fix.
5313
5314 2013-06-18 Matthias Meulien <orontee@gmail.com>
5315
5316 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5317 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5318
5319 2013-06-18 Glenn Morris <rgm@gnu.org>
5320
5321 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5322 Replace obsolete function generic-make-keywords with its expansion.
5323
5324 * progmodes/python.el (ffap-alist): Declare.
5325
5326 * textmodes/reftex.el (bibtex-mode-map): Declare.
5327
5328 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5331 (package-unpack, package-unpack-single): Return the pkg-dir.
5332 (package-download-transaction): Use it to update package-alist.
5333
5334 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5335
5336 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5337 possible choice.
5338
5339 2013-06-17 Juri Linkov <juri@jurta.org>
5340
5341 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5342
5343 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5344
5345 * emacs-lisp/package.el (package-load-descriptor):
5346 Remove `with-syntax-table' call, `read' doesn't need it.
5347 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5348
5349 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5350
5351 * startup.el (command-line): Expand package name returned by
5352 `package--description-file' (bug#14639).
5353
5354 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5355
5356 * emacs-lisp/package.el (package-load-descriptor): Do not call
5357 `emacs-lisp-mode', just use its syntax table.
5358
5359 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5360
5361 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5362 `font-lock-extra-managed-props' if any prettifying keyword is added.
5363 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5364 (prog-mode): Use `setq-local'.
5365
5366 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * international/characters.el (standard-case-table): Set syntax of ?»
5369 and ?« to punctuation.
5370
5371 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5374 Save relevant match data before calling `syntax-ppss' (bug#14595).
5375
5376 2013-06-15 Juri Linkov <juri@jurta.org>
5377
5378 * files-x.el (modify-file-local-variable-prop-line): Add local
5379 variables to the end of the existing comment on the first line.
5380 Use `file-auto-mode-skip' to skip interpreter magic line,
5381 and also skip XML declaration.
5382
5383 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * startup.el (package--builtin-versions): New var.
5386 (package-subdirectory-regexp): Remove.
5387 (package--description-file): Hard code its value instead.
5388
5389 * emacs-lisp/package.el: Don't activate packages older than builtin.
5390 (package-obsolete-list): Rename from package-obsolete-alist, and make
5391 it into a simple list of package-desc.
5392 (package-strip-version): Remove.
5393 (package-built-in-p): Use package--builtin-versions.
5394 (package-mark-obsolete): Simplify.
5395 (package-process-define-package): Mark it obsolete if older than the
5396 builtin version.
5397 (package-handle-response): Use line-end-position.
5398 (package-read-archive-contents, package--download-one-archive):
5399 Simplify.
5400 (package--add-to-archive-contents): Skip if older than the builtin or
5401 installed version.
5402 (package-menu-describe-package): Fix last change.
5403 (package-list-unversioned): New var.
5404 (package-menu--generate): Use it.
5405
5406 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5407 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5408 (autoload-builtin-package-versions): New variable.
5409 (autoload-generate-file-autoloads): Use them.
5410 Remove the list of autoloaded functions/macros from the
5411 (autoload...) comments.
5412
5413 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5414
5415 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5416
5417 * simple.el (line-move-partial): Don't jump to the next screen
5418 line as soon as it becomes visible. Instead, continue enlarging
5419 the vscroll until the portion of a tall screen line that's left on
5420 display is about the height of the frame's default font.
5421 (Bug#14567)
5422
5423 2013-06-15 Glenn Morris <rgm@gnu.org>
5424
5425 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5426 compilation-error-regexp-alist void, or local while let-bound.
5427
5428 * progmodes/make-mode.el (makefile-mode-syntax-table):
5429 Treat "=" as punctuation. (Bug#14614)
5430
5431 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * help-fns.el (describe-variable):
5434 Add extra line for permanent-local variables.
5435
5436 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5437
5438 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5439 Add export, import, library. (Bug#9164)
5440 (library): Set indent function.
5441
5442 2013-06-14 Glenn Morris <rgm@gnu.org>
5443
5444 * term/xterm.el (xterm--query):
5445 Stop after first matching handler. (Bug#14615)
5446
5447 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5448
5449 Add support for dired in saveplace.
5450 * dired.el (dired-initial-position-hook): New variable.
5451 (dired-initial-position): Call hook to place cursor position.
5452 * saveplace.el (save-place-to-alist): Add dired position.
5453 (save-place-dired-hook): New function.
5454
5455 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5458 through a symbol rather than letrec.
5459
5460 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5461 (package-desc): Add `dir' field.
5462 (package-desc-full-name): New function.
5463 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5464 (package-maybe-load-descriptor): Remove.
5465 (package-load-all-descriptors): Just call package-load-descriptor.
5466 (package--disabled-p): New function.
5467 (package-desc-vers, package-desc-doc): Remove aliases.
5468 (package--dir): Remove function.
5469 (package-activate): Check if a package is disabled.
5470 (package-process-define-package): New function, extracted from
5471 define-package.
5472 (define-package): Turn into a place holder.
5473 (package-unpack-single, package-tar-file-info):
5474 Use package--description-file.
5475 (package-compute-transaction): Use package--disabled-p.
5476 (package-download-transaction): Don't call
5477 package-maybe-load-descriptor since they're all loaded anyway.
5478 (package-install): Change argument to be a pkg-desc.
5479 (package-delete): Use a single pkg-desc argument.
5480 (describe-package-1): Use package-desc-dir instead of package--dir.
5481 Use package-desc property instead of package-symbol.
5482 (package-install-button-action): Adjust accordingly.
5483 (package--push): Rewrite.
5484 (package-menu--print-info): Adjust accordingly. Change the ID format
5485 to be a pkg-desc.
5486 (package-menu-describe-package, package-menu-get-status)
5487 (package-menu--find-upgrades, package-menu-mark-upgrades)
5488 (package-menu-execute, package-menu--name-predicate):
5489 Adjust accordingly.
5490 * startup.el (package--description-file): New function.
5491 (command-line): Use it.
5492 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5493 Use package-desc-version.
5494
5495 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5496 (byte-compile-preprocess): Use it.
5497 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5498 can't quite recognize.
5499 (byte-compile-add-to-list): Remove.
5500 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5501 (cconv-closure-convert): Add assertion.
5502
5503 * emacs-lisp/map-ynp.el: Use lexical-binding.
5504 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5505 Factor out some repeated code.
5506
5507 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * subr.el (with-eval-after-load): New macro.
5510 (eval-after-load): Allow form to be a function.
5511 take advantage of lexical-binding.
5512 (do-after-load-evaluation): Use dolist and adjust to new format.
5513 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5514
5515 2013-06-13 Juri Linkov <juri@jurta.org>
5516
5517 * replace.el (perform-replace): Display "symbol " and other search
5518 modes from `isearch-message-prefix' in the *Help* buffer.
5519
5520 * isearch.el (isearch-query-replace): Add " symbol" and other
5521 possible search modes from `isearch-message-prefix' to the prompt.
5522 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5523 when reading a regexp to collect.
5524
5525 2013-06-13 Juri Linkov <juri@jurta.org>
5526
5527 * isearch.el (word-search-regexp): Match whitespace if the search
5528 string begins or ends in whitespace. The LAX arg is applied to
5529 both ends of the search string. Use `regexp-quote' and explicit
5530 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5531 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5532 boundaries are replaced with symbol boundaries, and characters
5533 between symbols match non-word non-symbol syntax. (Bug#14602)
5534
5535 2013-06-13 Juri Linkov <juri@jurta.org>
5536
5537 * isearch.el (isearch-del-char): Don't exceed the length of
5538 `isearch-string' by the prefix arg. (Bug#14563)
5539
5540 2013-06-13 Juri Linkov <juri@jurta.org>
5541
5542 * isearch.el (isearch-yank-word, isearch-yank-line)
5543 (isearch-char-by-name, isearch-quote-char)
5544 (isearch-printing-char, isearch-process-search-char):
5545 Add optional count prefix arg. (Bug#14563)
5546
5547 * international/isearch-x.el
5548 (isearch-process-search-multibyte-characters):
5549 Add optional count prefix arg.
5550
5551 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5554 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5555 lexical-binding.
5556
5557 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5558
5559 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5560
5561 2013-06-13 Glenn Morris <rgm@gnu.org>
5562
5563 * startup.el (tty-handle-args):
5564 Don't just discard "--" and anything after. (Bug#14608)
5565
5566 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5567
5568 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5569
5570 Implement changes in Secret Service API. Make it backward compatible.
5571 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5572 (secrets-create-item): Use it. Prefix properties with interface.
5573
5574 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5575
5576 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5577 (term-emulate-terminal): Respect term-suppress-hard-newline.
5578
5579 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5580
5581 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5582 Only remove a `thumb-file' overlay. (Bug#14548)
5583
5584 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5585
5586 * mail/reporter.el (reporter-submit-bug-report):
5587 Handle missing package-name. (Bug#14600)
5588
5589 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5590
5591 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5592 (reftex-citation-prompt, reftex-default-bibliography)
5593 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5594 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5595 (reftex-bib-sort-author, reftex-bib-sort-year)
5596 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5597 (reftex-extract-bib-entries-from-thebibliography)
5598 (reftex-get-bibkey-default, reftex-get-bib-names)
5599 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5600 (reftex-format-bib-entry, reftex-parse-bibitem)
5601 (reftex-format-bibitem, reftex-do-citation)
5602 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5603 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5604 (reftex-insert-bib-matches, reftex-format-citation)
5605 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5606 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5607 existing comments into docstrings.
5608
5609 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5610
5611 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5612
5613 2013-06-12 Andreas Schwab <schwab@suse.de>
5614
5615 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5616 for auto-save files.
5617
5618 2013-06-12 Glenn Morris <rgm@gnu.org>
5619
5620 * ido.el (ido-delete-ignored-files): Remove.
5621 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5622 Go back to calling ido-ignore-item-p directly.
5623
5624 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5625
5626 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5627
5628 * ido.el (ido-delete-ignored-files): New function,
5629 split from ido-make-file-list-1.
5630 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5631 (ido-make-file-list-1): Use ido-delete-ignored-files.
5632
5633 2013-06-12 Leo Liu <sdl.web@gmail.com>
5634
5635 * progmodes/octave.el (inferior-octave-startup)
5636 (inferior-octave-completion-table)
5637 (inferior-octave-track-window-width-change)
5638 (octave-eldoc-function-signatures, octave-help)
5639 (octave-find-definition): Use single quoted strings.
5640 (inferior-octave-startup-args): Change default value.
5641 (inferior-octave-startup): Do not hard code "-i" and
5642 "--no-line-editing".
5643 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5644 (inferior-octave-directory-tracker): Use it.
5645 (octave-goto-function-definition): Robustify.
5646 (octave-help): Support highlighting operators in 'See also'.
5647 (octave-find-definition): Find subfunctions only in Octave mode.
5648
5649 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * help-fns.el (help-fns--compiler-macro): If the handler function is
5652 named, then put a link to it.
5653 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5654 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5655 (cl-typep): Use it.
5656 (cl-eval-when): Simplify debug spec.
5657 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5658 compiler-macro function instead of setting `compiler-macro-file'.
5659
5660 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5661
5662 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5663 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5664
5665 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5666 Daniel Hackney <dan@haxney.org>
5667
5668 First part of Daniel Hackney's patch to package.el.
5669 * emacs-lisp/package.el: Use defstruct.
5670 (package-desc): New, main struct.
5671 (package--bi-desc, package--ac-desc): New structs, used to describe the
5672 format in external files.
5673 (package-desc-vers): Replace with package-desc-version accessor.
5674 (package-desc-doc): Replace with package-desc-summary accessor.
5675 (package-activate-1): Remove `package' arg since the pkg-vec now
5676 includes the name.
5677 (define-package): Use package-desc-from-define.
5678 (package-unpack-single): Change file-name arg to be a symbol.
5679 (package--add-to-archive-contents): Use package-desc-create and new
5680 accessor functions to package--ac-desc.
5681 (package-buffer-info, package-tar-file-info): Return a package-desc.
5682 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5683 arg to be a package-desc.
5684 (package-install-file): Adjust accordingly. Use \' to match EOS.
5685 (package--from-builtin): New function.
5686 (describe-package-1, package-menu--generate): Use it.
5687 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5688 (package-generate-autoloads): Idem and return the name of the file.
5689 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5690 Change pkg-info arg to be a package-desc.
5691 Use package-make-ac-desc.
5692 (package-upload-file): Use \' to match EOS.
5693 * finder.el (finder-compile-keywords): Use package-make-builtin.
5694
5695 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * vc/vc.el (vc-deduce-fileset): Change error message.
5698 (vc-read-backend): New function.
5699 (vc-next-action): Use it.
5700
5701 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5702
5703 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5704 (prolog-font-lock-keywords): Use regexp-opt instead.
5705 Don't manually highlight strings.
5706 (prolog-mode-variables): Simplify comment-start-skip.
5707 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5708
5709 * emacs-lisp/generic.el (generic--normalise-comments)
5710 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5711 (generic-mode-set-comments): Use them.
5712 (generic-bracket-support): Use setq-local.
5713 (generic-make-keywords-list): Declare obsolete.
5714
5715 2013-06-11 Glenn Morris <rgm@gnu.org>
5716
5717 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5718 Prettify after setting font-lock-defaults. (Bug#14574)
5719
5720 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5721
5722 * replace.el (query-replace, occur-read-regexp-defaults-function)
5723 (replace-search):
5724 * subr.el (declare-function, number-sequence, local-set-key)
5725 (substitute-key-definition, locate-user-emacs-file)
5726 (with-silent-modifications, split-string, eval-after-load):
5727 Fix typos, remove unneeded backslashes and reflow some docstrings.
5728
5729 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5732 default for Elisp files.
5733
5734 2013-06-11 Glenn Morris <rgm@gnu.org>
5735
5736 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5737 although define-derived-mode was doing this anyway. (Bug#14583)
5738
5739 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5740
5741 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5742 Fix make-variable-buffer-local call to refer to the correct variable.
5743
5744 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5745
5746 * eshell/em-term.el (eshell-visual-commands)
5747 (eshell-visual-subcommands, eshell-visual-options):
5748 Add summary line to docstrings. Add cross-references.
5749
5750 2013-06-10 Glenn Morris <rgm@gnu.org>
5751
5752 * epa.el (epa-read-file-name): New function. (Bug#14510)
5753 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5754
5755 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5756
5757 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5758 output redirection to be ignored with visual commands.
5759
5760 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5761
5762 * eshell/em-term.el (eshell-visual-command-p): New function.
5763 (eshell-term-initialize): Move long lambda to separate function
5764 eshell-visual-command-p.
5765 * eshell/em-dirs.el (eshell-dirs-initialise):
5766 * eshell/em-script.el (eshell-script-initialize):
5767 Add missing #' to lambda.
5768
5769 2013-06-08 Leo Liu <sdl.web@gmail.com>
5770
5771 * progmodes/octave.el (octave-add-log-current-defun): New function.
5772 (octave-mode): Set add-log-current-defun-function.
5773 (octave-goto-function-definition): Do not move point if not found.
5774 (octave-find-definition): Enhance to try subfunctions first.
5775
5776 2013-06-08 Glenn Morris <rgm@gnu.org>
5777
5778 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5779 (byte-compile-backward-char, byte-compile-backward-word):
5780 Improve previous change, to handle non-explicit nil.
5781
5782 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5785 (smie--opener/closer-at-point): New function.
5786 (smie--matching-block-data): Use it. Don't match from right after an
5787 opener or right before a closer. Obey smie-blink-matching-inners.
5788 Don't signal a mismatch for repeated inners like "switch..case..case".
5789
5790 2013-06-07 Leo Liu <sdl.web@gmail.com>
5791
5792 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5793 to t. (Bug#14303)
5794 (octave-function-header-regexp): Fix. (Bug#14570)
5795 (octave-help-mode-finish-hook, octave-help-mode-finish):
5796 Remove. Just use temp-buffer-show-hook.
5797
5798 * newcomment.el (comment-search-backward): Revert last change.
5799 (Bug#14434)
5800
5801 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5802
5803 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5804
5805 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5806 through xargs, to avoid failure due to MS-Windows limitations on
5807 command-line length.
5808
5809 2013-06-06 Glenn Morris <rgm@gnu.org>
5810
5811 * font-lock.el (lisp-font-lock-keywords-2):
5812 Treat user-error like error.
5813
5814 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5815 (byte-compile-backward-char, byte-compile-backward-word):
5816 Handle explicit nil arguments. (Bug#14565)
5817
5818 2013-06-05 Alan Mackenzie <acm@muc.de>
5819
5820 * isearch.el (isearch-allow-prefix): New user option.
5821 (isearch-other-meta-char): Don't exit isearch when a prefix
5822 argument is typed whilst `isearch-allow-prefix' is non-nil.
5823 (Bug#9706)
5824
5825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * autorevert.el (auto-revert-notify-handler): Use memq.
5828 Hide assertion failure.
5829
5830 * skeleton.el: Use cl-lib.
5831 (skeleton-further-elements): Use defvar-local.
5832 (skeleton-insert): Use cl-progv.
5833
5834 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5835
5836 * progmodes/prog-mode.el (prog-prettify-symbols)
5837 (prog-prettify-install): Update docstrings.
5838
5839 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * simple.el: Move all the prog-mode code to prog-mode.el.
5842 * progmodes/prog-mode.el: New file.
5843 * loadup.el: Add prog-mode.el.
5844
5845 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5846
5847 * simple.el (prog-prettify-symbols): Add version.
5848 (prog-prettify-install): Add convenience function to prettify symbols.
5849
5850 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5851 (perl--augmented-font-lock-keywords-1)
5852 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5853 variables and use it.
5854
5855 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5856 (cfengine3-mode): Remove unneeded variable and use it.
5857
5858 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5859 (lisp--augmented-font-lock-keywords-1)
5860 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5861 Remove unneeded variables and use it.
5862
5863 2013-06-05 João Távora <joaotavora@gmail.com>
5864
5865 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5866 to point when opening the connection. (Bug#14380)
5867
5868 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * subr.el (load-history-regexp, load-history-filename-element)
5871 (eval-after-load, after-load-functions, do-after-load-evaluation)
5872 (eval-next-after-load, display-delayed-warnings)
5873 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5874 definition of save-match-data.
5875 (overriding-local-map): Remove accidental obsolescence declaration.
5876
5877 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5878
5879 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5880
5881 Generalize symbol prettify support to prog-mode and implement it
5882 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5883 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5884 (prog--prettify-font-lock-compose-symbol)
5885 (prog-prettify-font-lock-symbols-keywords): New variables and
5886 functions to support symbol prettification.
5887 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5888 (lisp--augmented-font-lock-keywords-1)
5889 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5890 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5891 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5892 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5893 Implement prettify of -> => :: strings.
5894 * progmodes/perl-mode.el (perl-prettify-symbols)
5895 (perl--font-lock-compose-symbol)
5896 (perl--font-lock-symbols-keywords): Move to prog-mode.
5897 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5898 (perl-font-lock-keywords-1)
5899 (perl-font-lock-keywords-2): Remove explicit prettify support.
5900 (perl--augmented-font-lock-keywords)
5901 (perl--augmented-font-lock-keywords-1)
5902 (perl--augmented-font-lock-keywords-2, perl-mode):
5903 Implement prettify support.
5904
5905 2013-06-05 Leo Liu <sdl.web@gmail.com>
5906
5907 Re-implement smie matching block highlight using
5908 show-paren-data-function. (Bug#14395)
5909 * emacs-lisp/smie.el (smie-matching-block-highlight)
5910 (smie--highlight-matching-block-overlay)
5911 (smie--highlight-matching-block-lastpos)
5912 (smie-highlight-matching-block)
5913 (smie-highlight-matching-block-mode): Remove.
5914 (smie--matching-block-data-cache): New variable.
5915 (smie--matching-block-data): New function.
5916 (smie-setup): Use smie--matching-block-data for
5917 show-paren-data-function.
5918
5919 * progmodes/octave.el (octave-mode-menu): Fix.
5920 (octave-find-definition): Skip garbage lines.
5921
5922 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 Fix compilation error with simultaneous dynamic+lexical scoping.
5925 Add warning when a defvar appears after the first let-binding.
5926 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5927 (byte-compile-close-variables): Initialize it.
5928 (byte-compile--declare-var): New function.
5929 (byte-compile-file-form-defvar)
5930 (byte-compile-file-form-define-abbrev-table)
5931 (byte-compile-file-form-custom-declare-variable): Use it.
5932 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5933 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5934 (byte-compile-bind): Handle dynamic bindings that shadow
5935 lexical bindings.
5936 (byte-compile-unbind): Make arg non-optional.
5937 (byte-compile-let): Simplify.
5938 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5939 (cconv--analyse-function, cconv-analyse-form): Populate it.
5940 Protect byte-compile-bound-variables to limit the scope of defvars.
5941 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5942 Remove unneeded rule for `declare'.
5943
5944 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5945 so as to avoid depending on cl-adjoin at run-time.
5946 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5947
5948 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5949 (macroexp--warn-and-return): Use it.
5950
5951 2013-06-05 Leo Liu <sdl.web@gmail.com>
5952
5953 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5954
5955 2013-06-04 Leo Liu <sdl.web@gmail.com>
5956
5957 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5958 (compilation-auto-jump): Suppress the "Mark set" message to give
5959 way to exit message.
5960
5961 2013-06-04 Alan Mackenzie <acm@muc.de>
5962
5963 Remove faulty optimisation from indentation calculation.
5964 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5965 search limit based on 2000 characters back from indent-point.
5966
5967 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5968
5969 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5970
5971 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * emacs-lisp/lisp.el: Use lexical-binding.
5974 (lisp--local-variables-1, lisp--local-variables): New functions.
5975 (lisp--local-variables-completion-table): New var.
5976 (lisp-completion-at-point): Use it complete let-bound vars.
5977
5978 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5979 eagerly (bug#14422).
5980
5981 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5982
5983 * autorevert.el (auto-revert-notify-enabled)
5984 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5985 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5986 (auto-revert-notify-handler): Handle also gfilenotify.
5987
5988 * subr.el (file-notify-handle-event): New defun. Replacing ...
5989 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5990 Remove.
5991
5992 2013-06-03 Juri Linkov <juri@jurta.org>
5993
5994 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5995 `M-s h .'. (Bug#14427)
5996
5997 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5998 command `hi-lock-face-symbol-at-point'.
5999 (hi-lock-face-symbol-at-point): New command.
6000 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6001 (hi-lock-menu): Add `highlight-symbol-at-point'.
6002 (hi-lock-mode): Doc fix.
6003
6004 * isearch.el (isearch-forward-symbol-at-point): New command.
6005 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6006 (isearch-highlight-regexp): Add a regexp which matches
6007 words/symbols for word/symbol mode.
6008
6009 * subr.el (find-tag-default-bounds): New function with the body
6010 mostly moved from `find-tag-default'.
6011 (find-tag-default): Move most code to `find-tag-default-bounds',
6012 call it and apply `buffer-substring-no-properties' afterwards.
6013
6014 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6015
6016 * eshell/em-term.el (eshell-term-initialize):
6017 Use `cl-intersection' rather than `intersection'.
6018
6019 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6020
6021 * vc/log-view.el: Doc fix.
6022 (log-view-mode-map): Copy keymap from `special-mode-map'.
6023
6024 2013-06-02 Eric Ludlam <zappo@gnu.org>
6025
6026 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6027 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6028 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6029 (eieio-unbound, eieio-default-superclass)
6030 (eieio--define-field-accessors, method-static, method-before)
6031 (method-primary, method-after, method-num-lists)
6032 (method-generic-before, method-generic-primary)
6033 (method-generic-after, method-num-slots)
6034 (eieio-specialized-key-to-generic-key)
6035 (eieio--check-type, class-v, class-p)
6036 (eieio-class-name, define-obsolete-function-alias)
6037 (eieio-class-parents-fast, eieio-class-children-fast)
6038 (same-class-fast-p, class-constructor, generic-p)
6039 (generic-primary-only-p, generic-primary-only-one-p)
6040 (class-option-assoc, class-option, eieio-object-p)
6041 (class-abstract-p, class-method-invocation-order)
6042 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6043 (eieio-class-un-autoload, eieio-defclass)
6044 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6045 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6046 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6047 (eieio-defgeneric-reset-generic-form)
6048 (eieio-defgeneric-form-primary-only)
6049 (eieio-defgeneric-reset-generic-form-primary-only)
6050 (eieio-defgeneric-form-primary-only-one)
6051 (eieio-defgeneric-reset-generic-form-primary-only-one)
6052 (eieio-unbind-method-implementations)
6053 (eieio--defmethod, eieio--typep)
6054 (eieio-perform-slot-validation, eieio-validate-slot-value)
6055 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6056 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6057 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6058 (eieio-slot-name-index, eieio-class-slot-name-index)
6059 (eieio-set-defaults, eieio-initarg-to-attribute)
6060 (eieio-attribute-to-initarg, eieio-c3-candidate)
6061 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6062 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6063 (eieio-class-precedence-list, eieio-generic-call-methodname)
6064 (eieio-generic-call-arglst, eieio-generic-call-key)
6065 (eieio-generic-call-next-method-list)
6066 (eieio-pre-method-execution-functions, eieio-generic-call)
6067 (eieio-generic-call-primary-only, eieiomt-method-list)
6068 (eieiomt-optimizing-obarray, eieiomt-install)
6069 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6070 (eieio-generic-form, eieio-defmethod, make-obsolete)
6071 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6072 (defclass): Remove `eval-and-compile' from macro.
6073 (call-next-method, shared-initialize): Instead of using
6074 `scoped-class' variable, use new eieio--scoped-class, and
6075 eieio--with-scoped-class.
6076 (initialize-instance): Rename local variable 'scoped-class' to
6077 'this-class' to remove ambiguitity from old global.
6078
6079 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6080 eieio.el.
6081 (eieio--scoped-class-stack): New variable.
6082 (eieio--scoped-class): New fcn.
6083 (eieio--with-scoped-class): New scoping macro.
6084 (eieio-defclass): Use pushnew instead of add-to-list.
6085 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6086 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6087 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6088 `scoped-class' variable, use new eieio--scoped-class, and
6089 eieio--with-scoped-class.
6090
6091 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6092
6093 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6094
6095 * eshell/esh-ext.el (eshell-external-command): Pass args to
6096 `eshell-find-interpreter'.
6097 (eshell-find-interpreter): Add new second parameter ARGS.
6098
6099 * eshell/em-script.el (eshell-script-initialize): Add second arg
6100 to the function added as MATCH to `eshell-interpreter-alist'.
6101
6102 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6103 the function added as MATCH to `eshell-interpreter-alist'.
6104
6105 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6106 (eshell-visual-options): New defcustom.
6107 (eshell-escape-control-x): Adapt docstring.
6108 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6109 `eshell-visual-options' in addition to `eshell-visual-commands'.
6110 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6111
6112 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6113
6114 * progmodes/python.el (python-indent-block-enders): Add break,
6115 continue and raise keywords.
6116
6117 2013-06-01 Glenn Morris <rgm@gnu.org>
6118
6119 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6120
6121 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6122 * progmodes/cc-cmds.el (delete-forward-p):
6123 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6124 * progmodes/cc-engine.el (buffer-syntactic-context):
6125 * progmodes/cc-fonts.el (face-property-instance):
6126 * progmodes/cc-mode.el (set-keymap-parents):
6127 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6128 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6129 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6130 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6131 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6132
6133 * progmodes/cc-vars.el (other): Emacs has this widget since
6134 at least 21.1, so don't (re)define it.
6135
6136 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6137 Replace the obsolete alias pcomplete-arg-quote-list.
6138
6139 2013-06-01 Leo Liu <sdl.web@gmail.com>
6140
6141 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6142 punctuation syntax.
6143 (inferior-octave-minimal-columns)
6144 (inferior-octave-last-column-width): New variables.
6145 (inferior-octave-track-window-width-change): New function.
6146 (inferior-octave-mode): Adjust column width so that Octave output,
6147 for example from 'ls', can fit into the window nicely.
6148
6149 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6150
6151 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6152 Highlight expansions inside regexp literals.
6153
6154 2013-05-31 Glenn Morris <rgm@gnu.org>
6155
6156 * obsolete/sym-comp.el (symbol-complete):
6157 Replace obsolete completion-annotate-function.
6158
6159 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6160
6161 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6162
6163 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6164 New function, checks if point is inside a literal that allows
6165 expression expansion.
6166 (ruby-syntax-propertize-expansion): Use it.
6167 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6168 around the body.
6169
6170 2013-05-30 Juri Linkov <juri@jurta.org>
6171
6172 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6173 to "\M-si".
6174 (isearch-invisible): New variable.
6175 (isearch-forward): Doc fix.
6176 (isearch-mode): Set `isearch-invisible'
6177 to the value of `search-invisible'.
6178 (isearch-toggle-case-fold): Doc fix.
6179 (isearch-toggle-invisible): New command.
6180 (isearch-query-replace): Let-bind `search-invisible'
6181 to the value of `isearch-invisible'.
6182 (isearch-search): Use `isearch-invisible' instead of
6183 `search-invisible'. Let-bind `search-invisible'
6184 to the value of `isearch-invisible'. (Bug#11378)
6185
6186 2013-05-30 Juri Linkov <juri@jurta.org>
6187
6188 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6189 call when `query-flag' is nil and `search-invisible' is non-nil.
6190 (Bug#11746)
6191
6192 2013-05-30 Glenn Morris <rgm@gnu.org>
6193
6194 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6195
6196 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6197 (cc-require): Suppress spurious "noruntime" warnings.
6198 (cc-require-when-compile): Use fboundp, for sake of compiler.
6199
6200 * progmodes/cc-mode.el: Move load of cc-vars before that of
6201 cc-langs (which in turn loads cc-vars), to quieten compiler.
6202
6203 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * paren.el: Simplify the code.
6206 (show-paren-mode): Always start the timer.
6207 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6208 (show-paren--overlay, show-paren--overlay-1): Rename from
6209 show-paren-overlay and show-paren-overlay-1, and initialize to an
6210 overlay rather than to nil.
6211 (show-paren-function): Misc cleanup and simplifications.
6212
6213 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * paren.el (show-paren-data-function): New hook.
6216 (show-paren--default): New function, extracted from show-paren-function.
6217 (show-paren-function): Use show-paren-data-function.
6218
6219 2013-05-30 Glenn Morris <rgm@gnu.org>
6220
6221 * ielm.el (ielm-map, ielm-complete-symbol):
6222 Use completion-at-point rather than obsolete functions.
6223 (inferior-emacs-lisp-mode): Doc fix.
6224 Set completion-at-point-functions, rather than
6225 comint-dynamic-complete-functions.
6226
6227 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6228 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6229 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6230
6231 * image.el (image-animated-p): Tweak definition.
6232
6233 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6234 (rlogin-process-connection-type): Tweak default. Add set-after.
6235 (rlogin-host): Doc fix.
6236 (rlogin): Tweak prompt.
6237 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6238
6239 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6240 * progmodes/tcl.el (inferior-tcl-mode-map):
6241 Use completion-at-point rather than obsolete alias.
6242
6243 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6244
6245 * minibuffer.el (read-file-name-completion-ignore-case):
6246 Move before completion--in-region, for eager macro expansion.
6247
6248 2013-05-29 Juri Linkov <juri@jurta.org>
6249
6250 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6251 for total count of matching lines. Add `global-matches' for total
6252 count of matches. Rename `matches' to `lines' for count of
6253 matching lines. Add `matches' for count of matches.
6254 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6255 to `prev-line' for line number of prev match endpt.
6256 Increment `matches' for every match. Print the number of
6257 matching lines in the header.
6258 (occur-context-lines): Rename `lines' to `curr-line'.
6259 Rename `prev-lines' to `prev-line'. (Bug#14017)
6260
6261 2013-05-29 Juri Linkov <juri@jurta.org>
6262
6263 * replace.el (perform-replace): Add `skip-read-only-count',
6264 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6265 Increment them for corresponding conditions and report the number
6266 of skipped occurrences in the final message. (Bug#11746)
6267 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6268 (replace-string, replace-regexp): Doc fix.
6269
6270 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6273
6274 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6275 prog-mode-map (bug#14504).
6276
6277 2013-05-29 Leo Liu <sdl.web@gmail.com>
6278
6279 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6280 (octave-help): Small simplification.
6281
6282 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6283 off the highlight first.
6284
6285 2013-05-29 Glenn Morris <rgm@gnu.org>
6286
6287 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6288 Handle idlwave-last-system-routine-info-cons-cell being nil.
6289
6290 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6291 (idlwave-write-paths): Simplify via with-temp-buffer.
6292
6293 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6294 * emulation/cua-rect.el: Also load cua-base at run time.
6295
6296 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6297 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6298 (cperl-imenu-on-info): Require imenu.
6299
6300 2013-05-28 Alan Mackenzie <acm@muc.de>
6301
6302 Handle "capitalised keywords" correctly.
6303 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6304
6305 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6306
6307 * eshell/em-unix.el: Add -r option to cp.
6308
6309 2013-05-28 Glenn Morris <rgm@gnu.org>
6310
6311 * vc/vc-arch.el (vc-exec-after): Declare.
6312 (vc-switches): Autoload.
6313 * vc/vc-bzr.el: No need to require vc when compiling.
6314 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6315 (vc-resynch-buffer, vc-dir-refresh): Declare.
6316 (vc-setup-buffer, vc-switches): Autoload.
6317 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6318 (vc-resynch-buffer): Declare.
6319 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6320 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6321 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6322 (grep-read-regexp, grep-read-files, grep-expand-template)
6323 (vc-dir-refresh): Declare.
6324 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6325 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6326 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6327 * vc/vc-mtn.el (vc-exec-after): Declare.
6328 (vc-switches): Autoload.
6329 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6330 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6331 (vc-file-tree-walk): Declare.
6332 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6333 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6334 (vc-tag-precondition, vc-rename-master): Autoload.
6335 * vc/vc-svn.el (vc-exec-after): Declare.
6336 (vc-switches, vc-setup-buffer): Autoload.
6337 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6338 Autoload.
6339 (vc-resynch-buffer): Declare.
6340
6341 * obsolete/fast-lock.el (byte-compile-warnings):
6342 Don't warn about obsolete features in this obsolete file.
6343
6344 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6345 Move definition before use.
6346
6347 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6348 (dun-unix-verbs): Remove dun-zippy.
6349 (dun-zippy): Remove function.
6350
6351 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6352
6353 2013-05-27 Juri Linkov <juri@jurta.org>
6354
6355 * replace.el (replace-search): New function with code moved out
6356 from `perform-replace'.
6357 (replace-highlight, replace-dehighlight): Move function definitions
6358 up closer to `replace-search'. (Bug#11746)
6359
6360 2013-05-27 Juri Linkov <juri@jurta.org>
6361
6362 * replace.el (perform-replace): Ignore invisible matches.
6363 In addition to checking `query-replace-skip-read-only', also
6364 filter out matches by calling `run-hook-with-args-until-failure'
6365 on `isearch-filter-predicates', and also check `search-invisible'
6366 for t or call `isearch-range-invisible'.
6367 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6368
6369 2013-05-27 Juri Linkov <juri@jurta.org>
6370
6371 * isearch.el (isearch-filter-predicates): Rename from
6372 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6373 (isearch-message-prefix): Display text from the property
6374 `isearch-message-prefix' of the currently active filters.
6375 (isearch-search): Don't compare `isearch-filter-predicate' with
6376 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6377 on `isearch-filter-predicates'. Also check `search-invisible' for t
6378 or call `isearch-range-invisible'.
6379 (isearch-filter-visible): Make obsolete.
6380 (isearch-lazy-highlight-search):
6381 Call `run-hook-with-args-until-failure' on
6382 `isearch-filter-predicates' and use `isearch-range-invisible'.
6383
6384 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6385 `isearch-filter-predicates' instead of `funcall'ing
6386 `isearch-filter-predicate'.
6387 (Info-mode): Set `Info-isearch-filter' to
6388 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6389
6390 * dired-aux.el (dired-isearch-filter-predicate-orig):
6391 Remove variable.
6392 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6393 (dired-isearch-filenames-end): Add and remove
6394 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6395 instead of changing the value of `isearch-filter-predicate'.
6396 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6397 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6398 Put property `isearch-message-prefix' to "filename " on
6399 `dired-isearch-filter-filenames'.
6400
6401 * wdired.el (wdired-change-to-wdired-mode):
6402 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6403 locally instead of changing `isearch-filter-predicate'.
6404 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6405
6406 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6407
6408 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6409 return the commit hash (Bug#14459). Also set the
6410 `vc-git-detached' property.
6411 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6412 (vc-git-mode-line-string): Use the same help-echo format whether
6413 in detached mode or not, because we know the actual revision now.
6414 When in detached mode, shorten the revision to 7 chars.
6415
6416 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/easy-mmode.el (define-minor-mode):
6419 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6420 mode hook and provide a docstring.
6421
6422 2013-05-27 Alan Mackenzie <acm@muc.de>
6423
6424 Remove spurious syntax-table text properties inserted by C-y.
6425 * progmodes/cc-mode.el (c-after-change): Also clear hard
6426 syntax-table property with value nil.
6427
6428 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6429
6430 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6431 when reading the events; the buffer layout shall not be changed.
6432
6433 2013-05-27 Leo Liu <sdl.web@gmail.com>
6434
6435 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6436 New variable.
6437 (inferior-octave-directory-tracker): Automatically re-sync
6438 default-directory.
6439 (octave-help): Improve handling of 'See also'.
6440
6441 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * doc-view.el: Minor naming convention tweaks.
6444 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6445
6446 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6447 even if there's no `display' property yet (bug#14435).
6448
6449 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6450
6451 * subr.el (unmsys--file-name): Rename from reveal-filename.
6452
6453 * Makefile.in (custom-deps, finder-data, autoloads)
6454 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6455 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6456 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6457
6458 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6461 error-completion on the first 2 args of condition-case (bug#14446).
6462 Don't burp at EOB.
6463
6464 2013-05-25 Leo Liu <sdl.web@gmail.com>
6465
6466 * comint.el (comint-previous-matching-input): Do not flood the
6467 *Messages* buffer with trivial messages.
6468
6469 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * progmodes/flymake.el (flymake-nop): Don't return a string.
6472 (flymake-set-at): Fix typo.
6473
6474 * simple.el (read--expression): New function, extracted from
6475 eval-expression. Set completion-at-point-functions (bug#14465).
6476 (eval-expression, eval-minibuffer): Use it.
6477
6478 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6479
6480 * progmodes/flymake.el (flymake-save-buffer-in-file)
6481 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6482 (flymake-selected-frame, flymake-log, flymake-ins-after)
6483 (flymake-set-at, flymake-get-buildfile-from-cache)
6484 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6485 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6486 Refine the doc string.
6487 (flymake-get-file-name-mode-and-masks): Reformat.
6488 (flymake-get-real-file-name-function): Fix a minor bug.
6489
6490 2013-05-24 Juri Linkov <juri@jurta.org>
6491
6492 * progmodes/grep.el (grep-mode-font-lock-keywords):
6493 Support =linenumber= format used by git-grep for lines with
6494 function names. (Bug#13549)
6495
6496 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6499 0 after a semi-colon; it works better for smie-auto-fill.
6500 (octave--indent-new-comment-line): New function.
6501 (octave-indent-new-comment-line): Use it (indirectly).
6502 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6503 modify comment-line-break-function.
6504
6505 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6506 (smie-setup): Use add-function to set it.
6507
6508 2013-05-24 Sam Steingold <sds@gnu.org>
6509
6510 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6511 argument (before the `interactive' argument).
6512
6513 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6514
6515 * image-mode.el (image-mode-winprops): Add winprops to
6516 image-mode-winprops-alist before running
6517 image-mode-new-window-functions.
6518 * doc-view.el (doc-view-new-window-function): Don't delay
6519 doc-view-goto-page via timers (bug#14435).
6520
6521 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6522
6523 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6524 (doc-view-desktop-save-buffer): New function.
6525 (doc-view-restore-desktop-buffer): New function.
6526 (desktop-buffer-mode-handlers):
6527 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6528 handler.
6529 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6530 `desktop-save-buffer' function.
6531
6532 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6533
6534 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6535 (tramp-gvfs-file-name-handler): Raise a user error when
6536 `tramp-gvfs-enabled' is nil.
6537 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6538 Do not raise a user error when loading package. (Bug#14447)
6539
6540 * net/xesam.el: Move to obsolete/.
6541
6542 2013-05-24 Glenn Morris <rgm@gnu.org>
6543
6544 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6545
6546 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6547
6548 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6549 (Info-find-node, Man-getpage-in-background): Declare.
6550
6551 * mail/unrmail.el (unrmail):
6552 Replace obsolete detect-coding-with-priority.
6553
6554 * net/socks.el (socks-split-string): Use this rather than split-string.
6555 (socks-nslookup-host): Update for above change.
6556 (dynamic-choice, s5-dynamic-choice-match)
6557 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6558 Comment out unused code.
6559
6560 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6561 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6562 (gud-tooltip-echo-area): Make obsolete.
6563 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6564
6565 * progmodes/js.el (js--optimize-arglist): Declare.
6566
6567 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6568
6569 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6570 (ediff-window-C): Declare.
6571
6572 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6573 Tweak requires to silence compiler.
6574
6575 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6576 (he-search-string, he-tried-table, he-expand-list)
6577 (he-init-string, he-string-member, he-substitute-string)
6578 (he-reset-string): Declare.
6579
6580 * obsolete/options.el (list-options): Use custom-variable-p,
6581 rather than obsolete alias.
6582
6583 2013-05-23 Sam Steingold <sds@gnu.org>
6584
6585 * simple.el (shell-command-on-region): Pass the `replace' argument
6586 down to `call-process-region' to comply with the doc as reported on
6587 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6588
6589 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6590
6591 * emacs-lisp/smie.el (smie-indent-forward-token)
6592 (smie-indent-backward-token): Handle string tokens (bug#14381).
6593
6594 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6595
6596 * ielm.el (ielm-menu): New menu.
6597 (inferior-emacs-lisp-mode): Set comment-start.
6598
6599 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6600
6601 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6602 Fix deactivate action.
6603
6604 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6605 Add cleveref macros.
6606
6607 * lisp/textmodes/reftex-parse.el
6608 (reftex-locate-bibliography-files): Accept options for
6609 bibliography commands.
6610 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6611 Add addbibresource. Basic Biblatex support.
6612
6613 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6614
6615 * net/tramp-gvfs.el (top):
6616 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6617 when loading package. (Bug#14447)
6618
6619 2013-05-23 Glenn Morris <rgm@gnu.org>
6620
6621 * progmodes/js.el: No need to load comint when compiling.
6622 (ring-insert, comint-send-string, comint-send-input)
6623 (comint-last-input-end, ido-chop): Declare.
6624
6625 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6626 * vc/ediff-mult.el: Adjust requires.
6627 (ediff-directories-internal, ediff-directory-revisions-internal)
6628 (ediff-patch-file-internal): Declare.
6629 * vc/ediff-ptch.el: Adjust requires.
6630 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6631 (ediff-find-file): Autoload.
6632 * vc/ediff-util.el: No need to load ediff when compiling.
6633 (ediff-regions-internal): Declare.
6634 * vc/ediff-wind.el: Adjust requires.
6635 (ediff-compute-toolbar-width): Define when compiling.
6636 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6637 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6638 (dired-get-filename, dired-get-marked-files)
6639 (ediff-last-dir-patch, ediff-patch-default-directory)
6640 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6641 (ediff-patch-buffer-internal): Declare.
6642
6643 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6644 (ispell-process, ispell-buffer-local-words, lm-summary)
6645 (lm-section-start, lm-section-end): Declare.
6646 (checkdoc-ispell-init): Simplify.
6647
6648 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6649 (he-string-member, he-reset-string, he-substitute-string): Declare.
6650
6651 * eshell/em-ls.el: Adjust requires.
6652 (eshell-glob-regexp): Declare.
6653 * eshell/em-tramp.el: Adjust requires.
6654 (eshell-parse-command): Autoload.
6655 * eshell/em-xtra.el: Adjust requires.
6656 (eshell-parse-command): Autoload.
6657 * eshell/esh-ext.el: Adjust requires.
6658 (eshell-parse-command, eshell-close-handles): Autoload.
6659 * eshell/esh-io.el: Adjust requires.
6660 (eshell-output-filter): Autoload.
6661 * eshell/esh-util.el: No need to load tramp when compiling.
6662 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6663 Declare.
6664 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6665 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6666 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6667 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6668 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6669 * eshell/esh-opt.el, eshell/esh-proc.el:
6670 * eshell/esh-var.el: Adjust requires.
6671 * eshell/eshell.el: Do not require esh-util twice.
6672 (eshell-add-input-to-history): Declare.
6673 (eshell-command): Check history module is active before using it.
6674
6675 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6676
6677 2013-05-22 Leo Liu <sdl.web@gmail.com>
6678
6679 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6680
6681 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6682
6683 * autorevert.el (auto-revert-notify-add-watch)
6684 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6685 it indicates changes in file modification time.
6686
6687 2013-05-22 Glenn Morris <rgm@gnu.org>
6688
6689 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6690 Always delete the autoloaded function from the noruntime and
6691 unresolved functions lists.
6692
6693 * allout.el: No need to load epa, epg, overlay when compiling.
6694 (epg-context-set-passphrase-callback, epg-list-keys)
6695 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6696 (epg-key-user-id-list): Declare.
6697
6698 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6699 (viper-set-parsing-style-toggling-macro)
6700 (viper-set-emacs-state-searchstyle-macros):
6701 Use called-interactively-p on Emacs.
6702 (viper-looking-back): Make it an obsolete alias. Update callers.
6703 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6704 Use looking-back rather than viper-looking-back.
6705 (viper-tmp-insert-at-eob, viper-enlarge-region)
6706 (viper-read-string-with-history, viper-register-to-point)
6707 (viper-append-to-register, viper-change-state-to-vi)
6708 (viper-backward-char-carefully, viper-forward-char-carefully)
6709 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6710 (viper-change-state-to-emacs): Declare.
6711 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6712 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6713 * emulation/viper-mous.el: Do not load viper-cmd.
6714 (viper-backward-char-carefully, viper-forward-char-carefully)
6715 (viper-forward-word, viper-adjust-window): Declare.
6716
6717 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6718
6719 * progmodes/idlw-help.el (idlwave-help-fontify):
6720 Use called-interactively-p.
6721
6722 * term/w32console.el (w32-get-console-codepage)
6723 (w32-get-console-output-codepage): Declare.
6724
6725 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6726 Remove unnecessary declarations.
6727 (dframe-message): Doc fix.
6728
6729 * info.el (dframe-select-attached-frame, dframe-current-frame):
6730 Declare.
6731
6732 * speedbar.el (speedbar-message): Make it an obsolete alias.
6733 Update all callers.
6734 (speedbar-with-attached-buffer)
6735 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6736 (speedbar-with-writable): Use backquote.
6737 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6738 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6739 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6740 rather than speedbar- aliases.
6741 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6742 (speedbar-make-specialized-keymap, speedbar-insert-button)
6743 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6744 (speedbar-do-function-pointer): Declare.
6745 (rmail-speedbar-button, rmail-speedbar-find-file)
6746 (rmail-speedbar-move-message):
6747 Use dframe-with-attached-buffer rather than speedbar- alias.
6748 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6749 (dframe-message, speedbar-make-specialized-keymap)
6750 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6751 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6752 (speedbar-insert-button, dframe-select-attached-frame)
6753 (dframe-maybee-jump-to-attached-frame)
6754 (speedbar-change-initial-expansion-list)
6755 (speedbar-previously-used-expansion-list-name): Declare.
6756 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6757 Use dframe-message, dframe-with-attached-buffer rather than
6758 speedbar- aliases.
6759 (gud-sentinel): Silence compiler.
6760 * progmodes/vhdl-mode.el (speedbar-refresh)
6761 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6762 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6763 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6764 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6765 (speedbar-file-lists, speedbar-make-tag-line)
6766 (speedbar-line-directory, speedbar-goto-this-file)
6767 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6768 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6769 (speedbar-make-button, speedbar-reset-scanners)
6770 (speedbar-files-item-info, speedbar-line-text)
6771 (speedbar-find-file-in-frame, speedbar-set-timer)
6772 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6773 (speedbar-with-writable): Do not (re)define it.
6774 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6775 rather than speedbar- alias.
6776
6777 2013-05-21 Leo Liu <sdl.web@gmail.com>
6778
6779 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6780 menu items.
6781 (octave-mode): Tweak fill-nobreak-predicate.
6782 (inferior-octave-startup): Check process to avoid infinite loop.
6783 (inferior-octave): Pop to buffer first to show abornmal process
6784 exit information.
6785
6786 2013-05-21 Glenn Morris <rgm@gnu.org>
6787
6788 * printing.el (pr-menu-bar): Define when compiling.
6789
6790 2013-05-21 Leo Liu <sdl.web@gmail.com>
6791
6792 * progmodes/octave.el (octave-auto-fill): Remove.
6793 (octave-indent-new-comment-line): Improve.
6794 (octave-mode): Use auto fill mode through
6795 comment-line-break-function and fill-nobreak-predicate.
6796 (octave-goto-function-definition): Support DEFUN_DLD.
6797 (octave-beginning-of-defun): Small tweak.
6798 (octave-help): Show parent directory.
6799
6800 2013-05-21 Glenn Morris <rgm@gnu.org>
6801
6802 * files.el (dired-unmark):
6803 * progmodes/gud.el (gdb-input): Update declarations.
6804
6805 * calculator.el (electric, ehelp): No need to load when compiling.
6806 (Electric-command-loop, electric-describe-mode): Declare.
6807
6808 * doc-view.el (doc-view-current-converter-processes): Move before use.
6809
6810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6811 Move MODE-set-explicitly definition before use.
6812
6813 * international/mule-diag.el (mule-diag):
6814 Don't use obsolete window-system-version.
6815
6816 * mail/feedmail.el (smtpmail): No need to load when compiling.
6817 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6818
6819 * mail/mail-utils.el (rfc822): No need to load when compiling.
6820 (rfc822-addresses): Autoload it.
6821 (mail-strip-quoted-names): Trivial simplification.
6822
6823 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6824 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6825
6826 * net/snmp-mode.el (tempo): Don't duplicate requires.
6827
6828 * progmodes/prolog.el (info): No need to load when compiling.
6829 (comint): Require before shell requires it.
6830 (Info-goto-node): Autoload it.
6831 (Info-follow-nearest-node): Declare.
6832 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6833
6834 * textmodes/artist.el (picture-mode-exit): Declare.
6835
6836 * textmodes/reftex-parse.el (reftex-parse-from-file):
6837 Trivial rewrite so the compiler can parse it better.
6838
6839 2013-05-20 Leo Liu <sdl.web@gmail.com>
6840
6841 * progmodes/octave.el (octave-help-mode-map)
6842 (octave-help-mode-finish-hook): New variables.
6843 (octave-help-mode, octave-help-mode-finish): New functions.
6844 (octave-help): Use octave-help-mode.
6845
6846 2013-05-20 Glenn Morris <rgm@gnu.org>
6847
6848 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6849
6850 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6851
6852 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6853 start at point, so that expansion starting right after opening
6854 slash in a regexp is recognized.
6855 (ruby-syntax-before-regexp-re): New defvar, extracted from
6856 ruby-syntax-propertize-function. Since the value of this regexp
6857 is looked up at runtime now, we should be able to turn
6858 `ruby-syntax-methods-before-regexp' into a defcustom later.
6859 (ruby-syntax-propertize-function): Split regexp matching into two
6860 parts, for opening and closing slashes. That allows us to skip
6861 over string interpolations and support multiline regexps.
6862 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6863 for them, which calls `ruby-syntax-propertize-expansion'.
6864 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6865 call to `ruby-syntax-propertize-function'.
6866 (ruby-syntax-propertize-expansion): Extracted from
6867 `ruby-syntax-propertize-expansions'. Handles one expansion.
6868 (ruby-syntax-propertize-percent-literal): Leave point right after
6869 the percent symbol, so that the expression expansion rule can
6870 propertize the contents.
6871 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6872 heredoc openers.
6873 (ruby-syntax-propertize-expansions): Remove.
6874
6875 2013-05-18 Juri Linkov <juri@jurta.org>
6876
6877 * man.el (Man-default-man-entry): Remove `-' from the end
6878 of the default value. (Bug#14400)
6879
6880 2013-05-18 Glenn Morris <rgm@gnu.org>
6881
6882 * comint.el (comint-password-prompt-regexp):
6883 Allow "password for XXX" where XXX contains colons (eg https://...).
6884
6885 2013-05-18 Leo Liu <sdl.web@gmail.com>
6886
6887 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6888 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6889 (octave-source-directories): Don't check process.
6890 (octave-source-directories, octave-find-definition): Doc fix.
6891
6892 2013-05-18 Glenn Morris <rgm@gnu.org>
6893
6894 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6895 Remove backspace/delete bindings. (Bug#14392)
6896
6897 * cus-dep.el (custom-make-dependencies): Sort the output.
6898 (custom-versions-load-alist): Convert comment to doc.
6899
6900 2013-05-17 Leo Liu <sdl.web@gmail.com>
6901
6902 * newcomment.el (comment-search-backward): Stricter in finding
6903 comment start. (Bug#14303)
6904
6905 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6906 (octave-comment-start-skip): Properly anchored.
6907
6908 2013-05-17 Leo Liu <sdl.web@gmail.com>
6909
6910 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6911 Clean up when turned off. (Bug#14395)
6912 (smie--highlight-matching-block-overlay): No longer buffer-local.
6913 (smie-highlight-matching-block): Adjust.
6914
6915 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6916
6917 Doc string fix for "nanoseconds" (Bug#14406).
6918 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6919 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6920
6921 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6922
6923 * calc/calc-units.el (math-extract-units): Preserve powers
6924 of units.
6925
6926 2013-05-17 Leo Liu <sdl.web@gmail.com>
6927
6928 * subr.el (delete-consecutive-dups): New function.
6929 * ido.el (ido-set-matches-1): Use it.
6930 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6931 * ido.el (ido-remove-consecutive-dups): Remove.
6932
6933 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6936 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6937 regexp-opt's `words'.
6938
6939 2013-05-16 Leo Liu <sdl.web@gmail.com>
6940
6941 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6942 (smie--highlight-matching-block-overlay)
6943 (smie--highlight-matching-block-lastpos)
6944 (smie--highlight-matching-block-timer): New variables.
6945 (smie-highlight-matching-block): New function.
6946 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6947 (smie-setup): Conditionally enable smie-blink-matching-open.
6948
6949 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6950
6951 Sync with upstream verilog-mode r840.
6952 * progmodes/verilog-mode.el (verilog-mode-version)
6953 (verilog-mode-release-date): Update.
6954 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6955 (verilog-sig-tieoff): Fix string error on
6956 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6957 (verilog-read-decls): Fix parameters confusing
6958 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6959
6960 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6961
6962 * subr.el (reveal-filename): New function.
6963
6964 * loadup.el: Compute Emacs executable versions on MS-Windows,
6965 where executables have the .exe extension. Add a hard link
6966 emacs-XX.YY.ZZ.exe on MS-Windows.
6967
6968 * Makefile.in (XARGS_LIMIT): New variable.
6969 (custom-deps, finder-data, autoloads)
6970 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6971 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6972 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6973 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6974
6975 2013-05-16 Leo Liu <sdl.web@gmail.com>
6976
6977 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6978 (octave-mode-menu, octave-mode-map): Remove its uses.
6979
6980 2013-05-16 Reto Zimmermann <reto@gnu.org>
6981
6982 Sync with upstream vhdl mode v3.34.2.
6983 * progmodes/vhdl-mode.el: Use `push' throughout.
6984 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6985 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6986 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6987 (vhdl-actual-generic-name): New option to derive actual generic name.
6988 (vhdl-port-paste-signals): Replace formal by actual generics.
6989 (vhdl-beautify): New name for old group vhdl-align. Update users.
6990 (vhdl-beautify-options): New option.
6991 (vhdl-last-input-event): New compat alias. Use throughout.
6992 (vhdl-goto-line): Replace user level function `goto-line'.
6993 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6994 vhdl-fix-statement-buffer.
6995 (vhdl-create-mode-menu): Add some entries.
6996 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6997 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6998 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6999 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7000 to force statements on one line.
7001 (vhdl-remove-trailing-spaces-region):
7002 New, split from vhdl-remove-trailing-spaces.
7003 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7004 Respect vhdl-beautify-options.
7005 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7006 (vhdl-update-sensitivity-list): Not add with index if exists without.
7007 Not include array index with signal. Ignore keywords in comments.
7008 (vhdl-get-visible-signals): Regexp tweaks.
7009 (vhdl-template-component-inst): Handle empty library.
7010 (vhdl-template-type): Add template for 'enum' type.
7011 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7012 Use vhdl-replace-string.
7013 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7014 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7015 (vhdl-speedbar-initialize): Update for above name change.
7016 (vhdl-compose-wire-components): Fix in handling of constants.
7017 (vhdl-error-regexp-emacs-alist): New variable.
7018 (vhdl-error-regexp-add-emacs): New function;
7019 adds support for new compile.el (Emacs 22+)
7020 (vhdl-generate-makefile-1): Change target order for single lib. units.
7021 Allow use of absolute file names.
7022
7023 2013-05-16 Leo Liu <sdl.web@gmail.com>
7024
7025 * simple.el (prog-indent-sexp): Indent enclosing defun.
7026
7027 2013-05-15 Glenn Morris <rgm@gnu.org>
7028
7029 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7030 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7031 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7032 (whitespace-highlight): Move to whitespace group.
7033
7034 * comint.el (comint-source):
7035 * pcmpl-linux.el (pcmpl-linux):
7036 * shell.el (shell-faces):
7037 * eshell/esh-opt.el (eshell-opt):
7038 * international/ccl.el (ccl): Remove empty custom groups.
7039
7040 * completion.el (dynamic-completion-mode):
7041 * jit-lock.el (jit-lock-debug-mode):
7042 * minibuffer.el (completion-in-region-mode):
7043 * type-break.el (type-break-mode-line-message-mode)
7044 (type-break-query-mode):
7045 * emulation/tpu-edt.el (tpu-edt-mode):
7046 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7047 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7048 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7049
7050 * term/xterm.el (xterm): Change parent group to terminals.
7051
7052 * master.el (master): Remove empty custom group.
7053 (master-mode): Remove unused :group argument.
7054 * textmodes/refill.el (refill): Remove empty custom group.
7055 (refill-mode): Remove unused :group argument.
7056
7057 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7058
7059 * cus-dep.el: Provide a feature.
7060 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7061 Don't mistakenly ignore files whose basenames match a basename
7062 from preloaded-file-list (eg cedet/ede/simple.el).
7063 Add a fallback method for getting :group.
7064
7065 2013-05-15 Juri Linkov <juri@jurta.org>
7066
7067 * isearch.el (isearch-char-by-name): Rename from
7068 `isearch-insert-char-by-name'. Doc fix.
7069 (isearch-forward): Mention `isearch-char-by-name' in
7070 the docstring. (Bug#13348)
7071
7072 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7073 `exit-minibuffer' instead of
7074 `isearch-nonincremental-exit-minibuffer'.
7075 (isearch-edit-string): Remove mention of
7076 `isearch-nonincremental-exit-minibuffer' from docstring.
7077 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7078 (isearch-forward-exit-minibuffer)
7079 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7080
7081 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * loadup.el: Just use unversioned DOC.
7084
7085 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7086 literals as extending to EOB.
7087 (nxml-last-fontify-end): Remove unused variable.
7088 (nxml-after-change1): Use with-silent-modifications.
7089 (nxml-extend-after-change-region): Simplify.
7090 (nxml-extend-after-change-region1): Remove function.
7091 (nxml-after-change1): Don't adjust for dependent regions.
7092 (nxml-fontify-matcher): Simplify.
7093 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7094 (xmltok-add-dependent): Remove function.
7095 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7096 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7097 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7098 unclosed <[[, <?, comment, and other literals as extending to EOB.
7099 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7100 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7101 Remove functions.
7102 (rng-do-some-validation-1): Don't mark dependent regions.
7103 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7104 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7105 (nxml-clear-dependent-regions): Remove functions.
7106 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7107 (nxml-ensure-scan-up-to-date):
7108 Don't clear&mark dependent regions.
7109
7110 2013-05-15 Leo Liu <sdl.web@gmail.com>
7111
7112 * progmodes/octave.el (octave-goto-function-definition):
7113 Improve and fix callers.
7114
7115 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7118 the setter (bug#14387).
7119
7120 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7121 surrounding group (bug#14402).
7122
7123 2013-05-14 Juri Linkov <juri@jurta.org>
7124
7125 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7126 (Bug#14390)
7127
7128 2013-05-14 Glenn Morris <rgm@gnu.org>
7129
7130 * progmodes/f90.el (f90-imenu-generic-expression):
7131 Fix typo in 2013-05-08 change. (Bug#14402)
7132
7133 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7134
7135 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7136 Remove signals for which replies are never received.
7137
7138 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7139
7140 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7141 (gdb-handler-alist, gdb-handler-number): Remove variables.
7142 (gdb-handler-list): New variable.
7143 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7144 (gdb-pending-handler-p, gdb-handle-reply)
7145 (gdb-remove-all-pending-triggers): New functions.
7146 (gdb-discard-unordered-replies): New defcustom.
7147 (gdb-handler): New defstruct.
7148 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7149 instead of gdb-pending-triggers. Update docstring.
7150 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7151 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7152 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7153 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7154 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7155 (gdb-frame-handler): Pending triggers are now automatically managed.
7156 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7157 Remove argument.
7158 (gdb-input): Automatically handles pending triggers. Update docstring.
7159 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7160 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7161 Update comments.
7162 (gdb-done-or-error): Now use gdb-handle-reply.
7163
7164 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7165
7166 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7167 gdb-debug-log.
7168
7169 2013-05-14 Glenn Morris <rgm@gnu.org>
7170
7171 * subr.el (user-emacs-directory-warning): New option.
7172 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7173
7174 2013-05-14 Leo Liu <sdl.web@gmail.com>
7175
7176 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7177 during redisplay.
7178 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7179 (octave-font-lock-texinfo-comment): Fix invalid search bound
7180 error: wrong side of point.
7181
7182 2013-05-14 Glenn Morris <rgm@gnu.org>
7183
7184 * progmodes/flymake.el (flymake-xml-program): New option.
7185 (flymake-xml-init): Use it.
7186
7187 * term/xterm.el: Provide a feature.
7188
7189 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7190
7191 2013-05-13 Glenn Morris <rgm@gnu.org>
7192
7193 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7194 Add compat aliases as a hack workaround. (Bug#14384)
7195
7196 2013-05-13 Leo Liu <sdl.web@gmail.com>
7197
7198 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7199 ###, and %!.
7200 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7201 C-M-q.
7202 (octave-comment-start-skip): Include %!.
7203 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7204
7205 2013-05-12 Leo Liu <sdl.web@gmail.com>
7206
7207 * progmodes/octave.el (inferior-octave-startup): Store the value
7208 of __octave_srcdir__ for octave-source-directories.
7209 (inferior-octave-check-process): New function refactored out of
7210 inferior-octave-send-list-and-digest.
7211 (octave-source-directories)
7212 (octave-find-definition-filename-function): New variables.
7213 (octave-source-directories)
7214 (octave-find-definition-default-filename): New functions.
7215 (octave-find-definition): Improve to find functions implemented in C++.
7216
7217 2013-05-12 Glenn Morris <rgm@gnu.org>
7218
7219 * calendar/diary-lib.el (diary-outlook-format-1):
7220 Don't include dayname in the output. (Bug#14349)
7221
7222 2013-05-11 Glenn Morris <rgm@gnu.org>
7223
7224 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7225
7226 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7227 Treat cc-provide like provide.
7228
7229 2013-05-11 Kevin Ryde <user42@zip.com.au>
7230
7231 * cus-dep.el (custom-make-dependencies):
7232 Use generated-autoload-load-name for the sake of files such
7233 such cedet/semantic/bovine/c.el, where the base file name
7234 is not in load-path. (Bug#5277)
7235
7236 2013-05-11 Glenn Morris <rgm@gnu.org>
7237
7238 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7239 Provide features.
7240
7241 2013-05-11 Leo Liu <sdl.web@gmail.com>
7242
7243 * progmodes/octave.el (octave-indent-comment): Improve.
7244 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7245 (octave-eldoc-function-signatures, octave-eldoc-function):
7246 New functions.
7247 (octave-mode, inferior-octave-mode): Add eldoc support.
7248
7249 2013-05-11 Richard Stallman <rms@gnu.org>
7250
7251 * epa.el (epa-decrypt-file): Take output file name as argument
7252 and read it using `interactive'.
7253
7254 2013-05-11 Leo Liu <sdl.web@gmail.com>
7255
7256 * progmodes/octave.el (octave-beginning-of-line)
7257 (octave-end-of-line): Check before using up-list because it jumps
7258 out of more syntactic contructs since moving to smie.
7259 (octave-indent-comment): New function.
7260 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7261 (octave-begin-keywords, octave-end-keywords)
7262 (octave-reserved-words, octave-smie-bnf-table)
7263 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7264
7265 2013-05-11 Glenn Morris <rgm@gnu.org>
7266
7267 * faces.el (internal-face-x-get-resource):
7268 * frame.el (ns-display-monitor-attributes-list):
7269 * calc/calc-aent.el (math-to-radians-2):
7270 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7271 Fix declarations.
7272
7273 * calc/calc-menu.el: Make it loadable in isolation.
7274
7275 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7276 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7277 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7278 (eudc-bbdb-query-internal): Require 'bbdb.
7279
7280 * lpr.el (lpr-headers-switches):
7281 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7282
7283 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7284
7285 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7286
7287 * term.el (term-set-escape-char): Make it idempotent.
7288
7289 2013-05-10 Leo Liu <sdl.web@gmail.com>
7290
7291 * progmodes/octave.el (inferior-octave-completion-table):
7292 No longer a function and all uses changed. Use cache to speed up
7293 completion due to bug#11906.
7294 (octave-beginning-of-defun): Re-write to be more general.
7295
7296 2013-05-10 Glenn Morris <rgm@gnu.org>
7297
7298 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7299
7300 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * comint.el (comint-redirect-send-command-to-process): Use :around
7303 rather than :override for comint-redirect-filter.
7304 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7305 Call it instead of comint-redirect-original-filter-function (which
7306 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7307
7308 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7309
7310 * frame.el (display-monitor-attributes-list): Add NS case.
7311 (ns-display-monitor-attributes-list): Declare.
7312
7313 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7314
7315 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7316
7317 2013-05-09 Glenn Morris <rgm@gnu.org>
7318
7319 * international/fontset.el (vertical-centering-font-regexp):
7320 Set standard-value.
7321
7322 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7323
7324 * bookmark.el (bookmark-search-delay):
7325 * cus-start.el (vertical-centering-font-regexp):
7326 * ps-mule.el (ps-mule-font-info-database-default):
7327 * ps-print.el (ps-default-fg, ps-default-bg):
7328 * type-break.el (type-break-good-break-interval):
7329 * whitespace.el (whitespace-indentation-regexp)
7330 (whitespace-space-after-tab-regexp):
7331 * emacs-lisp/testcover.el (testcover-1value-functions)
7332 (testcover-noreturn-functions, testcover-progn-functions)
7333 (testcover-prog1-functions):
7334 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7335 * eshell/em-glob.el (eshell-glob-translate-alist):
7336 * play/tetris.el (tetris-tty-colors):
7337 * progmodes/cpp.el (cpp-face-default-list):
7338 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7339 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7340 (idlwave-help-browser-generic-args):
7341 * progmodes/make-mode.el (makefile-special-targets-list):
7342 * progmodes/python.el (python-shell-virtualenv-path):
7343 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7344 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7345 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7346 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7347 * textmodes/reftex-vars.el (reftex-format-label-function):
7348 * textmodes/remember.el (remember-diary-file): Fix custom types.
7349
7350 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7351 Add :version.
7352
7353 2013-05-09 Leo Liu <sdl.web@gmail.com>
7354
7355 * progmodes/octave.el (inferior-octave-completion-at-point):
7356 Restore file completion. (Bug#14300)
7357 (inferior-octave-startup): Fix incorrect highlighting for the
7358 first prompt.
7359
7360 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * progmodes/ruby-mode.el: First cut at SMIE support.
7363 (ruby-use-smie): New var.
7364 (ruby-smie-grammar): New constant.
7365 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7366 (ruby-smie--forward-token, ruby-smie--backward-token)
7367 (ruby-smie-rules): New functions.
7368 (ruby-mode-variables): Setup SMIE if applicable.
7369
7370 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7371
7372 * simple.el (line-move-visual): Signal beginning/end of buffer
7373 only if vertical-motion moved less than it was requested. Avoids
7374 silly incorrect error messages when there are display strings with
7375 multiple newlines at EOL.
7376
7377 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7380 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7381 (prolog-char-quote-workaround):
7382 * progmodes/cperl-mode.el (cperl-under-as-char):
7383 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7384 Mark as obsolete.
7385 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7386 their declaration.
7387 (vhdl-mode-syntax-table-init): Remove.
7388
7389 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7390 last change.
7391
7392 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7393 syntax for "_".
7394 (ld-script-font-lock-keywords):
7395 Change regexps to use things like \_< and \_>.
7396
7397 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7398 Change all regexps to use things like \_< and \_>.
7399
7400 * progmodes/autoconf.el (autoconf-definition-regexp)
7401 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7402 Handle a _ with symbol syntax.
7403 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7404
7405 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7406 Consolidate declaration.
7407 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7408 the declaration.
7409 (ada-create-syntax-table): Remove.
7410 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7411 already has the right syntax nowadays.
7412 (ada-goto-next-word): Don't change the syntax of "_".
7413
7414 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7415 with-wrapper-hook.
7416
7417 2013-05-08 Sam Steingold <sds@gnu.org>
7418
7419 * thingatpt.el (thing-at-point): Accept optional second argument
7420 NO-PROPERTIES to strip the text properties from the return value.
7421 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7422 to `thing-at-point' instead of stripping the properties ourselves.
7423 Also, when `thing-at-point' fails to find a url, prepend "http://"
7424 to the filename at point on the assumption that the user is
7425 pointing at something like gnu.org/gnu.
7426
7427 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7430 * faces.el (crm-separator):
7431 Silence byte-compiler.
7432
7433 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7434 (tool-bar-map): Remove unneeded defvars.
7435
7436 2013-05-08 Leo Liu <sdl.web@gmail.com>
7437
7438 Re-work a fix for bug#10994 based on Le Wang's patch.
7439 * ido.el (ido-remove-consecutive-dups): New helper.
7440 (ido-completing-read): Use it.
7441 (ido-chop): Revert fix for bug#10994.
7442
7443 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7444
7445 * cus-edit.el (custom-save-variables):
7446 Pretty-print long values. (Bug#14187)
7447
7448 2013-05-08 Glenn Morris <rgm@gnu.org>
7449
7450 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7451 (m4-mode-syntax-table): Init in the defvar.
7452 (m4-mode-abbrev-table): Let define-derived-mode define it.
7453
7454 2013-05-08 Tom Tromey <tromey@redhat.com>
7455
7456 * progmodes/m4-mode.el (m4-mode-syntax-table):
7457 Do not treat "_" as word constituent. (Bug#14167)
7458
7459 2013-05-07 Glenn Morris <rgm@gnu.org>
7460
7461 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7462 Remove explicit eshell-isearch-cancel-map.
7463
7464 * progmodes/f90.el (f90-smart-end-names): New option.
7465 (f90-smart-end): Doc fix.
7466 (f90-end-block-optional-name): New constant.
7467 (f90-block-match): Respect f90-smart-end-names.
7468
7469 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7472 about implicit semi-colons (bug#14218).
7473
7474 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7475
7476 * frame.el (display-monitor-attributes-list)
7477 (frame-monitor-attributes): New functions.
7478
7479 2013-05-06 Leo Liu <sdl.web@gmail.com>
7480
7481 * progmodes/octave.el (octave-syntax-propertize-function): Change
7482 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7483 (octave-font-lock-keywords): Use octave-operator-regexp.
7484 (octave-completion-at-point): Rename from
7485 octave-completion-at-point-function.
7486 (inferior-octave-directory-tracker): Robustify.
7487 (octave-text-functions): Remove and fix its uses. No such things
7488 any more.
7489
7490 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * emacs-lisp/trace.el (trace--display-buffer): New function.
7493 (trace-make-advice): Use it.
7494
7495 2013-05-06 Juri Linkov <juri@jurta.org>
7496
7497 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7498 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7499 Doc fix.
7500 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7501 in the help string. (Bug#12985)
7502
7503 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7504
7505 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7506
7507 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * progmodes/perl-mode.el: Add support for here documents.
7510 (perl-syntax-propertize-function): Match here-doc markers.
7511 (perl-syntax-propertize-special-constructs): Find their end.
7512 (perl-imenu-generic-expression): Use [:alnum:].
7513
7514 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7515 (advice--add-function): Refresh the advice if already present
7516 (bug#14317).
7517
7518 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7519
7520 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7521
7522 2013-05-06 Glenn Morris <rgm@gnu.org>
7523
7524 * w32-fns.el (w32-charset-info-alist): Declare.
7525
7526 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7527 of its defcustom properties.
7528 (eshell-cmpl-initialize): No need to load pcomplete.
7529
7530 * generic-x.el: No need to require comint when compiling.
7531
7532 * net/eudc-export.el: Make it loadable without bbdb.
7533 (top-level): Use require rather than load-library.
7534 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7535 (eudc-batch-export-records-to-bbdb)
7536 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7537 Require bbdb.
7538
7539 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7542 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7543 some tweaks, instead.
7544
7545 2013-05-05 Leo Liu <sdl.web@gmail.com>
7546
7547 * progmodes/octave.el (octave-font-lock-keywords)
7548 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7549 (inferior-octave-send-list-and-digest): Improve error message.
7550 (octave-mode, inferior-octave-mode): Use setq-local.
7551 (octave-help): Set info-lookup-mode.
7552
7553 2013-05-05 Richard Stallman <rms@gnu.org>
7554
7555 * vc/compare-w.el (compare-windows-whitespace):
7556 Treat no-break space as whitespace.
7557
7558 * mail/rmailsum.el (rmail-summary-rmail-update):
7559 Detect empty summary and don't change selected message.
7560 (rmail-summary-goto-msg): Likewise.
7561
7562 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7563 Doc fixes, rename args.
7564
7565 2013-05-05 Alan Mackenzie <acm@muc.de>
7566
7567 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7568
7569 2013-05-05 Juri Linkov <juri@jurta.org>
7570
7571 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7572 to not add the length of the summary segment to the return value.
7573 (Bug#14125)
7574
7575 2013-05-05 Leo Liu <sdl.web@gmail.com>
7576
7577 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7578 (inferior-octave-output-filter): Remove.
7579 (octave-send-region, inferior-octave-startup): Fix callers.
7580 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7581 (octave-binary-file-extensions): New user variable.
7582 (octave-find-definition): Confirm if opening binary files.
7583 (octave-help-file): Use octave-find-definition to get the binary
7584 confirmation.
7585 (octave-help): Adjust for octave-help-file change.
7586
7587 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7590 Merge the two entries that handle function definitions.
7591 (pascal--syntax-propertize): New const.
7592 (pascal-mode): Use it. Use setq-local.
7593
7594 2013-05-04 Glenn Morris <rgm@gnu.org>
7595
7596 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7597 (diary-from-outlook): Respect diary-from-outlook-function.
7598
7599 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7602 Move the declaration from C.
7603 (read-minibuffer, eval-minibuffer): Move from C.
7604 (completion-setup-function): Avoid minibuffer-completion-contents.
7605
7606 2013-05-03 Leo Liu <sdl.web@gmail.com>
7607
7608 * progmodes/octave.el (octave-font-lock-keywords): Do not
7609 dehighlight 'end' in comments or strings.
7610 (octave-completing-read, octave-goto-function-definition):
7611 New helpers.
7612 (octave-help-buffer): New user variable.
7613 (octave-help-file, octave-help-function): New button types.
7614 (octave-help): New command and bind it to C-h ;.
7615 (octave-find-definition): New command and bind it to M-.
7616 (user-error): Alias to error if not defined.
7617
7618 2013-05-02 Leo Liu <sdl.web@gmail.com>
7619
7620 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7621 for \. (bug#14332)
7622 (octave-font-lock-keywords): Include [ and {.
7623
7624 2013-05-02 Leo Liu <sdl.web@gmail.com>
7625
7626 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7627 (inferior-octave): Remove calling comint-mode and return the buffer.
7628 (inferior-octave-startup): Cosmetic changes.
7629
7630 2013-05-02 Leo Liu <sdl.web@gmail.com>
7631
7632 * progmodes/octave.el (octave-syntax-propertize-function):
7633 Include the case when ' is at line beginning. (Bug#14336)
7634
7635 2013-05-02 Glenn Morris <rgm@gnu.org>
7636
7637 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7638 * desktop.el (vc-dir-mode): Just autoload it here.
7639
7640 2013-05-02 Alan Mackenzie <acm@muc.de>
7641
7642 Eliminate variable c-standard-font-lock-fontify-region-function.
7643 * progmodes/cc-mode.el
7644 (c-standard-font-lock-fontify-region-function): Remove.
7645 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7646
7647 2013-05-01 Leo Liu <sdl.web@gmail.com>
7648
7649 * progmodes/octave.el: Compatible with older emacs-24 releases.
7650 (inferior-octave-has-built-in-variables): Remove. Built-in
7651 variables were removed from Octave in 2007.
7652 (inferior-octave-startup): Fix uses.
7653 (comint-line-beginning-position): Remove compatibility code for
7654 emacs 21.
7655
7656 2013-05-01 Juri Linkov <juri@jurta.org>
7657
7658 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7659
7660 2013-05-01 Juri Linkov <juri@jurta.org>
7661
7662 * comint.el (comint-previous-matching-input): Don't print message
7663 "History item: %d" when `isearch-mode' is active.
7664 (comint-history-isearch-message): Print message "History item: %d"
7665 when `comint-input-ring-index' is not empty and this function is
7666 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7667
7668 2013-05-01 Leo Liu <sdl.web@gmail.com>
7669
7670 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7671 definitions. Use completion-at-point to insert keywords.
7672 (octave-abbrev-start): Remove.
7673 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7674
7675 2013-04-30 Leo Liu <sdl.web@gmail.com>
7676
7677 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7678 change.
7679
7680 2013-04-30 Alan Mackenzie <acm@muc.de>
7681
7682 Handle arbitrarily long C++ member initialisation lists.
7683 * progmodes/cc-engine.el (c-back-over-member-initializers):
7684 new function.
7685 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7686 (most) member init lists.
7687
7688 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7689
7690 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7691 variable.
7692
7693 2013-04-30 Leo Liu <sdl.web@gmail.com>
7694
7695 * progmodes/octave.el (octave-variables): Remove. No builtin
7696 variables any more. All converted to functions.
7697 (octave-font-lock-keywords, octave-completion-at-point-function):
7698 Fix uses.
7699 (octave-font-lock-texinfo-comment): New user variable.
7700 (octave-texinfo-font-lock-keywords): New variable for texinfo
7701 comment block.
7702 (octave-function-comment-block): New face.
7703 (octave-font-lock-texinfo-comment): New function.
7704 (octave-mode): Font lock texinfo comment block.
7705
7706 2013-04-29 Leo Liu <sdl.web@gmail.com>
7707
7708 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7709 indexing expression.
7710 (octave-continuation-string): Do not use \.
7711 (inferior-octave-complete-impossible): Remove.
7712 (inferior-octave-completion-table)
7713 (inferior-octave-completion-at-point): Remove its uses.
7714 (inferior-octave-startup): completion_matches was introduced to
7715 Octave in 1996 so safe to assume it.
7716 (octave-function-file-comment): Improve to follow how Octave does it.
7717 (octave-update-function-file-comment): Tweak.
7718
7719 2013-04-29 Leo Liu <sdl.web@gmail.com>
7720
7721 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7722 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7723 (octave-function-file-comment): Fix typo.
7724 (octave-sync-function-file-names): Use read-char-choice.
7725
7726 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7727
7728 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7729 to t for the less important warnings.
7730
7731 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7732
7733 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7734
7735 2013-04-27 Glenn Morris <rgm@gnu.org>
7736
7737 * vc/log-view.el (log-view-current-entry):
7738 Treat "---" separator lines as part of the following rev. (Bug#14169)
7739
7740 2013-04-27 Juri Linkov <juri@jurta.org>
7741
7742 * subr.el (read-number): Doc fix about using it by interactive
7743 code letter `n'. (Bug#14254)
7744
7745 2013-04-27 Juri Linkov <juri@jurta.org>
7746
7747 * desktop.el (desktop-auto-save-timeout): New option.
7748 (desktop-file-checksum): New variable.
7749 (desktop-save): Add optional arg `auto-save' and don't auto-save
7750 if nothing changed.
7751 (desktop-auto-save-timer): New variable.
7752 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7753 (after-init-hook): Call `desktop-auto-save-set-timer'.
7754 Suggested by Reuben Thomas <rrt@sc3d.org> in
7755 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7756
7757 2013-04-27 Leo Liu <sdl.web@gmail.com>
7758
7759 * progmodes/octave.el (octave-function-file-p)
7760 (octave-skip-comment-forward, octave-function-file-comment)
7761 (octave-update-function-file-comment): New functions.
7762 (octave-mode-map): Bind C-c ; to
7763 octave-update-function-file-comment.
7764 (octave-mode-menu): Add octave-update-function-file-comment.
7765 (octave-mode, inferior-octave-mode): Fix doc-string.
7766 (octave-insert-defun): Conform to Octave's coding convention.
7767 (Bug#14285)
7768
7769 * files.el (basic-save-buffer): Don't let errors in
7770 before-save-hook prevent saving buffer.
7771
7772 2013-04-20 Roland Winkler <winkler@gnu.org>
7773
7774 * faces.el (read-face-name): Use completing-read if arg multiple
7775 is nil.
7776
7777 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7778
7779 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7780 displayed, move point to after the totals line.
7781 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7782 for the details.
7783
7784 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7787 Add current dir to the load-path.
7788 (package-generate-autoloads): Don't rely on
7789 autoload-ensure-default-file.
7790
7791 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7792
7793 * textmodes/remember.el (remember-store-in-files): Document that
7794 the file name format is passed to `format-time-string'.
7795
7796 2013-04-26 Leo Liu <sdl.web@gmail.com>
7797
7798 * progmodes/octave.el (octave-sync-function-file-names): New function.
7799 (octave-mode): Use it in before-save-hook.
7800
7801 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7804 (bug#14274).
7805
7806 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7807 \n and comment, even if it's not an implicit ; (bug#14218).
7808
7809 2013-04-26 Glenn Morris <rgm@gnu.org>
7810
7811 * subr.el (read-number): Once more use `read' rather than
7812 `string-to-number', to trap non-numeric input. (Bug#14254)
7813
7814 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7815
7816 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7817 Use `syntax-multiline' text property consistently instead of
7818 `font-lock-multiline'. (Bug#14237)
7819
7820 2013-04-26 Glenn Morris <rgm@gnu.org>
7821
7822 * emacs-lisp/shadow.el (list-load-path-shadows):
7823 No longer necessary to check for duplicate simple.el, since
7824 2012-07-07 change to init_lread to not include installation lisp
7825 directories in load-path when running uninstalled. (Bug#14270)
7826
7827 2013-04-26 Leo Liu <sdl.web@gmail.com>
7828
7829 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7830 (octave-mode, inferior-octave-mode): Use setq-local.
7831 (octave-not-in-string-or-comment-p): Rename to
7832 octave-in-string-or-comment-p.
7833 (octave-in-comment-p, octave-in-string-p)
7834 (octave-in-string-or-comment-p): Replace defsubst with defun.
7835
7836 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7837
7838 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7839
7840 2013-04-25 Bastien Guerry <bzg@gnu.org>
7841
7842 * textmodes/remember.el (remember-data-directory)
7843 (remember-directory-file-name-format): Fix custom types.
7844
7845 2013-04-25 Leo Liu <sdl.web@gmail.com>
7846
7847 * progmodes/octave.el (octave-completion-at-point-function):
7848 Make use of inferior octave process.
7849 (octave-initialize-completions): Remove.
7850 (inferior-octave-completion-table): New function.
7851 (inferior-octave-completion-at-point): Use it.
7852 (octave-completion-alist): Remove.
7853
7854 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7855
7856 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7857 (opascal-mode-syntax-table): New var.
7858 (opascal-literal-kind, opascal-is-literal-end)
7859 (opascal-literal-token-at): Rewrite.
7860 (opascal--literal-start-re, opascal-font-lock-keywords)
7861 (opascal--syntax-propertize): New constants.
7862 (opascal-font-lock-defaults): Adjust.
7863 (opascal-mode): Use them. Set comment-<foo> variables as well.
7864 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7865 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7866 (delphi-other-face, opascal-other-face): Remove face variables.
7867 (opascal-save-state): Remove macro.
7868 (opascal-fontifying-progress-step): Remove constant.
7869 (opascal--ignore-changes): Remove var.
7870 (opascal-set-token-property, opascal-parse-next-literal)
7871 (opascal-is-stable-literal, opascal-complete-literal)
7872 (opascal-is-literal-start, opascal-face-of)
7873 (opascal-parse-region, opascal-parse-region-until-stable)
7874 (opascal-fontify-region, opascal-after-change)
7875 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7876 (opascal-debug-parse-region, opascal-debug-parse-window)
7877 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7878 (opascal-debug-fontify-buffer): Remove.
7879 (opascal-debug-mode-map): Adjust accordingly.
7880
7881 2013-04-25 Leo Liu <sdl.web@gmail.com>
7882
7883 Merge octave-mod.el and octave-inf.el into octave.el with some
7884 cleanups.
7885 * progmodes/octave.el: New file renamed from octave-mod.el.
7886 * progmodes/octave-inf.el: Merged into octave.el.
7887 * progmodes/octave-mod.el: Renamed to octave.el.
7888
7889 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7890
7891 * textmodes/reftex-vars.el
7892 (reftex-label-ignored-macros-and-environments): New defcustom.
7893
7894 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7895
7896 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7899 (smie-indent-keyword): Improve the check to ensure that the next
7900 comment is really on the same line.
7901 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7902
7903 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7904 semi-colons if the line is not otherwise empty (bug#14218).
7905
7906 2013-04-25 Glenn Morris <rgm@gnu.org>
7907
7908 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7909
7910 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * progmodes/opascal.el (opascal-set-token-property): Rename from
7913 opascal-set-text-properties and only set `token' (bug#14134).
7914 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7915 (opascal-literal-text-properties): Remove.
7916 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7917 Adjust callers.
7918
7919 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7920
7921 * textmodes/remember.el (remember-handler-functions): Add an
7922 option for a new handler `remember-store-in-files'.
7923 (remember-data-directory, remember-directory-file-name-format):
7924 New options.
7925 (remember-store-in-files): New function to store remember notes
7926 as separate files within a directory.
7927
7928 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7929
7930 * progmodes/compile.el (compilation-next-error-function):
7931 Pass "formats" to compilation-find-file (bug#11777).
7932
7933 2013-04-24 Glenn Morris <rgm@gnu.org>
7934
7935 * vc/vc-bzr.el (vc-bzr-print-log):
7936 * vc/vc-hg.el (vc-hg-print-log):
7937 * vc/vc-svn.el (vc-svn-print-log):
7938 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7939
7940 * vc/vc-bzr.el (vc-bzr-print-log):
7941 * vc/vc-cvs.el (vc-cvs-print-log):
7942 * vc/vc-git.el (vc-git-print-log):
7943 * vc/vc-hg.el (vc-hg-print-log):
7944 * vc/vc-mtn.el (vc-mtn-print-log):
7945 * vc/vc-rcs.el (vc-rcs-print-log):
7946 * vc/vc-sccs.el (vc-sccs-print-log):
7947 * vc/vc-svn.el (vc-svn-print-log):
7948 * vc/vc.el (vc-print-log-internal): Doc fixes.
7949
7950 2013-04-23 Glenn Morris <rgm@gnu.org>
7951
7952 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7953 Remove venerable code attempting to avoid substitute-command-keys.
7954
7955 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7956
7957 * textmodes/reftex-vars.el (reftex-label-regexps):
7958 Call `reftex-compile-variables' after changes to this variable.
7959
7960 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7961
7962 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7963 Use lexical-binding.
7964 (jit-lock-force-redisplay): Use markers, check buffer's continued
7965 existence and beware narrowed buffers.
7966 (jit-lock-fontify-now): Adjust call accordingly.
7967
7968 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7971 to avoid misleading the user.
7972
7973 2013-04-22 Leo Liu <sdl.web@gmail.com>
7974
7975 * info-look.el: Prefer latex2e.info. (Bug#14240)
7976
7977 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7978
7979 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7980
7981 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7982 * net/tramp.el (tramp-call-process): ... here.
7983 (tramp-set-completion-function, tramp-parse-putty):
7984 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7985 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7986 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7987 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7988 (tramp-call-local-coding-command): Use `tramp-call-process'
7989 instead of `tramp-compat-call-process'.
7990
7991 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7992 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7993 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7994 (tramp-find-inline-compress): Improve traces.
7995 (tramp-maybe-send-script): Check for Perl binary.
7996 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7997
7998 2013-04-22 Daiki Ueno <ueno@gnu.org>
7999
8000 * epg.el (epg-context-pinentry-mode): New function.
8001 (epg-context-set-pinentry-mode): New function.
8002 (epg--start): Pass --pinentry-mode option to gpg command.
8003
8004 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8005
8006 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8007 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8008 `completion-at-point'. (Bug#13774)
8009
8010 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8011 default key binding for `describe-distribution' has been moved to
8012 `C-h C-o'. (Bug#13970)
8013
8014 2013-04-21 Glenn Morris <rgm@gnu.org>
8015
8016 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8017 Add doc strings.
8018 (vc-print-log): Clarify interactive prompt.
8019
8020 2013-04-20 Glenn Morris <rgm@gnu.org>
8021
8022 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8023 No longer include timestamp etc information.
8024
8025 2013-04-20 Roland Winkler <winkler@gnu.org>
8026
8027 * faces.el (read-face-name): Bug fix, return just one face if arg
8028 multiple is nil. (Bug#14209)
8029
8030 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8033 (remove-function): Autoload.
8034
8035 * comint.el (comint-redirect-original-filter-function): Remove.
8036 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8037 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8038 (vc-cvs-annotate-command):
8039 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8040 * progmodes/prolog.el (prolog-consult-compile):
8041 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8042 Use add/remove-function instead.
8043 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8044 (gud-tooltip-process-output, gud-tooltip-tips):
8045 Use add/remove-function instead.
8046 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8047 (scheme-interaction-mode, exit-scheme-interaction-mode):
8048 Use add/remove-function instead.
8049
8050 * vc/vc-dispatcher.el: Use lexical-binding.
8051 (vc--process-sentinel): Rename from vc-process-sentinel.
8052 Change last arg to be the code to run. Don't use vc-previous-sentinel
8053 and vc-sentinel-commands any more.
8054 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8055 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8056
8057 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8058
8059 * progmodes/sh-script.el (sh-imenu-generic-expression):
8060 Handle function names with a single character. (Bug#14111)
8061
8062 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8063
8064 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8065 for subroutines defined in an eval (bug#14182).
8066
8067 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8068
8069 * bookmark.el (bookmark-completing-read): Improve handling of empty
8070 string (bug#14176).
8071
8072 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8075
8076 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8077
8078 New faster Imenu implementation (bug#14058).
8079 * progmodes/python.el:
8080 (python-imenu-prev-index-position):
8081 (python-imenu-format-item-label-function)
8082 (python-imenu-format-parent-item-label-function)
8083 (python-imenu-format-parent-item-jump-label-function):
8084 New vars.
8085 (python-imenu-format-item-label)
8086 (python-imenu-format-parent-item-label)
8087 (python-imenu-format-parent-item-jump-label)
8088 (python-imenu--put-parent, python-imenu--build-tree)
8089 (python-imenu-create-index, python-imenu-create-flat-index)
8090 (python-util-popn): New functions.
8091 (python-mode): Set imenu-create-index-function to
8092 python-imenu-create-index.
8093
8094 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * winner.el (winner-active-region): Use region-active-p, activate-mark
8097 and deactivate-mark (bug#14225).
8098
8099 * simple.el (deactivate-mark): Don't inline it.
8100
8101 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8102
8103 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8104
8105 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8106
8107 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8108 file extensions from the archive-mode entry in order to prefer
8109 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8110
8111 2013-04-18 Leo Liu <sdl.web@gmail.com>
8112
8113 * bindings.el (help-event-list): Add ?\?.
8114
8115 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * subr.el (with-wrapper-hook): Declare obsolete.
8118 * simple.el (filter-buffer-substring-function): New hook.
8119 (filter-buffer-substring): Use it.
8120 (filter-buffer-substring-functions): Mark obsolete.
8121 * minibuffer.el (completion-in-region-function): New hook.
8122 (completion-in-region): Use it.
8123 (completion-in-region-functions): Mark obsolete.
8124 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8125 * abbrev.el (abbrev-expand-function): New hook.
8126 (expand-abbrev): Use it.
8127 (abbrev-expand-functions): Mark obsolete.
8128 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8129 and :filter-return.
8130
8131 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8132
8133 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8134 and do not care about match data.
8135
8136 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8139 completion tables when completing error conditions and
8140 `declare' arguments.
8141 (lisp-complete-symbol, field-complete): Mark as obsolete.
8142 (check-parens): Unmatched parens are user errors.
8143 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8144
8145 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8146
8147 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8148 command changed buffer (ie. `flyspell-pre-buffer' is not current
8149 buffer), which prevents making decisions based on invalid value of
8150 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8151 cause an error when `flyspell-pre-point' was nil after switching
8152 buffers.
8153 (flyspell-post-command-hook): No longer needs to change buffers when
8154 checking pre-word. While at it remove unnecessary progn.
8155
8156 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8157
8158 * textmodes/ispell.el (ispell-add-per-file-word-list):
8159 Fix `flyspell-correct-word-before-point' error when accepting
8160 words and `coment-padding' is an integer by using
8161 `comment-normalize-vars' (Bug #14214).
8162
8163 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8164
8165 New defun movement commands.
8166 * progmodes/python.el (python-nav--syntactically)
8167 (python-nav--forward-defun, python-nav-backward-defun)
8168 (python-nav-forward-defun): New functions.
8169
8170 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8171
8172 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8173 (python-syntax-context): Use named compiler-macro for backwards
8174 compatibility with Emacs 24.x.
8175
8176 2013-04-17 Leo Liu <sdl.web@gmail.com>
8177
8178 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8179 octave-hide-process-buffer.
8180
8181 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8184 (bug#14216).
8185
8186 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8187
8188 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8189 Fix adjustment of offset when receiving incomplete responses from GDB
8190 (bug#14129).
8191
8192 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8193
8194 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8195 python-mode-abbrev-table.
8196 (python-skeleton-define): Adjust accordingly.
8197 (python-mode-abbrev-table): New table that inherits from it so that
8198 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8199
8200 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8201 (abbrev-symbol): Use it.
8202 (abbrev--before-point): Use it since we already handle inheritance.
8203
8204 2013-04-16 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8207 binding to info-lookup-symbol.
8208
8209 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * minibuffer.el (completion--twq-all):
8212 * term/ns-win.el (ns-initialize-window-system):
8213 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8214
8215 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8218 global bindings.
8219
8220 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8221
8222 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8223
8224 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8225 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8226 to nil.
8227 (ruby-end-of-defun): Remove the unused arg, change the docstring
8228 to reflect that this function is only used as the value of
8229 `end-of-defun-function'.
8230 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8231 to reflect an earlier change that beginning/end-of-defun functions
8232 jump between methods in a class definition, as well as top-level
8233 functions.
8234
8235 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * minibuffer.el (minibuffer-complete): Don't just scroll
8238 a *Completions* that's been iconified.
8239 (minibuffer-force-complete): Make sure repetitions do cycle when going
8240 through completion-in-region -> minibuffer-complete.
8241
8242 2013-04-15 Alan Mackenzie <acm@muc.de>
8243
8244 Correct the placement of c-cpp-delimiters when there're #s not at
8245 col 0.
8246
8247 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8248 place a submatch around the #.
8249 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8250 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8251 on the #, not BOL.
8252
8253 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8256 (advice--member-p): New arg `name'.
8257 (advice--add-function, advice-member-p): Use it (bug#14202).
8258
8259 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8260
8261 Reformulate java imenu-generic-expression.
8262 The old expression contained ill formed regexps.
8263
8264 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8265 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8266 (cc-imenu-java-method-arg-regexp): New defconsts.
8267 (cc-imenu-java-build-type-args-regex): New defun.
8268 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8269 handling of spaces in the regexp.
8270
8271 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8272
8273 * textmodes/ispell.el (ispell-command-loop): Remove
8274 flyspell highlight of a word when ispell accepts it (bug #14178).
8275
8276 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8277
8278 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8279 uses code from the previous `ange-ftp-run-real-handler'.
8280 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8281 only in case that function exist. This is needed for proper
8282 unloading of Tramp.
8283
8284 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8285
8286 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8287
8288 * textmodes/reftex.el (reftex-compile-variables): Use it.
8289
8290 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * files.el (normal-mode): Only use default major-mode if no other mode
8293 was specified.
8294
8295 * emacs-lisp/trace.el (trace-values): New function.
8296
8297 * files.el: Allow : in local variables (bug#14089).
8298 (hack-local-variable-regexp): New var.
8299 (hack-local-variables-prop-line, hack-local-variables): Use it.
8300
8301 2013-04-13 Roland Winkler <winkler@gnu.org>
8302
8303 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8304 data before it gets modified by bibtex-beginning-of-entry.
8305
8306 2013-04-13 Roland Winkler <winkler@gnu.org>
8307
8308 * textmodes/bibtex.el (bibtex-url): Doc fix.
8309
8310 2013-04-13 Roland Winkler <winkler@gnu.org>
8311
8312 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8313 does not visit a BibTeX file, exclude it from the list of buffers
8314 returned by bibtex-initialize.
8315
8316 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8317
8318 * window.el (split-window): Remove interactive form, since as a
8319 command this function is a special case of split-window-below.
8320 Correct doc string.
8321
8322 2013-04-12 Roland Winkler <winkler@gnu.org>
8323
8324 * faces.el (read-face-name): Do not override value of arg default.
8325 Allow single faces and strings as default values. Remove those
8326 elements from return value that are not faces.
8327 (describe-face): Simplify.
8328 (face-at-point): New optional args thing and multiple so that this
8329 function can provide the same functionality previously provided by
8330 read-face-name.
8331 (make-face-bold, make-face-unbold, make-face-italic)
8332 (make-face-unitalic, make-face-bold-italic, invert-face)
8333 (modify-face, read-face-and-attribute): Use face-at-point.
8334
8335 * cus-edit.el (customize-face, customize-face-other-window)
8336 * cus-theme.el (custom-theme-add-face)
8337 * face-remap.el (buffer-face-set)
8338 * facemenu.el (facemenu-set-face): Use face-at-point.
8339
8340 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8341
8342 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8343
8344 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8345
8346 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8347 off leading { and trailing } from field values.
8348
8349 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * emacs-lisp/timer.el (timer--check): New function.
8352 (timer--time, timer-set-function, timer-event-handler): Use it.
8353 (timer-set-idle-time): Simplify.
8354 (timer--activate): CSE.
8355 (timer-event-handler): Give more info in error message.
8356 (internal-timer-start-idle): New function, moved from C.
8357
8358 * mpc.el (mpc-proc): Add `restart' argument.
8359 (mpc-proc-cmd): Use it.
8360 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8361 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8362 less often.
8363
8364 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8365
8366 * progmodes/sh-script.el: Implement `sh-mode' own
8367 `add-log-current-defun-function' (bug#14112).
8368 (sh-current-defun-name): New function.
8369 (sh-mode): Use the function.
8370
8371 2013-04-09 Bastien Guerry <bzg@gnu.org>
8372
8373 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8374
8375 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8378
8379 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8380 timer (bug#14156).
8381
8382 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8383
8384 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8385 declaration.
8386
8387 2013-04-07 Leo Liu <sdl.web@gmail.com>
8388
8389 * pcmpl-x.el: New file.
8390
8391 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8392
8393 Do not set x-display-name until X connection is established.
8394 This is needed to prevent from weird situation described at
8395 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8396 * frame.el (make-frame): Set x-display-name after call to
8397 window system initialization function, not before.
8398 * term/x-win.el (x-initialize-window-system): Add optional
8399 display argument and use it.
8400 * term/w32-win.el (w32-initialize-window-system):
8401 * term/ns-win.el (ns-initialize-window-system):
8402 * term/pc-win.el (msdos-initialize-window-system):
8403 Add compatible optional display argument.
8404
8405 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8406
8407 * files.el (normal-backup-enable-predicate): On MS-Windows and
8408 MS-DOS compare truenames of temporary-file-directory and of the
8409 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8410 don't fail comparison by compare-strings. Also, compare file
8411 names case-insensitively on MS-Windows and MS-DOS.
8412
8413 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8416 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8417
8418 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8419
8420 * whitespace.el (whitespace-color-on, whitespace-color-off):
8421 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8422
8423 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8424
8425 * ispell.el (ispell-set-spellchecker-params):
8426 Really set `ispell-args' for all equivs.
8427
8428 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * ido.el (ido-completions): Use extra elements of ido-decorations
8431 (bug#14143).
8432 (ido-decorations): Update docstring.
8433
8434 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8437 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8438 nil during initialization, in order not to miss changes since the
8439 file was opened. (Bug#14140)
8440
8441 2013-04-05 Leo Liu <sdl.web@gmail.com>
8442
8443 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8444
8445 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8446
8447 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8448
8449 2013-04-04 Glenn Morris <rgm@gnu.org>
8450
8451 * electric.el (electric-pair-inhibit-predicate): Add :version.
8452
8453 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8456 when a package is required several times (bug#14082).
8457
8458 2013-04-04 Roland Winkler <winkler@gnu.org>
8459
8460 * faces.el (read-face-name): Behave as promised by the docstring.
8461 Assume that arg default is a list of faces.
8462 (describe-face): Call read-face-name with list of default faces.
8463
8464 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8465
8466 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8467 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8468 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8469 the header.
8470 (bookmark-exit-hook-internal): Save even if list is empty.
8471
8472 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8473
8474 * emacs-lisp/package.el (package-pinned-packages): New var.
8475 (package--add-to-archive-contents): Obey it (bug#14118).
8476
8477 2013-04-03 Alan Mackenzie <acm@muc.de>
8478
8479 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8480 Also adapt to the new values of element 7 of a parse state.
8481
8482 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8483 parameter `not-in-delimiter'. Handle being inside comment opener.
8484 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8485 character in case we're typing a '*' after a '/'.
8486 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8487 instead by passing the parameter to c-state-pp-to-literal.
8488
8489 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8490 for elt. 7 of a parse state.
8491
8492 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8493
8494 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8495 * international/latin1-disp.el, international/mule-util.el:
8496 * language/cyril-util.el, language/european.el, language/ind-util.el:
8497 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8498 * language/tibetan.el, language/viet-util.el:
8499 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8500
8501 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8504 (electric-pair-post-self-insert-function): Use it.
8505 (electric-pair-default-inhibit): New function, extracted from
8506 electric-pair-post-self-insert-function.
8507
8508 2013-03-31 Roland Winkler <winkler@gnu.org>
8509
8510 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8511
8512 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8515
8516 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8517
8518 Un-indent after "pass" and "return" statements (Bug#13888)
8519 * progmodes/python.el (python-indent-block-enders): New var.
8520 (python-indent-calculate-indentation): Use it.
8521
8522 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8523
8524 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8525 defun. Defining it as defalias could introduce too eager
8526 byte-compiler optimization. (Bug#14030)
8527
8528 2013-03-30 Chong Yidong <cyd@gnu.org>
8529
8530 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8531
8532 2013-03-30 Leo Liu <sdl.web@gmail.com>
8533
8534 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8535 (kmacro-execute-from-register): Pass the keyboard macro to
8536 kmacro-call-macro or repeating won't work correctly.
8537
8538 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8539
8540 * progmodes/subword.el: Back to using `forward-symbol'.
8541
8542 * subr.el (forward-whitespace, forward-symbol)
8543 (forward-same-syntax): Move from thingatpt.el.
8544
8545 2013-03-29 Leo Liu <sdl.web@gmail.com>
8546
8547 * kmacro.el (kmacro-to-register): New command.
8548 (kmacro-execute-from-register): New function.
8549 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8550
8551 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * mpc.el: Use defvar-local and setq-local.
8554 (mpc--proc-connect): Connection failures are not bugs.
8555 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8556 (mpc-volume-map): Bind to the up-events.
8557
8558 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8559
8560 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8561 instead of `forward-symbol'.
8562
8563 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8566 (edebug--recursive-edit): Use it.
8567 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8568 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8569
8570 2013-03-28 Leo Liu <sdl.web@gmail.com>
8571
8572 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8573
8574 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8575
8576 * facemenu.el (list-colors-callback): New defvar.
8577 (list-colors-redisplay): New function.
8578 (list-colors-display): Install list-colors-redisplay as the
8579 revert-buffer-function. (Bug#14063)
8580
8581 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8584 and suffixes don't overlap (bug#14061).
8585
8586 * case-table.el: Use lexical-binding.
8587 (case-table-get-table): New function.
8588 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8589
8590 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8591
8592 * progmodes/subword.el: Add `superword-mode' to do word motion
8593 over symbol_words (parallels and leverages `subword-mode' which
8594 does word motion inside MixedCaseWords).
8595
8596 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8597
8598 * eshell/em-unix.el: Move su and sudo to...
8599 * eshell/em-tramp.el: ...Eshell tramp module.
8600
8601 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8604 Change return value to be a sexp. Delay `get-buffer' to after
8605 restoring the desktop (bug#13951).
8606
8607 2013-03-26 Leo Liu <sdl.web@gmail.com>
8608
8609 * register.el: Move semantic tag handling back to
8610 cedet/semantic/senator.el. (Bug#14052)
8611
8612 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8615 into the prompt either (bug#13963).
8616
8617 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8620 part of "(error-foo)".
8621
8622 2013-03-24 Juri Linkov <juri@jurta.org>
8623
8624 * replace.el (list-matching-lines-prefix-face): New defcustom.
8625 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8626 `occur-engine' if `face-differs-from-default-p' returns t.
8627 (occur-engine): Add `,' inside backquote construct to evaluate
8628 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8629 Pass `prefix-face' to the functions `occur-context-lines' and
8630 `occur-engine-add-prefix'.
8631 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8632 `prefix-face' and propertize the prefix with `prefix-face'.
8633 (Bug#14017)
8634
8635 2013-03-24 Leo Liu <sdl.web@gmail.com>
8636
8637 * nxml/rng-valid.el (rng-validate-while-idle)
8638 (rng-validate-quick-while-idle): Guard against deleted buffer.
8639 (Bug#13999)
8640
8641 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8642 is the last entry in kill-buffer-hook.
8643
8644 * files.el (kill-buffer-hook): Doc fix.
8645
8646 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8647
8648 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8649 Make it safe-local.
8650
8651 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8652
8653 2013-03-23 Leo Liu <sdl.web@gmail.com>
8654
8655 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8656 Remove.
8657
8658 * nxml/rng-valid.el (rng-validate-mode)
8659 (rng-after-change-function, rng-do-some-validation):
8660 * nxml/rng-maint.el (rng-validate-buffer):
8661 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8662 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8663 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8664 (nxml-extend-after-change-region): Use with-silent-modifications.
8665
8666 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8667 timer-idle-list.
8668
8669 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8670 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8671 timer-idle-list. (Bug#13999)
8672
8673 2013-03-23 Juri Linkov <juri@jurta.org>
8674
8675 * info.el (info-index-match): New face.
8676 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8677 main pattern and add text properties with the new face to matches
8678 in index entries relative to the beginning of the index entry.
8679 (Bug#14015)
8680
8681 2013-03-21 Eric Ludlam <zappo@gnu.org>
8682
8683 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8684 Inhibit read only while inserting objects.
8685
8686 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8687
8688 * progmodes/cfengine.el: Update docs to mention
8689 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8690 symbol motion. Remove "_" from the word syntax.
8691
8692 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8693
8694 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8695 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8696
8697 2013-03-20 Juri Linkov <juri@jurta.org>
8698
8699 * info.el (Info-next-reference-or-link)
8700 (Info-prev-reference-or-link): New functions.
8701 (Info-next-reference, Info-prev-reference): Use them.
8702 (Info-try-follow-nearest-node): Handle footnote navigation.
8703 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8704
8705 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8708 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8709
8710 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8711
8712 Suppress unnecessary non-ASCII chatter during build process.
8713 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8714 (batch-skkdic-convert): Suppress most of the chatter.
8715 It's not needed so much now that machines are faster,
8716 and its non-ASCII component was confusing; see Dmitry Gutov in
8717 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8718
8719 2013-03-20 Leo Liu <sdl.web@gmail.com>
8720
8721 * ido.el (ido-chop): Fix bug#10994.
8722
8723 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8724
8725 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8726 Remove vars.
8727 (whitespace-color-on, whitespace-color-off):
8728 Use `font-lock-fontify-buffer' (Bug#13817).
8729
8730 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8733 remapping in mode-line.
8734 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8735
8736 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8737
8738 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8739 value for `whitespace-line' face (Bug#13875).
8740 (whitespace-font-lock-keywords): Change description.
8741 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8742 the constructed keywords instead.
8743 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8744
8745 2013-03-19 Leo Liu <sdl.web@gmail.com>
8746
8747 * progmodes/compile.el (compilation-display-error): New command.
8748 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8749 C-o. (Bug#13992)
8750
8751 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8752
8753 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8754
8755 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8756
8757 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8758
8759 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8760
8761 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8762
8763 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8764 * net/tramp-gvfs.el (top):
8765 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8766 (tramp-handle-shell-command): Use it.
8767 (tramp-dissect-file-name): Raise an error when hostname is a
8768 method name, and neither method nor user is specified.
8769
8770 * net/trampver.el: Update release number.
8771
8772 2013-03-18 Leo Liu <sdl.web@gmail.com>
8773
8774 Make sure eldoc can be turned off properly.
8775 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8776 eldoc-mode.
8777 (eldoc-display-message-p): Revert last change.
8778 (eldoc-display-message-no-interference-p)
8779 (eldoc-print-current-symbol-info): Tweak.
8780
8781 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8782
8783 * doc-view.el (doc-view-new-window-function): Check the new window
8784 overlay's display property instead the char property of the
8785 buffer's first char. Use `with-selected-window' instead of
8786 `save-window-excursion' with `select-window'.
8787 (doc-view-document->bitmap): Check the current doc-view overlay's
8788 display property instead the char property of the buffer's first char.
8789
8790 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8791
8792 Automate the build of ja-dic.el (Bug#13984).
8793 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8794 from the input, rather than assume that it's been done for us by the
8795 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8796 the current date into a ja-dic.el comment, as that complicates
8797 regression testing.
8798
8799 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * whitespace.el: Fix double evaluation.
8802 (whitespace-space, whitespace-hspace, whitespace-tab)
8803 (whitespace-newline, whitespace-trailing, whitespace-line)
8804 (whitespace-space-before-tab, whitespace-indentation)
8805 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8806 obsolete defvars.
8807 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8808 (whitespace-color-on): Use a single font-lock-add-keywords call.
8809 Fix double-evaluation of face variables.
8810
8811 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8812
8813 * net/tramp-adb.el (tramp-adb-parse-device-names):
8814 Use `start-process' instead of `call-process'. Otherwise, the
8815 function might be blocked under MS Windows. (Bug#13299)
8816
8817 2013-03-17 Leo Liu <sdl.web@gmail.com>
8818
8819 Extend eldoc to display info in the mode-line. (Bug#13978)
8820 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8821 (eldoc-mode-line-string): New variable.
8822 (eldoc-minibuffer-message): New function.
8823 (eldoc-message-function): New variable.
8824 (eldoc-message): Use it.
8825 (eldoc-display-message-p)
8826 (eldoc-display-message-no-interference-p):
8827 Support eldoc-post-insert-mode.
8828
8829 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8830 (eval-expression): Run it.
8831
8832 2013-03-17 Roland Winkler <winkler@gnu.org>
8833
8834 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8835 strings in the list of return values.
8836
8837 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8838
8839 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8840 radix before checking for HMS forms.
8841
8842 2013-03-16 Leo Liu <sdl.web@gmail.com>
8843
8844 * progmodes/scheme.el: Add indentation and font-locking for λ.
8845 (Bug#13975)
8846
8847 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8850 token before point (bug#13942).
8851
8852 2013-03-16 Leo Liu <sdl.web@gmail.com>
8853
8854 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8855
8856 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8857
8858 * startup.el (command-line-normalize-file-name): Fix handling of
8859 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8860 <xfq.free@gmail.com> in
8861 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8862
8863 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8864
8865 Sync with Tramp 2.2.7.
8866
8867 * net/trampver.el: Update release number.
8868
8869 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8870
8871 * doc-view.el: Fix bug#13887.
8872 (doc-view-insert-image): Don't modify overlay associated to
8873 non-live windows, and implement horizontal centering of image in
8874 case it's smaller than the window.
8875 (doc-view-new-window-function): Force redisplay of new windows on
8876 doc-view buffers.
8877
8878 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8879
8880 * saveplace.el (save-place-alist-to-file): Don't sort
8881 `save-place-alist', just pretty-print it (bug#13882).
8882
8883 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8884
8885 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8886 Check whether `default-file-name-coding-system' is bound.
8887 It isn't in XEmacs.
8888
8889 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8890
8891 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8892 backquotes for `obsolete' (bug#13929).
8893
8894 * international/mule.el (find-auto-coding): Include file name in
8895 obsolescence warning (bug#13922).
8896
8897 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8898
8899 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8900 for CFEngine 3-specific indentation.
8901 (cfengine3-indent-line): Use it. Fix up category regex.
8902 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8903
8904 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * type-break.el (type-break-file-name):
8907 * textmodes/remember.el (remember-data-file):
8908 * strokes.el (strokes-file):
8909 * shadowfile.el (shadow-initialize):
8910 * saveplace.el (save-place-file):
8911 * ps-bdf.el (bdf-cache-file):
8912 * progmodes/idlwave.el (idlwave-config-directory):
8913 * net/quickurl.el (quickurl-url-file):
8914 * international/kkc.el (kkc-init-file-name):
8915 * ido.el (ido-save-directory-list-file):
8916 * emulation/viper.el (viper-custom-file-name):
8917 * emulation/vip.el (vip-startup-file):
8918 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8919 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8920
8921 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8922
8923 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8924 * language/thai-word.el: Switch to UTF-8.
8925
8926 See ChangeLog.16 for earlier changes.
8927
8928 ;; Local Variables:
8929 ;; coding: utf-8
8930 ;; End:
8931
8932 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8933
8934 This file is part of GNU Emacs.
8935
8936 GNU Emacs is free software: you can redistribute it and/or modify
8937 it under the terms of the GNU General Public License as published by
8938 the Free Software Foundation, either version 3 of the License, or
8939 (at your option) any later version.
8940
8941 GNU Emacs is distributed in the hope that it will be useful,
8942 but WITHOUT ANY WARRANTY; without even the implied warranty of
8943 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8944 GNU General Public License for more details.
8945
8946 You should have received a copy of the GNU General Public License
8947 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.