* lisp/Makefile.in (check-declare): Remove unnecessary path in -l argument
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-24 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4
5 * Makefile.in (abs_top_srcdir): New, set by configure.
6 (update-subdirs): Correct build-aux location.
7
8 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
9
10 * vc/vc.el (vc-print-root-log): Always set `default-directory'
11 value, whether we could auto-deduce `backend', or not.
12
13 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
14 with parameters" example. Simplify the "is it block or is it
15 hash" check, but also make it more thorough.
16
17 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
18
19 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
20
21 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
24 { if it is hanging.
25
26 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
27 :before ";".
28
29 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
30
31 * progmodes/compile.el (compilation-directory-matcher)
32 (compilation-page-delimiter):
33 Support GNU Make-4.0 directory quoting. (Bug#15678)
34
35 2013-10-23 Leo Liu <sdl.web@gmail.com>
36
37 * ido.el (ido-tidy): Handle read-only text.
38
39 2013-10-23 Glenn Morris <rgm@gnu.org>
40
41 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
42 (emacs, compile, compile-always):
43 Quote entities that might contain whitespace.
44 (custom-deps, finder-data, autoloads): Use abs_lisp.
45 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
46 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
47 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
48
49 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
50
51 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
52 Use `following-char'.
53
54 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
57 * progmodes/ruby-mode.el (ruby-smie-rules):
58 Remove corresponding workaround. Fix indentation rule of ";" so it
59 also applies when ";" is the parent.
60
61 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
62
63 * frame.el (display-screens, display-pixel-height)
64 (display-pixel-width, display-mm-width, display-backing-store)
65 (display-save-under, display-planes, display-color-cells)
66 (display-visual-class, display-monitor-attributes-list):
67 Mention the optional ‘display’ argument in doc strings.
68
69 2013-10-22 Michael Gauland <mikelygee@amuri.net>
70
71 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
72 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
73
74 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
75
76 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
77 TODO. Add "." after " @ ".
78 (ruby-smie--at-dot-call): New function. Checks if point at method
79 call with explicit target.
80 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
81 to the method name tokens when it precedes them.
82 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
83 (ruby-smie-rules): Add rule for indentation before and after "."
84 token.
85
86 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * textmodes/remember.el (remember-diary-extract-entries):
89 Avoid add-to-list.
90
91 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
92 an instruction.
93
94 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
95
96 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
97 (ruby-smie--implicit-semi-p): Add new operator chars.
98
99 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
100 `smie-down-list'.
101 (ruby-smie--args-separator-p): Check that there's no newline
102 between method call and its arguments.
103
104 2013-10-20 Alan Mackenzie <acm@muc.de>
105
106 Allow comma separated lists after Java "implements".
107
108 * progmodes/cc-engine.el (c-backward-over-enum-header):
109 Parse commas.
110 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
111 from a "disallowed" list in enum fontification.
112
113 2013-10-20 Johan Bockgård <bojohan@gnu.org>
114
115 * startup.el (default-frame-background-mode): Remove unused defvar.
116
117 * progmodes/verilog-mode.el (verilog-mode): Don't set
118 comment-indent-function globally.
119
120 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
121
122 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
123 Move Info menu item creation to ns-win.el.
124
125 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
126 in menu bar.
127
128 * menu-bar.el: Move GNUStep specific menus...
129
130 * term/ns-win.el (ns-initialize-window-system): ... to here.
131
132 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * simple.el (newline): Only run post-self-insert-hook when
135 called interactively.
136
137 2013-10-19 Johan Bockgård <bojohan@gnu.org>
138
139 * icomplete.el (icomplete-with-completion-tables): Add :version.
140
141 2013-10-19 Alan Mackenzie <acm@muc.de>
142
143 Fix fontification bugs with constructors and const.
144
145 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
146 CASE 2) Remove the check for the absence of a suffix construct
147 after a function declaration with only types (no identifiers) in
148 the parentheses. Also, accept a function declaration with just a
149 type inside the parentheses, if this type can be positively
150 recognised as such, or if a prefix keyword like "explicit" nails
151 down the construct as a declaration.
152
153 2013-10-19 Eli Zaretskii <eliz@gnu.org>
154
155 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
156 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
157 the problem whereby selecting a menu item that leads to a
158 minibuffer prompt moves the cursor out of the minibuffer window,
159 making it hard to type at the prompt. Suggested by Stefan Monnier
160 <monnier@iro.umontreal.ca>.
161
162 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
163
164 * menu-bar.el: Don't make Services menu.
165
166 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
167
168 * ffap.el: Handle "/usr/include/c++/<version>" directories.
169 (ffap-alist): Use ffap-c++-mode for c++-mode.
170 (ffap-c++-path): New variable.
171 (ffap-c++-mode): New function.
172
173 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
174
175 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
176
177 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
178
179 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
180 introduced on 2013-09-08, which results in an infinite loop
181 requesting a password.
182
183 2013-10-18 Glenn Morris <rgm@gnu.org>
184
185 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
186
187 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
188
189 Sync with upstream verilog-mode revision 1a6ecec7.
190 * progmodes/verilog-mode.el (verilog-mode-version): Update.
191 (verilog-mode-release-date): Remove.
192 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
193 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
194 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
195 (verilog-auto-tieoff-ignore-regexp)
196 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
197 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
198 (verilog-signals-with, verilog-dir-cache-preserving)
199 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
200 Doc fixes.
201 (verilog-case-fold): New option, to control case folding in
202 regexp searches, bug597.
203 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
204 (verilog-string-match-fold, verilog-in-paren-count)
205 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
206 (verilog-at-close-struct-p): New functions.
207 (verilog-beg-block-re-ordered, verilog-extended-case-re)
208 (verilog-forward-sexp, verilog-set-auto-endcomments):
209 (verilog-leap-to-case-head): Handle "unique0" case.
210 (verilog-in-constraint-re): New constant.
211 (verilog-keywords, verilog-type-font-keywords):
212 Add some SystemVerilog 1800-2012 keywords.
213 (verilog-label-be): Remove unimplemented argument, bug669.
214 (verilog-batch-execute-func): When batch expanding clear
215 create-lockfiles to prevent spurious user locks when a file ends
216 up not changing.
217 (verilog-calculate-indent, verilog-calc-1)
218 (verilog-at-close-constraint-p, verilog-at-constraint-p)
219 (verilog-do-indent): Fix indentation of nested constraints
220 and structures.
221 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
222 (verilog-auto-inst-param): Use verilog-string-match-fold.
223 (verilog-read-inst-module-matcher):
224 Fix AUTOINST on gate primitives with #1.
225 (verilog-read-decls): Fix double-declaring user-defined typed signals.
226 Reads all user-defined typed variables.
227 (verilog-read-defines): Fix reading definitions inside comments, bug647.
228 (verilog-signals-matching-regexp)
229 (verilog-signals-not-matching-regexp, verilog-auto):
230 Respect verilog-case-fold.
231 (verilog-diff-report): Fix line count.
232 (verilog-auto-assign-modport): Remove unused local `modi'.
233 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
234 better handle multidimensional arrays.
235 Fix packed array ports misadding bit index in AUTOINST, bug637.
236 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
237 to not double-declare existing outputs and inputs, respectively.
238 (verilog-template-map): Bind U to verilog-sk-uvm-component.
239 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
240 (verilog-sk-uvm-component): New skeleton.
241 (verilog-submit-bug-report): Add verilog-case-fold,
242 remove verilog-mode-release-date.
243
244 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
245
246 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
247 as before.
248
249 2013-10-18 Reuben Thomas <rrt@sc3d.org>
250
251 * textmodes/remember.el (remember): set buffer-offer-save in
252 remember buffers (bug#13566).
253
254 2013-10-18 Daniel Colascione <dancol@dancol.org>
255
256 When evaluating forms in ielm, direct standard output to ielm
257 buffer. Add new ielm-return-for-effect command. Remove trailing
258 whitespace throughout.
259
260 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
261 (ielm-return-for-effect): New command.
262 (ielm-send-input): Accept optional `for-effect' parameter.
263 (ielm-eval-input): Accept optional `for-effect' parameter.
264 Bind `standard-output' to stream we create using
265 `ielm-standard-output-impl'. Suppress printing result when
266 `for-effect'.
267 (ielm-standard-output-impl): New function.
268 (inferior-emacs-lisp-mode): Explain new features in documentation.
269
270 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
271
272 Code cleanup.
273
274 * net/tramp.el (tramp-debug-message): Do not check for connection
275 buffer.
276 (tramp-message): Use "vector" connection property.
277
278 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
279 (tramp-equal-remote, tramp-eshell-directory-change)
280 * net/tramp-adb.el (tramp-adb-handle-copy-file)
281 (tramp-adb-handle-rename-file)
282 * net/tramp-cmds.el (tramp-list-remote-buffers)
283 (tramp-cleanup-connection, tramp-cleanup-this-connection)
284 * net/tramp-compat.el (tramp-compat-process-running-p)
285 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
286 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
287 (tramp-gvfs-handle-rename-file)
288 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
289 (tramp-set-file-uid-gid)
290 * net/tramp-smb.el (tramp-smb-handle-copy-file)
291 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
292 of `file-remote-p'.
293
294 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
295 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
296 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
297 (tramp-gw-open-network-stream): Suppress unrelated traces.
298
299 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
300 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
302 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
303 connection property.
304
305 * net/tramp-cache.el (top): Suppress traces when reading
306 persistency file.
307
308 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
309 Refactor common code. Improve debug message.
310 (tramp-maybe-open-connection)
311 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
312 connection buffer too early.
313
314 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
315 from `tramp-smb-actions-with-acl'.
316 (tramp-smb-actions-set-acl): New defconst.
317 (tramp-smb-handle-copy-directory)
318 (tramp-smb-action-get-acl): New defun, renamed from
319 `tramp-smb-action-with-acl'.
320 (tramp-smb-action-set-acl): New defun.
321 (tramp-smb-handle-set-file-acl): Rewrite.
322
323 2013-10-17 Glenn Morris <rgm@gnu.org>
324
325 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
326
327 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * skeleton.el (skeleton-newline): Remove.
330 (skeleton-internal-1): Use (insert "\n") instead.
331
332 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
333 let-bindings.
334
335 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
336 forward-sexp-function while we redo its job (bug#15613).
337
338 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
339
340 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
341 represented by lists.
342
343 2013-10-16 Glenn Morris <rgm@gnu.org>
344
345 * tmm.el (tmm--history): New dynamic variable.
346 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
347
348 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
349
350 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
351 (tramp-smb-errors): Add error messages.
352 (tramp-smb-actions-with-acl): New defconst.
353 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
354 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
355 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
356 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
357 (tramp-smb-get-stat-capability): Fix tests.
358
359 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
360
361 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
362 (bug#15580).
363
364 2013-10-16 Glenn Morris <rgm@gnu.org>
365
366 * ansi-color.el (ansi-color-drop-regexp):
367 Add 1J, 1K, 2K. (Bug#15617)
368
369 * files.el (hack-local-variables--warned-lexical): New.
370 (hack-local-variables):
371 Warn about misplaced lexical-binding. (Bug#15616)
372
373 * net/eww.el (eww-render): Always set eww-current-url,
374 and update header line. (Bug#15622)
375 (eww-display-html): ... Rather than just doing it here.
376
377 2013-10-15 Eli Zaretskii <eliz@gnu.org>
378
379 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
380 menu navigations commands.
381
382 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
383
384 * progmodes/subword.el (subword-capitalize): Be careful when
385 the search for [[:alpha:]] fails (bug#15580).
386
387 2013-10-14 Eli Zaretskii <eliz@gnu.org>
388
389 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
390 to commands that scroll the menu.
391
392 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
393
394 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
395 Handle methods ending with `?' and `!'.
396
397 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
398
399 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
400 `japanese-cp932' to `cp932' to fix the problem where saving a
401 source file written in Shift_JIS twice would end up having
402 `coding: japanese-cp932' which Ruby could not recognize.
403 (ruby-mode-set-encoding): Add support for encodings mapped to nil
404 in `ruby-encoding-map'.
405 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
406 doesn't need to be explicitly declared in magic comment.
407 (ruby-encoding-map): Add type declaration for better customize UI.
408
409 2013-10-13 Glenn Morris <rgm@gnu.org>
410
411 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
412 Occur buffers are read-only. http://bugs.debian.org/720775
413
414 * emacs-lisp/authors.el (authors-fixed-entries):
415 Comment out old alpha stuff.
416
417 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
418
419 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
420 to `after-save-hook' instead of `before-save-hook'.
421 (ruby-mode-set-encoding): Use the value of coding system used to
422 write the file. Call `basic-save-buffer-1' after modifying the
423 buffer.
424
425 2013-10-13 Alan Mackenzie <acm@muc.de>
426
427 Fix indentation/fontification of Java enum with
428 "implements"/generic.
429
430 * progmodes/cc-engine.el (c-backward-over-enum-header):
431 Extracted from the three other places and enhanced to handle generics.
432 (c-inside-bracelist-p): Uses new function above.
433 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
434 function above.
435 (c-font-lock-enum-tail): Uses new function above.
436
437 2013-10-13 Kenichi Handa <handa@gnu.org>
438
439 * international/mule-cmds.el (select-safe-coding-system): Remove a
440 superfluous condition in chekcing whether a coding system is safe
441 or not.
442
443 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
444
445 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
446
447 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
448
449 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
450
451 2013-10-13 Glenn Morris <rgm@gnu.org>
452
453 * menu-bar.el (menu-bar-update-buffers):
454 Unify Buffers menu prompt string. (Bug#15576)
455
456 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
457
458 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
459 Add some entries.
460 (authors-fixed-entries): Use accented form of name.
461
462 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
465 method calls (bug#15594).
466 (ruby-smie--args-separator-p): New function.
467 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
468 recognize paren-free method calls.
469
470 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
471 internals of universal-argument.
472
473 2013-10-11 Eli Zaretskii <eliz@gnu.org>
474
475 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
476 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
477 dropped menu on second mouse click on the menu bar.
478
479 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
482 (explicit-shell-file-name): Declare.
483 (sh--vars-before-point, sh--cmd-completion-table): New functions.
484 (sh-completion-at-point-function): New function.
485 (sh-mode): Use it.
486 (sh-smie--keyword-p): Remove unused argument.
487 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
488 vars.
489 (sh-set-shell): Always setup SMIE, even if we use the
490 old indentation code.
491
492 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
493
494 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
495 cases of ? and =.
496 (ruby-smie-rules): Simplify the "do" rule. The cases when the
497 predicate would return nil are almost non-existent.
498 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
499
500 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
501 cache also after commands that modify the buffer but don't move
502 point.
503
504 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * env.el (substitute-env-in-file-name): New function.
507 (substitute-env-vars): Extend the meaning of the optional arg.
508
509 2013-10-10 Eli Zaretskii <eliz@gnu.org>
510
511 * term/w32-win.el (dynamic-library-alist): Define separate lists
512 of GIF DLLs for versions before and after 5.0.0 of giflib.
513 (Bug#15531)
514
515 2013-10-10 João Távora <joaotavora@gmail.com>
516
517 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
518 not locked, use last revision and current source as
519 defaults. (Bug#15569)
520
521 2013-10-10 Masatake YAMATO <yamato@redhat.com>
522
523 * menu-bar.el (menu-bar-open): Don't use popup-menu if
524 menu-bar is hidden.
525
526 2013-10-10 Martin Rudalics <rudalics@gmx.at>
527
528 * window.el (pop-to-buffer-same-window): Fix doc-string.
529 (Bug#15492)
530
531 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
534
535 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
536
537 * calendar/icalendar.el (icalendar-import-file):
538 Fix interactive spec. (Bug#15482)
539
540 2013-10-10 Glenn Morris <rgm@gnu.org>
541
542 * desktop.el (desktop-save): Default to saving in .emacs.d,
543 since PWD is no longer in desktop-path by default. (Bug#15319)
544
545 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
546 now that text mode has a menu with the same entry.
547 (menu-bar-text-mode-auto-fill): Remove now unused func.
548 * textmodes/text-mode.el (text-mode-map):
549 Use auto-fill help text from menu-bar.el.
550
551 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
552
553 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
554
555 2013-10-09 Juri Linkov <juri@jurta.org>
556
557 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
558 instead of this-command-keys. Add universal-argument-more and
559 universal-argument-minus to the list of prefix commands. (Bug#15568)
560
561 2013-10-09 Glenn Morris <rgm@gnu.org>
562
563 * vc/vc-svn.el (vc-svn-create-repo):
564 Expand paths in file://... url. (Bug#15446)
565
566 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
567 Add some entries.
568 (authors): Remove unused local variables.
569
570 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * profiler.el: Create a more coherent calltree from partial backtraces.
573 (profiler-format): Hide the tail with `invisible' so that C-s can still
574 find the hidden elements.
575 (profiler-calltree-depth): Don't recurse so enthusiastically.
576 (profiler-function-equal): New hash-table-test.
577 (profiler-calltree-build-unified): New function.
578 (profiler-calltree-build): Use it.
579 (profiler-report-make-name-part): Indent the calltree less.
580 (profiler-report-mode): Add visibility specs for profiler-format.
581 (profiler-report-expand-entry, profiler-report-toggle-entry):
582 Expand the whole subtree when provided with a prefix arg.
583
584 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
585
586 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
587 iuwu-mod token.
588 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
589 hanging iuwu-mod token.
590 (ruby-smie--forward-token): Do not include a dot after a token in
591 that token.
592 (ruby-smie--backward-token): Likewise.
593
594 2013-10-08 Juri Linkov <juri@jurta.org>
595
596 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
597 to isearch-other-control-char.
598 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
599 and isearch-post-command-hook to post-command-hook.
600 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
601 and isearch-post-command-hook from post-command-hook.
602 (isearch-unread-key-sequence)
603 (isearch-reread-key-sequence-naturally)
604 (isearch-lookup-scroll-key, isearch-other-control-char)
605 (isearch-other-meta-char): Remove functions.
606 (isearch-pre-command-hook, isearch-post-command-hook):
607 New functions based on isearch-other-meta-char rewritten
608 relying on the new behavior of overriding-terminal-local-map
609 that does not replace the local keymaps any more. (Bug#15200)
610
611 2013-10-08 Eli Zaretskii <eliz@gnu.org>
612
613 Support menus on text-mode terminals.
614 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
615 functionality.
616
617 * tooltip.el (tooltip-mode): Don't error out on TTYs.
618
619 * menu-bar.el (popup-menu, popup-menu-normalize-position):
620 Move here from mouse.el.
621 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
622 and arrow keys.
623 (tty-menu-navigation-map): New map for TTY menu navigation.
624
625 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
626
627 * frame.el (display-mouse-p): Report text-mode mouse as available
628 on w32.
629 (display-popup-menus-p): Report availability if mouse is
630 available; don't condition on window-system.
631
632 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
633 (tty-menu-selected-face): New faces.
634
635 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
636
637 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
638 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
639 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
640 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
641 New constants.
642 (lisp-mode-variables): New `elisp' argument.
643 (emacs-lisp-mode): Use it.
644 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
645 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
646
647 * indent.el: Use lexical-binding.
648 (indent-region): Add progress reporter.
649 (tab-stop-list): Make it implicitly extend to infinity by repeating the
650 last step.
651 (indent--next-tab-stop): New function to implement this behavior.
652 (tab-to-tab-stop, move-to-tab-stop): Use it.
653
654 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
655
656 * indent.el (indent-rigidly--current-indentation): New function.
657 (indent-rigidly-map): New var.
658 (indent-rigidly): Use it to provide interactive mode (bug#8196).
659
660 2013-10-08 Bastien Guerry <bzg@gnu.org>
661
662 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
663
664 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * progmodes/perl-mode.el: Use lexical-binding.
667 Remove redundant :group args.
668 (perl-nochange): Change default to be closer to other major modes's
669 standard behavior.
670 (perl-indent-line): Don't consider text on current line as a
671 valid beginning of function from which to indent.
672
673 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
674 with more than one argument (bug#15538).
675
676 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
677
678 * vc/pcvs.el: Use lexical-binding.
679 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
680 environment of `eval'.
681 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
682 than a list of expressions. Adjust callers.
683 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
684
685 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
686
687 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
688 case of the dot in a chained method call being on the following line.
689
690 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * electric.el (electric-indent-inhibit): New var.
693 (electric-indent-post-self-insert-function): Use it.
694 * progmodes/python.el (python-mode): Set it.
695
696 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
697 open braces.
698
699 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
700
701 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
702 (css-mode): Use electric-indent-chars.
703
704 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
705 (font-lock-beg, font-lock-end): Move before first use.
706 (nxml-mode): Use syntax-propertize-function.
707 (nxml-after-change, nxml-after-change1): Adjust accordingly.
708 (nxml-extend-after-change-region): Remove.
709 * nxml/xmltok.el: Use lexical-binding.
710 (xmltok-save): Use `declare'.
711 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
712 * nxml/nxml-util.el: Use lexical-binding.
713 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
714 Use `declare'.
715 * nxml/nxml-ns.el: Use lexical-binding.
716 (nxml-ns-save): Use `declare'.
717 (nxml-ns-prefixes-for): Avoid add-to-list.
718 * nxml/rng-match.el: Use lexical-binding.
719 (rng--ipattern): Use cl-defstruct.
720 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
721 (rng-cons-group-after, rng-subst-group-after)
722 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
723 Use closures instead of `(lambda...).
724
725 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
726
727 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
728 of BEG and END.
729
730 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
731 Use `tramp-handle-insert-file-contents'.
732 (tramp-gvfs-handle-insert-file-contents): Remove function.
733
734 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
735 Use `save-restriction' in order to keep markers.
736
737 * net/trampver.el: Update release number.
738
739 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * progmodes/compile.el (compilation-parse-errors):
742 Use compilation--put-prop.
743 (compilation--ensure-parse): Check compilation-multiline.
744
745 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
746
747 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
748 lexical-binding.
749
750 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
751
752 * progmodes/ruby-mode.el: Fix recently added tests.
753 (ruby-smie-grammar): Add - and +.
754 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
755 (ruby-smie--backward-id): New functions.
756 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
757 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
758 any more.
759
760 2013-10-07 Leo Liu <sdl.web@gmail.com>
761
762 * register.el (register-preview-delay)
763 (register-preview-functions): New variables.
764 (register-read-with-preview, register-preview)
765 (register-describe-oneline): New functions.
766 (point-to-register, window-configuration-to-register)
767 (frame-configuration-to-register, jump-to-register)
768 (number-to-register, view-register, insert-register)
769 (copy-to-register, append-to-register, prepend-to-register)
770 (copy-rectangle-to-register): Use register-read-with-preview to
771 read register. (Bug#15525)
772
773 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
774
775 * net/network-stream.el (network-stream-open-starttls): Don't add
776 --insecure if it's already present, because that gnutls-cli
777 rejects getting that parameter twice.
778
779 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
780
781 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
782 keyword, too.
783
784 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
785
786 * newcomment.el (comment-use-global-state): Change default value
787 to t, mark obsolete (Bug#15251).
788 (comment-beginning): In addition to `comment-to-syntax', check the
789 value of `comment-use-global-state'.
790
791 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
794 (ruby-comment-column): Follow the global default, by default.
795 (ruby-smie-grammar): Add assignment syntax.
796 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
797 open-paren, a comma, or a \.
798 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
799 and line continuations.
800 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
801 followed by implicit semi-colons. Add rule for string concatenation
802 and for indentation at BOB.
803 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
804
805 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
806 calling next-sexp, since next-token may have skipped chars which
807 next-sexp doesn't know should be skipped!
808
809 2013-10-05 Leo Liu <sdl.web@gmail.com>
810
811 * progmodes/octave.el (octave-send-region):
812 Call compilation-forget-errors.
813
814 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
815
816 * vc/vc-svn.el (vc-svn-find-admin-dir):
817 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
818 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
819 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
820 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
821
822 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
825
826 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * subr.el (read-passwd): Hide chars even when called within a context
829 where after-change-functions is disabled (bug#15501).
830 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
831 until we removed ourself from overriding-terminal-local-map.
832
833 2013-10-04 Leo Liu <sdl.web@gmail.com>
834
835 * progmodes/octave.el (inferior-octave-mode):
836 Call compilation-forget-errors.
837
838 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
839
840 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
841
842 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
843
844 * net/secrets.el (secrets-create-collection): Add optional
845 argument ALIAS. Use proper Label keyword. Append ALIAS as
846 dbus-call-method argument. (Bug#15516)
847
848 2013-10-04 Leo Liu <sdl.web@gmail.com>
849
850 * progmodes/octave.el (inferior-octave-error-regexp-alist)
851 (inferior-octave-compilation-font-lock-keywords): New variables.
852 (compilation-error-regexp-alist)
853 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
854 (inferior-octave-mode): Use compilation-shell-minor-mode.
855
856 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
857
858 * minibuffer.el (completion--replace): Be careful that `end' might be
859 a marker.
860
861 2013-10-03 Daiki Ueno <ueno@gnu.org>
862
863 Add support for package signature checking.
864 * emacs-lisp/package.el (url-http-file-exists-p)
865 (epg-make-context, epg-context-set-home-directory)
866 (epg-verify-string, epg-context-result-for)
867 (epg-signature-status, epg-signature-to-string)
868 (epg-check-configuration, epg-configuration)
869 (epg-import-keys-from-file): Declare.
870 (package-check-signature): New user option.
871 (package-unsigned-archives): New user option.
872 (package-desc): Add `signed' field.
873 (package-load-descriptor): Set `signed' field if .signed file exists.
874 (package--archive-file-exists-p): New function.
875 (package--check-signature): New function.
876 (package-install-from-archive): Check package signature.
877 (package--download-one-archive): Check archive signature.
878 (package-delete): Remove .signed file.
879 (package-import-keyring): New command.
880 (package-refresh-contents): Import default keyring.
881 (package-desc-status): Add "unsigned" status.
882 (describe-package-1, package-menu--print-info)
883 (package-menu-mark-delete, package-menu--find-upgrades)
884 (package-menu--status-predicate): Support "unsigned" status.
885
886 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
889 the new compilation scheme using the new byte-codes.
890
891 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
892 (byte-pophandler): New byte codes.
893 (byte-goto-ops): Adjust accordingly.
894 (byte-compile--use-old-handlers): New var.
895 (byte-compile-catch): Use new byte codes depending on
896 byte-compile--use-old-handlers.
897 (byte-compile-condition-case--old): Rename from
898 byte-compile-condition-case.
899 (byte-compile-condition-case--new): New function.
900 (byte-compile-condition-case): New function that dispatches depending
901 on byte-compile--use-old-handlers.
902 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
903 when we can.
904
905 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
906 Optimize under `condition-case' and `catch' if
907 byte-compile--use-old-handlers is nil.
908 (disassemble-offset): Handle new bytecodes.
909
910 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * subr.el (error): Use `declare'.
913 (decode-char, encode-char): Use advertised-calling-convention instead
914 of the docstring to discourage use of the `restriction' arg.
915
916 2013-10-03 Daiki Ueno <ueno@gnu.org>
917
918 * epg.el (epg-verify-file): Add a comment saying that it does not
919 notify verification error as a return value nor a signal.
920 (epg-verify-string): Ditto.
921
922 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
923
924 * progmodes/compile.el (compilation-start): Try globbing the arg to
925 `cd' (bug#15417).
926
927 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
928
929 Sync with Tramp 2.2.8.
930
931 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
932 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
933 * net/trampver.el: Update release number.
934
935 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
936
937 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
938 and default-process-coding-system for darwin only.
939
940 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
943
944 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
945
946 * vc/vc-git.el (vc-git-grep): Disable pager.
947
948 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
949
950 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
951 Use :url instead of :homepage, as per
952 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
953
954 * newcomment.el (comment-beginning): When `comment-use-syntax' is
955 non-nil, use `syntax-ppss' (Bug#15251).
956
957 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
958
959 * progmodes/octave.el (inferior-octave-startup-file):
960 Prefer ~/.emacs.d/init_octave.m.
961
962 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
963
964 * emacs-lisp/package.el (package-desc-from-define):
965 Accept additional arguments as plist, convert them to an alist and store
966 them in the `extras' slot.
967 (package-generate-description-file): Convert extras alist back to
968 plist and append to the `define-package' form arguments.
969 (package--alist-to-plist): New function.
970 (package--ac-desc): Add `extras' slot.
971 (package--add-to-archive-contents): Check if the archive-contents
972 vector is long enough, and if it is, pass its `extras' slot value
973 to `package-desc-create'.
974 (package-buffer-info): Call `lm-homepage', pass the returned value
975 to `package-desc-from-define'.
976 (describe-package-1): Render the homepage button (Bug#13291).
977
978 * emacs-lisp/package-x.el (package-upload-buffer-internal):
979 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
980
981 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
982
983 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
984 and default-process-coding-system to utf-8-unix (Bug#15402).
985
986 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
987
988 * subr.el (looking-back): Do not recommend using looking-back.
989
990 2013-09-28 Alan Mackenzie <acm@muc.de>
991
992 Fix indentation/fontification of Java enum with "implements".
993
994 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
995 regexp which matches "implements", etc., in Java.
996 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
997 specifier clauses coming after "enum".
998 * progmodes/cc-fonts.el (c-font-lock-declarations)
999 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1000 after "enum".
1001
1002 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1003
1004 * faces.el (region): Change ns_selection_color to
1005 ns_selection_fg_color, add ns_selection_bg_color.
1006
1007 2013-09-28 Leo Liu <sdl.web@gmail.com>
1008
1009 * progmodes/octave.el (inferior-octave-completion-table)
1010 (inferior-octave-completion-at-point): Minor tweaks.
1011
1012 * textmodes/ispell.el (ispell-lookup-words): Rename from
1013 lookup-words. (Bug#15460)
1014 (lookup-words): Obsolete.
1015 (ispell-complete-word, ispell-command-loop): All uses changed.
1016
1017 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1018
1019 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1020 (octave-mode-menu): Add octave-send-buffer.
1021 (octave-send-buffer): New function.
1022
1023 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1024
1025 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1026 octave-lookfor.
1027 (octave-mode-menu): Add octave-lookfor.
1028 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1029 octave-lookfor.
1030 (octave-lookfor): New function.
1031
1032 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * emacs-lisp/cl-macs.el:
1035 (cl--loop-destr-temps): Remove.
1036 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1037 its convention.
1038 (cl--loop-set-iterator-function): New function.
1039 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1040 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1041 Bind `it' with `let' instead of substituting it with `cl-subst'.
1042 (cl--unused-var-p): New function.
1043 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1044 Eliminate some unused variable warnings (bug#15326).
1045
1046 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1047
1048 * doc-view.el (doc-view-scale-reset): Rename from
1049 `doc-view-reset-zoom-level'.
1050 (doc-view-scale-adjust): New command.
1051 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1052 `doc-view-scale-adjust'.
1053
1054 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1055
1056 * doc-view.el (doc-view-reset-zoom-level): New command.
1057 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1058 zoom commands (bug#15466).
1059
1060 2013-09-26 Kenichi Handa <handa@gnu.org>
1061
1062 * international/quail.el (quail-help): Make it not a command.
1063
1064 2013-09-26 Leo Liu <sdl.web@gmail.com>
1065
1066 * minibuffer.el (completion-all-sorted-completions): Make args
1067 optional as they are.
1068
1069 2013-09-25 Daniel Colascione <dancol@dancol.org>
1070
1071 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1072 specs are and that they're not evaluated.
1073
1074 2013-09-24 Sam Steingold <sds@gnu.org>
1075
1076 * midnight.el (clean-buffer-list-kill-regexps)
1077 (clean-buffer-list-kill-buffer-names): Update for the new Man
1078 buffer naming which includes the object name.
1079
1080 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1083 (eshell-parse-command, eshell-parse-pipeline): Use it since
1084 eshell-separate-commands requires a dynamic scoped var.
1085 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1086
1087 2013-09-23 Leo Liu <sdl.web@gmail.com>
1088
1089 * autoinsert.el (auto-insert-alist): Make the value of
1090 lexical-binding match its file setting.
1091
1092 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1093
1094 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1095
1096 * autoarg.el (autoarg-kp-digit-argument):
1097 * electric.el (Electric-command-loop):
1098 * kmacro.el (kmacro-step-edit-insert):
1099 Do not set universal-argument-num-events.
1100
1101 2013-09-22 Leo Liu <sdl.web@gmail.com>
1102
1103 * files.el (interpreter-mode-alist): Add octave.
1104
1105 2013-09-21 Alan Mackenzie <acm@muc.de>
1106
1107 C++: fontify identifier in declaration following "public:" correctly.
1108 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1109 to match "public", etc.
1110 (c-decl-prefix-re): Add ":" into the C++ value.
1111 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1112 bit. Add a check for a ":" preceded by "public", etc.
1113
1114 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1115
1116 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1117 recognized by GDB 7.5 and later.
1118
1119 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1120
1121 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1122
1123 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * subr.el (internal--call-interactively): New const.
1126 (called-interactively-p): Use it (bug#3984).
1127
1128 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1129
1130 * vc/pcvs.el (cvs-mode-ignore):
1131 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1132 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1133
1134 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1137 (eshell-ls-orig-insert-directory): Remove.
1138 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1139 (eshell-ls-use-in-dired): Use advice-add/remove.
1140 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1141 Add `orig-fun' arg for use in :around advice.
1142 Make it check (redundantly) eshell-ls-use-in-dired.
1143
1144 2013-09-19 Glenn Morris <rgm@gnu.org>
1145
1146 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1147
1148 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1149
1150 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1151
1152 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1153
1154 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1155 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1156 (tramp-get-remote-python): New defuns.
1157 (tramp-get-remote-uid-with-perl)
1158 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1159 contributed by yary <not.com@gmail.com> (tiny change).
1160 (tramp-get-remote-uid-with-python)
1161 (tramp-get-remote-gid-with-python): New defuns. Python code
1162 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1163 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1164
1165 2013-09-19 Glenn Morris <rgm@gnu.org>
1166
1167 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1168
1169 * eshell/em-unix.el (eshell-remove-entries):
1170 Rename argument to avoid name-clash with global `top-level'.
1171
1172 * eshell/esh-proc.el (eshell-kill-process-function):
1173 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1174 (eshell-reset-after-proc): Remove unused arg `proc'.
1175
1176 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1177 (directory-files-and-attributes): Mark unused arg.
1178
1179 * eshell/em-unix.el (eshell-remove-entries):
1180 Remove unused arg `path'. Update callers.
1181
1182 * eshell/em-hist.el (eshell-hist-parse-arguments):
1183 Remove unused arg `silent'. Update callers.
1184
1185 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1186 Fix (f)boundp mix-up.
1187
1188 * eshell/em-smart.el (eshell-smart-scroll-window)
1189 (eshell-disable-after-change):
1190 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1191
1192 2013-09-18 Alan Mackenzie <acm@muc.de>
1193
1194 Fix fontification of type when followed by "const".
1195 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1196 "known" types from fontification.
1197
1198 2013-09-18 Glenn Morris <rgm@gnu.org>
1199
1200 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1201 (chart-face-list): Drop Emacsen without display-color-p.
1202
1203 * net/eww.el (libxml-parse-html-region): Declare.
1204 (eww-display-html): Explicit error if no libxml2 support.
1205
1206 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1207
1208 * image.el (image-type-from-buffer, image-multi-frame-p):
1209 Remove --without-x warning/error.
1210
1211 * mouse.el (mouse-yank-primary):
1212 * term.el (term-mouse-paste):
1213 Reorder to silence --without-x compilation.
1214
1215 * mpc.el (doc-view-mode): Silence --without-x compilation.
1216
1217 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1218 Silence --without-x compilation.
1219
1220 * progmodes/gud.el (gud-find-file, gud-mode):
1221 Silence --without-x compilation.
1222 (tooltip-mode): Declare.
1223
1224 * wdired.el (dired-backup-overwrite): Remove declaration.
1225 (wdired-mode-map): Add doc string.
1226
1227 * custom.el (x-get-resource): Declare.
1228
1229 * eshell/em-glob.el (ange-cache):
1230 * eshell/em-unix.el (ange-cache): Declare.
1231
1232 * faces.el (x-display-list, x-open-connection, x-get-resource):
1233 Declare.
1234
1235 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1236 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1237 Declare.
1238
1239 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1240
1241 * net/gnutls.el (gnutls-log-level): Declare.
1242
1243 * net/shr.el (image-size, image-animate): Declare.
1244
1245 * simple.el (font-info): Declare.
1246
1247 * subr.el (x-popup-dialog): Declare.
1248
1249 * term/common-win.el (x-select-enable-primary)
1250 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1251 Declare.
1252
1253 * term/ns-win.el (x-handle-args): Declare.
1254
1255 * term/x-win.el (x-select-enable-clipboard): Declare.
1256
1257 * term/w32-win.el (create-default-fontset): Declare.
1258
1259 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1260 Declare.
1261
1262 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1263 (fit-frame-to-buffer): Explicit error if --without-x.
1264 (mouse-autoselect-window-select): Silence compiler.
1265
1266 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1267
1268 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1269 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1270 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1271 * eshell/esh-util.el (eshell-sublist):
1272 Remove unused local variables.
1273
1274 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1275
1276 * textmodes/two-column.el: Make 2C-split work for --without-x.
1277 (scroll-bar-columns): Autoload.
1278 (top-level): Require fringe when compiling.
1279
1280 2013-09-18 Leo Liu <sdl.web@gmail.com>
1281
1282 * subr.el (add-hook): Robustify to handle closure as well.
1283
1284 2013-09-17 Glenn Morris <rgm@gnu.org>
1285
1286 * simple.el (messages-buffer-mode-map): Unbind "g".
1287
1288 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * help-mode.el (help-mode-finish): Use derived-mode-p.
1291 Remove obsolete highlighting.
1292
1293 * play/life.el (life-mode): Use define-derived-mode. Derive from
1294 special-mode.
1295 (life): Let-bind inhibit-read-only.
1296 (life-setup): Avoid `setq'. Use `life-mode'.
1297
1298 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1299 which should not be needed any more.
1300 (package-menu-refresh, package-menu-describe-package): Use user-error.
1301
1302 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1303 (eshell-post-rewrite-command-hook): Make obsolete.
1304 (eshell-parse-command): Simplify.
1305 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1306 (eshell--cmd): Declare.
1307 (eshell-parse-pipeline): Remove unused var `final-p'.
1308 Pass a dynvar to eshell-post-rewrite-command-hook.
1309 Implement the new eshell-post-rewrite-command-function.
1310 (eshell-invoke-directly): Remove unused arg `input'.
1311 * eshell/esh-io.el (eshell-io-initialize):
1312 Use eshell-post-rewrite-command-function (bug#15399).
1313 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1314 adjust to new calling convention.
1315 (eshell-create-handles): Rename args to avoid clashing with dynvar
1316 `standard-output'.
1317
1318 2013-09-17 Glenn Morris <rgm@gnu.org>
1319
1320 * simple.el (messages-buffer-mode): New major mode.
1321 (messages-buffer): New function.
1322 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1323 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1324 (ert-run-test): Use `messages-buffer' function.
1325 (ert--force-message-log-buffer-truncation): Ignore read-only.
1326 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1327 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1328
1329 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1332
1333 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1334
1335 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1336
1337 * icomplete.el (icomplete-in-buffer): New var.
1338 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1339 vars and replace them with functions.
1340 (icomplete-minibuffer-setup): Adjust accordingly.
1341 (icomplete--completion-table, icomplete--completion-predicate)
1342 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1343 New functions.
1344 (icomplete-forward-completions, icomplete-backward-completions)
1345 (icomplete-simple-completing-p, icomplete-exhibit)
1346 (icomplete-completions): Use them.
1347 (icomplete--in-region-buffer): New var.
1348 (icomplete--in-region-setup): New function.
1349 (icomplete-mode): Use it.
1350
1351 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1352 (bug#15379).
1353 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1354 return args and options.
1355 (eshell-eval-using-options): Use the new return value of
1356 eshell--do-opts to set the options's vars in their scope.
1357 (eshell--set-option): Rename from eshell-set-option.
1358 Add arg `opt-vals'.
1359 (eshell--process-option): Rename from eshell-process-option.
1360 Add arg `opt-vals'.
1361 (eshell--process-args): Use an `opt-vals' alist to store the options's
1362 values during their processing and return them additionally to the
1363 remaining args.
1364
1365 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1366
1367 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1368 continuation character an operator, as far as indentation is
1369 concerned (Bug#15369).
1370
1371 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1372
1373 * window.el (window--state-put-2): Don't process buffer state
1374 when buffer doesn't exist any more (Bug#15382).
1375
1376 2013-09-15 Glenn Morris <rgm@gnu.org>
1377
1378 * eshell/em-unix.el (eshell/rm):
1379 Make -f ignore missing files. (Bug#15373)
1380
1381 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1382 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1383 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1384
1385 2013-09-14 Glenn Morris <rgm@gnu.org>
1386
1387 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1388
1389 2013-09-13 Glenn Morris <rgm@gnu.org>
1390
1391 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1392 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1393
1394 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1395
1396 * frame.el (x-focus-frame): Mark as declared in frame.c.
1397
1398 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * ls-lisp.el: Use advice-add.
1401 (original-insert-directory): Remove.
1402 (ls-lisp--insert-directory): Rename from insert-directory; add
1403 `orig-fun' argument.
1404 (insert-directory): Advise.
1405
1406 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1407
1408 * term.el (term-emulate-terminal): Decode the command string
1409 before passing it to term-command-hook. (Bug#15337)
1410
1411 2013-09-13 Glenn Morris <rgm@gnu.org>
1412
1413 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1414
1415 * eshell/esh-ext.el (eshell-search-path): Declare.
1416
1417 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1418 Otherwise an error occurs if eshell-dirs module not loaded.
1419
1420 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1421
1422 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1425 `tramp-check-proper-host'. Check for a valid method name.
1426
1427 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1428 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1429 * net/tramp-sh.el (tramp-maybe-open-connection):
1430 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1431
1432 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1433 also for hash values.
1434
1435 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * term/ns-win.el (parameters): Don't declare as dynamic.
1438 (before-make-frame-hook): Don't add ineffective function.
1439
1440 * eshell/*.el: Use lexical-binding (bug#15231).
1441
1442 2013-09-12 Kenichi Handa <handa@gnu.org>
1443
1444 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1445
1446 2013-09-12 Glenn Morris <rgm@gnu.org>
1447
1448 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1449 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1450
1451 * subr.el (do-after-load-evaluation): Also give compiler warnings
1452 when obsolete files are used (except by obsolete files).
1453
1454 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1455 in the status output, assume `filename' is the first. (Bug#15322)
1456
1457 * vc/vc.el (vc-deduce-fileset): Doc fix.
1458
1459 * calc/calc-help.el (Info-goto-node):
1460 * progmodes/cperl-mode.el (Info-find-node):
1461 * vc/ediff.el (Info-goto-node): Update declarations.
1462
1463 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1464
1465 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1466 (vc-bzr-pull): Require vc-dispatcher.
1467 * vc/vc-git.el (vc-compilation-mode): Declare.
1468 (vc-git-pull): Require vc-dispatcher.
1469
1470 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1471
1472 * progmodes/octave.el (help-button-action): Declare.
1473
1474 * shell.el (shell-directory-tracker): Output error as a message
1475 rather than just returning it as a string.
1476 (shell-process-pushd): Remove useless use of message.
1477
1478 * dframe.el (dframe-timer-fn):
1479 * files.el (dir-locals-read-from-file):
1480 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1481 (mpc-format):
1482 * reveal.el (reveal-post-command):
1483 * saveplace.el (load-save-place-alist-from-file):
1484 * shell.el (shell-resync-dirs):
1485 * w32-common-fns.el (x-get-selection-value):
1486 * emacs-lisp/copyright.el (copyright-find-copyright):
1487 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1488 * emulation/tpu-edt.el (tpu-copy-keyfile):
1489 * play/bubbles.el (bubbles--mark-neighbourhood):
1490 * progmodes/executable.el
1491 (executable-make-buffer-file-executable-if-script-p):
1492 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1493
1494 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 Cleanup Eshell to rely less on dynamic scoping.
1497 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1498 last-value, and ext-command here. Bind `args' closer to `body'.
1499 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1500 (eshell--args): Declare new dynamic var.
1501 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1502 last-value, and ext-command. Pass `args' to `body'.
1503 (eshell-process-args): Bind eshell--args.
1504 (eshell-set-option): Use eshell--args.
1505 * eshell/eshell.el (eshell): Use derived-mode-p.
1506 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1507 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1508 (eshell-glob-function): Declare.
1509 * eshell/esh-util.el: Require cl-lib.
1510 (eshell-read-hosts-file): Avoid add-to-list.
1511 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1512 `err'.
1513 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1514 Declare.
1515 (eshell/diff): Remove unused var `err'.
1516 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1517 `killflag'.
1518 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1519 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1520 first use.
1521 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1522 Move declaration before first use.
1523 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1524 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1525 rely on cl-return.
1526
1527 2013-09-12 Glenn Morris <rgm@gnu.org>
1528
1529 * term/ns-win.el (global-map): Remove binding for ispell-next,
1530 deleted 1999-05-29. (Bug#15357)
1531
1532 2013-09-11 Glenn Morris <rgm@gnu.org>
1533
1534 * echistory.el (electric-command-history): Remove call to deleted func.
1535
1536 * play/landmark.el (landmark-mode): Fix typos.
1537
1538 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1539 Check cvs-sort-ignore-file is bound.
1540
1541 * savehist.el: No need for cl when compiling on Emacs.
1542
1543 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1546 (bug#15338).
1547 (eshell-self-insert-command, eshell-send-invisible):
1548 Remove unused argument.
1549 (eshell-handle-control-codes): Remove unused var `orig'.
1550 Avoid delete-backward-char.
1551
1552 * files.el (set-auto-mode): Simplify a bit further.
1553
1554 2013-09-11 Glenn Morris <rgm@gnu.org>
1555
1556 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1557 (set-auto-mode): Don't regexp-quote elements.
1558 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1559 * progmodes/cc-mode.el (interpreter-mode-alist):
1560 * progmodes/ruby-mode.el (interpreter-mode-alist):
1561 Revert previous change.
1562
1563 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * play/snake.el (snake-mode):
1566 * play/mpuz.el (mpuz-mode):
1567 * play/landmark.el (lm-mode):
1568 * play/blackbox.el (blackbox-mode):
1569 * play/5x5.el (5x5-mode):
1570 * obsolete/options.el (Edit-options-mode):
1571 * net/quickurl.el (quickurl-list-mode):
1572 * net/newst-treeview.el (newsticker-treeview-mode):
1573 * mail/rmailsum.el (rmail-summary-mode):
1574 * mail/mspools.el (mspools-mode):
1575 * locate.el (locate-mode):
1576 * ibuffer.el (ibuffer-mode):
1577 * emulation/ws-mode.el (wordstar-mode):
1578 * emacs-lisp/debug.el (debugger-mode):
1579 * array.el (array-mode):
1580 * net/eudc.el (eudc-mode): Use define-derived-mode.
1581 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1582 Move initialization into declaration.
1583 (mairix-searches-mode): Use define-derived-mode.
1584 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1585 (eudc-edit-hotlist): Use dolist.
1586 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1587 (Man-mode): Use define-derived-mode.
1588 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1589 (Info-edit-mode): Use define-derived-mode.
1590 (Info-cease-edit): Use Info-mode.
1591 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1592 into declaration.
1593 (eshell-mode): Use define-derived-mode.
1594 * chistory.el (command-history-mode-map): Rename from
1595 command-history-map.
1596 (command-history-mode): Use define-derived-mode.
1597 (Command-history-setup): Remove function.
1598 * calc/calc.el (calc-trail-mode-map): New var.
1599 (calc-trail-mode): Use define-derived-mode.
1600 (calc-trail-buffer): Set calc-main-buffer manually.
1601 * bookmark.el (bookmark-insert-annotation): New function.
1602 (bookmark-edit-annotation): Use it.
1603 (bookmark-edit-annotation-mode): Make it a proper major mode.
1604 (bookmark-send-edited-annotation): Use derived-mode-p.
1605 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1606 closer to its ideal place. Use \' to match EOS.
1607
1608 * profiler.el (profiler-calltree-find): Use function-equal.
1609
1610 2013-09-10 Glenn Morris <rgm@gnu.org>
1611
1612 * files.el (interpreter-mode-alist): Convert to regexps.
1613 (set-auto-mode): Adapt for this. (Bug#15306)
1614 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1615 Comment out unused variable.
1616 * progmodes/cc-mode.el (interpreter-mode-alist):
1617 * progmodes/python.el (interpreter-mode-alist):
1618 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1619 * progmodes/sh-script.el (sh-set-shell):
1620 No longer use interpreter-mode-alist to get list of shells.
1621
1622 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1623
1624 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1625
1626 * simple.el: Use set-temporary-overlay-map for universal-argument.
1627 (universal-argument-map): Don't use default-bindings (bug#15317).
1628 Bind switch-frame explicitly. Replace universal-argument-minus with
1629 a conditional binding.
1630 (universal-argument-num-events, saved-overriding-map): Remove.
1631 (restore-overriding-map): Remove.
1632 (universal-argument--mode): Rename from save&set-overriding-map,
1633 and rewrite.
1634 (universal-argument, universal-argument-more, negative-argument)
1635 (digit-argument): Adjust accordingly.
1636 (universal-argument-minus): Remove.
1637 (universal-argument-other-key): Remove.
1638
1639 * subr.el (with-demoted-errors): Add `format' argument.
1640
1641 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1644 `tramp-cleanup-connection'.
1645
1646 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1647 parameters KEEP-DEBUG and KEEP-PASSWORD.
1648
1649 * net/tramp.el (tramp-file-name-handler):
1650 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1651 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1652 (tramp-maybe-open-connection):
1653 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1654 Use `tramp-cleanup-connection'.
1655
1656 * net/tramp-sh.el (tramp-maybe-open-connection):
1657 Catch 'uname-changed inside the progress reporter.
1658
1659 2013-09-10 Glenn Morris <rgm@gnu.org>
1660
1661 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1662
1663 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1664 returns "alternate access method" in mode (eg "-rw-r--r--.").
1665
1666 2013-09-08 Glenn Morris <rgm@gnu.org>
1667
1668 * saveplace.el (load-save-place-alist-from-file):
1669 Demote errors. (Bug#15305)
1670
1671 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1672
1673 Improve compatibility with older Emacsen, and XEmacs.
1674
1675 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1676 only if it is bound. It isn't for XEmacs.
1677 (with-tramp-progress-reporter): Do not let-bind `result'.
1678 This yields to scoping errors in XEmacs.
1679 (tramp-handle-make-auto-save-file-name): New function, moved from
1680 tramp-sh.el.
1681
1682 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1683 for `make-auto-save-file-name'.
1684 (tramp-adb--gnu-switches-to-ash):
1685 Use `tramp-compat-replace-regexp-in-string'.
1686
1687 * net/tramp-cache.el (tramp-cache-print): Call
1688 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1689
1690 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1691 bound. It isn't for XEmacs.
1692
1693 * net/tramp-compat.el (tramp-compat-copy-file):
1694 Catch `wrong-number-of-arguments' error.
1695 (tramp-compat-replace-regexp-in-string): New defun.
1696
1697 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1698 for `make-auto-save-file-name'.
1699 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1700 `copy-file'.
1701 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1702 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1703 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1704
1705 * net/tramp-gw.el (tramp-gw-open-network-stream):
1706 Use `tramp-compat-replace-regexp-in-string'.
1707
1708 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1709 Call `tramp-handle-make-auto-save-file-name'.
1710 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1711 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1712 (tramp-sh-file-inotifywait-process-filter):
1713 Use `tramp-compat-replace-regexp-in-string'.
1714 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1715
1716 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1717 for `make-auto-save-file-name'.
1718 (tramp-smb-handle-copy-directory):
1719 Call `tramp-compat-replace-regexp-in-string'.
1720 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1721 (tramp-smb-handle-copy-file): Improve error message.
1722 (tramp-smb-handle-rename-file): Rename directly only in case
1723 `newname' does not exist yet. This is a restriction of smbclient.
1724 (tramp-smb-maybe-open-connection): Rerun the function only when
1725 `auth-sources' is non-nil.
1726
1727 2013-09-08 Kenichi Handa <handa@gnu.org>
1728
1729 * international/characters.el: Set category "^" (Combining) for
1730 more characters.
1731
1732 2013-09-07 Alan Mackenzie <acm@muc.de>
1733
1734 Correctly fontify Java class constructors.
1735 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1736 in Java Mode.
1737 (c-recognize-typeless-decls): Set the Java value to t.
1738 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1739 While handling a "(", add a check for, effectively, Java, and handle a
1740 "typeless" declaration there.
1741
1742 2013-09-07 Roland Winkler <winkler@gnu.org>
1743
1744 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1745 field subtitle for entry type book.
1746
1747 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * minibuffer.el: Make minibuffer-complete call completion-in-region
1750 rather than other way around.
1751 (completion--some, completion-pcm--find-all-completions):
1752 Don't delay signals when debugging.
1753 (minibuffer-completion-contents): Beware fields within the
1754 minibuffer contents.
1755 (completion-all-sorted-completions): Use defvar-local.
1756 (completion--do-completion, completion--cache-all-sorted-completions)
1757 (completion-all-sorted-completions, minibuffer-force-complete):
1758 Add args `beg' and `end'.
1759 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1760 (minibuffer-complete): Use completion-in-region.
1761 (completion-complete-and-exit): New fun, extracted from
1762 minibuffer-complete-and-exit.
1763 (minibuffer-complete-and-exit): Use it.
1764 (completion--complete-and-exit): Rename from
1765 minibuffer--complete-and-exit.
1766 (completion-in-region--single-word): New function, extracted from
1767 minibuffer-complete-word.
1768 (minibuffer-complete-word): Use it.
1769 (display-completion-list): Make `common-substring' argument obsolete.
1770 (completion--in-region): Call completion--in-region-1 instead of
1771 minibuffer-complete.
1772 (completion-help-at-point): Pass boundaries to
1773 minibuffer-completion-help as args rather than via an overlay.
1774 (completion-pcm--string->pattern): Use `any-delim'.
1775 (completion-pcm--optimize-pattern): New function.
1776 (completion-pcm--pattern->regex): Handle `any-delim'.
1777 * icomplete.el (icomplete-forward-completions)
1778 (icomplete-backward-completions, icomplete-completions):
1779 Adjust calls to completion-all-sorted-completions and
1780 completion--cache-all-sorted-completions.
1781 (icomplete-with-completion-tables): Default to t.
1782 * emacs-lisp/crm.el (crm--current-element): Rename from
1783 crm--select-current-element. Don't put an overlay but return the
1784 boundaries instead.
1785 (crm--completion-command): Take two new args to bind to the boundaries.
1786 (crm-completion-help): Adjust accordingly.
1787 (crm-complete): Use completion-in-region.
1788 (crm-complete-word): Use completion-in-region--single-word.
1789 (crm-complete-and-exit): Use completion-complete-and-exit.
1790
1791 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1794 than dynamically.
1795
1796 2013-09-06 Juri Linkov <juri@jurta.org>
1797
1798 * info.el (Info-display-images-node): When image file doesn't exist
1799 display text version of the image if it's provided in the Info file.
1800 Otherwise, display the location of missing image from SRC attribute.
1801 Add help-echo text property from ALT attribute. (Bug#15279)
1802
1803 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1806 (edit-abbrevs-mode): Use define-derived-mode.
1807
1808 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1809 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1810 that it's defined.
1811 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1812 Use define-derived-mode.
1813
1814 * epg.el (epg-start-encrypt): Minor CSE simplification.
1815
1816 2013-09-06 William Xu <william.xwl@gmail.com>
1817
1818 * arc-mode.el: Add support for 7za (bug#15264).
1819 (archive-7z-program): New var.
1820 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1821 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1822 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1823
1824 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1825
1826 Remove URL syntax.
1827
1828 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1829 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1830 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1831 (tramp-postfix-host-format, tramp-file-name-regexp)
1832 (tramp-completion-file-name-regexp)
1833 (tramp-completion-dissect-file-name)
1834 (tramp-handle-substitute-in-file-name): Remove 'url case.
1835 (tramp-file-name-regexp-url)
1836 (tramp-completion-file-name-regexp-url): Remove constants.
1837
1838 2013-09-06 Glenn Morris <rgm@gnu.org>
1839
1840 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1841
1842 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1843
1844 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1845 keywords" below "here-doc beginnings" (Bug#15270).
1846
1847 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * subr.el (pop): Use `car-safe'.
1850 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1851 to detect unused `pop' return value.
1852
1853 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1854 var `block-regexp'.
1855 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1856 (python-fill-string): Remove unused var `marker'.
1857 (python-skeleton-add-menu-items): Remove unused var `items'.
1858
1859 * international/mule-cmds.el: Require CL.
1860 (find-coding-systems-for-charsets): Avoid add-to-list.
1861 (sanitize-coding-system-list): New function, extracted from
1862 select-safe-coding-system-interactively.
1863 (select-safe-coding-system-interactively): Use it.
1864 (read-input-method-name): Accept symbols for `default'.
1865
1866 * emacs-lisp/advice.el (defadvice): Add indent rule.
1867
1868 2013-09-05 Daniel Hackney <dan@haxney.org>
1869
1870 * dired-x.el:
1871 * net/ange-ftp.el:
1872 * net/browse-url.el:
1873 * net/dbus.el:
1874 * net/eudc.el:
1875 * net/eudcb-ldap.el:
1876 * net/eww.el:
1877 * net/imap.el:
1878 * printing.el:
1879 * vc/ediff-diff.el:
1880 * vc/ediff-init.el:
1881 * vc/ediff-merg.el:
1882 * vc/ediff-mult.el:
1883 * vc/ediff-util.el:
1884 * vc/ediff-wind.el:
1885 * vc/ediff.el:
1886 * vc/emerge.el:
1887 * vc/pcvs.el:
1888 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1889 byte compiler. Remove some unused let-bound variables.
1890
1891 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1894 a "ref-cell", since it gets better optimized (bug#14883).
1895
1896 2013-09-05 Glenn Morris <rgm@gnu.org>
1897
1898 * progmodes/cc-awk.el (c-forward-sws): Declare.
1899
1900 2013-09-04 Glenn Morris <rgm@gnu.org>
1901
1902 * generic-x.el [rul-generic-mode]: Require cc-mode.
1903 (c++-mode-syntax-table): Declare.
1904 (rul-generic-mode-syntax-table): Init in the defvar.
1905
1906 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1909 (vc-do-command, vc-set-async-update):
1910 * vc/vc-mtn.el (vc-mtn-dir-status):
1911 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1912 (vc-hg-pull, vc-hg-merge-branch):
1913 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1914 (vc-git-merge-branch):
1915 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1916 (vc-cvs-dir-status-files):
1917 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1918 (vc-bzr-dir-status-files):
1919 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1920 * vc/vc-annotate.el: Use lexical-binding.
1921 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1922 (vc-sentinel-movepoint): Declare.
1923 (vc-annotate): Don't use `goto-line'.
1924 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1925 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1926 (vc-sentinel-movepoint): Declare.
1927 * vc/vc-svn.el: Use lexical-binding.
1928 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1929 * vc/vc-sccs.el:
1930 * vc/vc-rcs.el: Use lexical-binding.
1931
1932 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1933 `deleted'. Don't drop errors silently.
1934
1935 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1936
1937 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1938
1939 * vc/vc.el (vc-ignore): Rewrite.
1940 (vc-default-ignore): New function.
1941 (vc-default-ignore-completion-table): Use find-ignore-file.
1942
1943 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1944 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1945 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1946 Remove. Most code moved to vc.el.
1947
1948 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1951 * net/tramp-smb.el (tramp-smb-get-file-entries):
1952 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1953 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1954
1955 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1956 Update call to it.
1957 (eww-change-select): Remove unused var `properties'.
1958 (eww-make-unique-file-name): Remove unused var `base'.
1959
1960 * finder.el (finder-compile-keywords): Don't mess with windows.
1961
1962 * calculator.el (calculator-funcall): Fix typo in last change.
1963
1964 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1965
1966 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1967 <pkg>-autoloads.el file stop us.
1968
1969 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1970 warnings, and factor out common code.
1971
1972 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1973
1974 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1975 two-character operators and whether the character preceding them
1976 changes their meaning (Bug#15208).
1977
1978 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1979
1980 Format code sent to Python shell for robustness.
1981 * progmodes/python.el (python-shell-buffer-substring):
1982 New function.
1983 (python-shell-send-region, python-shell-send-buffer): Use it.
1984
1985 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1988 * net/tramp.el (tramp-user-error): ... here.
1989 (tramp-find-method, tramp-check-proper-host)
1990 (tramp-dissect-file-name, tramp-debug-message)
1991 (tramp-handle-shell-command):
1992 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1994
1995 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1996
1997 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1998
1999 * avoid.el (mouse-avoidance-point-position)
2000 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2001 returns nil.
2002
2003 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2004
2005 * progmodes/python.el (python-shell-completion-get-completions):
2006 Drop use of deleted `comint-last-prompt-overlay'.
2007 (python-nav-if-name-main): New command.
2008
2009 2013-09-01 Glenn Morris <rgm@gnu.org>
2010
2011 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2012 Avoid leading space in $wins. Otherwise the sed command used by
2013 eg compile-main ends up containing "/*.el". (Bug#15170)
2014
2015 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2016
2017 2013-08-30 Glenn Morris <rgm@gnu.org>
2018
2019 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2020 Fix is-this-a-directory logic. (Bug#15220)
2021
2022 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * textmodes/css-mode.el: Use SMIE.
2025 (css-smie-grammar): New var.
2026 (css-smie--forward-token, css-smie--backward-token)
2027 (css-smie-rules): New functions.
2028 (css-mode): Use them.
2029 (css-navigation-syntax-table): Remove var.
2030 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2031 (css-indent-calculate, css-indent-line): Remove functions.
2032
2033 Misc changes to reduce use of `(lambda...); and other cleanups.
2034 * cus-edit.el: Use lexical-binding.
2035 (customize-push-and-save, customize-apropos)
2036 (custom-buffer-create-internal): Use closures.
2037 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2038 * progmodes/ada-xref.el: Use setq.
2039 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2040 * dframe.el: Use lexical-binding.
2041 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2042 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2043 * descr-text.el: Use lexical-binding.
2044 (describe-text-widget, describe-text-sexp, describe-property-list):
2045 Use closures.
2046 * comint.el (comint-history-isearch-push-state): Use a closure.
2047 * calculator.el: Use lexical-binding.
2048 (calculator-number-to-string): Make it work with lexical-binding.
2049 (calculator-funcall): Same and use cl-letf.
2050
2051 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2052 (lisp--company-doc-string, lisp--company-location): New functions.
2053 (lisp-completion-at-point): Use them to improve Company support.
2054
2055 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2056 params of lambda expressions.
2057 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2058 (ruby-smie--opening-pipe-p): New function.
2059 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2060 symbols and matched |...| for formal params.
2061 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2062 from being treated as hanging. Handle "rescue".
2063
2064 2013-08-29 Glenn Morris <rgm@gnu.org>
2065
2066 * progmodes/cc-engine.el (c-pull-open-brace):
2067 Move definition before use.
2068
2069 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2072 are immutable. Don't use `unsafe' any more.
2073 (cl--defsubst-expand): Don't substitute at the same time as keeping
2074 a residual unused let-binding. Don't use `unsafe' any more.
2075
2076 2013-08-29 Glenn Morris <rgm@gnu.org>
2077
2078 * calendar/cal-china.el (calendar-chinese-year-cache):
2079 Recenter on 2015.
2080
2081 * nxml/nxml-util.el (nxml-debug-clear-inside):
2082 Use cl-loop rather than loop.
2083
2084 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2085
2086 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2087
2088 2013-08-28 Glenn Morris <rgm@gnu.org>
2089
2090 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2091
2092 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2093
2094 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2095
2096 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * simple.el (repeat-complex-command--called-interactively-skip):
2099 New function.
2100 (repeat-complex-command): Use it (bug#14136).
2101
2102 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2103 (c-define-abbrev-table): Add `doc' argument.
2104 (c-mode-abbrev-table, c++-mode-abbrev-table)
2105 (objc-mode-abbrev-table, java-mode-abbrev-table)
2106 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2107 (awk-mode-abbrev-table): Use it.
2108 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2109 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2110 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2111 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2112 Move initialization into the declaration; and remove any
2113 autoload cookie.
2114
2115 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2116 and dynamic let binding.
2117
2118 * vc/smerge-mode.el: Remove redundant :group args.
2119
2120 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2121 to load-path.
2122
2123 2013-08-28 Juri Linkov <juri@jurta.org>
2124
2125 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2126 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2127 (isearch-other-meta-char): Handle an undefined shifted printing
2128 character by downshifting it. (Bug#15200)
2129
2130 2013-08-28 Juri Linkov <juri@jurta.org>
2131
2132 * isearch.el (isearch-search): Change regexp error message for
2133 non-regexp searches. (Bug#15166)
2134
2135 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2136
2137 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2138 for portability to hosts where /bin/sh has problems.
2139
2140 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2143
2144 2013-08-27 Juri Linkov <juri@jurta.org>
2145
2146 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2147 in the keyboard macro. (Bug#15126)
2148
2149 2013-08-27 Juri Linkov <juri@jurta.org>
2150
2151 * isearch.el (isearch-quote-char): Comment out converting unibyte
2152 to multibyte, thus syncing with its `quoted-insert' counterpart.
2153 (Bug#15166)
2154
2155 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2156
2157 * window.el (display-buffer-use-some-window): Add missing
2158 argument in call of get-largest-window (Bug#15185).
2159 Reported by Stephen Leake.
2160
2161 2013-08-27 Glenn Morris <rgm@gnu.org>
2162
2163 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2164
2165 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2168 from a matcher-function unless there's no more matches (bug#15161).
2169
2170 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2171
2172 * minibuffer.el: Revert change from 2013-08-20.
2173
2174 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2175 with text property `tramp-default', if appropriate.
2176 (tramp-check-proper-host): New defun.
2177 (tramp-dissect-file-name): Do not check hostname. Revert change
2178 of 2013-03-18.
2179 (tramp-backtrace): Make VEC-OR-PROC optional.
2180
2181 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2182 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2183 * net/tramp-sh.el (tramp-maybe-open-connection):
2184 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2185 Apply `tramp-check-proper-host'.
2186
2187 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2188
2189 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2190 lambda expression in order to have `describe-variable' display it.
2191
2192 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2193
2194 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2195 BUF can be optional. (Bug#15186)
2196
2197 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2198
2199 * progmodes/flymake.el (flymake-get-real-file-name-function):
2200 Fix broken customization. (Bug#15184)
2201
2202 2013-08-25 Alan Mackenzie <acm@muc.de>
2203
2204 Improve indentation of bracelists defined by macros (without "=").
2205
2206 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2207 expansion begins with "{", regard it as bracelist when it doesn't
2208 contain a ";".
2209
2210 Parse C++ inher-intro when there's a template split over 2 lines.
2211
2212 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2213 rigorously the search for "class" etc. followed by ":".
2214
2215 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2216 random languages a regexp which never matches rather than nil.
2217
2218 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2219
2220 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2221 (c-awk-regexp-one-line-possibly-open-char-list-re)
2222 (c-awk-one-line-possibly-open-regexp-re)
2223 (c-awk-one-line-non-syn-ws*-re): Remove.
2224 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2225 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2226 (c-awk-space*-unclosed-regexp-/-re): New constants.
2227 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2228 aren't regexp delimiters.
2229
2230 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2231 handling for a rare situation in AWK Mode involving unterminated
2232 strings/regexps.
2233
2234 2013-08-23 Glenn Morris <rgm@gnu.org>
2235
2236 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2237
2238 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2239
2240 * files.el (create-file-buffer): If the result would begin with
2241 spaces, prepend a "|" instead of removing them. (Bug#15162)
2242
2243 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2246 text-properties (bug#15155).
2247
2248 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2249 exist any more.
2250 (calc-keypad-redraw): Remove unused var `pad'.
2251 (calc-keypad-press): Remove unused var `menu'.
2252
2253 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2254
2255 * window.el (display-buffer-pop-up-frame):
2256 Call pop-up-frame-function with BUFFER current so `make-frame' will
2257 use it as the new frame's buffer (Bug#15133).
2258
2259 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * calendar/timeclock.el: Minor cleanups.
2262 (timeclock-ask-before-exiting, timeclock-use-display-time):
2263 Use `symbol'.
2264 (timeclock-modeline-display): Define as alias before the
2265 actual definition.
2266 (timeclock-mode-line-display): Use define-minor-mode.
2267 (timeclock-day-list-template): Make it a function, add an argument.
2268 (timeclock-day-list-required, timeclock-day-list-length)
2269 (timeclock-day-list-debt, timeclock-day-list-span)
2270 (timeclock-day-list-break): Adjust calls accordingly.
2271
2272 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2275 Use read--expression so that completion works again.
2276
2277 2013-08-21 Sam Steingold <sds@gnu.org>
2278
2279 Add rudimentary inferior shell interaction
2280 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2281 (sh-set-shell): Reset it.
2282 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2283 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2284
2285 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * align.el: Use lexical-binding.
2288 (align-region): Simplify accordingly.
2289
2290 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2293
2294 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2295 `non-essential' up.
2296
2297 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2298
2299 * net/tramp.el:
2300 * net/tramp-adb.el:
2301 * net/tramp-cmds.el:
2302 * net/tramp-ftp.el:
2303 * net/tramp-gvfs.el:
2304 * net/tramp-gw.el:
2305 * net/tramp-sh.el: Don't wrap external variable declarations by
2306 `eval-when-compile'.
2307
2308 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2309
2310 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2311 now that Emacs supports ImageMagick animations.
2312
2313 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2314
2315 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2316 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2317
2318 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2319
2320 * window.el (mouse-autoselect-window-select): Do autoselect when
2321 mouse pointer is on margin.
2322
2323 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2324
2325 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2326
2327 2013-08-16 Glenn Morris <rgm@gnu.org>
2328
2329 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2330 Handle "Remote Directory" response of some clients. (Bug#15058)
2331
2332 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2333 Tweak warning. (Bug#14926)
2334
2335 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2336 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2337
2338 * image-mode.el (image-mode-map): Add menu items to reverse,
2339 increase, decrease, reset animation speed.
2340 (image--set-speed, image-increase-speed, image-decrease-speed)
2341 (image-reverse-speed, image-reset-speed): New functions.
2342 (image-mode-map): Add bindings for speed commands.
2343
2344 * image.el (image-animate-get-speed, image-animate-set-speed):
2345 New functions.
2346 (image-animate-timeout): Respect image :speed property.
2347
2348 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2351 previous line (bug#15101).
2352 (debugger-eval-expression, debugger-record-expression):
2353 Use read--expression (bug#15102).
2354
2355 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2356
2357 Remove byte compiler warnings, visible when compiling with
2358 `byte-compile-force-lexical-warnings' set to t.
2359
2360 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2361 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2362 (tramp-handle-unhandled-file-name-directory)
2363 (tramp-handle-file-notify-add-watch, tramp-action-login)
2364 (tramp-action-succeed, tramp-action-permission-denied)
2365 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2366 arguments with "_".
2367
2368 * net/tramp-adb.el (tramp-adb-parse-device-names)
2369 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2370 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2371 (tramp-adb-handle-file-truename): Remove unused arguments.
2372
2373 * net/tramp-cache.el (tramp-flush-directory-property)
2374 (tramp-flush-connection-property, tramp-list-connections)
2375 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2376
2377 * net/tramp-compat.el (tramp-compat-make-temp-file):
2378 Rename FILENAME to F.
2379
2380 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2381 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2382 (tramp-zeroconf-parse-workstation-device-names)
2383 (tramp-zeroconf-parse-webdav-device-names)
2384 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2385
2386 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2387 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2388
2389 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2390 arguments.
2391 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2392 (tramp-sh-handle-insert-file-contents-literally)
2393 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2394 with "_".
2395 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2396 Remove unused variables.
2397
2398 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2399 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2400 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2401
2402 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2403 Make them a defconst.
2404 (tramp-uuencode-region): Remove unused variable.
2405
2406 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * frameset.el (frameset--prop-setter): New function.
2409 (frameset-prop): Add gv-setter declaration.
2410 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2411 parameter was already set in FILTERED. Doc fix.
2412 (frameset--record-minibuffer-relationships): Allow saving a
2413 minibufferless frame without its corresponding minibuffer frame.
2414 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2415 frame, if the frame id matches.
2416 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2417 frames before orphaned ones.
2418 (frameset-restore): Warn about orphaned windows, instead of error out.
2419
2420 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2421
2422 * window.el (window-make-atom): Don't overwrite parameter
2423 already present.
2424 (display-buffer-in-atom-window): Handle special case where we
2425 split an already atomic window.
2426 (window--major-non-side-window, display-buffer-in-side-window)
2427 (window--side-check): Ignore minibuffer window when walking
2428 window tree.
2429 (window-deletable-p): Return 'frame only if no other frame uses
2430 our minibuffer window.
2431 (record-window-buffer): Run buffer-list-update-hook.
2432 (split-window): Make sure window--check-frame won't destroy an
2433 existing atomic window in case the new window gets nested
2434 inside.
2435 (display-buffer-at-bottom): Ignore minibuffer window when
2436 walking window tree. Don't split a side window.
2437 (pop-to-buffer): Don't set-buffer here, the select-window call
2438 should do that.
2439 (mouse-autoselect-window-select): Autoselect only if we are in the
2440 text portion of the window.
2441
2442 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2443
2444 * net/shr.el (shr-parse-image-data): New function to grab both the
2445 data itself and the Content-Type.
2446 (shr-put-image): Use it.
2447
2448 * net/eww.el (eww-display-image): Ditto.
2449
2450 * image.el (image-content-type-suffixes): New variable.
2451
2452 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2453
2454 * progmodes/python.el (python-imenu--build-tree)
2455 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2456
2457 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2458
2459 * simple.el (backward-word): Mention the optional argument.
2460
2461 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * frameset.el (frameset--make): Rename constructor from make-frameset.
2464 (frameset-p, frameset-valid-p): Don't autoload.
2465 (frameset-valid-p): Use normal accessors.
2466
2467 2013-08-13 Glenn Morris <rgm@gnu.org>
2468
2469 * progmodes/compile.el (compile-command): Tweak example in doc.
2470 * obsolete/scribe.el (scribe-mode):
2471 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2472
2473 * mail/feedmail.el (feedmail-confirm-outgoing)
2474 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2475
2476 * cus-start.el (truncate-partial-width-windows): Fix type.
2477
2478 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2479
2480 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2481
2482 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emacs-lisp/timer.el (timer--time-setter): New function.
2485 (timer--time): Use it as gv-setter.
2486
2487 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2488 setter is not a symbol.
2489
2490 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2491
2492 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2493 if sending fails. This makes debugging easier.
2494
2495 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2496
2497 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2498 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2499 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2500
2501 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2502
2503 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2504
2505 2013-08-12 Glenn Morris <rgm@gnu.org>
2506
2507 * format.el (format-annotate-function):
2508 Handle read-only text properties in the source. (Bug#14887)
2509
2510 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2511
2512 * net/eww.el (eww-display-html): Ignore coding system errors.
2513 One web site uses "utf-8lias" as the coding system.
2514
2515 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2516
2517 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2518
2519 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2520
2521 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2522 (tutorial--detailed-help): Remove unused local variables.
2523 (tutorial--save-tutorial-to): Use ignore-errors.
2524 (help-with-tutorial): Use looking-at-p.
2525
2526 * view.el (view-buffer-other-window, view-buffer-other-frame):
2527 Mark unused arguments.
2528
2529 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2530 (woman-select-symbol-fonts, woman, woman-find-file)
2531 (woman-insert-file-contents, woman-non-underline-faces):
2532 Use string-match-p.
2533 (woman1-unquote): Move declaration.
2534
2535 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2536 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2537 argument. Remove unused local variable.
2538 (xml-parse-elem-type): Use string-match-p.
2539 (xml-substitute-numeric-entities): Use ignore-errors.
2540
2541 * calculator.el (calculator): Mark unused argument.
2542 (calculator-paste, calculator-quit, calculator-integer-p):
2543 Use ignore-errors.
2544 (calculator-string-to-number, calculator-decimal, calculator-exp)
2545 (calculator-op-or-exp): Use string-match-p.
2546
2547 * dired.el (dired-buffer-more-recently-used-p): Declare.
2548 (dired-insert-set-properties, dired-insert-old-subdirs):
2549 Use ignore-errors.
2550
2551 * dired-aux.el (dired-compress): Use ignore-errors.
2552 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2553 (dired-do-async-shell-command, dired-do-shell-command)
2554 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2555 (dired-insert-subdir-validate): Use string-match-p.
2556 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2557 (dired-add-entry): Use string-match-p, looking-at-p.
2558 (dired-insert-subdir-newpos): Remove unused local variable.
2559
2560 * filenotify.el (file-notify-callback): Remove unused local variable.
2561
2562 * filesets.el (filesets-error): Mark unused argument.
2563 (filesets-which-command-p, filesets-filter-dir-names)
2564 (filesets-directory-files, filesets-get-external-viewer)
2565 (filesets-ingroup-get-data): Use string-match-p.
2566
2567 * find-file.el (ff-other-file-name, ff-other-file-name)
2568 (ff-find-the-other-file, ff-cc-hh-converter):
2569 Remove unused local variables.
2570 (ff-get-file-name): Use string-match-p.
2571 (ff-all-dirs-under): Use ignore-errors.
2572
2573 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2574 (follow-select-if-visible): Remove unused local variable.
2575
2576 * forms.el (read-file-filter): Move declaration.
2577 (forms--make-format, forms--make-parser, forms-insert-record):
2578 Quote function with #'.
2579 (forms--update): Use string-match-p. Quote function with #'.
2580
2581 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2582 (help-make-xrefs): Use looking-at-p.
2583 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2584
2585 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2586 (ibuffer-confirm-operation-on): Use string-match-p.
2587
2588 * msb.el (msb-item-handler, msb-dired-item-handler):
2589 Mark unused arguments.
2590
2591 * ses.el (ses-decode-cell-symbol)
2592 (ses-kill-override): Remove unused local variable.
2593 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2594 (ses-load): Use ignore-errors, looking-at-p.
2595 (ses-jump-safe): Use ignore-errors.
2596 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2597
2598 * tabify.el (untabify, tabify): Mark unused arguments.
2599
2600 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2601 Mark unused argument.
2602 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2603 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2604
2605 * emacs-lisp/timer.el (timer--time): Define setter with
2606 gv-define-setter to avoid deprecation warning.
2607
2608 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2609 (*record-cmpl-statistics-p*): Remove (was commented out).
2610 (cmpl-statistics-block): Remove (body was commented out).
2611 All callers changed.
2612 (add-completions-from-buffer, load-completions-from-file):
2613 Remove unused variables.
2614
2615 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2616
2617 * filecache.el (file-cache-delete-file-list):
2618 Print message only when told so.
2619 (file-cache-files-matching): Use #' in mapconcat argument.
2620
2621 * ffap.el (ffap-url-at-point): Fix reference to variable
2622 thing-at-point-default-mail-uri-scheme.
2623
2624 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * subr.el (define-error): New function.
2627 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2628 error-file-not-found and define with define-error.
2629 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2630 and define with define-error.
2631 * userlock.el (file-locked, file-supersession):
2632 * simple.el (mark-inactive):
2633 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2634 * progmodes/ada-mode.el (ada-mode-errors):
2635 * play/life.el (life-extinct):
2636 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2637 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2638 * nxml/rng-util.el (rng-error):
2639 * nxml/rng-uri.el (rng-uri-error):
2640 * nxml/rng-match.el (rng-compile-error):
2641 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2642 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2643 * nxml/nxml-rap.el (nxml-scan-error):
2644 * nxml/nxml-outln.el (nxml-outline-error):
2645 * net/soap-client.el (soap-error):
2646 * net/gnutls.el (gnutls-error):
2647 * net/ange-ftp.el (ftp-error):
2648 * mpc.el (mpc-proc-error):
2649 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2650 (json-number-format, json-string-escape, json-string-format)
2651 (json-key-format, json-object-format):
2652 * jka-compr.el (compression-error):
2653 * international/quail.el (quail-error):
2654 * international/kkc.el (kkc-error):
2655 * emacs-lisp/ert.el (ert-test-failed):
2656 * calc/calc.el (calc-error, inexact-result, math-overflow)
2657 (math-underflow):
2658 * bookmark.el (bookmark-error-no-filename):
2659 * epg.el (epg-error): Define with define-error.
2660
2661 * time.el (display-time-event-handler)
2662 (display-time-next-load-average): Don't call sit-for since it seems
2663 unnecessary (bug#15045).
2664
2665 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2666 Use #' instead of ' to quote functions.
2667 (checkdoc-output-mode): Use setq-local.
2668 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2669 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2670 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2671 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2672 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2673 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2674 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2675 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2676
2677 * ido.el (ido-completion-help): Fix up compiler warning.
2678
2679 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2680
2681 * frameset.el (frameset-p): Add autoload cookie.
2682 (frameset--jump-to-register): New function, based on code moved from
2683 register.el.
2684 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2685
2686 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2687 (frameset-restore, frameset-save, frameset-session-filter-alist):
2688 Remove declarations.
2689 (register-alist): Doc fix.
2690 (frameset-to-register): Move to frameset.el.
2691 (jump-to-register, describe-register-1): Remove frameset-specific code.
2692
2693 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2694
2695 * allout-widgets.el (allout-widgets-pre-command-business)
2696 (allout-widgets-post-command-business)
2697 (allout-widgets-after-change-handler)
2698 (allout-decorate-item-and-context, allout-set-boundary-marker)
2699 (allout-body-modification-handler)
2700 (allout-graphics-modification-handler): Mark ignored arguments.
2701 (allout-widgets-post-command-business)
2702 (allout-widgets-exposure-change-processor)
2703 (allout-widgets-exposure-undo-processor)
2704 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2705 (allout-parse-item-at-point, allout-decorate-item-guides)
2706 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2707 * allout.el (epa-passphrase-callback-function): Declare.
2708 (allout-overlay-insert-in-front-handler)
2709 (allout-overlay-interior-modification-handler)
2710 (allout-isearch-end-handler, allout-chart-siblings)
2711 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2712 (allout-yank-processing, allout-process-exposed)
2713 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2714 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2715 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2716 (lisp-indent-defform): Mark ignored arguments.
2717 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2718 (calculate-lisp-indent): Remove unused variables.
2719 * international/characters.el (indian-2-column, arabic-2-column)
2720 (tibetan): Mark ignored arguments.
2721 (use-cjk-char-width-table): Mark ignored arguments.
2722 Remove unused variables.
2723 * international/fontset.el (build-default-fontset-data)
2724 (x-compose-font-name, create-fontset-from-fontset-spec):
2725 Mark ignored arguments.
2726 (fontset-plain-name): Remove unused variables.
2727 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2728 (keyboard-coding-system): Mark ignored arguments.
2729 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2730 * help.el (resize-temp-buffer-window):
2731 * window.el (display-buffer-in-major-side-window)
2732 (display-buffer-in-side-window, display-buffer-in-previous-window):
2733 Remove unused variables.
2734 * isearch.el (isearch-forward-symbol):
2735 * version.el (emacs-bzr-version-bzr):
2736 * international/mule-cmds.el (current-language-environment):
2737 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2738 (x-handle-display):
2739 * term/pc-win.el (x-list-fonts, x-display-planes)
2740 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2741 (x-server-version, x-display-screens, x-display-mm-height)
2742 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2743 (x-selection-owner-p, x-own-selection-internal)
2744 (x-disown-selection-internal, x-get-selection-internal)
2745 (msdos-initialize-window-system):
2746 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2747 * term/x-win.el (x-handle-no-bitmap-icon):
2748 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2749 (vc-default-find-file-hook, vc-default-extra-menu):
2750 Mark ignored arguments.
2751
2752 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2755 break-condition in the context of the debugged code (bug#12685).
2756
2757 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2758
2759 * comint.el:
2760 Do not use an overlay to highlight the last prompt. (Bug#14744)
2761 (comint-mode): Make comint-last-prompt buffer local.
2762 (comint-last-prompt): New variable.
2763 (comint-last-prompt-overlay): Remove. Superseded by
2764 comint-last-prompt.
2765 (comint-snapshot-last-prompt, comint-output-filter):
2766 Use comint-last-prompt.
2767
2768 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2771 (frameset-save): Check validity of the resulting frameset.
2772
2773 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2774
2775 * ido.el (ido-record-command): Add doc string.
2776
2777 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * frameset.el (frameset): Do not disable creation of the default
2780 frameset-p predicate. Doc fix.
2781 (frameset-valid-p): New function, copied from the old predicate-p.
2782 Add additional checks.
2783 (frameset-restore): Check with frameset-valid-p.
2784 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2785 (frameset-name, frameset-description, frameset-properties)
2786 (frameset-states): Add docstring.
2787 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2788 (frameset-filter-alist): Doc fixes.
2789
2790 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2791
2792 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2793
2794 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2797 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2798 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2799 (byte-compile-normal-call): Remove obsolescence check.
2800
2801 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2802
2803 * frameset.el (frameset-restore): Doc fix.
2804
2805 * register.el (frameset-frame-id, frameset-frame-with-id)
2806 (frameset-p, frameset-restore, frameset-save): Declare.
2807 (register-alist): Document framesets.
2808 (frameset-session-filter-alist): Declare.
2809 (frameset-to-register): New function.
2810 (jump-to-register): Implement jumping to framesets. Doc fix.
2811 (describe-register-1): Describe framesets.
2812
2813 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2814
2815 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2818 Use lexical-binding.
2819
2820 * frameset.el (frameset): Use type vector, not list (incompatible
2821 change). Do not declare a new constructor, use the default one.
2822 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2823 `name' and `description', respectively, and add read-only slot
2824 `timestamp'. Doc fixes.
2825 (frameset-copy, frameset-persistent-filter-alist)
2826 (frameset-filter-alist, frameset-switch-to-gui-p)
2827 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2828 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2829 (frameset-filter-iconified, frameset-keep-original-display-p):
2830 Doc fixes.
2831 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2832 Rename from frameset-filter-(save|restore)-param. All callers changed.
2833 Doc fix.
2834 (frameset-p): Adapt to change to vector and be more thorough.
2835 Change arg name to OBJECT. Doc fix.
2836 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2837 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2838 All callers changed.
2839 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2840 All callers changed.
2841 (frameset--record-minibuffer-relationships): Rename from
2842 frameset--process-minibuffer-frames. All callers changed.
2843 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2844 Use new default constructor (again). Doc fix.
2845 (frameset--find-frame-if): Rename from `frameset--find-frame.
2846 All callers changed.
2847 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2848 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2849 Doc fix.
2850 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2851 PARAMETERS and WINDOW-STATE, respectively.
2852 (frameset-restore): Add new keyword argument PREDICATE.
2853 Reset frameset--target-display to nil. Doc fix.
2854
2855 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2858 (bat-mode): Use it.
2859 (bat-mode-syntax-table): Mark \n as end-of-comment.
2860 (bat-font-lock-keywords): Remove comment rule.
2861
2862 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2863 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2864
2865 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2866 (byte-compile-callargs-warn): Use `push'.
2867 (byte-compile-arglist-warn): Ignore higher-order "calls".
2868 (byte-compile-file-form-autoload): Use `pcase'.
2869 (byte-compile-function-form): If quoting a symbol, check that it exists.
2870
2871 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2872
2873 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2874 and add a few popular commands found in batch files.
2875 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2876 (dos-mode): Doc fixes.
2877
2878 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2881 (dos-mode): Use setq-local. Add space after "rem".
2882 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2883 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2884
2885 2013-08-07 Arni Magnusson <arnima@hafro.is>
2886
2887 * progmodes/dos.el: New file.
2888 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2889 dos-mode.
2890
2891 2013-08-06 Glenn Morris <rgm@gnu.org>
2892
2893 * calendar/calendar.el: Add new faces, and day-header-array.
2894 (calendar-weekday-header, calendar-weekend-header)
2895 (calendar-month-header): New faces.
2896 (calendar-day-header-construct): New function.
2897 (calendar-day-header-width): Also :set calendar-day-header-array.
2898 (calendar-american-month-header, calendar-european-month-header)
2899 (calendar-iso-month-header): Use calendar- faces.
2900 (calendar-generate-month):
2901 Use calendar-day-header-array for day headers; apply faces to them.
2902 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2903 (calendar-abbrev-construct): Add optional maxlen argument.
2904 (calendar-day-name-array): Doc fix.
2905 (calendar-day-name-array, calendar-abbrev-length)
2906 (calendar-day-abbrev-array):
2907 Also :set calendar-day-header-array, and maybe redraw.
2908 (calendar-day-header-array): New option. (Bug#15007)
2909 (calendar-font-lock-keywords): Set to nil and make obsolete.
2910 (calendar-day-name): Add option to use header array.
2911
2912 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2913
2914 * net/shr.el (shr-render-td): Remove debugging.
2915 (shr-render-td): Make width computation consistent by defaulting
2916 all zero-width columns to 10 characters. This may not be optimal,
2917 but it's at least consistent.
2918 (shr-make-table-1): Redo last change to fix the real problem in
2919 colspan handling.
2920
2921 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2922
2923 * files.el (cache-long-line-scans):
2924 Make obsolete alias to `cache-long-scans'.
2925
2926 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2927
2928 * frameset.el (frameset, frameset-filter-alist)
2929 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2930 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2931 (frameset-compute-pos): Rename from frameset--compute-pos,
2932 and add docstring.
2933 (frameset-move-onscreen): Use frameset-compute-pos.
2934 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2935
2936 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2937 Fix typos in docstrings.
2938
2939 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2940
2941 * frame.el (get-other-frame): Tiny cleanup.
2942
2943 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2944
2945 * vc/vc.el (vc-default-ignore-completion-table):
2946 Silence byte-compiler warning.
2947
2948 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2949 slot , which can indeed be nil.
2950 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2951 Move entry for `left' from persistent to live filter alist.
2952 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2953 Doc fixes.
2954 (frameset-filter-params): When restoring a frame, copy items added to
2955 `filtered', to avoid unwittingly modifying the original parameters.
2956 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2957 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2958
2959 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2960 to use looking-at-p instead of looking-at. (Bug#15028)
2961
2962 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 Revert introduction of isearch-filter-predicates (bug#14714).
2965 Rely on add-function instead.
2966 * isearch.el (isearch-filter-predicates): Rename it back to
2967 isearch-filter-predicate.
2968 (isearch-message-prefix): Use advice-function-mapc and advice
2969 properties to get the isearch-message-prefix.
2970 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2971 instead of run-hook-with-args-until-failure.
2972 (isearch-filter-visible): Not obsolete any more.
2973 * loadup.el: Preload nadvice.
2974 * replace.el (perform-replace): Revert to funcall
2975 instead of run-hook-with-args-until-failure.
2976 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2977 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2978 dired-isearch-filenames-toggle; make it into a proper minor mode.
2979 Use add/remove-function.
2980 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2981 Call the minor-mode rather than add/remove-hook.
2982 (dired-isearch-filter-filenames):
2983 Remove isearch-message-prefix property.
2984 * info.el (Info--search-loop): New function, extracted from Info-search.
2985 Funcall isearch-filter-predicate instead of
2986 run-hook-with-args-until-failure isearch-filter-predicates.
2987 (Info-search): Use it.
2988 (Info-mode): Use isearch-filter-predicate instead of
2989 isearch-filter-predicates.
2990
2991 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2992
2993 Do not call to `selected-window' where it is assumed by default.
2994 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2995 `window-hscroll', `window-width', `window-height', `window-buffer',
2996 `window-frame', `window-start', `window-point', `next-window'
2997 and `window-display-table'.
2998 * abbrev.el (abbrev--default-expand):
2999 * bs.el (bs--show-with-configuration):
3000 * buff-menu.el (Buffer-menu-mouse-select):
3001 * calc/calc.el (calc):
3002 * calendar/calendar.el (calendar-generate-window):
3003 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3004 (diary-make-entry):
3005 * comint.el (send-invisible, comint-dynamic-complete-filename)
3006 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3007 * completion.el (complete):
3008 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3009 * disp-table.el (describe-current-display-table):
3010 * doc-view.el (doc-view-insert-image):
3011 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3012 * ehelp.el (with-electric-help):
3013 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3014 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3015 * emacs-lisp/helper.el (Helper-help-scroller):
3016 * emulation/cua-base.el (cua--post-command-handler-1):
3017 * eshell/esh-mode.el (eshell-output-filter):
3018 * ffap.el (ffap-gnus-wrapper):
3019 * help-macro.el (make-help-screen):
3020 * hilit-chg.el (highlight-compare-buffers):
3021 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3022 * hl-line.el (global-hl-line-highlight):
3023 * icomplete.el (icomplete-simple-completing-p):
3024 * isearch.el (isearch-done):
3025 * jit-lock.el (jit-lock-stealth-fontify):
3026 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3027 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3028 * mpc.el (mpc-tagbrowser, mpc):
3029 * net/rcirc.el (rcirc-any-buffer):
3030 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3031 * play/landmark.el (landmark-max-width, landmark-max-height):
3032 * play/zone.el (zone):
3033 * progmodes/compile.el (compilation-goto-locus):
3034 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3035 * progmodes/etags.el (find-tag-other-window):
3036 * progmodes/fortran.el (fortran-column-ruler):
3037 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3038 * progmodes/verilog-mode.el (verilog-point-text):
3039 * reposition.el (reposition-window):
3040 * rot13.el (toggle-rot13-mode):
3041 * server.el (server-switch-buffer):
3042 * shell.el (shell-dynamic-complete-command)
3043 (shell-dynamic-complete-environment-variable):
3044 * simple.el (insert-buffer, set-selective-display)
3045 (delete-completion-window):
3046 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3047 (speedbar-recenter):
3048 * startup.el (fancy-splash-head):
3049 * textmodes/ispell.el (ispell-command-loop):
3050 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3051 * tutorial.el (help-with-tutorial):
3052 * vc/add-log.el (add-change-log-entry):
3053 * vc/compare-w.el (compare-windows):
3054 * vc/ediff-help.el (ediff-indent-help-message):
3055 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3056 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3057 (ediff-setup-control-frame):
3058 * vc/emerge.el (emerge-position-region):
3059 * vc/pcvs-util.el (cvs-bury-buffer):
3060 * window.el (walk-windows, mouse-autoselect-window-select):
3061 * winner.el (winner-set-conf, winner-undo): Related users changed.
3062
3063 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3064
3065 * frameset.el (frameset--set-id): Doc fix.
3066 (frameset-frame-id, frameset-frame-id-equal-p)
3067 (frameset-locate-frame-id): New functions.
3068 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3069 (frameset-restore): Use them.
3070
3071 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3072
3073 Do not call to `selected-frame' where it is assumed by default.
3074 Affected functions are `raise-frame', `redraw-frame',
3075 `frame-first-window', `frame-terminal' and `delete-frame'.
3076 * calendar/appt.el (appt-disp-window):
3077 * epg.el (epg-wait-for-completion):
3078 * follow.el (follow-delete-other-windows-and-split)
3079 (follow-avoid-tail-recenter):
3080 * international/mule.el (set-terminal-coding-system):
3081 * mail/rmail.el (rmail-mail-return):
3082 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3083 * progmodes/f90.el (f90-add-imenu-menu):
3084 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3085 * server.el (server-switch-buffer):
3086 * simple.el (delete-completion-window):
3087 * talk.el (talk):
3088 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3089 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3090 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3091 * vc/ediff.el (ediff-documentation): Related users changed.
3092 * frame.el (selected-terminal): Remove the leftover.
3093
3094 2013-08-05 Glenn Morris <rgm@gnu.org>
3095
3096 * calendar/calendar.el (calendar-generate-month):
3097 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3098 (calendar-generate-month, calendar-font-lock-keywords):
3099 Fix for calendar-day-header-width > length of any day name.
3100
3101 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3102
3103 * desktop.el (desktop-clear): Use new name of sort predicate.
3104
3105 * frameset.el (frameset): Add docstring. Move :version property to its
3106 own `version' slot.
3107 (frameset-copy): Rename from copy-frameset.
3108 (frameset-p): Check more thoroughly.
3109 (frameset-prop): Do not check for :version, which is no longer a prop.
3110 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3111 Use new :never value instead of t.
3112 (frameset-filter-alist): Expand and clarify docstring.
3113 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3114 (frameset-filter-minibuffer, frameset-filter-save-param)
3115 (frameset-filter-restore-param, frameset-filter-iconified):
3116 Add pointer to docstring of frameset-filter-alist.
3117 (frameset-filter-params): Rename filter values to be more meaningful:
3118 :never instead of t, and reverse the meanings of :save and :restore.
3119 (frameset--process-minibuffer-frames): Clarify error message.
3120 (frameset-save): Avoid unnecessary and confusing call to framep.
3121 Use new BOA constructor for framesets.
3122 (frameset--reuse-list): Doc fix.
3123 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3124 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3125 (frameset-minibufferless-first-p): Doc fix.
3126 Rename from frameset-sort-frames-for-deletion.
3127 (frameset-restore): Doc fixes. Use new function names.
3128 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3129
3130 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3131
3132 * desktop.el (desktop-restore-forces-onscreen)
3133 (desktop-restore-reuses-frames): Document :keyword constant values.
3134 (desktop-filter-parameters-alist): Remove, now identical to
3135 frameset-filter-alist.
3136 (desktop--filter-tty*): Remove, moved to frameset.el.
3137 (desktop-save-frameset, desktop-restore-frameset):
3138 Do not pass :filters argument.
3139
3140 * frameset.el (frameset-live-filter-alist)
3141 (frameset-persistent-filter-alist): New variables.
3142 (frameset-filter-alist): Use them. Add autoload cookie.
3143 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3144 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3145 `frameset--id' (it's supposed to be internal to frameset.el).
3146 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3147 (frameset--initial-params): New function.
3148 (frameset--get-frame): Use it. Doc fix.
3149 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3150 Accept :all, not 'all.
3151 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3152 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3153 with fbound symbols. Fix frame id matching, and remove matching ids if
3154 the frame being restored is deleted. Obey :delete.
3155
3156 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * subr.el (macrop): New function.
3159 (text-clone--maintaining): New var.
3160 (text-clone--maintain): Rename from text-clone-maintain. Use it
3161 instead of inhibit-modification-hooks.
3162
3163 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3164 a proxy, so as handle autoloads and redefinitions of the target.
3165 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3166
3167 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3168 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3169 (pcase--mutually-exclusive-p): New function.
3170 (pcase--split-consp): Use it.
3171 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3172 mutually exclusive with the current predicate.
3173
3174 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3175 (edebug-macrop): Remove. Use `macrop' instead.
3176 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3177 (ad-macro-p):
3178 * eshell/esh-cmd.el (eshell-macrop):
3179 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3180
3181 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3184 (advice-mapc): New function, using it.
3185 (advice-function-member-p): New function.
3186 (advice--normalize): Store the cdr in advice--saved-rewrite since
3187 that's the part that will be changed.
3188 (advice--symbol-function): New function.
3189 (advice-remove): Handle removal before the function is defined.
3190 Adjust to new advice--saved-rewrite.
3191 (advice-member-p): Use advice-function-member-p and
3192 advice--symbol-function.
3193
3194 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3195
3196 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3197 (frameset-filter-minibuffer): Doc fix.
3198 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3199 (frameset--set-id, frameset--process-minibuffer-frames)
3200 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3201 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3202
3203 * desktop.el (desktop-clear): Only delete frames when called
3204 interactively and desktop-restore-frames is non-nil. Doc fix.
3205 (desktop-read): Set desktop-saved-frameset to nil.
3206
3207 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3208
3209 * vc/vc.el (vc-ignore): Rewrite.
3210 (vc-default-ignore-completion-table):
3211 (vc--read-lines):
3212 (vc--add-line, vc--remove-regexp): New functions.
3213
3214 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3215 (vc-svn-ignore-completion-table): New function.
3216
3217 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3218 (vc-hg-ignore-completion-table):
3219 (vc-hg-find-ignore-file): New functions.
3220
3221 * vc/vc-git.el (vc-git-ignore): Rewrite.
3222 (vc-git-ignore-completion-table):
3223 (vc-git-find-ignore-file): New functions.
3224
3225 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3226
3227 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3228 (vc-bzr-ignore-completion-table):
3229 (vc-bzr-find-ignore-file): New functions.
3230
3231 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3232
3233 * frameset.el (frameset-prop): New function and setter.
3234 (frameset-save): Do not modify frame list passed by the caller.
3235
3236 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3239
3240 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3243 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3244
3245 * custom.el (custom-initialize-default, custom-initialize-set)
3246 (custom-initialize-reset, custom-initialize-changed): Affect the
3247 toplevel-default-value (bug#6275, bug#14586).
3248 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3249 for bug#6275.
3250
3251 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3252
3253 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3254 Add cl-def* expressions.
3255
3256 * frameset.el (frameset-filter-params): Fix order of arguments.
3257
3258 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3259
3260 Move code related to saving frames to frameset.el.
3261 * desktop.el: Require frameset.
3262 (desktop-restore-frames): Doc fix.
3263 (desktop-restore-reuses-frames): Rename from
3264 desktop-restoring-reuses-frames.
3265 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3266 (desktop-clear): Clear frames too.
3267 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3268 (desktop--filter-tty*, desktop-save, desktop-read):
3269 Use frameset functions.
3270 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3271 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3272 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3273 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3274 (desktop--process-minibuffer-frames, desktop-save-frames)
3275 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3276 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3277 (desktop--sort-states, desktop-restoring-frames-p)
3278 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3279 (desktop-restoring-frameset-p, desktop-restore-frameset)
3280 (desktop--check-dont-save, desktop-save-frameset): New functions.
3281 (desktop--app-id): New constant.
3282 (desktop-first-buffer, desktop-buffer-ok-count)
3283 (desktop-buffer-fail-count): Move before first use.
3284 * frameset.el: New file.
3285
3286 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * files.el: Use lexical-binding.
3289 (dir-locals-read-from-file): Remove unused `err' variable.
3290 (hack-dir-local-variables--warned-coding): New var.
3291 (hack-dir-local-variables): Use it to avoid repeated warnings.
3292 (make-backup-file-name--default-function): New function.
3293 (make-backup-file-name-function): Use it as default.
3294 (buffer-stale--default-function): New function.
3295 (buffer-stale-function): Use it as default.
3296 (revert-buffer-insert-file-contents--default-function): New function.
3297 (revert-buffer-insert-file-contents-function): Use it as default.
3298 (insert-directory): Avoid add-to-list.
3299
3300 * autorevert.el (auto-revert-handler): Simplify.
3301 Use buffer-stale--default-function.
3302
3303 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3304
3305 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3306
3307 * whitespace.el (whitespace-ensure-local-variables): New function.
3308 (whitespace-cleanup-region): Call it.
3309 (whitespace-turn-on): Call it.
3310
3311 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3312
3313 Complete file name handlers.
3314
3315 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3316 (tramp-handle-verify-visited-file-modtime)
3317 (tramp-handle-file-notify-rm-watch): New functions.
3318 (tramp-call-process): Do not bind `default-directory'.
3319
3320 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3321 Order alphabetically.
3322 [access-file, add-name-to-file, dired-call-process]:
3323 [dired-compress-file, file-acl, file-notify-rm-watch]:
3324 [file-ownership-preserved-p, file-selinux-context]:
3325 [make-directory-internal, make-symbolic-link, set-file-acl]:
3326 [set-file-selinux-context, set-visited-file-modtime]:
3327 [verify-visited-file-modtime]: Add handler.
3328 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3329
3330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3331 [file-notify-add-watch, file-notify-rm-watch]:
3332 [set-file-times, set-visited-file-modtime]:
3333 [verify-visited-file-modtime]: Add handler.
3334 (with-tramp-gvfs-error-message)
3335 (tramp-gvfs-handle-set-visited-file-modtime)
3336 (tramp-gvfs-fuse-file-name): Remove.
3337 (tramp-gvfs-handle-file-notify-add-watch)
3338 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3339 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3340
3341 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3342 Order alphabetically.
3343 [file-notify-rm-watch ]: Use default Tramp handler.
3344 [executable-find]: Remove private handler.
3345 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3346 `default-directory'.
3347 (tramp-sh-handle-executable-find)
3348 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3349 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3350 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3351 Do not use `format' in `tramp-message'.
3352
3353 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3354 [file-notify-rm-watch, set-visited-file-modtime]:
3355 [verify-visited-file-modtime]: Add handler.
3356 (tramp-smb-call-winexe): Do not bind `default-directory'.
3357
3358 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3359
3360 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3361
3362 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3363
3364 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3365 use it.
3366 (log-view-diff-changeset): Same.
3367 (log-view-diff-common): Call backend command `previous-revision'
3368 to find out the previous revision, in both cases. Swap the
3369 variables `to' and `fr', so that `fr' usually refers to the
3370 earlier revision (Bug#14989).
3371
3372 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3373
3374 * ibuf-ext.el (ibuffer-filter-by-filename):
3375 Make it work with dired buffers too.
3376
3377 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3378
3379 * emacs-lisp/re-builder.el (reb-color-display-p):
3380 * files.el (save-buffers-kill-terminal):
3381 * net/browse-url.el (browse-url):
3382 * server.el (server-save-buffers-kill-terminal):
3383 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3384 Prefer nil to selected-frame for the first arg of frame-parameter.
3385
3386 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3387
3388 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3389
3390 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3391
3392 * minibuffer.el (completion--twq-all): Try and preserve each
3393 completion's case choice (bug#14907).
3394
3395 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3396
3397 * net/network-stream.el (open-network-stream): Mention the new
3398 :nogreeting parameter.
3399 (network-stream-open-starttls): Use the :nogreeting parameter
3400 (bug#14938).
3401
3402 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3403
3404 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3405 more natural than popping.
3406
3407 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3408 (shr-urlify): Highlight under mouse.
3409
3410 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3411
3412 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3413
3414 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3415
3416 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3417 buffer for output.
3418
3419 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3420 point-min==1. Fix search string. Fix parentheses missing.
3421
3422 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3423 assume point-min==1. Fix search string. Fix parentheses missing.
3424
3425 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3426
3427 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3428 buffer for output.
3429
3430 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3431
3432 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3433 initial frame is minibuffer-less. (Bug#14841)
3434
3435 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3438 option.
3439
3440 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3441 (tramp-maybe-open-connection): Use it.
3442
3443 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3444
3445 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3446 minimal set of parameters passed when creating a frame, because
3447 the minibuffer status of a frame cannot be changed later.
3448
3449 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3450
3451 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3452 replace-regexp-in-string and inadvertent omissions in previous change.
3453 (todo-filter-items): Ensure only file names are comma-separated in
3454 name of filtered items buffer.
3455
3456 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3457
3458 * desktop.el: Optionally force offscreen frames back onscreen.
3459 (desktop-restoring-reuses-frames): New option.
3460 (desktop--compute-pos, desktop--move-onscreen): New functions.
3461 (desktop--make-frame): Use desktop--move-onscreen.
3462
3463 2013-07-27 Alan Mackenzie <acm@muc.de>
3464
3465 Fontify a Java generic method as a function.
3466 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3467 value to t.
3468
3469 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3470
3471 * calendar/todo-mode.el: Add command to rename todo files.
3472 (todo-rename-file): New command.
3473 (todo-key-bindings-t): Add key binding for it. Change the
3474 bindings of todo-filter-regexp-items(-multifile) to use `x'
3475 instead of `r', since the latter is better suited to the new
3476 renaming command.
3477
3478 2013-07-27 Alan Mackenzie <acm@muc.de>
3479
3480 Make Java try-with-resources statement parse properly.
3481 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3482 (c-block-stmt-1-2-key): New language constants/variables.
3483 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3484 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3485 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3486 with c-block-stmt-1-2-key.
3487
3488 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3489
3490 * desktop.el (desktop--make-frame): Apply most frame parameters after
3491 creating the frame to force (partially or totally) offscreen frames to
3492 be restored as such.
3493
3494 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3495
3496 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3497 (Bug#14948)
3498
3499 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3502 `base' arg of backtrace-frame.
3503
3504 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3505
3506 * simple.el (list-processes): Doc fix.
3507
3508 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3509
3510 * desktop.el (desktop--select-frame):
3511 Try harder to reuse existing frames.
3512
3513 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3516 (edebug-eval): Use backtrace-eval.
3517 (edebug--display, edebug--recursive-edit): Don't let-bind the
3518 edebug-outer-* vars that keep track of variables we locally let-bind.
3519 (edebug-outside-excursion): Don't restore outside values of locally
3520 let-bound vars.
3521 (edebug--display): Use user-error.
3522 (cl-lexical-debug, cl-debug-env): Remove.
3523
3524 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3525
3526 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3527 are restored to be sure that they are visible before deleting any
3528 remaining ones.
3529
3530 2013-07-26 Matthias Meulien <orontee@gmail.com>
3531
3532 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3533 vc-print-root-log. (Bug#14948)
3534
3535 2013-07-26 Richard Stallman <rms@gnu.org>
3536
3537 Add aliases for encrypting mail.
3538 * epa.el (epa-mail-aliases): New option.
3539 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3540 Bind inhibit-read-only so read-only text doesn't ruin everything.
3541 (epa-mail-default-recipients): New subroutine broken out.
3542 Handle epa-mail-aliases.
3543
3544 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 Add support for lexical variables to the debugger's `e' command.
3547 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3548 vars, except for debugger-outer-match-data.
3549 (debugger-frame-number): Move check for "on a function call" from
3550 callers into it. Add `skip-base' argument.
3551 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3552 (debugger-env-macro): Only reset the state stored in non-variables,
3553 i.e. current-buffer and match-data.
3554 (debugger-eval-expression): Rewrite using backtrace-eval.
3555 * subr.el (internal--called-interactively-p--get-frame): Remove.
3556 (called-interactively-p):
3557 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3558 `base' arg of backtrace-frame instead.
3559
3560 2013-07-26 Glenn Morris <rgm@gnu.org>
3561
3562 * align.el (align-regexp): Doc fix. (Bug#14857)
3563 (align-region): Explicit error if subexpression missing/does not match.
3564
3565 * simple.el (global-visual-line-mode):
3566 Do not duplicate the mode lighter. (Bug#14858)
3567
3568 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3569
3570 * window.el (display-buffer): In display-buffer bind
3571 split-window-keep-point to t, bug#14829.
3572
3573 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3574
3575 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3576 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3577 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3578 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3579 Change accordingly.
3580 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3581 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3582
3583 2013-07-25 Glenn Morris <rgm@gnu.org>
3584
3585 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3586
3587 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3588
3589 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3590 parameter to modify-frame-parameters if the value has not changed;
3591 this is a workaround for bug#14949.
3592 (desktop--make-frame): On cl-delete-if call, check parameter name,
3593 not full parameter.
3594
3595 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3596
3597 * vc/vc.el (vc-ignore): New function.
3598
3599 * vc/vc-svn.el (vc-svn-ignore): New function.
3600
3601 * vc/vc-hg.el (vc-hg-ignore): New function.
3602
3603 * vc/vc-git.el (vc-git-ignore): New function.
3604
3605 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3606 (vc-dir-ignore): New function.
3607
3608 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3609 (cvs-append-to-ignore): Move here from pcvs.el.
3610
3611 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3612
3613 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3614
3615 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3616
3617 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3618 (desktop-restore-frames): Warn when deleting an existing frame failed.
3619
3620 2013-07-24 Glenn Morris <rgm@gnu.org>
3621
3622 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3623
3624 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3625
3626 * filenotify.el (file-notify-supported-p):
3627 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3628 Remove functions.
3629
3630 * autorevert.el (auto-revert-use-notify):
3631 (auto-revert-notify-add-watch):
3632 * net/tramp.el (tramp-file-name-for-operation):
3633 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3634 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3635 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3636 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3637 Remove `file-notify-supported-p' entry.
3638
3639 2013-07-24 Glenn Morris <rgm@gnu.org>
3640
3641 * printing.el: Replace all uses of deleted ps-windows-system,
3642 ps-lp-system, ps-flatten-list with lpr- versions.
3643
3644 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3645
3646 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3647 checked with memq (bug#14935).
3648
3649 * files.el (revert-buffer-function): Use a non-nil default.
3650 (revert-buffer-preserve-modes): Declare var to
3651 provide access to the `preserve-modes' argument.
3652 (revert-buffer): Let-bind it.
3653 (revert-buffer--default): New function, extracted from revert-buffer.
3654
3655 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * lpr.el: Signal print errors more prominently.
3658 (print-region-function): Don't default to nil.
3659 (lpr-print-region): New function, extracted from print-region-1.
3660 Check lpr's return value and signal an error in case of problem.
3661 (print-region-1): Use it.
3662 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3663 versions instead.
3664 (ps-printer-name): Default to nil.
3665 (ps-printer-name-option): Default to lpr-printer-switch.
3666 (ps-print-region-function): Don't default to nil.
3667 (ps-postscript-code-directory): Simplify default.
3668 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3669 (ps-string-list, ps-eval-switch, ps-flatten-list)
3670 (ps-flatten-list-1): Remove.
3671 (ps-multibyte-buffer): Avoid setq.
3672 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3673 (print-region-function, ps-print-region-function): Don't set them here.
3674
3675 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3676
3677 * ido.el (ido-fractionp):
3678 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3679 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3680 (ido-max-directory-size, ido-max-dir-file-cache)
3681 (ido-decorations): Doc fix.
3682
3683 * ansi-color.el: Fix old URL.
3684
3685 2013-07-23 Michael R. Mauger <michael@mauger.com>
3686
3687 * progmodes/sql.el: Version 3.3
3688 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3689 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3690 (sql-interactive-remove-continuation-prompt): Rewrite, use
3691 functions above. Fix continuation prompt and complete output line
3692 handling.
3693 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3694 redirected output buffer.
3695 (sql-mode): Restore deleted code (Bug#13591).
3696
3697 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3698
3699 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3700
3701 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3704
3705 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3706 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3707 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3708
3709 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3710
3711 * desktop.el (desktop-clear): Simplify; remove useless checks
3712 against invalid buffer names.
3713 (desktop-list*): Use cl-list*.
3714 (desktop-buffer-info, desktop-create-buffer): Simplify.
3715
3716 2013-07-23 Leo Liu <sdl.web@gmail.com>
3717
3718 * bookmark.el (bookmark-make-record): Restore NAME as a default
3719 value. (Bug#14933)
3720
3721 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3724 extracted from autoload--insert-text.
3725 (autoload--insert-text): Remove.
3726 (autoload--print-cookie-text): New function, extracted from
3727 autoload--insert-cookie-text.
3728 (autoload--insert-cookie-text): Remove.
3729 (autoload-generate-file-autoloads): Adjust calls accordingly.
3730
3731 * winner.el (winner-hook-installed-p): Remove.
3732 (winner-mode): Simplify accordingly.
3733
3734 * subr.el (add-to-list): Fix compiler-macro when `append' is
3735 not constant. Don't use `cl-member' for the base case.
3736
3737 * progmodes/subword.el: Fix boundary case (bug#13758).
3738 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3739 own group.
3740 (subword-backward-regexp): Make it a constant.
3741 (subword-forward-internal): Don't treat a trailing capital as the
3742 beginning of a word.
3743
3744 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3745
3746 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3747 global value of tabulated-list-revert-hook (bug#14930).
3748
3749 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3750
3751 * desktop.el: Require 'cl-lib.
3752 (desktop-before-saving-frames-functions): New hook.
3753 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3754 for frames being saved. Rename from desktop--save-minibuffer-frames.
3755 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3756 Do not save frames with non-nil `desktop-dont-save' parameter.
3757 Filter out deleted frames.
3758 (desktop--find-frame): Use cl-find-if.
3759 (desktop--select-frame): Use cl-(first|second|third) to access values
3760 of desktop-mini.
3761 (desktop--make-frame): Use cl-delete-if.
3762 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3763 (desktop-restore-frames): Use cl-(first|second|third) to access values
3764 of desktop-mini. Look for visible frame at the end, not while
3765 restoring frames.
3766
3767 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3768 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3769 Use string-match-p, looking-at-p (bug#14927).
3770
3771 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * desktop.el (desktop-saved-frame-states):
3774 Rename from desktop--saved-states; all users changed.
3775 (desktop-save-frames): Rename from desktop--save-frames.
3776 Do not save state to desktop file.
3777 (desktop-save): Save desktop-saved-frame-states to desktop file
3778 and reset to nil.
3779 (desktop-restoring-frames-p): New function.
3780 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3781 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3782 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3783
3784 * desktop.el: Correctly restore iconified frames.
3785 (desktop--filter-iconified-position): New function.
3786 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3787
3788 2013-07-20 Glenn Morris <rgm@gnu.org>
3789
3790 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3791 Let `message' do the formatting.
3792 (def-gdb-preempt-display-buffer): Add explicit format.
3793
3794 * image-dired.el (image-dired-track-original-file):
3795 Use with-current-buffer.
3796 (image-dired-track-thumbnail): Use with-current-buffer.
3797 Avoid changing point of wrong window.
3798
3799 * image-dired.el (image-dired-track-original-file):
3800 Avoid changing point of wrong window. (Bug#14909)
3801
3802 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3803
3804 * progmodes/gdb-mi.el (gdb-done-or-error):
3805 Guard against "%" in gdb output. (Bug#14127)
3806
3807 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3808
3809 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3810 (Bug#14826)
3811
3812 * international/mule.el (coding-system-iso-2022-flags): Fix last
3813 change.
3814
3815 2013-07-20 Kenichi Handa <handa@gnu.org>
3816
3817 * international/mule.el (coding-system-iso-2022-flags):
3818 Add `8-bit-level-4'. (Bug#8522)
3819
3820 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3821
3822 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3823 (bug#14815).
3824
3825 * net/eww.el (eww-process-text-input): Allow inputting when the
3826 point is at the start of the line, as the properties aren't
3827 front-sticky.
3828
3829 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3830 degenerate widths.
3831
3832 2013-07-19 Richard Stallman <rms@gnu.org>
3833
3834 * epa.el (epa-popup-info-window): Doc fix.
3835
3836 * subr.el (split-string): New arg TRIM.
3837
3838 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3839
3840 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3841 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3842
3843 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3844
3845 * filenotify.el (file-notify--library): Rename from
3846 `file-notify-support'. Do not autoload. Adapt all uses.
3847 (file-notify-supported-p): New defun.
3848
3849 * autorevert.el (auto-revert-use-notify):
3850 Use `file-notify-supported-p' instead of `file-notify-support'.
3851 Adapt docstring.
3852 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3853
3854 * net/tramp.el (tramp-file-name-for-operation):
3855 Add `file-notify-supported-p'.
3856
3857 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3858 New defun.
3859 (tramp-sh-file-name-handler-alist): Add it as handler for
3860 `file-notify-supported-p '.
3861
3862 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3864 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3865 Add `ignore' as handler for `file-notify-*' functions.
3866
3867 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3868
3869 * simple.el (line-move-partial, line-move): Don't start vscroll or
3870 scroll-up if the current line is not taller than the window.
3871 (Bug#14881)
3872
3873 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3874
3875 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3876 highlight question marks in the method names as strings.
3877 (ruby-block-beg-keywords): Inline.
3878 (ruby-font-lock-keyword-beg-re): Extract from
3879 `ruby-font-lock-keywords'.
3880
3881 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3882
3883 * frame.el (blink-cursor-blinks): New defcustom.
3884 (blink-cursor-blinks-done): New defvar.
3885 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3886 (blink-cursor-timer-function): Check if number of blinks has been
3887 done on X and NS.
3888 (blink-cursor-suspend, blink-cursor-check): New defuns.
3889
3890 2013-07-15 Glenn Morris <rgm@gnu.org>
3891
3892 * edmacro.el (edmacro-format-keys): Fix previous change.
3893
3894 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3895
3896 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3897 The hack didn't work outside English locales anyway.
3898
3899 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3900
3901 * simple.el (define-alternatives): Rename from alternatives-define,
3902 per RMS' suggestion.
3903
3904 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3905
3906 * desktop.el (desktop-restore-frames): Change default to t.
3907 (desktop-restore-in-current-display): Now offer more options.
3908 (desktop-restoring-reuses-frames): New customization option.
3909 (desktop--saved-states): Doc fix.
3910 (desktop-filter-parameters-alist): New variable, renamed and expanded
3911 from desktop--excluded-frame-parameters.
3912 (desktop--target-display): New variable.
3913 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3914 (desktop--filter-tty*, desktop--filter-*-color)
3915 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3916 (desktop--filter-save-desktop-parm)
3917 (desktop-restore-in-original-display-p): New functions.
3918 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3919 (desktop--save-minibuffer-frames): New function, inspired by a similar
3920 function from Martin Rudalics.
3921 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3922 (desktop--restore-in-this-display-p): Remove.
3923 (desktop--find-frame): Rename from desktop--find-frame-in-display
3924 and add predicate argument.
3925 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3926 (desktop--reuse-list): New variable.
3927 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3928 New functions.
3929 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3930
3931 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3932
3933 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3934
3935 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3938 Highlight conversion methods on Kernel.
3939
3940 2013-07-13 Alan Mackenzie <acm@muc.de>
3941
3942 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3943 and comment it out. This out-commenting enables certain C++
3944 declarations to be parsed correctly.
3945
3946 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3947
3948 * international/mule.el (define-coding-system): Doc fix.
3949
3950 * simple.el (default-font-height): Don't call font-info if the
3951 frame's default font didn't change since the frame was created.
3952 (Bug#14838)
3953
3954 2013-07-13 Leo Liu <sdl.web@gmail.com>
3955
3956 * ido.el (ido-read-file-name): Guard against non-symbol value.
3957
3958 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3959
3960 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3961 in nested defuns.
3962
3963 2013-07-13 Leo Liu <sdl.web@gmail.com>
3964
3965 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3966 ido-set-matches call. (Bug#6852)
3967
3968 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3969
3970 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3971 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3972 Ruby 2.0.
3973 (ruby-font-lock-keywords): Distinguish calls to functions with
3974 module-like names from module references. Highlight character
3975 literals.
3976
3977 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3978
3979 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3980 (gdb-send): Handle continued commands. (Bug#14847)
3981
3982 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3983
3984 * desktop.el (desktop--v2s): Remove unused local variable.
3985 (desktop-save-buffer): Make defvar-local; adjust docstring.
3986 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3987 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3988
3989 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3990
3991 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3992
3993 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3994
3995 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3996 (Bug#14842)
3997
3998 2013-07-12 Glenn Morris <rgm@gnu.org>
3999
4000 * doc-view.el: Require cl-lib at runtime too.
4001 (doc-view-remove-if): Remove.
4002 (doc-view-search-next-match, doc-view-search-previous-match):
4003 Use cl-remove-if.
4004
4005 * edmacro.el: Require cl-lib at runtime too.
4006 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4007 (edmacro-mismatch, edmacro-subseq): Remove.
4008
4009 * shadowfile.el: Require cl-lib.
4010 (shadow-remove-if): Remove.
4011 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4012 Use cl-remove-if.
4013
4014 * wid-edit.el: Require cl-lib.
4015 (widget-choose): Use cl-remove-if.
4016 (widget-remove-if): Remove.
4017
4018 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4019 (ebrowse-delete-if-not): Remove.
4020 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4021 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4022 Use cl-delete-if-not.
4023
4024 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4025
4026 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4027 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4028
4029 2013-07-12 Leo Liu <sdl.web@gmail.com>
4030
4031 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4032
4033 2013-07-11 Glenn Morris <rgm@gnu.org>
4034
4035 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4036 (edebug-gensym-index, edebug-gensym):
4037 Remove reimplementation of cl-gensym.
4038 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4039
4040 * thumbs.el: Require cl-lib at run-time too.
4041 (thumbs-gensym-counter, thumbs-gensym):
4042 Remove reimplementation of cl-gensym.
4043 (thumbs-temp-file): Use cl-gensym.
4044
4045 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4046 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4047 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4048 (ert--union, ert--gensym-counter, ert--gensym-counter)
4049 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4050 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4051 (ert-make-test-unbound, ert--expand-should-1)
4052 (ert--expand-should, ert--should-error-handle-error)
4053 (should-error, ert--explain-equal-rec)
4054 (ert--plist-difference-explanation, ert-select-tests)
4055 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4056 Use cl-lib functions rather than reimplementations.
4057
4058 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4059
4060 * net/tramp.el (tramp-methods): Extend docstring.
4061 (tramp-connection-timeout): New defcustom.
4062 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4063 (with-tramp-progress-reporter): Simplify.
4064 (tramp-process-actions): Improve messages.
4065
4066 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4067 * net/tramp-sh.el (tramp-maybe-open-connection):
4068 Use `tramp-connection-timeout'.
4069 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4070 (Bug#14808)
4071
4072 2013-07-11 Leo Liu <sdl.web@gmail.com>
4073
4074 * ido.el (ido-read-file-name): Conform to the requirements of
4075 read-file-name. (Bug#11861)
4076 (ido-read-directory-name): Conform to the requirements of
4077 read-directory-name.
4078
4079 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4080
4081 * subr.el (delay-warning): New function.
4082
4083 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4084
4085 * simple.el (default-line-height): New function.
4086 (line-move-partial, line-move): Use it instead of computing the
4087 line height inline.
4088 (line-move-partial): Always compute ROWH. If the last line is
4089 partially-visible, but its text is completely visible, allow
4090 cursor to enter such a partially-visible line.
4091
4092 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4093
4094 Improve error messages. (Bug#14808)
4095
4096 * net/tramp.el (tramp-current-connection): New defvar, moved from
4097 tramp-sh.el.
4098 (tramp-message-show-progress-reporter-message): Remove, not
4099 needed anymore.
4100 (tramp-error-with-buffer): Show message in minibuffer.
4101 Discard input before waiting. Reset connection timestamp.
4102 (with-tramp-progress-reporter): Improve messages.
4103 (tramp-process-actions): Use progress reporter. Delete process in
4104 case of error. Improve messages.
4105
4106 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4107 Call `tramp-error-with-buffer' with vector and buffer.
4108 (tramp-current-connection): Remove.
4109 (tramp-maybe-open-connection): The car of
4110 `tramp-current-connection' are the first 3 slots of the vector.
4111
4112 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4113
4114 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4115 inside continued strings.
4116
4117 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4118
4119 Timestamp fixes for undo (Bug#14824).
4120 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4121
4122 2013-07-10 Leo Liu <sdl.web@gmail.com>
4123
4124 * files.el (require-final-newline): Allow safe local value.
4125 (Bug#14834)
4126
4127 2013-07-09 Leo Liu <sdl.web@gmail.com>
4128
4129 * ido.el (ido-read-directory-name): Handle fallback.
4130 (ido-read-file-name): Update DIR to ido-current-directory.
4131 (Bug#1516)
4132 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4133
4134 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4135
4136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4137 "autoload". Remove "warn lower camel case" section, previously
4138 commented out. Highlight negation char. Do not highlight the
4139 target in singleton method definitions.
4140
4141 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * faces.el (tty-setup-hook): Declare the hook.
4144
4145 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4146 and detect when a guard/pred depends on local vars (bug#14773).
4147 (pcase--u1): Adjust caller.
4148
4149 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4150
4151 * simple.el (line-move-partial, line-move): Account for
4152 line-spacing.
4153 (line-move-partial): Avoid setting vscroll when the last
4154 partially-visible line in window is of default height.
4155
4156 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4157
4158 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4159 been used a while.
4160
4161 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4162
4163 * subr.el (read-quoted-char): Remove unused local variable `char'.
4164
4165 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4166
4167 * ediff.el (ediff-version): Version update.
4168 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4169 (ediff-merge-with-ancestor-command, ediff-directories-command)
4170 (ediff-directories3-command, ediff-merge-directories-command)
4171 (ediff-merge-directories-with-ancestor-command): New functions.
4172 All are command-line interfaces to ediff: to facilitate calling
4173 Emacs with the appropriate ediff functions invoked.
4174
4175 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4176 (viper-save-kill-buffer): Check if buffer is modified.
4177
4178 * viper.el (viper-version): Version update.
4179 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4180
4181 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4184 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4185 (viper-intercept-ESC-key): Simplify.
4186 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4187 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4188 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4189 (viper-setup-ESC-to-escape): New functions.
4190 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4191 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4192
4193 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4194
4195 * simple.el (default-font-height, window-screen-lines):
4196 New functions.
4197 (line-move, line-move-partial): Use them instead of
4198 frame-char-height and window-text-height. This makes scrolling
4199 text smoother when the buffer's default face uses a font that is
4200 different from the frame's default font.
4201
4202 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4203
4204 * files.el (write-file): Do not display confirm dialog for NS,
4205 it does its own dialog, which can't be cancelled (Bug#14578).
4206
4207 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4208
4209 * simple.el (line-move-partial): Adjust the row returned by
4210 posn-at-point for the current window-vscroll. (Bug#14567)
4211
4212 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4213
4214 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4215 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4216 spaces.
4217
4218 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4219
4220 * window.el (window-state-put-stale-windows): New variable.
4221 (window--state-put-2): Save list of windows without matching buffer.
4222 (window-state-put): Remove "bufferless" windows if possible.
4223
4224 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4225
4226 * simple.el (alternatives-define): Remove leftover :group keyword.
4227 Tweak docstring.
4228
4229 2013-07-06 Leo Liu <sdl.web@gmail.com>
4230
4231 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4232 (ido-enable-virtual-buffers): New variable.
4233 (ido-buffer-internal, ido-toggle-virtual-buffers)
4234 (ido-make-buffer-list): Use it.
4235 (ido-exhibit): Support turning on and off virtual buffers
4236 automatically.
4237
4238 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4239
4240 * simple.el (alternatives-define): New macro.
4241
4242 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * subr.el (read-quoted-char): Use read-key.
4245 (sit-for): Let read-event decode tty input (bug#14782).
4246
4247 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4248
4249 * calendar/todo-mode.el: Add handling of file deletion, both by
4250 mode command and externally. Fix various related bugs.
4251 Clarify Commentary and improve some documentation strings and code.
4252 (todo-delete-file): New command.
4253 (todo-check-file): New function.
4254 (todo-show): Handle external deletion of the file we're trying to
4255 show (bug#14688). Replace called-interactively-p by an optional
4256 prefix argument to avoid problematic interaction with catch form
4257 when byte compiled (bug#14702).
4258 (todo-quit): Handle external deletion of the archive's todo file.
4259 Make sure the buffer that was visiting the archive file is still
4260 live before trying to bury it.
4261 (todo-category-completions): Handle external deletion of any
4262 category completion files.
4263 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4264 of todo files, in case of external deletion.
4265 (todo-add-file): Replace unnecessary setq by let-binding.
4266 (todo-find-archive): Check whether there are any archives.
4267 Replace unnecessary setq by let-binding.
4268 (todo-archive-done-item): Use find-file-noselect to get the
4269 archive buffer whether or not the archive already exists.
4270 Remove superfluous code. Use file size instead of buffer-file-name to
4271 check if the archive is new; if it is, update list of archives.
4272 (todo-default-todo-file): Allow nil to be a valid value for when
4273 there are no todo files.
4274 (todo-reevaluate-default-file-defcustom): Use corrected definition
4275 of todo-default-todo-file.
4276 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4277 (todo-delete-category, todo-show-categories-table)
4278 (todo-category-number): Clarify comment.
4279 (todo-filter-items): Clarify documentation string.
4280 (todo-show-current-file, todo-display-as-todo-file)
4281 (todo-reset-and-enable-done-separator): Tweak documentation string.
4282 (todo-done-separator): Make separator length window-width, since
4283 bug#2749 is now fixed.
4284
4285 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4288 Support both "gvfs-monitor-dir" and "inotifywait".
4289 (tramp-sh-file-inotifywait-process-filter): Rename from
4290 `tramp-sh-file-notify-process-filter'.
4291 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4292 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4293
4294 2013-07-05 Leo Liu <sdl.web@gmail.com>
4295
4296 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4297
4298 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4299
4300 * frame.el (display-pixel-height, display-pixel-width)
4301 (display-mm-height, display-mm-width): Mention behavior on
4302 multi-monitor setups in docstrings.
4303 (w32-display-monitor-attributes-list): Declare function.
4304 (display-monitor-attributes-list): Use it.
4305
4306 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4307
4308 * filenotify.el: New package.
4309
4310 * autorevert.el (top): Require filenotify.el.
4311 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4312 instead.
4313 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4314 (auto-revert-notify-handler): Use `file-notify-*' functions.
4315
4316 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4317
4318 * net/tramp.el (tramp-file-name-for-operation):
4319 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4320
4321 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4322 for `file-notify-add-watch' and `file-notify-rm-watch'.
4323 (tramp-process-sentinel): Improve trace.
4324 (tramp-sh-handle-file-notify-add-watch)
4325 (tramp-sh-file-notify-process-filter)
4326 (tramp-sh-handle-file-notify-rm-watch)
4327 (tramp-get-remote-inotifywait): New defuns.
4328
4329 2013-07-03 Juri Linkov <juri@jurta.org>
4330
4331 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4332 call of `occur-read-primary-args' to interactive spec.
4333
4334 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4335 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4336
4337 2013-07-03 Matthias Meulien <orontee@gmail.com>
4338
4339 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4340 `Buffer-menu-multi-occur'. Add it to the menu.
4341 (Buffer-menu-mode): Document it in docstring.
4342 (Buffer-menu-multi-occur): New command. (Bug#14673)
4343
4344 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4345
4346 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4347 keywords and built-ins.
4348
4349 2013-07-03 Glenn Morris <rgm@gnu.org>
4350
4351 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4352
4353 Make info-xref checks case-sensitive by default
4354 * info.el (Info-find-node, Info-find-in-tag-table)
4355 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4356 Add option for exact case matching of nodes.
4357 * info-xref.el (info-xref): New custom group.
4358 (info-xref-case-fold): New option.
4359 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4360
4361 2013-07-03 Leo Liu <sdl.web@gmail.com>
4362
4363 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4364
4365 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4366
4367 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4368 middle of block statement initially, lower the depth. Remove
4369 FIXME comment, not longer valid. Remove middle of block statement
4370 detection, no need to do that anymore since we've been using
4371 `ruby-parse-region' here.
4372
4373 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4374
4375 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4376
4377 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4378
4379 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4380
4381 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4382
4383 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4384 (desktop-restore-in-current-display): New customization option.
4385 (desktop--excluded-frame-parameters): Add `font'.
4386 (desktop--save-frames): Rename from desktop--save-windows.
4387 (desktop--restore-in-this-display-p): New function.
4388 (desktop--make-full-frame): Remove unwanted width/height from
4389 full(width|height) frames.
4390 (desktop--restore-frames): Rename from desktop--restore-windows.
4391 Obey desktop-restore-current-display. Do not delete old frames or
4392 select a new frame unless we were able to restore at least one frame.
4393
4394 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4395
4396 * files.el (find-file-noselect): Simplify conditional expression.
4397
4398 * remember.el (remember-append-to-file):
4399 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4400
4401 Add `remember-notes' function to store random notes across Emacs
4402 restarts.
4403 * remember.el (remember-data-file): Add :set callback to affect
4404 notes buffer (if any).
4405 (remember-notes): New command.
4406 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4407 New defcustoms for the `remember-notes' function.
4408 (remember-notes-save-and-bury-buffer): New command.
4409 (remember-notes-mode-map): New variable.
4410 (remember-mode): New minor mode.
4411 (remember-notes--kill-buffer-query): New function.
4412 * startup.el (initial-buffer-choice): Add notes to custom type.
4413
4414 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4415
4416 * bindings.el (right-char, left-char): Don't call sit-for, this is
4417 no longer needed. Use arithmetic comparison only for numerical
4418 arguments.
4419
4420 * international/mule-cmds.el (select-safe-coding-system):
4421 Handle the case of FROM being a string correctly. (Bug#14755)
4422
4423 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4424
4425 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4426 progression on degenerate tables.
4427 (shr-rescale-image): ImageMagick animated images currently don't work.
4428
4429 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4430
4431 Some fixes and improvements for desktop frame restoration.
4432 It is still experimental and disabled by default.
4433 * desktop.el (desktop--save-windows): Put the selected frame at
4434 the head of the list.
4435 (desktop--make-full-frame): New function.
4436 (desktop--restore-windows): Try to re-select the frame that was
4437 selected upon saving. Do not abort if some frames fail to restore,
4438 just show an error message and continue. Set up maximized frames
4439 so they have default non-maximized dimensions.
4440
4441 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4442
4443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4444 Don't start heredoc inside a string or comment.
4445
4446 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4447
4448 * bindings.el (visual-order-cursor-movement): New defcustom.
4449 (right-char, left-char): Provide visual-order cursor motion by
4450 calling move-point-visually. Update the doc strings.
4451
4452 2013-06-28 Kenichi Handa <handa@gnu.org>
4453
4454 * international/mule.el (define-coding-system): New coding system
4455 properties :inhibit-null-byte-detection,
4456 :inhibit-iso-escape-detection, and :prefer-utf-8.
4457 (set-buffer-file-coding-system): If :charset-list property of
4458 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4459 appropriate for setting.
4460
4461 * international/mule-cmds.el (select-safe-coding-system):
4462 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4463 multibyte characters, return utf-8 (or one of its siblings).
4464
4465 * international/mule-conf.el (prefer-utf-8): New coding system.
4466 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4467 files.
4468
4469 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4470
4471 * net/shr.el (shr-render-region): New function.
4472
4473 * net/eww.el: Autoload `eww-browse-url'.
4474
4475 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4476
4477 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4478 Adapt to `package-desc-version' being a list.
4479 Use `package--ac-desc-version' to retrieve version from a package
4480 archive element.
4481
4482 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4483
4484 New experimental feature to save&restore window and frame setup.
4485 * desktop.el (desktop-save-windows): New defcustom.
4486 (desktop--saved-states): New var.
4487 (desktop--excluded-frame-parameters): New defconst.
4488 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4489 (desktop--restore-windows, desktop--save-windows): New functions.
4490 (desktop-save): Call `desktop--save-windows'.
4491 (desktop-read): Call `desktop--restore-windows'.
4492
4493 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494
4495 * net/shr.el (add-face-text-property): Remove compat definition.
4496
4497 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4498
4499 * info.el (Info-try-follow-nearest-node): Move search for footnote
4500 above search for node name to prevent missing a footnote (bug#14717).
4501
4502 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4503
4504 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4505
4506 2013-06-27 Leo Liu <sdl.web@gmail.com>
4507
4508 * net/eww.el (eww-read-bookmarks): Check file size.
4509
4510 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4513 advice--pending if newdef is nil or an autoload (bug#13820).
4514 (advice-mapc): New function.
4515
4516 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4517
4518 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4519 probably.
4520 (eww-mode-map): Add a menu bar.
4521 (eww-add-bookmark): New command.
4522 (eww-bookmark-mode): New mode and commands.
4523 (eww-add-bookmark): Remove newlines from the title.
4524 (eww-bookmark-browse): Don't bug out if it's the only window.
4525
4526 2013-06-26 Glenn Morris <rgm@gnu.org>
4527
4528 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4529 (hfy-size): Handle ttys. (Bug#14668)
4530
4531 * info-xref.el: Update for Texinfo 5 change in *note format.
4532 (info-xref-node-re, info-xref-note-re): New constants.
4533 (info-xref-check-buffer): Use info-xref-note-re.
4534
4535 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4538
4539 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4540 nil terminate the loop (bug#14718).
4541
4542 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4543
4544 * net/eww.el: Rework history traversal. When going forward/back,
4545 put these actions into the history, too, so that they can be
4546 replayed.
4547 (eww-render): Move the history reset to the correct buffer.
4548
4549 2013-06-25 Juri Linkov <juri@jurta.org>
4550
4551 * files-x.el (modify-dir-local-variable): Change the header comment
4552 in the file with directory local variables. (Bug#14692)
4553
4554 * files-x.el (read-file-local-variable-value): Add `default'.
4555 (Bug#14710)
4556
4557 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558
4559 * net/eww.el (eww-make-unique-file-name): Create a unique file
4560 name before saving to entering `y' accidentally asynchronously.
4561
4562 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4563
4564 * net/eww.el (eww-download): New command and keystroke.
4565
4566 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4567
4568 * net/eww.el (eww-copy-page-url): Change name of command.
4569
4570 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4571 be more consistent with Info and dired.
4572
4573 * net/eww.el (eww-mode-map): Ditto.
4574
4575 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4578 packages from archives.
4579 (package-archive-contents): Change format; include obsolete packages.
4580 (package-desc): Use `dir' to mark builtin packages.
4581 (package--from-builtin): Set the `dir' field to `builtin'.
4582 (generated-autoload-file, version-control): Declare.
4583 (package-compute-transaction): Change first arg and return value to be
4584 lists of package-descs. Adjust to new package-archive-contents format.
4585 (package--add-to-archive-contents): Adjust to new
4586 package-archive-contents format.
4587 (package-download-transaction): Arg is now a list of package-descs.
4588 (package-install): If `pkg' is a package name, pass it as
4589 a requirement, so it is subject to the usual (e.g. disabled) checks.
4590 (describe-package): Accept package-desc as well.
4591 (describe-package-1): Describe a specific package-desc. Add links to
4592 other package-descs for the same package name.
4593 (package-menu-describe-package): Pass the actual package-desc.
4594 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4595 works correctly.
4596 (package-desc-status): New function.
4597 (package-menu--refresh): New function, extracted
4598 from package-menu--generate.
4599 (package-menu--generate): Use it.
4600 (package-delete): Update package-alist.
4601 (package-menu-execute): Don't call package-initialize.
4602
4603 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4604 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4605 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4606 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4607 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4608 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4609
4610 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4611
4612 * window.el (window--state-get-1): Workaround for bug#14527.
4613 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4614
4615 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4616
4617 * net/eww.el (eww-back-url): Implement the history by stashing all
4618 the data into a list.
4619 (eww-forward-url): Allow going forward in the history, too.
4620
4621 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4624 for values and use read--expression for expressions (bug#14710).
4625 (read-file-local-variable): Avoid setq.
4626 (read-file-local-variable-mode): Use minor-mode-list.
4627
4628 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4629
4630 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4631 for DOI URLs.
4632
4633 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4634
4635 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4636 Update imenu-support when dialect changes.
4637
4638 2013-06-25 Leo Liu <sdl.web@gmail.com>
4639
4640 * ido.el (ido-read-internal): Allow forward slash on windows.
4641
4642 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
4644 * net/eww.el (eww): Start of strings is \\`, not ^.
4645
4646 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4647
4648 * net/shr.el (shr-browse-url): Fix interactive spec.
4649
4650 * net/eww.el (eww): Add a trailing slash to domain names.
4651
4652 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4653
4654 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4655
4656 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4657
4658 * net/shr.el (shr-browse-url): Use an external browser if given a
4659 prefix.
4660
4661 * net/eww.el (eww-external-browser): Move to shr.
4662
4663 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4664
4665 * net/eww.el (eww): Work more correctly for file: URLs.
4666 (eww-detect-charset): Allow quoted charsets.
4667 (eww-yank-page-url): New command and keystroke.
4668
4669 2013-06-24 Daiki Ueno <ueno@gnu.org>
4670
4671 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4672 file name of gpg executable.
4673 (epg-context-program): New function.
4674 (epg-context-home-directory): New function.
4675 (epg-context-set-program): New function.
4676 (epg-context-set-home-directory): New function.
4677 (epg--start): Use `epg-context-program' instead of
4678 'epg-gpg-program'.
4679 (epg--list-keys-1): Likewise.
4680
4681 2013-06-24 Leo Liu <sdl.web@gmail.com>
4682
4683 * ido.el (ido-read-internal): Fix bug#14620.
4684
4685 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4686
4687 * faces.el (face-documentation): Simplify.
4688 (read-face-attribute, tty-find-type, x-resolve-font-name):
4689 Use `string-match-p'.
4690 (list-faces-display): Use `string-match-p'. Simplify.
4691 (face-spec-recalc): Check face to avoid face alias loops.
4692 (read-color): Use `string-match-p' and non-capturing parenthesis.
4693
4694 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4695
4696 * net/shr.el (shr-rescale-image): Use the new
4697 :max-width/:max-height functionality.
4698
4699 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4700
4701 * net/eww.el (eww-search-prefix): New variable.
4702 (eww): Use it.
4703 (eww-external-browser): New variable.
4704 (eww-mode-map): New keystroke.
4705 (eww-browse-with-external-browser): New command.
4706
4707 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4708
4709 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4710
4711 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4712 Don't skip aligning the next header field when padding is 0;
4713 otherwise, field width is not respected unless the title is as
4714 wide as the field.
4715
4716 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/package.el (package-el-version): Remove.
4719 (package-process-define-package): Fix inf-loop.
4720 (package-install): Allow symbols as arguments again.
4721
4722 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4723
4724 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4725 add some more keyword-like methods.
4726 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4727
4728 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4729
4730 * bs.el (bs-buffer-show-mark): Make defvar-local.
4731 (bs-mode): Use setq-local.
4732
4733 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4734 (emacs-lock--try-unlocking): Make defvar-local.
4735
4736 2013-06-22 Glenn Morris <rgm@gnu.org>
4737
4738 * play/cookie1.el (cookie-apropos): Minor simplification.
4739
4740 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4741
4742 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4743
4744 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4745 `regexp-opt', it breaks the build during dumping.
4746
4747 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4750 Highlight keyword-like methods on Kernel and Module with
4751 font-lock-builtin-face.
4752 (auto-mode-alist): Consolidate different entries into one regexp
4753 and add more *file-s.
4754
4755 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4756
4757 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4758
4759 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4760 (diary-entry): Use it in the action of this button type instead of
4761 diary-goto-entry.
4762
4763 * calendar/todo-mode.el: New version.
4764 (todo-add-category): Append new category to end of file and give
4765 it the highest number, instead of putting it at the beginning and
4766 giving it 0. Incorporate noninteractive functionality.
4767 (todo-forward-category): Adapt to 1-based category numbering.
4768 Allow skipping over archived categories.
4769 (todo-backward-category): Derive from todo-forward-category.
4770 (todo-backward-item, todo-forward-item): Make noninteractive and
4771 delegate interactive part to new commands. Make sensitive to done items.
4772 (todo-categories): Make value an alist of category names and
4773 vectors of item counts.
4774 (todo-category-beg): Make a defconst.
4775 (todo-category-number): Use 1 instead of 0 as initial value.
4776 (todo-category-select): Make sensitive to overlays, optional item
4777 highlighting and done items.
4778 (todo-delete-item): Make sensitive to overlays and marked and done items.
4779 (todo-edit-item): Make sensitive to overlays and editing of
4780 date/time header optional. Add format checks.
4781 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4782 no-op if point is not on an item. Advertise using todo-edit-quit.
4783 (todo-edit-mode): Make sensitive to new format, font-locking, and
4784 multiple todo files.
4785 (todo-insert-item, todo-insert-item-here): Derive from
4786 todo-basic-insert-item and extend functionality.
4787 (todo-item-end, todo-item-start): Make sensitive to done items.
4788 (todo-item-string): Don't return text properties. Restore point.
4789 (todo-jump-to-category): Make sensitive to multiple todo files and
4790 todo archives. Use extended category completion.
4791 (todo-lower-item, todo-raise-item): Rename to *-priority and
4792 derive from todo-set-item-priority.
4793 (todo-mode): Derive from special-mode. Make sensitive to new
4794 format, font-locking and multiple todo files. Make read-only.
4795 (todo-mode-map): Don't suppress digit keys, so they can supply
4796 prefix arguments. Add many new key bindings.
4797 (todo-prefix): Insert as an overlay instead of file text.
4798 Change semantics from diary date expression to purely visual mark.
4799 (todo-print): Rename to todo-print-buffer. Make buffer display
4800 features printable. Remove option to restrict number of items
4801 printed. Add option to print to file.
4802 (todo-print-function): Rename to todo-print-buffer-function.
4803 (todo-quit): Extend to handle exiting new todo modes.
4804 (todo-remove-item): Make sensitive to overlays.
4805 (todo-save): Extend to buffers of filtered items.
4806 (todo-show): Make sensitive to done items, multiple todo files and
4807 new todo modes. Offer to convert legacy todo file before creating
4808 first new todo file.
4809 (todo-show-priorities): Rename to todo-top-priorities.
4810 Change semantics of value 0.
4811 (todo-top-priorities): Rename to todo-filter-top-priorities,
4812 derive from todo-filter-items and extend functionality.
4813 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4814 and extend functionality to other types of filtered items.
4815 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4816 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4817 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4818 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4819 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4820 (todo-edit-mode-hook, todo-entry-prefix-function)
4821 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4822 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4823 (todo-initials, todo-insert-threshold, todo-item-string-start)
4824 (todo-line-string, todo-menu, todo-mode-hook)
4825 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4826 (todo-print-priorities, todo-remove-separator)
4827 (todo-save-top-priorities-too, todo-string-count-lines)
4828 (todo-string-multiline-p, todo-time-string-format)
4829 (todo-tmp-buffer-name): Remove.
4830 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4831 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4832 (todo-edit-category-diary-inclusion)
4833 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4834 (todo-edit-file, todo-edit-item-date-day)
4835 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4836 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4837 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4838 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4839 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4840 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4841 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4842 (todo-filter-top-priorities-multifile, todo-find-archive)
4843 (todo-find-filtered-items-file, todo-go-to-source-item)
4844 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4845 (todo-jump-to-archive-category, todo-lower-category)
4846 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4847 (todo-move-category, todo-move-item, todo-next-button)
4848 (todo-next-item, todo-padded-string, todo-powerset)
4849 (todo-previous-button, todo-previous-item)
4850 (todo-print-buffer-to-file, todo-raise-category)
4851 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4852 (todo-set-category-number, todo-set-item-priority)
4853 (todo-set-top-priorities-in-category)
4854 (todo-set-top-priorities-in-file, todo-show-categories-table)
4855 (todo-sort-categories-alphabetically-or-numerically)
4856 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4857 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4858 (todo-toggle-item-header, todo-toggle-item-highlighting)
4859 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4860 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4861 (todo-unarchive-items, todo-unmark-category): New commands.
4862 (todo-absolute-file-name, todo-add-to-buffer-list)
4863 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4864 (todo-basic-insert-item, todo-category-completions)
4865 (todo-category-number, todo-category-string-matcher-1)
4866 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4867 (todo-check-format, todo-clear-matches)
4868 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4869 (todo-current-category, todo-date-string-matcher)
4870 (todo-define-insertion-command, todo-diary-expired-matcher)
4871 (todo-diary-goto-entry, todo-diary-item-p)
4872 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4873 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4874 (todo-done-item-section-p, todo-done-separator)
4875 (todo-done-string-matcher, todo-files, todo-filter-items)
4876 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4877 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4878 (todo-insert-category-line, todo-insert-item-from-calendar)
4879 (todo-insert-sort-button, todo-insert-with-overlays)
4880 (todo-insertion-command-name, todo-insertion-key-bindings)
4881 (todo-label-to-key, todo-longest-category-name-length)
4882 (todo-make-categories-list, todo-mode-external-set)
4883 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4884 (todo-modes-set-3, todo-multiple-filter-files)
4885 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4886 (todo-read-category, todo-read-date, todo-read-dayname)
4887 (todo-read-file-name, todo-read-time)
4888 (todo-reevaluate-category-completions-files-defcustom)
4889 (todo-reevaluate-default-file-defcustom)
4890 (todo-reevaluate-filelist-defcustoms)
4891 (todo-reevaluate-filter-files-defcustom)
4892 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4893 (todo-reset-done-separator, todo-reset-done-separator-string)
4894 (todo-reset-done-string, todo-reset-global-current-todo-file)
4895 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4896 (todo-reset-prefix, todo-set-categories)
4897 (todo-set-date-from-calendar, todo-set-show-current-file)
4898 (todo-set-top-priorities, todo-short-file-name)
4899 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4900 (todo-total-item-counts, todo-update-buffer-list)
4901 (todo-update-categories-display, todo-update-categories-sexp)
4902 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4903 New functions.
4904 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4905 New major modes.
4906 (todo-categories, todo-display, todo-edit, todo-faces)
4907 (todo-filtered): New defgroups.
4908 (todo-archived-only, todo-button, todo-category-string, todo-date)
4909 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4910 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4911 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4912 (todo-add-item-if-new-category, todo-always-add-time-string)
4913 (todo-categories-align, todo-categories-archived-label)
4914 (todo-categories-category-label, todo-categories-diary-label)
4915 (todo-categories-done-label, todo-categories-number-separator)
4916 (todo-categories-todo-label, todo-categories-totals-label)
4917 (todo-category-completions-files, todo-completion-ignore-case)
4918 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4919 (todo-done-separator-string, todo-done-string)
4920 (todo-files-function, todo-filter-done-items, todo-filter-files)
4921 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4922 (todo-initial-category, todo-initial-file, todo-item-mark)
4923 (todo-legacy-date-time-regexp, todo-mode-line-function)
4924 (todo-nondiary-marker, todo-number-prefix)
4925 (todo-print-buffer-function, todo-show-current-file)
4926 (todo-show-done-only, todo-show-first, todo-show-with-done)
4927 (todo-skip-archived-categories, todo-top-priorities-overrides)
4928 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4929 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4930 New defcustoms.
4931 (todo-category-done, todo-date-pattern, todo-date-string-start)
4932 (todo-diary-items-buffer, todo-done-string-start)
4933 (todo-filtered-items-buffer, todo-item-start)
4934 (todo-month-abbrev-array, todo-month-name-array)
4935 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4936 (todo-top-priorities-buffer): New defconsts.
4937 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4938 (todo-categories-with-marks, todo-category-string-face)
4939 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4940 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4941 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4942 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4943 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4944 (todo-font-lock-keywords, todo-global-current-todo-file)
4945 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4946 (todo-insertion-commands-args)
4947 (todo-insertion-commands-args-genlist)
4948 (todo-insertion-commands-names, todo-insertion-map)
4949 (todo-key-bindings-t, todo-key-bindings-t+a)
4950 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4951 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4952 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4953 (todo-visited): New variables.
4954
4955 2013-06-21 Glenn Morris <rgm@gnu.org>
4956
4957 * play/cookie1.el (cookie-apropos): Add optional display argument.
4958 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4959 (psychoanalyze-pinhead): Use cookie-doctor.
4960
4961 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * emacs-lisp/package.el (tar-get-file-descriptor)
4964 (tar--extract): Declare.
4965
4966 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4967
4968 Extend flymake's warning predicate to be a function (bug#14217).
4969 * progmodes/flymake.el (flymake-warning-predicate): New.
4970 (flymake-parse-line): Use it.
4971 (flymake-warning-re): Make obsolete alias to
4972 `flymake-warning-predicate'.
4973
4974 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4977 (package-obsolete-list): Remove.
4978 (package-activate): Remove min-version argument. Add `force' argument.
4979 Adjust to new package-alist format.
4980 (package-mark-obsolete): Remove.
4981 (package-unpack): Force reload of the package's autoloads.
4982 (package-installed-p): Check builtins if the installed package is not
4983 recent enough.
4984 (package-initialize): Don't reset package-obsolete-list.
4985 Don't specify which package version to activate.
4986 (package-process-define-package, describe-package-1)
4987 (package-menu--generate): Adjust to new package-alist format.
4988
4989 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4990
4991 * allout-widgets.el (allout-widgets-mode-off)
4992 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4993 (allout-widgets-post-command-business)
4994 (allout-widgets-after-copy-or-kill-function)
4995 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4996 (allout-decorate-item-and-context)
4997 (allout-graphics-modification-handler): Fix typos in docstrings.
4998 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4999
5000 * cmuscheme.el (scheme-start-file): Doc fix.
5001 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5002 (scheme-input-filter): Use `string-match-p'.
5003
5004 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5005
5006 * dired-x.el: Use Dired consistently in docstrings.
5007
5008 * dired.el: Use Dired consistently in docstrings.
5009 (dired-readin, dired-mode): Use `setq-local'.
5010 (dired-switches-alist): Make defvar-local.
5011 (dired-buffers-for-dir): Use `zerop'.
5012 (dired-safe-switches-p, dired-switches-escape-p)
5013 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5014 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5015 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5016 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5017 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5018 (dired-toggle-marks, dired-mark-files-containing-regexp)
5019 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5020 (dired-flag-auto-save-files, dired-flag-backup-files):
5021 Use `looking-at-p'.
5022 (dired-mark-files-regexp, dired-build-subdir-alist):
5023 Use `string-match-p', `looking-at-p'.
5024
5025 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5026 (direct-print-region-helper): Use `string-match-p'.
5027
5028 2013-06-21 Leo Liu <sdl.web@gmail.com>
5029
5030 * comint.el (comint-redirect-results-list-from-process):
5031 Fix infinite loop.
5032
5033 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5034
5035 * net/eww.el (eww-update-header-line-format): Quote % characters.
5036
5037 2013-06-21 Glenn Morris <rgm@gnu.org>
5038
5039 * play/cookie1.el (cookie): New custom group.
5040 (cookie-file): New option.
5041 (cookie-check-file): New function.
5042 (cookie): Make it interactive. Make start and end messages optional.
5043 Interactively, display the result. Default to cookie-file.
5044 (cookie-insert): Default to cookie-file.
5045 (cookie-snarf): Make start and end messages optional.
5046 Default to cookie-file. Use with-temp-buffer.
5047 (cookie-read): Rename from read-cookie.
5048 Make start and end messages optional. Default to cookie-file.
5049 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5050 Do not autoload it.
5051 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5052 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5053
5054 2013-06-21 Leo Liu <sdl.web@gmail.com>
5055
5056 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5057
5058 2013-06-21 Glenn Morris <rgm@gnu.org>
5059
5060 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5061
5062 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5063 Daniel Hackney <dan@haxney.org>
5064
5065 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5066 Consolidate the single-file vs tarball code.
5067 (package-desc-suffix): New function.
5068 (package-desc-full-name): Don't bother inlining it.
5069 (package-load-descriptor): Return the new package-desc.
5070 (package-mark-obsolete): Remove unused arg `package'.
5071 (package-unpack): Make it work for single files as well.
5072 Make it update package-alist.
5073 (package--make-autoloads-and-stuff): Rename from
5074 package--make-autoloads-and-compile. Don't compile any more.
5075 (package--compile): New function.
5076 (package-generate-description-file): New function, extracted from
5077 package-unpack-single.
5078 (package-unpack-single): Remove.
5079 (package--with-work-buffer): Add indentation and debugging info.
5080 (package-download-single): Remove.
5081 (package-install-from-archive): Rename from package-download-tar, make
5082 it take a pkg-desc, and make it work for single files as well.
5083 (package-download-transaction): Simplify.
5084 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5085 external tar program.
5086 (package-install-from-buffer): Remove `pkg-desc' argument.
5087 Use package-tar-file-info for tar-mode buffers.
5088 (package-install-file): Simplify accordingly.
5089 (package-archive-base): Change to take a pkg-desc.
5090 * tar-mode.el (tar--check-descriptor): New function, extracted from
5091 tar-get-descriptor.
5092 (tar-get-descriptor): Use it.
5093 (tar-get-file-descriptor): New function.
5094 (tar--extract): New function, extracted from tar-extract.
5095 (tar--extract): Use it.
5096 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5097 case the summary uses non-ascii. Adjust to new calling convention of
5098 package-tar-file-info.
5099
5100 2013-06-21 Leo Liu <sdl.web@gmail.com>
5101
5102 * comint.el (comint-redirect-results-list-from-process):
5103 Fix random delay. (Bug#14681)
5104
5105 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5106
5107 * profiler.el (profiler-format-number): Use log, not log10.
5108
5109 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5112
5113 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5116 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5117 yet available.
5118 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5119 (AUTOGENEL): ... here.
5120 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5121 (cl--defsubst-expand): Use it.
5122
5123 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5124
5125 * subr.el (log10): Move here from C code, and declare as obsolete.
5126 All uses of (log10 X) replaced with (log X 10).
5127
5128 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5131 Declare with `defvar-local'.
5132 (tabulated-list-use-header-line, tabulated-list-entries)
5133 (tabulated-list-padding, tabulated-list-printer)
5134 (tabulated-list-sort-key): Declare with `defvar-local'.
5135 (tabulated-list-init-header, tabulated-list-print-fake-header):
5136 Use `setq-local'.
5137
5138 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5139
5140 * arc-mode.el (archive-mode): Add `archive-write-file' to
5141 `write-contents-functions' also for remote files. (Bug#14652)
5142
5143 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5144
5145 * cus-edit.el (custom-commands): Fix typos.
5146 (custom-display): Fix tooltip text.
5147 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5148 Fix typos in docstrings.
5149 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5150 (custom-unlispify-menu-entry, custom-magic-value-create)
5151 (custom-add-see-also, custom-group-value-create): Use ?\s.
5152 (custom-guess-type, customize-apropos, editable-field)
5153 (custom-face-value-create): Use `string-match-p'.
5154 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5155
5156 * custom.el (custom-load-symbol): Use `string-match-p'.
5157
5158 * ansi-color.el: Convert to lexical binding.
5159 (ansi-colors): Fix URL.
5160 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5161 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5162 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5163
5164 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5165
5166 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5167
5168 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5169
5170 2013-06-19 Tom Tromey <tromey@redhat.com>
5171
5172 * net/eww.el (eww-top-url): Remove.
5173 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5174 (eww-render): Set new variables. Don't set eww-top-url.
5175 (eww-handle-link): Handle "prev", "home", and "contents".
5176 Downcase the rel text.
5177 (eww-top-url): Choose best top URL.
5178
5179 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5180
5181 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5182 relying in widget.el. Using widget.el leads to too many
5183 user interface inconsistencies.
5184 (eww-self-insert): Implement entering commands in text fields.
5185 (eww-process-text-input): New function to make text input field editing
5186 work.
5187 (eww-submit): Rewrite to use the new-style form methods.
5188 (eww-select-display): Display the correct selected item.
5189 (eww-change-select): Implement changing the select value.
5190 (eww-toggle-checkbox): Implement radio/checkboxes.
5191 (eww-update-field): Fix compilation error.
5192 (eww-tag-textarea): Implement <textarea>.
5193
5194 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5195 we don't shadow mode-specific bindings.
5196
5197 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5198 nothing to push.
5199
5200 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5201
5202 2013-06-19 Glenn Morris <rgm@gnu.org>
5203
5204 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5205
5206 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5207
5208 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5209 not needed.
5210
5211 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5212
5213 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5214
5215 * net/browse-url.el (browse-url-browser-function):
5216 `eww-browse-url' has the right calling signature, `eww' does not.
5217
5218 2013-06-19 Glenn Morris <rgm@gnu.org>
5219
5220 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5221 Only eval autoloaded macros.
5222 (byte-compile-autoload): Only give the macro warning for macros.
5223
5224 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5225 (ps-underlined-faces): Declare.
5226
5227 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5228 (speedbar-add-supported-extension): Declare.
5229
5230 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5231 Don't include a date stamp in the header of the generated file;
5232 it leads to needless differences between output files.
5233
5234 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5235
5236 * net/secrets.el (secrets-struct-secret-content-type):
5237 Replace check of introspection data by a test call of "CreateItem".
5238 Some servers do not offer introspection.
5239
5240 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * electric.el (electric-pair-mode): Improve interaction with
5243 electric-layout-mode.
5244 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5245 (electric-pair-syntax): Use text-mode-syntax-table in comments
5246 and strings.
5247 (electric-pair--insert): New function.
5248 (electric-pair-post-self-insert-function): Use it and
5249 electric--after-char-pos.
5250
5251 2013-06-19 Leo Liu <sdl.web@gmail.com>
5252
5253 * progmodes/octave.el (octave-help): Fix regexp.
5254
5255 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5256
5257 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5258 (shr-table-horizontal-line): Allow nil as a value, and change the
5259 default.
5260 (shr-insert-table-ruler): Respect the nil value.
5261
5262 2013-06-18 Tom Tromey <tromey@barimba>
5263
5264 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5265 New defvars.
5266 (eww-open-file): New defun.
5267 (eww-render): Initialize new variables.
5268 (eww-display-html): Handle "link" and "a".
5269 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5270 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5271 (eww-back-url): Rename from eww-previous-url.
5272 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5273 New defuns.
5274
5275 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5276
5277 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5278 Distinguish ternary operator tokens from slash symbol and slash
5279 char literal.
5280
5281 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5282
5283 Convert symbol prettification into minor mode and global minor mode.
5284
5285 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5286 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5287 (prettify-symbols--keywords): Rename from
5288 `prog-prettify-symbols-alist' and make a local defvar.
5289 (prettify-symbols--compose-symbol): Rename from
5290 `prog--prettify-font-lock-compose-symbol'.
5291 (prettify-symbols--make-keywords): Rename from
5292 `prog-prettify-font-lock-symbols-keywords' and simplify.
5293 (prog-prettify-install): Remove.
5294 (prettify-symbols-mode): New minor mode, based on
5295 `prog-prettify-install'.
5296 (turn-on-prettify-symbols-mode): New function.
5297 (global-prettify-symbols-mode): New globalized minor mode.
5298
5299 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5300 * progmodes/cfengine.el (cfengine3-mode):
5301 * progmodes/perl-mode.el (perl-mode): Don't call
5302 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5303
5304 2013-06-18 Juri Linkov <juri@jurta.org>
5305
5306 * files-x.el (modify-file-local-variable-message): New function.
5307 (modify-file-local-variable)
5308 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5309 and call `modify-file-local-variable-message' when it's non-nil.
5310 (add-file-local-variable, delete-file-local-variable)
5311 (add-file-local-variable-prop-line)
5312 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5313 and use it. (Bug#9820)
5314
5315 2013-06-18 Juri Linkov <juri@jurta.org>
5316
5317 * emulation/vi.el (vi-shell-op):
5318 * emulation/vip.el (vip-execute-com, ex-command):
5319 * emulation/viper-cmd.el (viper-exec-bang):
5320 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5321 the call of `shell-command-on-region'. (Bug#14637)
5322
5323 * simple.el (shell-command-on-region): Doc fix.
5324
5325 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5328 (bug#14633).
5329
5330 2013-06-18 Glenn Morris <rgm@gnu.org>
5331
5332 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5333
5334 * newcomment.el (comment-search-forward, comment-search-backward):
5335 Doc fix. (Bug#14376)
5336
5337 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5338
5339 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5340 (buffer-face-mode-invoke): Doc fix.
5341
5342 2013-06-18 Matthias Meulien <orontee@gmail.com>
5343
5344 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5345 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5346
5347 2013-06-18 Glenn Morris <rgm@gnu.org>
5348
5349 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5350 Replace obsolete function generic-make-keywords with its expansion.
5351
5352 * progmodes/python.el (ffap-alist): Declare.
5353
5354 * textmodes/reftex.el (bibtex-mode-map): Declare.
5355
5356 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5359 (package-unpack, package-unpack-single): Return the pkg-dir.
5360 (package-download-transaction): Use it to update package-alist.
5361
5362 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5363
5364 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5365 possible choice.
5366
5367 2013-06-17 Juri Linkov <juri@jurta.org>
5368
5369 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5370
5371 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5372
5373 * emacs-lisp/package.el (package-load-descriptor):
5374 Remove `with-syntax-table' call, `read' doesn't need it.
5375 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5376
5377 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5378
5379 * startup.el (command-line): Expand package name returned by
5380 `package--description-file' (bug#14639).
5381
5382 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5383
5384 * emacs-lisp/package.el (package-load-descriptor): Do not call
5385 `emacs-lisp-mode', just use its syntax table.
5386
5387 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5388
5389 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5390 `font-lock-extra-managed-props' if any prettifying keyword is added.
5391 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5392 (prog-mode): Use `setq-local'.
5393
5394 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * international/characters.el (standard-case-table): Set syntax of ?»
5397 and ?« to punctuation.
5398
5399 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5400
5401 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5402 Save relevant match data before calling `syntax-ppss' (bug#14595).
5403
5404 2013-06-15 Juri Linkov <juri@jurta.org>
5405
5406 * files-x.el (modify-file-local-variable-prop-line): Add local
5407 variables to the end of the existing comment on the first line.
5408 Use `file-auto-mode-skip' to skip interpreter magic line,
5409 and also skip XML declaration.
5410
5411 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * startup.el (package--builtin-versions): New var.
5414 (package-subdirectory-regexp): Remove.
5415 (package--description-file): Hard code its value instead.
5416
5417 * emacs-lisp/package.el: Don't activate packages older than builtin.
5418 (package-obsolete-list): Rename from package-obsolete-alist, and make
5419 it into a simple list of package-desc.
5420 (package-strip-version): Remove.
5421 (package-built-in-p): Use package--builtin-versions.
5422 (package-mark-obsolete): Simplify.
5423 (package-process-define-package): Mark it obsolete if older than the
5424 builtin version.
5425 (package-handle-response): Use line-end-position.
5426 (package-read-archive-contents, package--download-one-archive):
5427 Simplify.
5428 (package--add-to-archive-contents): Skip if older than the builtin or
5429 installed version.
5430 (package-menu-describe-package): Fix last change.
5431 (package-list-unversioned): New var.
5432 (package-menu--generate): Use it.
5433
5434 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5435 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5436 (autoload-builtin-package-versions): New variable.
5437 (autoload-generate-file-autoloads): Use them.
5438 Remove the list of autoloaded functions/macros from the
5439 (autoload...) comments.
5440
5441 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5442
5443 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5444
5445 * simple.el (line-move-partial): Don't jump to the next screen
5446 line as soon as it becomes visible. Instead, continue enlarging
5447 the vscroll until the portion of a tall screen line that's left on
5448 display is about the height of the frame's default font.
5449 (Bug#14567)
5450
5451 2013-06-15 Glenn Morris <rgm@gnu.org>
5452
5453 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5454 compilation-error-regexp-alist void, or local while let-bound.
5455
5456 * progmodes/make-mode.el (makefile-mode-syntax-table):
5457 Treat "=" as punctuation. (Bug#14614)
5458
5459 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5460
5461 * help-fns.el (describe-variable):
5462 Add extra line for permanent-local variables.
5463
5464 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5465
5466 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5467 Add export, import, library. (Bug#9164)
5468 (library): Set indent function.
5469
5470 2013-06-14 Glenn Morris <rgm@gnu.org>
5471
5472 * term/xterm.el (xterm--query):
5473 Stop after first matching handler. (Bug#14615)
5474
5475 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5476
5477 Add support for dired in saveplace.
5478 * dired.el (dired-initial-position-hook): New variable.
5479 (dired-initial-position): Call hook to place cursor position.
5480 * saveplace.el (save-place-to-alist): Add dired position.
5481 (save-place-dired-hook): New function.
5482
5483 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5486 through a symbol rather than letrec.
5487
5488 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5489 (package-desc): Add `dir' field.
5490 (package-desc-full-name): New function.
5491 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5492 (package-maybe-load-descriptor): Remove.
5493 (package-load-all-descriptors): Just call package-load-descriptor.
5494 (package--disabled-p): New function.
5495 (package-desc-vers, package-desc-doc): Remove aliases.
5496 (package--dir): Remove function.
5497 (package-activate): Check if a package is disabled.
5498 (package-process-define-package): New function, extracted from
5499 define-package.
5500 (define-package): Turn into a place holder.
5501 (package-unpack-single, package-tar-file-info):
5502 Use package--description-file.
5503 (package-compute-transaction): Use package--disabled-p.
5504 (package-download-transaction): Don't call
5505 package-maybe-load-descriptor since they're all loaded anyway.
5506 (package-install): Change argument to be a pkg-desc.
5507 (package-delete): Use a single pkg-desc argument.
5508 (describe-package-1): Use package-desc-dir instead of package--dir.
5509 Use package-desc property instead of package-symbol.
5510 (package-install-button-action): Adjust accordingly.
5511 (package--push): Rewrite.
5512 (package-menu--print-info): Adjust accordingly. Change the ID format
5513 to be a pkg-desc.
5514 (package-menu-describe-package, package-menu-get-status)
5515 (package-menu--find-upgrades, package-menu-mark-upgrades)
5516 (package-menu-execute, package-menu--name-predicate):
5517 Adjust accordingly.
5518 * startup.el (package--description-file): New function.
5519 (command-line): Use it.
5520 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5521 Use package-desc-version.
5522
5523 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5524 (byte-compile-preprocess): Use it.
5525 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5526 can't quite recognize.
5527 (byte-compile-add-to-list): Remove.
5528 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5529 (cconv-closure-convert): Add assertion.
5530
5531 * emacs-lisp/map-ynp.el: Use lexical-binding.
5532 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5533 Factor out some repeated code.
5534
5535 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * subr.el (with-eval-after-load): New macro.
5538 (eval-after-load): Allow form to be a function.
5539 take advantage of lexical-binding.
5540 (do-after-load-evaluation): Use dolist and adjust to new format.
5541 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5542
5543 2013-06-13 Juri Linkov <juri@jurta.org>
5544
5545 * replace.el (perform-replace): Display "symbol " and other search
5546 modes from `isearch-message-prefix' in the *Help* buffer.
5547
5548 * isearch.el (isearch-query-replace): Add " symbol" and other
5549 possible search modes from `isearch-message-prefix' to the prompt.
5550 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5551 when reading a regexp to collect.
5552
5553 2013-06-13 Juri Linkov <juri@jurta.org>
5554
5555 * isearch.el (word-search-regexp): Match whitespace if the search
5556 string begins or ends in whitespace. The LAX arg is applied to
5557 both ends of the search string. Use `regexp-quote' and explicit
5558 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5559 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5560 boundaries are replaced with symbol boundaries, and characters
5561 between symbols match non-word non-symbol syntax. (Bug#14602)
5562
5563 2013-06-13 Juri Linkov <juri@jurta.org>
5564
5565 * isearch.el (isearch-del-char): Don't exceed the length of
5566 `isearch-string' by the prefix arg. (Bug#14563)
5567
5568 2013-06-13 Juri Linkov <juri@jurta.org>
5569
5570 * isearch.el (isearch-yank-word, isearch-yank-line)
5571 (isearch-char-by-name, isearch-quote-char)
5572 (isearch-printing-char, isearch-process-search-char):
5573 Add optional count prefix arg. (Bug#14563)
5574
5575 * international/isearch-x.el
5576 (isearch-process-search-multibyte-characters):
5577 Add optional count prefix arg.
5578
5579 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5582 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5583 lexical-binding.
5584
5585 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5586
5587 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5588
5589 2013-06-13 Glenn Morris <rgm@gnu.org>
5590
5591 * startup.el (tty-handle-args):
5592 Don't just discard "--" and anything after. (Bug#14608)
5593
5594 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5595
5596 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5597
5598 Implement changes in Secret Service API. Make it backward compatible.
5599 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5600 (secrets-create-item): Use it. Prefix properties with interface.
5601
5602 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5603
5604 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5605 (term-emulate-terminal): Respect term-suppress-hard-newline.
5606
5607 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5608
5609 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5610 Only remove a `thumb-file' overlay. (Bug#14548)
5611
5612 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5613
5614 * mail/reporter.el (reporter-submit-bug-report):
5615 Handle missing package-name. (Bug#14600)
5616
5617 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5618
5619 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5620 (reftex-citation-prompt, reftex-default-bibliography)
5621 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5622 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5623 (reftex-bib-sort-author, reftex-bib-sort-year)
5624 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5625 (reftex-extract-bib-entries-from-thebibliography)
5626 (reftex-get-bibkey-default, reftex-get-bib-names)
5627 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5628 (reftex-format-bib-entry, reftex-parse-bibitem)
5629 (reftex-format-bibitem, reftex-do-citation)
5630 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5631 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5632 (reftex-insert-bib-matches, reftex-format-citation)
5633 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5634 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5635 existing comments into docstrings.
5636
5637 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5638
5639 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5640
5641 2013-06-12 Andreas Schwab <schwab@suse.de>
5642
5643 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5644 for auto-save files.
5645
5646 2013-06-12 Glenn Morris <rgm@gnu.org>
5647
5648 * ido.el (ido-delete-ignored-files): Remove.
5649 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5650 Go back to calling ido-ignore-item-p directly.
5651
5652 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5653
5654 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5655
5656 * ido.el (ido-delete-ignored-files): New function,
5657 split from ido-make-file-list-1.
5658 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5659 (ido-make-file-list-1): Use ido-delete-ignored-files.
5660
5661 2013-06-12 Leo Liu <sdl.web@gmail.com>
5662
5663 * progmodes/octave.el (inferior-octave-startup)
5664 (inferior-octave-completion-table)
5665 (inferior-octave-track-window-width-change)
5666 (octave-eldoc-function-signatures, octave-help)
5667 (octave-find-definition): Use single quoted strings.
5668 (inferior-octave-startup-args): Change default value.
5669 (inferior-octave-startup): Do not hard code "-i" and
5670 "--no-line-editing".
5671 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5672 (inferior-octave-directory-tracker): Use it.
5673 (octave-goto-function-definition): Robustify.
5674 (octave-help): Support highlighting operators in 'See also'.
5675 (octave-find-definition): Find subfunctions only in Octave mode.
5676
5677 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5678
5679 * help-fns.el (help-fns--compiler-macro): If the handler function is
5680 named, then put a link to it.
5681 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5682 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5683 (cl-typep): Use it.
5684 (cl-eval-when): Simplify debug spec.
5685 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5686 compiler-macro function instead of setting `compiler-macro-file'.
5687
5688 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5689
5690 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5691 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5692
5693 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5694 Daniel Hackney <dan@haxney.org>
5695
5696 First part of Daniel Hackney's patch to package.el.
5697 * emacs-lisp/package.el: Use defstruct.
5698 (package-desc): New, main struct.
5699 (package--bi-desc, package--ac-desc): New structs, used to describe the
5700 format in external files.
5701 (package-desc-vers): Replace with package-desc-version accessor.
5702 (package-desc-doc): Replace with package-desc-summary accessor.
5703 (package-activate-1): Remove `package' arg since the pkg-vec now
5704 includes the name.
5705 (define-package): Use package-desc-from-define.
5706 (package-unpack-single): Change file-name arg to be a symbol.
5707 (package--add-to-archive-contents): Use package-desc-create and new
5708 accessor functions to package--ac-desc.
5709 (package-buffer-info, package-tar-file-info): Return a package-desc.
5710 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5711 arg to be a package-desc.
5712 (package-install-file): Adjust accordingly. Use \' to match EOS.
5713 (package--from-builtin): New function.
5714 (describe-package-1, package-menu--generate): Use it.
5715 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5716 (package-generate-autoloads): Idem and return the name of the file.
5717 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5718 Change pkg-info arg to be a package-desc.
5719 Use package-make-ac-desc.
5720 (package-upload-file): Use \' to match EOS.
5721 * finder.el (finder-compile-keywords): Use package-make-builtin.
5722
5723 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * vc/vc.el (vc-deduce-fileset): Change error message.
5726 (vc-read-backend): New function.
5727 (vc-next-action): Use it.
5728
5729 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5730
5731 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5732 (prolog-font-lock-keywords): Use regexp-opt instead.
5733 Don't manually highlight strings.
5734 (prolog-mode-variables): Simplify comment-start-skip.
5735 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5736
5737 * emacs-lisp/generic.el (generic--normalise-comments)
5738 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5739 (generic-mode-set-comments): Use them.
5740 (generic-bracket-support): Use setq-local.
5741 (generic-make-keywords-list): Declare obsolete.
5742
5743 2013-06-11 Glenn Morris <rgm@gnu.org>
5744
5745 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5746 Prettify after setting font-lock-defaults. (Bug#14574)
5747
5748 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5749
5750 * replace.el (query-replace, occur-read-regexp-defaults-function)
5751 (replace-search):
5752 * subr.el (declare-function, number-sequence, local-set-key)
5753 (substitute-key-definition, locate-user-emacs-file)
5754 (with-silent-modifications, split-string, eval-after-load):
5755 Fix typos, remove unneeded backslashes and reflow some docstrings.
5756
5757 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5760 default for Elisp files.
5761
5762 2013-06-11 Glenn Morris <rgm@gnu.org>
5763
5764 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5765 although define-derived-mode was doing this anyway. (Bug#14583)
5766
5767 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5770 Fix make-variable-buffer-local call to refer to the correct variable.
5771
5772 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5773
5774 * eshell/em-term.el (eshell-visual-commands)
5775 (eshell-visual-subcommands, eshell-visual-options):
5776 Add summary line to docstrings. Add cross-references.
5777
5778 2013-06-10 Glenn Morris <rgm@gnu.org>
5779
5780 * epa.el (epa-read-file-name): New function. (Bug#14510)
5781 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5782
5783 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5784
5785 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5786 output redirection to be ignored with visual commands.
5787
5788 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5789
5790 * eshell/em-term.el (eshell-visual-command-p): New function.
5791 (eshell-term-initialize): Move long lambda to separate function
5792 eshell-visual-command-p.
5793 * eshell/em-dirs.el (eshell-dirs-initialise):
5794 * eshell/em-script.el (eshell-script-initialize):
5795 Add missing #' to lambda.
5796
5797 2013-06-08 Leo Liu <sdl.web@gmail.com>
5798
5799 * progmodes/octave.el (octave-add-log-current-defun): New function.
5800 (octave-mode): Set add-log-current-defun-function.
5801 (octave-goto-function-definition): Do not move point if not found.
5802 (octave-find-definition): Enhance to try subfunctions first.
5803
5804 2013-06-08 Glenn Morris <rgm@gnu.org>
5805
5806 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5807 (byte-compile-backward-char, byte-compile-backward-word):
5808 Improve previous change, to handle non-explicit nil.
5809
5810 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5813 (smie--opener/closer-at-point): New function.
5814 (smie--matching-block-data): Use it. Don't match from right after an
5815 opener or right before a closer. Obey smie-blink-matching-inners.
5816 Don't signal a mismatch for repeated inners like "switch..case..case".
5817
5818 2013-06-07 Leo Liu <sdl.web@gmail.com>
5819
5820 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5821 to t. (Bug#14303)
5822 (octave-function-header-regexp): Fix. (Bug#14570)
5823 (octave-help-mode-finish-hook, octave-help-mode-finish):
5824 Remove. Just use temp-buffer-show-hook.
5825
5826 * newcomment.el (comment-search-backward): Revert last change.
5827 (Bug#14434)
5828
5829 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5830
5831 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5832
5833 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5834 through xargs, to avoid failure due to MS-Windows limitations on
5835 command-line length.
5836
5837 2013-06-06 Glenn Morris <rgm@gnu.org>
5838
5839 * font-lock.el (lisp-font-lock-keywords-2):
5840 Treat user-error like error.
5841
5842 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5843 (byte-compile-backward-char, byte-compile-backward-word):
5844 Handle explicit nil arguments. (Bug#14565)
5845
5846 2013-06-05 Alan Mackenzie <acm@muc.de>
5847
5848 * isearch.el (isearch-allow-prefix): New user option.
5849 (isearch-other-meta-char): Don't exit isearch when a prefix
5850 argument is typed whilst `isearch-allow-prefix' is non-nil.
5851 (Bug#9706)
5852
5853 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * autorevert.el (auto-revert-notify-handler): Use memq.
5856 Hide assertion failure.
5857
5858 * skeleton.el: Use cl-lib.
5859 (skeleton-further-elements): Use defvar-local.
5860 (skeleton-insert): Use cl-progv.
5861
5862 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5863
5864 * progmodes/prog-mode.el (prog-prettify-symbols)
5865 (prog-prettify-install): Update docstrings.
5866
5867 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * simple.el: Move all the prog-mode code to prog-mode.el.
5870 * progmodes/prog-mode.el: New file.
5871 * loadup.el: Add prog-mode.el.
5872
5873 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5874
5875 * simple.el (prog-prettify-symbols): Add version.
5876 (prog-prettify-install): Add convenience function to prettify symbols.
5877
5878 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5879 (perl--augmented-font-lock-keywords-1)
5880 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5881 variables and use it.
5882
5883 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5884 (cfengine3-mode): Remove unneeded variable and use it.
5885
5886 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5887 (lisp--augmented-font-lock-keywords-1)
5888 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5889 Remove unneeded variables and use it.
5890
5891 2013-06-05 João Távora <joaotavora@gmail.com>
5892
5893 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5894 to point when opening the connection. (Bug#14380)
5895
5896 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * subr.el (load-history-regexp, load-history-filename-element)
5899 (eval-after-load, after-load-functions, do-after-load-evaluation)
5900 (eval-next-after-load, display-delayed-warnings)
5901 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5902 definition of save-match-data.
5903 (overriding-local-map): Remove accidental obsolescence declaration.
5904
5905 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5906
5907 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5908
5909 Generalize symbol prettify support to prog-mode and implement it
5910 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5911 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5912 (prog--prettify-font-lock-compose-symbol)
5913 (prog-prettify-font-lock-symbols-keywords): New variables and
5914 functions to support symbol prettification.
5915 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5916 (lisp--augmented-font-lock-keywords-1)
5917 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5918 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5919 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5920 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5921 Implement prettify of -> => :: strings.
5922 * progmodes/perl-mode.el (perl-prettify-symbols)
5923 (perl--font-lock-compose-symbol)
5924 (perl--font-lock-symbols-keywords): Move to prog-mode.
5925 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5926 (perl-font-lock-keywords-1)
5927 (perl-font-lock-keywords-2): Remove explicit prettify support.
5928 (perl--augmented-font-lock-keywords)
5929 (perl--augmented-font-lock-keywords-1)
5930 (perl--augmented-font-lock-keywords-2, perl-mode):
5931 Implement prettify support.
5932
5933 2013-06-05 Leo Liu <sdl.web@gmail.com>
5934
5935 Re-implement smie matching block highlight using
5936 show-paren-data-function. (Bug#14395)
5937 * emacs-lisp/smie.el (smie-matching-block-highlight)
5938 (smie--highlight-matching-block-overlay)
5939 (smie--highlight-matching-block-lastpos)
5940 (smie-highlight-matching-block)
5941 (smie-highlight-matching-block-mode): Remove.
5942 (smie--matching-block-data-cache): New variable.
5943 (smie--matching-block-data): New function.
5944 (smie-setup): Use smie--matching-block-data for
5945 show-paren-data-function.
5946
5947 * progmodes/octave.el (octave-mode-menu): Fix.
5948 (octave-find-definition): Skip garbage lines.
5949
5950 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 Fix compilation error with simultaneous dynamic+lexical scoping.
5953 Add warning when a defvar appears after the first let-binding.
5954 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5955 (byte-compile-close-variables): Initialize it.
5956 (byte-compile--declare-var): New function.
5957 (byte-compile-file-form-defvar)
5958 (byte-compile-file-form-define-abbrev-table)
5959 (byte-compile-file-form-custom-declare-variable): Use it.
5960 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5961 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5962 (byte-compile-bind): Handle dynamic bindings that shadow
5963 lexical bindings.
5964 (byte-compile-unbind): Make arg non-optional.
5965 (byte-compile-let): Simplify.
5966 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5967 (cconv--analyse-function, cconv-analyse-form): Populate it.
5968 Protect byte-compile-bound-variables to limit the scope of defvars.
5969 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5970 Remove unneeded rule for `declare'.
5971
5972 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5973 so as to avoid depending on cl-adjoin at run-time.
5974 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5975
5976 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5977 (macroexp--warn-and-return): Use it.
5978
5979 2013-06-05 Leo Liu <sdl.web@gmail.com>
5980
5981 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5982
5983 2013-06-04 Leo Liu <sdl.web@gmail.com>
5984
5985 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5986 (compilation-auto-jump): Suppress the "Mark set" message to give
5987 way to exit message.
5988
5989 2013-06-04 Alan Mackenzie <acm@muc.de>
5990
5991 Remove faulty optimisation from indentation calculation.
5992 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5993 search limit based on 2000 characters back from indent-point.
5994
5995 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5996
5997 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5998
5999 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * emacs-lisp/lisp.el: Use lexical-binding.
6002 (lisp--local-variables-1, lisp--local-variables): New functions.
6003 (lisp--local-variables-completion-table): New var.
6004 (lisp-completion-at-point): Use it complete let-bound vars.
6005
6006 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6007 eagerly (bug#14422).
6008
6009 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6010
6011 * autorevert.el (auto-revert-notify-enabled)
6012 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6013 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6014 (auto-revert-notify-handler): Handle also gfilenotify.
6015
6016 * subr.el (file-notify-handle-event): New defun. Replacing ...
6017 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6018 Remove.
6019
6020 2013-06-03 Juri Linkov <juri@jurta.org>
6021
6022 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6023 `M-s h .'. (Bug#14427)
6024
6025 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6026 command `hi-lock-face-symbol-at-point'.
6027 (hi-lock-face-symbol-at-point): New command.
6028 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6029 (hi-lock-menu): Add `highlight-symbol-at-point'.
6030 (hi-lock-mode): Doc fix.
6031
6032 * isearch.el (isearch-forward-symbol-at-point): New command.
6033 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6034 (isearch-highlight-regexp): Add a regexp which matches
6035 words/symbols for word/symbol mode.
6036
6037 * subr.el (find-tag-default-bounds): New function with the body
6038 mostly moved from `find-tag-default'.
6039 (find-tag-default): Move most code to `find-tag-default-bounds',
6040 call it and apply `buffer-substring-no-properties' afterwards.
6041
6042 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6043
6044 * eshell/em-term.el (eshell-term-initialize):
6045 Use `cl-intersection' rather than `intersection'.
6046
6047 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6048
6049 * vc/log-view.el: Doc fix.
6050 (log-view-mode-map): Copy keymap from `special-mode-map'.
6051
6052 2013-06-02 Eric Ludlam <zappo@gnu.org>
6053
6054 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6055 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6056 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6057 (eieio-unbound, eieio-default-superclass)
6058 (eieio--define-field-accessors, method-static, method-before)
6059 (method-primary, method-after, method-num-lists)
6060 (method-generic-before, method-generic-primary)
6061 (method-generic-after, method-num-slots)
6062 (eieio-specialized-key-to-generic-key)
6063 (eieio--check-type, class-v, class-p)
6064 (eieio-class-name, define-obsolete-function-alias)
6065 (eieio-class-parents-fast, eieio-class-children-fast)
6066 (same-class-fast-p, class-constructor, generic-p)
6067 (generic-primary-only-p, generic-primary-only-one-p)
6068 (class-option-assoc, class-option, eieio-object-p)
6069 (class-abstract-p, class-method-invocation-order)
6070 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6071 (eieio-class-un-autoload, eieio-defclass)
6072 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6073 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6074 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6075 (eieio-defgeneric-reset-generic-form)
6076 (eieio-defgeneric-form-primary-only)
6077 (eieio-defgeneric-reset-generic-form-primary-only)
6078 (eieio-defgeneric-form-primary-only-one)
6079 (eieio-defgeneric-reset-generic-form-primary-only-one)
6080 (eieio-unbind-method-implementations)
6081 (eieio--defmethod, eieio--typep)
6082 (eieio-perform-slot-validation, eieio-validate-slot-value)
6083 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6084 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6085 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6086 (eieio-slot-name-index, eieio-class-slot-name-index)
6087 (eieio-set-defaults, eieio-initarg-to-attribute)
6088 (eieio-attribute-to-initarg, eieio-c3-candidate)
6089 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6090 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6091 (eieio-class-precedence-list, eieio-generic-call-methodname)
6092 (eieio-generic-call-arglst, eieio-generic-call-key)
6093 (eieio-generic-call-next-method-list)
6094 (eieio-pre-method-execution-functions, eieio-generic-call)
6095 (eieio-generic-call-primary-only, eieiomt-method-list)
6096 (eieiomt-optimizing-obarray, eieiomt-install)
6097 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6098 (eieio-generic-form, eieio-defmethod, make-obsolete)
6099 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6100 (defclass): Remove `eval-and-compile' from macro.
6101 (call-next-method, shared-initialize): Instead of using
6102 `scoped-class' variable, use new eieio--scoped-class, and
6103 eieio--with-scoped-class.
6104 (initialize-instance): Rename local variable 'scoped-class' to
6105 'this-class' to remove ambiguitity from old global.
6106
6107 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6108 eieio.el.
6109 (eieio--scoped-class-stack): New variable.
6110 (eieio--scoped-class): New fcn.
6111 (eieio--with-scoped-class): New scoping macro.
6112 (eieio-defclass): Use pushnew instead of add-to-list.
6113 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6114 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6115 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6116 `scoped-class' variable, use new eieio--scoped-class, and
6117 eieio--with-scoped-class.
6118
6119 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6120
6121 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6122
6123 * eshell/esh-ext.el (eshell-external-command): Pass args to
6124 `eshell-find-interpreter'.
6125 (eshell-find-interpreter): Add new second parameter ARGS.
6126
6127 * eshell/em-script.el (eshell-script-initialize): Add second arg
6128 to the function added as MATCH to `eshell-interpreter-alist'.
6129
6130 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6131 the function added as MATCH to `eshell-interpreter-alist'.
6132
6133 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6134 (eshell-visual-options): New defcustom.
6135 (eshell-escape-control-x): Adapt docstring.
6136 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6137 `eshell-visual-options' in addition to `eshell-visual-commands'.
6138 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6139
6140 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6141
6142 * progmodes/python.el (python-indent-block-enders): Add break,
6143 continue and raise keywords.
6144
6145 2013-06-01 Glenn Morris <rgm@gnu.org>
6146
6147 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6148
6149 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6150 * progmodes/cc-cmds.el (delete-forward-p):
6151 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6152 * progmodes/cc-engine.el (buffer-syntactic-context):
6153 * progmodes/cc-fonts.el (face-property-instance):
6154 * progmodes/cc-mode.el (set-keymap-parents):
6155 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6156 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6157 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6158 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6159 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6160
6161 * progmodes/cc-vars.el (other): Emacs has this widget since
6162 at least 21.1, so don't (re)define it.
6163
6164 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6165 Replace the obsolete alias pcomplete-arg-quote-list.
6166
6167 2013-06-01 Leo Liu <sdl.web@gmail.com>
6168
6169 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6170 punctuation syntax.
6171 (inferior-octave-minimal-columns)
6172 (inferior-octave-last-column-width): New variables.
6173 (inferior-octave-track-window-width-change): New function.
6174 (inferior-octave-mode): Adjust column width so that Octave output,
6175 for example from 'ls', can fit into the window nicely.
6176
6177 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6178
6179 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6180 Highlight expansions inside regexp literals.
6181
6182 2013-05-31 Glenn Morris <rgm@gnu.org>
6183
6184 * obsolete/sym-comp.el (symbol-complete):
6185 Replace obsolete completion-annotate-function.
6186
6187 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6188
6189 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6190
6191 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6192 New function, checks if point is inside a literal that allows
6193 expression expansion.
6194 (ruby-syntax-propertize-expansion): Use it.
6195 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6196 around the body.
6197
6198 2013-05-30 Juri Linkov <juri@jurta.org>
6199
6200 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6201 to "\M-si".
6202 (isearch-invisible): New variable.
6203 (isearch-forward): Doc fix.
6204 (isearch-mode): Set `isearch-invisible'
6205 to the value of `search-invisible'.
6206 (isearch-toggle-case-fold): Doc fix.
6207 (isearch-toggle-invisible): New command.
6208 (isearch-query-replace): Let-bind `search-invisible'
6209 to the value of `isearch-invisible'.
6210 (isearch-search): Use `isearch-invisible' instead of
6211 `search-invisible'. Let-bind `search-invisible'
6212 to the value of `isearch-invisible'. (Bug#11378)
6213
6214 2013-05-30 Juri Linkov <juri@jurta.org>
6215
6216 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6217 call when `query-flag' is nil and `search-invisible' is non-nil.
6218 (Bug#11746)
6219
6220 2013-05-30 Glenn Morris <rgm@gnu.org>
6221
6222 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6223
6224 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6225 (cc-require): Suppress spurious "noruntime" warnings.
6226 (cc-require-when-compile): Use fboundp, for sake of compiler.
6227
6228 * progmodes/cc-mode.el: Move load of cc-vars before that of
6229 cc-langs (which in turn loads cc-vars), to quieten compiler.
6230
6231 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 * paren.el: Simplify the code.
6234 (show-paren-mode): Always start the timer.
6235 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6236 (show-paren--overlay, show-paren--overlay-1): Rename from
6237 show-paren-overlay and show-paren-overlay-1, and initialize to an
6238 overlay rather than to nil.
6239 (show-paren-function): Misc cleanup and simplifications.
6240
6241 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * paren.el (show-paren-data-function): New hook.
6244 (show-paren--default): New function, extracted from show-paren-function.
6245 (show-paren-function): Use show-paren-data-function.
6246
6247 2013-05-30 Glenn Morris <rgm@gnu.org>
6248
6249 * ielm.el (ielm-map, ielm-complete-symbol):
6250 Use completion-at-point rather than obsolete functions.
6251 (inferior-emacs-lisp-mode): Doc fix.
6252 Set completion-at-point-functions, rather than
6253 comint-dynamic-complete-functions.
6254
6255 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6256 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6257 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6258
6259 * image.el (image-animated-p): Tweak definition.
6260
6261 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6262 (rlogin-process-connection-type): Tweak default. Add set-after.
6263 (rlogin-host): Doc fix.
6264 (rlogin): Tweak prompt.
6265 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6266
6267 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6268 * progmodes/tcl.el (inferior-tcl-mode-map):
6269 Use completion-at-point rather than obsolete alias.
6270
6271 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6272
6273 * minibuffer.el (read-file-name-completion-ignore-case):
6274 Move before completion--in-region, for eager macro expansion.
6275
6276 2013-05-29 Juri Linkov <juri@jurta.org>
6277
6278 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6279 for total count of matching lines. Add `global-matches' for total
6280 count of matches. Rename `matches' to `lines' for count of
6281 matching lines. Add `matches' for count of matches.
6282 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6283 to `prev-line' for line number of prev match endpt.
6284 Increment `matches' for every match. Print the number of
6285 matching lines in the header.
6286 (occur-context-lines): Rename `lines' to `curr-line'.
6287 Rename `prev-lines' to `prev-line'. (Bug#14017)
6288
6289 2013-05-29 Juri Linkov <juri@jurta.org>
6290
6291 * replace.el (perform-replace): Add `skip-read-only-count',
6292 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6293 Increment them for corresponding conditions and report the number
6294 of skipped occurrences in the final message. (Bug#11746)
6295 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6296 (replace-string, replace-regexp): Doc fix.
6297
6298 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6301
6302 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6303 prog-mode-map (bug#14504).
6304
6305 2013-05-29 Leo Liu <sdl.web@gmail.com>
6306
6307 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6308 (octave-help): Small simplification.
6309
6310 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6311 off the highlight first.
6312
6313 2013-05-29 Glenn Morris <rgm@gnu.org>
6314
6315 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6316 Handle idlwave-last-system-routine-info-cons-cell being nil.
6317
6318 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6319 (idlwave-write-paths): Simplify via with-temp-buffer.
6320
6321 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6322 * emulation/cua-rect.el: Also load cua-base at run time.
6323
6324 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6325 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6326 (cperl-imenu-on-info): Require imenu.
6327
6328 2013-05-28 Alan Mackenzie <acm@muc.de>
6329
6330 Handle "capitalised keywords" correctly.
6331 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6332
6333 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6334
6335 * eshell/em-unix.el: Add -r option to cp.
6336
6337 2013-05-28 Glenn Morris <rgm@gnu.org>
6338
6339 * vc/vc-arch.el (vc-exec-after): Declare.
6340 (vc-switches): Autoload.
6341 * vc/vc-bzr.el: No need to require vc when compiling.
6342 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6343 (vc-resynch-buffer, vc-dir-refresh): Declare.
6344 (vc-setup-buffer, vc-switches): Autoload.
6345 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6346 (vc-resynch-buffer): Declare.
6347 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6348 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6349 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6350 (grep-read-regexp, grep-read-files, grep-expand-template)
6351 (vc-dir-refresh): Declare.
6352 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6353 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6354 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6355 * vc/vc-mtn.el (vc-exec-after): Declare.
6356 (vc-switches): Autoload.
6357 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6358 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6359 (vc-file-tree-walk): Declare.
6360 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6361 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6362 (vc-tag-precondition, vc-rename-master): Autoload.
6363 * vc/vc-svn.el (vc-exec-after): Declare.
6364 (vc-switches, vc-setup-buffer): Autoload.
6365 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6366 Autoload.
6367 (vc-resynch-buffer): Declare.
6368
6369 * obsolete/fast-lock.el (byte-compile-warnings):
6370 Don't warn about obsolete features in this obsolete file.
6371
6372 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6373 Move definition before use.
6374
6375 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6376 (dun-unix-verbs): Remove dun-zippy.
6377 (dun-zippy): Remove function.
6378
6379 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6380
6381 2013-05-27 Juri Linkov <juri@jurta.org>
6382
6383 * replace.el (replace-search): New function with code moved out
6384 from `perform-replace'.
6385 (replace-highlight, replace-dehighlight): Move function definitions
6386 up closer to `replace-search'. (Bug#11746)
6387
6388 2013-05-27 Juri Linkov <juri@jurta.org>
6389
6390 * replace.el (perform-replace): Ignore invisible matches.
6391 In addition to checking `query-replace-skip-read-only', also
6392 filter out matches by calling `run-hook-with-args-until-failure'
6393 on `isearch-filter-predicates', and also check `search-invisible'
6394 for t or call `isearch-range-invisible'.
6395 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6396
6397 2013-05-27 Juri Linkov <juri@jurta.org>
6398
6399 * isearch.el (isearch-filter-predicates): Rename from
6400 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6401 (isearch-message-prefix): Display text from the property
6402 `isearch-message-prefix' of the currently active filters.
6403 (isearch-search): Don't compare `isearch-filter-predicate' with
6404 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6405 on `isearch-filter-predicates'. Also check `search-invisible' for t
6406 or call `isearch-range-invisible'.
6407 (isearch-filter-visible): Make obsolete.
6408 (isearch-lazy-highlight-search):
6409 Call `run-hook-with-args-until-failure' on
6410 `isearch-filter-predicates' and use `isearch-range-invisible'.
6411
6412 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6413 `isearch-filter-predicates' instead of `funcall'ing
6414 `isearch-filter-predicate'.
6415 (Info-mode): Set `Info-isearch-filter' to
6416 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6417
6418 * dired-aux.el (dired-isearch-filter-predicate-orig):
6419 Remove variable.
6420 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6421 (dired-isearch-filenames-end): Add and remove
6422 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6423 instead of changing the value of `isearch-filter-predicate'.
6424 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6425 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6426 Put property `isearch-message-prefix' to "filename " on
6427 `dired-isearch-filter-filenames'.
6428
6429 * wdired.el (wdired-change-to-wdired-mode):
6430 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6431 locally instead of changing `isearch-filter-predicate'.
6432 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6433
6434 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6435
6436 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6437 return the commit hash (Bug#14459). Also set the
6438 `vc-git-detached' property.
6439 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6440 (vc-git-mode-line-string): Use the same help-echo format whether
6441 in detached mode or not, because we know the actual revision now.
6442 When in detached mode, shorten the revision to 7 chars.
6443
6444 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/easy-mmode.el (define-minor-mode):
6447 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6448 mode hook and provide a docstring.
6449
6450 2013-05-27 Alan Mackenzie <acm@muc.de>
6451
6452 Remove spurious syntax-table text properties inserted by C-y.
6453 * progmodes/cc-mode.el (c-after-change): Also clear hard
6454 syntax-table property with value nil.
6455
6456 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6457
6458 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6459 when reading the events; the buffer layout shall not be changed.
6460
6461 2013-05-27 Leo Liu <sdl.web@gmail.com>
6462
6463 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6464 New variable.
6465 (inferior-octave-directory-tracker): Automatically re-sync
6466 default-directory.
6467 (octave-help): Improve handling of 'See also'.
6468
6469 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * doc-view.el: Minor naming convention tweaks.
6472 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6473
6474 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6475 even if there's no `display' property yet (bug#14435).
6476
6477 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6478
6479 * subr.el (unmsys--file-name): Rename from reveal-filename.
6480
6481 * Makefile.in (custom-deps, finder-data, autoloads)
6482 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6483 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6484 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6485
6486 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6489 error-completion on the first 2 args of condition-case (bug#14446).
6490 Don't burp at EOB.
6491
6492 2013-05-25 Leo Liu <sdl.web@gmail.com>
6493
6494 * comint.el (comint-previous-matching-input): Do not flood the
6495 *Messages* buffer with trivial messages.
6496
6497 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * progmodes/flymake.el (flymake-nop): Don't return a string.
6500 (flymake-set-at): Fix typo.
6501
6502 * simple.el (read--expression): New function, extracted from
6503 eval-expression. Set completion-at-point-functions (bug#14465).
6504 (eval-expression, eval-minibuffer): Use it.
6505
6506 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6507
6508 * progmodes/flymake.el (flymake-save-buffer-in-file)
6509 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6510 (flymake-selected-frame, flymake-log, flymake-ins-after)
6511 (flymake-set-at, flymake-get-buildfile-from-cache)
6512 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6513 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6514 Refine the doc string.
6515 (flymake-get-file-name-mode-and-masks): Reformat.
6516 (flymake-get-real-file-name-function): Fix a minor bug.
6517
6518 2013-05-24 Juri Linkov <juri@jurta.org>
6519
6520 * progmodes/grep.el (grep-mode-font-lock-keywords):
6521 Support =linenumber= format used by git-grep for lines with
6522 function names. (Bug#13549)
6523
6524 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6527 0 after a semi-colon; it works better for smie-auto-fill.
6528 (octave--indent-new-comment-line): New function.
6529 (octave-indent-new-comment-line): Use it (indirectly).
6530 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6531 modify comment-line-break-function.
6532
6533 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6534 (smie-setup): Use add-function to set it.
6535
6536 2013-05-24 Sam Steingold <sds@gnu.org>
6537
6538 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6539 argument (before the `interactive' argument).
6540
6541 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * image-mode.el (image-mode-winprops): Add winprops to
6544 image-mode-winprops-alist before running
6545 image-mode-new-window-functions.
6546 * doc-view.el (doc-view-new-window-function): Don't delay
6547 doc-view-goto-page via timers (bug#14435).
6548
6549 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6550
6551 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6552 (doc-view-desktop-save-buffer): New function.
6553 (doc-view-restore-desktop-buffer): New function.
6554 (desktop-buffer-mode-handlers):
6555 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6556 handler.
6557 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6558 `desktop-save-buffer' function.
6559
6560 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6561
6562 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6563 (tramp-gvfs-file-name-handler): Raise a user error when
6564 `tramp-gvfs-enabled' is nil.
6565 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6566 Do not raise a user error when loading package. (Bug#14447)
6567
6568 * net/xesam.el: Move to obsolete/.
6569
6570 2013-05-24 Glenn Morris <rgm@gnu.org>
6571
6572 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6573
6574 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6575
6576 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6577 (Info-find-node, Man-getpage-in-background): Declare.
6578
6579 * mail/unrmail.el (unrmail):
6580 Replace obsolete detect-coding-with-priority.
6581
6582 * net/socks.el (socks-split-string): Use this rather than split-string.
6583 (socks-nslookup-host): Update for above change.
6584 (dynamic-choice, s5-dynamic-choice-match)
6585 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6586 Comment out unused code.
6587
6588 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6589 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6590 (gud-tooltip-echo-area): Make obsolete.
6591 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6592
6593 * progmodes/js.el (js--optimize-arglist): Declare.
6594
6595 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6596
6597 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6598 (ediff-window-C): Declare.
6599
6600 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6601 Tweak requires to silence compiler.
6602
6603 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6604 (he-search-string, he-tried-table, he-expand-list)
6605 (he-init-string, he-string-member, he-substitute-string)
6606 (he-reset-string): Declare.
6607
6608 * obsolete/options.el (list-options): Use custom-variable-p,
6609 rather than obsolete alias.
6610
6611 2013-05-23 Sam Steingold <sds@gnu.org>
6612
6613 * simple.el (shell-command-on-region): Pass the `replace' argument
6614 down to `call-process-region' to comply with the doc as reported on
6615 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6616
6617 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * emacs-lisp/smie.el (smie-indent-forward-token)
6620 (smie-indent-backward-token): Handle string tokens (bug#14381).
6621
6622 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6623
6624 * ielm.el (ielm-menu): New menu.
6625 (inferior-emacs-lisp-mode): Set comment-start.
6626
6627 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6628
6629 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6630 Fix deactivate action.
6631
6632 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6633 Add cleveref macros.
6634
6635 * lisp/textmodes/reftex-parse.el
6636 (reftex-locate-bibliography-files): Accept options for
6637 bibliography commands.
6638 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6639 Add addbibresource. Basic Biblatex support.
6640
6641 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6642
6643 * net/tramp-gvfs.el (top):
6644 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6645 when loading package. (Bug#14447)
6646
6647 2013-05-23 Glenn Morris <rgm@gnu.org>
6648
6649 * progmodes/js.el: No need to load comint when compiling.
6650 (ring-insert, comint-send-string, comint-send-input)
6651 (comint-last-input-end, ido-chop): Declare.
6652
6653 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6654 * vc/ediff-mult.el: Adjust requires.
6655 (ediff-directories-internal, ediff-directory-revisions-internal)
6656 (ediff-patch-file-internal): Declare.
6657 * vc/ediff-ptch.el: Adjust requires.
6658 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6659 (ediff-find-file): Autoload.
6660 * vc/ediff-util.el: No need to load ediff when compiling.
6661 (ediff-regions-internal): Declare.
6662 * vc/ediff-wind.el: Adjust requires.
6663 (ediff-compute-toolbar-width): Define when compiling.
6664 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6665 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6666 (dired-get-filename, dired-get-marked-files)
6667 (ediff-last-dir-patch, ediff-patch-default-directory)
6668 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6669 (ediff-patch-buffer-internal): Declare.
6670
6671 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6672 (ispell-process, ispell-buffer-local-words, lm-summary)
6673 (lm-section-start, lm-section-end): Declare.
6674 (checkdoc-ispell-init): Simplify.
6675
6676 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6677 (he-string-member, he-reset-string, he-substitute-string): Declare.
6678
6679 * eshell/em-ls.el: Adjust requires.
6680 (eshell-glob-regexp): Declare.
6681 * eshell/em-tramp.el: Adjust requires.
6682 (eshell-parse-command): Autoload.
6683 * eshell/em-xtra.el: Adjust requires.
6684 (eshell-parse-command): Autoload.
6685 * eshell/esh-ext.el: Adjust requires.
6686 (eshell-parse-command, eshell-close-handles): Autoload.
6687 * eshell/esh-io.el: Adjust requires.
6688 (eshell-output-filter): Autoload.
6689 * eshell/esh-util.el: No need to load tramp when compiling.
6690 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6691 Declare.
6692 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6693 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6694 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6695 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6696 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6697 * eshell/esh-opt.el, eshell/esh-proc.el:
6698 * eshell/esh-var.el: Adjust requires.
6699 * eshell/eshell.el: Do not require esh-util twice.
6700 (eshell-add-input-to-history): Declare.
6701 (eshell-command): Check history module is active before using it.
6702
6703 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6704
6705 2013-05-22 Leo Liu <sdl.web@gmail.com>
6706
6707 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6708
6709 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6710
6711 * autorevert.el (auto-revert-notify-add-watch)
6712 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6713 it indicates changes in file modification time.
6714
6715 2013-05-22 Glenn Morris <rgm@gnu.org>
6716
6717 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6718 Always delete the autoloaded function from the noruntime and
6719 unresolved functions lists.
6720
6721 * allout.el: No need to load epa, epg, overlay when compiling.
6722 (epg-context-set-passphrase-callback, epg-list-keys)
6723 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6724 (epg-key-user-id-list): Declare.
6725
6726 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6727 (viper-set-parsing-style-toggling-macro)
6728 (viper-set-emacs-state-searchstyle-macros):
6729 Use called-interactively-p on Emacs.
6730 (viper-looking-back): Make it an obsolete alias. Update callers.
6731 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6732 Use looking-back rather than viper-looking-back.
6733 (viper-tmp-insert-at-eob, viper-enlarge-region)
6734 (viper-read-string-with-history, viper-register-to-point)
6735 (viper-append-to-register, viper-change-state-to-vi)
6736 (viper-backward-char-carefully, viper-forward-char-carefully)
6737 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6738 (viper-change-state-to-emacs): Declare.
6739 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6740 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6741 * emulation/viper-mous.el: Do not load viper-cmd.
6742 (viper-backward-char-carefully, viper-forward-char-carefully)
6743 (viper-forward-word, viper-adjust-window): Declare.
6744
6745 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6746
6747 * progmodes/idlw-help.el (idlwave-help-fontify):
6748 Use called-interactively-p.
6749
6750 * term/w32console.el (w32-get-console-codepage)
6751 (w32-get-console-output-codepage): Declare.
6752
6753 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6754 Remove unnecessary declarations.
6755 (dframe-message): Doc fix.
6756
6757 * info.el (dframe-select-attached-frame, dframe-current-frame):
6758 Declare.
6759
6760 * speedbar.el (speedbar-message): Make it an obsolete alias.
6761 Update all callers.
6762 (speedbar-with-attached-buffer)
6763 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6764 (speedbar-with-writable): Use backquote.
6765 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6766 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6767 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6768 rather than speedbar- aliases.
6769 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6770 (speedbar-make-specialized-keymap, speedbar-insert-button)
6771 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6772 (speedbar-do-function-pointer): Declare.
6773 (rmail-speedbar-button, rmail-speedbar-find-file)
6774 (rmail-speedbar-move-message):
6775 Use dframe-with-attached-buffer rather than speedbar- alias.
6776 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6777 (dframe-message, speedbar-make-specialized-keymap)
6778 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6779 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6780 (speedbar-insert-button, dframe-select-attached-frame)
6781 (dframe-maybee-jump-to-attached-frame)
6782 (speedbar-change-initial-expansion-list)
6783 (speedbar-previously-used-expansion-list-name): Declare.
6784 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6785 Use dframe-message, dframe-with-attached-buffer rather than
6786 speedbar- aliases.
6787 (gud-sentinel): Silence compiler.
6788 * progmodes/vhdl-mode.el (speedbar-refresh)
6789 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6790 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6791 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6792 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6793 (speedbar-file-lists, speedbar-make-tag-line)
6794 (speedbar-line-directory, speedbar-goto-this-file)
6795 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6796 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6797 (speedbar-make-button, speedbar-reset-scanners)
6798 (speedbar-files-item-info, speedbar-line-text)
6799 (speedbar-find-file-in-frame, speedbar-set-timer)
6800 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6801 (speedbar-with-writable): Do not (re)define it.
6802 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6803 rather than speedbar- alias.
6804
6805 2013-05-21 Leo Liu <sdl.web@gmail.com>
6806
6807 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6808 menu items.
6809 (octave-mode): Tweak fill-nobreak-predicate.
6810 (inferior-octave-startup): Check process to avoid infinite loop.
6811 (inferior-octave): Pop to buffer first to show abornmal process
6812 exit information.
6813
6814 2013-05-21 Glenn Morris <rgm@gnu.org>
6815
6816 * printing.el (pr-menu-bar): Define when compiling.
6817
6818 2013-05-21 Leo Liu <sdl.web@gmail.com>
6819
6820 * progmodes/octave.el (octave-auto-fill): Remove.
6821 (octave-indent-new-comment-line): Improve.
6822 (octave-mode): Use auto fill mode through
6823 comment-line-break-function and fill-nobreak-predicate.
6824 (octave-goto-function-definition): Support DEFUN_DLD.
6825 (octave-beginning-of-defun): Small tweak.
6826 (octave-help): Show parent directory.
6827
6828 2013-05-21 Glenn Morris <rgm@gnu.org>
6829
6830 * files.el (dired-unmark):
6831 * progmodes/gud.el (gdb-input): Update declarations.
6832
6833 * calculator.el (electric, ehelp): No need to load when compiling.
6834 (Electric-command-loop, electric-describe-mode): Declare.
6835
6836 * doc-view.el (doc-view-current-converter-processes): Move before use.
6837
6838 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6839 Move MODE-set-explicitly definition before use.
6840
6841 * international/mule-diag.el (mule-diag):
6842 Don't use obsolete window-system-version.
6843
6844 * mail/feedmail.el (smtpmail): No need to load when compiling.
6845 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6846
6847 * mail/mail-utils.el (rfc822): No need to load when compiling.
6848 (rfc822-addresses): Autoload it.
6849 (mail-strip-quoted-names): Trivial simplification.
6850
6851 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6852 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6853
6854 * net/snmp-mode.el (tempo): Don't duplicate requires.
6855
6856 * progmodes/prolog.el (info): No need to load when compiling.
6857 (comint): Require before shell requires it.
6858 (Info-goto-node): Autoload it.
6859 (Info-follow-nearest-node): Declare.
6860 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6861
6862 * textmodes/artist.el (picture-mode-exit): Declare.
6863
6864 * textmodes/reftex-parse.el (reftex-parse-from-file):
6865 Trivial rewrite so the compiler can parse it better.
6866
6867 2013-05-20 Leo Liu <sdl.web@gmail.com>
6868
6869 * progmodes/octave.el (octave-help-mode-map)
6870 (octave-help-mode-finish-hook): New variables.
6871 (octave-help-mode, octave-help-mode-finish): New functions.
6872 (octave-help): Use octave-help-mode.
6873
6874 2013-05-20 Glenn Morris <rgm@gnu.org>
6875
6876 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6877
6878 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6879
6880 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6881 start at point, so that expansion starting right after opening
6882 slash in a regexp is recognized.
6883 (ruby-syntax-before-regexp-re): New defvar, extracted from
6884 ruby-syntax-propertize-function. Since the value of this regexp
6885 is looked up at runtime now, we should be able to turn
6886 `ruby-syntax-methods-before-regexp' into a defcustom later.
6887 (ruby-syntax-propertize-function): Split regexp matching into two
6888 parts, for opening and closing slashes. That allows us to skip
6889 over string interpolations and support multiline regexps.
6890 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6891 for them, which calls `ruby-syntax-propertize-expansion'.
6892 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6893 call to `ruby-syntax-propertize-function'.
6894 (ruby-syntax-propertize-expansion): Extracted from
6895 `ruby-syntax-propertize-expansions'. Handles one expansion.
6896 (ruby-syntax-propertize-percent-literal): Leave point right after
6897 the percent symbol, so that the expression expansion rule can
6898 propertize the contents.
6899 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6900 heredoc openers.
6901 (ruby-syntax-propertize-expansions): Remove.
6902
6903 2013-05-18 Juri Linkov <juri@jurta.org>
6904
6905 * man.el (Man-default-man-entry): Remove `-' from the end
6906 of the default value. (Bug#14400)
6907
6908 2013-05-18 Glenn Morris <rgm@gnu.org>
6909
6910 * comint.el (comint-password-prompt-regexp):
6911 Allow "password for XXX" where XXX contains colons (eg https://...).
6912
6913 2013-05-18 Leo Liu <sdl.web@gmail.com>
6914
6915 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6916 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6917 (octave-source-directories): Don't check process.
6918 (octave-source-directories, octave-find-definition): Doc fix.
6919
6920 2013-05-18 Glenn Morris <rgm@gnu.org>
6921
6922 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6923 Remove backspace/delete bindings. (Bug#14392)
6924
6925 * cus-dep.el (custom-make-dependencies): Sort the output.
6926 (custom-versions-load-alist): Convert comment to doc.
6927
6928 2013-05-17 Leo Liu <sdl.web@gmail.com>
6929
6930 * newcomment.el (comment-search-backward): Stricter in finding
6931 comment start. (Bug#14303)
6932
6933 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6934 (octave-comment-start-skip): Properly anchored.
6935
6936 2013-05-17 Leo Liu <sdl.web@gmail.com>
6937
6938 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6939 Clean up when turned off. (Bug#14395)
6940 (smie--highlight-matching-block-overlay): No longer buffer-local.
6941 (smie-highlight-matching-block): Adjust.
6942
6943 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6944
6945 Doc string fix for "nanoseconds" (Bug#14406).
6946 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6947 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6948
6949 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6950
6951 * calc/calc-units.el (math-extract-units): Preserve powers
6952 of units.
6953
6954 2013-05-17 Leo Liu <sdl.web@gmail.com>
6955
6956 * subr.el (delete-consecutive-dups): New function.
6957 * ido.el (ido-set-matches-1): Use it.
6958 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6959 * ido.el (ido-remove-consecutive-dups): Remove.
6960
6961 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6964 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6965 regexp-opt's `words'.
6966
6967 2013-05-16 Leo Liu <sdl.web@gmail.com>
6968
6969 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6970 (smie--highlight-matching-block-overlay)
6971 (smie--highlight-matching-block-lastpos)
6972 (smie--highlight-matching-block-timer): New variables.
6973 (smie-highlight-matching-block): New function.
6974 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6975 (smie-setup): Conditionally enable smie-blink-matching-open.
6976
6977 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6978
6979 Sync with upstream verilog-mode r840.
6980 * progmodes/verilog-mode.el (verilog-mode-version)
6981 (verilog-mode-release-date): Update.
6982 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6983 (verilog-sig-tieoff): Fix string error on
6984 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6985 (verilog-read-decls): Fix parameters confusing
6986 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6987
6988 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6989
6990 * subr.el (reveal-filename): New function.
6991
6992 * loadup.el: Compute Emacs executable versions on MS-Windows,
6993 where executables have the .exe extension. Add a hard link
6994 emacs-XX.YY.ZZ.exe on MS-Windows.
6995
6996 * Makefile.in (XARGS_LIMIT): New variable.
6997 (custom-deps, finder-data, autoloads)
6998 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6999 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7000 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7001 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7002
7003 2013-05-16 Leo Liu <sdl.web@gmail.com>
7004
7005 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7006 (octave-mode-menu, octave-mode-map): Remove its uses.
7007
7008 2013-05-16 Reto Zimmermann <reto@gnu.org>
7009
7010 Sync with upstream vhdl mode v3.34.2.
7011 * progmodes/vhdl-mode.el: Use `push' throughout.
7012 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7013 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7014 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7015 (vhdl-actual-generic-name): New option to derive actual generic name.
7016 (vhdl-port-paste-signals): Replace formal by actual generics.
7017 (vhdl-beautify): New name for old group vhdl-align. Update users.
7018 (vhdl-beautify-options): New option.
7019 (vhdl-last-input-event): New compat alias. Use throughout.
7020 (vhdl-goto-line): Replace user level function `goto-line'.
7021 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7022 vhdl-fix-statement-buffer.
7023 (vhdl-create-mode-menu): Add some entries.
7024 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7025 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7026 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7027 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7028 to force statements on one line.
7029 (vhdl-remove-trailing-spaces-region):
7030 New, split from vhdl-remove-trailing-spaces.
7031 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7032 Respect vhdl-beautify-options.
7033 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7034 (vhdl-update-sensitivity-list): Not add with index if exists without.
7035 Not include array index with signal. Ignore keywords in comments.
7036 (vhdl-get-visible-signals): Regexp tweaks.
7037 (vhdl-template-component-inst): Handle empty library.
7038 (vhdl-template-type): Add template for 'enum' type.
7039 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7040 Use vhdl-replace-string.
7041 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7042 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7043 (vhdl-speedbar-initialize): Update for above name change.
7044 (vhdl-compose-wire-components): Fix in handling of constants.
7045 (vhdl-error-regexp-emacs-alist): New variable.
7046 (vhdl-error-regexp-add-emacs): New function;
7047 adds support for new compile.el (Emacs 22+)
7048 (vhdl-generate-makefile-1): Change target order for single lib. units.
7049 Allow use of absolute file names.
7050
7051 2013-05-16 Leo Liu <sdl.web@gmail.com>
7052
7053 * simple.el (prog-indent-sexp): Indent enclosing defun.
7054
7055 2013-05-15 Glenn Morris <rgm@gnu.org>
7056
7057 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7058 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7059 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7060 (whitespace-highlight): Move to whitespace group.
7061
7062 * comint.el (comint-source):
7063 * pcmpl-linux.el (pcmpl-linux):
7064 * shell.el (shell-faces):
7065 * eshell/esh-opt.el (eshell-opt):
7066 * international/ccl.el (ccl): Remove empty custom groups.
7067
7068 * completion.el (dynamic-completion-mode):
7069 * jit-lock.el (jit-lock-debug-mode):
7070 * minibuffer.el (completion-in-region-mode):
7071 * type-break.el (type-break-mode-line-message-mode)
7072 (type-break-query-mode):
7073 * emulation/tpu-edt.el (tpu-edt-mode):
7074 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7075 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7076 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7077
7078 * term/xterm.el (xterm): Change parent group to terminals.
7079
7080 * master.el (master): Remove empty custom group.
7081 (master-mode): Remove unused :group argument.
7082 * textmodes/refill.el (refill): Remove empty custom group.
7083 (refill-mode): Remove unused :group argument.
7084
7085 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7086
7087 * cus-dep.el: Provide a feature.
7088 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7089 Don't mistakenly ignore files whose basenames match a basename
7090 from preloaded-file-list (eg cedet/ede/simple.el).
7091 Add a fallback method for getting :group.
7092
7093 2013-05-15 Juri Linkov <juri@jurta.org>
7094
7095 * isearch.el (isearch-char-by-name): Rename from
7096 `isearch-insert-char-by-name'. Doc fix.
7097 (isearch-forward): Mention `isearch-char-by-name' in
7098 the docstring. (Bug#13348)
7099
7100 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7101 `exit-minibuffer' instead of
7102 `isearch-nonincremental-exit-minibuffer'.
7103 (isearch-edit-string): Remove mention of
7104 `isearch-nonincremental-exit-minibuffer' from docstring.
7105 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7106 (isearch-forward-exit-minibuffer)
7107 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7108
7109 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * loadup.el: Just use unversioned DOC.
7112
7113 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7114 literals as extending to EOB.
7115 (nxml-last-fontify-end): Remove unused variable.
7116 (nxml-after-change1): Use with-silent-modifications.
7117 (nxml-extend-after-change-region): Simplify.
7118 (nxml-extend-after-change-region1): Remove function.
7119 (nxml-after-change1): Don't adjust for dependent regions.
7120 (nxml-fontify-matcher): Simplify.
7121 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7122 (xmltok-add-dependent): Remove function.
7123 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7124 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7125 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7126 unclosed <[[, <?, comment, and other literals as extending to EOB.
7127 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7128 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7129 Remove functions.
7130 (rng-do-some-validation-1): Don't mark dependent regions.
7131 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7132 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7133 (nxml-clear-dependent-regions): Remove functions.
7134 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7135 (nxml-ensure-scan-up-to-date):
7136 Don't clear&mark dependent regions.
7137
7138 2013-05-15 Leo Liu <sdl.web@gmail.com>
7139
7140 * progmodes/octave.el (octave-goto-function-definition):
7141 Improve and fix callers.
7142
7143 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7146 the setter (bug#14387).
7147
7148 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7149 surrounding group (bug#14402).
7150
7151 2013-05-14 Juri Linkov <juri@jurta.org>
7152
7153 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7154 (Bug#14390)
7155
7156 2013-05-14 Glenn Morris <rgm@gnu.org>
7157
7158 * progmodes/f90.el (f90-imenu-generic-expression):
7159 Fix typo in 2013-05-08 change. (Bug#14402)
7160
7161 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7162
7163 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7164 Remove signals for which replies are never received.
7165
7166 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7167
7168 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7169 (gdb-handler-alist, gdb-handler-number): Remove variables.
7170 (gdb-handler-list): New variable.
7171 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7172 (gdb-pending-handler-p, gdb-handle-reply)
7173 (gdb-remove-all-pending-triggers): New functions.
7174 (gdb-discard-unordered-replies): New defcustom.
7175 (gdb-handler): New defstruct.
7176 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7177 instead of gdb-pending-triggers. Update docstring.
7178 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7179 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7180 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7181 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7182 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7183 (gdb-frame-handler): Pending triggers are now automatically managed.
7184 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7185 Remove argument.
7186 (gdb-input): Automatically handles pending triggers. Update docstring.
7187 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7188 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7189 Update comments.
7190 (gdb-done-or-error): Now use gdb-handle-reply.
7191
7192 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7193
7194 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7195 gdb-debug-log.
7196
7197 2013-05-14 Glenn Morris <rgm@gnu.org>
7198
7199 * subr.el (user-emacs-directory-warning): New option.
7200 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7201
7202 2013-05-14 Leo Liu <sdl.web@gmail.com>
7203
7204 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7205 during redisplay.
7206 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7207 (octave-font-lock-texinfo-comment): Fix invalid search bound
7208 error: wrong side of point.
7209
7210 2013-05-14 Glenn Morris <rgm@gnu.org>
7211
7212 * progmodes/flymake.el (flymake-xml-program): New option.
7213 (flymake-xml-init): Use it.
7214
7215 * term/xterm.el: Provide a feature.
7216
7217 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7218
7219 2013-05-13 Glenn Morris <rgm@gnu.org>
7220
7221 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7222 Add compat aliases as a hack workaround. (Bug#14384)
7223
7224 2013-05-13 Leo Liu <sdl.web@gmail.com>
7225
7226 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7227 ###, and %!.
7228 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7229 C-M-q.
7230 (octave-comment-start-skip): Include %!.
7231 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7232
7233 2013-05-12 Leo Liu <sdl.web@gmail.com>
7234
7235 * progmodes/octave.el (inferior-octave-startup): Store the value
7236 of __octave_srcdir__ for octave-source-directories.
7237 (inferior-octave-check-process): New function refactored out of
7238 inferior-octave-send-list-and-digest.
7239 (octave-source-directories)
7240 (octave-find-definition-filename-function): New variables.
7241 (octave-source-directories)
7242 (octave-find-definition-default-filename): New functions.
7243 (octave-find-definition): Improve to find functions implemented in C++.
7244
7245 2013-05-12 Glenn Morris <rgm@gnu.org>
7246
7247 * calendar/diary-lib.el (diary-outlook-format-1):
7248 Don't include dayname in the output. (Bug#14349)
7249
7250 2013-05-11 Glenn Morris <rgm@gnu.org>
7251
7252 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7253
7254 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7255 Treat cc-provide like provide.
7256
7257 2013-05-11 Kevin Ryde <user42@zip.com.au>
7258
7259 * cus-dep.el (custom-make-dependencies):
7260 Use generated-autoload-load-name for the sake of files such
7261 such cedet/semantic/bovine/c.el, where the base file name
7262 is not in load-path. (Bug#5277)
7263
7264 2013-05-11 Glenn Morris <rgm@gnu.org>
7265
7266 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7267 Provide features.
7268
7269 2013-05-11 Leo Liu <sdl.web@gmail.com>
7270
7271 * progmodes/octave.el (octave-indent-comment): Improve.
7272 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7273 (octave-eldoc-function-signatures, octave-eldoc-function):
7274 New functions.
7275 (octave-mode, inferior-octave-mode): Add eldoc support.
7276
7277 2013-05-11 Richard Stallman <rms@gnu.org>
7278
7279 * epa.el (epa-decrypt-file): Take output file name as argument
7280 and read it using `interactive'.
7281
7282 2013-05-11 Leo Liu <sdl.web@gmail.com>
7283
7284 * progmodes/octave.el (octave-beginning-of-line)
7285 (octave-end-of-line): Check before using up-list because it jumps
7286 out of more syntactic contructs since moving to smie.
7287 (octave-indent-comment): New function.
7288 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7289 (octave-begin-keywords, octave-end-keywords)
7290 (octave-reserved-words, octave-smie-bnf-table)
7291 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7292
7293 2013-05-11 Glenn Morris <rgm@gnu.org>
7294
7295 * faces.el (internal-face-x-get-resource):
7296 * frame.el (ns-display-monitor-attributes-list):
7297 * calc/calc-aent.el (math-to-radians-2):
7298 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7299 Fix declarations.
7300
7301 * calc/calc-menu.el: Make it loadable in isolation.
7302
7303 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7304 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7305 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7306 (eudc-bbdb-query-internal): Require 'bbdb.
7307
7308 * lpr.el (lpr-headers-switches):
7309 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7310
7311 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7312
7313 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7314
7315 * term.el (term-set-escape-char): Make it idempotent.
7316
7317 2013-05-10 Leo Liu <sdl.web@gmail.com>
7318
7319 * progmodes/octave.el (inferior-octave-completion-table):
7320 No longer a function and all uses changed. Use cache to speed up
7321 completion due to bug#11906.
7322 (octave-beginning-of-defun): Re-write to be more general.
7323
7324 2013-05-10 Glenn Morris <rgm@gnu.org>
7325
7326 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7327
7328 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * comint.el (comint-redirect-send-command-to-process): Use :around
7331 rather than :override for comint-redirect-filter.
7332 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7333 Call it instead of comint-redirect-original-filter-function (which
7334 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7335
7336 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7337
7338 * frame.el (display-monitor-attributes-list): Add NS case.
7339 (ns-display-monitor-attributes-list): Declare.
7340
7341 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7342
7343 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7344
7345 2013-05-09 Glenn Morris <rgm@gnu.org>
7346
7347 * international/fontset.el (vertical-centering-font-regexp):
7348 Set standard-value.
7349
7350 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7351
7352 * bookmark.el (bookmark-search-delay):
7353 * cus-start.el (vertical-centering-font-regexp):
7354 * ps-mule.el (ps-mule-font-info-database-default):
7355 * ps-print.el (ps-default-fg, ps-default-bg):
7356 * type-break.el (type-break-good-break-interval):
7357 * whitespace.el (whitespace-indentation-regexp)
7358 (whitespace-space-after-tab-regexp):
7359 * emacs-lisp/testcover.el (testcover-1value-functions)
7360 (testcover-noreturn-functions, testcover-progn-functions)
7361 (testcover-prog1-functions):
7362 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7363 * eshell/em-glob.el (eshell-glob-translate-alist):
7364 * play/tetris.el (tetris-tty-colors):
7365 * progmodes/cpp.el (cpp-face-default-list):
7366 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7367 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7368 (idlwave-help-browser-generic-args):
7369 * progmodes/make-mode.el (makefile-special-targets-list):
7370 * progmodes/python.el (python-shell-virtualenv-path):
7371 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7372 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7373 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7374 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7375 * textmodes/reftex-vars.el (reftex-format-label-function):
7376 * textmodes/remember.el (remember-diary-file): Fix custom types.
7377
7378 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7379 Add :version.
7380
7381 2013-05-09 Leo Liu <sdl.web@gmail.com>
7382
7383 * progmodes/octave.el (inferior-octave-completion-at-point):
7384 Restore file completion. (Bug#14300)
7385 (inferior-octave-startup): Fix incorrect highlighting for the
7386 first prompt.
7387
7388 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * progmodes/ruby-mode.el: First cut at SMIE support.
7391 (ruby-use-smie): New var.
7392 (ruby-smie-grammar): New constant.
7393 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7394 (ruby-smie--forward-token, ruby-smie--backward-token)
7395 (ruby-smie-rules): New functions.
7396 (ruby-mode-variables): Setup SMIE if applicable.
7397
7398 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7399
7400 * simple.el (line-move-visual): Signal beginning/end of buffer
7401 only if vertical-motion moved less than it was requested. Avoids
7402 silly incorrect error messages when there are display strings with
7403 multiple newlines at EOL.
7404
7405 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7408 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7409 (prolog-char-quote-workaround):
7410 * progmodes/cperl-mode.el (cperl-under-as-char):
7411 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7412 Mark as obsolete.
7413 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7414 their declaration.
7415 (vhdl-mode-syntax-table-init): Remove.
7416
7417 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7418 last change.
7419
7420 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7421 syntax for "_".
7422 (ld-script-font-lock-keywords):
7423 Change regexps to use things like \_< and \_>.
7424
7425 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7426 Change all regexps to use things like \_< and \_>.
7427
7428 * progmodes/autoconf.el (autoconf-definition-regexp)
7429 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7430 Handle a _ with symbol syntax.
7431 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7432
7433 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7434 Consolidate declaration.
7435 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7436 the declaration.
7437 (ada-create-syntax-table): Remove.
7438 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7439 already has the right syntax nowadays.
7440 (ada-goto-next-word): Don't change the syntax of "_".
7441
7442 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7443 with-wrapper-hook.
7444
7445 2013-05-08 Sam Steingold <sds@gnu.org>
7446
7447 * thingatpt.el (thing-at-point): Accept optional second argument
7448 NO-PROPERTIES to strip the text properties from the return value.
7449 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7450 to `thing-at-point' instead of stripping the properties ourselves.
7451 Also, when `thing-at-point' fails to find a url, prepend "http://"
7452 to the filename at point on the assumption that the user is
7453 pointing at something like gnu.org/gnu.
7454
7455 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7458 * faces.el (crm-separator):
7459 Silence byte-compiler.
7460
7461 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7462 (tool-bar-map): Remove unneeded defvars.
7463
7464 2013-05-08 Leo Liu <sdl.web@gmail.com>
7465
7466 Re-work a fix for bug#10994 based on Le Wang's patch.
7467 * ido.el (ido-remove-consecutive-dups): New helper.
7468 (ido-completing-read): Use it.
7469 (ido-chop): Revert fix for bug#10994.
7470
7471 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7472
7473 * cus-edit.el (custom-save-variables):
7474 Pretty-print long values. (Bug#14187)
7475
7476 2013-05-08 Glenn Morris <rgm@gnu.org>
7477
7478 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7479 (m4-mode-syntax-table): Init in the defvar.
7480 (m4-mode-abbrev-table): Let define-derived-mode define it.
7481
7482 2013-05-08 Tom Tromey <tromey@redhat.com>
7483
7484 * progmodes/m4-mode.el (m4-mode-syntax-table):
7485 Do not treat "_" as word constituent. (Bug#14167)
7486
7487 2013-05-07 Glenn Morris <rgm@gnu.org>
7488
7489 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7490 Remove explicit eshell-isearch-cancel-map.
7491
7492 * progmodes/f90.el (f90-smart-end-names): New option.
7493 (f90-smart-end): Doc fix.
7494 (f90-end-block-optional-name): New constant.
7495 (f90-block-match): Respect f90-smart-end-names.
7496
7497 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7500 about implicit semi-colons (bug#14218).
7501
7502 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7503
7504 * frame.el (display-monitor-attributes-list)
7505 (frame-monitor-attributes): New functions.
7506
7507 2013-05-06 Leo Liu <sdl.web@gmail.com>
7508
7509 * progmodes/octave.el (octave-syntax-propertize-function): Change
7510 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7511 (octave-font-lock-keywords): Use octave-operator-regexp.
7512 (octave-completion-at-point): Rename from
7513 octave-completion-at-point-function.
7514 (inferior-octave-directory-tracker): Robustify.
7515 (octave-text-functions): Remove and fix its uses. No such things
7516 any more.
7517
7518 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * emacs-lisp/trace.el (trace--display-buffer): New function.
7521 (trace-make-advice): Use it.
7522
7523 2013-05-06 Juri Linkov <juri@jurta.org>
7524
7525 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7526 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7527 Doc fix.
7528 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7529 in the help string. (Bug#12985)
7530
7531 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7532
7533 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7534
7535 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * progmodes/perl-mode.el: Add support for here documents.
7538 (perl-syntax-propertize-function): Match here-doc markers.
7539 (perl-syntax-propertize-special-constructs): Find their end.
7540 (perl-imenu-generic-expression): Use [:alnum:].
7541
7542 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7543 (advice--add-function): Refresh the advice if already present
7544 (bug#14317).
7545
7546 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7547
7548 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7549
7550 2013-05-06 Glenn Morris <rgm@gnu.org>
7551
7552 * w32-fns.el (w32-charset-info-alist): Declare.
7553
7554 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7555 of its defcustom properties.
7556 (eshell-cmpl-initialize): No need to load pcomplete.
7557
7558 * generic-x.el: No need to require comint when compiling.
7559
7560 * net/eudc-export.el: Make it loadable without bbdb.
7561 (top-level): Use require rather than load-library.
7562 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7563 (eudc-batch-export-records-to-bbdb)
7564 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7565 Require bbdb.
7566
7567 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7570 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7571 some tweaks, instead.
7572
7573 2013-05-05 Leo Liu <sdl.web@gmail.com>
7574
7575 * progmodes/octave.el (octave-font-lock-keywords)
7576 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7577 (inferior-octave-send-list-and-digest): Improve error message.
7578 (octave-mode, inferior-octave-mode): Use setq-local.
7579 (octave-help): Set info-lookup-mode.
7580
7581 2013-05-05 Richard Stallman <rms@gnu.org>
7582
7583 * vc/compare-w.el (compare-windows-whitespace):
7584 Treat no-break space as whitespace.
7585
7586 * mail/rmailsum.el (rmail-summary-rmail-update):
7587 Detect empty summary and don't change selected message.
7588 (rmail-summary-goto-msg): Likewise.
7589
7590 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7591 Doc fixes, rename args.
7592
7593 2013-05-05 Alan Mackenzie <acm@muc.de>
7594
7595 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7596
7597 2013-05-05 Juri Linkov <juri@jurta.org>
7598
7599 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7600 to not add the length of the summary segment to the return value.
7601 (Bug#14125)
7602
7603 2013-05-05 Leo Liu <sdl.web@gmail.com>
7604
7605 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7606 (inferior-octave-output-filter): Remove.
7607 (octave-send-region, inferior-octave-startup): Fix callers.
7608 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7609 (octave-binary-file-extensions): New user variable.
7610 (octave-find-definition): Confirm if opening binary files.
7611 (octave-help-file): Use octave-find-definition to get the binary
7612 confirmation.
7613 (octave-help): Adjust for octave-help-file change.
7614
7615 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7618 Merge the two entries that handle function definitions.
7619 (pascal--syntax-propertize): New const.
7620 (pascal-mode): Use it. Use setq-local.
7621
7622 2013-05-04 Glenn Morris <rgm@gnu.org>
7623
7624 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7625 (diary-from-outlook): Respect diary-from-outlook-function.
7626
7627 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7630 Move the declaration from C.
7631 (read-minibuffer, eval-minibuffer): Move from C.
7632 (completion-setup-function): Avoid minibuffer-completion-contents.
7633
7634 2013-05-03 Leo Liu <sdl.web@gmail.com>
7635
7636 * progmodes/octave.el (octave-font-lock-keywords): Do not
7637 dehighlight 'end' in comments or strings.
7638 (octave-completing-read, octave-goto-function-definition):
7639 New helpers.
7640 (octave-help-buffer): New user variable.
7641 (octave-help-file, octave-help-function): New button types.
7642 (octave-help): New command and bind it to C-h ;.
7643 (octave-find-definition): New command and bind it to M-.
7644 (user-error): Alias to error if not defined.
7645
7646 2013-05-02 Leo Liu <sdl.web@gmail.com>
7647
7648 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7649 for \. (bug#14332)
7650 (octave-font-lock-keywords): Include [ and {.
7651
7652 2013-05-02 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7655 (inferior-octave): Remove calling comint-mode and return the buffer.
7656 (inferior-octave-startup): Cosmetic changes.
7657
7658 2013-05-02 Leo Liu <sdl.web@gmail.com>
7659
7660 * progmodes/octave.el (octave-syntax-propertize-function):
7661 Include the case when ' is at line beginning. (Bug#14336)
7662
7663 2013-05-02 Glenn Morris <rgm@gnu.org>
7664
7665 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7666 * desktop.el (vc-dir-mode): Just autoload it here.
7667
7668 2013-05-02 Alan Mackenzie <acm@muc.de>
7669
7670 Eliminate variable c-standard-font-lock-fontify-region-function.
7671 * progmodes/cc-mode.el
7672 (c-standard-font-lock-fontify-region-function): Remove.
7673 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7674
7675 2013-05-01 Leo Liu <sdl.web@gmail.com>
7676
7677 * progmodes/octave.el: Compatible with older emacs-24 releases.
7678 (inferior-octave-has-built-in-variables): Remove. Built-in
7679 variables were removed from Octave in 2007.
7680 (inferior-octave-startup): Fix uses.
7681 (comint-line-beginning-position): Remove compatibility code for
7682 emacs 21.
7683
7684 2013-05-01 Juri Linkov <juri@jurta.org>
7685
7686 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7687
7688 2013-05-01 Juri Linkov <juri@jurta.org>
7689
7690 * comint.el (comint-previous-matching-input): Don't print message
7691 "History item: %d" when `isearch-mode' is active.
7692 (comint-history-isearch-message): Print message "History item: %d"
7693 when `comint-input-ring-index' is not empty and this function is
7694 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7695
7696 2013-05-01 Leo Liu <sdl.web@gmail.com>
7697
7698 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7699 definitions. Use completion-at-point to insert keywords.
7700 (octave-abbrev-start): Remove.
7701 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7702
7703 2013-04-30 Leo Liu <sdl.web@gmail.com>
7704
7705 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7706 change.
7707
7708 2013-04-30 Alan Mackenzie <acm@muc.de>
7709
7710 Handle arbitrarily long C++ member initialisation lists.
7711 * progmodes/cc-engine.el (c-back-over-member-initializers):
7712 new function.
7713 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7714 (most) member init lists.
7715
7716 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7717
7718 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7719 variable.
7720
7721 2013-04-30 Leo Liu <sdl.web@gmail.com>
7722
7723 * progmodes/octave.el (octave-variables): Remove. No builtin
7724 variables any more. All converted to functions.
7725 (octave-font-lock-keywords, octave-completion-at-point-function):
7726 Fix uses.
7727 (octave-font-lock-texinfo-comment): New user variable.
7728 (octave-texinfo-font-lock-keywords): New variable for texinfo
7729 comment block.
7730 (octave-function-comment-block): New face.
7731 (octave-font-lock-texinfo-comment): New function.
7732 (octave-mode): Font lock texinfo comment block.
7733
7734 2013-04-29 Leo Liu <sdl.web@gmail.com>
7735
7736 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7737 indexing expression.
7738 (octave-continuation-string): Do not use \.
7739 (inferior-octave-complete-impossible): Remove.
7740 (inferior-octave-completion-table)
7741 (inferior-octave-completion-at-point): Remove its uses.
7742 (inferior-octave-startup): completion_matches was introduced to
7743 Octave in 1996 so safe to assume it.
7744 (octave-function-file-comment): Improve to follow how Octave does it.
7745 (octave-update-function-file-comment): Tweak.
7746
7747 2013-04-29 Leo Liu <sdl.web@gmail.com>
7748
7749 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7750 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7751 (octave-function-file-comment): Fix typo.
7752 (octave-sync-function-file-names): Use read-char-choice.
7753
7754 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7755
7756 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7757 to t for the less important warnings.
7758
7759 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7760
7761 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7762
7763 2013-04-27 Glenn Morris <rgm@gnu.org>
7764
7765 * vc/log-view.el (log-view-current-entry):
7766 Treat "---" separator lines as part of the following rev. (Bug#14169)
7767
7768 2013-04-27 Juri Linkov <juri@jurta.org>
7769
7770 * subr.el (read-number): Doc fix about using it by interactive
7771 code letter `n'. (Bug#14254)
7772
7773 2013-04-27 Juri Linkov <juri@jurta.org>
7774
7775 * desktop.el (desktop-auto-save-timeout): New option.
7776 (desktop-file-checksum): New variable.
7777 (desktop-save): Add optional arg `auto-save' and don't auto-save
7778 if nothing changed.
7779 (desktop-auto-save-timer): New variable.
7780 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7781 (after-init-hook): Call `desktop-auto-save-set-timer'.
7782 Suggested by Reuben Thomas <rrt@sc3d.org> in
7783 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7784
7785 2013-04-27 Leo Liu <sdl.web@gmail.com>
7786
7787 * progmodes/octave.el (octave-function-file-p)
7788 (octave-skip-comment-forward, octave-function-file-comment)
7789 (octave-update-function-file-comment): New functions.
7790 (octave-mode-map): Bind C-c ; to
7791 octave-update-function-file-comment.
7792 (octave-mode-menu): Add octave-update-function-file-comment.
7793 (octave-mode, inferior-octave-mode): Fix doc-string.
7794 (octave-insert-defun): Conform to Octave's coding convention.
7795 (Bug#14285)
7796
7797 * files.el (basic-save-buffer): Don't let errors in
7798 before-save-hook prevent saving buffer.
7799
7800 2013-04-20 Roland Winkler <winkler@gnu.org>
7801
7802 * faces.el (read-face-name): Use completing-read if arg multiple
7803 is nil.
7804
7805 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7806
7807 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7808 displayed, move point to after the totals line.
7809 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7810 for the details.
7811
7812 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7815 Add current dir to the load-path.
7816 (package-generate-autoloads): Don't rely on
7817 autoload-ensure-default-file.
7818
7819 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7820
7821 * textmodes/remember.el (remember-store-in-files): Document that
7822 the file name format is passed to `format-time-string'.
7823
7824 2013-04-26 Leo Liu <sdl.web@gmail.com>
7825
7826 * progmodes/octave.el (octave-sync-function-file-names): New function.
7827 (octave-mode): Use it in before-save-hook.
7828
7829 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7832 (bug#14274).
7833
7834 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7835 \n and comment, even if it's not an implicit ; (bug#14218).
7836
7837 2013-04-26 Glenn Morris <rgm@gnu.org>
7838
7839 * subr.el (read-number): Once more use `read' rather than
7840 `string-to-number', to trap non-numeric input. (Bug#14254)
7841
7842 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7843
7844 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7845 Use `syntax-multiline' text property consistently instead of
7846 `font-lock-multiline'. (Bug#14237)
7847
7848 2013-04-26 Glenn Morris <rgm@gnu.org>
7849
7850 * emacs-lisp/shadow.el (list-load-path-shadows):
7851 No longer necessary to check for duplicate simple.el, since
7852 2012-07-07 change to init_lread to not include installation lisp
7853 directories in load-path when running uninstalled. (Bug#14270)
7854
7855 2013-04-26 Leo Liu <sdl.web@gmail.com>
7856
7857 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7858 (octave-mode, inferior-octave-mode): Use setq-local.
7859 (octave-not-in-string-or-comment-p): Rename to
7860 octave-in-string-or-comment-p.
7861 (octave-in-comment-p, octave-in-string-p)
7862 (octave-in-string-or-comment-p): Replace defsubst with defun.
7863
7864 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7865
7866 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7867
7868 2013-04-25 Bastien Guerry <bzg@gnu.org>
7869
7870 * textmodes/remember.el (remember-data-directory)
7871 (remember-directory-file-name-format): Fix custom types.
7872
7873 2013-04-25 Leo Liu <sdl.web@gmail.com>
7874
7875 * progmodes/octave.el (octave-completion-at-point-function):
7876 Make use of inferior octave process.
7877 (octave-initialize-completions): Remove.
7878 (inferior-octave-completion-table): New function.
7879 (inferior-octave-completion-at-point): Use it.
7880 (octave-completion-alist): Remove.
7881
7882 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7885 (opascal-mode-syntax-table): New var.
7886 (opascal-literal-kind, opascal-is-literal-end)
7887 (opascal-literal-token-at): Rewrite.
7888 (opascal--literal-start-re, opascal-font-lock-keywords)
7889 (opascal--syntax-propertize): New constants.
7890 (opascal-font-lock-defaults): Adjust.
7891 (opascal-mode): Use them. Set comment-<foo> variables as well.
7892 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7893 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7894 (delphi-other-face, opascal-other-face): Remove face variables.
7895 (opascal-save-state): Remove macro.
7896 (opascal-fontifying-progress-step): Remove constant.
7897 (opascal--ignore-changes): Remove var.
7898 (opascal-set-token-property, opascal-parse-next-literal)
7899 (opascal-is-stable-literal, opascal-complete-literal)
7900 (opascal-is-literal-start, opascal-face-of)
7901 (opascal-parse-region, opascal-parse-region-until-stable)
7902 (opascal-fontify-region, opascal-after-change)
7903 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7904 (opascal-debug-parse-region, opascal-debug-parse-window)
7905 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7906 (opascal-debug-fontify-buffer): Remove.
7907 (opascal-debug-mode-map): Adjust accordingly.
7908
7909 2013-04-25 Leo Liu <sdl.web@gmail.com>
7910
7911 Merge octave-mod.el and octave-inf.el into octave.el with some
7912 cleanups.
7913 * progmodes/octave.el: New file renamed from octave-mod.el.
7914 * progmodes/octave-inf.el: Merged into octave.el.
7915 * progmodes/octave-mod.el: Renamed to octave.el.
7916
7917 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7918
7919 * textmodes/reftex-vars.el
7920 (reftex-label-ignored-macros-and-environments): New defcustom.
7921
7922 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7923
7924 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7927 (smie-indent-keyword): Improve the check to ensure that the next
7928 comment is really on the same line.
7929 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7930
7931 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7932 semi-colons if the line is not otherwise empty (bug#14218).
7933
7934 2013-04-25 Glenn Morris <rgm@gnu.org>
7935
7936 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7937
7938 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * progmodes/opascal.el (opascal-set-token-property): Rename from
7941 opascal-set-text-properties and only set `token' (bug#14134).
7942 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7943 (opascal-literal-text-properties): Remove.
7944 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7945 Adjust callers.
7946
7947 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7948
7949 * textmodes/remember.el (remember-handler-functions): Add an
7950 option for a new handler `remember-store-in-files'.
7951 (remember-data-directory, remember-directory-file-name-format):
7952 New options.
7953 (remember-store-in-files): New function to store remember notes
7954 as separate files within a directory.
7955
7956 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7957
7958 * progmodes/compile.el (compilation-next-error-function):
7959 Pass "formats" to compilation-find-file (bug#11777).
7960
7961 2013-04-24 Glenn Morris <rgm@gnu.org>
7962
7963 * vc/vc-bzr.el (vc-bzr-print-log):
7964 * vc/vc-hg.el (vc-hg-print-log):
7965 * vc/vc-svn.el (vc-svn-print-log):
7966 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7967
7968 * vc/vc-bzr.el (vc-bzr-print-log):
7969 * vc/vc-cvs.el (vc-cvs-print-log):
7970 * vc/vc-git.el (vc-git-print-log):
7971 * vc/vc-hg.el (vc-hg-print-log):
7972 * vc/vc-mtn.el (vc-mtn-print-log):
7973 * vc/vc-rcs.el (vc-rcs-print-log):
7974 * vc/vc-sccs.el (vc-sccs-print-log):
7975 * vc/vc-svn.el (vc-svn-print-log):
7976 * vc/vc.el (vc-print-log-internal): Doc fixes.
7977
7978 2013-04-23 Glenn Morris <rgm@gnu.org>
7979
7980 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7981 Remove venerable code attempting to avoid substitute-command-keys.
7982
7983 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7984
7985 * textmodes/reftex-vars.el (reftex-label-regexps):
7986 Call `reftex-compile-variables' after changes to this variable.
7987
7988 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7991 Use lexical-binding.
7992 (jit-lock-force-redisplay): Use markers, check buffer's continued
7993 existence and beware narrowed buffers.
7994 (jit-lock-fontify-now): Adjust call accordingly.
7995
7996 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7999 to avoid misleading the user.
8000
8001 2013-04-22 Leo Liu <sdl.web@gmail.com>
8002
8003 * info-look.el: Prefer latex2e.info. (Bug#14240)
8004
8005 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8006
8007 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8008
8009 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8010 * net/tramp.el (tramp-call-process): ... here.
8011 (tramp-set-completion-function, tramp-parse-putty):
8012 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8013 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8014 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8015 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8016 (tramp-call-local-coding-command): Use `tramp-call-process'
8017 instead of `tramp-compat-call-process'.
8018
8019 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8020 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8021 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8022 (tramp-find-inline-compress): Improve traces.
8023 (tramp-maybe-send-script): Check for Perl binary.
8024 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8025
8026 2013-04-22 Daiki Ueno <ueno@gnu.org>
8027
8028 * epg.el (epg-context-pinentry-mode): New function.
8029 (epg-context-set-pinentry-mode): New function.
8030 (epg--start): Pass --pinentry-mode option to gpg command.
8031
8032 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8033
8034 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8035 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8036 `completion-at-point'. (Bug#13774)
8037
8038 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8039 default key binding for `describe-distribution' has been moved to
8040 `C-h C-o'. (Bug#13970)
8041
8042 2013-04-21 Glenn Morris <rgm@gnu.org>
8043
8044 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8045 Add doc strings.
8046 (vc-print-log): Clarify interactive prompt.
8047
8048 2013-04-20 Glenn Morris <rgm@gnu.org>
8049
8050 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8051 No longer include timestamp etc information.
8052
8053 2013-04-20 Roland Winkler <winkler@gnu.org>
8054
8055 * faces.el (read-face-name): Bug fix, return just one face if arg
8056 multiple is nil. (Bug#14209)
8057
8058 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8061 (remove-function): Autoload.
8062
8063 * comint.el (comint-redirect-original-filter-function): Remove.
8064 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8065 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8066 (vc-cvs-annotate-command):
8067 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8068 * progmodes/prolog.el (prolog-consult-compile):
8069 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8070 Use add/remove-function instead.
8071 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8072 (gud-tooltip-process-output, gud-tooltip-tips):
8073 Use add/remove-function instead.
8074 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8075 (scheme-interaction-mode, exit-scheme-interaction-mode):
8076 Use add/remove-function instead.
8077
8078 * vc/vc-dispatcher.el: Use lexical-binding.
8079 (vc--process-sentinel): Rename from vc-process-sentinel.
8080 Change last arg to be the code to run. Don't use vc-previous-sentinel
8081 and vc-sentinel-commands any more.
8082 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8083 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8084
8085 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8086
8087 * progmodes/sh-script.el (sh-imenu-generic-expression):
8088 Handle function names with a single character. (Bug#14111)
8089
8090 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8091
8092 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8093 for subroutines defined in an eval (bug#14182).
8094
8095 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8096
8097 * bookmark.el (bookmark-completing-read): Improve handling of empty
8098 string (bug#14176).
8099
8100 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8101
8102 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8103
8104 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8105
8106 New faster Imenu implementation (bug#14058).
8107 * progmodes/python.el:
8108 (python-imenu-prev-index-position):
8109 (python-imenu-format-item-label-function)
8110 (python-imenu-format-parent-item-label-function)
8111 (python-imenu-format-parent-item-jump-label-function):
8112 New vars.
8113 (python-imenu-format-item-label)
8114 (python-imenu-format-parent-item-label)
8115 (python-imenu-format-parent-item-jump-label)
8116 (python-imenu--put-parent, python-imenu--build-tree)
8117 (python-imenu-create-index, python-imenu-create-flat-index)
8118 (python-util-popn): New functions.
8119 (python-mode): Set imenu-create-index-function to
8120 python-imenu-create-index.
8121
8122 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * winner.el (winner-active-region): Use region-active-p, activate-mark
8125 and deactivate-mark (bug#14225).
8126
8127 * simple.el (deactivate-mark): Don't inline it.
8128
8129 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8130
8131 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8132
8133 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8134
8135 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8136 file extensions from the archive-mode entry in order to prefer
8137 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8138
8139 2013-04-18 Leo Liu <sdl.web@gmail.com>
8140
8141 * bindings.el (help-event-list): Add ?\?.
8142
8143 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * subr.el (with-wrapper-hook): Declare obsolete.
8146 * simple.el (filter-buffer-substring-function): New hook.
8147 (filter-buffer-substring): Use it.
8148 (filter-buffer-substring-functions): Mark obsolete.
8149 * minibuffer.el (completion-in-region-function): New hook.
8150 (completion-in-region): Use it.
8151 (completion-in-region-functions): Mark obsolete.
8152 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8153 * abbrev.el (abbrev-expand-function): New hook.
8154 (expand-abbrev): Use it.
8155 (abbrev-expand-functions): Mark obsolete.
8156 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8157 and :filter-return.
8158
8159 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8160
8161 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8162 and do not care about match data.
8163
8164 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8167 completion tables when completing error conditions and
8168 `declare' arguments.
8169 (lisp-complete-symbol, field-complete): Mark as obsolete.
8170 (check-parens): Unmatched parens are user errors.
8171 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8172
8173 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8174
8175 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8176 command changed buffer (ie. `flyspell-pre-buffer' is not current
8177 buffer), which prevents making decisions based on invalid value of
8178 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8179 cause an error when `flyspell-pre-point' was nil after switching
8180 buffers.
8181 (flyspell-post-command-hook): No longer needs to change buffers when
8182 checking pre-word. While at it remove unnecessary progn.
8183
8184 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8185
8186 * textmodes/ispell.el (ispell-add-per-file-word-list):
8187 Fix `flyspell-correct-word-before-point' error when accepting
8188 words and `coment-padding' is an integer by using
8189 `comment-normalize-vars' (Bug #14214).
8190
8191 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8192
8193 New defun movement commands.
8194 * progmodes/python.el (python-nav--syntactically)
8195 (python-nav--forward-defun, python-nav-backward-defun)
8196 (python-nav-forward-defun): New functions.
8197
8198 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8199
8200 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8201 (python-syntax-context): Use named compiler-macro for backwards
8202 compatibility with Emacs 24.x.
8203
8204 2013-04-17 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8207 octave-hide-process-buffer.
8208
8209 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8212 (bug#14216).
8213
8214 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8215
8216 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8217 Fix adjustment of offset when receiving incomplete responses from GDB
8218 (bug#14129).
8219
8220 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8223 python-mode-abbrev-table.
8224 (python-skeleton-define): Adjust accordingly.
8225 (python-mode-abbrev-table): New table that inherits from it so that
8226 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8227
8228 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8229 (abbrev-symbol): Use it.
8230 (abbrev--before-point): Use it since we already handle inheritance.
8231
8232 2013-04-16 Leo Liu <sdl.web@gmail.com>
8233
8234 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8235 binding to info-lookup-symbol.
8236
8237 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8238
8239 * minibuffer.el (completion--twq-all):
8240 * term/ns-win.el (ns-initialize-window-system):
8241 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8242
8243 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8246 global bindings.
8247
8248 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8249
8250 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8251
8252 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8253 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8254 to nil.
8255 (ruby-end-of-defun): Remove the unused arg, change the docstring
8256 to reflect that this function is only used as the value of
8257 `end-of-defun-function'.
8258 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8259 to reflect an earlier change that beginning/end-of-defun functions
8260 jump between methods in a class definition, as well as top-level
8261 functions.
8262
8263 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * minibuffer.el (minibuffer-complete): Don't just scroll
8266 a *Completions* that's been iconified.
8267 (minibuffer-force-complete): Make sure repetitions do cycle when going
8268 through completion-in-region -> minibuffer-complete.
8269
8270 2013-04-15 Alan Mackenzie <acm@muc.de>
8271
8272 Correct the placement of c-cpp-delimiters when there're #s not at
8273 col 0.
8274
8275 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8276 place a submatch around the #.
8277 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8278 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8279 on the #, not BOL.
8280
8281 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8284 (advice--member-p): New arg `name'.
8285 (advice--add-function, advice-member-p): Use it (bug#14202).
8286
8287 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8288
8289 Reformulate java imenu-generic-expression.
8290 The old expression contained ill formed regexps.
8291
8292 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8293 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8294 (cc-imenu-java-method-arg-regexp): New defconsts.
8295 (cc-imenu-java-build-type-args-regex): New defun.
8296 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8297 handling of spaces in the regexp.
8298
8299 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8300
8301 * textmodes/ispell.el (ispell-command-loop): Remove
8302 flyspell highlight of a word when ispell accepts it (bug #14178).
8303
8304 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8305
8306 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8307 uses code from the previous `ange-ftp-run-real-handler'.
8308 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8309 only in case that function exist. This is needed for proper
8310 unloading of Tramp.
8311
8312 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8313
8314 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8315
8316 * textmodes/reftex.el (reftex-compile-variables): Use it.
8317
8318 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 * files.el (normal-mode): Only use default major-mode if no other mode
8321 was specified.
8322
8323 * emacs-lisp/trace.el (trace-values): New function.
8324
8325 * files.el: Allow : in local variables (bug#14089).
8326 (hack-local-variable-regexp): New var.
8327 (hack-local-variables-prop-line, hack-local-variables): Use it.
8328
8329 2013-04-13 Roland Winkler <winkler@gnu.org>
8330
8331 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8332 data before it gets modified by bibtex-beginning-of-entry.
8333
8334 2013-04-13 Roland Winkler <winkler@gnu.org>
8335
8336 * textmodes/bibtex.el (bibtex-url): Doc fix.
8337
8338 2013-04-13 Roland Winkler <winkler@gnu.org>
8339
8340 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8341 does not visit a BibTeX file, exclude it from the list of buffers
8342 returned by bibtex-initialize.
8343
8344 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8345
8346 * window.el (split-window): Remove interactive form, since as a
8347 command this function is a special case of split-window-below.
8348 Correct doc string.
8349
8350 2013-04-12 Roland Winkler <winkler@gnu.org>
8351
8352 * faces.el (read-face-name): Do not override value of arg default.
8353 Allow single faces and strings as default values. Remove those
8354 elements from return value that are not faces.
8355 (describe-face): Simplify.
8356 (face-at-point): New optional args thing and multiple so that this
8357 function can provide the same functionality previously provided by
8358 read-face-name.
8359 (make-face-bold, make-face-unbold, make-face-italic)
8360 (make-face-unitalic, make-face-bold-italic, invert-face)
8361 (modify-face, read-face-and-attribute): Use face-at-point.
8362
8363 * cus-edit.el (customize-face, customize-face-other-window)
8364 * cus-theme.el (custom-theme-add-face)
8365 * face-remap.el (buffer-face-set)
8366 * facemenu.el (facemenu-set-face): Use face-at-point.
8367
8368 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8369
8370 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8371
8372 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8373
8374 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8375 off leading { and trailing } from field values.
8376
8377 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * emacs-lisp/timer.el (timer--check): New function.
8380 (timer--time, timer-set-function, timer-event-handler): Use it.
8381 (timer-set-idle-time): Simplify.
8382 (timer--activate): CSE.
8383 (timer-event-handler): Give more info in error message.
8384 (internal-timer-start-idle): New function, moved from C.
8385
8386 * mpc.el (mpc-proc): Add `restart' argument.
8387 (mpc-proc-cmd): Use it.
8388 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8389 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8390 less often.
8391
8392 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8393
8394 * progmodes/sh-script.el: Implement `sh-mode' own
8395 `add-log-current-defun-function' (bug#14112).
8396 (sh-current-defun-name): New function.
8397 (sh-mode): Use the function.
8398
8399 2013-04-09 Bastien Guerry <bzg@gnu.org>
8400
8401 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8402
8403 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8406
8407 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8408 timer (bug#14156).
8409
8410 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8411
8412 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8413 declaration.
8414
8415 2013-04-07 Leo Liu <sdl.web@gmail.com>
8416
8417 * pcmpl-x.el: New file.
8418
8419 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8420
8421 Do not set x-display-name until X connection is established.
8422 This is needed to prevent from weird situation described at
8423 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8424 * frame.el (make-frame): Set x-display-name after call to
8425 window system initialization function, not before.
8426 * term/x-win.el (x-initialize-window-system): Add optional
8427 display argument and use it.
8428 * term/w32-win.el (w32-initialize-window-system):
8429 * term/ns-win.el (ns-initialize-window-system):
8430 * term/pc-win.el (msdos-initialize-window-system):
8431 Add compatible optional display argument.
8432
8433 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8434
8435 * files.el (normal-backup-enable-predicate): On MS-Windows and
8436 MS-DOS compare truenames of temporary-file-directory and of the
8437 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8438 don't fail comparison by compare-strings. Also, compare file
8439 names case-insensitively on MS-Windows and MS-DOS.
8440
8441 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8442
8443 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8444 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8445
8446 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8447
8448 * whitespace.el (whitespace-color-on, whitespace-color-off):
8449 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8450
8451 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8452
8453 * ispell.el (ispell-set-spellchecker-params):
8454 Really set `ispell-args' for all equivs.
8455
8456 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * ido.el (ido-completions): Use extra elements of ido-decorations
8459 (bug#14143).
8460 (ido-decorations): Update docstring.
8461
8462 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8463
8464 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8465 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8466 nil during initialization, in order not to miss changes since the
8467 file was opened. (Bug#14140)
8468
8469 2013-04-05 Leo Liu <sdl.web@gmail.com>
8470
8471 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8472
8473 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8474
8475 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8476
8477 2013-04-04 Glenn Morris <rgm@gnu.org>
8478
8479 * electric.el (electric-pair-inhibit-predicate): Add :version.
8480
8481 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8482
8483 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8484 when a package is required several times (bug#14082).
8485
8486 2013-04-04 Roland Winkler <winkler@gnu.org>
8487
8488 * faces.el (read-face-name): Behave as promised by the docstring.
8489 Assume that arg default is a list of faces.
8490 (describe-face): Call read-face-name with list of default faces.
8491
8492 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8493
8494 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8495 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8496 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8497 the header.
8498 (bookmark-exit-hook-internal): Save even if list is empty.
8499
8500 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8501
8502 * emacs-lisp/package.el (package-pinned-packages): New var.
8503 (package--add-to-archive-contents): Obey it (bug#14118).
8504
8505 2013-04-03 Alan Mackenzie <acm@muc.de>
8506
8507 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8508 Also adapt to the new values of element 7 of a parse state.
8509
8510 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8511 parameter `not-in-delimiter'. Handle being inside comment opener.
8512 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8513 character in case we're typing a '*' after a '/'.
8514 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8515 instead by passing the parameter to c-state-pp-to-literal.
8516
8517 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8518 for elt. 7 of a parse state.
8519
8520 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8521
8522 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8523 * international/latin1-disp.el, international/mule-util.el:
8524 * language/cyril-util.el, language/european.el, language/ind-util.el:
8525 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8526 * language/tibetan.el, language/viet-util.el:
8527 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8528
8529 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8532 (electric-pair-post-self-insert-function): Use it.
8533 (electric-pair-default-inhibit): New function, extracted from
8534 electric-pair-post-self-insert-function.
8535
8536 2013-03-31 Roland Winkler <winkler@gnu.org>
8537
8538 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8539
8540 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8543
8544 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8545
8546 Un-indent after "pass" and "return" statements (Bug#13888)
8547 * progmodes/python.el (python-indent-block-enders): New var.
8548 (python-indent-calculate-indentation): Use it.
8549
8550 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8551
8552 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8553 defun. Defining it as defalias could introduce too eager
8554 byte-compiler optimization. (Bug#14030)
8555
8556 2013-03-30 Chong Yidong <cyd@gnu.org>
8557
8558 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8559
8560 2013-03-30 Leo Liu <sdl.web@gmail.com>
8561
8562 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8563 (kmacro-execute-from-register): Pass the keyboard macro to
8564 kmacro-call-macro or repeating won't work correctly.
8565
8566 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8567
8568 * progmodes/subword.el: Back to using `forward-symbol'.
8569
8570 * subr.el (forward-whitespace, forward-symbol)
8571 (forward-same-syntax): Move from thingatpt.el.
8572
8573 2013-03-29 Leo Liu <sdl.web@gmail.com>
8574
8575 * kmacro.el (kmacro-to-register): New command.
8576 (kmacro-execute-from-register): New function.
8577 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8578
8579 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8581 * mpc.el: Use defvar-local and setq-local.
8582 (mpc--proc-connect): Connection failures are not bugs.
8583 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8584 (mpc-volume-map): Bind to the up-events.
8585
8586 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8587
8588 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8589 instead of `forward-symbol'.
8590
8591 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8594 (edebug--recursive-edit): Use it.
8595 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8596 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8597
8598 2013-03-28 Leo Liu <sdl.web@gmail.com>
8599
8600 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8601
8602 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8603
8604 * facemenu.el (list-colors-callback): New defvar.
8605 (list-colors-redisplay): New function.
8606 (list-colors-display): Install list-colors-redisplay as the
8607 revert-buffer-function. (Bug#14063)
8608
8609 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8612 and suffixes don't overlap (bug#14061).
8613
8614 * case-table.el: Use lexical-binding.
8615 (case-table-get-table): New function.
8616 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8617
8618 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8619
8620 * progmodes/subword.el: Add `superword-mode' to do word motion
8621 over symbol_words (parallels and leverages `subword-mode' which
8622 does word motion inside MixedCaseWords).
8623
8624 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8625
8626 * eshell/em-unix.el: Move su and sudo to...
8627 * eshell/em-tramp.el: ...Eshell tramp module.
8628
8629 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8632 Change return value to be a sexp. Delay `get-buffer' to after
8633 restoring the desktop (bug#13951).
8634
8635 2013-03-26 Leo Liu <sdl.web@gmail.com>
8636
8637 * register.el: Move semantic tag handling back to
8638 cedet/semantic/senator.el. (Bug#14052)
8639
8640 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8643 into the prompt either (bug#13963).
8644
8645 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8648 part of "(error-foo)".
8649
8650 2013-03-24 Juri Linkov <juri@jurta.org>
8651
8652 * replace.el (list-matching-lines-prefix-face): New defcustom.
8653 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8654 `occur-engine' if `face-differs-from-default-p' returns t.
8655 (occur-engine): Add `,' inside backquote construct to evaluate
8656 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8657 Pass `prefix-face' to the functions `occur-context-lines' and
8658 `occur-engine-add-prefix'.
8659 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8660 `prefix-face' and propertize the prefix with `prefix-face'.
8661 (Bug#14017)
8662
8663 2013-03-24 Leo Liu <sdl.web@gmail.com>
8664
8665 * nxml/rng-valid.el (rng-validate-while-idle)
8666 (rng-validate-quick-while-idle): Guard against deleted buffer.
8667 (Bug#13999)
8668
8669 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8670 is the last entry in kill-buffer-hook.
8671
8672 * files.el (kill-buffer-hook): Doc fix.
8673
8674 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8675
8676 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8677 Make it safe-local.
8678
8679 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8680
8681 2013-03-23 Leo Liu <sdl.web@gmail.com>
8682
8683 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8684 Remove.
8685
8686 * nxml/rng-valid.el (rng-validate-mode)
8687 (rng-after-change-function, rng-do-some-validation):
8688 * nxml/rng-maint.el (rng-validate-buffer):
8689 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8690 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8691 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8692 (nxml-extend-after-change-region): Use with-silent-modifications.
8693
8694 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8695 timer-idle-list.
8696
8697 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8698 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8699 timer-idle-list. (Bug#13999)
8700
8701 2013-03-23 Juri Linkov <juri@jurta.org>
8702
8703 * info.el (info-index-match): New face.
8704 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8705 main pattern and add text properties with the new face to matches
8706 in index entries relative to the beginning of the index entry.
8707 (Bug#14015)
8708
8709 2013-03-21 Eric Ludlam <zappo@gnu.org>
8710
8711 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8712 Inhibit read only while inserting objects.
8713
8714 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8715
8716 * progmodes/cfengine.el: Update docs to mention
8717 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8718 symbol motion. Remove "_" from the word syntax.
8719
8720 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8721
8722 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8723 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8724
8725 2013-03-20 Juri Linkov <juri@jurta.org>
8726
8727 * info.el (Info-next-reference-or-link)
8728 (Info-prev-reference-or-link): New functions.
8729 (Info-next-reference, Info-prev-reference): Use them.
8730 (Info-try-follow-nearest-node): Handle footnote navigation.
8731 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8732
8733 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8734
8735 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8736 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8737
8738 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8739
8740 Suppress unnecessary non-ASCII chatter during build process.
8741 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8742 (batch-skkdic-convert): Suppress most of the chatter.
8743 It's not needed so much now that machines are faster,
8744 and its non-ASCII component was confusing; see Dmitry Gutov in
8745 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8746
8747 2013-03-20 Leo Liu <sdl.web@gmail.com>
8748
8749 * ido.el (ido-chop): Fix bug#10994.
8750
8751 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8752
8753 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8754 Remove vars.
8755 (whitespace-color-on, whitespace-color-off):
8756 Use `font-lock-fontify-buffer' (Bug#13817).
8757
8758 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8761 remapping in mode-line.
8762 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8763
8764 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8765
8766 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8767 value for `whitespace-line' face (Bug#13875).
8768 (whitespace-font-lock-keywords): Change description.
8769 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8770 the constructed keywords instead.
8771 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8772
8773 2013-03-19 Leo Liu <sdl.web@gmail.com>
8774
8775 * progmodes/compile.el (compilation-display-error): New command.
8776 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8777 C-o. (Bug#13992)
8778
8779 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8780
8781 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8782
8783 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8784
8785 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8786
8787 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8788
8789 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8790
8791 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8792 * net/tramp-gvfs.el (top):
8793 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8794 (tramp-handle-shell-command): Use it.
8795 (tramp-dissect-file-name): Raise an error when hostname is a
8796 method name, and neither method nor user is specified.
8797
8798 * net/trampver.el: Update release number.
8799
8800 2013-03-18 Leo Liu <sdl.web@gmail.com>
8801
8802 Make sure eldoc can be turned off properly.
8803 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8804 eldoc-mode.
8805 (eldoc-display-message-p): Revert last change.
8806 (eldoc-display-message-no-interference-p)
8807 (eldoc-print-current-symbol-info): Tweak.
8808
8809 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8810
8811 * doc-view.el (doc-view-new-window-function): Check the new window
8812 overlay's display property instead the char property of the
8813 buffer's first char. Use `with-selected-window' instead of
8814 `save-window-excursion' with `select-window'.
8815 (doc-view-document->bitmap): Check the current doc-view overlay's
8816 display property instead the char property of the buffer's first char.
8817
8818 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8819
8820 Automate the build of ja-dic.el (Bug#13984).
8821 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8822 from the input, rather than assume that it's been done for us by the
8823 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8824 the current date into a ja-dic.el comment, as that complicates
8825 regression testing.
8826
8827 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * whitespace.el: Fix double evaluation.
8830 (whitespace-space, whitespace-hspace, whitespace-tab)
8831 (whitespace-newline, whitespace-trailing, whitespace-line)
8832 (whitespace-space-before-tab, whitespace-indentation)
8833 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8834 obsolete defvars.
8835 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8836 (whitespace-color-on): Use a single font-lock-add-keywords call.
8837 Fix double-evaluation of face variables.
8838
8839 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8840
8841 * net/tramp-adb.el (tramp-adb-parse-device-names):
8842 Use `start-process' instead of `call-process'. Otherwise, the
8843 function might be blocked under MS Windows. (Bug#13299)
8844
8845 2013-03-17 Leo Liu <sdl.web@gmail.com>
8846
8847 Extend eldoc to display info in the mode-line. (Bug#13978)
8848 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8849 (eldoc-mode-line-string): New variable.
8850 (eldoc-minibuffer-message): New function.
8851 (eldoc-message-function): New variable.
8852 (eldoc-message): Use it.
8853 (eldoc-display-message-p)
8854 (eldoc-display-message-no-interference-p):
8855 Support eldoc-post-insert-mode.
8856
8857 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8858 (eval-expression): Run it.
8859
8860 2013-03-17 Roland Winkler <winkler@gnu.org>
8861
8862 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8863 strings in the list of return values.
8864
8865 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8866
8867 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8868 radix before checking for HMS forms.
8869
8870 2013-03-16 Leo Liu <sdl.web@gmail.com>
8871
8872 * progmodes/scheme.el: Add indentation and font-locking for λ.
8873 (Bug#13975)
8874
8875 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8878 token before point (bug#13942).
8879
8880 2013-03-16 Leo Liu <sdl.web@gmail.com>
8881
8882 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8883
8884 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8885
8886 * startup.el (command-line-normalize-file-name): Fix handling of
8887 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8888 <xfq.free@gmail.com> in
8889 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8890
8891 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8892
8893 Sync with Tramp 2.2.7.
8894
8895 * net/trampver.el: Update release number.
8896
8897 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8898
8899 * doc-view.el: Fix bug#13887.
8900 (doc-view-insert-image): Don't modify overlay associated to
8901 non-live windows, and implement horizontal centering of image in
8902 case it's smaller than the window.
8903 (doc-view-new-window-function): Force redisplay of new windows on
8904 doc-view buffers.
8905
8906 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8907
8908 * saveplace.el (save-place-alist-to-file): Don't sort
8909 `save-place-alist', just pretty-print it (bug#13882).
8910
8911 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8912
8913 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8914 Check whether `default-file-name-coding-system' is bound.
8915 It isn't in XEmacs.
8916
8917 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8920 backquotes for `obsolete' (bug#13929).
8921
8922 * international/mule.el (find-auto-coding): Include file name in
8923 obsolescence warning (bug#13922).
8924
8925 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8926
8927 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8928 for CFEngine 3-specific indentation.
8929 (cfengine3-indent-line): Use it. Fix up category regex.
8930 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8931
8932 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * type-break.el (type-break-file-name):
8935 * textmodes/remember.el (remember-data-file):
8936 * strokes.el (strokes-file):
8937 * shadowfile.el (shadow-initialize):
8938 * saveplace.el (save-place-file):
8939 * ps-bdf.el (bdf-cache-file):
8940 * progmodes/idlwave.el (idlwave-config-directory):
8941 * net/quickurl.el (quickurl-url-file):
8942 * international/kkc.el (kkc-init-file-name):
8943 * ido.el (ido-save-directory-list-file):
8944 * emulation/viper.el (viper-custom-file-name):
8945 * emulation/vip.el (vip-startup-file):
8946 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8947 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8948
8949 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8950
8951 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8952 * language/thai-word.el: Switch to UTF-8.
8953
8954 See ChangeLog.16 for earlier changes.
8955
8956 ;; Local Variables:
8957 ;; coding: utf-8
8958 ;; End:
8959
8960 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8961
8962 This file is part of GNU Emacs.
8963
8964 GNU Emacs is free software: you can redistribute it and/or modify
8965 it under the terms of the GNU General Public License as published by
8966 the Free Software Foundation, either version 3 of the License, or
8967 (at your option) any later version.
8968
8969 GNU Emacs is distributed in the hope that it will be useful,
8970 but WITHOUT ANY WARRANTY; without even the implied warranty of
8971 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8972 GNU General Public License for more details.
8973
8974 You should have received a copy of the GNU General Public License
8975 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.