* lisp/vc/vc.el (vc-print-root-log): Always set `default-directory'
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2
3 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4 value, whether we could auto-deduce `backend', or not.
5
6 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7 with parameters" example. Simplify the "is it block or is it
8 hash" check, but also make it more thorough.
9
10 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
11
12 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
13
14 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
17 { if it is hanging.
18
19 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
20 :before ";".
21
22 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
23
24 * progmodes/compile.el (compilation-directory-matcher)
25 (compilation-page-delimiter):
26 Support GNU Make-4.0 directory quoting. (Bug#15678)
27
28 2013-10-23 Leo Liu <sdl.web@gmail.com>
29
30 * ido.el (ido-tidy): Handle read-only text.
31
32 2013-10-23 Glenn Morris <rgm@gnu.org>
33
34 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
35 (emacs, compile, compile-always):
36 Quote entities that might contain whitespace.
37 (custom-deps, finder-data, autoloads): Use abs_lisp.
38 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
39 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
40 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
41
42 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
43
44 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
45 Use `following-char'.
46
47 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
50 * progmodes/ruby-mode.el (ruby-smie-rules):
51 Remove corresponding workaround. Fix indentation rule of ";" so it
52 also applies when ";" is the parent.
53
54 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
55
56 * frame.el (display-screens, display-pixel-height)
57 (display-pixel-width, display-mm-width, display-backing-store)
58 (display-save-under, display-planes, display-color-cells)
59 (display-visual-class, display-monitor-attributes-list):
60 Mention the optional ‘display’ argument in doc strings.
61
62 2013-10-22 Michael Gauland <mikelygee@amuri.net>
63
64 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
65 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
66
67 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
68
69 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
70 TODO. Add "." after " @ ".
71 (ruby-smie--at-dot-call): New function. Checks if point at method
72 call with explicit target.
73 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
74 to the method name tokens when it precedes them.
75 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
76 (ruby-smie-rules): Add rule for indentation before and after "."
77 token.
78
79 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * textmodes/remember.el (remember-diary-extract-entries):
82 Avoid add-to-list.
83
84 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
85 an instruction.
86
87 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
88
89 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
90 (ruby-smie--implicit-semi-p): Add new operator chars.
91
92 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
93 `smie-down-list'.
94 (ruby-smie--args-separator-p): Check that there's no newline
95 between method call and its arguments.
96
97 2013-10-20 Alan Mackenzie <acm@muc.de>
98
99 Allow comma separated lists after Java "implements".
100
101 * progmodes/cc-engine.el (c-backward-over-enum-header):
102 Parse commas.
103 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
104 from a "disallowed" list in enum fontification.
105
106 2013-10-20 Johan Bockgård <bojohan@gnu.org>
107
108 * startup.el (default-frame-background-mode): Remove unused defvar.
109
110 * progmodes/verilog-mode.el (verilog-mode): Don't set
111 comment-indent-function globally.
112
113 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
114
115 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
116 Move Info menu item creation to ns-win.el.
117
118 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
119 in menu bar.
120
121 * menu-bar.el: Move GNUStep specific menus...
122
123 * term/ns-win.el (ns-initialize-window-system): ... to here.
124
125 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * simple.el (newline): Only run post-self-insert-hook when
128 called interactively.
129
130 2013-10-19 Johan Bockgård <bojohan@gnu.org>
131
132 * icomplete.el (icomplete-with-completion-tables): Add :version.
133
134 2013-10-19 Alan Mackenzie <acm@muc.de>
135
136 Fix fontification bugs with constructors and const.
137
138 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
139 CASE 2) Remove the check for the absence of a suffix construct
140 after a function declaration with only types (no identifiers) in
141 the parentheses. Also, accept a function declaration with just a
142 type inside the parentheses, if this type can be positively
143 recognised as such, or if a prefix keyword like "explicit" nails
144 down the construct as a declaration.
145
146 2013-10-19 Eli Zaretskii <eliz@gnu.org>
147
148 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
149 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
150 the problem whereby selecting a menu item that leads to a
151 minibuffer prompt moves the cursor out of the minibuffer window,
152 making it hard to type at the prompt. Suggested by Stefan Monnier
153 <monnier@iro.umontreal.ca>.
154
155 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
156
157 * menu-bar.el: Don't make Services menu.
158
159 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
160
161 * ffap.el: Handle "/usr/include/c++/<version>" directories.
162 (ffap-alist): Use ffap-c++-mode for c++-mode.
163 (ffap-c++-path): New variable.
164 (ffap-c++-mode): New function.
165
166 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
167
168 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
169
170 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
171
172 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
173 introduced on 2013-09-08, which results in an infinite loop
174 requesting a password.
175
176 2013-10-18 Glenn Morris <rgm@gnu.org>
177
178 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
179
180 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
181
182 Sync with upstream verilog-mode revision 1a6ecec7.
183 * progmodes/verilog-mode.el (verilog-mode-version): Update.
184 (verilog-mode-release-date): Remove.
185 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
186 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
187 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
188 (verilog-auto-tieoff-ignore-regexp)
189 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
190 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
191 (verilog-signals-with, verilog-dir-cache-preserving)
192 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
193 Doc fixes.
194 (verilog-case-fold): New option, to control case folding in
195 regexp searches, bug597.
196 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
197 (verilog-string-match-fold, verilog-in-paren-count)
198 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
199 (verilog-at-close-struct-p): New functions.
200 (verilog-beg-block-re-ordered, verilog-extended-case-re)
201 (verilog-forward-sexp, verilog-set-auto-endcomments):
202 (verilog-leap-to-case-head): Handle "unique0" case.
203 (verilog-in-constraint-re): New constant.
204 (verilog-keywords, verilog-type-font-keywords):
205 Add some SystemVerilog 1800-2012 keywords.
206 (verilog-label-be): Remove unimplemented argument, bug669.
207 (verilog-batch-execute-func): When batch expanding clear
208 create-lockfiles to prevent spurious user locks when a file ends
209 up not changing.
210 (verilog-calculate-indent, verilog-calc-1)
211 (verilog-at-close-constraint-p, verilog-at-constraint-p)
212 (verilog-do-indent): Fix indentation of nested constraints
213 and structures.
214 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
215 (verilog-auto-inst-param): Use verilog-string-match-fold.
216 (verilog-read-inst-module-matcher):
217 Fix AUTOINST on gate primitives with #1.
218 (verilog-read-decls): Fix double-declaring user-defined typed signals.
219 Reads all user-defined typed variables.
220 (verilog-read-defines): Fix reading definitions inside comments, bug647.
221 (verilog-signals-matching-regexp)
222 (verilog-signals-not-matching-regexp, verilog-auto):
223 Respect verilog-case-fold.
224 (verilog-diff-report): Fix line count.
225 (verilog-auto-assign-modport): Remove unused local `modi'.
226 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
227 better handle multidimensional arrays.
228 Fix packed array ports misadding bit index in AUTOINST, bug637.
229 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
230 to not double-declare existing outputs and inputs, respectively.
231 (verilog-template-map): Bind U to verilog-sk-uvm-component.
232 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
233 (verilog-sk-uvm-component): New skeleton.
234 (verilog-submit-bug-report): Add verilog-case-fold,
235 remove verilog-mode-release-date.
236
237 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
238
239 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
240 as before.
241
242 2013-10-18 Reuben Thomas <rrt@sc3d.org>
243
244 * textmodes/remember.el (remember): set buffer-offer-save in
245 remember buffers (bug#13566).
246
247 2013-10-18 Daniel Colascione <dancol@dancol.org>
248
249 When evaluating forms in ielm, direct standard output to ielm
250 buffer. Add new ielm-return-for-effect command. Remove trailing
251 whitespace throughout.
252
253 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
254 (ielm-return-for-effect): New command.
255 (ielm-send-input): Accept optional `for-effect' parameter.
256 (ielm-eval-input): Accept optional `for-effect' parameter.
257 Bind `standard-output' to stream we create using
258 `ielm-standard-output-impl'. Suppress printing result when
259 `for-effect'.
260 (ielm-standard-output-impl): New function.
261 (inferior-emacs-lisp-mode): Explain new features in documentation.
262
263 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
264
265 Code cleanup.
266
267 * net/tramp.el (tramp-debug-message): Do not check for connection
268 buffer.
269 (tramp-message): Use "vector" connection property.
270
271 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
272 (tramp-equal-remote, tramp-eshell-directory-change)
273 * net/tramp-adb.el (tramp-adb-handle-copy-file)
274 (tramp-adb-handle-rename-file)
275 * net/tramp-cmds.el (tramp-list-remote-buffers)
276 (tramp-cleanup-connection, tramp-cleanup-this-connection)
277 * net/tramp-compat.el (tramp-compat-process-running-p)
278 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
279 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
280 (tramp-gvfs-handle-rename-file)
281 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
282 (tramp-set-file-uid-gid)
283 * net/tramp-smb.el (tramp-smb-handle-copy-file)
284 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
285 of `file-remote-p'.
286
287 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
288 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
289 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
290 (tramp-gw-open-network-stream): Suppress unrelated traces.
291
292 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
293 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
294 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
295 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
296 connection property.
297
298 * net/tramp-cache.el (top): Suppress traces when reading
299 persistency file.
300
301 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
302 Refactor common code. Improve debug message.
303 (tramp-maybe-open-connection)
304 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
305 connection buffer too early.
306
307 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
308 from `tramp-smb-actions-with-acl'.
309 (tramp-smb-actions-set-acl): New defconst.
310 (tramp-smb-handle-copy-directory)
311 (tramp-smb-action-get-acl): New defun, renamed from
312 `tramp-smb-action-with-acl'.
313 (tramp-smb-action-set-acl): New defun.
314 (tramp-smb-handle-set-file-acl): Rewrite.
315
316 2013-10-17 Glenn Morris <rgm@gnu.org>
317
318 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
319
320 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * skeleton.el (skeleton-newline): Remove.
323 (skeleton-internal-1): Use (insert "\n") instead.
324
325 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
326 let-bindings.
327
328 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
329 forward-sexp-function while we redo its job (bug#15613).
330
331 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
332
333 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
334 represented by lists.
335
336 2013-10-16 Glenn Morris <rgm@gnu.org>
337
338 * tmm.el (tmm--history): New dynamic variable.
339 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
340
341 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
342
343 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
344 (tramp-smb-errors): Add error messages.
345 (tramp-smb-actions-with-acl): New defconst.
346 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
347 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
348 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
349 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
350 (tramp-smb-get-stat-capability): Fix tests.
351
352 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
353
354 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
355 (bug#15580).
356
357 2013-10-16 Glenn Morris <rgm@gnu.org>
358
359 * ansi-color.el (ansi-color-drop-regexp):
360 Add 1J, 1K, 2K. (Bug#15617)
361
362 * files.el (hack-local-variables--warned-lexical): New.
363 (hack-local-variables):
364 Warn about misplaced lexical-binding. (Bug#15616)
365
366 * net/eww.el (eww-render): Always set eww-current-url,
367 and update header line. (Bug#15622)
368 (eww-display-html): ... Rather than just doing it here.
369
370 2013-10-15 Eli Zaretskii <eliz@gnu.org>
371
372 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
373 menu navigations commands.
374
375 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
376
377 * progmodes/subword.el (subword-capitalize): Be careful when
378 the search for [[:alpha:]] fails (bug#15580).
379
380 2013-10-14 Eli Zaretskii <eliz@gnu.org>
381
382 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
383 to commands that scroll the menu.
384
385 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
386
387 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
388 Handle methods ending with `?' and `!'.
389
390 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
391
392 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
393 `japanese-cp932' to `cp932' to fix the problem where saving a
394 source file written in Shift_JIS twice would end up having
395 `coding: japanese-cp932' which Ruby could not recognize.
396 (ruby-mode-set-encoding): Add support for encodings mapped to nil
397 in `ruby-encoding-map'.
398 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
399 doesn't need to be explicitly declared in magic comment.
400 (ruby-encoding-map): Add type declaration for better customize UI.
401
402 2013-10-13 Glenn Morris <rgm@gnu.org>
403
404 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
405 Occur buffers are read-only. http://bugs.debian.org/720775
406
407 * emacs-lisp/authors.el (authors-fixed-entries):
408 Comment out old alpha stuff.
409
410 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
411
412 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
413 to `after-save-hook' instead of `before-save-hook'.
414 (ruby-mode-set-encoding): Use the value of coding system used to
415 write the file. Call `basic-save-buffer-1' after modifying the
416 buffer.
417
418 2013-10-13 Alan Mackenzie <acm@muc.de>
419
420 Fix indentation/fontification of Java enum with
421 "implements"/generic.
422
423 * progmodes/cc-engine.el (c-backward-over-enum-header):
424 Extracted from the three other places and enhanced to handle generics.
425 (c-inside-bracelist-p): Uses new function above.
426 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
427 function above.
428 (c-font-lock-enum-tail): Uses new function above.
429
430 2013-10-13 Kenichi Handa <handa@gnu.org>
431
432 * international/mule-cmds.el (select-safe-coding-system): Remove a
433 superfluous condition in chekcing whether a coding system is safe
434 or not.
435
436 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
437
438 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
439
440 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
441
442 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
443
444 2013-10-13 Glenn Morris <rgm@gnu.org>
445
446 * menu-bar.el (menu-bar-update-buffers):
447 Unify Buffers menu prompt string. (Bug#15576)
448
449 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
450
451 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
452 Add some entries.
453 (authors-fixed-entries): Use accented form of name.
454
455 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
458 method calls (bug#15594).
459 (ruby-smie--args-separator-p): New function.
460 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
461 recognize paren-free method calls.
462
463 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
464 internals of universal-argument.
465
466 2013-10-11 Eli Zaretskii <eliz@gnu.org>
467
468 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
469 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
470 dropped menu on second mouse click on the menu bar.
471
472 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
475 (explicit-shell-file-name): Declare.
476 (sh--vars-before-point, sh--cmd-completion-table): New functions.
477 (sh-completion-at-point-function): New function.
478 (sh-mode): Use it.
479 (sh-smie--keyword-p): Remove unused argument.
480 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
481 vars.
482 (sh-set-shell): Always setup SMIE, even if we use the
483 old indentation code.
484
485 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
486
487 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
488 cases of ? and =.
489 (ruby-smie-rules): Simplify the "do" rule. The cases when the
490 predicate would return nil are almost non-existent.
491 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
492
493 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
494 cache also after commands that modify the buffer but don't move
495 point.
496
497 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * env.el (substitute-env-in-file-name): New function.
500 (substitute-env-vars): Extend the meaning of the optional arg.
501
502 2013-10-10 Eli Zaretskii <eliz@gnu.org>
503
504 * term/w32-win.el (dynamic-library-alist): Define separate lists
505 of GIF DLLs for versions before and after 5.0.0 of giflib.
506 (Bug#15531)
507
508 2013-10-10 João Távora <joaotavora@gmail.com>
509
510 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
511 not locked, use last revision and current source as
512 defaults. (Bug#15569)
513
514 2013-10-10 Masatake YAMATO <yamato@redhat.com>
515
516 * menu-bar.el (menu-bar-open): Don't use popup-menu if
517 menu-bar is hidden.
518
519 2013-10-10 Martin Rudalics <rudalics@gmx.at>
520
521 * window.el (pop-to-buffer-same-window): Fix doc-string.
522 (Bug#15492)
523
524 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
527
528 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
529
530 * calendar/icalendar.el (icalendar-import-file):
531 Fix interactive spec. (Bug#15482)
532
533 2013-10-10 Glenn Morris <rgm@gnu.org>
534
535 * desktop.el (desktop-save): Default to saving in .emacs.d,
536 since PWD is no longer in desktop-path by default. (Bug#15319)
537
538 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
539 now that text mode has a menu with the same entry.
540 (menu-bar-text-mode-auto-fill): Remove now unused func.
541 * textmodes/text-mode.el (text-mode-map):
542 Use auto-fill help text from menu-bar.el.
543
544 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
545
546 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
547
548 2013-10-09 Juri Linkov <juri@jurta.org>
549
550 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
551 instead of this-command-keys. Add universal-argument-more and
552 universal-argument-minus to the list of prefix commands. (Bug#15568)
553
554 2013-10-09 Glenn Morris <rgm@gnu.org>
555
556 * vc/vc-svn.el (vc-svn-create-repo):
557 Expand paths in file://... url. (Bug#15446)
558
559 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
560 Add some entries.
561 (authors): Remove unused local variables.
562
563 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * profiler.el: Create a more coherent calltree from partial backtraces.
566 (profiler-format): Hide the tail with `invisible' so that C-s can still
567 find the hidden elements.
568 (profiler-calltree-depth): Don't recurse so enthusiastically.
569 (profiler-function-equal): New hash-table-test.
570 (profiler-calltree-build-unified): New function.
571 (profiler-calltree-build): Use it.
572 (profiler-report-make-name-part): Indent the calltree less.
573 (profiler-report-mode): Add visibility specs for profiler-format.
574 (profiler-report-expand-entry, profiler-report-toggle-entry):
575 Expand the whole subtree when provided with a prefix arg.
576
577 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
578
579 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
580 iuwu-mod token.
581 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
582 hanging iuwu-mod token.
583 (ruby-smie--forward-token): Do not include a dot after a token in
584 that token.
585 (ruby-smie--backward-token): Likewise.
586
587 2013-10-08 Juri Linkov <juri@jurta.org>
588
589 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
590 to isearch-other-control-char.
591 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
592 and isearch-post-command-hook to post-command-hook.
593 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
594 and isearch-post-command-hook from post-command-hook.
595 (isearch-unread-key-sequence)
596 (isearch-reread-key-sequence-naturally)
597 (isearch-lookup-scroll-key, isearch-other-control-char)
598 (isearch-other-meta-char): Remove functions.
599 (isearch-pre-command-hook, isearch-post-command-hook):
600 New functions based on isearch-other-meta-char rewritten
601 relying on the new behavior of overriding-terminal-local-map
602 that does not replace the local keymaps any more. (Bug#15200)
603
604 2013-10-08 Eli Zaretskii <eliz@gnu.org>
605
606 Support menus on text-mode terminals.
607 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
608 functionality.
609
610 * tooltip.el (tooltip-mode): Don't error out on TTYs.
611
612 * menu-bar.el (popup-menu, popup-menu-normalize-position):
613 Move here from mouse.el.
614 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
615 and arrow keys.
616 (tty-menu-navigation-map): New map for TTY menu navigation.
617
618 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
619
620 * frame.el (display-mouse-p): Report text-mode mouse as available
621 on w32.
622 (display-popup-menus-p): Report availability if mouse is
623 available; don't condition on window-system.
624
625 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
626 (tty-menu-selected-face): New faces.
627
628 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
631 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
632 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
633 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
634 New constants.
635 (lisp-mode-variables): New `elisp' argument.
636 (emacs-lisp-mode): Use it.
637 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
638 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
639
640 * indent.el: Use lexical-binding.
641 (indent-region): Add progress reporter.
642 (tab-stop-list): Make it implicitly extend to infinity by repeating the
643 last step.
644 (indent--next-tab-stop): New function to implement this behavior.
645 (tab-to-tab-stop, move-to-tab-stop): Use it.
646
647 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
648
649 * indent.el (indent-rigidly--current-indentation): New function.
650 (indent-rigidly-map): New var.
651 (indent-rigidly): Use it to provide interactive mode (bug#8196).
652
653 2013-10-08 Bastien Guerry <bzg@gnu.org>
654
655 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
656
657 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * progmodes/perl-mode.el: Use lexical-binding.
660 Remove redundant :group args.
661 (perl-nochange): Change default to be closer to other major modes's
662 standard behavior.
663 (perl-indent-line): Don't consider text on current line as a
664 valid beginning of function from which to indent.
665
666 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
667 with more than one argument (bug#15538).
668
669 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
670
671 * vc/pcvs.el: Use lexical-binding.
672 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
673 environment of `eval'.
674 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
675 than a list of expressions. Adjust callers.
676 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
677
678 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
679
680 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
681 case of the dot in a chained method call being on the following line.
682
683 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * electric.el (electric-indent-inhibit): New var.
686 (electric-indent-post-self-insert-function): Use it.
687 * progmodes/python.el (python-mode): Set it.
688
689 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
690 open braces.
691
692 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
693
694 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
695 (css-mode): Use electric-indent-chars.
696
697 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
698 (font-lock-beg, font-lock-end): Move before first use.
699 (nxml-mode): Use syntax-propertize-function.
700 (nxml-after-change, nxml-after-change1): Adjust accordingly.
701 (nxml-extend-after-change-region): Remove.
702 * nxml/xmltok.el: Use lexical-binding.
703 (xmltok-save): Use `declare'.
704 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
705 * nxml/nxml-util.el: Use lexical-binding.
706 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
707 Use `declare'.
708 * nxml/nxml-ns.el: Use lexical-binding.
709 (nxml-ns-save): Use `declare'.
710 (nxml-ns-prefixes-for): Avoid add-to-list.
711 * nxml/rng-match.el: Use lexical-binding.
712 (rng--ipattern): Use cl-defstruct.
713 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
714 (rng-cons-group-after, rng-subst-group-after)
715 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
716 Use closures instead of `(lambda...).
717
718 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
719
720 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
721 of BEG and END.
722
723 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
724 Use `tramp-handle-insert-file-contents'.
725 (tramp-gvfs-handle-insert-file-contents): Remove function.
726
727 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
728 Use `save-restriction' in order to keep markers.
729
730 * net/trampver.el: Update release number.
731
732 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * progmodes/compile.el (compilation-parse-errors):
735 Use compilation--put-prop.
736 (compilation--ensure-parse): Check compilation-multiline.
737
738 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
739
740 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
741 lexical-binding.
742
743 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
744
745 * progmodes/ruby-mode.el: Fix recently added tests.
746 (ruby-smie-grammar): Add - and +.
747 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
748 (ruby-smie--backward-id): New functions.
749 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
750 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
751 any more.
752
753 2013-10-07 Leo Liu <sdl.web@gmail.com>
754
755 * register.el (register-preview-delay)
756 (register-preview-functions): New variables.
757 (register-read-with-preview, register-preview)
758 (register-describe-oneline): New functions.
759 (point-to-register, window-configuration-to-register)
760 (frame-configuration-to-register, jump-to-register)
761 (number-to-register, view-register, insert-register)
762 (copy-to-register, append-to-register, prepend-to-register)
763 (copy-rectangle-to-register): Use register-read-with-preview to
764 read register. (Bug#15525)
765
766 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
767
768 * net/network-stream.el (network-stream-open-starttls): Don't add
769 --insecure if it's already present, because that gnutls-cli
770 rejects getting that parameter twice.
771
772 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
773
774 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
775 keyword, too.
776
777 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
778
779 * newcomment.el (comment-use-global-state): Change default value
780 to t, mark obsolete (Bug#15251).
781 (comment-beginning): In addition to `comment-to-syntax', check the
782 value of `comment-use-global-state'.
783
784 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
787 (ruby-comment-column): Follow the global default, by default.
788 (ruby-smie-grammar): Add assignment syntax.
789 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
790 open-paren, a comma, or a \.
791 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
792 and line continuations.
793 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
794 followed by implicit semi-colons. Add rule for string concatenation
795 and for indentation at BOB.
796 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
797
798 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
799 calling next-sexp, since next-token may have skipped chars which
800 next-sexp doesn't know should be skipped!
801
802 2013-10-05 Leo Liu <sdl.web@gmail.com>
803
804 * progmodes/octave.el (octave-send-region):
805 Call compilation-forget-errors.
806
807 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
808
809 * vc/vc-svn.el (vc-svn-find-admin-dir):
810 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
811 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
812 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
813 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
814
815 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
818
819 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * subr.el (read-passwd): Hide chars even when called within a context
822 where after-change-functions is disabled (bug#15501).
823 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
824 until we removed ourself from overriding-terminal-local-map.
825
826 2013-10-04 Leo Liu <sdl.web@gmail.com>
827
828 * progmodes/octave.el (inferior-octave-mode):
829 Call compilation-forget-errors.
830
831 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
832
833 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
834
835 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
836
837 * net/secrets.el (secrets-create-collection): Add optional
838 argument ALIAS. Use proper Label keyword. Append ALIAS as
839 dbus-call-method argument. (Bug#15516)
840
841 2013-10-04 Leo Liu <sdl.web@gmail.com>
842
843 * progmodes/octave.el (inferior-octave-error-regexp-alist)
844 (inferior-octave-compilation-font-lock-keywords): New variables.
845 (compilation-error-regexp-alist)
846 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
847 (inferior-octave-mode): Use compilation-shell-minor-mode.
848
849 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
850
851 * minibuffer.el (completion--replace): Be careful that `end' might be
852 a marker.
853
854 2013-10-03 Daiki Ueno <ueno@gnu.org>
855
856 Add support for package signature checking.
857 * emacs-lisp/package.el (url-http-file-exists-p)
858 (epg-make-context, epg-context-set-home-directory)
859 (epg-verify-string, epg-context-result-for)
860 (epg-signature-status, epg-signature-to-string)
861 (epg-check-configuration, epg-configuration)
862 (epg-import-keys-from-file): Declare.
863 (package-check-signature): New user option.
864 (package-unsigned-archives): New user option.
865 (package-desc): Add `signed' field.
866 (package-load-descriptor): Set `signed' field if .signed file exists.
867 (package--archive-file-exists-p): New function.
868 (package--check-signature): New function.
869 (package-install-from-archive): Check package signature.
870 (package--download-one-archive): Check archive signature.
871 (package-delete): Remove .signed file.
872 (package-import-keyring): New command.
873 (package-refresh-contents): Import default keyring.
874 (package-desc-status): Add "unsigned" status.
875 (describe-package-1, package-menu--print-info)
876 (package-menu-mark-delete, package-menu--find-upgrades)
877 (package-menu--status-predicate): Support "unsigned" status.
878
879 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
882 the new compilation scheme using the new byte-codes.
883
884 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
885 (byte-pophandler): New byte codes.
886 (byte-goto-ops): Adjust accordingly.
887 (byte-compile--use-old-handlers): New var.
888 (byte-compile-catch): Use new byte codes depending on
889 byte-compile--use-old-handlers.
890 (byte-compile-condition-case--old): Rename from
891 byte-compile-condition-case.
892 (byte-compile-condition-case--new): New function.
893 (byte-compile-condition-case): New function that dispatches depending
894 on byte-compile--use-old-handlers.
895 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
896 when we can.
897
898 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
899 Optimize under `condition-case' and `catch' if
900 byte-compile--use-old-handlers is nil.
901 (disassemble-offset): Handle new bytecodes.
902
903 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * subr.el (error): Use `declare'.
906 (decode-char, encode-char): Use advertised-calling-convention instead
907 of the docstring to discourage use of the `restriction' arg.
908
909 2013-10-03 Daiki Ueno <ueno@gnu.org>
910
911 * epg.el (epg-verify-file): Add a comment saying that it does not
912 notify verification error as a return value nor a signal.
913 (epg-verify-string): Ditto.
914
915 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
916
917 * progmodes/compile.el (compilation-start): Try globbing the arg to
918 `cd' (bug#15417).
919
920 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
921
922 Sync with Tramp 2.2.8.
923
924 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
925 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
926 * net/trampver.el: Update release number.
927
928 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
929
930 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
931 and default-process-coding-system for darwin only.
932
933 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
936
937 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
938
939 * vc/vc-git.el (vc-git-grep): Disable pager.
940
941 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
942
943 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
944 Use :url instead of :homepage, as per
945 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
946
947 * newcomment.el (comment-beginning): When `comment-use-syntax' is
948 non-nil, use `syntax-ppss' (Bug#15251).
949
950 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
951
952 * progmodes/octave.el (inferior-octave-startup-file):
953 Prefer ~/.emacs.d/init_octave.m.
954
955 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
956
957 * emacs-lisp/package.el (package-desc-from-define):
958 Accept additional arguments as plist, convert them to an alist and store
959 them in the `extras' slot.
960 (package-generate-description-file): Convert extras alist back to
961 plist and append to the `define-package' form arguments.
962 (package--alist-to-plist): New function.
963 (package--ac-desc): Add `extras' slot.
964 (package--add-to-archive-contents): Check if the archive-contents
965 vector is long enough, and if it is, pass its `extras' slot value
966 to `package-desc-create'.
967 (package-buffer-info): Call `lm-homepage', pass the returned value
968 to `package-desc-from-define'.
969 (describe-package-1): Render the homepage button (Bug#13291).
970
971 * emacs-lisp/package-x.el (package-upload-buffer-internal):
972 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
973
974 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
975
976 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
977 and default-process-coding-system to utf-8-unix (Bug#15402).
978
979 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
980
981 * subr.el (looking-back): Do not recommend using looking-back.
982
983 2013-09-28 Alan Mackenzie <acm@muc.de>
984
985 Fix indentation/fontification of Java enum with "implements".
986
987 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
988 regexp which matches "implements", etc., in Java.
989 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
990 specifier clauses coming after "enum".
991 * progmodes/cc-fonts.el (c-font-lock-declarations)
992 (c-font-lock-enum-tail): Check for extra specifier clauses coming
993 after "enum".
994
995 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
996
997 * faces.el (region): Change ns_selection_color to
998 ns_selection_fg_color, add ns_selection_bg_color.
999
1000 2013-09-28 Leo Liu <sdl.web@gmail.com>
1001
1002 * progmodes/octave.el (inferior-octave-completion-table)
1003 (inferior-octave-completion-at-point): Minor tweaks.
1004
1005 * textmodes/ispell.el (ispell-lookup-words): Rename from
1006 lookup-words. (Bug#15460)
1007 (lookup-words): Obsolete.
1008 (ispell-complete-word, ispell-command-loop): All uses changed.
1009
1010 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1011
1012 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1013 (octave-mode-menu): Add octave-send-buffer.
1014 (octave-send-buffer): New function.
1015
1016 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1017
1018 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1019 octave-lookfor.
1020 (octave-mode-menu): Add octave-lookfor.
1021 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1022 octave-lookfor.
1023 (octave-lookfor): New function.
1024
1025 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * emacs-lisp/cl-macs.el:
1028 (cl--loop-destr-temps): Remove.
1029 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1030 its convention.
1031 (cl--loop-set-iterator-function): New function.
1032 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1033 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1034 Bind `it' with `let' instead of substituting it with `cl-subst'.
1035 (cl--unused-var-p): New function.
1036 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1037 Eliminate some unused variable warnings (bug#15326).
1038
1039 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1040
1041 * doc-view.el (doc-view-scale-reset): Rename from
1042 `doc-view-reset-zoom-level'.
1043 (doc-view-scale-adjust): New command.
1044 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1045 `doc-view-scale-adjust'.
1046
1047 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1048
1049 * doc-view.el (doc-view-reset-zoom-level): New command.
1050 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1051 zoom commands (bug#15466).
1052
1053 2013-09-26 Kenichi Handa <handa@gnu.org>
1054
1055 * international/quail.el (quail-help): Make it not a command.
1056
1057 2013-09-26 Leo Liu <sdl.web@gmail.com>
1058
1059 * minibuffer.el (completion-all-sorted-completions): Make args
1060 optional as they are.
1061
1062 2013-09-25 Daniel Colascione <dancol@dancol.org>
1063
1064 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1065 specs are and that they're not evaluated.
1066
1067 2013-09-24 Sam Steingold <sds@gnu.org>
1068
1069 * midnight.el (clean-buffer-list-kill-regexps)
1070 (clean-buffer-list-kill-buffer-names): Update for the new Man
1071 buffer naming which includes the object name.
1072
1073 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1076 (eshell-parse-command, eshell-parse-pipeline): Use it since
1077 eshell-separate-commands requires a dynamic scoped var.
1078 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1079
1080 2013-09-23 Leo Liu <sdl.web@gmail.com>
1081
1082 * autoinsert.el (auto-insert-alist): Make the value of
1083 lexical-binding match its file setting.
1084
1085 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1086
1087 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1088
1089 * autoarg.el (autoarg-kp-digit-argument):
1090 * electric.el (Electric-command-loop):
1091 * kmacro.el (kmacro-step-edit-insert):
1092 Do not set universal-argument-num-events.
1093
1094 2013-09-22 Leo Liu <sdl.web@gmail.com>
1095
1096 * files.el (interpreter-mode-alist): Add octave.
1097
1098 2013-09-21 Alan Mackenzie <acm@muc.de>
1099
1100 C++: fontify identifier in declaration following "public:" correctly.
1101 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1102 to match "public", etc.
1103 (c-decl-prefix-re): Add ":" into the C++ value.
1104 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1105 bit. Add a check for a ":" preceded by "public", etc.
1106
1107 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1108
1109 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1110 recognized by GDB 7.5 and later.
1111
1112 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1113
1114 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1115
1116 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * subr.el (internal--call-interactively): New const.
1119 (called-interactively-p): Use it (bug#3984).
1120
1121 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1122
1123 * vc/pcvs.el (cvs-mode-ignore):
1124 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1125 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1126
1127 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1130 (eshell-ls-orig-insert-directory): Remove.
1131 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1132 (eshell-ls-use-in-dired): Use advice-add/remove.
1133 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1134 Add `orig-fun' arg for use in :around advice.
1135 Make it check (redundantly) eshell-ls-use-in-dired.
1136
1137 2013-09-19 Glenn Morris <rgm@gnu.org>
1138
1139 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1140
1141 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1142
1143 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1144
1145 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1146
1147 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1148 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1149 (tramp-get-remote-python): New defuns.
1150 (tramp-get-remote-uid-with-perl)
1151 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1152 contributed by yary <not.com@gmail.com> (tiny change).
1153 (tramp-get-remote-uid-with-python)
1154 (tramp-get-remote-gid-with-python): New defuns. Python code
1155 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1156 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1157
1158 2013-09-19 Glenn Morris <rgm@gnu.org>
1159
1160 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1161
1162 * eshell/em-unix.el (eshell-remove-entries):
1163 Rename argument to avoid name-clash with global `top-level'.
1164
1165 * eshell/esh-proc.el (eshell-kill-process-function):
1166 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1167 (eshell-reset-after-proc): Remove unused arg `proc'.
1168
1169 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1170 (directory-files-and-attributes): Mark unused arg.
1171
1172 * eshell/em-unix.el (eshell-remove-entries):
1173 Remove unused arg `path'. Update callers.
1174
1175 * eshell/em-hist.el (eshell-hist-parse-arguments):
1176 Remove unused arg `silent'. Update callers.
1177
1178 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1179 Fix (f)boundp mix-up.
1180
1181 * eshell/em-smart.el (eshell-smart-scroll-window)
1182 (eshell-disable-after-change):
1183 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1184
1185 2013-09-18 Alan Mackenzie <acm@muc.de>
1186
1187 Fix fontification of type when followed by "const".
1188 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1189 "known" types from fontification.
1190
1191 2013-09-18 Glenn Morris <rgm@gnu.org>
1192
1193 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1194 (chart-face-list): Drop Emacsen without display-color-p.
1195
1196 * net/eww.el (libxml-parse-html-region): Declare.
1197 (eww-display-html): Explicit error if no libxml2 support.
1198
1199 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1200
1201 * image.el (image-type-from-buffer, image-multi-frame-p):
1202 Remove --without-x warning/error.
1203
1204 * mouse.el (mouse-yank-primary):
1205 * term.el (term-mouse-paste):
1206 Reorder to silence --without-x compilation.
1207
1208 * mpc.el (doc-view-mode): Silence --without-x compilation.
1209
1210 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1211 Silence --without-x compilation.
1212
1213 * progmodes/gud.el (gud-find-file, gud-mode):
1214 Silence --without-x compilation.
1215 (tooltip-mode): Declare.
1216
1217 * wdired.el (dired-backup-overwrite): Remove declaration.
1218 (wdired-mode-map): Add doc string.
1219
1220 * custom.el (x-get-resource): Declare.
1221
1222 * eshell/em-glob.el (ange-cache):
1223 * eshell/em-unix.el (ange-cache): Declare.
1224
1225 * faces.el (x-display-list, x-open-connection, x-get-resource):
1226 Declare.
1227
1228 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1229 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1230 Declare.
1231
1232 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1233
1234 * net/gnutls.el (gnutls-log-level): Declare.
1235
1236 * net/shr.el (image-size, image-animate): Declare.
1237
1238 * simple.el (font-info): Declare.
1239
1240 * subr.el (x-popup-dialog): Declare.
1241
1242 * term/common-win.el (x-select-enable-primary)
1243 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1244 Declare.
1245
1246 * term/ns-win.el (x-handle-args): Declare.
1247
1248 * term/x-win.el (x-select-enable-clipboard): Declare.
1249
1250 * term/w32-win.el (create-default-fontset): Declare.
1251
1252 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1253 Declare.
1254
1255 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1256 (fit-frame-to-buffer): Explicit error if --without-x.
1257 (mouse-autoselect-window-select): Silence compiler.
1258
1259 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1260
1261 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1262 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1263 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1264 * eshell/esh-util.el (eshell-sublist):
1265 Remove unused local variables.
1266
1267 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1268
1269 * textmodes/two-column.el: Make 2C-split work for --without-x.
1270 (scroll-bar-columns): Autoload.
1271 (top-level): Require fringe when compiling.
1272
1273 2013-09-18 Leo Liu <sdl.web@gmail.com>
1274
1275 * subr.el (add-hook): Robustify to handle closure as well.
1276
1277 2013-09-17 Glenn Morris <rgm@gnu.org>
1278
1279 * simple.el (messages-buffer-mode-map): Unbind "g".
1280
1281 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * help-mode.el (help-mode-finish): Use derived-mode-p.
1284 Remove obsolete highlighting.
1285
1286 * play/life.el (life-mode): Use define-derived-mode. Derive from
1287 special-mode.
1288 (life): Let-bind inhibit-read-only.
1289 (life-setup): Avoid `setq'. Use `life-mode'.
1290
1291 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1292 which should not be needed any more.
1293 (package-menu-refresh, package-menu-describe-package): Use user-error.
1294
1295 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1296 (eshell-post-rewrite-command-hook): Make obsolete.
1297 (eshell-parse-command): Simplify.
1298 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1299 (eshell--cmd): Declare.
1300 (eshell-parse-pipeline): Remove unused var `final-p'.
1301 Pass a dynvar to eshell-post-rewrite-command-hook.
1302 Implement the new eshell-post-rewrite-command-function.
1303 (eshell-invoke-directly): Remove unused arg `input'.
1304 * eshell/esh-io.el (eshell-io-initialize):
1305 Use eshell-post-rewrite-command-function (bug#15399).
1306 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1307 adjust to new calling convention.
1308 (eshell-create-handles): Rename args to avoid clashing with dynvar
1309 `standard-output'.
1310
1311 2013-09-17 Glenn Morris <rgm@gnu.org>
1312
1313 * simple.el (messages-buffer-mode): New major mode.
1314 (messages-buffer): New function.
1315 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1316 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1317 (ert-run-test): Use `messages-buffer' function.
1318 (ert--force-message-log-buffer-truncation): Ignore read-only.
1319 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1320 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1321
1322 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1325
1326 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1327
1328 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * icomplete.el (icomplete-in-buffer): New var.
1331 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1332 vars and replace them with functions.
1333 (icomplete-minibuffer-setup): Adjust accordingly.
1334 (icomplete--completion-table, icomplete--completion-predicate)
1335 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1336 New functions.
1337 (icomplete-forward-completions, icomplete-backward-completions)
1338 (icomplete-simple-completing-p, icomplete-exhibit)
1339 (icomplete-completions): Use them.
1340 (icomplete--in-region-buffer): New var.
1341 (icomplete--in-region-setup): New function.
1342 (icomplete-mode): Use it.
1343
1344 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1345 (bug#15379).
1346 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1347 return args and options.
1348 (eshell-eval-using-options): Use the new return value of
1349 eshell--do-opts to set the options's vars in their scope.
1350 (eshell--set-option): Rename from eshell-set-option.
1351 Add arg `opt-vals'.
1352 (eshell--process-option): Rename from eshell-process-option.
1353 Add arg `opt-vals'.
1354 (eshell--process-args): Use an `opt-vals' alist to store the options's
1355 values during their processing and return them additionally to the
1356 remaining args.
1357
1358 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1359
1360 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1361 continuation character an operator, as far as indentation is
1362 concerned (Bug#15369).
1363
1364 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1365
1366 * window.el (window--state-put-2): Don't process buffer state
1367 when buffer doesn't exist any more (Bug#15382).
1368
1369 2013-09-15 Glenn Morris <rgm@gnu.org>
1370
1371 * eshell/em-unix.el (eshell/rm):
1372 Make -f ignore missing files. (Bug#15373)
1373
1374 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1375 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1376 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1377
1378 2013-09-14 Glenn Morris <rgm@gnu.org>
1379
1380 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1381
1382 2013-09-13 Glenn Morris <rgm@gnu.org>
1383
1384 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1385 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1386
1387 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1388
1389 * frame.el (x-focus-frame): Mark as declared in frame.c.
1390
1391 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * ls-lisp.el: Use advice-add.
1394 (original-insert-directory): Remove.
1395 (ls-lisp--insert-directory): Rename from insert-directory; add
1396 `orig-fun' argument.
1397 (insert-directory): Advise.
1398
1399 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1400
1401 * term.el (term-emulate-terminal): Decode the command string
1402 before passing it to term-command-hook. (Bug#15337)
1403
1404 2013-09-13 Glenn Morris <rgm@gnu.org>
1405
1406 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1407
1408 * eshell/esh-ext.el (eshell-search-path): Declare.
1409
1410 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1411 Otherwise an error occurs if eshell-dirs module not loaded.
1412
1413 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1414
1415 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1416
1417 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1418 `tramp-check-proper-host'. Check for a valid method name.
1419
1420 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1421 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1422 * net/tramp-sh.el (tramp-maybe-open-connection):
1423 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1424
1425 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1426 also for hash values.
1427
1428 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * term/ns-win.el (parameters): Don't declare as dynamic.
1431 (before-make-frame-hook): Don't add ineffective function.
1432
1433 * eshell/*.el: Use lexical-binding (bug#15231).
1434
1435 2013-09-12 Kenichi Handa <handa@gnu.org>
1436
1437 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1438
1439 2013-09-12 Glenn Morris <rgm@gnu.org>
1440
1441 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1442 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1443
1444 * subr.el (do-after-load-evaluation): Also give compiler warnings
1445 when obsolete files are used (except by obsolete files).
1446
1447 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1448 in the status output, assume `filename' is the first. (Bug#15322)
1449
1450 * vc/vc.el (vc-deduce-fileset): Doc fix.
1451
1452 * calc/calc-help.el (Info-goto-node):
1453 * progmodes/cperl-mode.el (Info-find-node):
1454 * vc/ediff.el (Info-goto-node): Update declarations.
1455
1456 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1457
1458 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1459 (vc-bzr-pull): Require vc-dispatcher.
1460 * vc/vc-git.el (vc-compilation-mode): Declare.
1461 (vc-git-pull): Require vc-dispatcher.
1462
1463 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1464
1465 * progmodes/octave.el (help-button-action): Declare.
1466
1467 * shell.el (shell-directory-tracker): Output error as a message
1468 rather than just returning it as a string.
1469 (shell-process-pushd): Remove useless use of message.
1470
1471 * dframe.el (dframe-timer-fn):
1472 * files.el (dir-locals-read-from-file):
1473 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1474 (mpc-format):
1475 * reveal.el (reveal-post-command):
1476 * saveplace.el (load-save-place-alist-from-file):
1477 * shell.el (shell-resync-dirs):
1478 * w32-common-fns.el (x-get-selection-value):
1479 * emacs-lisp/copyright.el (copyright-find-copyright):
1480 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1481 * emulation/tpu-edt.el (tpu-copy-keyfile):
1482 * play/bubbles.el (bubbles--mark-neighbourhood):
1483 * progmodes/executable.el
1484 (executable-make-buffer-file-executable-if-script-p):
1485 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1486
1487 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 Cleanup Eshell to rely less on dynamic scoping.
1490 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1491 last-value, and ext-command here. Bind `args' closer to `body'.
1492 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1493 (eshell--args): Declare new dynamic var.
1494 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1495 last-value, and ext-command. Pass `args' to `body'.
1496 (eshell-process-args): Bind eshell--args.
1497 (eshell-set-option): Use eshell--args.
1498 * eshell/eshell.el (eshell): Use derived-mode-p.
1499 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1500 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1501 (eshell-glob-function): Declare.
1502 * eshell/esh-util.el: Require cl-lib.
1503 (eshell-read-hosts-file): Avoid add-to-list.
1504 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1505 `err'.
1506 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1507 Declare.
1508 (eshell/diff): Remove unused var `err'.
1509 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1510 `killflag'.
1511 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1512 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1513 first use.
1514 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1515 Move declaration before first use.
1516 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1517 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1518 rely on cl-return.
1519
1520 2013-09-12 Glenn Morris <rgm@gnu.org>
1521
1522 * term/ns-win.el (global-map): Remove binding for ispell-next,
1523 deleted 1999-05-29. (Bug#15357)
1524
1525 2013-09-11 Glenn Morris <rgm@gnu.org>
1526
1527 * echistory.el (electric-command-history): Remove call to deleted func.
1528
1529 * play/landmark.el (landmark-mode): Fix typos.
1530
1531 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1532 Check cvs-sort-ignore-file is bound.
1533
1534 * savehist.el: No need for cl when compiling on Emacs.
1535
1536 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1539 (bug#15338).
1540 (eshell-self-insert-command, eshell-send-invisible):
1541 Remove unused argument.
1542 (eshell-handle-control-codes): Remove unused var `orig'.
1543 Avoid delete-backward-char.
1544
1545 * files.el (set-auto-mode): Simplify a bit further.
1546
1547 2013-09-11 Glenn Morris <rgm@gnu.org>
1548
1549 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1550 (set-auto-mode): Don't regexp-quote elements.
1551 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1552 * progmodes/cc-mode.el (interpreter-mode-alist):
1553 * progmodes/ruby-mode.el (interpreter-mode-alist):
1554 Revert previous change.
1555
1556 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * play/snake.el (snake-mode):
1559 * play/mpuz.el (mpuz-mode):
1560 * play/landmark.el (lm-mode):
1561 * play/blackbox.el (blackbox-mode):
1562 * play/5x5.el (5x5-mode):
1563 * obsolete/options.el (Edit-options-mode):
1564 * net/quickurl.el (quickurl-list-mode):
1565 * net/newst-treeview.el (newsticker-treeview-mode):
1566 * mail/rmailsum.el (rmail-summary-mode):
1567 * mail/mspools.el (mspools-mode):
1568 * locate.el (locate-mode):
1569 * ibuffer.el (ibuffer-mode):
1570 * emulation/ws-mode.el (wordstar-mode):
1571 * emacs-lisp/debug.el (debugger-mode):
1572 * array.el (array-mode):
1573 * net/eudc.el (eudc-mode): Use define-derived-mode.
1574 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1575 Move initialization into declaration.
1576 (mairix-searches-mode): Use define-derived-mode.
1577 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1578 (eudc-edit-hotlist): Use dolist.
1579 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1580 (Man-mode): Use define-derived-mode.
1581 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1582 (Info-edit-mode): Use define-derived-mode.
1583 (Info-cease-edit): Use Info-mode.
1584 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1585 into declaration.
1586 (eshell-mode): Use define-derived-mode.
1587 * chistory.el (command-history-mode-map): Rename from
1588 command-history-map.
1589 (command-history-mode): Use define-derived-mode.
1590 (Command-history-setup): Remove function.
1591 * calc/calc.el (calc-trail-mode-map): New var.
1592 (calc-trail-mode): Use define-derived-mode.
1593 (calc-trail-buffer): Set calc-main-buffer manually.
1594 * bookmark.el (bookmark-insert-annotation): New function.
1595 (bookmark-edit-annotation): Use it.
1596 (bookmark-edit-annotation-mode): Make it a proper major mode.
1597 (bookmark-send-edited-annotation): Use derived-mode-p.
1598 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1599 closer to its ideal place. Use \' to match EOS.
1600
1601 * profiler.el (profiler-calltree-find): Use function-equal.
1602
1603 2013-09-10 Glenn Morris <rgm@gnu.org>
1604
1605 * files.el (interpreter-mode-alist): Convert to regexps.
1606 (set-auto-mode): Adapt for this. (Bug#15306)
1607 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1608 Comment out unused variable.
1609 * progmodes/cc-mode.el (interpreter-mode-alist):
1610 * progmodes/python.el (interpreter-mode-alist):
1611 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1612 * progmodes/sh-script.el (sh-set-shell):
1613 No longer use interpreter-mode-alist to get list of shells.
1614
1615 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1616
1617 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * simple.el: Use set-temporary-overlay-map for universal-argument.
1620 (universal-argument-map): Don't use default-bindings (bug#15317).
1621 Bind switch-frame explicitly. Replace universal-argument-minus with
1622 a conditional binding.
1623 (universal-argument-num-events, saved-overriding-map): Remove.
1624 (restore-overriding-map): Remove.
1625 (universal-argument--mode): Rename from save&set-overriding-map,
1626 and rewrite.
1627 (universal-argument, universal-argument-more, negative-argument)
1628 (digit-argument): Adjust accordingly.
1629 (universal-argument-minus): Remove.
1630 (universal-argument-other-key): Remove.
1631
1632 * subr.el (with-demoted-errors): Add `format' argument.
1633
1634 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1635
1636 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1637 `tramp-cleanup-connection'.
1638
1639 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1640 parameters KEEP-DEBUG and KEEP-PASSWORD.
1641
1642 * net/tramp.el (tramp-file-name-handler):
1643 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1644 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1645 (tramp-maybe-open-connection):
1646 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1647 Use `tramp-cleanup-connection'.
1648
1649 * net/tramp-sh.el (tramp-maybe-open-connection):
1650 Catch 'uname-changed inside the progress reporter.
1651
1652 2013-09-10 Glenn Morris <rgm@gnu.org>
1653
1654 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1655
1656 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1657 returns "alternate access method" in mode (eg "-rw-r--r--.").
1658
1659 2013-09-08 Glenn Morris <rgm@gnu.org>
1660
1661 * saveplace.el (load-save-place-alist-from-file):
1662 Demote errors. (Bug#15305)
1663
1664 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1665
1666 Improve compatibility with older Emacsen, and XEmacs.
1667
1668 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1669 only if it is bound. It isn't for XEmacs.
1670 (with-tramp-progress-reporter): Do not let-bind `result'.
1671 This yields to scoping errors in XEmacs.
1672 (tramp-handle-make-auto-save-file-name): New function, moved from
1673 tramp-sh.el.
1674
1675 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1676 for `make-auto-save-file-name'.
1677 (tramp-adb--gnu-switches-to-ash):
1678 Use `tramp-compat-replace-regexp-in-string'.
1679
1680 * net/tramp-cache.el (tramp-cache-print): Call
1681 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1682
1683 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1684 bound. It isn't for XEmacs.
1685
1686 * net/tramp-compat.el (tramp-compat-copy-file):
1687 Catch `wrong-number-of-arguments' error.
1688 (tramp-compat-replace-regexp-in-string): New defun.
1689
1690 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1691 for `make-auto-save-file-name'.
1692 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1693 `copy-file'.
1694 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1695 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1696 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1697
1698 * net/tramp-gw.el (tramp-gw-open-network-stream):
1699 Use `tramp-compat-replace-regexp-in-string'.
1700
1701 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1702 Call `tramp-handle-make-auto-save-file-name'.
1703 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1704 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1705 (tramp-sh-file-inotifywait-process-filter):
1706 Use `tramp-compat-replace-regexp-in-string'.
1707 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1708
1709 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1710 for `make-auto-save-file-name'.
1711 (tramp-smb-handle-copy-directory):
1712 Call `tramp-compat-replace-regexp-in-string'.
1713 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1714 (tramp-smb-handle-copy-file): Improve error message.
1715 (tramp-smb-handle-rename-file): Rename directly only in case
1716 `newname' does not exist yet. This is a restriction of smbclient.
1717 (tramp-smb-maybe-open-connection): Rerun the function only when
1718 `auth-sources' is non-nil.
1719
1720 2013-09-08 Kenichi Handa <handa@gnu.org>
1721
1722 * international/characters.el: Set category "^" (Combining) for
1723 more characters.
1724
1725 2013-09-07 Alan Mackenzie <acm@muc.de>
1726
1727 Correctly fontify Java class constructors.
1728 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1729 in Java Mode.
1730 (c-recognize-typeless-decls): Set the Java value to t.
1731 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1732 While handling a "(", add a check for, effectively, Java, and handle a
1733 "typeless" declaration there.
1734
1735 2013-09-07 Roland Winkler <winkler@gnu.org>
1736
1737 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1738 field subtitle for entry type book.
1739
1740 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * minibuffer.el: Make minibuffer-complete call completion-in-region
1743 rather than other way around.
1744 (completion--some, completion-pcm--find-all-completions):
1745 Don't delay signals when debugging.
1746 (minibuffer-completion-contents): Beware fields within the
1747 minibuffer contents.
1748 (completion-all-sorted-completions): Use defvar-local.
1749 (completion--do-completion, completion--cache-all-sorted-completions)
1750 (completion-all-sorted-completions, minibuffer-force-complete):
1751 Add args `beg' and `end'.
1752 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1753 (minibuffer-complete): Use completion-in-region.
1754 (completion-complete-and-exit): New fun, extracted from
1755 minibuffer-complete-and-exit.
1756 (minibuffer-complete-and-exit): Use it.
1757 (completion--complete-and-exit): Rename from
1758 minibuffer--complete-and-exit.
1759 (completion-in-region--single-word): New function, extracted from
1760 minibuffer-complete-word.
1761 (minibuffer-complete-word): Use it.
1762 (display-completion-list): Make `common-substring' argument obsolete.
1763 (completion--in-region): Call completion--in-region-1 instead of
1764 minibuffer-complete.
1765 (completion-help-at-point): Pass boundaries to
1766 minibuffer-completion-help as args rather than via an overlay.
1767 (completion-pcm--string->pattern): Use `any-delim'.
1768 (completion-pcm--optimize-pattern): New function.
1769 (completion-pcm--pattern->regex): Handle `any-delim'.
1770 * icomplete.el (icomplete-forward-completions)
1771 (icomplete-backward-completions, icomplete-completions):
1772 Adjust calls to completion-all-sorted-completions and
1773 completion--cache-all-sorted-completions.
1774 (icomplete-with-completion-tables): Default to t.
1775 * emacs-lisp/crm.el (crm--current-element): Rename from
1776 crm--select-current-element. Don't put an overlay but return the
1777 boundaries instead.
1778 (crm--completion-command): Take two new args to bind to the boundaries.
1779 (crm-completion-help): Adjust accordingly.
1780 (crm-complete): Use completion-in-region.
1781 (crm-complete-word): Use completion-in-region--single-word.
1782 (crm-complete-and-exit): Use completion-complete-and-exit.
1783
1784 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1787 than dynamically.
1788
1789 2013-09-06 Juri Linkov <juri@jurta.org>
1790
1791 * info.el (Info-display-images-node): When image file doesn't exist
1792 display text version of the image if it's provided in the Info file.
1793 Otherwise, display the location of missing image from SRC attribute.
1794 Add help-echo text property from ALT attribute. (Bug#15279)
1795
1796 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1799 (edit-abbrevs-mode): Use define-derived-mode.
1800
1801 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1802 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1803 that it's defined.
1804 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1805 Use define-derived-mode.
1806
1807 * epg.el (epg-start-encrypt): Minor CSE simplification.
1808
1809 2013-09-06 William Xu <william.xwl@gmail.com>
1810
1811 * arc-mode.el: Add support for 7za (bug#15264).
1812 (archive-7z-program): New var.
1813 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1814 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1815 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1816
1817 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1818
1819 Remove URL syntax.
1820
1821 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1822 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1823 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1824 (tramp-postfix-host-format, tramp-file-name-regexp)
1825 (tramp-completion-file-name-regexp)
1826 (tramp-completion-dissect-file-name)
1827 (tramp-handle-substitute-in-file-name): Remove 'url case.
1828 (tramp-file-name-regexp-url)
1829 (tramp-completion-file-name-regexp-url): Remove constants.
1830
1831 2013-09-06 Glenn Morris <rgm@gnu.org>
1832
1833 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1834
1835 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1836
1837 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1838 keywords" below "here-doc beginnings" (Bug#15270).
1839
1840 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * subr.el (pop): Use `car-safe'.
1843 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1844 to detect unused `pop' return value.
1845
1846 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1847 var `block-regexp'.
1848 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1849 (python-fill-string): Remove unused var `marker'.
1850 (python-skeleton-add-menu-items): Remove unused var `items'.
1851
1852 * international/mule-cmds.el: Require CL.
1853 (find-coding-systems-for-charsets): Avoid add-to-list.
1854 (sanitize-coding-system-list): New function, extracted from
1855 select-safe-coding-system-interactively.
1856 (select-safe-coding-system-interactively): Use it.
1857 (read-input-method-name): Accept symbols for `default'.
1858
1859 * emacs-lisp/advice.el (defadvice): Add indent rule.
1860
1861 2013-09-05 Daniel Hackney <dan@haxney.org>
1862
1863 * dired-x.el:
1864 * net/ange-ftp.el:
1865 * net/browse-url.el:
1866 * net/dbus.el:
1867 * net/eudc.el:
1868 * net/eudcb-ldap.el:
1869 * net/eww.el:
1870 * net/imap.el:
1871 * printing.el:
1872 * vc/ediff-diff.el:
1873 * vc/ediff-init.el:
1874 * vc/ediff-merg.el:
1875 * vc/ediff-mult.el:
1876 * vc/ediff-util.el:
1877 * vc/ediff-wind.el:
1878 * vc/ediff.el:
1879 * vc/emerge.el:
1880 * vc/pcvs.el:
1881 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1882 byte compiler. Remove some unused let-bound variables.
1883
1884 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1885
1886 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1887 a "ref-cell", since it gets better optimized (bug#14883).
1888
1889 2013-09-05 Glenn Morris <rgm@gnu.org>
1890
1891 * progmodes/cc-awk.el (c-forward-sws): Declare.
1892
1893 2013-09-04 Glenn Morris <rgm@gnu.org>
1894
1895 * generic-x.el [rul-generic-mode]: Require cc-mode.
1896 (c++-mode-syntax-table): Declare.
1897 (rul-generic-mode-syntax-table): Init in the defvar.
1898
1899 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1902 (vc-do-command, vc-set-async-update):
1903 * vc/vc-mtn.el (vc-mtn-dir-status):
1904 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1905 (vc-hg-pull, vc-hg-merge-branch):
1906 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1907 (vc-git-merge-branch):
1908 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1909 (vc-cvs-dir-status-files):
1910 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1911 (vc-bzr-dir-status-files):
1912 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1913 * vc/vc-annotate.el: Use lexical-binding.
1914 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1915 (vc-sentinel-movepoint): Declare.
1916 (vc-annotate): Don't use `goto-line'.
1917 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1918 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1919 (vc-sentinel-movepoint): Declare.
1920 * vc/vc-svn.el: Use lexical-binding.
1921 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1922 * vc/vc-sccs.el:
1923 * vc/vc-rcs.el: Use lexical-binding.
1924
1925 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1926 `deleted'. Don't drop errors silently.
1927
1928 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1929
1930 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1931
1932 * vc/vc.el (vc-ignore): Rewrite.
1933 (vc-default-ignore): New function.
1934 (vc-default-ignore-completion-table): Use find-ignore-file.
1935
1936 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1937 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1938 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1939 Remove. Most code moved to vc.el.
1940
1941 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1944 * net/tramp-smb.el (tramp-smb-get-file-entries):
1945 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1946 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1947
1948 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1949 Update call to it.
1950 (eww-change-select): Remove unused var `properties'.
1951 (eww-make-unique-file-name): Remove unused var `base'.
1952
1953 * finder.el (finder-compile-keywords): Don't mess with windows.
1954
1955 * calculator.el (calculator-funcall): Fix typo in last change.
1956
1957 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1958
1959 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1960 <pkg>-autoloads.el file stop us.
1961
1962 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1963 warnings, and factor out common code.
1964
1965 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1966
1967 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1968 two-character operators and whether the character preceding them
1969 changes their meaning (Bug#15208).
1970
1971 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1972
1973 Format code sent to Python shell for robustness.
1974 * progmodes/python.el (python-shell-buffer-substring):
1975 New function.
1976 (python-shell-send-region, python-shell-send-buffer): Use it.
1977
1978 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1979
1980 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1981 * net/tramp.el (tramp-user-error): ... here.
1982 (tramp-find-method, tramp-check-proper-host)
1983 (tramp-dissect-file-name, tramp-debug-message)
1984 (tramp-handle-shell-command):
1985 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1986 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1987
1988 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1989
1990 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1991
1992 * avoid.el (mouse-avoidance-point-position)
1993 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1994 returns nil.
1995
1996 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1997
1998 * progmodes/python.el (python-shell-completion-get-completions):
1999 Drop use of deleted `comint-last-prompt-overlay'.
2000 (python-nav-if-name-main): New command.
2001
2002 2013-09-01 Glenn Morris <rgm@gnu.org>
2003
2004 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2005 Avoid leading space in $wins. Otherwise the sed command used by
2006 eg compile-main ends up containing "/*.el". (Bug#15170)
2007
2008 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2009
2010 2013-08-30 Glenn Morris <rgm@gnu.org>
2011
2012 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2013 Fix is-this-a-directory logic. (Bug#15220)
2014
2015 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * textmodes/css-mode.el: Use SMIE.
2018 (css-smie-grammar): New var.
2019 (css-smie--forward-token, css-smie--backward-token)
2020 (css-smie-rules): New functions.
2021 (css-mode): Use them.
2022 (css-navigation-syntax-table): Remove var.
2023 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2024 (css-indent-calculate, css-indent-line): Remove functions.
2025
2026 Misc changes to reduce use of `(lambda...); and other cleanups.
2027 * cus-edit.el: Use lexical-binding.
2028 (customize-push-and-save, customize-apropos)
2029 (custom-buffer-create-internal): Use closures.
2030 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2031 * progmodes/ada-xref.el: Use setq.
2032 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2033 * dframe.el: Use lexical-binding.
2034 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2035 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2036 * descr-text.el: Use lexical-binding.
2037 (describe-text-widget, describe-text-sexp, describe-property-list):
2038 Use closures.
2039 * comint.el (comint-history-isearch-push-state): Use a closure.
2040 * calculator.el: Use lexical-binding.
2041 (calculator-number-to-string): Make it work with lexical-binding.
2042 (calculator-funcall): Same and use cl-letf.
2043
2044 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2045 (lisp--company-doc-string, lisp--company-location): New functions.
2046 (lisp-completion-at-point): Use them to improve Company support.
2047
2048 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2049 params of lambda expressions.
2050 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2051 (ruby-smie--opening-pipe-p): New function.
2052 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2053 symbols and matched |...| for formal params.
2054 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2055 from being treated as hanging. Handle "rescue".
2056
2057 2013-08-29 Glenn Morris <rgm@gnu.org>
2058
2059 * progmodes/cc-engine.el (c-pull-open-brace):
2060 Move definition before use.
2061
2062 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2065 are immutable. Don't use `unsafe' any more.
2066 (cl--defsubst-expand): Don't substitute at the same time as keeping
2067 a residual unused let-binding. Don't use `unsafe' any more.
2068
2069 2013-08-29 Glenn Morris <rgm@gnu.org>
2070
2071 * calendar/cal-china.el (calendar-chinese-year-cache):
2072 Recenter on 2015.
2073
2074 * nxml/nxml-util.el (nxml-debug-clear-inside):
2075 Use cl-loop rather than loop.
2076
2077 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2078
2079 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2080
2081 2013-08-28 Glenn Morris <rgm@gnu.org>
2082
2083 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2084
2085 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2086
2087 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2088
2089 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * simple.el (repeat-complex-command--called-interactively-skip):
2092 New function.
2093 (repeat-complex-command): Use it (bug#14136).
2094
2095 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2096 (c-define-abbrev-table): Add `doc' argument.
2097 (c-mode-abbrev-table, c++-mode-abbrev-table)
2098 (objc-mode-abbrev-table, java-mode-abbrev-table)
2099 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2100 (awk-mode-abbrev-table): Use it.
2101 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2102 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2103 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2104 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2105 Move initialization into the declaration; and remove any
2106 autoload cookie.
2107
2108 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2109 and dynamic let binding.
2110
2111 * vc/smerge-mode.el: Remove redundant :group args.
2112
2113 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2114 to load-path.
2115
2116 2013-08-28 Juri Linkov <juri@jurta.org>
2117
2118 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2119 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2120 (isearch-other-meta-char): Handle an undefined shifted printing
2121 character by downshifting it. (Bug#15200)
2122
2123 2013-08-28 Juri Linkov <juri@jurta.org>
2124
2125 * isearch.el (isearch-search): Change regexp error message for
2126 non-regexp searches. (Bug#15166)
2127
2128 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2129
2130 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2131 for portability to hosts where /bin/sh has problems.
2132
2133 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2136
2137 2013-08-27 Juri Linkov <juri@jurta.org>
2138
2139 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2140 in the keyboard macro. (Bug#15126)
2141
2142 2013-08-27 Juri Linkov <juri@jurta.org>
2143
2144 * isearch.el (isearch-quote-char): Comment out converting unibyte
2145 to multibyte, thus syncing with its `quoted-insert' counterpart.
2146 (Bug#15166)
2147
2148 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2149
2150 * window.el (display-buffer-use-some-window): Add missing
2151 argument in call of get-largest-window (Bug#15185).
2152 Reported by Stephen Leake.
2153
2154 2013-08-27 Glenn Morris <rgm@gnu.org>
2155
2156 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2157
2158 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2161 from a matcher-function unless there's no more matches (bug#15161).
2162
2163 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * minibuffer.el: Revert change from 2013-08-20.
2166
2167 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2168 with text property `tramp-default', if appropriate.
2169 (tramp-check-proper-host): New defun.
2170 (tramp-dissect-file-name): Do not check hostname. Revert change
2171 of 2013-03-18.
2172 (tramp-backtrace): Make VEC-OR-PROC optional.
2173
2174 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2175 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2176 * net/tramp-sh.el (tramp-maybe-open-connection):
2177 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2178 Apply `tramp-check-proper-host'.
2179
2180 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2181
2182 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2183 lambda expression in order to have `describe-variable' display it.
2184
2185 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2186
2187 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2188 BUF can be optional. (Bug#15186)
2189
2190 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2191
2192 * progmodes/flymake.el (flymake-get-real-file-name-function):
2193 Fix broken customization. (Bug#15184)
2194
2195 2013-08-25 Alan Mackenzie <acm@muc.de>
2196
2197 Improve indentation of bracelists defined by macros (without "=").
2198
2199 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2200 expansion begins with "{", regard it as bracelist when it doesn't
2201 contain a ";".
2202
2203 Parse C++ inher-intro when there's a template split over 2 lines.
2204
2205 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2206 rigorously the search for "class" etc. followed by ":".
2207
2208 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2209 random languages a regexp which never matches rather than nil.
2210
2211 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2212
2213 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2214 (c-awk-regexp-one-line-possibly-open-char-list-re)
2215 (c-awk-one-line-possibly-open-regexp-re)
2216 (c-awk-one-line-non-syn-ws*-re): Remove.
2217 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2218 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2219 (c-awk-space*-unclosed-regexp-/-re): New constants.
2220 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2221 aren't regexp delimiters.
2222
2223 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2224 handling for a rare situation in AWK Mode involving unterminated
2225 strings/regexps.
2226
2227 2013-08-23 Glenn Morris <rgm@gnu.org>
2228
2229 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2230
2231 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2232
2233 * files.el (create-file-buffer): If the result would begin with
2234 spaces, prepend a "|" instead of removing them. (Bug#15162)
2235
2236 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2239 text-properties (bug#15155).
2240
2241 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2242 exist any more.
2243 (calc-keypad-redraw): Remove unused var `pad'.
2244 (calc-keypad-press): Remove unused var `menu'.
2245
2246 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2247
2248 * window.el (display-buffer-pop-up-frame):
2249 Call pop-up-frame-function with BUFFER current so `make-frame' will
2250 use it as the new frame's buffer (Bug#15133).
2251
2252 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * calendar/timeclock.el: Minor cleanups.
2255 (timeclock-ask-before-exiting, timeclock-use-display-time):
2256 Use `symbol'.
2257 (timeclock-modeline-display): Define as alias before the
2258 actual definition.
2259 (timeclock-mode-line-display): Use define-minor-mode.
2260 (timeclock-day-list-template): Make it a function, add an argument.
2261 (timeclock-day-list-required, timeclock-day-list-length)
2262 (timeclock-day-list-debt, timeclock-day-list-span)
2263 (timeclock-day-list-break): Adjust calls accordingly.
2264
2265 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2268 Use read--expression so that completion works again.
2269
2270 2013-08-21 Sam Steingold <sds@gnu.org>
2271
2272 Add rudimentary inferior shell interaction
2273 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2274 (sh-set-shell): Reset it.
2275 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2276 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2277
2278 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * align.el: Use lexical-binding.
2281 (align-region): Simplify accordingly.
2282
2283 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2286
2287 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2288 `non-essential' up.
2289
2290 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * net/tramp.el:
2293 * net/tramp-adb.el:
2294 * net/tramp-cmds.el:
2295 * net/tramp-ftp.el:
2296 * net/tramp-gvfs.el:
2297 * net/tramp-gw.el:
2298 * net/tramp-sh.el: Don't wrap external variable declarations by
2299 `eval-when-compile'.
2300
2301 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2302
2303 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2304 now that Emacs supports ImageMagick animations.
2305
2306 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2307
2308 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2309 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2310
2311 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2312
2313 * window.el (mouse-autoselect-window-select): Do autoselect when
2314 mouse pointer is on margin.
2315
2316 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2317
2318 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2319
2320 2013-08-16 Glenn Morris <rgm@gnu.org>
2321
2322 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2323 Handle "Remote Directory" response of some clients. (Bug#15058)
2324
2325 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2326 Tweak warning. (Bug#14926)
2327
2328 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2329 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2330
2331 * image-mode.el (image-mode-map): Add menu items to reverse,
2332 increase, decrease, reset animation speed.
2333 (image--set-speed, image-increase-speed, image-decrease-speed)
2334 (image-reverse-speed, image-reset-speed): New functions.
2335 (image-mode-map): Add bindings for speed commands.
2336
2337 * image.el (image-animate-get-speed, image-animate-set-speed):
2338 New functions.
2339 (image-animate-timeout): Respect image :speed property.
2340
2341 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2344 previous line (bug#15101).
2345 (debugger-eval-expression, debugger-record-expression):
2346 Use read--expression (bug#15102).
2347
2348 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2349
2350 Remove byte compiler warnings, visible when compiling with
2351 `byte-compile-force-lexical-warnings' set to t.
2352
2353 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2354 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2355 (tramp-handle-unhandled-file-name-directory)
2356 (tramp-handle-file-notify-add-watch, tramp-action-login)
2357 (tramp-action-succeed, tramp-action-permission-denied)
2358 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2359 arguments with "_".
2360
2361 * net/tramp-adb.el (tramp-adb-parse-device-names)
2362 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2363 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2364 (tramp-adb-handle-file-truename): Remove unused arguments.
2365
2366 * net/tramp-cache.el (tramp-flush-directory-property)
2367 (tramp-flush-connection-property, tramp-list-connections)
2368 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2369
2370 * net/tramp-compat.el (tramp-compat-make-temp-file):
2371 Rename FILENAME to F.
2372
2373 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2374 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2375 (tramp-zeroconf-parse-workstation-device-names)
2376 (tramp-zeroconf-parse-webdav-device-names)
2377 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2378
2379 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2380 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2381
2382 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2383 arguments.
2384 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2385 (tramp-sh-handle-insert-file-contents-literally)
2386 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2387 with "_".
2388 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2389 Remove unused variables.
2390
2391 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2392 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2393 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2394
2395 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2396 Make them a defconst.
2397 (tramp-uuencode-region): Remove unused variable.
2398
2399 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2400
2401 * frameset.el (frameset--prop-setter): New function.
2402 (frameset-prop): Add gv-setter declaration.
2403 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2404 parameter was already set in FILTERED. Doc fix.
2405 (frameset--record-minibuffer-relationships): Allow saving a
2406 minibufferless frame without its corresponding minibuffer frame.
2407 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2408 frame, if the frame id matches.
2409 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2410 frames before orphaned ones.
2411 (frameset-restore): Warn about orphaned windows, instead of error out.
2412
2413 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2414
2415 * window.el (window-make-atom): Don't overwrite parameter
2416 already present.
2417 (display-buffer-in-atom-window): Handle special case where we
2418 split an already atomic window.
2419 (window--major-non-side-window, display-buffer-in-side-window)
2420 (window--side-check): Ignore minibuffer window when walking
2421 window tree.
2422 (window-deletable-p): Return 'frame only if no other frame uses
2423 our minibuffer window.
2424 (record-window-buffer): Run buffer-list-update-hook.
2425 (split-window): Make sure window--check-frame won't destroy an
2426 existing atomic window in case the new window gets nested
2427 inside.
2428 (display-buffer-at-bottom): Ignore minibuffer window when
2429 walking window tree. Don't split a side window.
2430 (pop-to-buffer): Don't set-buffer here, the select-window call
2431 should do that.
2432 (mouse-autoselect-window-select): Autoselect only if we are in the
2433 text portion of the window.
2434
2435 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2436
2437 * net/shr.el (shr-parse-image-data): New function to grab both the
2438 data itself and the Content-Type.
2439 (shr-put-image): Use it.
2440
2441 * net/eww.el (eww-display-image): Ditto.
2442
2443 * image.el (image-content-type-suffixes): New variable.
2444
2445 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2446
2447 * progmodes/python.el (python-imenu--build-tree)
2448 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2449
2450 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2451
2452 * simple.el (backward-word): Mention the optional argument.
2453
2454 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * frameset.el (frameset--make): Rename constructor from make-frameset.
2457 (frameset-p, frameset-valid-p): Don't autoload.
2458 (frameset-valid-p): Use normal accessors.
2459
2460 2013-08-13 Glenn Morris <rgm@gnu.org>
2461
2462 * progmodes/compile.el (compile-command): Tweak example in doc.
2463 * obsolete/scribe.el (scribe-mode):
2464 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2465
2466 * mail/feedmail.el (feedmail-confirm-outgoing)
2467 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2468
2469 * cus-start.el (truncate-partial-width-windows): Fix type.
2470
2471 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2472
2473 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2474
2475 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * emacs-lisp/timer.el (timer--time-setter): New function.
2478 (timer--time): Use it as gv-setter.
2479
2480 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2481 setter is not a symbol.
2482
2483 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2484
2485 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2486 if sending fails. This makes debugging easier.
2487
2488 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2489
2490 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2491 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2492 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2493
2494 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2495
2496 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2497
2498 2013-08-12 Glenn Morris <rgm@gnu.org>
2499
2500 * format.el (format-annotate-function):
2501 Handle read-only text properties in the source. (Bug#14887)
2502
2503 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2504
2505 * net/eww.el (eww-display-html): Ignore coding system errors.
2506 One web site uses "utf-8lias" as the coding system.
2507
2508 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2509
2510 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2511
2512 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2513
2514 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2515 (tutorial--detailed-help): Remove unused local variables.
2516 (tutorial--save-tutorial-to): Use ignore-errors.
2517 (help-with-tutorial): Use looking-at-p.
2518
2519 * view.el (view-buffer-other-window, view-buffer-other-frame):
2520 Mark unused arguments.
2521
2522 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2523 (woman-select-symbol-fonts, woman, woman-find-file)
2524 (woman-insert-file-contents, woman-non-underline-faces):
2525 Use string-match-p.
2526 (woman1-unquote): Move declaration.
2527
2528 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2529 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2530 argument. Remove unused local variable.
2531 (xml-parse-elem-type): Use string-match-p.
2532 (xml-substitute-numeric-entities): Use ignore-errors.
2533
2534 * calculator.el (calculator): Mark unused argument.
2535 (calculator-paste, calculator-quit, calculator-integer-p):
2536 Use ignore-errors.
2537 (calculator-string-to-number, calculator-decimal, calculator-exp)
2538 (calculator-op-or-exp): Use string-match-p.
2539
2540 * dired.el (dired-buffer-more-recently-used-p): Declare.
2541 (dired-insert-set-properties, dired-insert-old-subdirs):
2542 Use ignore-errors.
2543
2544 * dired-aux.el (dired-compress): Use ignore-errors.
2545 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2546 (dired-do-async-shell-command, dired-do-shell-command)
2547 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2548 (dired-insert-subdir-validate): Use string-match-p.
2549 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2550 (dired-add-entry): Use string-match-p, looking-at-p.
2551 (dired-insert-subdir-newpos): Remove unused local variable.
2552
2553 * filenotify.el (file-notify-callback): Remove unused local variable.
2554
2555 * filesets.el (filesets-error): Mark unused argument.
2556 (filesets-which-command-p, filesets-filter-dir-names)
2557 (filesets-directory-files, filesets-get-external-viewer)
2558 (filesets-ingroup-get-data): Use string-match-p.
2559
2560 * find-file.el (ff-other-file-name, ff-other-file-name)
2561 (ff-find-the-other-file, ff-cc-hh-converter):
2562 Remove unused local variables.
2563 (ff-get-file-name): Use string-match-p.
2564 (ff-all-dirs-under): Use ignore-errors.
2565
2566 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2567 (follow-select-if-visible): Remove unused local variable.
2568
2569 * forms.el (read-file-filter): Move declaration.
2570 (forms--make-format, forms--make-parser, forms-insert-record):
2571 Quote function with #'.
2572 (forms--update): Use string-match-p. Quote function with #'.
2573
2574 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2575 (help-make-xrefs): Use looking-at-p.
2576 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2577
2578 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2579 (ibuffer-confirm-operation-on): Use string-match-p.
2580
2581 * msb.el (msb-item-handler, msb-dired-item-handler):
2582 Mark unused arguments.
2583
2584 * ses.el (ses-decode-cell-symbol)
2585 (ses-kill-override): Remove unused local variable.
2586 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2587 (ses-load): Use ignore-errors, looking-at-p.
2588 (ses-jump-safe): Use ignore-errors.
2589 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2590
2591 * tabify.el (untabify, tabify): Mark unused arguments.
2592
2593 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2594 Mark unused argument.
2595 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2596 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2597
2598 * emacs-lisp/timer.el (timer--time): Define setter with
2599 gv-define-setter to avoid deprecation warning.
2600
2601 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2602 (*record-cmpl-statistics-p*): Remove (was commented out).
2603 (cmpl-statistics-block): Remove (body was commented out).
2604 All callers changed.
2605 (add-completions-from-buffer, load-completions-from-file):
2606 Remove unused variables.
2607
2608 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2609
2610 * filecache.el (file-cache-delete-file-list):
2611 Print message only when told so.
2612 (file-cache-files-matching): Use #' in mapconcat argument.
2613
2614 * ffap.el (ffap-url-at-point): Fix reference to variable
2615 thing-at-point-default-mail-uri-scheme.
2616
2617 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * subr.el (define-error): New function.
2620 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2621 error-file-not-found and define with define-error.
2622 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2623 and define with define-error.
2624 * userlock.el (file-locked, file-supersession):
2625 * simple.el (mark-inactive):
2626 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2627 * progmodes/ada-mode.el (ada-mode-errors):
2628 * play/life.el (life-extinct):
2629 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2630 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2631 * nxml/rng-util.el (rng-error):
2632 * nxml/rng-uri.el (rng-uri-error):
2633 * nxml/rng-match.el (rng-compile-error):
2634 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2635 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2636 * nxml/nxml-rap.el (nxml-scan-error):
2637 * nxml/nxml-outln.el (nxml-outline-error):
2638 * net/soap-client.el (soap-error):
2639 * net/gnutls.el (gnutls-error):
2640 * net/ange-ftp.el (ftp-error):
2641 * mpc.el (mpc-proc-error):
2642 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2643 (json-number-format, json-string-escape, json-string-format)
2644 (json-key-format, json-object-format):
2645 * jka-compr.el (compression-error):
2646 * international/quail.el (quail-error):
2647 * international/kkc.el (kkc-error):
2648 * emacs-lisp/ert.el (ert-test-failed):
2649 * calc/calc.el (calc-error, inexact-result, math-overflow)
2650 (math-underflow):
2651 * bookmark.el (bookmark-error-no-filename):
2652 * epg.el (epg-error): Define with define-error.
2653
2654 * time.el (display-time-event-handler)
2655 (display-time-next-load-average): Don't call sit-for since it seems
2656 unnecessary (bug#15045).
2657
2658 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2659 Use #' instead of ' to quote functions.
2660 (checkdoc-output-mode): Use setq-local.
2661 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2662 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2663 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2664 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2665 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2666 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2667 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2668 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2669
2670 * ido.el (ido-completion-help): Fix up compiler warning.
2671
2672 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * frameset.el (frameset-p): Add autoload cookie.
2675 (frameset--jump-to-register): New function, based on code moved from
2676 register.el.
2677 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2678
2679 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2680 (frameset-restore, frameset-save, frameset-session-filter-alist):
2681 Remove declarations.
2682 (register-alist): Doc fix.
2683 (frameset-to-register): Move to frameset.el.
2684 (jump-to-register, describe-register-1): Remove frameset-specific code.
2685
2686 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2687
2688 * allout-widgets.el (allout-widgets-pre-command-business)
2689 (allout-widgets-post-command-business)
2690 (allout-widgets-after-change-handler)
2691 (allout-decorate-item-and-context, allout-set-boundary-marker)
2692 (allout-body-modification-handler)
2693 (allout-graphics-modification-handler): Mark ignored arguments.
2694 (allout-widgets-post-command-business)
2695 (allout-widgets-exposure-change-processor)
2696 (allout-widgets-exposure-undo-processor)
2697 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2698 (allout-parse-item-at-point, allout-decorate-item-guides)
2699 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2700 * allout.el (epa-passphrase-callback-function): Declare.
2701 (allout-overlay-insert-in-front-handler)
2702 (allout-overlay-interior-modification-handler)
2703 (allout-isearch-end-handler, allout-chart-siblings)
2704 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2705 (allout-yank-processing, allout-process-exposed)
2706 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2707 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2708 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2709 (lisp-indent-defform): Mark ignored arguments.
2710 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2711 (calculate-lisp-indent): Remove unused variables.
2712 * international/characters.el (indian-2-column, arabic-2-column)
2713 (tibetan): Mark ignored arguments.
2714 (use-cjk-char-width-table): Mark ignored arguments.
2715 Remove unused variables.
2716 * international/fontset.el (build-default-fontset-data)
2717 (x-compose-font-name, create-fontset-from-fontset-spec):
2718 Mark ignored arguments.
2719 (fontset-plain-name): Remove unused variables.
2720 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2721 (keyboard-coding-system): Mark ignored arguments.
2722 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2723 * help.el (resize-temp-buffer-window):
2724 * window.el (display-buffer-in-major-side-window)
2725 (display-buffer-in-side-window, display-buffer-in-previous-window):
2726 Remove unused variables.
2727 * isearch.el (isearch-forward-symbol):
2728 * version.el (emacs-bzr-version-bzr):
2729 * international/mule-cmds.el (current-language-environment):
2730 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2731 (x-handle-display):
2732 * term/pc-win.el (x-list-fonts, x-display-planes)
2733 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2734 (x-server-version, x-display-screens, x-display-mm-height)
2735 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2736 (x-selection-owner-p, x-own-selection-internal)
2737 (x-disown-selection-internal, x-get-selection-internal)
2738 (msdos-initialize-window-system):
2739 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2740 * term/x-win.el (x-handle-no-bitmap-icon):
2741 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2742 (vc-default-find-file-hook, vc-default-extra-menu):
2743 Mark ignored arguments.
2744
2745 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2748 break-condition in the context of the debugged code (bug#12685).
2749
2750 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2751
2752 * comint.el:
2753 Do not use an overlay to highlight the last prompt. (Bug#14744)
2754 (comint-mode): Make comint-last-prompt buffer local.
2755 (comint-last-prompt): New variable.
2756 (comint-last-prompt-overlay): Remove. Superseded by
2757 comint-last-prompt.
2758 (comint-snapshot-last-prompt, comint-output-filter):
2759 Use comint-last-prompt.
2760
2761 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2762
2763 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2764 (frameset-save): Check validity of the resulting frameset.
2765
2766 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2767
2768 * ido.el (ido-record-command): Add doc string.
2769
2770 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2771
2772 * frameset.el (frameset): Do not disable creation of the default
2773 frameset-p predicate. Doc fix.
2774 (frameset-valid-p): New function, copied from the old predicate-p.
2775 Add additional checks.
2776 (frameset-restore): Check with frameset-valid-p.
2777 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2778 (frameset-name, frameset-description, frameset-properties)
2779 (frameset-states): Add docstring.
2780 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2781 (frameset-filter-alist): Doc fixes.
2782
2783 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2784
2785 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2786
2787 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2790 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2791 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2792 (byte-compile-normal-call): Remove obsolescence check.
2793
2794 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2795
2796 * frameset.el (frameset-restore): Doc fix.
2797
2798 * register.el (frameset-frame-id, frameset-frame-with-id)
2799 (frameset-p, frameset-restore, frameset-save): Declare.
2800 (register-alist): Document framesets.
2801 (frameset-session-filter-alist): Declare.
2802 (frameset-to-register): New function.
2803 (jump-to-register): Implement jumping to framesets. Doc fix.
2804 (describe-register-1): Describe framesets.
2805
2806 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2807
2808 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2809
2810 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2811 Use lexical-binding.
2812
2813 * frameset.el (frameset): Use type vector, not list (incompatible
2814 change). Do not declare a new constructor, use the default one.
2815 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2816 `name' and `description', respectively, and add read-only slot
2817 `timestamp'. Doc fixes.
2818 (frameset-copy, frameset-persistent-filter-alist)
2819 (frameset-filter-alist, frameset-switch-to-gui-p)
2820 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2821 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2822 (frameset-filter-iconified, frameset-keep-original-display-p):
2823 Doc fixes.
2824 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2825 Rename from frameset-filter-(save|restore)-param. All callers changed.
2826 Doc fix.
2827 (frameset-p): Adapt to change to vector and be more thorough.
2828 Change arg name to OBJECT. Doc fix.
2829 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2830 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2831 All callers changed.
2832 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2833 All callers changed.
2834 (frameset--record-minibuffer-relationships): Rename from
2835 frameset--process-minibuffer-frames. All callers changed.
2836 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2837 Use new default constructor (again). Doc fix.
2838 (frameset--find-frame-if): Rename from `frameset--find-frame.
2839 All callers changed.
2840 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2841 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2842 Doc fix.
2843 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2844 PARAMETERS and WINDOW-STATE, respectively.
2845 (frameset-restore): Add new keyword argument PREDICATE.
2846 Reset frameset--target-display to nil. Doc fix.
2847
2848 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2851 (bat-mode): Use it.
2852 (bat-mode-syntax-table): Mark \n as end-of-comment.
2853 (bat-font-lock-keywords): Remove comment rule.
2854
2855 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2856 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2857
2858 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2859 (byte-compile-callargs-warn): Use `push'.
2860 (byte-compile-arglist-warn): Ignore higher-order "calls".
2861 (byte-compile-file-form-autoload): Use `pcase'.
2862 (byte-compile-function-form): If quoting a symbol, check that it exists.
2863
2864 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2865
2866 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2867 and add a few popular commands found in batch files.
2868 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2869 (dos-mode): Doc fixes.
2870
2871 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2874 (dos-mode): Use setq-local. Add space after "rem".
2875 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2876 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2877
2878 2013-08-07 Arni Magnusson <arnima@hafro.is>
2879
2880 * progmodes/dos.el: New file.
2881 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2882 dos-mode.
2883
2884 2013-08-06 Glenn Morris <rgm@gnu.org>
2885
2886 * calendar/calendar.el: Add new faces, and day-header-array.
2887 (calendar-weekday-header, calendar-weekend-header)
2888 (calendar-month-header): New faces.
2889 (calendar-day-header-construct): New function.
2890 (calendar-day-header-width): Also :set calendar-day-header-array.
2891 (calendar-american-month-header, calendar-european-month-header)
2892 (calendar-iso-month-header): Use calendar- faces.
2893 (calendar-generate-month):
2894 Use calendar-day-header-array for day headers; apply faces to them.
2895 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2896 (calendar-abbrev-construct): Add optional maxlen argument.
2897 (calendar-day-name-array): Doc fix.
2898 (calendar-day-name-array, calendar-abbrev-length)
2899 (calendar-day-abbrev-array):
2900 Also :set calendar-day-header-array, and maybe redraw.
2901 (calendar-day-header-array): New option. (Bug#15007)
2902 (calendar-font-lock-keywords): Set to nil and make obsolete.
2903 (calendar-day-name): Add option to use header array.
2904
2905 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2906
2907 * net/shr.el (shr-render-td): Remove debugging.
2908 (shr-render-td): Make width computation consistent by defaulting
2909 all zero-width columns to 10 characters. This may not be optimal,
2910 but it's at least consistent.
2911 (shr-make-table-1): Redo last change to fix the real problem in
2912 colspan handling.
2913
2914 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2915
2916 * files.el (cache-long-line-scans):
2917 Make obsolete alias to `cache-long-scans'.
2918
2919 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2920
2921 * frameset.el (frameset, frameset-filter-alist)
2922 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2923 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2924 (frameset-compute-pos): Rename from frameset--compute-pos,
2925 and add docstring.
2926 (frameset-move-onscreen): Use frameset-compute-pos.
2927 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2928
2929 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2930 Fix typos in docstrings.
2931
2932 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2933
2934 * frame.el (get-other-frame): Tiny cleanup.
2935
2936 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2937
2938 * vc/vc.el (vc-default-ignore-completion-table):
2939 Silence byte-compiler warning.
2940
2941 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2942 slot , which can indeed be nil.
2943 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2944 Move entry for `left' from persistent to live filter alist.
2945 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2946 Doc fixes.
2947 (frameset-filter-params): When restoring a frame, copy items added to
2948 `filtered', to avoid unwittingly modifying the original parameters.
2949 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2950 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2951
2952 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2953 to use looking-at-p instead of looking-at. (Bug#15028)
2954
2955 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 Revert introduction of isearch-filter-predicates (bug#14714).
2958 Rely on add-function instead.
2959 * isearch.el (isearch-filter-predicates): Rename it back to
2960 isearch-filter-predicate.
2961 (isearch-message-prefix): Use advice-function-mapc and advice
2962 properties to get the isearch-message-prefix.
2963 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2964 instead of run-hook-with-args-until-failure.
2965 (isearch-filter-visible): Not obsolete any more.
2966 * loadup.el: Preload nadvice.
2967 * replace.el (perform-replace): Revert to funcall
2968 instead of run-hook-with-args-until-failure.
2969 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2970 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2971 dired-isearch-filenames-toggle; make it into a proper minor mode.
2972 Use add/remove-function.
2973 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2974 Call the minor-mode rather than add/remove-hook.
2975 (dired-isearch-filter-filenames):
2976 Remove isearch-message-prefix property.
2977 * info.el (Info--search-loop): New function, extracted from Info-search.
2978 Funcall isearch-filter-predicate instead of
2979 run-hook-with-args-until-failure isearch-filter-predicates.
2980 (Info-search): Use it.
2981 (Info-mode): Use isearch-filter-predicate instead of
2982 isearch-filter-predicates.
2983
2984 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2985
2986 Do not call to `selected-window' where it is assumed by default.
2987 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2988 `window-hscroll', `window-width', `window-height', `window-buffer',
2989 `window-frame', `window-start', `window-point', `next-window'
2990 and `window-display-table'.
2991 * abbrev.el (abbrev--default-expand):
2992 * bs.el (bs--show-with-configuration):
2993 * buff-menu.el (Buffer-menu-mouse-select):
2994 * calc/calc.el (calc):
2995 * calendar/calendar.el (calendar-generate-window):
2996 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2997 (diary-make-entry):
2998 * comint.el (send-invisible, comint-dynamic-complete-filename)
2999 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3000 * completion.el (complete):
3001 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3002 * disp-table.el (describe-current-display-table):
3003 * doc-view.el (doc-view-insert-image):
3004 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3005 * ehelp.el (with-electric-help):
3006 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3007 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3008 * emacs-lisp/helper.el (Helper-help-scroller):
3009 * emulation/cua-base.el (cua--post-command-handler-1):
3010 * eshell/esh-mode.el (eshell-output-filter):
3011 * ffap.el (ffap-gnus-wrapper):
3012 * help-macro.el (make-help-screen):
3013 * hilit-chg.el (highlight-compare-buffers):
3014 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3015 * hl-line.el (global-hl-line-highlight):
3016 * icomplete.el (icomplete-simple-completing-p):
3017 * isearch.el (isearch-done):
3018 * jit-lock.el (jit-lock-stealth-fontify):
3019 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3020 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3021 * mpc.el (mpc-tagbrowser, mpc):
3022 * net/rcirc.el (rcirc-any-buffer):
3023 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3024 * play/landmark.el (landmark-max-width, landmark-max-height):
3025 * play/zone.el (zone):
3026 * progmodes/compile.el (compilation-goto-locus):
3027 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3028 * progmodes/etags.el (find-tag-other-window):
3029 * progmodes/fortran.el (fortran-column-ruler):
3030 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3031 * progmodes/verilog-mode.el (verilog-point-text):
3032 * reposition.el (reposition-window):
3033 * rot13.el (toggle-rot13-mode):
3034 * server.el (server-switch-buffer):
3035 * shell.el (shell-dynamic-complete-command)
3036 (shell-dynamic-complete-environment-variable):
3037 * simple.el (insert-buffer, set-selective-display)
3038 (delete-completion-window):
3039 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3040 (speedbar-recenter):
3041 * startup.el (fancy-splash-head):
3042 * textmodes/ispell.el (ispell-command-loop):
3043 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3044 * tutorial.el (help-with-tutorial):
3045 * vc/add-log.el (add-change-log-entry):
3046 * vc/compare-w.el (compare-windows):
3047 * vc/ediff-help.el (ediff-indent-help-message):
3048 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3049 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3050 (ediff-setup-control-frame):
3051 * vc/emerge.el (emerge-position-region):
3052 * vc/pcvs-util.el (cvs-bury-buffer):
3053 * window.el (walk-windows, mouse-autoselect-window-select):
3054 * winner.el (winner-set-conf, winner-undo): Related users changed.
3055
3056 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3057
3058 * frameset.el (frameset--set-id): Doc fix.
3059 (frameset-frame-id, frameset-frame-id-equal-p)
3060 (frameset-locate-frame-id): New functions.
3061 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3062 (frameset-restore): Use them.
3063
3064 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3065
3066 Do not call to `selected-frame' where it is assumed by default.
3067 Affected functions are `raise-frame', `redraw-frame',
3068 `frame-first-window', `frame-terminal' and `delete-frame'.
3069 * calendar/appt.el (appt-disp-window):
3070 * epg.el (epg-wait-for-completion):
3071 * follow.el (follow-delete-other-windows-and-split)
3072 (follow-avoid-tail-recenter):
3073 * international/mule.el (set-terminal-coding-system):
3074 * mail/rmail.el (rmail-mail-return):
3075 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3076 * progmodes/f90.el (f90-add-imenu-menu):
3077 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3078 * server.el (server-switch-buffer):
3079 * simple.el (delete-completion-window):
3080 * talk.el (talk):
3081 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3082 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3083 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3084 * vc/ediff.el (ediff-documentation): Related users changed.
3085 * frame.el (selected-terminal): Remove the leftover.
3086
3087 2013-08-05 Glenn Morris <rgm@gnu.org>
3088
3089 * calendar/calendar.el (calendar-generate-month):
3090 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3091 (calendar-generate-month, calendar-font-lock-keywords):
3092 Fix for calendar-day-header-width > length of any day name.
3093
3094 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3095
3096 * desktop.el (desktop-clear): Use new name of sort predicate.
3097
3098 * frameset.el (frameset): Add docstring. Move :version property to its
3099 own `version' slot.
3100 (frameset-copy): Rename from copy-frameset.
3101 (frameset-p): Check more thoroughly.
3102 (frameset-prop): Do not check for :version, which is no longer a prop.
3103 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3104 Use new :never value instead of t.
3105 (frameset-filter-alist): Expand and clarify docstring.
3106 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3107 (frameset-filter-minibuffer, frameset-filter-save-param)
3108 (frameset-filter-restore-param, frameset-filter-iconified):
3109 Add pointer to docstring of frameset-filter-alist.
3110 (frameset-filter-params): Rename filter values to be more meaningful:
3111 :never instead of t, and reverse the meanings of :save and :restore.
3112 (frameset--process-minibuffer-frames): Clarify error message.
3113 (frameset-save): Avoid unnecessary and confusing call to framep.
3114 Use new BOA constructor for framesets.
3115 (frameset--reuse-list): Doc fix.
3116 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3117 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3118 (frameset-minibufferless-first-p): Doc fix.
3119 Rename from frameset-sort-frames-for-deletion.
3120 (frameset-restore): Doc fixes. Use new function names.
3121 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3122
3123 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3124
3125 * desktop.el (desktop-restore-forces-onscreen)
3126 (desktop-restore-reuses-frames): Document :keyword constant values.
3127 (desktop-filter-parameters-alist): Remove, now identical to
3128 frameset-filter-alist.
3129 (desktop--filter-tty*): Remove, moved to frameset.el.
3130 (desktop-save-frameset, desktop-restore-frameset):
3131 Do not pass :filters argument.
3132
3133 * frameset.el (frameset-live-filter-alist)
3134 (frameset-persistent-filter-alist): New variables.
3135 (frameset-filter-alist): Use them. Add autoload cookie.
3136 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3137 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3138 `frameset--id' (it's supposed to be internal to frameset.el).
3139 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3140 (frameset--initial-params): New function.
3141 (frameset--get-frame): Use it. Doc fix.
3142 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3143 Accept :all, not 'all.
3144 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3145 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3146 with fbound symbols. Fix frame id matching, and remove matching ids if
3147 the frame being restored is deleted. Obey :delete.
3148
3149 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * subr.el (macrop): New function.
3152 (text-clone--maintaining): New var.
3153 (text-clone--maintain): Rename from text-clone-maintain. Use it
3154 instead of inhibit-modification-hooks.
3155
3156 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3157 a proxy, so as handle autoloads and redefinitions of the target.
3158 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3159
3160 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3161 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3162 (pcase--mutually-exclusive-p): New function.
3163 (pcase--split-consp): Use it.
3164 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3165 mutually exclusive with the current predicate.
3166
3167 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3168 (edebug-macrop): Remove. Use `macrop' instead.
3169 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3170 (ad-macro-p):
3171 * eshell/esh-cmd.el (eshell-macrop):
3172 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3173
3174 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3177 (advice-mapc): New function, using it.
3178 (advice-function-member-p): New function.
3179 (advice--normalize): Store the cdr in advice--saved-rewrite since
3180 that's the part that will be changed.
3181 (advice--symbol-function): New function.
3182 (advice-remove): Handle removal before the function is defined.
3183 Adjust to new advice--saved-rewrite.
3184 (advice-member-p): Use advice-function-member-p and
3185 advice--symbol-function.
3186
3187 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3188
3189 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3190 (frameset-filter-minibuffer): Doc fix.
3191 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3192 (frameset--set-id, frameset--process-minibuffer-frames)
3193 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3194 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3195
3196 * desktop.el (desktop-clear): Only delete frames when called
3197 interactively and desktop-restore-frames is non-nil. Doc fix.
3198 (desktop-read): Set desktop-saved-frameset to nil.
3199
3200 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3201
3202 * vc/vc.el (vc-ignore): Rewrite.
3203 (vc-default-ignore-completion-table):
3204 (vc--read-lines):
3205 (vc--add-line, vc--remove-regexp): New functions.
3206
3207 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3208 (vc-svn-ignore-completion-table): New function.
3209
3210 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3211 (vc-hg-ignore-completion-table):
3212 (vc-hg-find-ignore-file): New functions.
3213
3214 * vc/vc-git.el (vc-git-ignore): Rewrite.
3215 (vc-git-ignore-completion-table):
3216 (vc-git-find-ignore-file): New functions.
3217
3218 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3219
3220 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3221 (vc-bzr-ignore-completion-table):
3222 (vc-bzr-find-ignore-file): New functions.
3223
3224 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3225
3226 * frameset.el (frameset-prop): New function and setter.
3227 (frameset-save): Do not modify frame list passed by the caller.
3228
3229 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3232
3233 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3236 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3237
3238 * custom.el (custom-initialize-default, custom-initialize-set)
3239 (custom-initialize-reset, custom-initialize-changed): Affect the
3240 toplevel-default-value (bug#6275, bug#14586).
3241 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3242 for bug#6275.
3243
3244 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3245
3246 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3247 Add cl-def* expressions.
3248
3249 * frameset.el (frameset-filter-params): Fix order of arguments.
3250
3251 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3252
3253 Move code related to saving frames to frameset.el.
3254 * desktop.el: Require frameset.
3255 (desktop-restore-frames): Doc fix.
3256 (desktop-restore-reuses-frames): Rename from
3257 desktop-restoring-reuses-frames.
3258 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3259 (desktop-clear): Clear frames too.
3260 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3261 (desktop--filter-tty*, desktop-save, desktop-read):
3262 Use frameset functions.
3263 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3264 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3265 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3266 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3267 (desktop--process-minibuffer-frames, desktop-save-frames)
3268 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3269 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3270 (desktop--sort-states, desktop-restoring-frames-p)
3271 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3272 (desktop-restoring-frameset-p, desktop-restore-frameset)
3273 (desktop--check-dont-save, desktop-save-frameset): New functions.
3274 (desktop--app-id): New constant.
3275 (desktop-first-buffer, desktop-buffer-ok-count)
3276 (desktop-buffer-fail-count): Move before first use.
3277 * frameset.el: New file.
3278
3279 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * files.el: Use lexical-binding.
3282 (dir-locals-read-from-file): Remove unused `err' variable.
3283 (hack-dir-local-variables--warned-coding): New var.
3284 (hack-dir-local-variables): Use it to avoid repeated warnings.
3285 (make-backup-file-name--default-function): New function.
3286 (make-backup-file-name-function): Use it as default.
3287 (buffer-stale--default-function): New function.
3288 (buffer-stale-function): Use it as default.
3289 (revert-buffer-insert-file-contents--default-function): New function.
3290 (revert-buffer-insert-file-contents-function): Use it as default.
3291 (insert-directory): Avoid add-to-list.
3292
3293 * autorevert.el (auto-revert-handler): Simplify.
3294 Use buffer-stale--default-function.
3295
3296 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3297
3298 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3299
3300 * whitespace.el (whitespace-ensure-local-variables): New function.
3301 (whitespace-cleanup-region): Call it.
3302 (whitespace-turn-on): Call it.
3303
3304 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3305
3306 Complete file name handlers.
3307
3308 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3309 (tramp-handle-verify-visited-file-modtime)
3310 (tramp-handle-file-notify-rm-watch): New functions.
3311 (tramp-call-process): Do not bind `default-directory'.
3312
3313 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3314 Order alphabetically.
3315 [access-file, add-name-to-file, dired-call-process]:
3316 [dired-compress-file, file-acl, file-notify-rm-watch]:
3317 [file-ownership-preserved-p, file-selinux-context]:
3318 [make-directory-internal, make-symbolic-link, set-file-acl]:
3319 [set-file-selinux-context, set-visited-file-modtime]:
3320 [verify-visited-file-modtime]: Add handler.
3321 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3322
3323 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3324 [file-notify-add-watch, file-notify-rm-watch]:
3325 [set-file-times, set-visited-file-modtime]:
3326 [verify-visited-file-modtime]: Add handler.
3327 (with-tramp-gvfs-error-message)
3328 (tramp-gvfs-handle-set-visited-file-modtime)
3329 (tramp-gvfs-fuse-file-name): Remove.
3330 (tramp-gvfs-handle-file-notify-add-watch)
3331 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3332 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3333
3334 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3335 Order alphabetically.
3336 [file-notify-rm-watch ]: Use default Tramp handler.
3337 [executable-find]: Remove private handler.
3338 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3339 `default-directory'.
3340 (tramp-sh-handle-executable-find)
3341 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3342 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3343 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3344 Do not use `format' in `tramp-message'.
3345
3346 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3347 [file-notify-rm-watch, set-visited-file-modtime]:
3348 [verify-visited-file-modtime]: Add handler.
3349 (tramp-smb-call-winexe): Do not bind `default-directory'.
3350
3351 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3352
3353 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3354
3355 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3358 use it.
3359 (log-view-diff-changeset): Same.
3360 (log-view-diff-common): Call backend command `previous-revision'
3361 to find out the previous revision, in both cases. Swap the
3362 variables `to' and `fr', so that `fr' usually refers to the
3363 earlier revision (Bug#14989).
3364
3365 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3366
3367 * ibuf-ext.el (ibuffer-filter-by-filename):
3368 Make it work with dired buffers too.
3369
3370 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3371
3372 * emacs-lisp/re-builder.el (reb-color-display-p):
3373 * files.el (save-buffers-kill-terminal):
3374 * net/browse-url.el (browse-url):
3375 * server.el (server-save-buffers-kill-terminal):
3376 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3377 Prefer nil to selected-frame for the first arg of frame-parameter.
3378
3379 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3380
3381 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3382
3383 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3384
3385 * minibuffer.el (completion--twq-all): Try and preserve each
3386 completion's case choice (bug#14907).
3387
3388 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3389
3390 * net/network-stream.el (open-network-stream): Mention the new
3391 :nogreeting parameter.
3392 (network-stream-open-starttls): Use the :nogreeting parameter
3393 (bug#14938).
3394
3395 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3396
3397 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3398 more natural than popping.
3399
3400 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3401 (shr-urlify): Highlight under mouse.
3402
3403 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3404
3405 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3406
3407 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3408
3409 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3410 buffer for output.
3411
3412 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3413 point-min==1. Fix search string. Fix parentheses missing.
3414
3415 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3416 assume point-min==1. Fix search string. Fix parentheses missing.
3417
3418 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3419
3420 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3421 buffer for output.
3422
3423 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3424
3425 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3426 initial frame is minibuffer-less. (Bug#14841)
3427
3428 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3429
3430 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3431 option.
3432
3433 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3434 (tramp-maybe-open-connection): Use it.
3435
3436 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3437
3438 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3439 minimal set of parameters passed when creating a frame, because
3440 the minibuffer status of a frame cannot be changed later.
3441
3442 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3443
3444 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3445 replace-regexp-in-string and inadvertent omissions in previous change.
3446 (todo-filter-items): Ensure only file names are comma-separated in
3447 name of filtered items buffer.
3448
3449 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3450
3451 * desktop.el: Optionally force offscreen frames back onscreen.
3452 (desktop-restoring-reuses-frames): New option.
3453 (desktop--compute-pos, desktop--move-onscreen): New functions.
3454 (desktop--make-frame): Use desktop--move-onscreen.
3455
3456 2013-07-27 Alan Mackenzie <acm@muc.de>
3457
3458 Fontify a Java generic method as a function.
3459 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3460 value to t.
3461
3462 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3463
3464 * calendar/todo-mode.el: Add command to rename todo files.
3465 (todo-rename-file): New command.
3466 (todo-key-bindings-t): Add key binding for it. Change the
3467 bindings of todo-filter-regexp-items(-multifile) to use `x'
3468 instead of `r', since the latter is better suited to the new
3469 renaming command.
3470
3471 2013-07-27 Alan Mackenzie <acm@muc.de>
3472
3473 Make Java try-with-resources statement parse properly.
3474 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3475 (c-block-stmt-1-2-key): New language constants/variables.
3476 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3477 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3478 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3479 with c-block-stmt-1-2-key.
3480
3481 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3482
3483 * desktop.el (desktop--make-frame): Apply most frame parameters after
3484 creating the frame to force (partially or totally) offscreen frames to
3485 be restored as such.
3486
3487 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3488
3489 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3490 (Bug#14948)
3491
3492 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3495 `base' arg of backtrace-frame.
3496
3497 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3498
3499 * simple.el (list-processes): Doc fix.
3500
3501 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3502
3503 * desktop.el (desktop--select-frame):
3504 Try harder to reuse existing frames.
3505
3506 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3509 (edebug-eval): Use backtrace-eval.
3510 (edebug--display, edebug--recursive-edit): Don't let-bind the
3511 edebug-outer-* vars that keep track of variables we locally let-bind.
3512 (edebug-outside-excursion): Don't restore outside values of locally
3513 let-bound vars.
3514 (edebug--display): Use user-error.
3515 (cl-lexical-debug, cl-debug-env): Remove.
3516
3517 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3520 are restored to be sure that they are visible before deleting any
3521 remaining ones.
3522
3523 2013-07-26 Matthias Meulien <orontee@gmail.com>
3524
3525 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3526 vc-print-root-log. (Bug#14948)
3527
3528 2013-07-26 Richard Stallman <rms@gnu.org>
3529
3530 Add aliases for encrypting mail.
3531 * epa.el (epa-mail-aliases): New option.
3532 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3533 Bind inhibit-read-only so read-only text doesn't ruin everything.
3534 (epa-mail-default-recipients): New subroutine broken out.
3535 Handle epa-mail-aliases.
3536
3537 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 Add support for lexical variables to the debugger's `e' command.
3540 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3541 vars, except for debugger-outer-match-data.
3542 (debugger-frame-number): Move check for "on a function call" from
3543 callers into it. Add `skip-base' argument.
3544 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3545 (debugger-env-macro): Only reset the state stored in non-variables,
3546 i.e. current-buffer and match-data.
3547 (debugger-eval-expression): Rewrite using backtrace-eval.
3548 * subr.el (internal--called-interactively-p--get-frame): Remove.
3549 (called-interactively-p):
3550 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3551 `base' arg of backtrace-frame instead.
3552
3553 2013-07-26 Glenn Morris <rgm@gnu.org>
3554
3555 * align.el (align-regexp): Doc fix. (Bug#14857)
3556 (align-region): Explicit error if subexpression missing/does not match.
3557
3558 * simple.el (global-visual-line-mode):
3559 Do not duplicate the mode lighter. (Bug#14858)
3560
3561 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3562
3563 * window.el (display-buffer): In display-buffer bind
3564 split-window-keep-point to t, bug#14829.
3565
3566 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3567
3568 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3569 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3570 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3571 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3572 Change accordingly.
3573 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3574 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3575
3576 2013-07-25 Glenn Morris <rgm@gnu.org>
3577
3578 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3579
3580 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3581
3582 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3583 parameter to modify-frame-parameters if the value has not changed;
3584 this is a workaround for bug#14949.
3585 (desktop--make-frame): On cl-delete-if call, check parameter name,
3586 not full parameter.
3587
3588 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3589
3590 * vc/vc.el (vc-ignore): New function.
3591
3592 * vc/vc-svn.el (vc-svn-ignore): New function.
3593
3594 * vc/vc-hg.el (vc-hg-ignore): New function.
3595
3596 * vc/vc-git.el (vc-git-ignore): New function.
3597
3598 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3599 (vc-dir-ignore): New function.
3600
3601 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3602 (cvs-append-to-ignore): Move here from pcvs.el.
3603
3604 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3605
3606 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3607
3608 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3609
3610 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3611 (desktop-restore-frames): Warn when deleting an existing frame failed.
3612
3613 2013-07-24 Glenn Morris <rgm@gnu.org>
3614
3615 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3616
3617 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3618
3619 * filenotify.el (file-notify-supported-p):
3620 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3621 Remove functions.
3622
3623 * autorevert.el (auto-revert-use-notify):
3624 (auto-revert-notify-add-watch):
3625 * net/tramp.el (tramp-file-name-for-operation):
3626 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3627 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3628 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3629 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3630 Remove `file-notify-supported-p' entry.
3631
3632 2013-07-24 Glenn Morris <rgm@gnu.org>
3633
3634 * printing.el: Replace all uses of deleted ps-windows-system,
3635 ps-lp-system, ps-flatten-list with lpr- versions.
3636
3637 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3640 checked with memq (bug#14935).
3641
3642 * files.el (revert-buffer-function): Use a non-nil default.
3643 (revert-buffer-preserve-modes): Declare var to
3644 provide access to the `preserve-modes' argument.
3645 (revert-buffer): Let-bind it.
3646 (revert-buffer--default): New function, extracted from revert-buffer.
3647
3648 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * lpr.el: Signal print errors more prominently.
3651 (print-region-function): Don't default to nil.
3652 (lpr-print-region): New function, extracted from print-region-1.
3653 Check lpr's return value and signal an error in case of problem.
3654 (print-region-1): Use it.
3655 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3656 versions instead.
3657 (ps-printer-name): Default to nil.
3658 (ps-printer-name-option): Default to lpr-printer-switch.
3659 (ps-print-region-function): Don't default to nil.
3660 (ps-postscript-code-directory): Simplify default.
3661 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3662 (ps-string-list, ps-eval-switch, ps-flatten-list)
3663 (ps-flatten-list-1): Remove.
3664 (ps-multibyte-buffer): Avoid setq.
3665 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3666 (print-region-function, ps-print-region-function): Don't set them here.
3667
3668 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3669
3670 * ido.el (ido-fractionp):
3671 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3672 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3673 (ido-max-directory-size, ido-max-dir-file-cache)
3674 (ido-decorations): Doc fix.
3675
3676 * ansi-color.el: Fix old URL.
3677
3678 2013-07-23 Michael R. Mauger <michael@mauger.com>
3679
3680 * progmodes/sql.el: Version 3.3
3681 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3682 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3683 (sql-interactive-remove-continuation-prompt): Rewrite, use
3684 functions above. Fix continuation prompt and complete output line
3685 handling.
3686 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3687 redirected output buffer.
3688 (sql-mode): Restore deleted code (Bug#13591).
3689
3690 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3691
3692 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3693
3694 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3697
3698 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3699 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3700 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3701
3702 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3703
3704 * desktop.el (desktop-clear): Simplify; remove useless checks
3705 against invalid buffer names.
3706 (desktop-list*): Use cl-list*.
3707 (desktop-buffer-info, desktop-create-buffer): Simplify.
3708
3709 2013-07-23 Leo Liu <sdl.web@gmail.com>
3710
3711 * bookmark.el (bookmark-make-record): Restore NAME as a default
3712 value. (Bug#14933)
3713
3714 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3717 extracted from autoload--insert-text.
3718 (autoload--insert-text): Remove.
3719 (autoload--print-cookie-text): New function, extracted from
3720 autoload--insert-cookie-text.
3721 (autoload--insert-cookie-text): Remove.
3722 (autoload-generate-file-autoloads): Adjust calls accordingly.
3723
3724 * winner.el (winner-hook-installed-p): Remove.
3725 (winner-mode): Simplify accordingly.
3726
3727 * subr.el (add-to-list): Fix compiler-macro when `append' is
3728 not constant. Don't use `cl-member' for the base case.
3729
3730 * progmodes/subword.el: Fix boundary case (bug#13758).
3731 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3732 own group.
3733 (subword-backward-regexp): Make it a constant.
3734 (subword-forward-internal): Don't treat a trailing capital as the
3735 beginning of a word.
3736
3737 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3738
3739 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3740 global value of tabulated-list-revert-hook (bug#14930).
3741
3742 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3743
3744 * desktop.el: Require 'cl-lib.
3745 (desktop-before-saving-frames-functions): New hook.
3746 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3747 for frames being saved. Rename from desktop--save-minibuffer-frames.
3748 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3749 Do not save frames with non-nil `desktop-dont-save' parameter.
3750 Filter out deleted frames.
3751 (desktop--find-frame): Use cl-find-if.
3752 (desktop--select-frame): Use cl-(first|second|third) to access values
3753 of desktop-mini.
3754 (desktop--make-frame): Use cl-delete-if.
3755 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3756 (desktop-restore-frames): Use cl-(first|second|third) to access values
3757 of desktop-mini. Look for visible frame at the end, not while
3758 restoring frames.
3759
3760 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3761 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3762 Use string-match-p, looking-at-p (bug#14927).
3763
3764 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3765
3766 * desktop.el (desktop-saved-frame-states):
3767 Rename from desktop--saved-states; all users changed.
3768 (desktop-save-frames): Rename from desktop--save-frames.
3769 Do not save state to desktop file.
3770 (desktop-save): Save desktop-saved-frame-states to desktop file
3771 and reset to nil.
3772 (desktop-restoring-frames-p): New function.
3773 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3774 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3775 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3776
3777 * desktop.el: Correctly restore iconified frames.
3778 (desktop--filter-iconified-position): New function.
3779 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3780
3781 2013-07-20 Glenn Morris <rgm@gnu.org>
3782
3783 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3784 Let `message' do the formatting.
3785 (def-gdb-preempt-display-buffer): Add explicit format.
3786
3787 * image-dired.el (image-dired-track-original-file):
3788 Use with-current-buffer.
3789 (image-dired-track-thumbnail): Use with-current-buffer.
3790 Avoid changing point of wrong window.
3791
3792 * image-dired.el (image-dired-track-original-file):
3793 Avoid changing point of wrong window. (Bug#14909)
3794
3795 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3796
3797 * progmodes/gdb-mi.el (gdb-done-or-error):
3798 Guard against "%" in gdb output. (Bug#14127)
3799
3800 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3801
3802 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3803 (Bug#14826)
3804
3805 * international/mule.el (coding-system-iso-2022-flags): Fix last
3806 change.
3807
3808 2013-07-20 Kenichi Handa <handa@gnu.org>
3809
3810 * international/mule.el (coding-system-iso-2022-flags):
3811 Add `8-bit-level-4'. (Bug#8522)
3812
3813 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3814
3815 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3816 (bug#14815).
3817
3818 * net/eww.el (eww-process-text-input): Allow inputting when the
3819 point is at the start of the line, as the properties aren't
3820 front-sticky.
3821
3822 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3823 degenerate widths.
3824
3825 2013-07-19 Richard Stallman <rms@gnu.org>
3826
3827 * epa.el (epa-popup-info-window): Doc fix.
3828
3829 * subr.el (split-string): New arg TRIM.
3830
3831 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3832
3833 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3834 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3835
3836 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * filenotify.el (file-notify--library): Rename from
3839 `file-notify-support'. Do not autoload. Adapt all uses.
3840 (file-notify-supported-p): New defun.
3841
3842 * autorevert.el (auto-revert-use-notify):
3843 Use `file-notify-supported-p' instead of `file-notify-support'.
3844 Adapt docstring.
3845 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3846
3847 * net/tramp.el (tramp-file-name-for-operation):
3848 Add `file-notify-supported-p'.
3849
3850 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3851 New defun.
3852 (tramp-sh-file-name-handler-alist): Add it as handler for
3853 `file-notify-supported-p '.
3854
3855 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3857 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3858 Add `ignore' as handler for `file-notify-*' functions.
3859
3860 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3861
3862 * simple.el (line-move-partial, line-move): Don't start vscroll or
3863 scroll-up if the current line is not taller than the window.
3864 (Bug#14881)
3865
3866 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3867
3868 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3869 highlight question marks in the method names as strings.
3870 (ruby-block-beg-keywords): Inline.
3871 (ruby-font-lock-keyword-beg-re): Extract from
3872 `ruby-font-lock-keywords'.
3873
3874 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3875
3876 * frame.el (blink-cursor-blinks): New defcustom.
3877 (blink-cursor-blinks-done): New defvar.
3878 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3879 (blink-cursor-timer-function): Check if number of blinks has been
3880 done on X and NS.
3881 (blink-cursor-suspend, blink-cursor-check): New defuns.
3882
3883 2013-07-15 Glenn Morris <rgm@gnu.org>
3884
3885 * edmacro.el (edmacro-format-keys): Fix previous change.
3886
3887 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3888
3889 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3890 The hack didn't work outside English locales anyway.
3891
3892 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * simple.el (define-alternatives): Rename from alternatives-define,
3895 per RMS' suggestion.
3896
3897 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3898
3899 * desktop.el (desktop-restore-frames): Change default to t.
3900 (desktop-restore-in-current-display): Now offer more options.
3901 (desktop-restoring-reuses-frames): New customization option.
3902 (desktop--saved-states): Doc fix.
3903 (desktop-filter-parameters-alist): New variable, renamed and expanded
3904 from desktop--excluded-frame-parameters.
3905 (desktop--target-display): New variable.
3906 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3907 (desktop--filter-tty*, desktop--filter-*-color)
3908 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3909 (desktop--filter-save-desktop-parm)
3910 (desktop-restore-in-original-display-p): New functions.
3911 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3912 (desktop--save-minibuffer-frames): New function, inspired by a similar
3913 function from Martin Rudalics.
3914 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3915 (desktop--restore-in-this-display-p): Remove.
3916 (desktop--find-frame): Rename from desktop--find-frame-in-display
3917 and add predicate argument.
3918 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3919 (desktop--reuse-list): New variable.
3920 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3921 New functions.
3922 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3923
3924 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3925
3926 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3927
3928 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3931 Highlight conversion methods on Kernel.
3932
3933 2013-07-13 Alan Mackenzie <acm@muc.de>
3934
3935 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3936 and comment it out. This out-commenting enables certain C++
3937 declarations to be parsed correctly.
3938
3939 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3940
3941 * international/mule.el (define-coding-system): Doc fix.
3942
3943 * simple.el (default-font-height): Don't call font-info if the
3944 frame's default font didn't change since the frame was created.
3945 (Bug#14838)
3946
3947 2013-07-13 Leo Liu <sdl.web@gmail.com>
3948
3949 * ido.el (ido-read-file-name): Guard against non-symbol value.
3950
3951 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3952
3953 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3954 in nested defuns.
3955
3956 2013-07-13 Leo Liu <sdl.web@gmail.com>
3957
3958 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3959 ido-set-matches call. (Bug#6852)
3960
3961 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3964 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3965 Ruby 2.0.
3966 (ruby-font-lock-keywords): Distinguish calls to functions with
3967 module-like names from module references. Highlight character
3968 literals.
3969
3970 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3971
3972 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3973 (gdb-send): Handle continued commands. (Bug#14847)
3974
3975 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3976
3977 * desktop.el (desktop--v2s): Remove unused local variable.
3978 (desktop-save-buffer): Make defvar-local; adjust docstring.
3979 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3980 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3981
3982 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3983
3984 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3985
3986 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3987
3988 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3989 (Bug#14842)
3990
3991 2013-07-12 Glenn Morris <rgm@gnu.org>
3992
3993 * doc-view.el: Require cl-lib at runtime too.
3994 (doc-view-remove-if): Remove.
3995 (doc-view-search-next-match, doc-view-search-previous-match):
3996 Use cl-remove-if.
3997
3998 * edmacro.el: Require cl-lib at runtime too.
3999 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4000 (edmacro-mismatch, edmacro-subseq): Remove.
4001
4002 * shadowfile.el: Require cl-lib.
4003 (shadow-remove-if): Remove.
4004 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4005 Use cl-remove-if.
4006
4007 * wid-edit.el: Require cl-lib.
4008 (widget-choose): Use cl-remove-if.
4009 (widget-remove-if): Remove.
4010
4011 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4012 (ebrowse-delete-if-not): Remove.
4013 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4014 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4015 Use cl-delete-if-not.
4016
4017 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4018
4019 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4020 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4021
4022 2013-07-12 Leo Liu <sdl.web@gmail.com>
4023
4024 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4025
4026 2013-07-11 Glenn Morris <rgm@gnu.org>
4027
4028 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4029 (edebug-gensym-index, edebug-gensym):
4030 Remove reimplementation of cl-gensym.
4031 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4032
4033 * thumbs.el: Require cl-lib at run-time too.
4034 (thumbs-gensym-counter, thumbs-gensym):
4035 Remove reimplementation of cl-gensym.
4036 (thumbs-temp-file): Use cl-gensym.
4037
4038 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4039 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4040 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4041 (ert--union, ert--gensym-counter, ert--gensym-counter)
4042 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4043 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4044 (ert-make-test-unbound, ert--expand-should-1)
4045 (ert--expand-should, ert--should-error-handle-error)
4046 (should-error, ert--explain-equal-rec)
4047 (ert--plist-difference-explanation, ert-select-tests)
4048 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4049 Use cl-lib functions rather than reimplementations.
4050
4051 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * net/tramp.el (tramp-methods): Extend docstring.
4054 (tramp-connection-timeout): New defcustom.
4055 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4056 (with-tramp-progress-reporter): Simplify.
4057 (tramp-process-actions): Improve messages.
4058
4059 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4060 * net/tramp-sh.el (tramp-maybe-open-connection):
4061 Use `tramp-connection-timeout'.
4062 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4063 (Bug#14808)
4064
4065 2013-07-11 Leo Liu <sdl.web@gmail.com>
4066
4067 * ido.el (ido-read-file-name): Conform to the requirements of
4068 read-file-name. (Bug#11861)
4069 (ido-read-directory-name): Conform to the requirements of
4070 read-directory-name.
4071
4072 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4073
4074 * subr.el (delay-warning): New function.
4075
4076 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4077
4078 * simple.el (default-line-height): New function.
4079 (line-move-partial, line-move): Use it instead of computing the
4080 line height inline.
4081 (line-move-partial): Always compute ROWH. If the last line is
4082 partially-visible, but its text is completely visible, allow
4083 cursor to enter such a partially-visible line.
4084
4085 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4086
4087 Improve error messages. (Bug#14808)
4088
4089 * net/tramp.el (tramp-current-connection): New defvar, moved from
4090 tramp-sh.el.
4091 (tramp-message-show-progress-reporter-message): Remove, not
4092 needed anymore.
4093 (tramp-error-with-buffer): Show message in minibuffer.
4094 Discard input before waiting. Reset connection timestamp.
4095 (with-tramp-progress-reporter): Improve messages.
4096 (tramp-process-actions): Use progress reporter. Delete process in
4097 case of error. Improve messages.
4098
4099 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4100 Call `tramp-error-with-buffer' with vector and buffer.
4101 (tramp-current-connection): Remove.
4102 (tramp-maybe-open-connection): The car of
4103 `tramp-current-connection' are the first 3 slots of the vector.
4104
4105 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4106
4107 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4108 inside continued strings.
4109
4110 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4111
4112 Timestamp fixes for undo (Bug#14824).
4113 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4114
4115 2013-07-10 Leo Liu <sdl.web@gmail.com>
4116
4117 * files.el (require-final-newline): Allow safe local value.
4118 (Bug#14834)
4119
4120 2013-07-09 Leo Liu <sdl.web@gmail.com>
4121
4122 * ido.el (ido-read-directory-name): Handle fallback.
4123 (ido-read-file-name): Update DIR to ido-current-directory.
4124 (Bug#1516)
4125 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4126
4127 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4128
4129 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4130 "autoload". Remove "warn lower camel case" section, previously
4131 commented out. Highlight negation char. Do not highlight the
4132 target in singleton method definitions.
4133
4134 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * faces.el (tty-setup-hook): Declare the hook.
4137
4138 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4139 and detect when a guard/pred depends on local vars (bug#14773).
4140 (pcase--u1): Adjust caller.
4141
4142 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4143
4144 * simple.el (line-move-partial, line-move): Account for
4145 line-spacing.
4146 (line-move-partial): Avoid setting vscroll when the last
4147 partially-visible line in window is of default height.
4148
4149 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4150
4151 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4152 been used a while.
4153
4154 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4155
4156 * subr.el (read-quoted-char): Remove unused local variable `char'.
4157
4158 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4159
4160 * ediff.el (ediff-version): Version update.
4161 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4162 (ediff-merge-with-ancestor-command, ediff-directories-command)
4163 (ediff-directories3-command, ediff-merge-directories-command)
4164 (ediff-merge-directories-with-ancestor-command): New functions.
4165 All are command-line interfaces to ediff: to facilitate calling
4166 Emacs with the appropriate ediff functions invoked.
4167
4168 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4169 (viper-save-kill-buffer): Check if buffer is modified.
4170
4171 * viper.el (viper-version): Version update.
4172 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4173
4174 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4177 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4178 (viper-intercept-ESC-key): Simplify.
4179 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4180 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4181 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4182 (viper-setup-ESC-to-escape): New functions.
4183 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4184 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4185
4186 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4187
4188 * simple.el (default-font-height, window-screen-lines):
4189 New functions.
4190 (line-move, line-move-partial): Use them instead of
4191 frame-char-height and window-text-height. This makes scrolling
4192 text smoother when the buffer's default face uses a font that is
4193 different from the frame's default font.
4194
4195 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4196
4197 * files.el (write-file): Do not display confirm dialog for NS,
4198 it does its own dialog, which can't be cancelled (Bug#14578).
4199
4200 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4201
4202 * simple.el (line-move-partial): Adjust the row returned by
4203 posn-at-point for the current window-vscroll. (Bug#14567)
4204
4205 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4208 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4209 spaces.
4210
4211 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4212
4213 * window.el (window-state-put-stale-windows): New variable.
4214 (window--state-put-2): Save list of windows without matching buffer.
4215 (window-state-put): Remove "bufferless" windows if possible.
4216
4217 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4218
4219 * simple.el (alternatives-define): Remove leftover :group keyword.
4220 Tweak docstring.
4221
4222 2013-07-06 Leo Liu <sdl.web@gmail.com>
4223
4224 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4225 (ido-enable-virtual-buffers): New variable.
4226 (ido-buffer-internal, ido-toggle-virtual-buffers)
4227 (ido-make-buffer-list): Use it.
4228 (ido-exhibit): Support turning on and off virtual buffers
4229 automatically.
4230
4231 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * simple.el (alternatives-define): New macro.
4234
4235 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * subr.el (read-quoted-char): Use read-key.
4238 (sit-for): Let read-event decode tty input (bug#14782).
4239
4240 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4241
4242 * calendar/todo-mode.el: Add handling of file deletion, both by
4243 mode command and externally. Fix various related bugs.
4244 Clarify Commentary and improve some documentation strings and code.
4245 (todo-delete-file): New command.
4246 (todo-check-file): New function.
4247 (todo-show): Handle external deletion of the file we're trying to
4248 show (bug#14688). Replace called-interactively-p by an optional
4249 prefix argument to avoid problematic interaction with catch form
4250 when byte compiled (bug#14702).
4251 (todo-quit): Handle external deletion of the archive's todo file.
4252 Make sure the buffer that was visiting the archive file is still
4253 live before trying to bury it.
4254 (todo-category-completions): Handle external deletion of any
4255 category completion files.
4256 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4257 of todo files, in case of external deletion.
4258 (todo-add-file): Replace unnecessary setq by let-binding.
4259 (todo-find-archive): Check whether there are any archives.
4260 Replace unnecessary setq by let-binding.
4261 (todo-archive-done-item): Use find-file-noselect to get the
4262 archive buffer whether or not the archive already exists.
4263 Remove superfluous code. Use file size instead of buffer-file-name to
4264 check if the archive is new; if it is, update list of archives.
4265 (todo-default-todo-file): Allow nil to be a valid value for when
4266 there are no todo files.
4267 (todo-reevaluate-default-file-defcustom): Use corrected definition
4268 of todo-default-todo-file.
4269 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4270 (todo-delete-category, todo-show-categories-table)
4271 (todo-category-number): Clarify comment.
4272 (todo-filter-items): Clarify documentation string.
4273 (todo-show-current-file, todo-display-as-todo-file)
4274 (todo-reset-and-enable-done-separator): Tweak documentation string.
4275 (todo-done-separator): Make separator length window-width, since
4276 bug#2749 is now fixed.
4277
4278 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4281 Support both "gvfs-monitor-dir" and "inotifywait".
4282 (tramp-sh-file-inotifywait-process-filter): Rename from
4283 `tramp-sh-file-notify-process-filter'.
4284 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4285 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4286
4287 2013-07-05 Leo Liu <sdl.web@gmail.com>
4288
4289 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4290
4291 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4292
4293 * frame.el (display-pixel-height, display-pixel-width)
4294 (display-mm-height, display-mm-width): Mention behavior on
4295 multi-monitor setups in docstrings.
4296 (w32-display-monitor-attributes-list): Declare function.
4297 (display-monitor-attributes-list): Use it.
4298
4299 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4300
4301 * filenotify.el: New package.
4302
4303 * autorevert.el (top): Require filenotify.el.
4304 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4305 instead.
4306 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4307 (auto-revert-notify-handler): Use `file-notify-*' functions.
4308
4309 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4310
4311 * net/tramp.el (tramp-file-name-for-operation):
4312 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4313
4314 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4315 for `file-notify-add-watch' and `file-notify-rm-watch'.
4316 (tramp-process-sentinel): Improve trace.
4317 (tramp-sh-handle-file-notify-add-watch)
4318 (tramp-sh-file-notify-process-filter)
4319 (tramp-sh-handle-file-notify-rm-watch)
4320 (tramp-get-remote-inotifywait): New defuns.
4321
4322 2013-07-03 Juri Linkov <juri@jurta.org>
4323
4324 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4325 call of `occur-read-primary-args' to interactive spec.
4326
4327 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4328 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4329
4330 2013-07-03 Matthias Meulien <orontee@gmail.com>
4331
4332 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4333 `Buffer-menu-multi-occur'. Add it to the menu.
4334 (Buffer-menu-mode): Document it in docstring.
4335 (Buffer-menu-multi-occur): New command. (Bug#14673)
4336
4337 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4338
4339 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4340 keywords and built-ins.
4341
4342 2013-07-03 Glenn Morris <rgm@gnu.org>
4343
4344 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4345
4346 Make info-xref checks case-sensitive by default
4347 * info.el (Info-find-node, Info-find-in-tag-table)
4348 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4349 Add option for exact case matching of nodes.
4350 * info-xref.el (info-xref): New custom group.
4351 (info-xref-case-fold): New option.
4352 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4353
4354 2013-07-03 Leo Liu <sdl.web@gmail.com>
4355
4356 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4357
4358 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4359
4360 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4361 middle of block statement initially, lower the depth. Remove
4362 FIXME comment, not longer valid. Remove middle of block statement
4363 detection, no need to do that anymore since we've been using
4364 `ruby-parse-region' here.
4365
4366 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4367
4368 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4369
4370 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4371
4372 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4373
4374 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4377 (desktop-restore-in-current-display): New customization option.
4378 (desktop--excluded-frame-parameters): Add `font'.
4379 (desktop--save-frames): Rename from desktop--save-windows.
4380 (desktop--restore-in-this-display-p): New function.
4381 (desktop--make-full-frame): Remove unwanted width/height from
4382 full(width|height) frames.
4383 (desktop--restore-frames): Rename from desktop--restore-windows.
4384 Obey desktop-restore-current-display. Do not delete old frames or
4385 select a new frame unless we were able to restore at least one frame.
4386
4387 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4388
4389 * files.el (find-file-noselect): Simplify conditional expression.
4390
4391 * remember.el (remember-append-to-file):
4392 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4393
4394 Add `remember-notes' function to store random notes across Emacs
4395 restarts.
4396 * remember.el (remember-data-file): Add :set callback to affect
4397 notes buffer (if any).
4398 (remember-notes): New command.
4399 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4400 New defcustoms for the `remember-notes' function.
4401 (remember-notes-save-and-bury-buffer): New command.
4402 (remember-notes-mode-map): New variable.
4403 (remember-mode): New minor mode.
4404 (remember-notes--kill-buffer-query): New function.
4405 * startup.el (initial-buffer-choice): Add notes to custom type.
4406
4407 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4408
4409 * bindings.el (right-char, left-char): Don't call sit-for, this is
4410 no longer needed. Use arithmetic comparison only for numerical
4411 arguments.
4412
4413 * international/mule-cmds.el (select-safe-coding-system):
4414 Handle the case of FROM being a string correctly. (Bug#14755)
4415
4416 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4417
4418 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4419 progression on degenerate tables.
4420 (shr-rescale-image): ImageMagick animated images currently don't work.
4421
4422 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4423
4424 Some fixes and improvements for desktop frame restoration.
4425 It is still experimental and disabled by default.
4426 * desktop.el (desktop--save-windows): Put the selected frame at
4427 the head of the list.
4428 (desktop--make-full-frame): New function.
4429 (desktop--restore-windows): Try to re-select the frame that was
4430 selected upon saving. Do not abort if some frames fail to restore,
4431 just show an error message and continue. Set up maximized frames
4432 so they have default non-maximized dimensions.
4433
4434 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4435
4436 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4437 Don't start heredoc inside a string or comment.
4438
4439 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4440
4441 * bindings.el (visual-order-cursor-movement): New defcustom.
4442 (right-char, left-char): Provide visual-order cursor motion by
4443 calling move-point-visually. Update the doc strings.
4444
4445 2013-06-28 Kenichi Handa <handa@gnu.org>
4446
4447 * international/mule.el (define-coding-system): New coding system
4448 properties :inhibit-null-byte-detection,
4449 :inhibit-iso-escape-detection, and :prefer-utf-8.
4450 (set-buffer-file-coding-system): If :charset-list property of
4451 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4452 appropriate for setting.
4453
4454 * international/mule-cmds.el (select-safe-coding-system):
4455 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4456 multibyte characters, return utf-8 (or one of its siblings).
4457
4458 * international/mule-conf.el (prefer-utf-8): New coding system.
4459 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4460 files.
4461
4462 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4463
4464 * net/shr.el (shr-render-region): New function.
4465
4466 * net/eww.el: Autoload `eww-browse-url'.
4467
4468 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4469
4470 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4471 Adapt to `package-desc-version' being a list.
4472 Use `package--ac-desc-version' to retrieve version from a package
4473 archive element.
4474
4475 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4476
4477 New experimental feature to save&restore window and frame setup.
4478 * desktop.el (desktop-save-windows): New defcustom.
4479 (desktop--saved-states): New var.
4480 (desktop--excluded-frame-parameters): New defconst.
4481 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4482 (desktop--restore-windows, desktop--save-windows): New functions.
4483 (desktop-save): Call `desktop--save-windows'.
4484 (desktop-read): Call `desktop--restore-windows'.
4485
4486 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4487
4488 * net/shr.el (add-face-text-property): Remove compat definition.
4489
4490 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4491
4492 * info.el (Info-try-follow-nearest-node): Move search for footnote
4493 above search for node name to prevent missing a footnote (bug#14717).
4494
4495 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4496
4497 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4498
4499 2013-06-27 Leo Liu <sdl.web@gmail.com>
4500
4501 * net/eww.el (eww-read-bookmarks): Check file size.
4502
4503 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4506 advice--pending if newdef is nil or an autoload (bug#13820).
4507 (advice-mapc): New function.
4508
4509 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4510
4511 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4512 probably.
4513 (eww-mode-map): Add a menu bar.
4514 (eww-add-bookmark): New command.
4515 (eww-bookmark-mode): New mode and commands.
4516 (eww-add-bookmark): Remove newlines from the title.
4517 (eww-bookmark-browse): Don't bug out if it's the only window.
4518
4519 2013-06-26 Glenn Morris <rgm@gnu.org>
4520
4521 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4522 (hfy-size): Handle ttys. (Bug#14668)
4523
4524 * info-xref.el: Update for Texinfo 5 change in *note format.
4525 (info-xref-node-re, info-xref-note-re): New constants.
4526 (info-xref-check-buffer): Use info-xref-note-re.
4527
4528 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4531
4532 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4533 nil terminate the loop (bug#14718).
4534
4535 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4536
4537 * net/eww.el: Rework history traversal. When going forward/back,
4538 put these actions into the history, too, so that they can be
4539 replayed.
4540 (eww-render): Move the history reset to the correct buffer.
4541
4542 2013-06-25 Juri Linkov <juri@jurta.org>
4543
4544 * files-x.el (modify-dir-local-variable): Change the header comment
4545 in the file with directory local variables. (Bug#14692)
4546
4547 * files-x.el (read-file-local-variable-value): Add `default'.
4548 (Bug#14710)
4549
4550 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4551
4552 * net/eww.el (eww-make-unique-file-name): Create a unique file
4553 name before saving to entering `y' accidentally asynchronously.
4554
4555 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4556
4557 * net/eww.el (eww-download): New command and keystroke.
4558
4559 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4560
4561 * net/eww.el (eww-copy-page-url): Change name of command.
4562
4563 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4564 be more consistent with Info and dired.
4565
4566 * net/eww.el (eww-mode-map): Ditto.
4567
4568 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4571 packages from archives.
4572 (package-archive-contents): Change format; include obsolete packages.
4573 (package-desc): Use `dir' to mark builtin packages.
4574 (package--from-builtin): Set the `dir' field to `builtin'.
4575 (generated-autoload-file, version-control): Declare.
4576 (package-compute-transaction): Change first arg and return value to be
4577 lists of package-descs. Adjust to new package-archive-contents format.
4578 (package--add-to-archive-contents): Adjust to new
4579 package-archive-contents format.
4580 (package-download-transaction): Arg is now a list of package-descs.
4581 (package-install): If `pkg' is a package name, pass it as
4582 a requirement, so it is subject to the usual (e.g. disabled) checks.
4583 (describe-package): Accept package-desc as well.
4584 (describe-package-1): Describe a specific package-desc. Add links to
4585 other package-descs for the same package name.
4586 (package-menu-describe-package): Pass the actual package-desc.
4587 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4588 works correctly.
4589 (package-desc-status): New function.
4590 (package-menu--refresh): New function, extracted
4591 from package-menu--generate.
4592 (package-menu--generate): Use it.
4593 (package-delete): Update package-alist.
4594 (package-menu-execute): Don't call package-initialize.
4595
4596 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4597 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4598 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4599 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4600 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4601 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4602
4603 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4604
4605 * window.el (window--state-get-1): Workaround for bug#14527.
4606 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4607
4608 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4609
4610 * net/eww.el (eww-back-url): Implement the history by stashing all
4611 the data into a list.
4612 (eww-forward-url): Allow going forward in the history, too.
4613
4614 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4617 for values and use read--expression for expressions (bug#14710).
4618 (read-file-local-variable): Avoid setq.
4619 (read-file-local-variable-mode): Use minor-mode-list.
4620
4621 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4622
4623 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4624 for DOI URLs.
4625
4626 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4627
4628 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4629 Update imenu-support when dialect changes.
4630
4631 2013-06-25 Leo Liu <sdl.web@gmail.com>
4632
4633 * ido.el (ido-read-internal): Allow forward slash on windows.
4634
4635 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4636
4637 * net/eww.el (eww): Start of strings is \\`, not ^.
4638
4639 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4640
4641 * net/shr.el (shr-browse-url): Fix interactive spec.
4642
4643 * net/eww.el (eww): Add a trailing slash to domain names.
4644
4645 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4648
4649 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650
4651 * net/shr.el (shr-browse-url): Use an external browser if given a
4652 prefix.
4653
4654 * net/eww.el (eww-external-browser): Move to shr.
4655
4656 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4657
4658 * net/eww.el (eww): Work more correctly for file: URLs.
4659 (eww-detect-charset): Allow quoted charsets.
4660 (eww-yank-page-url): New command and keystroke.
4661
4662 2013-06-24 Daiki Ueno <ueno@gnu.org>
4663
4664 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4665 file name of gpg executable.
4666 (epg-context-program): New function.
4667 (epg-context-home-directory): New function.
4668 (epg-context-set-program): New function.
4669 (epg-context-set-home-directory): New function.
4670 (epg--start): Use `epg-context-program' instead of
4671 'epg-gpg-program'.
4672 (epg--list-keys-1): Likewise.
4673
4674 2013-06-24 Leo Liu <sdl.web@gmail.com>
4675
4676 * ido.el (ido-read-internal): Fix bug#14620.
4677
4678 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4679
4680 * faces.el (face-documentation): Simplify.
4681 (read-face-attribute, tty-find-type, x-resolve-font-name):
4682 Use `string-match-p'.
4683 (list-faces-display): Use `string-match-p'. Simplify.
4684 (face-spec-recalc): Check face to avoid face alias loops.
4685 (read-color): Use `string-match-p' and non-capturing parenthesis.
4686
4687 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4688
4689 * net/shr.el (shr-rescale-image): Use the new
4690 :max-width/:max-height functionality.
4691
4692 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4693
4694 * net/eww.el (eww-search-prefix): New variable.
4695 (eww): Use it.
4696 (eww-external-browser): New variable.
4697 (eww-mode-map): New keystroke.
4698 (eww-browse-with-external-browser): New command.
4699
4700 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4701
4702 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4703
4704 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4705 Don't skip aligning the next header field when padding is 0;
4706 otherwise, field width is not respected unless the title is as
4707 wide as the field.
4708
4709 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * emacs-lisp/package.el (package-el-version): Remove.
4712 (package-process-define-package): Fix inf-loop.
4713 (package-install): Allow symbols as arguments again.
4714
4715 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4716
4717 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4718 add some more keyword-like methods.
4719 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4720
4721 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * bs.el (bs-buffer-show-mark): Make defvar-local.
4724 (bs-mode): Use setq-local.
4725
4726 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4727 (emacs-lock--try-unlocking): Make defvar-local.
4728
4729 2013-06-22 Glenn Morris <rgm@gnu.org>
4730
4731 * play/cookie1.el (cookie-apropos): Minor simplification.
4732
4733 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4734
4735 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4736
4737 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4738 `regexp-opt', it breaks the build during dumping.
4739
4740 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4741
4742 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4743 Highlight keyword-like methods on Kernel and Module with
4744 font-lock-builtin-face.
4745 (auto-mode-alist): Consolidate different entries into one regexp
4746 and add more *file-s.
4747
4748 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4749
4750 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4751
4752 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4753 (diary-entry): Use it in the action of this button type instead of
4754 diary-goto-entry.
4755
4756 * calendar/todo-mode.el: New version.
4757 (todo-add-category): Append new category to end of file and give
4758 it the highest number, instead of putting it at the beginning and
4759 giving it 0. Incorporate noninteractive functionality.
4760 (todo-forward-category): Adapt to 1-based category numbering.
4761 Allow skipping over archived categories.
4762 (todo-backward-category): Derive from todo-forward-category.
4763 (todo-backward-item, todo-forward-item): Make noninteractive and
4764 delegate interactive part to new commands. Make sensitive to done items.
4765 (todo-categories): Make value an alist of category names and
4766 vectors of item counts.
4767 (todo-category-beg): Make a defconst.
4768 (todo-category-number): Use 1 instead of 0 as initial value.
4769 (todo-category-select): Make sensitive to overlays, optional item
4770 highlighting and done items.
4771 (todo-delete-item): Make sensitive to overlays and marked and done items.
4772 (todo-edit-item): Make sensitive to overlays and editing of
4773 date/time header optional. Add format checks.
4774 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4775 no-op if point is not on an item. Advertise using todo-edit-quit.
4776 (todo-edit-mode): Make sensitive to new format, font-locking, and
4777 multiple todo files.
4778 (todo-insert-item, todo-insert-item-here): Derive from
4779 todo-basic-insert-item and extend functionality.
4780 (todo-item-end, todo-item-start): Make sensitive to done items.
4781 (todo-item-string): Don't return text properties. Restore point.
4782 (todo-jump-to-category): Make sensitive to multiple todo files and
4783 todo archives. Use extended category completion.
4784 (todo-lower-item, todo-raise-item): Rename to *-priority and
4785 derive from todo-set-item-priority.
4786 (todo-mode): Derive from special-mode. Make sensitive to new
4787 format, font-locking and multiple todo files. Make read-only.
4788 (todo-mode-map): Don't suppress digit keys, so they can supply
4789 prefix arguments. Add many new key bindings.
4790 (todo-prefix): Insert as an overlay instead of file text.
4791 Change semantics from diary date expression to purely visual mark.
4792 (todo-print): Rename to todo-print-buffer. Make buffer display
4793 features printable. Remove option to restrict number of items
4794 printed. Add option to print to file.
4795 (todo-print-function): Rename to todo-print-buffer-function.
4796 (todo-quit): Extend to handle exiting new todo modes.
4797 (todo-remove-item): Make sensitive to overlays.
4798 (todo-save): Extend to buffers of filtered items.
4799 (todo-show): Make sensitive to done items, multiple todo files and
4800 new todo modes. Offer to convert legacy todo file before creating
4801 first new todo file.
4802 (todo-show-priorities): Rename to todo-top-priorities.
4803 Change semantics of value 0.
4804 (todo-top-priorities): Rename to todo-filter-top-priorities,
4805 derive from todo-filter-items and extend functionality.
4806 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4807 and extend functionality to other types of filtered items.
4808 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4809 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4810 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4811 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4812 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4813 (todo-edit-mode-hook, todo-entry-prefix-function)
4814 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4815 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4816 (todo-initials, todo-insert-threshold, todo-item-string-start)
4817 (todo-line-string, todo-menu, todo-mode-hook)
4818 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4819 (todo-print-priorities, todo-remove-separator)
4820 (todo-save-top-priorities-too, todo-string-count-lines)
4821 (todo-string-multiline-p, todo-time-string-format)
4822 (todo-tmp-buffer-name): Remove.
4823 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4824 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4825 (todo-edit-category-diary-inclusion)
4826 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4827 (todo-edit-file, todo-edit-item-date-day)
4828 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4829 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4830 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4831 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4832 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4833 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4834 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4835 (todo-filter-top-priorities-multifile, todo-find-archive)
4836 (todo-find-filtered-items-file, todo-go-to-source-item)
4837 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4838 (todo-jump-to-archive-category, todo-lower-category)
4839 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4840 (todo-move-category, todo-move-item, todo-next-button)
4841 (todo-next-item, todo-padded-string, todo-powerset)
4842 (todo-previous-button, todo-previous-item)
4843 (todo-print-buffer-to-file, todo-raise-category)
4844 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4845 (todo-set-category-number, todo-set-item-priority)
4846 (todo-set-top-priorities-in-category)
4847 (todo-set-top-priorities-in-file, todo-show-categories-table)
4848 (todo-sort-categories-alphabetically-or-numerically)
4849 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4850 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4851 (todo-toggle-item-header, todo-toggle-item-highlighting)
4852 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4853 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4854 (todo-unarchive-items, todo-unmark-category): New commands.
4855 (todo-absolute-file-name, todo-add-to-buffer-list)
4856 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4857 (todo-basic-insert-item, todo-category-completions)
4858 (todo-category-number, todo-category-string-matcher-1)
4859 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4860 (todo-check-format, todo-clear-matches)
4861 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4862 (todo-current-category, todo-date-string-matcher)
4863 (todo-define-insertion-command, todo-diary-expired-matcher)
4864 (todo-diary-goto-entry, todo-diary-item-p)
4865 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4866 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4867 (todo-done-item-section-p, todo-done-separator)
4868 (todo-done-string-matcher, todo-files, todo-filter-items)
4869 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4870 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4871 (todo-insert-category-line, todo-insert-item-from-calendar)
4872 (todo-insert-sort-button, todo-insert-with-overlays)
4873 (todo-insertion-command-name, todo-insertion-key-bindings)
4874 (todo-label-to-key, todo-longest-category-name-length)
4875 (todo-make-categories-list, todo-mode-external-set)
4876 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4877 (todo-modes-set-3, todo-multiple-filter-files)
4878 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4879 (todo-read-category, todo-read-date, todo-read-dayname)
4880 (todo-read-file-name, todo-read-time)
4881 (todo-reevaluate-category-completions-files-defcustom)
4882 (todo-reevaluate-default-file-defcustom)
4883 (todo-reevaluate-filelist-defcustoms)
4884 (todo-reevaluate-filter-files-defcustom)
4885 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4886 (todo-reset-done-separator, todo-reset-done-separator-string)
4887 (todo-reset-done-string, todo-reset-global-current-todo-file)
4888 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4889 (todo-reset-prefix, todo-set-categories)
4890 (todo-set-date-from-calendar, todo-set-show-current-file)
4891 (todo-set-top-priorities, todo-short-file-name)
4892 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4893 (todo-total-item-counts, todo-update-buffer-list)
4894 (todo-update-categories-display, todo-update-categories-sexp)
4895 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4896 New functions.
4897 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4898 New major modes.
4899 (todo-categories, todo-display, todo-edit, todo-faces)
4900 (todo-filtered): New defgroups.
4901 (todo-archived-only, todo-button, todo-category-string, todo-date)
4902 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4903 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4904 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4905 (todo-add-item-if-new-category, todo-always-add-time-string)
4906 (todo-categories-align, todo-categories-archived-label)
4907 (todo-categories-category-label, todo-categories-diary-label)
4908 (todo-categories-done-label, todo-categories-number-separator)
4909 (todo-categories-todo-label, todo-categories-totals-label)
4910 (todo-category-completions-files, todo-completion-ignore-case)
4911 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4912 (todo-done-separator-string, todo-done-string)
4913 (todo-files-function, todo-filter-done-items, todo-filter-files)
4914 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4915 (todo-initial-category, todo-initial-file, todo-item-mark)
4916 (todo-legacy-date-time-regexp, todo-mode-line-function)
4917 (todo-nondiary-marker, todo-number-prefix)
4918 (todo-print-buffer-function, todo-show-current-file)
4919 (todo-show-done-only, todo-show-first, todo-show-with-done)
4920 (todo-skip-archived-categories, todo-top-priorities-overrides)
4921 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4922 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4923 New defcustoms.
4924 (todo-category-done, todo-date-pattern, todo-date-string-start)
4925 (todo-diary-items-buffer, todo-done-string-start)
4926 (todo-filtered-items-buffer, todo-item-start)
4927 (todo-month-abbrev-array, todo-month-name-array)
4928 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4929 (todo-top-priorities-buffer): New defconsts.
4930 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4931 (todo-categories-with-marks, todo-category-string-face)
4932 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4933 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4934 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4935 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4936 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4937 (todo-font-lock-keywords, todo-global-current-todo-file)
4938 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4939 (todo-insertion-commands-args)
4940 (todo-insertion-commands-args-genlist)
4941 (todo-insertion-commands-names, todo-insertion-map)
4942 (todo-key-bindings-t, todo-key-bindings-t+a)
4943 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4944 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4945 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4946 (todo-visited): New variables.
4947
4948 2013-06-21 Glenn Morris <rgm@gnu.org>
4949
4950 * play/cookie1.el (cookie-apropos): Add optional display argument.
4951 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4952 (psychoanalyze-pinhead): Use cookie-doctor.
4953
4954 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4955
4956 * emacs-lisp/package.el (tar-get-file-descriptor)
4957 (tar--extract): Declare.
4958
4959 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4960
4961 Extend flymake's warning predicate to be a function (bug#14217).
4962 * progmodes/flymake.el (flymake-warning-predicate): New.
4963 (flymake-parse-line): Use it.
4964 (flymake-warning-re): Make obsolete alias to
4965 `flymake-warning-predicate'.
4966
4967 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4970 (package-obsolete-list): Remove.
4971 (package-activate): Remove min-version argument. Add `force' argument.
4972 Adjust to new package-alist format.
4973 (package-mark-obsolete): Remove.
4974 (package-unpack): Force reload of the package's autoloads.
4975 (package-installed-p): Check builtins if the installed package is not
4976 recent enough.
4977 (package-initialize): Don't reset package-obsolete-list.
4978 Don't specify which package version to activate.
4979 (package-process-define-package, describe-package-1)
4980 (package-menu--generate): Adjust to new package-alist format.
4981
4982 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4983
4984 * allout-widgets.el (allout-widgets-mode-off)
4985 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4986 (allout-widgets-post-command-business)
4987 (allout-widgets-after-copy-or-kill-function)
4988 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4989 (allout-decorate-item-and-context)
4990 (allout-graphics-modification-handler): Fix typos in docstrings.
4991 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4992
4993 * cmuscheme.el (scheme-start-file): Doc fix.
4994 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4995 (scheme-input-filter): Use `string-match-p'.
4996
4997 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4998
4999 * dired-x.el: Use Dired consistently in docstrings.
5000
5001 * dired.el: Use Dired consistently in docstrings.
5002 (dired-readin, dired-mode): Use `setq-local'.
5003 (dired-switches-alist): Make defvar-local.
5004 (dired-buffers-for-dir): Use `zerop'.
5005 (dired-safe-switches-p, dired-switches-escape-p)
5006 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5007 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5008 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5009 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5010 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5011 (dired-toggle-marks, dired-mark-files-containing-regexp)
5012 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5013 (dired-flag-auto-save-files, dired-flag-backup-files):
5014 Use `looking-at-p'.
5015 (dired-mark-files-regexp, dired-build-subdir-alist):
5016 Use `string-match-p', `looking-at-p'.
5017
5018 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5019 (direct-print-region-helper): Use `string-match-p'.
5020
5021 2013-06-21 Leo Liu <sdl.web@gmail.com>
5022
5023 * comint.el (comint-redirect-results-list-from-process):
5024 Fix infinite loop.
5025
5026 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5027
5028 * net/eww.el (eww-update-header-line-format): Quote % characters.
5029
5030 2013-06-21 Glenn Morris <rgm@gnu.org>
5031
5032 * play/cookie1.el (cookie): New custom group.
5033 (cookie-file): New option.
5034 (cookie-check-file): New function.
5035 (cookie): Make it interactive. Make start and end messages optional.
5036 Interactively, display the result. Default to cookie-file.
5037 (cookie-insert): Default to cookie-file.
5038 (cookie-snarf): Make start and end messages optional.
5039 Default to cookie-file. Use with-temp-buffer.
5040 (cookie-read): Rename from read-cookie.
5041 Make start and end messages optional. Default to cookie-file.
5042 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5043 Do not autoload it.
5044 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5045 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5046
5047 2013-06-21 Leo Liu <sdl.web@gmail.com>
5048
5049 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5050
5051 2013-06-21 Glenn Morris <rgm@gnu.org>
5052
5053 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5054
5055 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5056 Daniel Hackney <dan@haxney.org>
5057
5058 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5059 Consolidate the single-file vs tarball code.
5060 (package-desc-suffix): New function.
5061 (package-desc-full-name): Don't bother inlining it.
5062 (package-load-descriptor): Return the new package-desc.
5063 (package-mark-obsolete): Remove unused arg `package'.
5064 (package-unpack): Make it work for single files as well.
5065 Make it update package-alist.
5066 (package--make-autoloads-and-stuff): Rename from
5067 package--make-autoloads-and-compile. Don't compile any more.
5068 (package--compile): New function.
5069 (package-generate-description-file): New function, extracted from
5070 package-unpack-single.
5071 (package-unpack-single): Remove.
5072 (package--with-work-buffer): Add indentation and debugging info.
5073 (package-download-single): Remove.
5074 (package-install-from-archive): Rename from package-download-tar, make
5075 it take a pkg-desc, and make it work for single files as well.
5076 (package-download-transaction): Simplify.
5077 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5078 external tar program.
5079 (package-install-from-buffer): Remove `pkg-desc' argument.
5080 Use package-tar-file-info for tar-mode buffers.
5081 (package-install-file): Simplify accordingly.
5082 (package-archive-base): Change to take a pkg-desc.
5083 * tar-mode.el (tar--check-descriptor): New function, extracted from
5084 tar-get-descriptor.
5085 (tar-get-descriptor): Use it.
5086 (tar-get-file-descriptor): New function.
5087 (tar--extract): New function, extracted from tar-extract.
5088 (tar--extract): Use it.
5089 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5090 case the summary uses non-ascii. Adjust to new calling convention of
5091 package-tar-file-info.
5092
5093 2013-06-21 Leo Liu <sdl.web@gmail.com>
5094
5095 * comint.el (comint-redirect-results-list-from-process):
5096 Fix random delay. (Bug#14681)
5097
5098 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5099
5100 * profiler.el (profiler-format-number): Use log, not log10.
5101
5102 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5105
5106 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5109 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5110 yet available.
5111 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5112 (AUTOGENEL): ... here.
5113 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5114 (cl--defsubst-expand): Use it.
5115
5116 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5117
5118 * subr.el (log10): Move here from C code, and declare as obsolete.
5119 All uses of (log10 X) replaced with (log X 10).
5120
5121 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5122
5123 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5124 Declare with `defvar-local'.
5125 (tabulated-list-use-header-line, tabulated-list-entries)
5126 (tabulated-list-padding, tabulated-list-printer)
5127 (tabulated-list-sort-key): Declare with `defvar-local'.
5128 (tabulated-list-init-header, tabulated-list-print-fake-header):
5129 Use `setq-local'.
5130
5131 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5132
5133 * arc-mode.el (archive-mode): Add `archive-write-file' to
5134 `write-contents-functions' also for remote files. (Bug#14652)
5135
5136 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5137
5138 * cus-edit.el (custom-commands): Fix typos.
5139 (custom-display): Fix tooltip text.
5140 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5141 Fix typos in docstrings.
5142 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5143 (custom-unlispify-menu-entry, custom-magic-value-create)
5144 (custom-add-see-also, custom-group-value-create): Use ?\s.
5145 (custom-guess-type, customize-apropos, editable-field)
5146 (custom-face-value-create): Use `string-match-p'.
5147 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5148
5149 * custom.el (custom-load-symbol): Use `string-match-p'.
5150
5151 * ansi-color.el: Convert to lexical binding.
5152 (ansi-colors): Fix URL.
5153 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5154 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5155 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5156
5157 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5158
5159 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5160
5161 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5162
5163 2013-06-19 Tom Tromey <tromey@redhat.com>
5164
5165 * net/eww.el (eww-top-url): Remove.
5166 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5167 (eww-render): Set new variables. Don't set eww-top-url.
5168 (eww-handle-link): Handle "prev", "home", and "contents".
5169 Downcase the rel text.
5170 (eww-top-url): Choose best top URL.
5171
5172 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173
5174 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5175 relying in widget.el. Using widget.el leads to too many
5176 user interface inconsistencies.
5177 (eww-self-insert): Implement entering commands in text fields.
5178 (eww-process-text-input): New function to make text input field editing
5179 work.
5180 (eww-submit): Rewrite to use the new-style form methods.
5181 (eww-select-display): Display the correct selected item.
5182 (eww-change-select): Implement changing the select value.
5183 (eww-toggle-checkbox): Implement radio/checkboxes.
5184 (eww-update-field): Fix compilation error.
5185 (eww-tag-textarea): Implement <textarea>.
5186
5187 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5188 we don't shadow mode-specific bindings.
5189
5190 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5191 nothing to push.
5192
5193 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5194
5195 2013-06-19 Glenn Morris <rgm@gnu.org>
5196
5197 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5198
5199 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5200
5201 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5202 not needed.
5203
5204 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5205
5206 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5207
5208 * net/browse-url.el (browse-url-browser-function):
5209 `eww-browse-url' has the right calling signature, `eww' does not.
5210
5211 2013-06-19 Glenn Morris <rgm@gnu.org>
5212
5213 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5214 Only eval autoloaded macros.
5215 (byte-compile-autoload): Only give the macro warning for macros.
5216
5217 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5218 (ps-underlined-faces): Declare.
5219
5220 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5221 (speedbar-add-supported-extension): Declare.
5222
5223 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5224 Don't include a date stamp in the header of the generated file;
5225 it leads to needless differences between output files.
5226
5227 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * net/secrets.el (secrets-struct-secret-content-type):
5230 Replace check of introspection data by a test call of "CreateItem".
5231 Some servers do not offer introspection.
5232
5233 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * electric.el (electric-pair-mode): Improve interaction with
5236 electric-layout-mode.
5237 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5238 (electric-pair-syntax): Use text-mode-syntax-table in comments
5239 and strings.
5240 (electric-pair--insert): New function.
5241 (electric-pair-post-self-insert-function): Use it and
5242 electric--after-char-pos.
5243
5244 2013-06-19 Leo Liu <sdl.web@gmail.com>
5245
5246 * progmodes/octave.el (octave-help): Fix regexp.
5247
5248 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5249
5250 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5251 (shr-table-horizontal-line): Allow nil as a value, and change the
5252 default.
5253 (shr-insert-table-ruler): Respect the nil value.
5254
5255 2013-06-18 Tom Tromey <tromey@barimba>
5256
5257 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5258 New defvars.
5259 (eww-open-file): New defun.
5260 (eww-render): Initialize new variables.
5261 (eww-display-html): Handle "link" and "a".
5262 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5263 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5264 (eww-back-url): Rename from eww-previous-url.
5265 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5266 New defuns.
5267
5268 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5269
5270 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5271 Distinguish ternary operator tokens from slash symbol and slash
5272 char literal.
5273
5274 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5275
5276 Convert symbol prettification into minor mode and global minor mode.
5277
5278 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5279 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5280 (prettify-symbols--keywords): Rename from
5281 `prog-prettify-symbols-alist' and make a local defvar.
5282 (prettify-symbols--compose-symbol): Rename from
5283 `prog--prettify-font-lock-compose-symbol'.
5284 (prettify-symbols--make-keywords): Rename from
5285 `prog-prettify-font-lock-symbols-keywords' and simplify.
5286 (prog-prettify-install): Remove.
5287 (prettify-symbols-mode): New minor mode, based on
5288 `prog-prettify-install'.
5289 (turn-on-prettify-symbols-mode): New function.
5290 (global-prettify-symbols-mode): New globalized minor mode.
5291
5292 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5293 * progmodes/cfengine.el (cfengine3-mode):
5294 * progmodes/perl-mode.el (perl-mode): Don't call
5295 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5296
5297 2013-06-18 Juri Linkov <juri@jurta.org>
5298
5299 * files-x.el (modify-file-local-variable-message): New function.
5300 (modify-file-local-variable)
5301 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5302 and call `modify-file-local-variable-message' when it's non-nil.
5303 (add-file-local-variable, delete-file-local-variable)
5304 (add-file-local-variable-prop-line)
5305 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5306 and use it. (Bug#9820)
5307
5308 2013-06-18 Juri Linkov <juri@jurta.org>
5309
5310 * emulation/vi.el (vi-shell-op):
5311 * emulation/vip.el (vip-execute-com, ex-command):
5312 * emulation/viper-cmd.el (viper-exec-bang):
5313 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5314 the call of `shell-command-on-region'. (Bug#14637)
5315
5316 * simple.el (shell-command-on-region): Doc fix.
5317
5318 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5321 (bug#14633).
5322
5323 2013-06-18 Glenn Morris <rgm@gnu.org>
5324
5325 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5326
5327 * newcomment.el (comment-search-forward, comment-search-backward):
5328 Doc fix. (Bug#14376)
5329
5330 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5331
5332 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5333 (buffer-face-mode-invoke): Doc fix.
5334
5335 2013-06-18 Matthias Meulien <orontee@gmail.com>
5336
5337 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5338 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5339
5340 2013-06-18 Glenn Morris <rgm@gnu.org>
5341
5342 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5343 Replace obsolete function generic-make-keywords with its expansion.
5344
5345 * progmodes/python.el (ffap-alist): Declare.
5346
5347 * textmodes/reftex.el (bibtex-mode-map): Declare.
5348
5349 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5352 (package-unpack, package-unpack-single): Return the pkg-dir.
5353 (package-download-transaction): Use it to update package-alist.
5354
5355 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5356
5357 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5358 possible choice.
5359
5360 2013-06-17 Juri Linkov <juri@jurta.org>
5361
5362 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5363
5364 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5365
5366 * emacs-lisp/package.el (package-load-descriptor):
5367 Remove `with-syntax-table' call, `read' doesn't need it.
5368 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5369
5370 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5371
5372 * startup.el (command-line): Expand package name returned by
5373 `package--description-file' (bug#14639).
5374
5375 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5376
5377 * emacs-lisp/package.el (package-load-descriptor): Do not call
5378 `emacs-lisp-mode', just use its syntax table.
5379
5380 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5383 `font-lock-extra-managed-props' if any prettifying keyword is added.
5384 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5385 (prog-mode): Use `setq-local'.
5386
5387 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * international/characters.el (standard-case-table): Set syntax of ?»
5390 and ?« to punctuation.
5391
5392 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5393
5394 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5395 Save relevant match data before calling `syntax-ppss' (bug#14595).
5396
5397 2013-06-15 Juri Linkov <juri@jurta.org>
5398
5399 * files-x.el (modify-file-local-variable-prop-line): Add local
5400 variables to the end of the existing comment on the first line.
5401 Use `file-auto-mode-skip' to skip interpreter magic line,
5402 and also skip XML declaration.
5403
5404 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * startup.el (package--builtin-versions): New var.
5407 (package-subdirectory-regexp): Remove.
5408 (package--description-file): Hard code its value instead.
5409
5410 * emacs-lisp/package.el: Don't activate packages older than builtin.
5411 (package-obsolete-list): Rename from package-obsolete-alist, and make
5412 it into a simple list of package-desc.
5413 (package-strip-version): Remove.
5414 (package-built-in-p): Use package--builtin-versions.
5415 (package-mark-obsolete): Simplify.
5416 (package-process-define-package): Mark it obsolete if older than the
5417 builtin version.
5418 (package-handle-response): Use line-end-position.
5419 (package-read-archive-contents, package--download-one-archive):
5420 Simplify.
5421 (package--add-to-archive-contents): Skip if older than the builtin or
5422 installed version.
5423 (package-menu-describe-package): Fix last change.
5424 (package-list-unversioned): New var.
5425 (package-menu--generate): Use it.
5426
5427 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5428 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5429 (autoload-builtin-package-versions): New variable.
5430 (autoload-generate-file-autoloads): Use them.
5431 Remove the list of autoloaded functions/macros from the
5432 (autoload...) comments.
5433
5434 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5435
5436 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5437
5438 * simple.el (line-move-partial): Don't jump to the next screen
5439 line as soon as it becomes visible. Instead, continue enlarging
5440 the vscroll until the portion of a tall screen line that's left on
5441 display is about the height of the frame's default font.
5442 (Bug#14567)
5443
5444 2013-06-15 Glenn Morris <rgm@gnu.org>
5445
5446 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5447 compilation-error-regexp-alist void, or local while let-bound.
5448
5449 * progmodes/make-mode.el (makefile-mode-syntax-table):
5450 Treat "=" as punctuation. (Bug#14614)
5451
5452 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5453
5454 * help-fns.el (describe-variable):
5455 Add extra line for permanent-local variables.
5456
5457 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5458
5459 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5460 Add export, import, library. (Bug#9164)
5461 (library): Set indent function.
5462
5463 2013-06-14 Glenn Morris <rgm@gnu.org>
5464
5465 * term/xterm.el (xterm--query):
5466 Stop after first matching handler. (Bug#14615)
5467
5468 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5469
5470 Add support for dired in saveplace.
5471 * dired.el (dired-initial-position-hook): New variable.
5472 (dired-initial-position): Call hook to place cursor position.
5473 * saveplace.el (save-place-to-alist): Add dired position.
5474 (save-place-dired-hook): New function.
5475
5476 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5479 through a symbol rather than letrec.
5480
5481 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5482 (package-desc): Add `dir' field.
5483 (package-desc-full-name): New function.
5484 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5485 (package-maybe-load-descriptor): Remove.
5486 (package-load-all-descriptors): Just call package-load-descriptor.
5487 (package--disabled-p): New function.
5488 (package-desc-vers, package-desc-doc): Remove aliases.
5489 (package--dir): Remove function.
5490 (package-activate): Check if a package is disabled.
5491 (package-process-define-package): New function, extracted from
5492 define-package.
5493 (define-package): Turn into a place holder.
5494 (package-unpack-single, package-tar-file-info):
5495 Use package--description-file.
5496 (package-compute-transaction): Use package--disabled-p.
5497 (package-download-transaction): Don't call
5498 package-maybe-load-descriptor since they're all loaded anyway.
5499 (package-install): Change argument to be a pkg-desc.
5500 (package-delete): Use a single pkg-desc argument.
5501 (describe-package-1): Use package-desc-dir instead of package--dir.
5502 Use package-desc property instead of package-symbol.
5503 (package-install-button-action): Adjust accordingly.
5504 (package--push): Rewrite.
5505 (package-menu--print-info): Adjust accordingly. Change the ID format
5506 to be a pkg-desc.
5507 (package-menu-describe-package, package-menu-get-status)
5508 (package-menu--find-upgrades, package-menu-mark-upgrades)
5509 (package-menu-execute, package-menu--name-predicate):
5510 Adjust accordingly.
5511 * startup.el (package--description-file): New function.
5512 (command-line): Use it.
5513 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5514 Use package-desc-version.
5515
5516 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5517 (byte-compile-preprocess): Use it.
5518 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5519 can't quite recognize.
5520 (byte-compile-add-to-list): Remove.
5521 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5522 (cconv-closure-convert): Add assertion.
5523
5524 * emacs-lisp/map-ynp.el: Use lexical-binding.
5525 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5526 Factor out some repeated code.
5527
5528 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * subr.el (with-eval-after-load): New macro.
5531 (eval-after-load): Allow form to be a function.
5532 take advantage of lexical-binding.
5533 (do-after-load-evaluation): Use dolist and adjust to new format.
5534 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5535
5536 2013-06-13 Juri Linkov <juri@jurta.org>
5537
5538 * replace.el (perform-replace): Display "symbol " and other search
5539 modes from `isearch-message-prefix' in the *Help* buffer.
5540
5541 * isearch.el (isearch-query-replace): Add " symbol" and other
5542 possible search modes from `isearch-message-prefix' to the prompt.
5543 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5544 when reading a regexp to collect.
5545
5546 2013-06-13 Juri Linkov <juri@jurta.org>
5547
5548 * isearch.el (word-search-regexp): Match whitespace if the search
5549 string begins or ends in whitespace. The LAX arg is applied to
5550 both ends of the search string. Use `regexp-quote' and explicit
5551 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5552 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5553 boundaries are replaced with symbol boundaries, and characters
5554 between symbols match non-word non-symbol syntax. (Bug#14602)
5555
5556 2013-06-13 Juri Linkov <juri@jurta.org>
5557
5558 * isearch.el (isearch-del-char): Don't exceed the length of
5559 `isearch-string' by the prefix arg. (Bug#14563)
5560
5561 2013-06-13 Juri Linkov <juri@jurta.org>
5562
5563 * isearch.el (isearch-yank-word, isearch-yank-line)
5564 (isearch-char-by-name, isearch-quote-char)
5565 (isearch-printing-char, isearch-process-search-char):
5566 Add optional count prefix arg. (Bug#14563)
5567
5568 * international/isearch-x.el
5569 (isearch-process-search-multibyte-characters):
5570 Add optional count prefix arg.
5571
5572 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5575 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5576 lexical-binding.
5577
5578 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5579
5580 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5581
5582 2013-06-13 Glenn Morris <rgm@gnu.org>
5583
5584 * startup.el (tty-handle-args):
5585 Don't just discard "--" and anything after. (Bug#14608)
5586
5587 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5588
5589 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5590
5591 Implement changes in Secret Service API. Make it backward compatible.
5592 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5593 (secrets-create-item): Use it. Prefix properties with interface.
5594
5595 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5596
5597 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5598 (term-emulate-terminal): Respect term-suppress-hard-newline.
5599
5600 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5601
5602 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5603 Only remove a `thumb-file' overlay. (Bug#14548)
5604
5605 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5606
5607 * mail/reporter.el (reporter-submit-bug-report):
5608 Handle missing package-name. (Bug#14600)
5609
5610 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5611
5612 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5613 (reftex-citation-prompt, reftex-default-bibliography)
5614 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5615 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5616 (reftex-bib-sort-author, reftex-bib-sort-year)
5617 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5618 (reftex-extract-bib-entries-from-thebibliography)
5619 (reftex-get-bibkey-default, reftex-get-bib-names)
5620 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5621 (reftex-format-bib-entry, reftex-parse-bibitem)
5622 (reftex-format-bibitem, reftex-do-citation)
5623 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5624 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5625 (reftex-insert-bib-matches, reftex-format-citation)
5626 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5627 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5628 existing comments into docstrings.
5629
5630 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5631
5632 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5633
5634 2013-06-12 Andreas Schwab <schwab@suse.de>
5635
5636 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5637 for auto-save files.
5638
5639 2013-06-12 Glenn Morris <rgm@gnu.org>
5640
5641 * ido.el (ido-delete-ignored-files): Remove.
5642 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5643 Go back to calling ido-ignore-item-p directly.
5644
5645 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5646
5647 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5648
5649 * ido.el (ido-delete-ignored-files): New function,
5650 split from ido-make-file-list-1.
5651 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5652 (ido-make-file-list-1): Use ido-delete-ignored-files.
5653
5654 2013-06-12 Leo Liu <sdl.web@gmail.com>
5655
5656 * progmodes/octave.el (inferior-octave-startup)
5657 (inferior-octave-completion-table)
5658 (inferior-octave-track-window-width-change)
5659 (octave-eldoc-function-signatures, octave-help)
5660 (octave-find-definition): Use single quoted strings.
5661 (inferior-octave-startup-args): Change default value.
5662 (inferior-octave-startup): Do not hard code "-i" and
5663 "--no-line-editing".
5664 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5665 (inferior-octave-directory-tracker): Use it.
5666 (octave-goto-function-definition): Robustify.
5667 (octave-help): Support highlighting operators in 'See also'.
5668 (octave-find-definition): Find subfunctions only in Octave mode.
5669
5670 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * help-fns.el (help-fns--compiler-macro): If the handler function is
5673 named, then put a link to it.
5674 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5675 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5676 (cl-typep): Use it.
5677 (cl-eval-when): Simplify debug spec.
5678 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5679 compiler-macro function instead of setting `compiler-macro-file'.
5680
5681 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5682
5683 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5684 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5685
5686 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5687 Daniel Hackney <dan@haxney.org>
5688
5689 First part of Daniel Hackney's patch to package.el.
5690 * emacs-lisp/package.el: Use defstruct.
5691 (package-desc): New, main struct.
5692 (package--bi-desc, package--ac-desc): New structs, used to describe the
5693 format in external files.
5694 (package-desc-vers): Replace with package-desc-version accessor.
5695 (package-desc-doc): Replace with package-desc-summary accessor.
5696 (package-activate-1): Remove `package' arg since the pkg-vec now
5697 includes the name.
5698 (define-package): Use package-desc-from-define.
5699 (package-unpack-single): Change file-name arg to be a symbol.
5700 (package--add-to-archive-contents): Use package-desc-create and new
5701 accessor functions to package--ac-desc.
5702 (package-buffer-info, package-tar-file-info): Return a package-desc.
5703 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5704 arg to be a package-desc.
5705 (package-install-file): Adjust accordingly. Use \' to match EOS.
5706 (package--from-builtin): New function.
5707 (describe-package-1, package-menu--generate): Use it.
5708 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5709 (package-generate-autoloads): Idem and return the name of the file.
5710 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5711 Change pkg-info arg to be a package-desc.
5712 Use package-make-ac-desc.
5713 (package-upload-file): Use \' to match EOS.
5714 * finder.el (finder-compile-keywords): Use package-make-builtin.
5715
5716 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * vc/vc.el (vc-deduce-fileset): Change error message.
5719 (vc-read-backend): New function.
5720 (vc-next-action): Use it.
5721
5722 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5723
5724 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5725 (prolog-font-lock-keywords): Use regexp-opt instead.
5726 Don't manually highlight strings.
5727 (prolog-mode-variables): Simplify comment-start-skip.
5728 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5729
5730 * emacs-lisp/generic.el (generic--normalise-comments)
5731 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5732 (generic-mode-set-comments): Use them.
5733 (generic-bracket-support): Use setq-local.
5734 (generic-make-keywords-list): Declare obsolete.
5735
5736 2013-06-11 Glenn Morris <rgm@gnu.org>
5737
5738 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5739 Prettify after setting font-lock-defaults. (Bug#14574)
5740
5741 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5742
5743 * replace.el (query-replace, occur-read-regexp-defaults-function)
5744 (replace-search):
5745 * subr.el (declare-function, number-sequence, local-set-key)
5746 (substitute-key-definition, locate-user-emacs-file)
5747 (with-silent-modifications, split-string, eval-after-load):
5748 Fix typos, remove unneeded backslashes and reflow some docstrings.
5749
5750 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5753 default for Elisp files.
5754
5755 2013-06-11 Glenn Morris <rgm@gnu.org>
5756
5757 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5758 although define-derived-mode was doing this anyway. (Bug#14583)
5759
5760 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5761
5762 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5763 Fix make-variable-buffer-local call to refer to the correct variable.
5764
5765 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5766
5767 * eshell/em-term.el (eshell-visual-commands)
5768 (eshell-visual-subcommands, eshell-visual-options):
5769 Add summary line to docstrings. Add cross-references.
5770
5771 2013-06-10 Glenn Morris <rgm@gnu.org>
5772
5773 * epa.el (epa-read-file-name): New function. (Bug#14510)
5774 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5775
5776 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5777
5778 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5779 output redirection to be ignored with visual commands.
5780
5781 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5782
5783 * eshell/em-term.el (eshell-visual-command-p): New function.
5784 (eshell-term-initialize): Move long lambda to separate function
5785 eshell-visual-command-p.
5786 * eshell/em-dirs.el (eshell-dirs-initialise):
5787 * eshell/em-script.el (eshell-script-initialize):
5788 Add missing #' to lambda.
5789
5790 2013-06-08 Leo Liu <sdl.web@gmail.com>
5791
5792 * progmodes/octave.el (octave-add-log-current-defun): New function.
5793 (octave-mode): Set add-log-current-defun-function.
5794 (octave-goto-function-definition): Do not move point if not found.
5795 (octave-find-definition): Enhance to try subfunctions first.
5796
5797 2013-06-08 Glenn Morris <rgm@gnu.org>
5798
5799 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5800 (byte-compile-backward-char, byte-compile-backward-word):
5801 Improve previous change, to handle non-explicit nil.
5802
5803 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5806 (smie--opener/closer-at-point): New function.
5807 (smie--matching-block-data): Use it. Don't match from right after an
5808 opener or right before a closer. Obey smie-blink-matching-inners.
5809 Don't signal a mismatch for repeated inners like "switch..case..case".
5810
5811 2013-06-07 Leo Liu <sdl.web@gmail.com>
5812
5813 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5814 to t. (Bug#14303)
5815 (octave-function-header-regexp): Fix. (Bug#14570)
5816 (octave-help-mode-finish-hook, octave-help-mode-finish):
5817 Remove. Just use temp-buffer-show-hook.
5818
5819 * newcomment.el (comment-search-backward): Revert last change.
5820 (Bug#14434)
5821
5822 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5823
5824 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5825
5826 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5827 through xargs, to avoid failure due to MS-Windows limitations on
5828 command-line length.
5829
5830 2013-06-06 Glenn Morris <rgm@gnu.org>
5831
5832 * font-lock.el (lisp-font-lock-keywords-2):
5833 Treat user-error like error.
5834
5835 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5836 (byte-compile-backward-char, byte-compile-backward-word):
5837 Handle explicit nil arguments. (Bug#14565)
5838
5839 2013-06-05 Alan Mackenzie <acm@muc.de>
5840
5841 * isearch.el (isearch-allow-prefix): New user option.
5842 (isearch-other-meta-char): Don't exit isearch when a prefix
5843 argument is typed whilst `isearch-allow-prefix' is non-nil.
5844 (Bug#9706)
5845
5846 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * autorevert.el (auto-revert-notify-handler): Use memq.
5849 Hide assertion failure.
5850
5851 * skeleton.el: Use cl-lib.
5852 (skeleton-further-elements): Use defvar-local.
5853 (skeleton-insert): Use cl-progv.
5854
5855 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5856
5857 * progmodes/prog-mode.el (prog-prettify-symbols)
5858 (prog-prettify-install): Update docstrings.
5859
5860 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * simple.el: Move all the prog-mode code to prog-mode.el.
5863 * progmodes/prog-mode.el: New file.
5864 * loadup.el: Add prog-mode.el.
5865
5866 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5867
5868 * simple.el (prog-prettify-symbols): Add version.
5869 (prog-prettify-install): Add convenience function to prettify symbols.
5870
5871 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5872 (perl--augmented-font-lock-keywords-1)
5873 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5874 variables and use it.
5875
5876 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5877 (cfengine3-mode): Remove unneeded variable and use it.
5878
5879 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5880 (lisp--augmented-font-lock-keywords-1)
5881 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5882 Remove unneeded variables and use it.
5883
5884 2013-06-05 João Távora <joaotavora@gmail.com>
5885
5886 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5887 to point when opening the connection. (Bug#14380)
5888
5889 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * subr.el (load-history-regexp, load-history-filename-element)
5892 (eval-after-load, after-load-functions, do-after-load-evaluation)
5893 (eval-next-after-load, display-delayed-warnings)
5894 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5895 definition of save-match-data.
5896 (overriding-local-map): Remove accidental obsolescence declaration.
5897
5898 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5899
5900 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5901
5902 Generalize symbol prettify support to prog-mode and implement it
5903 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5904 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5905 (prog--prettify-font-lock-compose-symbol)
5906 (prog-prettify-font-lock-symbols-keywords): New variables and
5907 functions to support symbol prettification.
5908 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5909 (lisp--augmented-font-lock-keywords-1)
5910 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5911 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5912 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5913 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5914 Implement prettify of -> => :: strings.
5915 * progmodes/perl-mode.el (perl-prettify-symbols)
5916 (perl--font-lock-compose-symbol)
5917 (perl--font-lock-symbols-keywords): Move to prog-mode.
5918 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5919 (perl-font-lock-keywords-1)
5920 (perl-font-lock-keywords-2): Remove explicit prettify support.
5921 (perl--augmented-font-lock-keywords)
5922 (perl--augmented-font-lock-keywords-1)
5923 (perl--augmented-font-lock-keywords-2, perl-mode):
5924 Implement prettify support.
5925
5926 2013-06-05 Leo Liu <sdl.web@gmail.com>
5927
5928 Re-implement smie matching block highlight using
5929 show-paren-data-function. (Bug#14395)
5930 * emacs-lisp/smie.el (smie-matching-block-highlight)
5931 (smie--highlight-matching-block-overlay)
5932 (smie--highlight-matching-block-lastpos)
5933 (smie-highlight-matching-block)
5934 (smie-highlight-matching-block-mode): Remove.
5935 (smie--matching-block-data-cache): New variable.
5936 (smie--matching-block-data): New function.
5937 (smie-setup): Use smie--matching-block-data for
5938 show-paren-data-function.
5939
5940 * progmodes/octave.el (octave-mode-menu): Fix.
5941 (octave-find-definition): Skip garbage lines.
5942
5943 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 Fix compilation error with simultaneous dynamic+lexical scoping.
5946 Add warning when a defvar appears after the first let-binding.
5947 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5948 (byte-compile-close-variables): Initialize it.
5949 (byte-compile--declare-var): New function.
5950 (byte-compile-file-form-defvar)
5951 (byte-compile-file-form-define-abbrev-table)
5952 (byte-compile-file-form-custom-declare-variable): Use it.
5953 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5954 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5955 (byte-compile-bind): Handle dynamic bindings that shadow
5956 lexical bindings.
5957 (byte-compile-unbind): Make arg non-optional.
5958 (byte-compile-let): Simplify.
5959 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5960 (cconv--analyse-function, cconv-analyse-form): Populate it.
5961 Protect byte-compile-bound-variables to limit the scope of defvars.
5962 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5963 Remove unneeded rule for `declare'.
5964
5965 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5966 so as to avoid depending on cl-adjoin at run-time.
5967 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5968
5969 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5970 (macroexp--warn-and-return): Use it.
5971
5972 2013-06-05 Leo Liu <sdl.web@gmail.com>
5973
5974 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5975
5976 2013-06-04 Leo Liu <sdl.web@gmail.com>
5977
5978 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5979 (compilation-auto-jump): Suppress the "Mark set" message to give
5980 way to exit message.
5981
5982 2013-06-04 Alan Mackenzie <acm@muc.de>
5983
5984 Remove faulty optimisation from indentation calculation.
5985 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5986 search limit based on 2000 characters back from indent-point.
5987
5988 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5989
5990 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5991
5992 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * emacs-lisp/lisp.el: Use lexical-binding.
5995 (lisp--local-variables-1, lisp--local-variables): New functions.
5996 (lisp--local-variables-completion-table): New var.
5997 (lisp-completion-at-point): Use it complete let-bound vars.
5998
5999 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6000 eagerly (bug#14422).
6001
6002 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * autorevert.el (auto-revert-notify-enabled)
6005 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6006 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6007 (auto-revert-notify-handler): Handle also gfilenotify.
6008
6009 * subr.el (file-notify-handle-event): New defun. Replacing ...
6010 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6011 Remove.
6012
6013 2013-06-03 Juri Linkov <juri@jurta.org>
6014
6015 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6016 `M-s h .'. (Bug#14427)
6017
6018 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6019 command `hi-lock-face-symbol-at-point'.
6020 (hi-lock-face-symbol-at-point): New command.
6021 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6022 (hi-lock-menu): Add `highlight-symbol-at-point'.
6023 (hi-lock-mode): Doc fix.
6024
6025 * isearch.el (isearch-forward-symbol-at-point): New command.
6026 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6027 (isearch-highlight-regexp): Add a regexp which matches
6028 words/symbols for word/symbol mode.
6029
6030 * subr.el (find-tag-default-bounds): New function with the body
6031 mostly moved from `find-tag-default'.
6032 (find-tag-default): Move most code to `find-tag-default-bounds',
6033 call it and apply `buffer-substring-no-properties' afterwards.
6034
6035 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6036
6037 * eshell/em-term.el (eshell-term-initialize):
6038 Use `cl-intersection' rather than `intersection'.
6039
6040 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6041
6042 * vc/log-view.el: Doc fix.
6043 (log-view-mode-map): Copy keymap from `special-mode-map'.
6044
6045 2013-06-02 Eric Ludlam <zappo@gnu.org>
6046
6047 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6048 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6049 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6050 (eieio-unbound, eieio-default-superclass)
6051 (eieio--define-field-accessors, method-static, method-before)
6052 (method-primary, method-after, method-num-lists)
6053 (method-generic-before, method-generic-primary)
6054 (method-generic-after, method-num-slots)
6055 (eieio-specialized-key-to-generic-key)
6056 (eieio--check-type, class-v, class-p)
6057 (eieio-class-name, define-obsolete-function-alias)
6058 (eieio-class-parents-fast, eieio-class-children-fast)
6059 (same-class-fast-p, class-constructor, generic-p)
6060 (generic-primary-only-p, generic-primary-only-one-p)
6061 (class-option-assoc, class-option, eieio-object-p)
6062 (class-abstract-p, class-method-invocation-order)
6063 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6064 (eieio-class-un-autoload, eieio-defclass)
6065 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6066 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6067 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6068 (eieio-defgeneric-reset-generic-form)
6069 (eieio-defgeneric-form-primary-only)
6070 (eieio-defgeneric-reset-generic-form-primary-only)
6071 (eieio-defgeneric-form-primary-only-one)
6072 (eieio-defgeneric-reset-generic-form-primary-only-one)
6073 (eieio-unbind-method-implementations)
6074 (eieio--defmethod, eieio--typep)
6075 (eieio-perform-slot-validation, eieio-validate-slot-value)
6076 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6077 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6078 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6079 (eieio-slot-name-index, eieio-class-slot-name-index)
6080 (eieio-set-defaults, eieio-initarg-to-attribute)
6081 (eieio-attribute-to-initarg, eieio-c3-candidate)
6082 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6083 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6084 (eieio-class-precedence-list, eieio-generic-call-methodname)
6085 (eieio-generic-call-arglst, eieio-generic-call-key)
6086 (eieio-generic-call-next-method-list)
6087 (eieio-pre-method-execution-functions, eieio-generic-call)
6088 (eieio-generic-call-primary-only, eieiomt-method-list)
6089 (eieiomt-optimizing-obarray, eieiomt-install)
6090 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6091 (eieio-generic-form, eieio-defmethod, make-obsolete)
6092 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6093 (defclass): Remove `eval-and-compile' from macro.
6094 (call-next-method, shared-initialize): Instead of using
6095 `scoped-class' variable, use new eieio--scoped-class, and
6096 eieio--with-scoped-class.
6097 (initialize-instance): Rename local variable 'scoped-class' to
6098 'this-class' to remove ambiguitity from old global.
6099
6100 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6101 eieio.el.
6102 (eieio--scoped-class-stack): New variable.
6103 (eieio--scoped-class): New fcn.
6104 (eieio--with-scoped-class): New scoping macro.
6105 (eieio-defclass): Use pushnew instead of add-to-list.
6106 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6107 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6108 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6109 `scoped-class' variable, use new eieio--scoped-class, and
6110 eieio--with-scoped-class.
6111
6112 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6113
6114 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6115
6116 * eshell/esh-ext.el (eshell-external-command): Pass args to
6117 `eshell-find-interpreter'.
6118 (eshell-find-interpreter): Add new second parameter ARGS.
6119
6120 * eshell/em-script.el (eshell-script-initialize): Add second arg
6121 to the function added as MATCH to `eshell-interpreter-alist'.
6122
6123 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6124 the function added as MATCH to `eshell-interpreter-alist'.
6125
6126 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6127 (eshell-visual-options): New defcustom.
6128 (eshell-escape-control-x): Adapt docstring.
6129 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6130 `eshell-visual-options' in addition to `eshell-visual-commands'.
6131 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6132
6133 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6134
6135 * progmodes/python.el (python-indent-block-enders): Add break,
6136 continue and raise keywords.
6137
6138 2013-06-01 Glenn Morris <rgm@gnu.org>
6139
6140 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6141
6142 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6143 * progmodes/cc-cmds.el (delete-forward-p):
6144 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6145 * progmodes/cc-engine.el (buffer-syntactic-context):
6146 * progmodes/cc-fonts.el (face-property-instance):
6147 * progmodes/cc-mode.el (set-keymap-parents):
6148 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6149 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6150 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6151 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6152 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6153
6154 * progmodes/cc-vars.el (other): Emacs has this widget since
6155 at least 21.1, so don't (re)define it.
6156
6157 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6158 Replace the obsolete alias pcomplete-arg-quote-list.
6159
6160 2013-06-01 Leo Liu <sdl.web@gmail.com>
6161
6162 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6163 punctuation syntax.
6164 (inferior-octave-minimal-columns)
6165 (inferior-octave-last-column-width): New variables.
6166 (inferior-octave-track-window-width-change): New function.
6167 (inferior-octave-mode): Adjust column width so that Octave output,
6168 for example from 'ls', can fit into the window nicely.
6169
6170 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6171
6172 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6173 Highlight expansions inside regexp literals.
6174
6175 2013-05-31 Glenn Morris <rgm@gnu.org>
6176
6177 * obsolete/sym-comp.el (symbol-complete):
6178 Replace obsolete completion-annotate-function.
6179
6180 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6181
6182 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6183
6184 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6185 New function, checks if point is inside a literal that allows
6186 expression expansion.
6187 (ruby-syntax-propertize-expansion): Use it.
6188 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6189 around the body.
6190
6191 2013-05-30 Juri Linkov <juri@jurta.org>
6192
6193 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6194 to "\M-si".
6195 (isearch-invisible): New variable.
6196 (isearch-forward): Doc fix.
6197 (isearch-mode): Set `isearch-invisible'
6198 to the value of `search-invisible'.
6199 (isearch-toggle-case-fold): Doc fix.
6200 (isearch-toggle-invisible): New command.
6201 (isearch-query-replace): Let-bind `search-invisible'
6202 to the value of `isearch-invisible'.
6203 (isearch-search): Use `isearch-invisible' instead of
6204 `search-invisible'. Let-bind `search-invisible'
6205 to the value of `isearch-invisible'. (Bug#11378)
6206
6207 2013-05-30 Juri Linkov <juri@jurta.org>
6208
6209 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6210 call when `query-flag' is nil and `search-invisible' is non-nil.
6211 (Bug#11746)
6212
6213 2013-05-30 Glenn Morris <rgm@gnu.org>
6214
6215 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6216
6217 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6218 (cc-require): Suppress spurious "noruntime" warnings.
6219 (cc-require-when-compile): Use fboundp, for sake of compiler.
6220
6221 * progmodes/cc-mode.el: Move load of cc-vars before that of
6222 cc-langs (which in turn loads cc-vars), to quieten compiler.
6223
6224 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * paren.el: Simplify the code.
6227 (show-paren-mode): Always start the timer.
6228 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6229 (show-paren--overlay, show-paren--overlay-1): Rename from
6230 show-paren-overlay and show-paren-overlay-1, and initialize to an
6231 overlay rather than to nil.
6232 (show-paren-function): Misc cleanup and simplifications.
6233
6234 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * paren.el (show-paren-data-function): New hook.
6237 (show-paren--default): New function, extracted from show-paren-function.
6238 (show-paren-function): Use show-paren-data-function.
6239
6240 2013-05-30 Glenn Morris <rgm@gnu.org>
6241
6242 * ielm.el (ielm-map, ielm-complete-symbol):
6243 Use completion-at-point rather than obsolete functions.
6244 (inferior-emacs-lisp-mode): Doc fix.
6245 Set completion-at-point-functions, rather than
6246 comint-dynamic-complete-functions.
6247
6248 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6249 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6250 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6251
6252 * image.el (image-animated-p): Tweak definition.
6253
6254 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6255 (rlogin-process-connection-type): Tweak default. Add set-after.
6256 (rlogin-host): Doc fix.
6257 (rlogin): Tweak prompt.
6258 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6259
6260 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6261 * progmodes/tcl.el (inferior-tcl-mode-map):
6262 Use completion-at-point rather than obsolete alias.
6263
6264 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6265
6266 * minibuffer.el (read-file-name-completion-ignore-case):
6267 Move before completion--in-region, for eager macro expansion.
6268
6269 2013-05-29 Juri Linkov <juri@jurta.org>
6270
6271 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6272 for total count of matching lines. Add `global-matches' for total
6273 count of matches. Rename `matches' to `lines' for count of
6274 matching lines. Add `matches' for count of matches.
6275 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6276 to `prev-line' for line number of prev match endpt.
6277 Increment `matches' for every match. Print the number of
6278 matching lines in the header.
6279 (occur-context-lines): Rename `lines' to `curr-line'.
6280 Rename `prev-lines' to `prev-line'. (Bug#14017)
6281
6282 2013-05-29 Juri Linkov <juri@jurta.org>
6283
6284 * replace.el (perform-replace): Add `skip-read-only-count',
6285 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6286 Increment them for corresponding conditions and report the number
6287 of skipped occurrences in the final message. (Bug#11746)
6288 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6289 (replace-string, replace-regexp): Doc fix.
6290
6291 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6294
6295 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6296 prog-mode-map (bug#14504).
6297
6298 2013-05-29 Leo Liu <sdl.web@gmail.com>
6299
6300 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6301 (octave-help): Small simplification.
6302
6303 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6304 off the highlight first.
6305
6306 2013-05-29 Glenn Morris <rgm@gnu.org>
6307
6308 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6309 Handle idlwave-last-system-routine-info-cons-cell being nil.
6310
6311 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6312 (idlwave-write-paths): Simplify via with-temp-buffer.
6313
6314 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6315 * emulation/cua-rect.el: Also load cua-base at run time.
6316
6317 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6318 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6319 (cperl-imenu-on-info): Require imenu.
6320
6321 2013-05-28 Alan Mackenzie <acm@muc.de>
6322
6323 Handle "capitalised keywords" correctly.
6324 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6325
6326 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6327
6328 * eshell/em-unix.el: Add -r option to cp.
6329
6330 2013-05-28 Glenn Morris <rgm@gnu.org>
6331
6332 * vc/vc-arch.el (vc-exec-after): Declare.
6333 (vc-switches): Autoload.
6334 * vc/vc-bzr.el: No need to require vc when compiling.
6335 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6336 (vc-resynch-buffer, vc-dir-refresh): Declare.
6337 (vc-setup-buffer, vc-switches): Autoload.
6338 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6339 (vc-resynch-buffer): Declare.
6340 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6341 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6342 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6343 (grep-read-regexp, grep-read-files, grep-expand-template)
6344 (vc-dir-refresh): Declare.
6345 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6346 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6347 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6348 * vc/vc-mtn.el (vc-exec-after): Declare.
6349 (vc-switches): Autoload.
6350 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6351 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6352 (vc-file-tree-walk): Declare.
6353 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6354 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6355 (vc-tag-precondition, vc-rename-master): Autoload.
6356 * vc/vc-svn.el (vc-exec-after): Declare.
6357 (vc-switches, vc-setup-buffer): Autoload.
6358 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6359 Autoload.
6360 (vc-resynch-buffer): Declare.
6361
6362 * obsolete/fast-lock.el (byte-compile-warnings):
6363 Don't warn about obsolete features in this obsolete file.
6364
6365 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6366 Move definition before use.
6367
6368 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6369 (dun-unix-verbs): Remove dun-zippy.
6370 (dun-zippy): Remove function.
6371
6372 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6373
6374 2013-05-27 Juri Linkov <juri@jurta.org>
6375
6376 * replace.el (replace-search): New function with code moved out
6377 from `perform-replace'.
6378 (replace-highlight, replace-dehighlight): Move function definitions
6379 up closer to `replace-search'. (Bug#11746)
6380
6381 2013-05-27 Juri Linkov <juri@jurta.org>
6382
6383 * replace.el (perform-replace): Ignore invisible matches.
6384 In addition to checking `query-replace-skip-read-only', also
6385 filter out matches by calling `run-hook-with-args-until-failure'
6386 on `isearch-filter-predicates', and also check `search-invisible'
6387 for t or call `isearch-range-invisible'.
6388 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6389
6390 2013-05-27 Juri Linkov <juri@jurta.org>
6391
6392 * isearch.el (isearch-filter-predicates): Rename from
6393 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6394 (isearch-message-prefix): Display text from the property
6395 `isearch-message-prefix' of the currently active filters.
6396 (isearch-search): Don't compare `isearch-filter-predicate' with
6397 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6398 on `isearch-filter-predicates'. Also check `search-invisible' for t
6399 or call `isearch-range-invisible'.
6400 (isearch-filter-visible): Make obsolete.
6401 (isearch-lazy-highlight-search):
6402 Call `run-hook-with-args-until-failure' on
6403 `isearch-filter-predicates' and use `isearch-range-invisible'.
6404
6405 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6406 `isearch-filter-predicates' instead of `funcall'ing
6407 `isearch-filter-predicate'.
6408 (Info-mode): Set `Info-isearch-filter' to
6409 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6410
6411 * dired-aux.el (dired-isearch-filter-predicate-orig):
6412 Remove variable.
6413 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6414 (dired-isearch-filenames-end): Add and remove
6415 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6416 instead of changing the value of `isearch-filter-predicate'.
6417 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6418 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6419 Put property `isearch-message-prefix' to "filename " on
6420 `dired-isearch-filter-filenames'.
6421
6422 * wdired.el (wdired-change-to-wdired-mode):
6423 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6424 locally instead of changing `isearch-filter-predicate'.
6425 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6426
6427 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6428
6429 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6430 return the commit hash (Bug#14459). Also set the
6431 `vc-git-detached' property.
6432 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6433 (vc-git-mode-line-string): Use the same help-echo format whether
6434 in detached mode or not, because we know the actual revision now.
6435 When in detached mode, shorten the revision to 7 chars.
6436
6437 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * emacs-lisp/easy-mmode.el (define-minor-mode):
6440 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6441 mode hook and provide a docstring.
6442
6443 2013-05-27 Alan Mackenzie <acm@muc.de>
6444
6445 Remove spurious syntax-table text properties inserted by C-y.
6446 * progmodes/cc-mode.el (c-after-change): Also clear hard
6447 syntax-table property with value nil.
6448
6449 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6450
6451 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6452 when reading the events; the buffer layout shall not be changed.
6453
6454 2013-05-27 Leo Liu <sdl.web@gmail.com>
6455
6456 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6457 New variable.
6458 (inferior-octave-directory-tracker): Automatically re-sync
6459 default-directory.
6460 (octave-help): Improve handling of 'See also'.
6461
6462 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * doc-view.el: Minor naming convention tweaks.
6465 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6466
6467 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6468 even if there's no `display' property yet (bug#14435).
6469
6470 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6471
6472 * subr.el (unmsys--file-name): Rename from reveal-filename.
6473
6474 * Makefile.in (custom-deps, finder-data, autoloads)
6475 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6476 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6477 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6478
6479 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6482 error-completion on the first 2 args of condition-case (bug#14446).
6483 Don't burp at EOB.
6484
6485 2013-05-25 Leo Liu <sdl.web@gmail.com>
6486
6487 * comint.el (comint-previous-matching-input): Do not flood the
6488 *Messages* buffer with trivial messages.
6489
6490 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * progmodes/flymake.el (flymake-nop): Don't return a string.
6493 (flymake-set-at): Fix typo.
6494
6495 * simple.el (read--expression): New function, extracted from
6496 eval-expression. Set completion-at-point-functions (bug#14465).
6497 (eval-expression, eval-minibuffer): Use it.
6498
6499 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6500
6501 * progmodes/flymake.el (flymake-save-buffer-in-file)
6502 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6503 (flymake-selected-frame, flymake-log, flymake-ins-after)
6504 (flymake-set-at, flymake-get-buildfile-from-cache)
6505 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6506 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6507 Refine the doc string.
6508 (flymake-get-file-name-mode-and-masks): Reformat.
6509 (flymake-get-real-file-name-function): Fix a minor bug.
6510
6511 2013-05-24 Juri Linkov <juri@jurta.org>
6512
6513 * progmodes/grep.el (grep-mode-font-lock-keywords):
6514 Support =linenumber= format used by git-grep for lines with
6515 function names. (Bug#13549)
6516
6517 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6520 0 after a semi-colon; it works better for smie-auto-fill.
6521 (octave--indent-new-comment-line): New function.
6522 (octave-indent-new-comment-line): Use it (indirectly).
6523 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6524 modify comment-line-break-function.
6525
6526 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6527 (smie-setup): Use add-function to set it.
6528
6529 2013-05-24 Sam Steingold <sds@gnu.org>
6530
6531 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6532 argument (before the `interactive' argument).
6533
6534 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * image-mode.el (image-mode-winprops): Add winprops to
6537 image-mode-winprops-alist before running
6538 image-mode-new-window-functions.
6539 * doc-view.el (doc-view-new-window-function): Don't delay
6540 doc-view-goto-page via timers (bug#14435).
6541
6542 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6543
6544 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6545 (doc-view-desktop-save-buffer): New function.
6546 (doc-view-restore-desktop-buffer): New function.
6547 (desktop-buffer-mode-handlers):
6548 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6549 handler.
6550 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6551 `desktop-save-buffer' function.
6552
6553 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6554
6555 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6556 (tramp-gvfs-file-name-handler): Raise a user error when
6557 `tramp-gvfs-enabled' is nil.
6558 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6559 Do not raise a user error when loading package. (Bug#14447)
6560
6561 * net/xesam.el: Move to obsolete/.
6562
6563 2013-05-24 Glenn Morris <rgm@gnu.org>
6564
6565 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6566
6567 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6568
6569 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6570 (Info-find-node, Man-getpage-in-background): Declare.
6571
6572 * mail/unrmail.el (unrmail):
6573 Replace obsolete detect-coding-with-priority.
6574
6575 * net/socks.el (socks-split-string): Use this rather than split-string.
6576 (socks-nslookup-host): Update for above change.
6577 (dynamic-choice, s5-dynamic-choice-match)
6578 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6579 Comment out unused code.
6580
6581 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6582 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6583 (gud-tooltip-echo-area): Make obsolete.
6584 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6585
6586 * progmodes/js.el (js--optimize-arglist): Declare.
6587
6588 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6589
6590 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6591 (ediff-window-C): Declare.
6592
6593 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6594 Tweak requires to silence compiler.
6595
6596 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6597 (he-search-string, he-tried-table, he-expand-list)
6598 (he-init-string, he-string-member, he-substitute-string)
6599 (he-reset-string): Declare.
6600
6601 * obsolete/options.el (list-options): Use custom-variable-p,
6602 rather than obsolete alias.
6603
6604 2013-05-23 Sam Steingold <sds@gnu.org>
6605
6606 * simple.el (shell-command-on-region): Pass the `replace' argument
6607 down to `call-process-region' to comply with the doc as reported on
6608 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6609
6610 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * emacs-lisp/smie.el (smie-indent-forward-token)
6613 (smie-indent-backward-token): Handle string tokens (bug#14381).
6614
6615 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6616
6617 * ielm.el (ielm-menu): New menu.
6618 (inferior-emacs-lisp-mode): Set comment-start.
6619
6620 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6621
6622 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6623 Fix deactivate action.
6624
6625 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6626 Add cleveref macros.
6627
6628 * lisp/textmodes/reftex-parse.el
6629 (reftex-locate-bibliography-files): Accept options for
6630 bibliography commands.
6631 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6632 Add addbibresource. Basic Biblatex support.
6633
6634 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6635
6636 * net/tramp-gvfs.el (top):
6637 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6638 when loading package. (Bug#14447)
6639
6640 2013-05-23 Glenn Morris <rgm@gnu.org>
6641
6642 * progmodes/js.el: No need to load comint when compiling.
6643 (ring-insert, comint-send-string, comint-send-input)
6644 (comint-last-input-end, ido-chop): Declare.
6645
6646 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6647 * vc/ediff-mult.el: Adjust requires.
6648 (ediff-directories-internal, ediff-directory-revisions-internal)
6649 (ediff-patch-file-internal): Declare.
6650 * vc/ediff-ptch.el: Adjust requires.
6651 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6652 (ediff-find-file): Autoload.
6653 * vc/ediff-util.el: No need to load ediff when compiling.
6654 (ediff-regions-internal): Declare.
6655 * vc/ediff-wind.el: Adjust requires.
6656 (ediff-compute-toolbar-width): Define when compiling.
6657 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6658 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6659 (dired-get-filename, dired-get-marked-files)
6660 (ediff-last-dir-patch, ediff-patch-default-directory)
6661 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6662 (ediff-patch-buffer-internal): Declare.
6663
6664 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6665 (ispell-process, ispell-buffer-local-words, lm-summary)
6666 (lm-section-start, lm-section-end): Declare.
6667 (checkdoc-ispell-init): Simplify.
6668
6669 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6670 (he-string-member, he-reset-string, he-substitute-string): Declare.
6671
6672 * eshell/em-ls.el: Adjust requires.
6673 (eshell-glob-regexp): Declare.
6674 * eshell/em-tramp.el: Adjust requires.
6675 (eshell-parse-command): Autoload.
6676 * eshell/em-xtra.el: Adjust requires.
6677 (eshell-parse-command): Autoload.
6678 * eshell/esh-ext.el: Adjust requires.
6679 (eshell-parse-command, eshell-close-handles): Autoload.
6680 * eshell/esh-io.el: Adjust requires.
6681 (eshell-output-filter): Autoload.
6682 * eshell/esh-util.el: No need to load tramp when compiling.
6683 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6684 Declare.
6685 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6686 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6687 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6688 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6689 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6690 * eshell/esh-opt.el, eshell/esh-proc.el:
6691 * eshell/esh-var.el: Adjust requires.
6692 * eshell/eshell.el: Do not require esh-util twice.
6693 (eshell-add-input-to-history): Declare.
6694 (eshell-command): Check history module is active before using it.
6695
6696 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6697
6698 2013-05-22 Leo Liu <sdl.web@gmail.com>
6699
6700 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6701
6702 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6703
6704 * autorevert.el (auto-revert-notify-add-watch)
6705 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6706 it indicates changes in file modification time.
6707
6708 2013-05-22 Glenn Morris <rgm@gnu.org>
6709
6710 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6711 Always delete the autoloaded function from the noruntime and
6712 unresolved functions lists.
6713
6714 * allout.el: No need to load epa, epg, overlay when compiling.
6715 (epg-context-set-passphrase-callback, epg-list-keys)
6716 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6717 (epg-key-user-id-list): Declare.
6718
6719 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6720 (viper-set-parsing-style-toggling-macro)
6721 (viper-set-emacs-state-searchstyle-macros):
6722 Use called-interactively-p on Emacs.
6723 (viper-looking-back): Make it an obsolete alias. Update callers.
6724 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6725 Use looking-back rather than viper-looking-back.
6726 (viper-tmp-insert-at-eob, viper-enlarge-region)
6727 (viper-read-string-with-history, viper-register-to-point)
6728 (viper-append-to-register, viper-change-state-to-vi)
6729 (viper-backward-char-carefully, viper-forward-char-carefully)
6730 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6731 (viper-change-state-to-emacs): Declare.
6732 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6733 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6734 * emulation/viper-mous.el: Do not load viper-cmd.
6735 (viper-backward-char-carefully, viper-forward-char-carefully)
6736 (viper-forward-word, viper-adjust-window): Declare.
6737
6738 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6739
6740 * progmodes/idlw-help.el (idlwave-help-fontify):
6741 Use called-interactively-p.
6742
6743 * term/w32console.el (w32-get-console-codepage)
6744 (w32-get-console-output-codepage): Declare.
6745
6746 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6747 Remove unnecessary declarations.
6748 (dframe-message): Doc fix.
6749
6750 * info.el (dframe-select-attached-frame, dframe-current-frame):
6751 Declare.
6752
6753 * speedbar.el (speedbar-message): Make it an obsolete alias.
6754 Update all callers.
6755 (speedbar-with-attached-buffer)
6756 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6757 (speedbar-with-writable): Use backquote.
6758 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6759 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6760 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6761 rather than speedbar- aliases.
6762 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6763 (speedbar-make-specialized-keymap, speedbar-insert-button)
6764 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6765 (speedbar-do-function-pointer): Declare.
6766 (rmail-speedbar-button, rmail-speedbar-find-file)
6767 (rmail-speedbar-move-message):
6768 Use dframe-with-attached-buffer rather than speedbar- alias.
6769 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6770 (dframe-message, speedbar-make-specialized-keymap)
6771 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6772 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6773 (speedbar-insert-button, dframe-select-attached-frame)
6774 (dframe-maybee-jump-to-attached-frame)
6775 (speedbar-change-initial-expansion-list)
6776 (speedbar-previously-used-expansion-list-name): Declare.
6777 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6778 Use dframe-message, dframe-with-attached-buffer rather than
6779 speedbar- aliases.
6780 (gud-sentinel): Silence compiler.
6781 * progmodes/vhdl-mode.el (speedbar-refresh)
6782 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6783 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6784 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6785 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6786 (speedbar-file-lists, speedbar-make-tag-line)
6787 (speedbar-line-directory, speedbar-goto-this-file)
6788 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6789 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6790 (speedbar-make-button, speedbar-reset-scanners)
6791 (speedbar-files-item-info, speedbar-line-text)
6792 (speedbar-find-file-in-frame, speedbar-set-timer)
6793 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6794 (speedbar-with-writable): Do not (re)define it.
6795 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6796 rather than speedbar- alias.
6797
6798 2013-05-21 Leo Liu <sdl.web@gmail.com>
6799
6800 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6801 menu items.
6802 (octave-mode): Tweak fill-nobreak-predicate.
6803 (inferior-octave-startup): Check process to avoid infinite loop.
6804 (inferior-octave): Pop to buffer first to show abornmal process
6805 exit information.
6806
6807 2013-05-21 Glenn Morris <rgm@gnu.org>
6808
6809 * printing.el (pr-menu-bar): Define when compiling.
6810
6811 2013-05-21 Leo Liu <sdl.web@gmail.com>
6812
6813 * progmodes/octave.el (octave-auto-fill): Remove.
6814 (octave-indent-new-comment-line): Improve.
6815 (octave-mode): Use auto fill mode through
6816 comment-line-break-function and fill-nobreak-predicate.
6817 (octave-goto-function-definition): Support DEFUN_DLD.
6818 (octave-beginning-of-defun): Small tweak.
6819 (octave-help): Show parent directory.
6820
6821 2013-05-21 Glenn Morris <rgm@gnu.org>
6822
6823 * files.el (dired-unmark):
6824 * progmodes/gud.el (gdb-input): Update declarations.
6825
6826 * calculator.el (electric, ehelp): No need to load when compiling.
6827 (Electric-command-loop, electric-describe-mode): Declare.
6828
6829 * doc-view.el (doc-view-current-converter-processes): Move before use.
6830
6831 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6832 Move MODE-set-explicitly definition before use.
6833
6834 * international/mule-diag.el (mule-diag):
6835 Don't use obsolete window-system-version.
6836
6837 * mail/feedmail.el (smtpmail): No need to load when compiling.
6838 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6839
6840 * mail/mail-utils.el (rfc822): No need to load when compiling.
6841 (rfc822-addresses): Autoload it.
6842 (mail-strip-quoted-names): Trivial simplification.
6843
6844 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6845 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6846
6847 * net/snmp-mode.el (tempo): Don't duplicate requires.
6848
6849 * progmodes/prolog.el (info): No need to load when compiling.
6850 (comint): Require before shell requires it.
6851 (Info-goto-node): Autoload it.
6852 (Info-follow-nearest-node): Declare.
6853 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6854
6855 * textmodes/artist.el (picture-mode-exit): Declare.
6856
6857 * textmodes/reftex-parse.el (reftex-parse-from-file):
6858 Trivial rewrite so the compiler can parse it better.
6859
6860 2013-05-20 Leo Liu <sdl.web@gmail.com>
6861
6862 * progmodes/octave.el (octave-help-mode-map)
6863 (octave-help-mode-finish-hook): New variables.
6864 (octave-help-mode, octave-help-mode-finish): New functions.
6865 (octave-help): Use octave-help-mode.
6866
6867 2013-05-20 Glenn Morris <rgm@gnu.org>
6868
6869 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6870
6871 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6872
6873 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6874 start at point, so that expansion starting right after opening
6875 slash in a regexp is recognized.
6876 (ruby-syntax-before-regexp-re): New defvar, extracted from
6877 ruby-syntax-propertize-function. Since the value of this regexp
6878 is looked up at runtime now, we should be able to turn
6879 `ruby-syntax-methods-before-regexp' into a defcustom later.
6880 (ruby-syntax-propertize-function): Split regexp matching into two
6881 parts, for opening and closing slashes. That allows us to skip
6882 over string interpolations and support multiline regexps.
6883 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6884 for them, which calls `ruby-syntax-propertize-expansion'.
6885 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6886 call to `ruby-syntax-propertize-function'.
6887 (ruby-syntax-propertize-expansion): Extracted from
6888 `ruby-syntax-propertize-expansions'. Handles one expansion.
6889 (ruby-syntax-propertize-percent-literal): Leave point right after
6890 the percent symbol, so that the expression expansion rule can
6891 propertize the contents.
6892 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6893 heredoc openers.
6894 (ruby-syntax-propertize-expansions): Remove.
6895
6896 2013-05-18 Juri Linkov <juri@jurta.org>
6897
6898 * man.el (Man-default-man-entry): Remove `-' from the end
6899 of the default value. (Bug#14400)
6900
6901 2013-05-18 Glenn Morris <rgm@gnu.org>
6902
6903 * comint.el (comint-password-prompt-regexp):
6904 Allow "password for XXX" where XXX contains colons (eg https://...).
6905
6906 2013-05-18 Leo Liu <sdl.web@gmail.com>
6907
6908 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6909 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6910 (octave-source-directories): Don't check process.
6911 (octave-source-directories, octave-find-definition): Doc fix.
6912
6913 2013-05-18 Glenn Morris <rgm@gnu.org>
6914
6915 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6916 Remove backspace/delete bindings. (Bug#14392)
6917
6918 * cus-dep.el (custom-make-dependencies): Sort the output.
6919 (custom-versions-load-alist): Convert comment to doc.
6920
6921 2013-05-17 Leo Liu <sdl.web@gmail.com>
6922
6923 * newcomment.el (comment-search-backward): Stricter in finding
6924 comment start. (Bug#14303)
6925
6926 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6927 (octave-comment-start-skip): Properly anchored.
6928
6929 2013-05-17 Leo Liu <sdl.web@gmail.com>
6930
6931 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6932 Clean up when turned off. (Bug#14395)
6933 (smie--highlight-matching-block-overlay): No longer buffer-local.
6934 (smie-highlight-matching-block): Adjust.
6935
6936 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6937
6938 Doc string fix for "nanoseconds" (Bug#14406).
6939 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6940 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6941
6942 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6943
6944 * calc/calc-units.el (math-extract-units): Preserve powers
6945 of units.
6946
6947 2013-05-17 Leo Liu <sdl.web@gmail.com>
6948
6949 * subr.el (delete-consecutive-dups): New function.
6950 * ido.el (ido-set-matches-1): Use it.
6951 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6952 * ido.el (ido-remove-consecutive-dups): Remove.
6953
6954 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6957 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6958 regexp-opt's `words'.
6959
6960 2013-05-16 Leo Liu <sdl.web@gmail.com>
6961
6962 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6963 (smie--highlight-matching-block-overlay)
6964 (smie--highlight-matching-block-lastpos)
6965 (smie--highlight-matching-block-timer): New variables.
6966 (smie-highlight-matching-block): New function.
6967 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6968 (smie-setup): Conditionally enable smie-blink-matching-open.
6969
6970 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6971
6972 Sync with upstream verilog-mode r840.
6973 * progmodes/verilog-mode.el (verilog-mode-version)
6974 (verilog-mode-release-date): Update.
6975 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6976 (verilog-sig-tieoff): Fix string error on
6977 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6978 (verilog-read-decls): Fix parameters confusing
6979 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6980
6981 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6982
6983 * subr.el (reveal-filename): New function.
6984
6985 * loadup.el: Compute Emacs executable versions on MS-Windows,
6986 where executables have the .exe extension. Add a hard link
6987 emacs-XX.YY.ZZ.exe on MS-Windows.
6988
6989 * Makefile.in (XARGS_LIMIT): New variable.
6990 (custom-deps, finder-data, autoloads)
6991 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6992 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6993 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6994 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6995
6996 2013-05-16 Leo Liu <sdl.web@gmail.com>
6997
6998 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6999 (octave-mode-menu, octave-mode-map): Remove its uses.
7000
7001 2013-05-16 Reto Zimmermann <reto@gnu.org>
7002
7003 Sync with upstream vhdl mode v3.34.2.
7004 * progmodes/vhdl-mode.el: Use `push' throughout.
7005 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7006 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7007 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7008 (vhdl-actual-generic-name): New option to derive actual generic name.
7009 (vhdl-port-paste-signals): Replace formal by actual generics.
7010 (vhdl-beautify): New name for old group vhdl-align. Update users.
7011 (vhdl-beautify-options): New option.
7012 (vhdl-last-input-event): New compat alias. Use throughout.
7013 (vhdl-goto-line): Replace user level function `goto-line'.
7014 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7015 vhdl-fix-statement-buffer.
7016 (vhdl-create-mode-menu): Add some entries.
7017 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7018 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7019 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7020 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7021 to force statements on one line.
7022 (vhdl-remove-trailing-spaces-region):
7023 New, split from vhdl-remove-trailing-spaces.
7024 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7025 Respect vhdl-beautify-options.
7026 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7027 (vhdl-update-sensitivity-list): Not add with index if exists without.
7028 Not include array index with signal. Ignore keywords in comments.
7029 (vhdl-get-visible-signals): Regexp tweaks.
7030 (vhdl-template-component-inst): Handle empty library.
7031 (vhdl-template-type): Add template for 'enum' type.
7032 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7033 Use vhdl-replace-string.
7034 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7035 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7036 (vhdl-speedbar-initialize): Update for above name change.
7037 (vhdl-compose-wire-components): Fix in handling of constants.
7038 (vhdl-error-regexp-emacs-alist): New variable.
7039 (vhdl-error-regexp-add-emacs): New function;
7040 adds support for new compile.el (Emacs 22+)
7041 (vhdl-generate-makefile-1): Change target order for single lib. units.
7042 Allow use of absolute file names.
7043
7044 2013-05-16 Leo Liu <sdl.web@gmail.com>
7045
7046 * simple.el (prog-indent-sexp): Indent enclosing defun.
7047
7048 2013-05-15 Glenn Morris <rgm@gnu.org>
7049
7050 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7051 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7052 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7053 (whitespace-highlight): Move to whitespace group.
7054
7055 * comint.el (comint-source):
7056 * pcmpl-linux.el (pcmpl-linux):
7057 * shell.el (shell-faces):
7058 * eshell/esh-opt.el (eshell-opt):
7059 * international/ccl.el (ccl): Remove empty custom groups.
7060
7061 * completion.el (dynamic-completion-mode):
7062 * jit-lock.el (jit-lock-debug-mode):
7063 * minibuffer.el (completion-in-region-mode):
7064 * type-break.el (type-break-mode-line-message-mode)
7065 (type-break-query-mode):
7066 * emulation/tpu-edt.el (tpu-edt-mode):
7067 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7068 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7069 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7070
7071 * term/xterm.el (xterm): Change parent group to terminals.
7072
7073 * master.el (master): Remove empty custom group.
7074 (master-mode): Remove unused :group argument.
7075 * textmodes/refill.el (refill): Remove empty custom group.
7076 (refill-mode): Remove unused :group argument.
7077
7078 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7079
7080 * cus-dep.el: Provide a feature.
7081 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7082 Don't mistakenly ignore files whose basenames match a basename
7083 from preloaded-file-list (eg cedet/ede/simple.el).
7084 Add a fallback method for getting :group.
7085
7086 2013-05-15 Juri Linkov <juri@jurta.org>
7087
7088 * isearch.el (isearch-char-by-name): Rename from
7089 `isearch-insert-char-by-name'. Doc fix.
7090 (isearch-forward): Mention `isearch-char-by-name' in
7091 the docstring. (Bug#13348)
7092
7093 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7094 `exit-minibuffer' instead of
7095 `isearch-nonincremental-exit-minibuffer'.
7096 (isearch-edit-string): Remove mention of
7097 `isearch-nonincremental-exit-minibuffer' from docstring.
7098 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7099 (isearch-forward-exit-minibuffer)
7100 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7101
7102 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * loadup.el: Just use unversioned DOC.
7105
7106 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7107 literals as extending to EOB.
7108 (nxml-last-fontify-end): Remove unused variable.
7109 (nxml-after-change1): Use with-silent-modifications.
7110 (nxml-extend-after-change-region): Simplify.
7111 (nxml-extend-after-change-region1): Remove function.
7112 (nxml-after-change1): Don't adjust for dependent regions.
7113 (nxml-fontify-matcher): Simplify.
7114 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7115 (xmltok-add-dependent): Remove function.
7116 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7117 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7118 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7119 unclosed <[[, <?, comment, and other literals as extending to EOB.
7120 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7121 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7122 Remove functions.
7123 (rng-do-some-validation-1): Don't mark dependent regions.
7124 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7125 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7126 (nxml-clear-dependent-regions): Remove functions.
7127 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7128 (nxml-ensure-scan-up-to-date):
7129 Don't clear&mark dependent regions.
7130
7131 2013-05-15 Leo Liu <sdl.web@gmail.com>
7132
7133 * progmodes/octave.el (octave-goto-function-definition):
7134 Improve and fix callers.
7135
7136 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7139 the setter (bug#14387).
7140
7141 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7142 surrounding group (bug#14402).
7143
7144 2013-05-14 Juri Linkov <juri@jurta.org>
7145
7146 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7147 (Bug#14390)
7148
7149 2013-05-14 Glenn Morris <rgm@gnu.org>
7150
7151 * progmodes/f90.el (f90-imenu-generic-expression):
7152 Fix typo in 2013-05-08 change. (Bug#14402)
7153
7154 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7155
7156 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7157 Remove signals for which replies are never received.
7158
7159 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7160
7161 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7162 (gdb-handler-alist, gdb-handler-number): Remove variables.
7163 (gdb-handler-list): New variable.
7164 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7165 (gdb-pending-handler-p, gdb-handle-reply)
7166 (gdb-remove-all-pending-triggers): New functions.
7167 (gdb-discard-unordered-replies): New defcustom.
7168 (gdb-handler): New defstruct.
7169 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7170 instead of gdb-pending-triggers. Update docstring.
7171 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7172 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7173 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7174 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7175 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7176 (gdb-frame-handler): Pending triggers are now automatically managed.
7177 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7178 Remove argument.
7179 (gdb-input): Automatically handles pending triggers. Update docstring.
7180 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7181 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7182 Update comments.
7183 (gdb-done-or-error): Now use gdb-handle-reply.
7184
7185 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7186
7187 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7188 gdb-debug-log.
7189
7190 2013-05-14 Glenn Morris <rgm@gnu.org>
7191
7192 * subr.el (user-emacs-directory-warning): New option.
7193 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7194
7195 2013-05-14 Leo Liu <sdl.web@gmail.com>
7196
7197 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7198 during redisplay.
7199 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7200 (octave-font-lock-texinfo-comment): Fix invalid search bound
7201 error: wrong side of point.
7202
7203 2013-05-14 Glenn Morris <rgm@gnu.org>
7204
7205 * progmodes/flymake.el (flymake-xml-program): New option.
7206 (flymake-xml-init): Use it.
7207
7208 * term/xterm.el: Provide a feature.
7209
7210 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7211
7212 2013-05-13 Glenn Morris <rgm@gnu.org>
7213
7214 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7215 Add compat aliases as a hack workaround. (Bug#14384)
7216
7217 2013-05-13 Leo Liu <sdl.web@gmail.com>
7218
7219 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7220 ###, and %!.
7221 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7222 C-M-q.
7223 (octave-comment-start-skip): Include %!.
7224 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7225
7226 2013-05-12 Leo Liu <sdl.web@gmail.com>
7227
7228 * progmodes/octave.el (inferior-octave-startup): Store the value
7229 of __octave_srcdir__ for octave-source-directories.
7230 (inferior-octave-check-process): New function refactored out of
7231 inferior-octave-send-list-and-digest.
7232 (octave-source-directories)
7233 (octave-find-definition-filename-function): New variables.
7234 (octave-source-directories)
7235 (octave-find-definition-default-filename): New functions.
7236 (octave-find-definition): Improve to find functions implemented in C++.
7237
7238 2013-05-12 Glenn Morris <rgm@gnu.org>
7239
7240 * calendar/diary-lib.el (diary-outlook-format-1):
7241 Don't include dayname in the output. (Bug#14349)
7242
7243 2013-05-11 Glenn Morris <rgm@gnu.org>
7244
7245 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7246
7247 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7248 Treat cc-provide like provide.
7249
7250 2013-05-11 Kevin Ryde <user42@zip.com.au>
7251
7252 * cus-dep.el (custom-make-dependencies):
7253 Use generated-autoload-load-name for the sake of files such
7254 such cedet/semantic/bovine/c.el, where the base file name
7255 is not in load-path. (Bug#5277)
7256
7257 2013-05-11 Glenn Morris <rgm@gnu.org>
7258
7259 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7260 Provide features.
7261
7262 2013-05-11 Leo Liu <sdl.web@gmail.com>
7263
7264 * progmodes/octave.el (octave-indent-comment): Improve.
7265 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7266 (octave-eldoc-function-signatures, octave-eldoc-function):
7267 New functions.
7268 (octave-mode, inferior-octave-mode): Add eldoc support.
7269
7270 2013-05-11 Richard Stallman <rms@gnu.org>
7271
7272 * epa.el (epa-decrypt-file): Take output file name as argument
7273 and read it using `interactive'.
7274
7275 2013-05-11 Leo Liu <sdl.web@gmail.com>
7276
7277 * progmodes/octave.el (octave-beginning-of-line)
7278 (octave-end-of-line): Check before using up-list because it jumps
7279 out of more syntactic contructs since moving to smie.
7280 (octave-indent-comment): New function.
7281 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7282 (octave-begin-keywords, octave-end-keywords)
7283 (octave-reserved-words, octave-smie-bnf-table)
7284 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7285
7286 2013-05-11 Glenn Morris <rgm@gnu.org>
7287
7288 * faces.el (internal-face-x-get-resource):
7289 * frame.el (ns-display-monitor-attributes-list):
7290 * calc/calc-aent.el (math-to-radians-2):
7291 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7292 Fix declarations.
7293
7294 * calc/calc-menu.el: Make it loadable in isolation.
7295
7296 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7297 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7298 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7299 (eudc-bbdb-query-internal): Require 'bbdb.
7300
7301 * lpr.el (lpr-headers-switches):
7302 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7303
7304 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7305
7306 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7307
7308 * term.el (term-set-escape-char): Make it idempotent.
7309
7310 2013-05-10 Leo Liu <sdl.web@gmail.com>
7311
7312 * progmodes/octave.el (inferior-octave-completion-table):
7313 No longer a function and all uses changed. Use cache to speed up
7314 completion due to bug#11906.
7315 (octave-beginning-of-defun): Re-write to be more general.
7316
7317 2013-05-10 Glenn Morris <rgm@gnu.org>
7318
7319 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7320
7321 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * comint.el (comint-redirect-send-command-to-process): Use :around
7324 rather than :override for comint-redirect-filter.
7325 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7326 Call it instead of comint-redirect-original-filter-function (which
7327 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7328
7329 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7330
7331 * frame.el (display-monitor-attributes-list): Add NS case.
7332 (ns-display-monitor-attributes-list): Declare.
7333
7334 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7335
7336 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7337
7338 2013-05-09 Glenn Morris <rgm@gnu.org>
7339
7340 * international/fontset.el (vertical-centering-font-regexp):
7341 Set standard-value.
7342
7343 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7344
7345 * bookmark.el (bookmark-search-delay):
7346 * cus-start.el (vertical-centering-font-regexp):
7347 * ps-mule.el (ps-mule-font-info-database-default):
7348 * ps-print.el (ps-default-fg, ps-default-bg):
7349 * type-break.el (type-break-good-break-interval):
7350 * whitespace.el (whitespace-indentation-regexp)
7351 (whitespace-space-after-tab-regexp):
7352 * emacs-lisp/testcover.el (testcover-1value-functions)
7353 (testcover-noreturn-functions, testcover-progn-functions)
7354 (testcover-prog1-functions):
7355 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7356 * eshell/em-glob.el (eshell-glob-translate-alist):
7357 * play/tetris.el (tetris-tty-colors):
7358 * progmodes/cpp.el (cpp-face-default-list):
7359 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7360 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7361 (idlwave-help-browser-generic-args):
7362 * progmodes/make-mode.el (makefile-special-targets-list):
7363 * progmodes/python.el (python-shell-virtualenv-path):
7364 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7365 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7366 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7367 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7368 * textmodes/reftex-vars.el (reftex-format-label-function):
7369 * textmodes/remember.el (remember-diary-file): Fix custom types.
7370
7371 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7372 Add :version.
7373
7374 2013-05-09 Leo Liu <sdl.web@gmail.com>
7375
7376 * progmodes/octave.el (inferior-octave-completion-at-point):
7377 Restore file completion. (Bug#14300)
7378 (inferior-octave-startup): Fix incorrect highlighting for the
7379 first prompt.
7380
7381 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * progmodes/ruby-mode.el: First cut at SMIE support.
7384 (ruby-use-smie): New var.
7385 (ruby-smie-grammar): New constant.
7386 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7387 (ruby-smie--forward-token, ruby-smie--backward-token)
7388 (ruby-smie-rules): New functions.
7389 (ruby-mode-variables): Setup SMIE if applicable.
7390
7391 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7392
7393 * simple.el (line-move-visual): Signal beginning/end of buffer
7394 only if vertical-motion moved less than it was requested. Avoids
7395 silly incorrect error messages when there are display strings with
7396 multiple newlines at EOL.
7397
7398 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7401 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7402 (prolog-char-quote-workaround):
7403 * progmodes/cperl-mode.el (cperl-under-as-char):
7404 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7405 Mark as obsolete.
7406 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7407 their declaration.
7408 (vhdl-mode-syntax-table-init): Remove.
7409
7410 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7411 last change.
7412
7413 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7414 syntax for "_".
7415 (ld-script-font-lock-keywords):
7416 Change regexps to use things like \_< and \_>.
7417
7418 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7419 Change all regexps to use things like \_< and \_>.
7420
7421 * progmodes/autoconf.el (autoconf-definition-regexp)
7422 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7423 Handle a _ with symbol syntax.
7424 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7425
7426 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7427 Consolidate declaration.
7428 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7429 the declaration.
7430 (ada-create-syntax-table): Remove.
7431 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7432 already has the right syntax nowadays.
7433 (ada-goto-next-word): Don't change the syntax of "_".
7434
7435 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7436 with-wrapper-hook.
7437
7438 2013-05-08 Sam Steingold <sds@gnu.org>
7439
7440 * thingatpt.el (thing-at-point): Accept optional second argument
7441 NO-PROPERTIES to strip the text properties from the return value.
7442 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7443 to `thing-at-point' instead of stripping the properties ourselves.
7444 Also, when `thing-at-point' fails to find a url, prepend "http://"
7445 to the filename at point on the assumption that the user is
7446 pointing at something like gnu.org/gnu.
7447
7448 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7449
7450 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7451 * faces.el (crm-separator):
7452 Silence byte-compiler.
7453
7454 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7455 (tool-bar-map): Remove unneeded defvars.
7456
7457 2013-05-08 Leo Liu <sdl.web@gmail.com>
7458
7459 Re-work a fix for bug#10994 based on Le Wang's patch.
7460 * ido.el (ido-remove-consecutive-dups): New helper.
7461 (ido-completing-read): Use it.
7462 (ido-chop): Revert fix for bug#10994.
7463
7464 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7465
7466 * cus-edit.el (custom-save-variables):
7467 Pretty-print long values. (Bug#14187)
7468
7469 2013-05-08 Glenn Morris <rgm@gnu.org>
7470
7471 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7472 (m4-mode-syntax-table): Init in the defvar.
7473 (m4-mode-abbrev-table): Let define-derived-mode define it.
7474
7475 2013-05-08 Tom Tromey <tromey@redhat.com>
7476
7477 * progmodes/m4-mode.el (m4-mode-syntax-table):
7478 Do not treat "_" as word constituent. (Bug#14167)
7479
7480 2013-05-07 Glenn Morris <rgm@gnu.org>
7481
7482 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7483 Remove explicit eshell-isearch-cancel-map.
7484
7485 * progmodes/f90.el (f90-smart-end-names): New option.
7486 (f90-smart-end): Doc fix.
7487 (f90-end-block-optional-name): New constant.
7488 (f90-block-match): Respect f90-smart-end-names.
7489
7490 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7493 about implicit semi-colons (bug#14218).
7494
7495 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7496
7497 * frame.el (display-monitor-attributes-list)
7498 (frame-monitor-attributes): New functions.
7499
7500 2013-05-06 Leo Liu <sdl.web@gmail.com>
7501
7502 * progmodes/octave.el (octave-syntax-propertize-function): Change
7503 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7504 (octave-font-lock-keywords): Use octave-operator-regexp.
7505 (octave-completion-at-point): Rename from
7506 octave-completion-at-point-function.
7507 (inferior-octave-directory-tracker): Robustify.
7508 (octave-text-functions): Remove and fix its uses. No such things
7509 any more.
7510
7511 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * emacs-lisp/trace.el (trace--display-buffer): New function.
7514 (trace-make-advice): Use it.
7515
7516 2013-05-06 Juri Linkov <juri@jurta.org>
7517
7518 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7519 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7520 Doc fix.
7521 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7522 in the help string. (Bug#12985)
7523
7524 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7525
7526 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7527
7528 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * progmodes/perl-mode.el: Add support for here documents.
7531 (perl-syntax-propertize-function): Match here-doc markers.
7532 (perl-syntax-propertize-special-constructs): Find their end.
7533 (perl-imenu-generic-expression): Use [:alnum:].
7534
7535 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7536 (advice--add-function): Refresh the advice if already present
7537 (bug#14317).
7538
7539 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7540
7541 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7542
7543 2013-05-06 Glenn Morris <rgm@gnu.org>
7544
7545 * w32-fns.el (w32-charset-info-alist): Declare.
7546
7547 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7548 of its defcustom properties.
7549 (eshell-cmpl-initialize): No need to load pcomplete.
7550
7551 * generic-x.el: No need to require comint when compiling.
7552
7553 * net/eudc-export.el: Make it loadable without bbdb.
7554 (top-level): Use require rather than load-library.
7555 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7556 (eudc-batch-export-records-to-bbdb)
7557 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7558 Require bbdb.
7559
7560 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7563 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7564 some tweaks, instead.
7565
7566 2013-05-05 Leo Liu <sdl.web@gmail.com>
7567
7568 * progmodes/octave.el (octave-font-lock-keywords)
7569 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7570 (inferior-octave-send-list-and-digest): Improve error message.
7571 (octave-mode, inferior-octave-mode): Use setq-local.
7572 (octave-help): Set info-lookup-mode.
7573
7574 2013-05-05 Richard Stallman <rms@gnu.org>
7575
7576 * vc/compare-w.el (compare-windows-whitespace):
7577 Treat no-break space as whitespace.
7578
7579 * mail/rmailsum.el (rmail-summary-rmail-update):
7580 Detect empty summary and don't change selected message.
7581 (rmail-summary-goto-msg): Likewise.
7582
7583 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7584 Doc fixes, rename args.
7585
7586 2013-05-05 Alan Mackenzie <acm@muc.de>
7587
7588 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7589
7590 2013-05-05 Juri Linkov <juri@jurta.org>
7591
7592 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7593 to not add the length of the summary segment to the return value.
7594 (Bug#14125)
7595
7596 2013-05-05 Leo Liu <sdl.web@gmail.com>
7597
7598 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7599 (inferior-octave-output-filter): Remove.
7600 (octave-send-region, inferior-octave-startup): Fix callers.
7601 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7602 (octave-binary-file-extensions): New user variable.
7603 (octave-find-definition): Confirm if opening binary files.
7604 (octave-help-file): Use octave-find-definition to get the binary
7605 confirmation.
7606 (octave-help): Adjust for octave-help-file change.
7607
7608 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7611 Merge the two entries that handle function definitions.
7612 (pascal--syntax-propertize): New const.
7613 (pascal-mode): Use it. Use setq-local.
7614
7615 2013-05-04 Glenn Morris <rgm@gnu.org>
7616
7617 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7618 (diary-from-outlook): Respect diary-from-outlook-function.
7619
7620 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7621
7622 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7623 Move the declaration from C.
7624 (read-minibuffer, eval-minibuffer): Move from C.
7625 (completion-setup-function): Avoid minibuffer-completion-contents.
7626
7627 2013-05-03 Leo Liu <sdl.web@gmail.com>
7628
7629 * progmodes/octave.el (octave-font-lock-keywords): Do not
7630 dehighlight 'end' in comments or strings.
7631 (octave-completing-read, octave-goto-function-definition):
7632 New helpers.
7633 (octave-help-buffer): New user variable.
7634 (octave-help-file, octave-help-function): New button types.
7635 (octave-help): New command and bind it to C-h ;.
7636 (octave-find-definition): New command and bind it to M-.
7637 (user-error): Alias to error if not defined.
7638
7639 2013-05-02 Leo Liu <sdl.web@gmail.com>
7640
7641 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7642 for \. (bug#14332)
7643 (octave-font-lock-keywords): Include [ and {.
7644
7645 2013-05-02 Leo Liu <sdl.web@gmail.com>
7646
7647 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7648 (inferior-octave): Remove calling comint-mode and return the buffer.
7649 (inferior-octave-startup): Cosmetic changes.
7650
7651 2013-05-02 Leo Liu <sdl.web@gmail.com>
7652
7653 * progmodes/octave.el (octave-syntax-propertize-function):
7654 Include the case when ' is at line beginning. (Bug#14336)
7655
7656 2013-05-02 Glenn Morris <rgm@gnu.org>
7657
7658 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7659 * desktop.el (vc-dir-mode): Just autoload it here.
7660
7661 2013-05-02 Alan Mackenzie <acm@muc.de>
7662
7663 Eliminate variable c-standard-font-lock-fontify-region-function.
7664 * progmodes/cc-mode.el
7665 (c-standard-font-lock-fontify-region-function): Remove.
7666 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7667
7668 2013-05-01 Leo Liu <sdl.web@gmail.com>
7669
7670 * progmodes/octave.el: Compatible with older emacs-24 releases.
7671 (inferior-octave-has-built-in-variables): Remove. Built-in
7672 variables were removed from Octave in 2007.
7673 (inferior-octave-startup): Fix uses.
7674 (comint-line-beginning-position): Remove compatibility code for
7675 emacs 21.
7676
7677 2013-05-01 Juri Linkov <juri@jurta.org>
7678
7679 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7680
7681 2013-05-01 Juri Linkov <juri@jurta.org>
7682
7683 * comint.el (comint-previous-matching-input): Don't print message
7684 "History item: %d" when `isearch-mode' is active.
7685 (comint-history-isearch-message): Print message "History item: %d"
7686 when `comint-input-ring-index' is not empty and this function is
7687 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7688
7689 2013-05-01 Leo Liu <sdl.web@gmail.com>
7690
7691 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7692 definitions. Use completion-at-point to insert keywords.
7693 (octave-abbrev-start): Remove.
7694 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7695
7696 2013-04-30 Leo Liu <sdl.web@gmail.com>
7697
7698 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7699 change.
7700
7701 2013-04-30 Alan Mackenzie <acm@muc.de>
7702
7703 Handle arbitrarily long C++ member initialisation lists.
7704 * progmodes/cc-engine.el (c-back-over-member-initializers):
7705 new function.
7706 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7707 (most) member init lists.
7708
7709 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7710
7711 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7712 variable.
7713
7714 2013-04-30 Leo Liu <sdl.web@gmail.com>
7715
7716 * progmodes/octave.el (octave-variables): Remove. No builtin
7717 variables any more. All converted to functions.
7718 (octave-font-lock-keywords, octave-completion-at-point-function):
7719 Fix uses.
7720 (octave-font-lock-texinfo-comment): New user variable.
7721 (octave-texinfo-font-lock-keywords): New variable for texinfo
7722 comment block.
7723 (octave-function-comment-block): New face.
7724 (octave-font-lock-texinfo-comment): New function.
7725 (octave-mode): Font lock texinfo comment block.
7726
7727 2013-04-29 Leo Liu <sdl.web@gmail.com>
7728
7729 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7730 indexing expression.
7731 (octave-continuation-string): Do not use \.
7732 (inferior-octave-complete-impossible): Remove.
7733 (inferior-octave-completion-table)
7734 (inferior-octave-completion-at-point): Remove its uses.
7735 (inferior-octave-startup): completion_matches was introduced to
7736 Octave in 1996 so safe to assume it.
7737 (octave-function-file-comment): Improve to follow how Octave does it.
7738 (octave-update-function-file-comment): Tweak.
7739
7740 2013-04-29 Leo Liu <sdl.web@gmail.com>
7741
7742 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7743 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7744 (octave-function-file-comment): Fix typo.
7745 (octave-sync-function-file-names): Use read-char-choice.
7746
7747 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7748
7749 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7750 to t for the less important warnings.
7751
7752 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7753
7754 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7755
7756 2013-04-27 Glenn Morris <rgm@gnu.org>
7757
7758 * vc/log-view.el (log-view-current-entry):
7759 Treat "---" separator lines as part of the following rev. (Bug#14169)
7760
7761 2013-04-27 Juri Linkov <juri@jurta.org>
7762
7763 * subr.el (read-number): Doc fix about using it by interactive
7764 code letter `n'. (Bug#14254)
7765
7766 2013-04-27 Juri Linkov <juri@jurta.org>
7767
7768 * desktop.el (desktop-auto-save-timeout): New option.
7769 (desktop-file-checksum): New variable.
7770 (desktop-save): Add optional arg `auto-save' and don't auto-save
7771 if nothing changed.
7772 (desktop-auto-save-timer): New variable.
7773 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7774 (after-init-hook): Call `desktop-auto-save-set-timer'.
7775 Suggested by Reuben Thomas <rrt@sc3d.org> in
7776 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7777
7778 2013-04-27 Leo Liu <sdl.web@gmail.com>
7779
7780 * progmodes/octave.el (octave-function-file-p)
7781 (octave-skip-comment-forward, octave-function-file-comment)
7782 (octave-update-function-file-comment): New functions.
7783 (octave-mode-map): Bind C-c ; to
7784 octave-update-function-file-comment.
7785 (octave-mode-menu): Add octave-update-function-file-comment.
7786 (octave-mode, inferior-octave-mode): Fix doc-string.
7787 (octave-insert-defun): Conform to Octave's coding convention.
7788 (Bug#14285)
7789
7790 * files.el (basic-save-buffer): Don't let errors in
7791 before-save-hook prevent saving buffer.
7792
7793 2013-04-20 Roland Winkler <winkler@gnu.org>
7794
7795 * faces.el (read-face-name): Use completing-read if arg multiple
7796 is nil.
7797
7798 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7799
7800 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7801 displayed, move point to after the totals line.
7802 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7803 for the details.
7804
7805 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7808 Add current dir to the load-path.
7809 (package-generate-autoloads): Don't rely on
7810 autoload-ensure-default-file.
7811
7812 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7813
7814 * textmodes/remember.el (remember-store-in-files): Document that
7815 the file name format is passed to `format-time-string'.
7816
7817 2013-04-26 Leo Liu <sdl.web@gmail.com>
7818
7819 * progmodes/octave.el (octave-sync-function-file-names): New function.
7820 (octave-mode): Use it in before-save-hook.
7821
7822 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7825 (bug#14274).
7826
7827 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7828 \n and comment, even if it's not an implicit ; (bug#14218).
7829
7830 2013-04-26 Glenn Morris <rgm@gnu.org>
7831
7832 * subr.el (read-number): Once more use `read' rather than
7833 `string-to-number', to trap non-numeric input. (Bug#14254)
7834
7835 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7836
7837 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7838 Use `syntax-multiline' text property consistently instead of
7839 `font-lock-multiline'. (Bug#14237)
7840
7841 2013-04-26 Glenn Morris <rgm@gnu.org>
7842
7843 * emacs-lisp/shadow.el (list-load-path-shadows):
7844 No longer necessary to check for duplicate simple.el, since
7845 2012-07-07 change to init_lread to not include installation lisp
7846 directories in load-path when running uninstalled. (Bug#14270)
7847
7848 2013-04-26 Leo Liu <sdl.web@gmail.com>
7849
7850 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7851 (octave-mode, inferior-octave-mode): Use setq-local.
7852 (octave-not-in-string-or-comment-p): Rename to
7853 octave-in-string-or-comment-p.
7854 (octave-in-comment-p, octave-in-string-p)
7855 (octave-in-string-or-comment-p): Replace defsubst with defun.
7856
7857 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7858
7859 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7860
7861 2013-04-25 Bastien Guerry <bzg@gnu.org>
7862
7863 * textmodes/remember.el (remember-data-directory)
7864 (remember-directory-file-name-format): Fix custom types.
7865
7866 2013-04-25 Leo Liu <sdl.web@gmail.com>
7867
7868 * progmodes/octave.el (octave-completion-at-point-function):
7869 Make use of inferior octave process.
7870 (octave-initialize-completions): Remove.
7871 (inferior-octave-completion-table): New function.
7872 (inferior-octave-completion-at-point): Use it.
7873 (octave-completion-alist): Remove.
7874
7875 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7878 (opascal-mode-syntax-table): New var.
7879 (opascal-literal-kind, opascal-is-literal-end)
7880 (opascal-literal-token-at): Rewrite.
7881 (opascal--literal-start-re, opascal-font-lock-keywords)
7882 (opascal--syntax-propertize): New constants.
7883 (opascal-font-lock-defaults): Adjust.
7884 (opascal-mode): Use them. Set comment-<foo> variables as well.
7885 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7886 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7887 (delphi-other-face, opascal-other-face): Remove face variables.
7888 (opascal-save-state): Remove macro.
7889 (opascal-fontifying-progress-step): Remove constant.
7890 (opascal--ignore-changes): Remove var.
7891 (opascal-set-token-property, opascal-parse-next-literal)
7892 (opascal-is-stable-literal, opascal-complete-literal)
7893 (opascal-is-literal-start, opascal-face-of)
7894 (opascal-parse-region, opascal-parse-region-until-stable)
7895 (opascal-fontify-region, opascal-after-change)
7896 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7897 (opascal-debug-parse-region, opascal-debug-parse-window)
7898 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7899 (opascal-debug-fontify-buffer): Remove.
7900 (opascal-debug-mode-map): Adjust accordingly.
7901
7902 2013-04-25 Leo Liu <sdl.web@gmail.com>
7903
7904 Merge octave-mod.el and octave-inf.el into octave.el with some
7905 cleanups.
7906 * progmodes/octave.el: New file renamed from octave-mod.el.
7907 * progmodes/octave-inf.el: Merged into octave.el.
7908 * progmodes/octave-mod.el: Renamed to octave.el.
7909
7910 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7911
7912 * textmodes/reftex-vars.el
7913 (reftex-label-ignored-macros-and-environments): New defcustom.
7914
7915 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7916
7917 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7920 (smie-indent-keyword): Improve the check to ensure that the next
7921 comment is really on the same line.
7922 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7923
7924 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7925 semi-colons if the line is not otherwise empty (bug#14218).
7926
7927 2013-04-25 Glenn Morris <rgm@gnu.org>
7928
7929 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7930
7931 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * progmodes/opascal.el (opascal-set-token-property): Rename from
7934 opascal-set-text-properties and only set `token' (bug#14134).
7935 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7936 (opascal-literal-text-properties): Remove.
7937 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7938 Adjust callers.
7939
7940 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7941
7942 * textmodes/remember.el (remember-handler-functions): Add an
7943 option for a new handler `remember-store-in-files'.
7944 (remember-data-directory, remember-directory-file-name-format):
7945 New options.
7946 (remember-store-in-files): New function to store remember notes
7947 as separate files within a directory.
7948
7949 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7950
7951 * progmodes/compile.el (compilation-next-error-function):
7952 Pass "formats" to compilation-find-file (bug#11777).
7953
7954 2013-04-24 Glenn Morris <rgm@gnu.org>
7955
7956 * vc/vc-bzr.el (vc-bzr-print-log):
7957 * vc/vc-hg.el (vc-hg-print-log):
7958 * vc/vc-svn.el (vc-svn-print-log):
7959 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7960
7961 * vc/vc-bzr.el (vc-bzr-print-log):
7962 * vc/vc-cvs.el (vc-cvs-print-log):
7963 * vc/vc-git.el (vc-git-print-log):
7964 * vc/vc-hg.el (vc-hg-print-log):
7965 * vc/vc-mtn.el (vc-mtn-print-log):
7966 * vc/vc-rcs.el (vc-rcs-print-log):
7967 * vc/vc-sccs.el (vc-sccs-print-log):
7968 * vc/vc-svn.el (vc-svn-print-log):
7969 * vc/vc.el (vc-print-log-internal): Doc fixes.
7970
7971 2013-04-23 Glenn Morris <rgm@gnu.org>
7972
7973 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7974 Remove venerable code attempting to avoid substitute-command-keys.
7975
7976 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7977
7978 * textmodes/reftex-vars.el (reftex-label-regexps):
7979 Call `reftex-compile-variables' after changes to this variable.
7980
7981 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7984 Use lexical-binding.
7985 (jit-lock-force-redisplay): Use markers, check buffer's continued
7986 existence and beware narrowed buffers.
7987 (jit-lock-fontify-now): Adjust call accordingly.
7988
7989 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7992 to avoid misleading the user.
7993
7994 2013-04-22 Leo Liu <sdl.web@gmail.com>
7995
7996 * info-look.el: Prefer latex2e.info. (Bug#14240)
7997
7998 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7999
8000 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8001
8002 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8003 * net/tramp.el (tramp-call-process): ... here.
8004 (tramp-set-completion-function, tramp-parse-putty):
8005 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8006 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8007 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8008 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8009 (tramp-call-local-coding-command): Use `tramp-call-process'
8010 instead of `tramp-compat-call-process'.
8011
8012 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8013 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8014 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8015 (tramp-find-inline-compress): Improve traces.
8016 (tramp-maybe-send-script): Check for Perl binary.
8017 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8018
8019 2013-04-22 Daiki Ueno <ueno@gnu.org>
8020
8021 * epg.el (epg-context-pinentry-mode): New function.
8022 (epg-context-set-pinentry-mode): New function.
8023 (epg--start): Pass --pinentry-mode option to gpg command.
8024
8025 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8026
8027 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8028 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8029 `completion-at-point'. (Bug#13774)
8030
8031 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8032 default key binding for `describe-distribution' has been moved to
8033 `C-h C-o'. (Bug#13970)
8034
8035 2013-04-21 Glenn Morris <rgm@gnu.org>
8036
8037 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8038 Add doc strings.
8039 (vc-print-log): Clarify interactive prompt.
8040
8041 2013-04-20 Glenn Morris <rgm@gnu.org>
8042
8043 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8044 No longer include timestamp etc information.
8045
8046 2013-04-20 Roland Winkler <winkler@gnu.org>
8047
8048 * faces.el (read-face-name): Bug fix, return just one face if arg
8049 multiple is nil. (Bug#14209)
8050
8051 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8054 (remove-function): Autoload.
8055
8056 * comint.el (comint-redirect-original-filter-function): Remove.
8057 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8058 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8059 (vc-cvs-annotate-command):
8060 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8061 * progmodes/prolog.el (prolog-consult-compile):
8062 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8063 Use add/remove-function instead.
8064 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8065 (gud-tooltip-process-output, gud-tooltip-tips):
8066 Use add/remove-function instead.
8067 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8068 (scheme-interaction-mode, exit-scheme-interaction-mode):
8069 Use add/remove-function instead.
8070
8071 * vc/vc-dispatcher.el: Use lexical-binding.
8072 (vc--process-sentinel): Rename from vc-process-sentinel.
8073 Change last arg to be the code to run. Don't use vc-previous-sentinel
8074 and vc-sentinel-commands any more.
8075 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8076 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8077
8078 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8079
8080 * progmodes/sh-script.el (sh-imenu-generic-expression):
8081 Handle function names with a single character. (Bug#14111)
8082
8083 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8084
8085 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8086 for subroutines defined in an eval (bug#14182).
8087
8088 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8089
8090 * bookmark.el (bookmark-completing-read): Improve handling of empty
8091 string (bug#14176).
8092
8093 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8096
8097 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8098
8099 New faster Imenu implementation (bug#14058).
8100 * progmodes/python.el:
8101 (python-imenu-prev-index-position):
8102 (python-imenu-format-item-label-function)
8103 (python-imenu-format-parent-item-label-function)
8104 (python-imenu-format-parent-item-jump-label-function):
8105 New vars.
8106 (python-imenu-format-item-label)
8107 (python-imenu-format-parent-item-label)
8108 (python-imenu-format-parent-item-jump-label)
8109 (python-imenu--put-parent, python-imenu--build-tree)
8110 (python-imenu-create-index, python-imenu-create-flat-index)
8111 (python-util-popn): New functions.
8112 (python-mode): Set imenu-create-index-function to
8113 python-imenu-create-index.
8114
8115 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * winner.el (winner-active-region): Use region-active-p, activate-mark
8118 and deactivate-mark (bug#14225).
8119
8120 * simple.el (deactivate-mark): Don't inline it.
8121
8122 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8123
8124 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8125
8126 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8127
8128 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8129 file extensions from the archive-mode entry in order to prefer
8130 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8131
8132 2013-04-18 Leo Liu <sdl.web@gmail.com>
8133
8134 * bindings.el (help-event-list): Add ?\?.
8135
8136 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * subr.el (with-wrapper-hook): Declare obsolete.
8139 * simple.el (filter-buffer-substring-function): New hook.
8140 (filter-buffer-substring): Use it.
8141 (filter-buffer-substring-functions): Mark obsolete.
8142 * minibuffer.el (completion-in-region-function): New hook.
8143 (completion-in-region): Use it.
8144 (completion-in-region-functions): Mark obsolete.
8145 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8146 * abbrev.el (abbrev-expand-function): New hook.
8147 (expand-abbrev): Use it.
8148 (abbrev-expand-functions): Mark obsolete.
8149 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8150 and :filter-return.
8151
8152 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8153
8154 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8155 and do not care about match data.
8156
8157 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8160 completion tables when completing error conditions and
8161 `declare' arguments.
8162 (lisp-complete-symbol, field-complete): Mark as obsolete.
8163 (check-parens): Unmatched parens are user errors.
8164 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8165
8166 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8167
8168 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8169 command changed buffer (ie. `flyspell-pre-buffer' is not current
8170 buffer), which prevents making decisions based on invalid value of
8171 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8172 cause an error when `flyspell-pre-point' was nil after switching
8173 buffers.
8174 (flyspell-post-command-hook): No longer needs to change buffers when
8175 checking pre-word. While at it remove unnecessary progn.
8176
8177 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8178
8179 * textmodes/ispell.el (ispell-add-per-file-word-list):
8180 Fix `flyspell-correct-word-before-point' error when accepting
8181 words and `coment-padding' is an integer by using
8182 `comment-normalize-vars' (Bug #14214).
8183
8184 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8185
8186 New defun movement commands.
8187 * progmodes/python.el (python-nav--syntactically)
8188 (python-nav--forward-defun, python-nav-backward-defun)
8189 (python-nav-forward-defun): New functions.
8190
8191 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8192
8193 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8194 (python-syntax-context): Use named compiler-macro for backwards
8195 compatibility with Emacs 24.x.
8196
8197 2013-04-17 Leo Liu <sdl.web@gmail.com>
8198
8199 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8200 octave-hide-process-buffer.
8201
8202 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8205 (bug#14216).
8206
8207 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8208
8209 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8210 Fix adjustment of offset when receiving incomplete responses from GDB
8211 (bug#14129).
8212
8213 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8216 python-mode-abbrev-table.
8217 (python-skeleton-define): Adjust accordingly.
8218 (python-mode-abbrev-table): New table that inherits from it so that
8219 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8220
8221 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8222 (abbrev-symbol): Use it.
8223 (abbrev--before-point): Use it since we already handle inheritance.
8224
8225 2013-04-16 Leo Liu <sdl.web@gmail.com>
8226
8227 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8228 binding to info-lookup-symbol.
8229
8230 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * minibuffer.el (completion--twq-all):
8233 * term/ns-win.el (ns-initialize-window-system):
8234 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8235
8236 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8239 global bindings.
8240
8241 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8242
8243 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8244
8245 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8246 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8247 to nil.
8248 (ruby-end-of-defun): Remove the unused arg, change the docstring
8249 to reflect that this function is only used as the value of
8250 `end-of-defun-function'.
8251 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8252 to reflect an earlier change that beginning/end-of-defun functions
8253 jump between methods in a class definition, as well as top-level
8254 functions.
8255
8256 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * minibuffer.el (minibuffer-complete): Don't just scroll
8259 a *Completions* that's been iconified.
8260 (minibuffer-force-complete): Make sure repetitions do cycle when going
8261 through completion-in-region -> minibuffer-complete.
8262
8263 2013-04-15 Alan Mackenzie <acm@muc.de>
8264
8265 Correct the placement of c-cpp-delimiters when there're #s not at
8266 col 0.
8267
8268 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8269 place a submatch around the #.
8270 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8271 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8272 on the #, not BOL.
8273
8274 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8277 (advice--member-p): New arg `name'.
8278 (advice--add-function, advice-member-p): Use it (bug#14202).
8279
8280 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8281
8282 Reformulate java imenu-generic-expression.
8283 The old expression contained ill formed regexps.
8284
8285 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8286 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8287 (cc-imenu-java-method-arg-regexp): New defconsts.
8288 (cc-imenu-java-build-type-args-regex): New defun.
8289 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8290 handling of spaces in the regexp.
8291
8292 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8293
8294 * textmodes/ispell.el (ispell-command-loop): Remove
8295 flyspell highlight of a word when ispell accepts it (bug #14178).
8296
8297 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8298
8299 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8300 uses code from the previous `ange-ftp-run-real-handler'.
8301 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8302 only in case that function exist. This is needed for proper
8303 unloading of Tramp.
8304
8305 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8306
8307 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8308
8309 * textmodes/reftex.el (reftex-compile-variables): Use it.
8310
8311 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 * files.el (normal-mode): Only use default major-mode if no other mode
8314 was specified.
8315
8316 * emacs-lisp/trace.el (trace-values): New function.
8317
8318 * files.el: Allow : in local variables (bug#14089).
8319 (hack-local-variable-regexp): New var.
8320 (hack-local-variables-prop-line, hack-local-variables): Use it.
8321
8322 2013-04-13 Roland Winkler <winkler@gnu.org>
8323
8324 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8325 data before it gets modified by bibtex-beginning-of-entry.
8326
8327 2013-04-13 Roland Winkler <winkler@gnu.org>
8328
8329 * textmodes/bibtex.el (bibtex-url): Doc fix.
8330
8331 2013-04-13 Roland Winkler <winkler@gnu.org>
8332
8333 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8334 does not visit a BibTeX file, exclude it from the list of buffers
8335 returned by bibtex-initialize.
8336
8337 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8338
8339 * window.el (split-window): Remove interactive form, since as a
8340 command this function is a special case of split-window-below.
8341 Correct doc string.
8342
8343 2013-04-12 Roland Winkler <winkler@gnu.org>
8344
8345 * faces.el (read-face-name): Do not override value of arg default.
8346 Allow single faces and strings as default values. Remove those
8347 elements from return value that are not faces.
8348 (describe-face): Simplify.
8349 (face-at-point): New optional args thing and multiple so that this
8350 function can provide the same functionality previously provided by
8351 read-face-name.
8352 (make-face-bold, make-face-unbold, make-face-italic)
8353 (make-face-unitalic, make-face-bold-italic, invert-face)
8354 (modify-face, read-face-and-attribute): Use face-at-point.
8355
8356 * cus-edit.el (customize-face, customize-face-other-window)
8357 * cus-theme.el (custom-theme-add-face)
8358 * face-remap.el (buffer-face-set)
8359 * facemenu.el (facemenu-set-face): Use face-at-point.
8360
8361 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8362
8363 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8364
8365 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8366
8367 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8368 off leading { and trailing } from field values.
8369
8370 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/timer.el (timer--check): New function.
8373 (timer--time, timer-set-function, timer-event-handler): Use it.
8374 (timer-set-idle-time): Simplify.
8375 (timer--activate): CSE.
8376 (timer-event-handler): Give more info in error message.
8377 (internal-timer-start-idle): New function, moved from C.
8378
8379 * mpc.el (mpc-proc): Add `restart' argument.
8380 (mpc-proc-cmd): Use it.
8381 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8382 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8383 less often.
8384
8385 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8386
8387 * progmodes/sh-script.el: Implement `sh-mode' own
8388 `add-log-current-defun-function' (bug#14112).
8389 (sh-current-defun-name): New function.
8390 (sh-mode): Use the function.
8391
8392 2013-04-09 Bastien Guerry <bzg@gnu.org>
8393
8394 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8395
8396 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8399
8400 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8401 timer (bug#14156).
8402
8403 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8404
8405 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8406 declaration.
8407
8408 2013-04-07 Leo Liu <sdl.web@gmail.com>
8409
8410 * pcmpl-x.el: New file.
8411
8412 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8413
8414 Do not set x-display-name until X connection is established.
8415 This is needed to prevent from weird situation described at
8416 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8417 * frame.el (make-frame): Set x-display-name after call to
8418 window system initialization function, not before.
8419 * term/x-win.el (x-initialize-window-system): Add optional
8420 display argument and use it.
8421 * term/w32-win.el (w32-initialize-window-system):
8422 * term/ns-win.el (ns-initialize-window-system):
8423 * term/pc-win.el (msdos-initialize-window-system):
8424 Add compatible optional display argument.
8425
8426 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8427
8428 * files.el (normal-backup-enable-predicate): On MS-Windows and
8429 MS-DOS compare truenames of temporary-file-directory and of the
8430 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8431 don't fail comparison by compare-strings. Also, compare file
8432 names case-insensitively on MS-Windows and MS-DOS.
8433
8434 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8435
8436 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8437 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8438
8439 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8440
8441 * whitespace.el (whitespace-color-on, whitespace-color-off):
8442 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8443
8444 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8445
8446 * ispell.el (ispell-set-spellchecker-params):
8447 Really set `ispell-args' for all equivs.
8448
8449 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * ido.el (ido-completions): Use extra elements of ido-decorations
8452 (bug#14143).
8453 (ido-decorations): Update docstring.
8454
8455 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8456
8457 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8458 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8459 nil during initialization, in order not to miss changes since the
8460 file was opened. (Bug#14140)
8461
8462 2013-04-05 Leo Liu <sdl.web@gmail.com>
8463
8464 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8465
8466 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8467
8468 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8469
8470 2013-04-04 Glenn Morris <rgm@gnu.org>
8471
8472 * electric.el (electric-pair-inhibit-predicate): Add :version.
8473
8474 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8477 when a package is required several times (bug#14082).
8478
8479 2013-04-04 Roland Winkler <winkler@gnu.org>
8480
8481 * faces.el (read-face-name): Behave as promised by the docstring.
8482 Assume that arg default is a list of faces.
8483 (describe-face): Call read-face-name with list of default faces.
8484
8485 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8486
8487 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8488 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8489 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8490 the header.
8491 (bookmark-exit-hook-internal): Save even if list is empty.
8492
8493 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8494
8495 * emacs-lisp/package.el (package-pinned-packages): New var.
8496 (package--add-to-archive-contents): Obey it (bug#14118).
8497
8498 2013-04-03 Alan Mackenzie <acm@muc.de>
8499
8500 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8501 Also adapt to the new values of element 7 of a parse state.
8502
8503 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8504 parameter `not-in-delimiter'. Handle being inside comment opener.
8505 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8506 character in case we're typing a '*' after a '/'.
8507 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8508 instead by passing the parameter to c-state-pp-to-literal.
8509
8510 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8511 for elt. 7 of a parse state.
8512
8513 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8514
8515 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8516 * international/latin1-disp.el, international/mule-util.el:
8517 * language/cyril-util.el, language/european.el, language/ind-util.el:
8518 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8519 * language/tibetan.el, language/viet-util.el:
8520 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8521
8522 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8525 (electric-pair-post-self-insert-function): Use it.
8526 (electric-pair-default-inhibit): New function, extracted from
8527 electric-pair-post-self-insert-function.
8528
8529 2013-03-31 Roland Winkler <winkler@gnu.org>
8530
8531 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8532
8533 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8536
8537 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8538
8539 Un-indent after "pass" and "return" statements (Bug#13888)
8540 * progmodes/python.el (python-indent-block-enders): New var.
8541 (python-indent-calculate-indentation): Use it.
8542
8543 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8544
8545 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8546 defun. Defining it as defalias could introduce too eager
8547 byte-compiler optimization. (Bug#14030)
8548
8549 2013-03-30 Chong Yidong <cyd@gnu.org>
8550
8551 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8552
8553 2013-03-30 Leo Liu <sdl.web@gmail.com>
8554
8555 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8556 (kmacro-execute-from-register): Pass the keyboard macro to
8557 kmacro-call-macro or repeating won't work correctly.
8558
8559 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8560
8561 * progmodes/subword.el: Back to using `forward-symbol'.
8562
8563 * subr.el (forward-whitespace, forward-symbol)
8564 (forward-same-syntax): Move from thingatpt.el.
8565
8566 2013-03-29 Leo Liu <sdl.web@gmail.com>
8567
8568 * kmacro.el (kmacro-to-register): New command.
8569 (kmacro-execute-from-register): New function.
8570 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8571
8572 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * mpc.el: Use defvar-local and setq-local.
8575 (mpc--proc-connect): Connection failures are not bugs.
8576 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8577 (mpc-volume-map): Bind to the up-events.
8578
8579 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8580
8581 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8582 instead of `forward-symbol'.
8583
8584 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8587 (edebug--recursive-edit): Use it.
8588 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8589 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8590
8591 2013-03-28 Leo Liu <sdl.web@gmail.com>
8592
8593 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8594
8595 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8596
8597 * facemenu.el (list-colors-callback): New defvar.
8598 (list-colors-redisplay): New function.
8599 (list-colors-display): Install list-colors-redisplay as the
8600 revert-buffer-function. (Bug#14063)
8601
8602 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8603
8604 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8605 and suffixes don't overlap (bug#14061).
8606
8607 * case-table.el: Use lexical-binding.
8608 (case-table-get-table): New function.
8609 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8610
8611 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8612
8613 * progmodes/subword.el: Add `superword-mode' to do word motion
8614 over symbol_words (parallels and leverages `subword-mode' which
8615 does word motion inside MixedCaseWords).
8616
8617 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8618
8619 * eshell/em-unix.el: Move su and sudo to...
8620 * eshell/em-tramp.el: ...Eshell tramp module.
8621
8622 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8625 Change return value to be a sexp. Delay `get-buffer' to after
8626 restoring the desktop (bug#13951).
8627
8628 2013-03-26 Leo Liu <sdl.web@gmail.com>
8629
8630 * register.el: Move semantic tag handling back to
8631 cedet/semantic/senator.el. (Bug#14052)
8632
8633 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8636 into the prompt either (bug#13963).
8637
8638 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8641 part of "(error-foo)".
8642
8643 2013-03-24 Juri Linkov <juri@jurta.org>
8644
8645 * replace.el (list-matching-lines-prefix-face): New defcustom.
8646 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8647 `occur-engine' if `face-differs-from-default-p' returns t.
8648 (occur-engine): Add `,' inside backquote construct to evaluate
8649 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8650 Pass `prefix-face' to the functions `occur-context-lines' and
8651 `occur-engine-add-prefix'.
8652 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8653 `prefix-face' and propertize the prefix with `prefix-face'.
8654 (Bug#14017)
8655
8656 2013-03-24 Leo Liu <sdl.web@gmail.com>
8657
8658 * nxml/rng-valid.el (rng-validate-while-idle)
8659 (rng-validate-quick-while-idle): Guard against deleted buffer.
8660 (Bug#13999)
8661
8662 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8663 is the last entry in kill-buffer-hook.
8664
8665 * files.el (kill-buffer-hook): Doc fix.
8666
8667 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8668
8669 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8670 Make it safe-local.
8671
8672 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8673
8674 2013-03-23 Leo Liu <sdl.web@gmail.com>
8675
8676 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8677 Remove.
8678
8679 * nxml/rng-valid.el (rng-validate-mode)
8680 (rng-after-change-function, rng-do-some-validation):
8681 * nxml/rng-maint.el (rng-validate-buffer):
8682 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8683 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8684 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8685 (nxml-extend-after-change-region): Use with-silent-modifications.
8686
8687 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8688 timer-idle-list.
8689
8690 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8691 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8692 timer-idle-list. (Bug#13999)
8693
8694 2013-03-23 Juri Linkov <juri@jurta.org>
8695
8696 * info.el (info-index-match): New face.
8697 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8698 main pattern and add text properties with the new face to matches
8699 in index entries relative to the beginning of the index entry.
8700 (Bug#14015)
8701
8702 2013-03-21 Eric Ludlam <zappo@gnu.org>
8703
8704 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8705 Inhibit read only while inserting objects.
8706
8707 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8708
8709 * progmodes/cfengine.el: Update docs to mention
8710 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8711 symbol motion. Remove "_" from the word syntax.
8712
8713 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8714
8715 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8716 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8717
8718 2013-03-20 Juri Linkov <juri@jurta.org>
8719
8720 * info.el (Info-next-reference-or-link)
8721 (Info-prev-reference-or-link): New functions.
8722 (Info-next-reference, Info-prev-reference): Use them.
8723 (Info-try-follow-nearest-node): Handle footnote navigation.
8724 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8725
8726 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8729 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8730
8731 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8732
8733 Suppress unnecessary non-ASCII chatter during build process.
8734 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8735 (batch-skkdic-convert): Suppress most of the chatter.
8736 It's not needed so much now that machines are faster,
8737 and its non-ASCII component was confusing; see Dmitry Gutov in
8738 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8739
8740 2013-03-20 Leo Liu <sdl.web@gmail.com>
8741
8742 * ido.el (ido-chop): Fix bug#10994.
8743
8744 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8745
8746 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8747 Remove vars.
8748 (whitespace-color-on, whitespace-color-off):
8749 Use `font-lock-fontify-buffer' (Bug#13817).
8750
8751 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8754 remapping in mode-line.
8755 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8756
8757 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8758
8759 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8760 value for `whitespace-line' face (Bug#13875).
8761 (whitespace-font-lock-keywords): Change description.
8762 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8763 the constructed keywords instead.
8764 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8765
8766 2013-03-19 Leo Liu <sdl.web@gmail.com>
8767
8768 * progmodes/compile.el (compilation-display-error): New command.
8769 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8770 C-o. (Bug#13992)
8771
8772 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8773
8774 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8775
8776 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8777
8778 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8779
8780 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8783
8784 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8785 * net/tramp-gvfs.el (top):
8786 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8787 (tramp-handle-shell-command): Use it.
8788 (tramp-dissect-file-name): Raise an error when hostname is a
8789 method name, and neither method nor user is specified.
8790
8791 * net/trampver.el: Update release number.
8792
8793 2013-03-18 Leo Liu <sdl.web@gmail.com>
8794
8795 Make sure eldoc can be turned off properly.
8796 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8797 eldoc-mode.
8798 (eldoc-display-message-p): Revert last change.
8799 (eldoc-display-message-no-interference-p)
8800 (eldoc-print-current-symbol-info): Tweak.
8801
8802 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8803
8804 * doc-view.el (doc-view-new-window-function): Check the new window
8805 overlay's display property instead the char property of the
8806 buffer's first char. Use `with-selected-window' instead of
8807 `save-window-excursion' with `select-window'.
8808 (doc-view-document->bitmap): Check the current doc-view overlay's
8809 display property instead the char property of the buffer's first char.
8810
8811 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8812
8813 Automate the build of ja-dic.el (Bug#13984).
8814 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8815 from the input, rather than assume that it's been done for us by the
8816 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8817 the current date into a ja-dic.el comment, as that complicates
8818 regression testing.
8819
8820 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * whitespace.el: Fix double evaluation.
8823 (whitespace-space, whitespace-hspace, whitespace-tab)
8824 (whitespace-newline, whitespace-trailing, whitespace-line)
8825 (whitespace-space-before-tab, whitespace-indentation)
8826 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8827 obsolete defvars.
8828 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8829 (whitespace-color-on): Use a single font-lock-add-keywords call.
8830 Fix double-evaluation of face variables.
8831
8832 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * net/tramp-adb.el (tramp-adb-parse-device-names):
8835 Use `start-process' instead of `call-process'. Otherwise, the
8836 function might be blocked under MS Windows. (Bug#13299)
8837
8838 2013-03-17 Leo Liu <sdl.web@gmail.com>
8839
8840 Extend eldoc to display info in the mode-line. (Bug#13978)
8841 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8842 (eldoc-mode-line-string): New variable.
8843 (eldoc-minibuffer-message): New function.
8844 (eldoc-message-function): New variable.
8845 (eldoc-message): Use it.
8846 (eldoc-display-message-p)
8847 (eldoc-display-message-no-interference-p):
8848 Support eldoc-post-insert-mode.
8849
8850 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8851 (eval-expression): Run it.
8852
8853 2013-03-17 Roland Winkler <winkler@gnu.org>
8854
8855 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8856 strings in the list of return values.
8857
8858 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8859
8860 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8861 radix before checking for HMS forms.
8862
8863 2013-03-16 Leo Liu <sdl.web@gmail.com>
8864
8865 * progmodes/scheme.el: Add indentation and font-locking for λ.
8866 (Bug#13975)
8867
8868 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8871 token before point (bug#13942).
8872
8873 2013-03-16 Leo Liu <sdl.web@gmail.com>
8874
8875 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8876
8877 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8878
8879 * startup.el (command-line-normalize-file-name): Fix handling of
8880 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8881 <xfq.free@gmail.com> in
8882 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8883
8884 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8885
8886 Sync with Tramp 2.2.7.
8887
8888 * net/trampver.el: Update release number.
8889
8890 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8891
8892 * doc-view.el: Fix bug#13887.
8893 (doc-view-insert-image): Don't modify overlay associated to
8894 non-live windows, and implement horizontal centering of image in
8895 case it's smaller than the window.
8896 (doc-view-new-window-function): Force redisplay of new windows on
8897 doc-view buffers.
8898
8899 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8900
8901 * saveplace.el (save-place-alist-to-file): Don't sort
8902 `save-place-alist', just pretty-print it (bug#13882).
8903
8904 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8905
8906 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8907 Check whether `default-file-name-coding-system' is bound.
8908 It isn't in XEmacs.
8909
8910 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8913 backquotes for `obsolete' (bug#13929).
8914
8915 * international/mule.el (find-auto-coding): Include file name in
8916 obsolescence warning (bug#13922).
8917
8918 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8919
8920 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8921 for CFEngine 3-specific indentation.
8922 (cfengine3-indent-line): Use it. Fix up category regex.
8923 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8924
8925 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * type-break.el (type-break-file-name):
8928 * textmodes/remember.el (remember-data-file):
8929 * strokes.el (strokes-file):
8930 * shadowfile.el (shadow-initialize):
8931 * saveplace.el (save-place-file):
8932 * ps-bdf.el (bdf-cache-file):
8933 * progmodes/idlwave.el (idlwave-config-directory):
8934 * net/quickurl.el (quickurl-url-file):
8935 * international/kkc.el (kkc-init-file-name):
8936 * ido.el (ido-save-directory-list-file):
8937 * emulation/viper.el (viper-custom-file-name):
8938 * emulation/vip.el (vip-startup-file):
8939 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8940 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8941
8942 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8943
8944 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8945 * language/thai-word.el: Switch to UTF-8.
8946
8947 See ChangeLog.16 for earlier changes.
8948
8949 ;; Local Variables:
8950 ;; coding: utf-8
8951 ;; End:
8952
8953 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8954
8955 This file is part of GNU Emacs.
8956
8957 GNU Emacs is free software: you can redistribute it and/or modify
8958 it under the terms of the GNU General Public License as published by
8959 the Free Software Foundation, either version 3 of the License, or
8960 (at your option) any later version.
8961
8962 GNU Emacs is distributed in the hope that it will be useful,
8963 but WITHOUT ANY WARRANTY; without even the implied warranty of
8964 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8965 GNU General Public License for more details.
8966
8967 You should have received a copy of the GNU General Public License
8968 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.