]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/emacs-lisp/smie.el: New smie-config system.
[gnu-emacs] / lisp / ChangeLog
1 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/smie.el: New smie-config system.
4 (smie-config): New defcustom.
5 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6 (smie-config-guess, smie-config-save): New commands.
7 (smie-config--mode-local, smie-config--buffer-local)
8 (smie-config--trace, smie-config--modefuns): New vars.
9 (smie-config--advice, smie-config--mode-hook)
10 (smie-config--setter, smie-config-local, smie-config--get-trace)
11 (smie-config--guess-value, smie-config--guess): New functions.
12 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
13 text properties. Treat "string fence" syntax like string syntax.
14
15 * progmodes/sh-script.el (sh-use-smie): Change default.
16 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
17 (sh-var-value): Simplify by CSE.
18 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
19 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
20 is used.
21 (sh-guess-basic-offset): Use cl-incf.
22 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
23
24 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
25
26 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
27 (bug#15699).
28
29 2013-10-24 Glenn Morris <rgm@gnu.org>
30
31 * Makefile.in (abs_top_srcdir): Remove.
32 (update-subdirs): Use relative path to update-subdirs.
33
34 2013-10-24 Eli Zaretskii <eliz@gnu.org>
35
36 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
37 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
38 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
39 Call unmsys--file-name before expand-file-name, not after it.
40
41 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
42
43 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
44 (ert-test-skipped): New error.
45 (ert-skip, ert-stats-skipped): New defuns.
46 (ert--skip-unless): New macro.
47 (ert-test-skipped): New struct.
48 (ert--run-test-debugger, ert-test-result-type-p)
49 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
50 (ert--stats-set-test-and-result, ert-char-for-test-result)
51 (ert-string-for-test-result, ert-run-tests-batch)
52 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
53 Handle skipped tests.
54
55 2013-10-24 Glenn Morris <rgm@gnu.org>
56
57 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
58
59 * Makefile.in (abs_top_srcdir): New, set by configure.
60 (update-subdirs): Correct build-aux location.
61
62 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
63
64 * vc/vc.el (vc-print-root-log): Always set `default-directory'
65 value, whether we could auto-deduce `backend', or not.
66
67 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
68 with parameters" example. Simplify the "is it block or is it
69 hash" check, but also make it more thorough.
70
71 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
72
73 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
74
75 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
78 { if it is hanging.
79
80 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
81 :before ";".
82
83 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
84
85 * progmodes/compile.el (compilation-directory-matcher)
86 (compilation-page-delimiter):
87 Support GNU Make-4.0 directory quoting. (Bug#15678)
88
89 2013-10-23 Leo Liu <sdl.web@gmail.com>
90
91 * ido.el (ido-tidy): Handle read-only text.
92
93 2013-10-23 Glenn Morris <rgm@gnu.org>
94
95 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
96 (emacs, compile, compile-always):
97 Quote entities that might contain whitespace.
98 (custom-deps, finder-data, autoloads): Use abs_lisp.
99 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
100 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
101 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
102
103 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
104
105 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
106 Use `following-char'.
107
108 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
111 * progmodes/ruby-mode.el (ruby-smie-rules):
112 Remove corresponding workaround. Fix indentation rule of ";" so it
113 also applies when ";" is the parent.
114
115 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
116
117 * frame.el (display-screens, display-pixel-height)
118 (display-pixel-width, display-mm-width, display-backing-store)
119 (display-save-under, display-planes, display-color-cells)
120 (display-visual-class, display-monitor-attributes-list):
121 Mention the optional ‘display’ argument in doc strings.
122
123 2013-10-22 Michael Gauland <mikelygee@amuri.net>
124
125 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
126 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
127
128 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
129
130 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
131 TODO. Add "." after " @ ".
132 (ruby-smie--at-dot-call): New function. Checks if point at method
133 call with explicit target.
134 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
135 to the method name tokens when it precedes them.
136 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
137 (ruby-smie-rules): Add rule for indentation before and after "."
138 token.
139
140 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * textmodes/remember.el (remember-diary-extract-entries):
143 Avoid add-to-list.
144
145 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
146 an instruction.
147
148 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
149
150 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
151 (ruby-smie--implicit-semi-p): Add new operator chars.
152
153 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
154 `smie-down-list'.
155 (ruby-smie--args-separator-p): Check that there's no newline
156 between method call and its arguments.
157
158 2013-10-20 Alan Mackenzie <acm@muc.de>
159
160 Allow comma separated lists after Java "implements".
161
162 * progmodes/cc-engine.el (c-backward-over-enum-header):
163 Parse commas.
164 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
165 from a "disallowed" list in enum fontification.
166
167 2013-10-20 Johan Bockgård <bojohan@gnu.org>
168
169 * startup.el (default-frame-background-mode): Remove unused defvar.
170
171 * progmodes/verilog-mode.el (verilog-mode): Don't set
172 comment-indent-function globally.
173
174 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
175
176 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
177 Move Info menu item creation to ns-win.el.
178
179 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
180 in menu bar.
181
182 * menu-bar.el: Move GNUStep specific menus...
183
184 * term/ns-win.el (ns-initialize-window-system): ... to here.
185
186 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * simple.el (newline): Only run post-self-insert-hook when
189 called interactively.
190
191 2013-10-19 Johan Bockgård <bojohan@gnu.org>
192
193 * icomplete.el (icomplete-with-completion-tables): Add :version.
194
195 2013-10-19 Alan Mackenzie <acm@muc.de>
196
197 Fix fontification bugs with constructors and const.
198
199 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
200 CASE 2) Remove the check for the absence of a suffix construct
201 after a function declaration with only types (no identifiers) in
202 the parentheses. Also, accept a function declaration with just a
203 type inside the parentheses, if this type can be positively
204 recognised as such, or if a prefix keyword like "explicit" nails
205 down the construct as a declaration.
206
207 2013-10-19 Eli Zaretskii <eliz@gnu.org>
208
209 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
210 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
211 the problem whereby selecting a menu item that leads to a
212 minibuffer prompt moves the cursor out of the minibuffer window,
213 making it hard to type at the prompt. Suggested by Stefan Monnier
214 <monnier@iro.umontreal.ca>.
215
216 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
217
218 * menu-bar.el: Don't make Services menu.
219
220 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
221
222 * ffap.el: Handle "/usr/include/c++/<version>" directories.
223 (ffap-alist): Use ffap-c++-mode for c++-mode.
224 (ffap-c++-path): New variable.
225 (ffap-c++-mode): New function.
226
227 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
228
229 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
230
231 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
232
233 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
234 introduced on 2013-09-08, which results in an infinite loop
235 requesting a password.
236
237 2013-10-18 Glenn Morris <rgm@gnu.org>
238
239 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
240
241 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
242
243 Sync with upstream verilog-mode revision 1a6ecec7.
244 * progmodes/verilog-mode.el (verilog-mode-version): Update.
245 (verilog-mode-release-date): Remove.
246 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
247 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
248 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
249 (verilog-auto-tieoff-ignore-regexp)
250 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
251 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
252 (verilog-signals-with, verilog-dir-cache-preserving)
253 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
254 Doc fixes.
255 (verilog-case-fold): New option, to control case folding in
256 regexp searches, bug597.
257 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
258 (verilog-string-match-fold, verilog-in-paren-count)
259 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
260 (verilog-at-close-struct-p): New functions.
261 (verilog-beg-block-re-ordered, verilog-extended-case-re)
262 (verilog-forward-sexp, verilog-set-auto-endcomments):
263 (verilog-leap-to-case-head): Handle "unique0" case.
264 (verilog-in-constraint-re): New constant.
265 (verilog-keywords, verilog-type-font-keywords):
266 Add some SystemVerilog 1800-2012 keywords.
267 (verilog-label-be): Remove unimplemented argument, bug669.
268 (verilog-batch-execute-func): When batch expanding clear
269 create-lockfiles to prevent spurious user locks when a file ends
270 up not changing.
271 (verilog-calculate-indent, verilog-calc-1)
272 (verilog-at-close-constraint-p, verilog-at-constraint-p)
273 (verilog-do-indent): Fix indentation of nested constraints
274 and structures.
275 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
276 (verilog-auto-inst-param): Use verilog-string-match-fold.
277 (verilog-read-inst-module-matcher):
278 Fix AUTOINST on gate primitives with #1.
279 (verilog-read-decls): Fix double-declaring user-defined typed signals.
280 Reads all user-defined typed variables.
281 (verilog-read-defines): Fix reading definitions inside comments, bug647.
282 (verilog-signals-matching-regexp)
283 (verilog-signals-not-matching-regexp, verilog-auto):
284 Respect verilog-case-fold.
285 (verilog-diff-report): Fix line count.
286 (verilog-auto-assign-modport): Remove unused local `modi'.
287 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
288 better handle multidimensional arrays.
289 Fix packed array ports misadding bit index in AUTOINST, bug637.
290 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
291 to not double-declare existing outputs and inputs, respectively.
292 (verilog-template-map): Bind U to verilog-sk-uvm-component.
293 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
294 (verilog-sk-uvm-component): New skeleton.
295 (verilog-submit-bug-report): Add verilog-case-fold,
296 remove verilog-mode-release-date.
297
298 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
299
300 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
301 as before.
302
303 2013-10-18 Reuben Thomas <rrt@sc3d.org>
304
305 * textmodes/remember.el (remember): set buffer-offer-save in
306 remember buffers (bug#13566).
307
308 2013-10-18 Daniel Colascione <dancol@dancol.org>
309
310 When evaluating forms in ielm, direct standard output to ielm
311 buffer. Add new ielm-return-for-effect command. Remove trailing
312 whitespace throughout.
313
314 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
315 (ielm-return-for-effect): New command.
316 (ielm-send-input): Accept optional `for-effect' parameter.
317 (ielm-eval-input): Accept optional `for-effect' parameter.
318 Bind `standard-output' to stream we create using
319 `ielm-standard-output-impl'. Suppress printing result when
320 `for-effect'.
321 (ielm-standard-output-impl): New function.
322 (inferior-emacs-lisp-mode): Explain new features in documentation.
323
324 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
325
326 Code cleanup.
327
328 * net/tramp.el (tramp-debug-message): Do not check for connection
329 buffer.
330 (tramp-message): Use "vector" connection property.
331
332 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
333 (tramp-equal-remote, tramp-eshell-directory-change)
334 * net/tramp-adb.el (tramp-adb-handle-copy-file)
335 (tramp-adb-handle-rename-file)
336 * net/tramp-cmds.el (tramp-list-remote-buffers)
337 (tramp-cleanup-connection, tramp-cleanup-this-connection)
338 * net/tramp-compat.el (tramp-compat-process-running-p)
339 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
340 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
341 (tramp-gvfs-handle-rename-file)
342 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
343 (tramp-set-file-uid-gid)
344 * net/tramp-smb.el (tramp-smb-handle-copy-file)
345 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
346 of `file-remote-p'.
347
348 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
349 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
350 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
351 (tramp-gw-open-network-stream): Suppress unrelated traces.
352
353 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
354 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
356 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
357 connection property.
358
359 * net/tramp-cache.el (top): Suppress traces when reading
360 persistency file.
361
362 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
363 Refactor common code. Improve debug message.
364 (tramp-maybe-open-connection)
365 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
366 connection buffer too early.
367
368 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
369 from `tramp-smb-actions-with-acl'.
370 (tramp-smb-actions-set-acl): New defconst.
371 (tramp-smb-handle-copy-directory)
372 (tramp-smb-action-get-acl): New defun, renamed from
373 `tramp-smb-action-with-acl'.
374 (tramp-smb-action-set-acl): New defun.
375 (tramp-smb-handle-set-file-acl): Rewrite.
376
377 2013-10-17 Glenn Morris <rgm@gnu.org>
378
379 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
380
381 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * skeleton.el (skeleton-newline): Remove.
384 (skeleton-internal-1): Use (insert "\n") instead.
385
386 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
387 let-bindings.
388
389 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
390 forward-sexp-function while we redo its job (bug#15613).
391
392 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
393
394 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
395 represented by lists.
396
397 2013-10-16 Glenn Morris <rgm@gnu.org>
398
399 * tmm.el (tmm--history): New dynamic variable.
400 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
401
402 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
403
404 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
405 (tramp-smb-errors): Add error messages.
406 (tramp-smb-actions-with-acl): New defconst.
407 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
408 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
409 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
410 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
411 (tramp-smb-get-stat-capability): Fix tests.
412
413 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
414
415 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
416 (bug#15580).
417
418 2013-10-16 Glenn Morris <rgm@gnu.org>
419
420 * ansi-color.el (ansi-color-drop-regexp):
421 Add 1J, 1K, 2K. (Bug#15617)
422
423 * files.el (hack-local-variables--warned-lexical): New.
424 (hack-local-variables):
425 Warn about misplaced lexical-binding. (Bug#15616)
426
427 * net/eww.el (eww-render): Always set eww-current-url,
428 and update header line. (Bug#15622)
429 (eww-display-html): ... Rather than just doing it here.
430
431 2013-10-15 Eli Zaretskii <eliz@gnu.org>
432
433 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
434 menu navigations commands.
435
436 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
437
438 * progmodes/subword.el (subword-capitalize): Be careful when
439 the search for [[:alpha:]] fails (bug#15580).
440
441 2013-10-14 Eli Zaretskii <eliz@gnu.org>
442
443 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
444 to commands that scroll the menu.
445
446 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
447
448 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
449 Handle methods ending with `?' and `!'.
450
451 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
452
453 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
454 `japanese-cp932' to `cp932' to fix the problem where saving a
455 source file written in Shift_JIS twice would end up having
456 `coding: japanese-cp932' which Ruby could not recognize.
457 (ruby-mode-set-encoding): Add support for encodings mapped to nil
458 in `ruby-encoding-map'.
459 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
460 doesn't need to be explicitly declared in magic comment.
461 (ruby-encoding-map): Add type declaration for better customize UI.
462
463 2013-10-13 Glenn Morris <rgm@gnu.org>
464
465 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
466 Occur buffers are read-only. http://bugs.debian.org/720775
467
468 * emacs-lisp/authors.el (authors-fixed-entries):
469 Comment out old alpha stuff.
470
471 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
472
473 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
474 to `after-save-hook' instead of `before-save-hook'.
475 (ruby-mode-set-encoding): Use the value of coding system used to
476 write the file. Call `basic-save-buffer-1' after modifying the
477 buffer.
478
479 2013-10-13 Alan Mackenzie <acm@muc.de>
480
481 Fix indentation/fontification of Java enum with
482 "implements"/generic.
483
484 * progmodes/cc-engine.el (c-backward-over-enum-header):
485 Extracted from the three other places and enhanced to handle generics.
486 (c-inside-bracelist-p): Uses new function above.
487 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
488 function above.
489 (c-font-lock-enum-tail): Uses new function above.
490
491 2013-10-13 Kenichi Handa <handa@gnu.org>
492
493 * international/mule-cmds.el (select-safe-coding-system): Remove a
494 superfluous condition in chekcing whether a coding system is safe
495 or not.
496
497 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
498
499 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
500
501 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
502
503 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
504
505 2013-10-13 Glenn Morris <rgm@gnu.org>
506
507 * menu-bar.el (menu-bar-update-buffers):
508 Unify Buffers menu prompt string. (Bug#15576)
509
510 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
511
512 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
513 Add some entries.
514 (authors-fixed-entries): Use accented form of name.
515
516 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
519 method calls (bug#15594).
520 (ruby-smie--args-separator-p): New function.
521 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
522 recognize paren-free method calls.
523
524 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
525 internals of universal-argument.
526
527 2013-10-11 Eli Zaretskii <eliz@gnu.org>
528
529 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
530 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
531 dropped menu on second mouse click on the menu bar.
532
533 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
536 (explicit-shell-file-name): Declare.
537 (sh--vars-before-point, sh--cmd-completion-table): New functions.
538 (sh-completion-at-point-function): New function.
539 (sh-mode): Use it.
540 (sh-smie--keyword-p): Remove unused argument.
541 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
542 vars.
543 (sh-set-shell): Always setup SMIE, even if we use the
544 old indentation code.
545
546 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
547
548 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
549 cases of ? and =.
550 (ruby-smie-rules): Simplify the "do" rule. The cases when the
551 predicate would return nil are almost non-existent.
552 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
553
554 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
555 cache also after commands that modify the buffer but don't move
556 point.
557
558 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * env.el (substitute-env-in-file-name): New function.
561 (substitute-env-vars): Extend the meaning of the optional arg.
562
563 2013-10-10 Eli Zaretskii <eliz@gnu.org>
564
565 * term/w32-win.el (dynamic-library-alist): Define separate lists
566 of GIF DLLs for versions before and after 5.0.0 of giflib.
567 (Bug#15531)
568
569 2013-10-10 João Távora <joaotavora@gmail.com>
570
571 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
572 not locked, use last revision and current source as
573 defaults. (Bug#15569)
574
575 2013-10-10 Masatake YAMATO <yamato@redhat.com>
576
577 * menu-bar.el (menu-bar-open): Don't use popup-menu if
578 menu-bar is hidden.
579
580 2013-10-10 Martin Rudalics <rudalics@gmx.at>
581
582 * window.el (pop-to-buffer-same-window): Fix doc-string.
583 (Bug#15492)
584
585 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
588
589 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
590
591 * calendar/icalendar.el (icalendar-import-file):
592 Fix interactive spec. (Bug#15482)
593
594 2013-10-10 Glenn Morris <rgm@gnu.org>
595
596 * desktop.el (desktop-save): Default to saving in .emacs.d,
597 since PWD is no longer in desktop-path by default. (Bug#15319)
598
599 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
600 now that text mode has a menu with the same entry.
601 (menu-bar-text-mode-auto-fill): Remove now unused func.
602 * textmodes/text-mode.el (text-mode-map):
603 Use auto-fill help text from menu-bar.el.
604
605 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
606
607 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
608
609 2013-10-09 Juri Linkov <juri@jurta.org>
610
611 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
612 instead of this-command-keys. Add universal-argument-more and
613 universal-argument-minus to the list of prefix commands. (Bug#15568)
614
615 2013-10-09 Glenn Morris <rgm@gnu.org>
616
617 * vc/vc-svn.el (vc-svn-create-repo):
618 Expand paths in file://... url. (Bug#15446)
619
620 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
621 Add some entries.
622 (authors): Remove unused local variables.
623
624 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * profiler.el: Create a more coherent calltree from partial backtraces.
627 (profiler-format): Hide the tail with `invisible' so that C-s can still
628 find the hidden elements.
629 (profiler-calltree-depth): Don't recurse so enthusiastically.
630 (profiler-function-equal): New hash-table-test.
631 (profiler-calltree-build-unified): New function.
632 (profiler-calltree-build): Use it.
633 (profiler-report-make-name-part): Indent the calltree less.
634 (profiler-report-mode): Add visibility specs for profiler-format.
635 (profiler-report-expand-entry, profiler-report-toggle-entry):
636 Expand the whole subtree when provided with a prefix arg.
637
638 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
639
640 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
641 iuwu-mod token.
642 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
643 hanging iuwu-mod token.
644 (ruby-smie--forward-token): Do not include a dot after a token in
645 that token.
646 (ruby-smie--backward-token): Likewise.
647
648 2013-10-08 Juri Linkov <juri@jurta.org>
649
650 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
651 to isearch-other-control-char.
652 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
653 and isearch-post-command-hook to post-command-hook.
654 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
655 and isearch-post-command-hook from post-command-hook.
656 (isearch-unread-key-sequence)
657 (isearch-reread-key-sequence-naturally)
658 (isearch-lookup-scroll-key, isearch-other-control-char)
659 (isearch-other-meta-char): Remove functions.
660 (isearch-pre-command-hook, isearch-post-command-hook):
661 New functions based on isearch-other-meta-char rewritten
662 relying on the new behavior of overriding-terminal-local-map
663 that does not replace the local keymaps any more. (Bug#15200)
664
665 2013-10-08 Eli Zaretskii <eliz@gnu.org>
666
667 Support menus on text-mode terminals.
668 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
669 functionality.
670
671 * tooltip.el (tooltip-mode): Don't error out on TTYs.
672
673 * menu-bar.el (popup-menu, popup-menu-normalize-position):
674 Move here from mouse.el.
675 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
676 and arrow keys.
677 (tty-menu-navigation-map): New map for TTY menu navigation.
678
679 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
680
681 * frame.el (display-mouse-p): Report text-mode mouse as available
682 on w32.
683 (display-popup-menus-p): Report availability if mouse is
684 available; don't condition on window-system.
685
686 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
687 (tty-menu-selected-face): New faces.
688
689 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
692 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
693 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
694 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
695 New constants.
696 (lisp-mode-variables): New `elisp' argument.
697 (emacs-lisp-mode): Use it.
698 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
699 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
700
701 * indent.el: Use lexical-binding.
702 (indent-region): Add progress reporter.
703 (tab-stop-list): Make it implicitly extend to infinity by repeating the
704 last step.
705 (indent--next-tab-stop): New function to implement this behavior.
706 (tab-to-tab-stop, move-to-tab-stop): Use it.
707
708 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
709
710 * indent.el (indent-rigidly--current-indentation): New function.
711 (indent-rigidly-map): New var.
712 (indent-rigidly): Use it to provide interactive mode (bug#8196).
713
714 2013-10-08 Bastien Guerry <bzg@gnu.org>
715
716 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
717
718 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * progmodes/perl-mode.el: Use lexical-binding.
721 Remove redundant :group args.
722 (perl-nochange): Change default to be closer to other major modes's
723 standard behavior.
724 (perl-indent-line): Don't consider text on current line as a
725 valid beginning of function from which to indent.
726
727 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
728 with more than one argument (bug#15538).
729
730 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
731
732 * vc/pcvs.el: Use lexical-binding.
733 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
734 environment of `eval'.
735 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
736 than a list of expressions. Adjust callers.
737 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
738
739 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
740
741 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
742 case of the dot in a chained method call being on the following line.
743
744 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * electric.el (electric-indent-inhibit): New var.
747 (electric-indent-post-self-insert-function): Use it.
748 * progmodes/python.el (python-mode): Set it.
749
750 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
751 open braces.
752
753 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
754
755 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
756 (css-mode): Use electric-indent-chars.
757
758 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
759 (font-lock-beg, font-lock-end): Move before first use.
760 (nxml-mode): Use syntax-propertize-function.
761 (nxml-after-change, nxml-after-change1): Adjust accordingly.
762 (nxml-extend-after-change-region): Remove.
763 * nxml/xmltok.el: Use lexical-binding.
764 (xmltok-save): Use `declare'.
765 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
766 * nxml/nxml-util.el: Use lexical-binding.
767 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
768 Use `declare'.
769 * nxml/nxml-ns.el: Use lexical-binding.
770 (nxml-ns-save): Use `declare'.
771 (nxml-ns-prefixes-for): Avoid add-to-list.
772 * nxml/rng-match.el: Use lexical-binding.
773 (rng--ipattern): Use cl-defstruct.
774 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
775 (rng-cons-group-after, rng-subst-group-after)
776 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
777 Use closures instead of `(lambda...).
778
779 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
780
781 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
782 of BEG and END.
783
784 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
785 Use `tramp-handle-insert-file-contents'.
786 (tramp-gvfs-handle-insert-file-contents): Remove function.
787
788 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
789 Use `save-restriction' in order to keep markers.
790
791 * net/trampver.el: Update release number.
792
793 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * progmodes/compile.el (compilation-parse-errors):
796 Use compilation--put-prop.
797 (compilation--ensure-parse): Check compilation-multiline.
798
799 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
800
801 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
802 lexical-binding.
803
804 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
805
806 * progmodes/ruby-mode.el: Fix recently added tests.
807 (ruby-smie-grammar): Add - and +.
808 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
809 (ruby-smie--backward-id): New functions.
810 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
811 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
812 any more.
813
814 2013-10-07 Leo Liu <sdl.web@gmail.com>
815
816 * register.el (register-preview-delay)
817 (register-preview-functions): New variables.
818 (register-read-with-preview, register-preview)
819 (register-describe-oneline): New functions.
820 (point-to-register, window-configuration-to-register)
821 (frame-configuration-to-register, jump-to-register)
822 (number-to-register, view-register, insert-register)
823 (copy-to-register, append-to-register, prepend-to-register)
824 (copy-rectangle-to-register): Use register-read-with-preview to
825 read register. (Bug#15525)
826
827 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
828
829 * net/network-stream.el (network-stream-open-starttls): Don't add
830 --insecure if it's already present, because that gnutls-cli
831 rejects getting that parameter twice.
832
833 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
834
835 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
836 keyword, too.
837
838 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
839
840 * newcomment.el (comment-use-global-state): Change default value
841 to t, mark obsolete (Bug#15251).
842 (comment-beginning): In addition to `comment-to-syntax', check the
843 value of `comment-use-global-state'.
844
845 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
848 (ruby-comment-column): Follow the global default, by default.
849 (ruby-smie-grammar): Add assignment syntax.
850 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
851 open-paren, a comma, or a \.
852 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
853 and line continuations.
854 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
855 followed by implicit semi-colons. Add rule for string concatenation
856 and for indentation at BOB.
857 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
858
859 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
860 calling next-sexp, since next-token may have skipped chars which
861 next-sexp doesn't know should be skipped!
862
863 2013-10-05 Leo Liu <sdl.web@gmail.com>
864
865 * progmodes/octave.el (octave-send-region):
866 Call compilation-forget-errors.
867
868 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
869
870 * vc/vc-svn.el (vc-svn-find-admin-dir):
871 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
872 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
873 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
874 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
875
876 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
879
880 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * subr.el (read-passwd): Hide chars even when called within a context
883 where after-change-functions is disabled (bug#15501).
884 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
885 until we removed ourself from overriding-terminal-local-map.
886
887 2013-10-04 Leo Liu <sdl.web@gmail.com>
888
889 * progmodes/octave.el (inferior-octave-mode):
890 Call compilation-forget-errors.
891
892 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
893
894 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
895
896 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
897
898 * net/secrets.el (secrets-create-collection): Add optional
899 argument ALIAS. Use proper Label keyword. Append ALIAS as
900 dbus-call-method argument. (Bug#15516)
901
902 2013-10-04 Leo Liu <sdl.web@gmail.com>
903
904 * progmodes/octave.el (inferior-octave-error-regexp-alist)
905 (inferior-octave-compilation-font-lock-keywords): New variables.
906 (compilation-error-regexp-alist)
907 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
908 (inferior-octave-mode): Use compilation-shell-minor-mode.
909
910 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
911
912 * minibuffer.el (completion--replace): Be careful that `end' might be
913 a marker.
914
915 2013-10-03 Daiki Ueno <ueno@gnu.org>
916
917 Add support for package signature checking.
918 * emacs-lisp/package.el (url-http-file-exists-p)
919 (epg-make-context, epg-context-set-home-directory)
920 (epg-verify-string, epg-context-result-for)
921 (epg-signature-status, epg-signature-to-string)
922 (epg-check-configuration, epg-configuration)
923 (epg-import-keys-from-file): Declare.
924 (package-check-signature): New user option.
925 (package-unsigned-archives): New user option.
926 (package-desc): Add `signed' field.
927 (package-load-descriptor): Set `signed' field if .signed file exists.
928 (package--archive-file-exists-p): New function.
929 (package--check-signature): New function.
930 (package-install-from-archive): Check package signature.
931 (package--download-one-archive): Check archive signature.
932 (package-delete): Remove .signed file.
933 (package-import-keyring): New command.
934 (package-refresh-contents): Import default keyring.
935 (package-desc-status): Add "unsigned" status.
936 (describe-package-1, package-menu--print-info)
937 (package-menu-mark-delete, package-menu--find-upgrades)
938 (package-menu--status-predicate): Support "unsigned" status.
939
940 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
943 the new compilation scheme using the new byte-codes.
944
945 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
946 (byte-pophandler): New byte codes.
947 (byte-goto-ops): Adjust accordingly.
948 (byte-compile--use-old-handlers): New var.
949 (byte-compile-catch): Use new byte codes depending on
950 byte-compile--use-old-handlers.
951 (byte-compile-condition-case--old): Rename from
952 byte-compile-condition-case.
953 (byte-compile-condition-case--new): New function.
954 (byte-compile-condition-case): New function that dispatches depending
955 on byte-compile--use-old-handlers.
956 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
957 when we can.
958
959 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
960 Optimize under `condition-case' and `catch' if
961 byte-compile--use-old-handlers is nil.
962 (disassemble-offset): Handle new bytecodes.
963
964 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * subr.el (error): Use `declare'.
967 (decode-char, encode-char): Use advertised-calling-convention instead
968 of the docstring to discourage use of the `restriction' arg.
969
970 2013-10-03 Daiki Ueno <ueno@gnu.org>
971
972 * epg.el (epg-verify-file): Add a comment saying that it does not
973 notify verification error as a return value nor a signal.
974 (epg-verify-string): Ditto.
975
976 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
977
978 * progmodes/compile.el (compilation-start): Try globbing the arg to
979 `cd' (bug#15417).
980
981 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
982
983 Sync with Tramp 2.2.8.
984
985 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
986 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
987 * net/trampver.el: Update release number.
988
989 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
990
991 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
992 and default-process-coding-system for darwin only.
993
994 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
997
998 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
999
1000 * vc/vc-git.el (vc-git-grep): Disable pager.
1001
1002 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1005 Use :url instead of :homepage, as per
1006 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1007
1008 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1009 non-nil, use `syntax-ppss' (Bug#15251).
1010
1011 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1012
1013 * progmodes/octave.el (inferior-octave-startup-file):
1014 Prefer ~/.emacs.d/init_octave.m.
1015
1016 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1017
1018 * emacs-lisp/package.el (package-desc-from-define):
1019 Accept additional arguments as plist, convert them to an alist and store
1020 them in the `extras' slot.
1021 (package-generate-description-file): Convert extras alist back to
1022 plist and append to the `define-package' form arguments.
1023 (package--alist-to-plist): New function.
1024 (package--ac-desc): Add `extras' slot.
1025 (package--add-to-archive-contents): Check if the archive-contents
1026 vector is long enough, and if it is, pass its `extras' slot value
1027 to `package-desc-create'.
1028 (package-buffer-info): Call `lm-homepage', pass the returned value
1029 to `package-desc-from-define'.
1030 (describe-package-1): Render the homepage button (Bug#13291).
1031
1032 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1033 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1034
1035 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1036
1037 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1038 and default-process-coding-system to utf-8-unix (Bug#15402).
1039
1040 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1041
1042 * subr.el (looking-back): Do not recommend using looking-back.
1043
1044 2013-09-28 Alan Mackenzie <acm@muc.de>
1045
1046 Fix indentation/fontification of Java enum with "implements".
1047
1048 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1049 regexp which matches "implements", etc., in Java.
1050 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1051 specifier clauses coming after "enum".
1052 * progmodes/cc-fonts.el (c-font-lock-declarations)
1053 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1054 after "enum".
1055
1056 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1057
1058 * faces.el (region): Change ns_selection_color to
1059 ns_selection_fg_color, add ns_selection_bg_color.
1060
1061 2013-09-28 Leo Liu <sdl.web@gmail.com>
1062
1063 * progmodes/octave.el (inferior-octave-completion-table)
1064 (inferior-octave-completion-at-point): Minor tweaks.
1065
1066 * textmodes/ispell.el (ispell-lookup-words): Rename from
1067 lookup-words. (Bug#15460)
1068 (lookup-words): Obsolete.
1069 (ispell-complete-word, ispell-command-loop): All uses changed.
1070
1071 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1072
1073 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1074 (octave-mode-menu): Add octave-send-buffer.
1075 (octave-send-buffer): New function.
1076
1077 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1078
1079 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1080 octave-lookfor.
1081 (octave-mode-menu): Add octave-lookfor.
1082 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1083 octave-lookfor.
1084 (octave-lookfor): New function.
1085
1086 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * emacs-lisp/cl-macs.el:
1089 (cl--loop-destr-temps): Remove.
1090 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1091 its convention.
1092 (cl--loop-set-iterator-function): New function.
1093 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1094 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1095 Bind `it' with `let' instead of substituting it with `cl-subst'.
1096 (cl--unused-var-p): New function.
1097 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1098 Eliminate some unused variable warnings (bug#15326).
1099
1100 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1101
1102 * doc-view.el (doc-view-scale-reset): Rename from
1103 `doc-view-reset-zoom-level'.
1104 (doc-view-scale-adjust): New command.
1105 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1106 `doc-view-scale-adjust'.
1107
1108 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1109
1110 * doc-view.el (doc-view-reset-zoom-level): New command.
1111 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1112 zoom commands (bug#15466).
1113
1114 2013-09-26 Kenichi Handa <handa@gnu.org>
1115
1116 * international/quail.el (quail-help): Make it not a command.
1117
1118 2013-09-26 Leo Liu <sdl.web@gmail.com>
1119
1120 * minibuffer.el (completion-all-sorted-completions): Make args
1121 optional as they are.
1122
1123 2013-09-25 Daniel Colascione <dancol@dancol.org>
1124
1125 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1126 specs are and that they're not evaluated.
1127
1128 2013-09-24 Sam Steingold <sds@gnu.org>
1129
1130 * midnight.el (clean-buffer-list-kill-regexps)
1131 (clean-buffer-list-kill-buffer-names): Update for the new Man
1132 buffer naming which includes the object name.
1133
1134 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1137 (eshell-parse-command, eshell-parse-pipeline): Use it since
1138 eshell-separate-commands requires a dynamic scoped var.
1139 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1140
1141 2013-09-23 Leo Liu <sdl.web@gmail.com>
1142
1143 * autoinsert.el (auto-insert-alist): Make the value of
1144 lexical-binding match its file setting.
1145
1146 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1147
1148 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1149
1150 * autoarg.el (autoarg-kp-digit-argument):
1151 * electric.el (Electric-command-loop):
1152 * kmacro.el (kmacro-step-edit-insert):
1153 Do not set universal-argument-num-events.
1154
1155 2013-09-22 Leo Liu <sdl.web@gmail.com>
1156
1157 * files.el (interpreter-mode-alist): Add octave.
1158
1159 2013-09-21 Alan Mackenzie <acm@muc.de>
1160
1161 C++: fontify identifier in declaration following "public:" correctly.
1162 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1163 to match "public", etc.
1164 (c-decl-prefix-re): Add ":" into the C++ value.
1165 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1166 bit. Add a check for a ":" preceded by "public", etc.
1167
1168 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1169
1170 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1171 recognized by GDB 7.5 and later.
1172
1173 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1174
1175 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1176
1177 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * subr.el (internal--call-interactively): New const.
1180 (called-interactively-p): Use it (bug#3984).
1181
1182 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1183
1184 * vc/pcvs.el (cvs-mode-ignore):
1185 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1186 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1187
1188 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1191 (eshell-ls-orig-insert-directory): Remove.
1192 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1193 (eshell-ls-use-in-dired): Use advice-add/remove.
1194 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1195 Add `orig-fun' arg for use in :around advice.
1196 Make it check (redundantly) eshell-ls-use-in-dired.
1197
1198 2013-09-19 Glenn Morris <rgm@gnu.org>
1199
1200 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1201
1202 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1203
1204 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1205
1206 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1209 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1210 (tramp-get-remote-python): New defuns.
1211 (tramp-get-remote-uid-with-perl)
1212 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1213 contributed by yary <not.com@gmail.com> (tiny change).
1214 (tramp-get-remote-uid-with-python)
1215 (tramp-get-remote-gid-with-python): New defuns. Python code
1216 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1217 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1218
1219 2013-09-19 Glenn Morris <rgm@gnu.org>
1220
1221 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1222
1223 * eshell/em-unix.el (eshell-remove-entries):
1224 Rename argument to avoid name-clash with global `top-level'.
1225
1226 * eshell/esh-proc.el (eshell-kill-process-function):
1227 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1228 (eshell-reset-after-proc): Remove unused arg `proc'.
1229
1230 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1231 (directory-files-and-attributes): Mark unused arg.
1232
1233 * eshell/em-unix.el (eshell-remove-entries):
1234 Remove unused arg `path'. Update callers.
1235
1236 * eshell/em-hist.el (eshell-hist-parse-arguments):
1237 Remove unused arg `silent'. Update callers.
1238
1239 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1240 Fix (f)boundp mix-up.
1241
1242 * eshell/em-smart.el (eshell-smart-scroll-window)
1243 (eshell-disable-after-change):
1244 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1245
1246 2013-09-18 Alan Mackenzie <acm@muc.de>
1247
1248 Fix fontification of type when followed by "const".
1249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1250 "known" types from fontification.
1251
1252 2013-09-18 Glenn Morris <rgm@gnu.org>
1253
1254 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1255 (chart-face-list): Drop Emacsen without display-color-p.
1256
1257 * net/eww.el (libxml-parse-html-region): Declare.
1258 (eww-display-html): Explicit error if no libxml2 support.
1259
1260 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1261
1262 * image.el (image-type-from-buffer, image-multi-frame-p):
1263 Remove --without-x warning/error.
1264
1265 * mouse.el (mouse-yank-primary):
1266 * term.el (term-mouse-paste):
1267 Reorder to silence --without-x compilation.
1268
1269 * mpc.el (doc-view-mode): Silence --without-x compilation.
1270
1271 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1272 Silence --without-x compilation.
1273
1274 * progmodes/gud.el (gud-find-file, gud-mode):
1275 Silence --without-x compilation.
1276 (tooltip-mode): Declare.
1277
1278 * wdired.el (dired-backup-overwrite): Remove declaration.
1279 (wdired-mode-map): Add doc string.
1280
1281 * custom.el (x-get-resource): Declare.
1282
1283 * eshell/em-glob.el (ange-cache):
1284 * eshell/em-unix.el (ange-cache): Declare.
1285
1286 * faces.el (x-display-list, x-open-connection, x-get-resource):
1287 Declare.
1288
1289 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1290 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1291 Declare.
1292
1293 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1294
1295 * net/gnutls.el (gnutls-log-level): Declare.
1296
1297 * net/shr.el (image-size, image-animate): Declare.
1298
1299 * simple.el (font-info): Declare.
1300
1301 * subr.el (x-popup-dialog): Declare.
1302
1303 * term/common-win.el (x-select-enable-primary)
1304 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1305 Declare.
1306
1307 * term/ns-win.el (x-handle-args): Declare.
1308
1309 * term/x-win.el (x-select-enable-clipboard): Declare.
1310
1311 * term/w32-win.el (create-default-fontset): Declare.
1312
1313 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1314 Declare.
1315
1316 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1317 (fit-frame-to-buffer): Explicit error if --without-x.
1318 (mouse-autoselect-window-select): Silence compiler.
1319
1320 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1321
1322 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1323 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1324 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1325 * eshell/esh-util.el (eshell-sublist):
1326 Remove unused local variables.
1327
1328 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1329
1330 * textmodes/two-column.el: Make 2C-split work for --without-x.
1331 (scroll-bar-columns): Autoload.
1332 (top-level): Require fringe when compiling.
1333
1334 2013-09-18 Leo Liu <sdl.web@gmail.com>
1335
1336 * subr.el (add-hook): Robustify to handle closure as well.
1337
1338 2013-09-17 Glenn Morris <rgm@gnu.org>
1339
1340 * simple.el (messages-buffer-mode-map): Unbind "g".
1341
1342 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * help-mode.el (help-mode-finish): Use derived-mode-p.
1345 Remove obsolete highlighting.
1346
1347 * play/life.el (life-mode): Use define-derived-mode. Derive from
1348 special-mode.
1349 (life): Let-bind inhibit-read-only.
1350 (life-setup): Avoid `setq'. Use `life-mode'.
1351
1352 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1353 which should not be needed any more.
1354 (package-menu-refresh, package-menu-describe-package): Use user-error.
1355
1356 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1357 (eshell-post-rewrite-command-hook): Make obsolete.
1358 (eshell-parse-command): Simplify.
1359 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1360 (eshell--cmd): Declare.
1361 (eshell-parse-pipeline): Remove unused var `final-p'.
1362 Pass a dynvar to eshell-post-rewrite-command-hook.
1363 Implement the new eshell-post-rewrite-command-function.
1364 (eshell-invoke-directly): Remove unused arg `input'.
1365 * eshell/esh-io.el (eshell-io-initialize):
1366 Use eshell-post-rewrite-command-function (bug#15399).
1367 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1368 adjust to new calling convention.
1369 (eshell-create-handles): Rename args to avoid clashing with dynvar
1370 `standard-output'.
1371
1372 2013-09-17 Glenn Morris <rgm@gnu.org>
1373
1374 * simple.el (messages-buffer-mode): New major mode.
1375 (messages-buffer): New function.
1376 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1377 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1378 (ert-run-test): Use `messages-buffer' function.
1379 (ert--force-message-log-buffer-truncation): Ignore read-only.
1380 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1381 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1382
1383 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1386
1387 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1388
1389 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * icomplete.el (icomplete-in-buffer): New var.
1392 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1393 vars and replace them with functions.
1394 (icomplete-minibuffer-setup): Adjust accordingly.
1395 (icomplete--completion-table, icomplete--completion-predicate)
1396 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1397 New functions.
1398 (icomplete-forward-completions, icomplete-backward-completions)
1399 (icomplete-simple-completing-p, icomplete-exhibit)
1400 (icomplete-completions): Use them.
1401 (icomplete--in-region-buffer): New var.
1402 (icomplete--in-region-setup): New function.
1403 (icomplete-mode): Use it.
1404
1405 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1406 (bug#15379).
1407 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1408 return args and options.
1409 (eshell-eval-using-options): Use the new return value of
1410 eshell--do-opts to set the options's vars in their scope.
1411 (eshell--set-option): Rename from eshell-set-option.
1412 Add arg `opt-vals'.
1413 (eshell--process-option): Rename from eshell-process-option.
1414 Add arg `opt-vals'.
1415 (eshell--process-args): Use an `opt-vals' alist to store the options's
1416 values during their processing and return them additionally to the
1417 remaining args.
1418
1419 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1420
1421 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1422 continuation character an operator, as far as indentation is
1423 concerned (Bug#15369).
1424
1425 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1426
1427 * window.el (window--state-put-2): Don't process buffer state
1428 when buffer doesn't exist any more (Bug#15382).
1429
1430 2013-09-15 Glenn Morris <rgm@gnu.org>
1431
1432 * eshell/em-unix.el (eshell/rm):
1433 Make -f ignore missing files. (Bug#15373)
1434
1435 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1436 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1437 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1438
1439 2013-09-14 Glenn Morris <rgm@gnu.org>
1440
1441 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1442
1443 2013-09-13 Glenn Morris <rgm@gnu.org>
1444
1445 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1446 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1447
1448 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1449
1450 * frame.el (x-focus-frame): Mark as declared in frame.c.
1451
1452 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * ls-lisp.el: Use advice-add.
1455 (original-insert-directory): Remove.
1456 (ls-lisp--insert-directory): Rename from insert-directory; add
1457 `orig-fun' argument.
1458 (insert-directory): Advise.
1459
1460 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1461
1462 * term.el (term-emulate-terminal): Decode the command string
1463 before passing it to term-command-hook. (Bug#15337)
1464
1465 2013-09-13 Glenn Morris <rgm@gnu.org>
1466
1467 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1468
1469 * eshell/esh-ext.el (eshell-search-path): Declare.
1470
1471 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1472 Otherwise an error occurs if eshell-dirs module not loaded.
1473
1474 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1475
1476 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1477
1478 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1479 `tramp-check-proper-host'. Check for a valid method name.
1480
1481 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1482 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1483 * net/tramp-sh.el (tramp-maybe-open-connection):
1484 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1485
1486 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1487 also for hash values.
1488
1489 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * term/ns-win.el (parameters): Don't declare as dynamic.
1492 (before-make-frame-hook): Don't add ineffective function.
1493
1494 * eshell/*.el: Use lexical-binding (bug#15231).
1495
1496 2013-09-12 Kenichi Handa <handa@gnu.org>
1497
1498 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1499
1500 2013-09-12 Glenn Morris <rgm@gnu.org>
1501
1502 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1503 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1504
1505 * subr.el (do-after-load-evaluation): Also give compiler warnings
1506 when obsolete files are used (except by obsolete files).
1507
1508 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1509 in the status output, assume `filename' is the first. (Bug#15322)
1510
1511 * vc/vc.el (vc-deduce-fileset): Doc fix.
1512
1513 * calc/calc-help.el (Info-goto-node):
1514 * progmodes/cperl-mode.el (Info-find-node):
1515 * vc/ediff.el (Info-goto-node): Update declarations.
1516
1517 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1518
1519 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1520 (vc-bzr-pull): Require vc-dispatcher.
1521 * vc/vc-git.el (vc-compilation-mode): Declare.
1522 (vc-git-pull): Require vc-dispatcher.
1523
1524 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1525
1526 * progmodes/octave.el (help-button-action): Declare.
1527
1528 * shell.el (shell-directory-tracker): Output error as a message
1529 rather than just returning it as a string.
1530 (shell-process-pushd): Remove useless use of message.
1531
1532 * dframe.el (dframe-timer-fn):
1533 * files.el (dir-locals-read-from-file):
1534 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1535 (mpc-format):
1536 * reveal.el (reveal-post-command):
1537 * saveplace.el (load-save-place-alist-from-file):
1538 * shell.el (shell-resync-dirs):
1539 * w32-common-fns.el (x-get-selection-value):
1540 * emacs-lisp/copyright.el (copyright-find-copyright):
1541 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1542 * emulation/tpu-edt.el (tpu-copy-keyfile):
1543 * play/bubbles.el (bubbles--mark-neighbourhood):
1544 * progmodes/executable.el
1545 (executable-make-buffer-file-executable-if-script-p):
1546 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1547
1548 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 Cleanup Eshell to rely less on dynamic scoping.
1551 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1552 last-value, and ext-command here. Bind `args' closer to `body'.
1553 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1554 (eshell--args): Declare new dynamic var.
1555 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1556 last-value, and ext-command. Pass `args' to `body'.
1557 (eshell-process-args): Bind eshell--args.
1558 (eshell-set-option): Use eshell--args.
1559 * eshell/eshell.el (eshell): Use derived-mode-p.
1560 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1561 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1562 (eshell-glob-function): Declare.
1563 * eshell/esh-util.el: Require cl-lib.
1564 (eshell-read-hosts-file): Avoid add-to-list.
1565 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1566 `err'.
1567 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1568 Declare.
1569 (eshell/diff): Remove unused var `err'.
1570 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1571 `killflag'.
1572 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1573 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1574 first use.
1575 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1576 Move declaration before first use.
1577 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1578 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1579 rely on cl-return.
1580
1581 2013-09-12 Glenn Morris <rgm@gnu.org>
1582
1583 * term/ns-win.el (global-map): Remove binding for ispell-next,
1584 deleted 1999-05-29. (Bug#15357)
1585
1586 2013-09-11 Glenn Morris <rgm@gnu.org>
1587
1588 * echistory.el (electric-command-history): Remove call to deleted func.
1589
1590 * play/landmark.el (landmark-mode): Fix typos.
1591
1592 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1593 Check cvs-sort-ignore-file is bound.
1594
1595 * savehist.el: No need for cl when compiling on Emacs.
1596
1597 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1600 (bug#15338).
1601 (eshell-self-insert-command, eshell-send-invisible):
1602 Remove unused argument.
1603 (eshell-handle-control-codes): Remove unused var `orig'.
1604 Avoid delete-backward-char.
1605
1606 * files.el (set-auto-mode): Simplify a bit further.
1607
1608 2013-09-11 Glenn Morris <rgm@gnu.org>
1609
1610 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1611 (set-auto-mode): Don't regexp-quote elements.
1612 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1613 * progmodes/cc-mode.el (interpreter-mode-alist):
1614 * progmodes/ruby-mode.el (interpreter-mode-alist):
1615 Revert previous change.
1616
1617 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * play/snake.el (snake-mode):
1620 * play/mpuz.el (mpuz-mode):
1621 * play/landmark.el (lm-mode):
1622 * play/blackbox.el (blackbox-mode):
1623 * play/5x5.el (5x5-mode):
1624 * obsolete/options.el (Edit-options-mode):
1625 * net/quickurl.el (quickurl-list-mode):
1626 * net/newst-treeview.el (newsticker-treeview-mode):
1627 * mail/rmailsum.el (rmail-summary-mode):
1628 * mail/mspools.el (mspools-mode):
1629 * locate.el (locate-mode):
1630 * ibuffer.el (ibuffer-mode):
1631 * emulation/ws-mode.el (wordstar-mode):
1632 * emacs-lisp/debug.el (debugger-mode):
1633 * array.el (array-mode):
1634 * net/eudc.el (eudc-mode): Use define-derived-mode.
1635 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1636 Move initialization into declaration.
1637 (mairix-searches-mode): Use define-derived-mode.
1638 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1639 (eudc-edit-hotlist): Use dolist.
1640 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1641 (Man-mode): Use define-derived-mode.
1642 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1643 (Info-edit-mode): Use define-derived-mode.
1644 (Info-cease-edit): Use Info-mode.
1645 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1646 into declaration.
1647 (eshell-mode): Use define-derived-mode.
1648 * chistory.el (command-history-mode-map): Rename from
1649 command-history-map.
1650 (command-history-mode): Use define-derived-mode.
1651 (Command-history-setup): Remove function.
1652 * calc/calc.el (calc-trail-mode-map): New var.
1653 (calc-trail-mode): Use define-derived-mode.
1654 (calc-trail-buffer): Set calc-main-buffer manually.
1655 * bookmark.el (bookmark-insert-annotation): New function.
1656 (bookmark-edit-annotation): Use it.
1657 (bookmark-edit-annotation-mode): Make it a proper major mode.
1658 (bookmark-send-edited-annotation): Use derived-mode-p.
1659 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1660 closer to its ideal place. Use \' to match EOS.
1661
1662 * profiler.el (profiler-calltree-find): Use function-equal.
1663
1664 2013-09-10 Glenn Morris <rgm@gnu.org>
1665
1666 * files.el (interpreter-mode-alist): Convert to regexps.
1667 (set-auto-mode): Adapt for this. (Bug#15306)
1668 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1669 Comment out unused variable.
1670 * progmodes/cc-mode.el (interpreter-mode-alist):
1671 * progmodes/python.el (interpreter-mode-alist):
1672 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1673 * progmodes/sh-script.el (sh-set-shell):
1674 No longer use interpreter-mode-alist to get list of shells.
1675
1676 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1677
1678 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * simple.el: Use set-temporary-overlay-map for universal-argument.
1681 (universal-argument-map): Don't use default-bindings (bug#15317).
1682 Bind switch-frame explicitly. Replace universal-argument-minus with
1683 a conditional binding.
1684 (universal-argument-num-events, saved-overriding-map): Remove.
1685 (restore-overriding-map): Remove.
1686 (universal-argument--mode): Rename from save&set-overriding-map,
1687 and rewrite.
1688 (universal-argument, universal-argument-more, negative-argument)
1689 (digit-argument): Adjust accordingly.
1690 (universal-argument-minus): Remove.
1691 (universal-argument-other-key): Remove.
1692
1693 * subr.el (with-demoted-errors): Add `format' argument.
1694
1695 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1698 `tramp-cleanup-connection'.
1699
1700 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1701 parameters KEEP-DEBUG and KEEP-PASSWORD.
1702
1703 * net/tramp.el (tramp-file-name-handler):
1704 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1705 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1706 (tramp-maybe-open-connection):
1707 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1708 Use `tramp-cleanup-connection'.
1709
1710 * net/tramp-sh.el (tramp-maybe-open-connection):
1711 Catch 'uname-changed inside the progress reporter.
1712
1713 2013-09-10 Glenn Morris <rgm@gnu.org>
1714
1715 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1716
1717 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1718 returns "alternate access method" in mode (eg "-rw-r--r--.").
1719
1720 2013-09-08 Glenn Morris <rgm@gnu.org>
1721
1722 * saveplace.el (load-save-place-alist-from-file):
1723 Demote errors. (Bug#15305)
1724
1725 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1726
1727 Improve compatibility with older Emacsen, and XEmacs.
1728
1729 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1730 only if it is bound. It isn't for XEmacs.
1731 (with-tramp-progress-reporter): Do not let-bind `result'.
1732 This yields to scoping errors in XEmacs.
1733 (tramp-handle-make-auto-save-file-name): New function, moved from
1734 tramp-sh.el.
1735
1736 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1737 for `make-auto-save-file-name'.
1738 (tramp-adb--gnu-switches-to-ash):
1739 Use `tramp-compat-replace-regexp-in-string'.
1740
1741 * net/tramp-cache.el (tramp-cache-print): Call
1742 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1743
1744 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1745 bound. It isn't for XEmacs.
1746
1747 * net/tramp-compat.el (tramp-compat-copy-file):
1748 Catch `wrong-number-of-arguments' error.
1749 (tramp-compat-replace-regexp-in-string): New defun.
1750
1751 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1752 for `make-auto-save-file-name'.
1753 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1754 `copy-file'.
1755 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1756 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1757 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1758
1759 * net/tramp-gw.el (tramp-gw-open-network-stream):
1760 Use `tramp-compat-replace-regexp-in-string'.
1761
1762 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1763 Call `tramp-handle-make-auto-save-file-name'.
1764 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1765 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1766 (tramp-sh-file-inotifywait-process-filter):
1767 Use `tramp-compat-replace-regexp-in-string'.
1768 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1769
1770 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1771 for `make-auto-save-file-name'.
1772 (tramp-smb-handle-copy-directory):
1773 Call `tramp-compat-replace-regexp-in-string'.
1774 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1775 (tramp-smb-handle-copy-file): Improve error message.
1776 (tramp-smb-handle-rename-file): Rename directly only in case
1777 `newname' does not exist yet. This is a restriction of smbclient.
1778 (tramp-smb-maybe-open-connection): Rerun the function only when
1779 `auth-sources' is non-nil.
1780
1781 2013-09-08 Kenichi Handa <handa@gnu.org>
1782
1783 * international/characters.el: Set category "^" (Combining) for
1784 more characters.
1785
1786 2013-09-07 Alan Mackenzie <acm@muc.de>
1787
1788 Correctly fontify Java class constructors.
1789 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1790 in Java Mode.
1791 (c-recognize-typeless-decls): Set the Java value to t.
1792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1793 While handling a "(", add a check for, effectively, Java, and handle a
1794 "typeless" declaration there.
1795
1796 2013-09-07 Roland Winkler <winkler@gnu.org>
1797
1798 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1799 field subtitle for entry type book.
1800
1801 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * minibuffer.el: Make minibuffer-complete call completion-in-region
1804 rather than other way around.
1805 (completion--some, completion-pcm--find-all-completions):
1806 Don't delay signals when debugging.
1807 (minibuffer-completion-contents): Beware fields within the
1808 minibuffer contents.
1809 (completion-all-sorted-completions): Use defvar-local.
1810 (completion--do-completion, completion--cache-all-sorted-completions)
1811 (completion-all-sorted-completions, minibuffer-force-complete):
1812 Add args `beg' and `end'.
1813 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1814 (minibuffer-complete): Use completion-in-region.
1815 (completion-complete-and-exit): New fun, extracted from
1816 minibuffer-complete-and-exit.
1817 (minibuffer-complete-and-exit): Use it.
1818 (completion--complete-and-exit): Rename from
1819 minibuffer--complete-and-exit.
1820 (completion-in-region--single-word): New function, extracted from
1821 minibuffer-complete-word.
1822 (minibuffer-complete-word): Use it.
1823 (display-completion-list): Make `common-substring' argument obsolete.
1824 (completion--in-region): Call completion--in-region-1 instead of
1825 minibuffer-complete.
1826 (completion-help-at-point): Pass boundaries to
1827 minibuffer-completion-help as args rather than via an overlay.
1828 (completion-pcm--string->pattern): Use `any-delim'.
1829 (completion-pcm--optimize-pattern): New function.
1830 (completion-pcm--pattern->regex): Handle `any-delim'.
1831 * icomplete.el (icomplete-forward-completions)
1832 (icomplete-backward-completions, icomplete-completions):
1833 Adjust calls to completion-all-sorted-completions and
1834 completion--cache-all-sorted-completions.
1835 (icomplete-with-completion-tables): Default to t.
1836 * emacs-lisp/crm.el (crm--current-element): Rename from
1837 crm--select-current-element. Don't put an overlay but return the
1838 boundaries instead.
1839 (crm--completion-command): Take two new args to bind to the boundaries.
1840 (crm-completion-help): Adjust accordingly.
1841 (crm-complete): Use completion-in-region.
1842 (crm-complete-word): Use completion-in-region--single-word.
1843 (crm-complete-and-exit): Use completion-complete-and-exit.
1844
1845 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1848 than dynamically.
1849
1850 2013-09-06 Juri Linkov <juri@jurta.org>
1851
1852 * info.el (Info-display-images-node): When image file doesn't exist
1853 display text version of the image if it's provided in the Info file.
1854 Otherwise, display the location of missing image from SRC attribute.
1855 Add help-echo text property from ALT attribute. (Bug#15279)
1856
1857 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1860 (edit-abbrevs-mode): Use define-derived-mode.
1861
1862 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1863 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1864 that it's defined.
1865 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1866 Use define-derived-mode.
1867
1868 * epg.el (epg-start-encrypt): Minor CSE simplification.
1869
1870 2013-09-06 William Xu <william.xwl@gmail.com>
1871
1872 * arc-mode.el: Add support for 7za (bug#15264).
1873 (archive-7z-program): New var.
1874 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1875 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1876 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1877
1878 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1879
1880 Remove URL syntax.
1881
1882 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1883 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1884 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1885 (tramp-postfix-host-format, tramp-file-name-regexp)
1886 (tramp-completion-file-name-regexp)
1887 (tramp-completion-dissect-file-name)
1888 (tramp-handle-substitute-in-file-name): Remove 'url case.
1889 (tramp-file-name-regexp-url)
1890 (tramp-completion-file-name-regexp-url): Remove constants.
1891
1892 2013-09-06 Glenn Morris <rgm@gnu.org>
1893
1894 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1895
1896 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1897
1898 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1899 keywords" below "here-doc beginnings" (Bug#15270).
1900
1901 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * subr.el (pop): Use `car-safe'.
1904 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1905 to detect unused `pop' return value.
1906
1907 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1908 var `block-regexp'.
1909 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1910 (python-fill-string): Remove unused var `marker'.
1911 (python-skeleton-add-menu-items): Remove unused var `items'.
1912
1913 * international/mule-cmds.el: Require CL.
1914 (find-coding-systems-for-charsets): Avoid add-to-list.
1915 (sanitize-coding-system-list): New function, extracted from
1916 select-safe-coding-system-interactively.
1917 (select-safe-coding-system-interactively): Use it.
1918 (read-input-method-name): Accept symbols for `default'.
1919
1920 * emacs-lisp/advice.el (defadvice): Add indent rule.
1921
1922 2013-09-05 Daniel Hackney <dan@haxney.org>
1923
1924 * dired-x.el:
1925 * net/ange-ftp.el:
1926 * net/browse-url.el:
1927 * net/dbus.el:
1928 * net/eudc.el:
1929 * net/eudcb-ldap.el:
1930 * net/eww.el:
1931 * net/imap.el:
1932 * printing.el:
1933 * vc/ediff-diff.el:
1934 * vc/ediff-init.el:
1935 * vc/ediff-merg.el:
1936 * vc/ediff-mult.el:
1937 * vc/ediff-util.el:
1938 * vc/ediff-wind.el:
1939 * vc/ediff.el:
1940 * vc/emerge.el:
1941 * vc/pcvs.el:
1942 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1943 byte compiler. Remove some unused let-bound variables.
1944
1945 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1948 a "ref-cell", since it gets better optimized (bug#14883).
1949
1950 2013-09-05 Glenn Morris <rgm@gnu.org>
1951
1952 * progmodes/cc-awk.el (c-forward-sws): Declare.
1953
1954 2013-09-04 Glenn Morris <rgm@gnu.org>
1955
1956 * generic-x.el [rul-generic-mode]: Require cc-mode.
1957 (c++-mode-syntax-table): Declare.
1958 (rul-generic-mode-syntax-table): Init in the defvar.
1959
1960 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1963 (vc-do-command, vc-set-async-update):
1964 * vc/vc-mtn.el (vc-mtn-dir-status):
1965 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1966 (vc-hg-pull, vc-hg-merge-branch):
1967 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1968 (vc-git-merge-branch):
1969 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1970 (vc-cvs-dir-status-files):
1971 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1972 (vc-bzr-dir-status-files):
1973 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1974 * vc/vc-annotate.el: Use lexical-binding.
1975 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1976 (vc-sentinel-movepoint): Declare.
1977 (vc-annotate): Don't use `goto-line'.
1978 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1979 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1980 (vc-sentinel-movepoint): Declare.
1981 * vc/vc-svn.el: Use lexical-binding.
1982 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1983 * vc/vc-sccs.el:
1984 * vc/vc-rcs.el: Use lexical-binding.
1985
1986 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1987 `deleted'. Don't drop errors silently.
1988
1989 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1990
1991 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1992
1993 * vc/vc.el (vc-ignore): Rewrite.
1994 (vc-default-ignore): New function.
1995 (vc-default-ignore-completion-table): Use find-ignore-file.
1996
1997 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1998 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1999 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2000 Remove. Most code moved to vc.el.
2001
2002 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2004 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2005 * net/tramp-smb.el (tramp-smb-get-file-entries):
2006 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2007 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2008
2009 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2010 Update call to it.
2011 (eww-change-select): Remove unused var `properties'.
2012 (eww-make-unique-file-name): Remove unused var `base'.
2013
2014 * finder.el (finder-compile-keywords): Don't mess with windows.
2015
2016 * calculator.el (calculator-funcall): Fix typo in last change.
2017
2018 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2019
2020 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2021 <pkg>-autoloads.el file stop us.
2022
2023 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2024 warnings, and factor out common code.
2025
2026 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2029 two-character operators and whether the character preceding them
2030 changes their meaning (Bug#15208).
2031
2032 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2033
2034 Format code sent to Python shell for robustness.
2035 * progmodes/python.el (python-shell-buffer-substring):
2036 New function.
2037 (python-shell-send-region, python-shell-send-buffer): Use it.
2038
2039 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2040
2041 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2042 * net/tramp.el (tramp-user-error): ... here.
2043 (tramp-find-method, tramp-check-proper-host)
2044 (tramp-dissect-file-name, tramp-debug-message)
2045 (tramp-handle-shell-command):
2046 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2047 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2048
2049 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2050
2051 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2052
2053 * avoid.el (mouse-avoidance-point-position)
2054 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2055 returns nil.
2056
2057 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2058
2059 * progmodes/python.el (python-shell-completion-get-completions):
2060 Drop use of deleted `comint-last-prompt-overlay'.
2061 (python-nav-if-name-main): New command.
2062
2063 2013-09-01 Glenn Morris <rgm@gnu.org>
2064
2065 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2066 Avoid leading space in $wins. Otherwise the sed command used by
2067 eg compile-main ends up containing "/*.el". (Bug#15170)
2068
2069 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2070
2071 2013-08-30 Glenn Morris <rgm@gnu.org>
2072
2073 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2074 Fix is-this-a-directory logic. (Bug#15220)
2075
2076 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * textmodes/css-mode.el: Use SMIE.
2079 (css-smie-grammar): New var.
2080 (css-smie--forward-token, css-smie--backward-token)
2081 (css-smie-rules): New functions.
2082 (css-mode): Use them.
2083 (css-navigation-syntax-table): Remove var.
2084 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2085 (css-indent-calculate, css-indent-line): Remove functions.
2086
2087 Misc changes to reduce use of `(lambda...); and other cleanups.
2088 * cus-edit.el: Use lexical-binding.
2089 (customize-push-and-save, customize-apropos)
2090 (custom-buffer-create-internal): Use closures.
2091 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2092 * progmodes/ada-xref.el: Use setq.
2093 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2094 * dframe.el: Use lexical-binding.
2095 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2096 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2097 * descr-text.el: Use lexical-binding.
2098 (describe-text-widget, describe-text-sexp, describe-property-list):
2099 Use closures.
2100 * comint.el (comint-history-isearch-push-state): Use a closure.
2101 * calculator.el: Use lexical-binding.
2102 (calculator-number-to-string): Make it work with lexical-binding.
2103 (calculator-funcall): Same and use cl-letf.
2104
2105 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2106 (lisp--company-doc-string, lisp--company-location): New functions.
2107 (lisp-completion-at-point): Use them to improve Company support.
2108
2109 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2110 params of lambda expressions.
2111 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2112 (ruby-smie--opening-pipe-p): New function.
2113 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2114 symbols and matched |...| for formal params.
2115 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2116 from being treated as hanging. Handle "rescue".
2117
2118 2013-08-29 Glenn Morris <rgm@gnu.org>
2119
2120 * progmodes/cc-engine.el (c-pull-open-brace):
2121 Move definition before use.
2122
2123 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2126 are immutable. Don't use `unsafe' any more.
2127 (cl--defsubst-expand): Don't substitute at the same time as keeping
2128 a residual unused let-binding. Don't use `unsafe' any more.
2129
2130 2013-08-29 Glenn Morris <rgm@gnu.org>
2131
2132 * calendar/cal-china.el (calendar-chinese-year-cache):
2133 Recenter on 2015.
2134
2135 * nxml/nxml-util.el (nxml-debug-clear-inside):
2136 Use cl-loop rather than loop.
2137
2138 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2139
2140 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2141
2142 2013-08-28 Glenn Morris <rgm@gnu.org>
2143
2144 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2145
2146 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2147
2148 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2149
2150 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * simple.el (repeat-complex-command--called-interactively-skip):
2153 New function.
2154 (repeat-complex-command): Use it (bug#14136).
2155
2156 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2157 (c-define-abbrev-table): Add `doc' argument.
2158 (c-mode-abbrev-table, c++-mode-abbrev-table)
2159 (objc-mode-abbrev-table, java-mode-abbrev-table)
2160 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2161 (awk-mode-abbrev-table): Use it.
2162 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2163 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2164 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2165 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2166 Move initialization into the declaration; and remove any
2167 autoload cookie.
2168
2169 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2170 and dynamic let binding.
2171
2172 * vc/smerge-mode.el: Remove redundant :group args.
2173
2174 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2175 to load-path.
2176
2177 2013-08-28 Juri Linkov <juri@jurta.org>
2178
2179 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2180 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2181 (isearch-other-meta-char): Handle an undefined shifted printing
2182 character by downshifting it. (Bug#15200)
2183
2184 2013-08-28 Juri Linkov <juri@jurta.org>
2185
2186 * isearch.el (isearch-search): Change regexp error message for
2187 non-regexp searches. (Bug#15166)
2188
2189 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2190
2191 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2192 for portability to hosts where /bin/sh has problems.
2193
2194 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2195
2196 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2197
2198 2013-08-27 Juri Linkov <juri@jurta.org>
2199
2200 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2201 in the keyboard macro. (Bug#15126)
2202
2203 2013-08-27 Juri Linkov <juri@jurta.org>
2204
2205 * isearch.el (isearch-quote-char): Comment out converting unibyte
2206 to multibyte, thus syncing with its `quoted-insert' counterpart.
2207 (Bug#15166)
2208
2209 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2210
2211 * window.el (display-buffer-use-some-window): Add missing
2212 argument in call of get-largest-window (Bug#15185).
2213 Reported by Stephen Leake.
2214
2215 2013-08-27 Glenn Morris <rgm@gnu.org>
2216
2217 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2218
2219 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2220
2221 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2222 from a matcher-function unless there's no more matches (bug#15161).
2223
2224 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * minibuffer.el: Revert change from 2013-08-20.
2227
2228 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2229 with text property `tramp-default', if appropriate.
2230 (tramp-check-proper-host): New defun.
2231 (tramp-dissect-file-name): Do not check hostname. Revert change
2232 of 2013-03-18.
2233 (tramp-backtrace): Make VEC-OR-PROC optional.
2234
2235 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2236 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2237 * net/tramp-sh.el (tramp-maybe-open-connection):
2238 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2239 Apply `tramp-check-proper-host'.
2240
2241 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2242
2243 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2244 lambda expression in order to have `describe-variable' display it.
2245
2246 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2247
2248 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2249 BUF can be optional. (Bug#15186)
2250
2251 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2252
2253 * progmodes/flymake.el (flymake-get-real-file-name-function):
2254 Fix broken customization. (Bug#15184)
2255
2256 2013-08-25 Alan Mackenzie <acm@muc.de>
2257
2258 Improve indentation of bracelists defined by macros (without "=").
2259
2260 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2261 expansion begins with "{", regard it as bracelist when it doesn't
2262 contain a ";".
2263
2264 Parse C++ inher-intro when there's a template split over 2 lines.
2265
2266 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2267 rigorously the search for "class" etc. followed by ":".
2268
2269 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2270 random languages a regexp which never matches rather than nil.
2271
2272 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2273
2274 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2275 (c-awk-regexp-one-line-possibly-open-char-list-re)
2276 (c-awk-one-line-possibly-open-regexp-re)
2277 (c-awk-one-line-non-syn-ws*-re): Remove.
2278 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2279 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2280 (c-awk-space*-unclosed-regexp-/-re): New constants.
2281 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2282 aren't regexp delimiters.
2283
2284 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2285 handling for a rare situation in AWK Mode involving unterminated
2286 strings/regexps.
2287
2288 2013-08-23 Glenn Morris <rgm@gnu.org>
2289
2290 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2291
2292 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2293
2294 * files.el (create-file-buffer): If the result would begin with
2295 spaces, prepend a "|" instead of removing them. (Bug#15162)
2296
2297 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2300 text-properties (bug#15155).
2301
2302 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2303 exist any more.
2304 (calc-keypad-redraw): Remove unused var `pad'.
2305 (calc-keypad-press): Remove unused var `menu'.
2306
2307 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2308
2309 * window.el (display-buffer-pop-up-frame):
2310 Call pop-up-frame-function with BUFFER current so `make-frame' will
2311 use it as the new frame's buffer (Bug#15133).
2312
2313 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * calendar/timeclock.el: Minor cleanups.
2316 (timeclock-ask-before-exiting, timeclock-use-display-time):
2317 Use `symbol'.
2318 (timeclock-modeline-display): Define as alias before the
2319 actual definition.
2320 (timeclock-mode-line-display): Use define-minor-mode.
2321 (timeclock-day-list-template): Make it a function, add an argument.
2322 (timeclock-day-list-required, timeclock-day-list-length)
2323 (timeclock-day-list-debt, timeclock-day-list-span)
2324 (timeclock-day-list-break): Adjust calls accordingly.
2325
2326 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2329 Use read--expression so that completion works again.
2330
2331 2013-08-21 Sam Steingold <sds@gnu.org>
2332
2333 Add rudimentary inferior shell interaction
2334 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2335 (sh-set-shell): Reset it.
2336 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2337 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2338
2339 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * align.el: Use lexical-binding.
2342 (align-region): Simplify accordingly.
2343
2344 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2345
2346 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2347
2348 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2349 `non-essential' up.
2350
2351 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2352
2353 * net/tramp.el:
2354 * net/tramp-adb.el:
2355 * net/tramp-cmds.el:
2356 * net/tramp-ftp.el:
2357 * net/tramp-gvfs.el:
2358 * net/tramp-gw.el:
2359 * net/tramp-sh.el: Don't wrap external variable declarations by
2360 `eval-when-compile'.
2361
2362 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2363
2364 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2365 now that Emacs supports ImageMagick animations.
2366
2367 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2368
2369 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2370 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2371
2372 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2373
2374 * window.el (mouse-autoselect-window-select): Do autoselect when
2375 mouse pointer is on margin.
2376
2377 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2378
2379 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2380
2381 2013-08-16 Glenn Morris <rgm@gnu.org>
2382
2383 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2384 Handle "Remote Directory" response of some clients. (Bug#15058)
2385
2386 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2387 Tweak warning. (Bug#14926)
2388
2389 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2390 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2391
2392 * image-mode.el (image-mode-map): Add menu items to reverse,
2393 increase, decrease, reset animation speed.
2394 (image--set-speed, image-increase-speed, image-decrease-speed)
2395 (image-reverse-speed, image-reset-speed): New functions.
2396 (image-mode-map): Add bindings for speed commands.
2397
2398 * image.el (image-animate-get-speed, image-animate-set-speed):
2399 New functions.
2400 (image-animate-timeout): Respect image :speed property.
2401
2402 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2405 previous line (bug#15101).
2406 (debugger-eval-expression, debugger-record-expression):
2407 Use read--expression (bug#15102).
2408
2409 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2410
2411 Remove byte compiler warnings, visible when compiling with
2412 `byte-compile-force-lexical-warnings' set to t.
2413
2414 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2415 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2416 (tramp-handle-unhandled-file-name-directory)
2417 (tramp-handle-file-notify-add-watch, tramp-action-login)
2418 (tramp-action-succeed, tramp-action-permission-denied)
2419 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2420 arguments with "_".
2421
2422 * net/tramp-adb.el (tramp-adb-parse-device-names)
2423 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2424 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2425 (tramp-adb-handle-file-truename): Remove unused arguments.
2426
2427 * net/tramp-cache.el (tramp-flush-directory-property)
2428 (tramp-flush-connection-property, tramp-list-connections)
2429 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2430
2431 * net/tramp-compat.el (tramp-compat-make-temp-file):
2432 Rename FILENAME to F.
2433
2434 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2435 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2436 (tramp-zeroconf-parse-workstation-device-names)
2437 (tramp-zeroconf-parse-webdav-device-names)
2438 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2439
2440 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2441 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2442
2443 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2444 arguments.
2445 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2446 (tramp-sh-handle-insert-file-contents-literally)
2447 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2448 with "_".
2449 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2450 Remove unused variables.
2451
2452 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2453 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2454 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2455
2456 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2457 Make them a defconst.
2458 (tramp-uuencode-region): Remove unused variable.
2459
2460 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2461
2462 * frameset.el (frameset--prop-setter): New function.
2463 (frameset-prop): Add gv-setter declaration.
2464 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2465 parameter was already set in FILTERED. Doc fix.
2466 (frameset--record-minibuffer-relationships): Allow saving a
2467 minibufferless frame without its corresponding minibuffer frame.
2468 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2469 frame, if the frame id matches.
2470 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2471 frames before orphaned ones.
2472 (frameset-restore): Warn about orphaned windows, instead of error out.
2473
2474 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2475
2476 * window.el (window-make-atom): Don't overwrite parameter
2477 already present.
2478 (display-buffer-in-atom-window): Handle special case where we
2479 split an already atomic window.
2480 (window--major-non-side-window, display-buffer-in-side-window)
2481 (window--side-check): Ignore minibuffer window when walking
2482 window tree.
2483 (window-deletable-p): Return 'frame only if no other frame uses
2484 our minibuffer window.
2485 (record-window-buffer): Run buffer-list-update-hook.
2486 (split-window): Make sure window--check-frame won't destroy an
2487 existing atomic window in case the new window gets nested
2488 inside.
2489 (display-buffer-at-bottom): Ignore minibuffer window when
2490 walking window tree. Don't split a side window.
2491 (pop-to-buffer): Don't set-buffer here, the select-window call
2492 should do that.
2493 (mouse-autoselect-window-select): Autoselect only if we are in the
2494 text portion of the window.
2495
2496 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2497
2498 * net/shr.el (shr-parse-image-data): New function to grab both the
2499 data itself and the Content-Type.
2500 (shr-put-image): Use it.
2501
2502 * net/eww.el (eww-display-image): Ditto.
2503
2504 * image.el (image-content-type-suffixes): New variable.
2505
2506 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2507
2508 * progmodes/python.el (python-imenu--build-tree)
2509 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2510
2511 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2512
2513 * simple.el (backward-word): Mention the optional argument.
2514
2515 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * frameset.el (frameset--make): Rename constructor from make-frameset.
2518 (frameset-p, frameset-valid-p): Don't autoload.
2519 (frameset-valid-p): Use normal accessors.
2520
2521 2013-08-13 Glenn Morris <rgm@gnu.org>
2522
2523 * progmodes/compile.el (compile-command): Tweak example in doc.
2524 * obsolete/scribe.el (scribe-mode):
2525 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2526
2527 * mail/feedmail.el (feedmail-confirm-outgoing)
2528 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2529
2530 * cus-start.el (truncate-partial-width-windows): Fix type.
2531
2532 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2533
2534 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2535
2536 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2537
2538 * emacs-lisp/timer.el (timer--time-setter): New function.
2539 (timer--time): Use it as gv-setter.
2540
2541 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2542 setter is not a symbol.
2543
2544 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2545
2546 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2547 if sending fails. This makes debugging easier.
2548
2549 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2550
2551 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2552 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2553 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2554
2555 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2556
2557 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2558
2559 2013-08-12 Glenn Morris <rgm@gnu.org>
2560
2561 * format.el (format-annotate-function):
2562 Handle read-only text properties in the source. (Bug#14887)
2563
2564 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2565
2566 * net/eww.el (eww-display-html): Ignore coding system errors.
2567 One web site uses "utf-8lias" as the coding system.
2568
2569 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2570
2571 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2572
2573 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2574
2575 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2576 (tutorial--detailed-help): Remove unused local variables.
2577 (tutorial--save-tutorial-to): Use ignore-errors.
2578 (help-with-tutorial): Use looking-at-p.
2579
2580 * view.el (view-buffer-other-window, view-buffer-other-frame):
2581 Mark unused arguments.
2582
2583 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2584 (woman-select-symbol-fonts, woman, woman-find-file)
2585 (woman-insert-file-contents, woman-non-underline-faces):
2586 Use string-match-p.
2587 (woman1-unquote): Move declaration.
2588
2589 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2590 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2591 argument. Remove unused local variable.
2592 (xml-parse-elem-type): Use string-match-p.
2593 (xml-substitute-numeric-entities): Use ignore-errors.
2594
2595 * calculator.el (calculator): Mark unused argument.
2596 (calculator-paste, calculator-quit, calculator-integer-p):
2597 Use ignore-errors.
2598 (calculator-string-to-number, calculator-decimal, calculator-exp)
2599 (calculator-op-or-exp): Use string-match-p.
2600
2601 * dired.el (dired-buffer-more-recently-used-p): Declare.
2602 (dired-insert-set-properties, dired-insert-old-subdirs):
2603 Use ignore-errors.
2604
2605 * dired-aux.el (dired-compress): Use ignore-errors.
2606 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2607 (dired-do-async-shell-command, dired-do-shell-command)
2608 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2609 (dired-insert-subdir-validate): Use string-match-p.
2610 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2611 (dired-add-entry): Use string-match-p, looking-at-p.
2612 (dired-insert-subdir-newpos): Remove unused local variable.
2613
2614 * filenotify.el (file-notify-callback): Remove unused local variable.
2615
2616 * filesets.el (filesets-error): Mark unused argument.
2617 (filesets-which-command-p, filesets-filter-dir-names)
2618 (filesets-directory-files, filesets-get-external-viewer)
2619 (filesets-ingroup-get-data): Use string-match-p.
2620
2621 * find-file.el (ff-other-file-name, ff-other-file-name)
2622 (ff-find-the-other-file, ff-cc-hh-converter):
2623 Remove unused local variables.
2624 (ff-get-file-name): Use string-match-p.
2625 (ff-all-dirs-under): Use ignore-errors.
2626
2627 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2628 (follow-select-if-visible): Remove unused local variable.
2629
2630 * forms.el (read-file-filter): Move declaration.
2631 (forms--make-format, forms--make-parser, forms-insert-record):
2632 Quote function with #'.
2633 (forms--update): Use string-match-p. Quote function with #'.
2634
2635 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2636 (help-make-xrefs): Use looking-at-p.
2637 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2638
2639 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2640 (ibuffer-confirm-operation-on): Use string-match-p.
2641
2642 * msb.el (msb-item-handler, msb-dired-item-handler):
2643 Mark unused arguments.
2644
2645 * ses.el (ses-decode-cell-symbol)
2646 (ses-kill-override): Remove unused local variable.
2647 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2648 (ses-load): Use ignore-errors, looking-at-p.
2649 (ses-jump-safe): Use ignore-errors.
2650 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2651
2652 * tabify.el (untabify, tabify): Mark unused arguments.
2653
2654 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2655 Mark unused argument.
2656 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2657 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2658
2659 * emacs-lisp/timer.el (timer--time): Define setter with
2660 gv-define-setter to avoid deprecation warning.
2661
2662 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2663 (*record-cmpl-statistics-p*): Remove (was commented out).
2664 (cmpl-statistics-block): Remove (body was commented out).
2665 All callers changed.
2666 (add-completions-from-buffer, load-completions-from-file):
2667 Remove unused variables.
2668
2669 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2670
2671 * filecache.el (file-cache-delete-file-list):
2672 Print message only when told so.
2673 (file-cache-files-matching): Use #' in mapconcat argument.
2674
2675 * ffap.el (ffap-url-at-point): Fix reference to variable
2676 thing-at-point-default-mail-uri-scheme.
2677
2678 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * subr.el (define-error): New function.
2681 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2682 error-file-not-found and define with define-error.
2683 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2684 and define with define-error.
2685 * userlock.el (file-locked, file-supersession):
2686 * simple.el (mark-inactive):
2687 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2688 * progmodes/ada-mode.el (ada-mode-errors):
2689 * play/life.el (life-extinct):
2690 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2691 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2692 * nxml/rng-util.el (rng-error):
2693 * nxml/rng-uri.el (rng-uri-error):
2694 * nxml/rng-match.el (rng-compile-error):
2695 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2696 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2697 * nxml/nxml-rap.el (nxml-scan-error):
2698 * nxml/nxml-outln.el (nxml-outline-error):
2699 * net/soap-client.el (soap-error):
2700 * net/gnutls.el (gnutls-error):
2701 * net/ange-ftp.el (ftp-error):
2702 * mpc.el (mpc-proc-error):
2703 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2704 (json-number-format, json-string-escape, json-string-format)
2705 (json-key-format, json-object-format):
2706 * jka-compr.el (compression-error):
2707 * international/quail.el (quail-error):
2708 * international/kkc.el (kkc-error):
2709 * emacs-lisp/ert.el (ert-test-failed):
2710 * calc/calc.el (calc-error, inexact-result, math-overflow)
2711 (math-underflow):
2712 * bookmark.el (bookmark-error-no-filename):
2713 * epg.el (epg-error): Define with define-error.
2714
2715 * time.el (display-time-event-handler)
2716 (display-time-next-load-average): Don't call sit-for since it seems
2717 unnecessary (bug#15045).
2718
2719 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2720 Use #' instead of ' to quote functions.
2721 (checkdoc-output-mode): Use setq-local.
2722 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2723 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2724 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2725 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2726 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2727 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2728 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2729 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2730
2731 * ido.el (ido-completion-help): Fix up compiler warning.
2732
2733 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2734
2735 * frameset.el (frameset-p): Add autoload cookie.
2736 (frameset--jump-to-register): New function, based on code moved from
2737 register.el.
2738 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2739
2740 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2741 (frameset-restore, frameset-save, frameset-session-filter-alist):
2742 Remove declarations.
2743 (register-alist): Doc fix.
2744 (frameset-to-register): Move to frameset.el.
2745 (jump-to-register, describe-register-1): Remove frameset-specific code.
2746
2747 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * allout-widgets.el (allout-widgets-pre-command-business)
2750 (allout-widgets-post-command-business)
2751 (allout-widgets-after-change-handler)
2752 (allout-decorate-item-and-context, allout-set-boundary-marker)
2753 (allout-body-modification-handler)
2754 (allout-graphics-modification-handler): Mark ignored arguments.
2755 (allout-widgets-post-command-business)
2756 (allout-widgets-exposure-change-processor)
2757 (allout-widgets-exposure-undo-processor)
2758 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2759 (allout-parse-item-at-point, allout-decorate-item-guides)
2760 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2761 * allout.el (epa-passphrase-callback-function): Declare.
2762 (allout-overlay-insert-in-front-handler)
2763 (allout-overlay-interior-modification-handler)
2764 (allout-isearch-end-handler, allout-chart-siblings)
2765 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2766 (allout-yank-processing, allout-process-exposed)
2767 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2768 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2769 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2770 (lisp-indent-defform): Mark ignored arguments.
2771 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2772 (calculate-lisp-indent): Remove unused variables.
2773 * international/characters.el (indian-2-column, arabic-2-column)
2774 (tibetan): Mark ignored arguments.
2775 (use-cjk-char-width-table): Mark ignored arguments.
2776 Remove unused variables.
2777 * international/fontset.el (build-default-fontset-data)
2778 (x-compose-font-name, create-fontset-from-fontset-spec):
2779 Mark ignored arguments.
2780 (fontset-plain-name): Remove unused variables.
2781 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2782 (keyboard-coding-system): Mark ignored arguments.
2783 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2784 * help.el (resize-temp-buffer-window):
2785 * window.el (display-buffer-in-major-side-window)
2786 (display-buffer-in-side-window, display-buffer-in-previous-window):
2787 Remove unused variables.
2788 * isearch.el (isearch-forward-symbol):
2789 * version.el (emacs-bzr-version-bzr):
2790 * international/mule-cmds.el (current-language-environment):
2791 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2792 (x-handle-display):
2793 * term/pc-win.el (x-list-fonts, x-display-planes)
2794 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2795 (x-server-version, x-display-screens, x-display-mm-height)
2796 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2797 (x-selection-owner-p, x-own-selection-internal)
2798 (x-disown-selection-internal, x-get-selection-internal)
2799 (msdos-initialize-window-system):
2800 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2801 * term/x-win.el (x-handle-no-bitmap-icon):
2802 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2803 (vc-default-find-file-hook, vc-default-extra-menu):
2804 Mark ignored arguments.
2805
2806 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2809 break-condition in the context of the debugged code (bug#12685).
2810
2811 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2812
2813 * comint.el:
2814 Do not use an overlay to highlight the last prompt. (Bug#14744)
2815 (comint-mode): Make comint-last-prompt buffer local.
2816 (comint-last-prompt): New variable.
2817 (comint-last-prompt-overlay): Remove. Superseded by
2818 comint-last-prompt.
2819 (comint-snapshot-last-prompt, comint-output-filter):
2820 Use comint-last-prompt.
2821
2822 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2823
2824 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2825 (frameset-save): Check validity of the resulting frameset.
2826
2827 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2828
2829 * ido.el (ido-record-command): Add doc string.
2830
2831 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2832
2833 * frameset.el (frameset): Do not disable creation of the default
2834 frameset-p predicate. Doc fix.
2835 (frameset-valid-p): New function, copied from the old predicate-p.
2836 Add additional checks.
2837 (frameset-restore): Check with frameset-valid-p.
2838 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2839 (frameset-name, frameset-description, frameset-properties)
2840 (frameset-states): Add docstring.
2841 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2842 (frameset-filter-alist): Doc fixes.
2843
2844 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2845
2846 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2847
2848 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2851 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2852 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2853 (byte-compile-normal-call): Remove obsolescence check.
2854
2855 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * frameset.el (frameset-restore): Doc fix.
2858
2859 * register.el (frameset-frame-id, frameset-frame-with-id)
2860 (frameset-p, frameset-restore, frameset-save): Declare.
2861 (register-alist): Document framesets.
2862 (frameset-session-filter-alist): Declare.
2863 (frameset-to-register): New function.
2864 (jump-to-register): Implement jumping to framesets. Doc fix.
2865 (describe-register-1): Describe framesets.
2866
2867 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2868
2869 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2872 Use lexical-binding.
2873
2874 * frameset.el (frameset): Use type vector, not list (incompatible
2875 change). Do not declare a new constructor, use the default one.
2876 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2877 `name' and `description', respectively, and add read-only slot
2878 `timestamp'. Doc fixes.
2879 (frameset-copy, frameset-persistent-filter-alist)
2880 (frameset-filter-alist, frameset-switch-to-gui-p)
2881 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2882 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2883 (frameset-filter-iconified, frameset-keep-original-display-p):
2884 Doc fixes.
2885 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2886 Rename from frameset-filter-(save|restore)-param. All callers changed.
2887 Doc fix.
2888 (frameset-p): Adapt to change to vector and be more thorough.
2889 Change arg name to OBJECT. Doc fix.
2890 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2891 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2892 All callers changed.
2893 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2894 All callers changed.
2895 (frameset--record-minibuffer-relationships): Rename from
2896 frameset--process-minibuffer-frames. All callers changed.
2897 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2898 Use new default constructor (again). Doc fix.
2899 (frameset--find-frame-if): Rename from `frameset--find-frame.
2900 All callers changed.
2901 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2902 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2903 Doc fix.
2904 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2905 PARAMETERS and WINDOW-STATE, respectively.
2906 (frameset-restore): Add new keyword argument PREDICATE.
2907 Reset frameset--target-display to nil. Doc fix.
2908
2909 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2912 (bat-mode): Use it.
2913 (bat-mode-syntax-table): Mark \n as end-of-comment.
2914 (bat-font-lock-keywords): Remove comment rule.
2915
2916 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2917 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2918
2919 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2920 (byte-compile-callargs-warn): Use `push'.
2921 (byte-compile-arglist-warn): Ignore higher-order "calls".
2922 (byte-compile-file-form-autoload): Use `pcase'.
2923 (byte-compile-function-form): If quoting a symbol, check that it exists.
2924
2925 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2926
2927 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2928 and add a few popular commands found in batch files.
2929 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2930 (dos-mode): Doc fixes.
2931
2932 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2935 (dos-mode): Use setq-local. Add space after "rem".
2936 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2937 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2938
2939 2013-08-07 Arni Magnusson <arnima@hafro.is>
2940
2941 * progmodes/dos.el: New file.
2942 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2943 dos-mode.
2944
2945 2013-08-06 Glenn Morris <rgm@gnu.org>
2946
2947 * calendar/calendar.el: Add new faces, and day-header-array.
2948 (calendar-weekday-header, calendar-weekend-header)
2949 (calendar-month-header): New faces.
2950 (calendar-day-header-construct): New function.
2951 (calendar-day-header-width): Also :set calendar-day-header-array.
2952 (calendar-american-month-header, calendar-european-month-header)
2953 (calendar-iso-month-header): Use calendar- faces.
2954 (calendar-generate-month):
2955 Use calendar-day-header-array for day headers; apply faces to them.
2956 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2957 (calendar-abbrev-construct): Add optional maxlen argument.
2958 (calendar-day-name-array): Doc fix.
2959 (calendar-day-name-array, calendar-abbrev-length)
2960 (calendar-day-abbrev-array):
2961 Also :set calendar-day-header-array, and maybe redraw.
2962 (calendar-day-header-array): New option. (Bug#15007)
2963 (calendar-font-lock-keywords): Set to nil and make obsolete.
2964 (calendar-day-name): Add option to use header array.
2965
2966 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2967
2968 * net/shr.el (shr-render-td): Remove debugging.
2969 (shr-render-td): Make width computation consistent by defaulting
2970 all zero-width columns to 10 characters. This may not be optimal,
2971 but it's at least consistent.
2972 (shr-make-table-1): Redo last change to fix the real problem in
2973 colspan handling.
2974
2975 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2976
2977 * files.el (cache-long-line-scans):
2978 Make obsolete alias to `cache-long-scans'.
2979
2980 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2981
2982 * frameset.el (frameset, frameset-filter-alist)
2983 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2984 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2985 (frameset-compute-pos): Rename from frameset--compute-pos,
2986 and add docstring.
2987 (frameset-move-onscreen): Use frameset-compute-pos.
2988 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2989
2990 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2991 Fix typos in docstrings.
2992
2993 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2994
2995 * frame.el (get-other-frame): Tiny cleanup.
2996
2997 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2998
2999 * vc/vc.el (vc-default-ignore-completion-table):
3000 Silence byte-compiler warning.
3001
3002 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3003 slot , which can indeed be nil.
3004 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3005 Move entry for `left' from persistent to live filter alist.
3006 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3007 Doc fixes.
3008 (frameset-filter-params): When restoring a frame, copy items added to
3009 `filtered', to avoid unwittingly modifying the original parameters.
3010 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3011 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3012
3013 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3014 to use looking-at-p instead of looking-at. (Bug#15028)
3015
3016 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 Revert introduction of isearch-filter-predicates (bug#14714).
3019 Rely on add-function instead.
3020 * isearch.el (isearch-filter-predicates): Rename it back to
3021 isearch-filter-predicate.
3022 (isearch-message-prefix): Use advice-function-mapc and advice
3023 properties to get the isearch-message-prefix.
3024 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3025 instead of run-hook-with-args-until-failure.
3026 (isearch-filter-visible): Not obsolete any more.
3027 * loadup.el: Preload nadvice.
3028 * replace.el (perform-replace): Revert to funcall
3029 instead of run-hook-with-args-until-failure.
3030 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3031 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3032 dired-isearch-filenames-toggle; make it into a proper minor mode.
3033 Use add/remove-function.
3034 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3035 Call the minor-mode rather than add/remove-hook.
3036 (dired-isearch-filter-filenames):
3037 Remove isearch-message-prefix property.
3038 * info.el (Info--search-loop): New function, extracted from Info-search.
3039 Funcall isearch-filter-predicate instead of
3040 run-hook-with-args-until-failure isearch-filter-predicates.
3041 (Info-search): Use it.
3042 (Info-mode): Use isearch-filter-predicate instead of
3043 isearch-filter-predicates.
3044
3045 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3046
3047 Do not call to `selected-window' where it is assumed by default.
3048 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3049 `window-hscroll', `window-width', `window-height', `window-buffer',
3050 `window-frame', `window-start', `window-point', `next-window'
3051 and `window-display-table'.
3052 * abbrev.el (abbrev--default-expand):
3053 * bs.el (bs--show-with-configuration):
3054 * buff-menu.el (Buffer-menu-mouse-select):
3055 * calc/calc.el (calc):
3056 * calendar/calendar.el (calendar-generate-window):
3057 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3058 (diary-make-entry):
3059 * comint.el (send-invisible, comint-dynamic-complete-filename)
3060 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3061 * completion.el (complete):
3062 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3063 * disp-table.el (describe-current-display-table):
3064 * doc-view.el (doc-view-insert-image):
3065 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3066 * ehelp.el (with-electric-help):
3067 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3068 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3069 * emacs-lisp/helper.el (Helper-help-scroller):
3070 * emulation/cua-base.el (cua--post-command-handler-1):
3071 * eshell/esh-mode.el (eshell-output-filter):
3072 * ffap.el (ffap-gnus-wrapper):
3073 * help-macro.el (make-help-screen):
3074 * hilit-chg.el (highlight-compare-buffers):
3075 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3076 * hl-line.el (global-hl-line-highlight):
3077 * icomplete.el (icomplete-simple-completing-p):
3078 * isearch.el (isearch-done):
3079 * jit-lock.el (jit-lock-stealth-fontify):
3080 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3081 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3082 * mpc.el (mpc-tagbrowser, mpc):
3083 * net/rcirc.el (rcirc-any-buffer):
3084 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3085 * play/landmark.el (landmark-max-width, landmark-max-height):
3086 * play/zone.el (zone):
3087 * progmodes/compile.el (compilation-goto-locus):
3088 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3089 * progmodes/etags.el (find-tag-other-window):
3090 * progmodes/fortran.el (fortran-column-ruler):
3091 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3092 * progmodes/verilog-mode.el (verilog-point-text):
3093 * reposition.el (reposition-window):
3094 * rot13.el (toggle-rot13-mode):
3095 * server.el (server-switch-buffer):
3096 * shell.el (shell-dynamic-complete-command)
3097 (shell-dynamic-complete-environment-variable):
3098 * simple.el (insert-buffer, set-selective-display)
3099 (delete-completion-window):
3100 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3101 (speedbar-recenter):
3102 * startup.el (fancy-splash-head):
3103 * textmodes/ispell.el (ispell-command-loop):
3104 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3105 * tutorial.el (help-with-tutorial):
3106 * vc/add-log.el (add-change-log-entry):
3107 * vc/compare-w.el (compare-windows):
3108 * vc/ediff-help.el (ediff-indent-help-message):
3109 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3110 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3111 (ediff-setup-control-frame):
3112 * vc/emerge.el (emerge-position-region):
3113 * vc/pcvs-util.el (cvs-bury-buffer):
3114 * window.el (walk-windows, mouse-autoselect-window-select):
3115 * winner.el (winner-set-conf, winner-undo): Related users changed.
3116
3117 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3118
3119 * frameset.el (frameset--set-id): Doc fix.
3120 (frameset-frame-id, frameset-frame-id-equal-p)
3121 (frameset-locate-frame-id): New functions.
3122 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3123 (frameset-restore): Use them.
3124
3125 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3126
3127 Do not call to `selected-frame' where it is assumed by default.
3128 Affected functions are `raise-frame', `redraw-frame',
3129 `frame-first-window', `frame-terminal' and `delete-frame'.
3130 * calendar/appt.el (appt-disp-window):
3131 * epg.el (epg-wait-for-completion):
3132 * follow.el (follow-delete-other-windows-and-split)
3133 (follow-avoid-tail-recenter):
3134 * international/mule.el (set-terminal-coding-system):
3135 * mail/rmail.el (rmail-mail-return):
3136 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3137 * progmodes/f90.el (f90-add-imenu-menu):
3138 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3139 * server.el (server-switch-buffer):
3140 * simple.el (delete-completion-window):
3141 * talk.el (talk):
3142 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3143 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3144 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3145 * vc/ediff.el (ediff-documentation): Related users changed.
3146 * frame.el (selected-terminal): Remove the leftover.
3147
3148 2013-08-05 Glenn Morris <rgm@gnu.org>
3149
3150 * calendar/calendar.el (calendar-generate-month):
3151 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3152 (calendar-generate-month, calendar-font-lock-keywords):
3153 Fix for calendar-day-header-width > length of any day name.
3154
3155 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3156
3157 * desktop.el (desktop-clear): Use new name of sort predicate.
3158
3159 * frameset.el (frameset): Add docstring. Move :version property to its
3160 own `version' slot.
3161 (frameset-copy): Rename from copy-frameset.
3162 (frameset-p): Check more thoroughly.
3163 (frameset-prop): Do not check for :version, which is no longer a prop.
3164 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3165 Use new :never value instead of t.
3166 (frameset-filter-alist): Expand and clarify docstring.
3167 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3168 (frameset-filter-minibuffer, frameset-filter-save-param)
3169 (frameset-filter-restore-param, frameset-filter-iconified):
3170 Add pointer to docstring of frameset-filter-alist.
3171 (frameset-filter-params): Rename filter values to be more meaningful:
3172 :never instead of t, and reverse the meanings of :save and :restore.
3173 (frameset--process-minibuffer-frames): Clarify error message.
3174 (frameset-save): Avoid unnecessary and confusing call to framep.
3175 Use new BOA constructor for framesets.
3176 (frameset--reuse-list): Doc fix.
3177 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3178 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3179 (frameset-minibufferless-first-p): Doc fix.
3180 Rename from frameset-sort-frames-for-deletion.
3181 (frameset-restore): Doc fixes. Use new function names.
3182 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3183
3184 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3185
3186 * desktop.el (desktop-restore-forces-onscreen)
3187 (desktop-restore-reuses-frames): Document :keyword constant values.
3188 (desktop-filter-parameters-alist): Remove, now identical to
3189 frameset-filter-alist.
3190 (desktop--filter-tty*): Remove, moved to frameset.el.
3191 (desktop-save-frameset, desktop-restore-frameset):
3192 Do not pass :filters argument.
3193
3194 * frameset.el (frameset-live-filter-alist)
3195 (frameset-persistent-filter-alist): New variables.
3196 (frameset-filter-alist): Use them. Add autoload cookie.
3197 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3198 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3199 `frameset--id' (it's supposed to be internal to frameset.el).
3200 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3201 (frameset--initial-params): New function.
3202 (frameset--get-frame): Use it. Doc fix.
3203 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3204 Accept :all, not 'all.
3205 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3206 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3207 with fbound symbols. Fix frame id matching, and remove matching ids if
3208 the frame being restored is deleted. Obey :delete.
3209
3210 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3211
3212 * subr.el (macrop): New function.
3213 (text-clone--maintaining): New var.
3214 (text-clone--maintain): Rename from text-clone-maintain. Use it
3215 instead of inhibit-modification-hooks.
3216
3217 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3218 a proxy, so as handle autoloads and redefinitions of the target.
3219 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3220
3221 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3222 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3223 (pcase--mutually-exclusive-p): New function.
3224 (pcase--split-consp): Use it.
3225 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3226 mutually exclusive with the current predicate.
3227
3228 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3229 (edebug-macrop): Remove. Use `macrop' instead.
3230 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3231 (ad-macro-p):
3232 * eshell/esh-cmd.el (eshell-macrop):
3233 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3234
3235 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3238 (advice-mapc): New function, using it.
3239 (advice-function-member-p): New function.
3240 (advice--normalize): Store the cdr in advice--saved-rewrite since
3241 that's the part that will be changed.
3242 (advice--symbol-function): New function.
3243 (advice-remove): Handle removal before the function is defined.
3244 Adjust to new advice--saved-rewrite.
3245 (advice-member-p): Use advice-function-member-p and
3246 advice--symbol-function.
3247
3248 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3249
3250 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3251 (frameset-filter-minibuffer): Doc fix.
3252 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3253 (frameset--set-id, frameset--process-minibuffer-frames)
3254 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3255 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3256
3257 * desktop.el (desktop-clear): Only delete frames when called
3258 interactively and desktop-restore-frames is non-nil. Doc fix.
3259 (desktop-read): Set desktop-saved-frameset to nil.
3260
3261 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3262
3263 * vc/vc.el (vc-ignore): Rewrite.
3264 (vc-default-ignore-completion-table):
3265 (vc--read-lines):
3266 (vc--add-line, vc--remove-regexp): New functions.
3267
3268 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3269 (vc-svn-ignore-completion-table): New function.
3270
3271 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3272 (vc-hg-ignore-completion-table):
3273 (vc-hg-find-ignore-file): New functions.
3274
3275 * vc/vc-git.el (vc-git-ignore): Rewrite.
3276 (vc-git-ignore-completion-table):
3277 (vc-git-find-ignore-file): New functions.
3278
3279 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3280
3281 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3282 (vc-bzr-ignore-completion-table):
3283 (vc-bzr-find-ignore-file): New functions.
3284
3285 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * frameset.el (frameset-prop): New function and setter.
3288 (frameset-save): Do not modify frame list passed by the caller.
3289
3290 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3293
3294 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3297 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3298
3299 * custom.el (custom-initialize-default, custom-initialize-set)
3300 (custom-initialize-reset, custom-initialize-changed): Affect the
3301 toplevel-default-value (bug#6275, bug#14586).
3302 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3303 for bug#6275.
3304
3305 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3306
3307 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3308 Add cl-def* expressions.
3309
3310 * frameset.el (frameset-filter-params): Fix order of arguments.
3311
3312 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3313
3314 Move code related to saving frames to frameset.el.
3315 * desktop.el: Require frameset.
3316 (desktop-restore-frames): Doc fix.
3317 (desktop-restore-reuses-frames): Rename from
3318 desktop-restoring-reuses-frames.
3319 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3320 (desktop-clear): Clear frames too.
3321 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3322 (desktop--filter-tty*, desktop-save, desktop-read):
3323 Use frameset functions.
3324 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3325 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3326 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3327 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3328 (desktop--process-minibuffer-frames, desktop-save-frames)
3329 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3330 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3331 (desktop--sort-states, desktop-restoring-frames-p)
3332 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3333 (desktop-restoring-frameset-p, desktop-restore-frameset)
3334 (desktop--check-dont-save, desktop-save-frameset): New functions.
3335 (desktop--app-id): New constant.
3336 (desktop-first-buffer, desktop-buffer-ok-count)
3337 (desktop-buffer-fail-count): Move before first use.
3338 * frameset.el: New file.
3339
3340 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * files.el: Use lexical-binding.
3343 (dir-locals-read-from-file): Remove unused `err' variable.
3344 (hack-dir-local-variables--warned-coding): New var.
3345 (hack-dir-local-variables): Use it to avoid repeated warnings.
3346 (make-backup-file-name--default-function): New function.
3347 (make-backup-file-name-function): Use it as default.
3348 (buffer-stale--default-function): New function.
3349 (buffer-stale-function): Use it as default.
3350 (revert-buffer-insert-file-contents--default-function): New function.
3351 (revert-buffer-insert-file-contents-function): Use it as default.
3352 (insert-directory): Avoid add-to-list.
3353
3354 * autorevert.el (auto-revert-handler): Simplify.
3355 Use buffer-stale--default-function.
3356
3357 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3358
3359 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3360
3361 * whitespace.el (whitespace-ensure-local-variables): New function.
3362 (whitespace-cleanup-region): Call it.
3363 (whitespace-turn-on): Call it.
3364
3365 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3366
3367 Complete file name handlers.
3368
3369 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3370 (tramp-handle-verify-visited-file-modtime)
3371 (tramp-handle-file-notify-rm-watch): New functions.
3372 (tramp-call-process): Do not bind `default-directory'.
3373
3374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3375 Order alphabetically.
3376 [access-file, add-name-to-file, dired-call-process]:
3377 [dired-compress-file, file-acl, file-notify-rm-watch]:
3378 [file-ownership-preserved-p, file-selinux-context]:
3379 [make-directory-internal, make-symbolic-link, set-file-acl]:
3380 [set-file-selinux-context, set-visited-file-modtime]:
3381 [verify-visited-file-modtime]: Add handler.
3382 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3383
3384 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3385 [file-notify-add-watch, file-notify-rm-watch]:
3386 [set-file-times, set-visited-file-modtime]:
3387 [verify-visited-file-modtime]: Add handler.
3388 (with-tramp-gvfs-error-message)
3389 (tramp-gvfs-handle-set-visited-file-modtime)
3390 (tramp-gvfs-fuse-file-name): Remove.
3391 (tramp-gvfs-handle-file-notify-add-watch)
3392 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3393 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3394
3395 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3396 Order alphabetically.
3397 [file-notify-rm-watch ]: Use default Tramp handler.
3398 [executable-find]: Remove private handler.
3399 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3400 `default-directory'.
3401 (tramp-sh-handle-executable-find)
3402 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3403 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3404 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3405 Do not use `format' in `tramp-message'.
3406
3407 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3408 [file-notify-rm-watch, set-visited-file-modtime]:
3409 [verify-visited-file-modtime]: Add handler.
3410 (tramp-smb-call-winexe): Do not bind `default-directory'.
3411
3412 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3413
3414 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3415
3416 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3417
3418 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3419 use it.
3420 (log-view-diff-changeset): Same.
3421 (log-view-diff-common): Call backend command `previous-revision'
3422 to find out the previous revision, in both cases. Swap the
3423 variables `to' and `fr', so that `fr' usually refers to the
3424 earlier revision (Bug#14989).
3425
3426 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3427
3428 * ibuf-ext.el (ibuffer-filter-by-filename):
3429 Make it work with dired buffers too.
3430
3431 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3432
3433 * emacs-lisp/re-builder.el (reb-color-display-p):
3434 * files.el (save-buffers-kill-terminal):
3435 * net/browse-url.el (browse-url):
3436 * server.el (server-save-buffers-kill-terminal):
3437 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3438 Prefer nil to selected-frame for the first arg of frame-parameter.
3439
3440 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3441
3442 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3443
3444 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3445
3446 * minibuffer.el (completion--twq-all): Try and preserve each
3447 completion's case choice (bug#14907).
3448
3449 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3450
3451 * net/network-stream.el (open-network-stream): Mention the new
3452 :nogreeting parameter.
3453 (network-stream-open-starttls): Use the :nogreeting parameter
3454 (bug#14938).
3455
3456 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3457
3458 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3459 more natural than popping.
3460
3461 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3462 (shr-urlify): Highlight under mouse.
3463
3464 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3465
3466 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3467
3468 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3469
3470 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3471 buffer for output.
3472
3473 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3474 point-min==1. Fix search string. Fix parentheses missing.
3475
3476 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3477 assume point-min==1. Fix search string. Fix parentheses missing.
3478
3479 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3480
3481 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3482 buffer for output.
3483
3484 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3485
3486 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3487 initial frame is minibuffer-less. (Bug#14841)
3488
3489 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3492 option.
3493
3494 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3495 (tramp-maybe-open-connection): Use it.
3496
3497 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3498
3499 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3500 minimal set of parameters passed when creating a frame, because
3501 the minibuffer status of a frame cannot be changed later.
3502
3503 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3504
3505 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3506 replace-regexp-in-string and inadvertent omissions in previous change.
3507 (todo-filter-items): Ensure only file names are comma-separated in
3508 name of filtered items buffer.
3509
3510 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3511
3512 * desktop.el: Optionally force offscreen frames back onscreen.
3513 (desktop-restoring-reuses-frames): New option.
3514 (desktop--compute-pos, desktop--move-onscreen): New functions.
3515 (desktop--make-frame): Use desktop--move-onscreen.
3516
3517 2013-07-27 Alan Mackenzie <acm@muc.de>
3518
3519 Fontify a Java generic method as a function.
3520 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3521 value to t.
3522
3523 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3524
3525 * calendar/todo-mode.el: Add command to rename todo files.
3526 (todo-rename-file): New command.
3527 (todo-key-bindings-t): Add key binding for it. Change the
3528 bindings of todo-filter-regexp-items(-multifile) to use `x'
3529 instead of `r', since the latter is better suited to the new
3530 renaming command.
3531
3532 2013-07-27 Alan Mackenzie <acm@muc.de>
3533
3534 Make Java try-with-resources statement parse properly.
3535 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3536 (c-block-stmt-1-2-key): New language constants/variables.
3537 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3538 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3539 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3540 with c-block-stmt-1-2-key.
3541
3542 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3543
3544 * desktop.el (desktop--make-frame): Apply most frame parameters after
3545 creating the frame to force (partially or totally) offscreen frames to
3546 be restored as such.
3547
3548 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3549
3550 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3551 (Bug#14948)
3552
3553 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3554
3555 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3556 `base' arg of backtrace-frame.
3557
3558 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3559
3560 * simple.el (list-processes): Doc fix.
3561
3562 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3563
3564 * desktop.el (desktop--select-frame):
3565 Try harder to reuse existing frames.
3566
3567 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3570 (edebug-eval): Use backtrace-eval.
3571 (edebug--display, edebug--recursive-edit): Don't let-bind the
3572 edebug-outer-* vars that keep track of variables we locally let-bind.
3573 (edebug-outside-excursion): Don't restore outside values of locally
3574 let-bound vars.
3575 (edebug--display): Use user-error.
3576 (cl-lexical-debug, cl-debug-env): Remove.
3577
3578 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3579
3580 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3581 are restored to be sure that they are visible before deleting any
3582 remaining ones.
3583
3584 2013-07-26 Matthias Meulien <orontee@gmail.com>
3585
3586 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3587 vc-print-root-log. (Bug#14948)
3588
3589 2013-07-26 Richard Stallman <rms@gnu.org>
3590
3591 Add aliases for encrypting mail.
3592 * epa.el (epa-mail-aliases): New option.
3593 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3594 Bind inhibit-read-only so read-only text doesn't ruin everything.
3595 (epa-mail-default-recipients): New subroutine broken out.
3596 Handle epa-mail-aliases.
3597
3598 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 Add support for lexical variables to the debugger's `e' command.
3601 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3602 vars, except for debugger-outer-match-data.
3603 (debugger-frame-number): Move check for "on a function call" from
3604 callers into it. Add `skip-base' argument.
3605 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3606 (debugger-env-macro): Only reset the state stored in non-variables,
3607 i.e. current-buffer and match-data.
3608 (debugger-eval-expression): Rewrite using backtrace-eval.
3609 * subr.el (internal--called-interactively-p--get-frame): Remove.
3610 (called-interactively-p):
3611 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3612 `base' arg of backtrace-frame instead.
3613
3614 2013-07-26 Glenn Morris <rgm@gnu.org>
3615
3616 * align.el (align-regexp): Doc fix. (Bug#14857)
3617 (align-region): Explicit error if subexpression missing/does not match.
3618
3619 * simple.el (global-visual-line-mode):
3620 Do not duplicate the mode lighter. (Bug#14858)
3621
3622 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3623
3624 * window.el (display-buffer): In display-buffer bind
3625 split-window-keep-point to t, bug#14829.
3626
3627 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3628
3629 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3630 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3631 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3632 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3633 Change accordingly.
3634 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3635 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3636
3637 2013-07-25 Glenn Morris <rgm@gnu.org>
3638
3639 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3640
3641 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3642
3643 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3644 parameter to modify-frame-parameters if the value has not changed;
3645 this is a workaround for bug#14949.
3646 (desktop--make-frame): On cl-delete-if call, check parameter name,
3647 not full parameter.
3648
3649 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3650
3651 * vc/vc.el (vc-ignore): New function.
3652
3653 * vc/vc-svn.el (vc-svn-ignore): New function.
3654
3655 * vc/vc-hg.el (vc-hg-ignore): New function.
3656
3657 * vc/vc-git.el (vc-git-ignore): New function.
3658
3659 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3660 (vc-dir-ignore): New function.
3661
3662 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3663 (cvs-append-to-ignore): Move here from pcvs.el.
3664
3665 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3666
3667 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3668
3669 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3670
3671 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3672 (desktop-restore-frames): Warn when deleting an existing frame failed.
3673
3674 2013-07-24 Glenn Morris <rgm@gnu.org>
3675
3676 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3677
3678 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * filenotify.el (file-notify-supported-p):
3681 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3682 Remove functions.
3683
3684 * autorevert.el (auto-revert-use-notify):
3685 (auto-revert-notify-add-watch):
3686 * net/tramp.el (tramp-file-name-for-operation):
3687 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3688 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3689 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3690 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3691 Remove `file-notify-supported-p' entry.
3692
3693 2013-07-24 Glenn Morris <rgm@gnu.org>
3694
3695 * printing.el: Replace all uses of deleted ps-windows-system,
3696 ps-lp-system, ps-flatten-list with lpr- versions.
3697
3698 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3701 checked with memq (bug#14935).
3702
3703 * files.el (revert-buffer-function): Use a non-nil default.
3704 (revert-buffer-preserve-modes): Declare var to
3705 provide access to the `preserve-modes' argument.
3706 (revert-buffer): Let-bind it.
3707 (revert-buffer--default): New function, extracted from revert-buffer.
3708
3709 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * lpr.el: Signal print errors more prominently.
3712 (print-region-function): Don't default to nil.
3713 (lpr-print-region): New function, extracted from print-region-1.
3714 Check lpr's return value and signal an error in case of problem.
3715 (print-region-1): Use it.
3716 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3717 versions instead.
3718 (ps-printer-name): Default to nil.
3719 (ps-printer-name-option): Default to lpr-printer-switch.
3720 (ps-print-region-function): Don't default to nil.
3721 (ps-postscript-code-directory): Simplify default.
3722 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3723 (ps-string-list, ps-eval-switch, ps-flatten-list)
3724 (ps-flatten-list-1): Remove.
3725 (ps-multibyte-buffer): Avoid setq.
3726 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3727 (print-region-function, ps-print-region-function): Don't set them here.
3728
3729 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3730
3731 * ido.el (ido-fractionp):
3732 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3733 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3734 (ido-max-directory-size, ido-max-dir-file-cache)
3735 (ido-decorations): Doc fix.
3736
3737 * ansi-color.el: Fix old URL.
3738
3739 2013-07-23 Michael R. Mauger <michael@mauger.com>
3740
3741 * progmodes/sql.el: Version 3.3
3742 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3743 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3744 (sql-interactive-remove-continuation-prompt): Rewrite, use
3745 functions above. Fix continuation prompt and complete output line
3746 handling.
3747 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3748 redirected output buffer.
3749 (sql-mode): Restore deleted code (Bug#13591).
3750
3751 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3752
3753 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3754
3755 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3756
3757 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3758
3759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3762
3763 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * desktop.el (desktop-clear): Simplify; remove useless checks
3766 against invalid buffer names.
3767 (desktop-list*): Use cl-list*.
3768 (desktop-buffer-info, desktop-create-buffer): Simplify.
3769
3770 2013-07-23 Leo Liu <sdl.web@gmail.com>
3771
3772 * bookmark.el (bookmark-make-record): Restore NAME as a default
3773 value. (Bug#14933)
3774
3775 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3778 extracted from autoload--insert-text.
3779 (autoload--insert-text): Remove.
3780 (autoload--print-cookie-text): New function, extracted from
3781 autoload--insert-cookie-text.
3782 (autoload--insert-cookie-text): Remove.
3783 (autoload-generate-file-autoloads): Adjust calls accordingly.
3784
3785 * winner.el (winner-hook-installed-p): Remove.
3786 (winner-mode): Simplify accordingly.
3787
3788 * subr.el (add-to-list): Fix compiler-macro when `append' is
3789 not constant. Don't use `cl-member' for the base case.
3790
3791 * progmodes/subword.el: Fix boundary case (bug#13758).
3792 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3793 own group.
3794 (subword-backward-regexp): Make it a constant.
3795 (subword-forward-internal): Don't treat a trailing capital as the
3796 beginning of a word.
3797
3798 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3799
3800 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3801 global value of tabulated-list-revert-hook (bug#14930).
3802
3803 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3804
3805 * desktop.el: Require 'cl-lib.
3806 (desktop-before-saving-frames-functions): New hook.
3807 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3808 for frames being saved. Rename from desktop--save-minibuffer-frames.
3809 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3810 Do not save frames with non-nil `desktop-dont-save' parameter.
3811 Filter out deleted frames.
3812 (desktop--find-frame): Use cl-find-if.
3813 (desktop--select-frame): Use cl-(first|second|third) to access values
3814 of desktop-mini.
3815 (desktop--make-frame): Use cl-delete-if.
3816 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3817 (desktop-restore-frames): Use cl-(first|second|third) to access values
3818 of desktop-mini. Look for visible frame at the end, not while
3819 restoring frames.
3820
3821 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3822 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3823 Use string-match-p, looking-at-p (bug#14927).
3824
3825 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3826
3827 * desktop.el (desktop-saved-frame-states):
3828 Rename from desktop--saved-states; all users changed.
3829 (desktop-save-frames): Rename from desktop--save-frames.
3830 Do not save state to desktop file.
3831 (desktop-save): Save desktop-saved-frame-states to desktop file
3832 and reset to nil.
3833 (desktop-restoring-frames-p): New function.
3834 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3835 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3836 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3837
3838 * desktop.el: Correctly restore iconified frames.
3839 (desktop--filter-iconified-position): New function.
3840 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3841
3842 2013-07-20 Glenn Morris <rgm@gnu.org>
3843
3844 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3845 Let `message' do the formatting.
3846 (def-gdb-preempt-display-buffer): Add explicit format.
3847
3848 * image-dired.el (image-dired-track-original-file):
3849 Use with-current-buffer.
3850 (image-dired-track-thumbnail): Use with-current-buffer.
3851 Avoid changing point of wrong window.
3852
3853 * image-dired.el (image-dired-track-original-file):
3854 Avoid changing point of wrong window. (Bug#14909)
3855
3856 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3857
3858 * progmodes/gdb-mi.el (gdb-done-or-error):
3859 Guard against "%" in gdb output. (Bug#14127)
3860
3861 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3862
3863 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3864 (Bug#14826)
3865
3866 * international/mule.el (coding-system-iso-2022-flags): Fix last
3867 change.
3868
3869 2013-07-20 Kenichi Handa <handa@gnu.org>
3870
3871 * international/mule.el (coding-system-iso-2022-flags):
3872 Add `8-bit-level-4'. (Bug#8522)
3873
3874 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875
3876 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3877 (bug#14815).
3878
3879 * net/eww.el (eww-process-text-input): Allow inputting when the
3880 point is at the start of the line, as the properties aren't
3881 front-sticky.
3882
3883 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3884 degenerate widths.
3885
3886 2013-07-19 Richard Stallman <rms@gnu.org>
3887
3888 * epa.el (epa-popup-info-window): Doc fix.
3889
3890 * subr.el (split-string): New arg TRIM.
3891
3892 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3893
3894 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3895 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3896
3897 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * filenotify.el (file-notify--library): Rename from
3900 `file-notify-support'. Do not autoload. Adapt all uses.
3901 (file-notify-supported-p): New defun.
3902
3903 * autorevert.el (auto-revert-use-notify):
3904 Use `file-notify-supported-p' instead of `file-notify-support'.
3905 Adapt docstring.
3906 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3907
3908 * net/tramp.el (tramp-file-name-for-operation):
3909 Add `file-notify-supported-p'.
3910
3911 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3912 New defun.
3913 (tramp-sh-file-name-handler-alist): Add it as handler for
3914 `file-notify-supported-p '.
3915
3916 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3919 Add `ignore' as handler for `file-notify-*' functions.
3920
3921 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3922
3923 * simple.el (line-move-partial, line-move): Don't start vscroll or
3924 scroll-up if the current line is not taller than the window.
3925 (Bug#14881)
3926
3927 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3928
3929 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3930 highlight question marks in the method names as strings.
3931 (ruby-block-beg-keywords): Inline.
3932 (ruby-font-lock-keyword-beg-re): Extract from
3933 `ruby-font-lock-keywords'.
3934
3935 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3936
3937 * frame.el (blink-cursor-blinks): New defcustom.
3938 (blink-cursor-blinks-done): New defvar.
3939 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3940 (blink-cursor-timer-function): Check if number of blinks has been
3941 done on X and NS.
3942 (blink-cursor-suspend, blink-cursor-check): New defuns.
3943
3944 2013-07-15 Glenn Morris <rgm@gnu.org>
3945
3946 * edmacro.el (edmacro-format-keys): Fix previous change.
3947
3948 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3949
3950 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3951 The hack didn't work outside English locales anyway.
3952
3953 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3954
3955 * simple.el (define-alternatives): Rename from alternatives-define,
3956 per RMS' suggestion.
3957
3958 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3959
3960 * desktop.el (desktop-restore-frames): Change default to t.
3961 (desktop-restore-in-current-display): Now offer more options.
3962 (desktop-restoring-reuses-frames): New customization option.
3963 (desktop--saved-states): Doc fix.
3964 (desktop-filter-parameters-alist): New variable, renamed and expanded
3965 from desktop--excluded-frame-parameters.
3966 (desktop--target-display): New variable.
3967 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3968 (desktop--filter-tty*, desktop--filter-*-color)
3969 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3970 (desktop--filter-save-desktop-parm)
3971 (desktop-restore-in-original-display-p): New functions.
3972 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3973 (desktop--save-minibuffer-frames): New function, inspired by a similar
3974 function from Martin Rudalics.
3975 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3976 (desktop--restore-in-this-display-p): Remove.
3977 (desktop--find-frame): Rename from desktop--find-frame-in-display
3978 and add predicate argument.
3979 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3980 (desktop--reuse-list): New variable.
3981 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3982 New functions.
3983 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3984
3985 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3988
3989 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3990
3991 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3992 Highlight conversion methods on Kernel.
3993
3994 2013-07-13 Alan Mackenzie <acm@muc.de>
3995
3996 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3997 and comment it out. This out-commenting enables certain C++
3998 declarations to be parsed correctly.
3999
4000 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4001
4002 * international/mule.el (define-coding-system): Doc fix.
4003
4004 * simple.el (default-font-height): Don't call font-info if the
4005 frame's default font didn't change since the frame was created.
4006 (Bug#14838)
4007
4008 2013-07-13 Leo Liu <sdl.web@gmail.com>
4009
4010 * ido.el (ido-read-file-name): Guard against non-symbol value.
4011
4012 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4013
4014 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4015 in nested defuns.
4016
4017 2013-07-13 Leo Liu <sdl.web@gmail.com>
4018
4019 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4020 ido-set-matches call. (Bug#6852)
4021
4022 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4023
4024 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4025 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4026 Ruby 2.0.
4027 (ruby-font-lock-keywords): Distinguish calls to functions with
4028 module-like names from module references. Highlight character
4029 literals.
4030
4031 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4032
4033 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4034 (gdb-send): Handle continued commands. (Bug#14847)
4035
4036 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4037
4038 * desktop.el (desktop--v2s): Remove unused local variable.
4039 (desktop-save-buffer): Make defvar-local; adjust docstring.
4040 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4041 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4042
4043 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4044
4045 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4046
4047 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4048
4049 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4050 (Bug#14842)
4051
4052 2013-07-12 Glenn Morris <rgm@gnu.org>
4053
4054 * doc-view.el: Require cl-lib at runtime too.
4055 (doc-view-remove-if): Remove.
4056 (doc-view-search-next-match, doc-view-search-previous-match):
4057 Use cl-remove-if.
4058
4059 * edmacro.el: Require cl-lib at runtime too.
4060 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4061 (edmacro-mismatch, edmacro-subseq): Remove.
4062
4063 * shadowfile.el: Require cl-lib.
4064 (shadow-remove-if): Remove.
4065 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4066 Use cl-remove-if.
4067
4068 * wid-edit.el: Require cl-lib.
4069 (widget-choose): Use cl-remove-if.
4070 (widget-remove-if): Remove.
4071
4072 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4073 (ebrowse-delete-if-not): Remove.
4074 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4075 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4076 Use cl-delete-if-not.
4077
4078 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4079
4080 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4081 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4082
4083 2013-07-12 Leo Liu <sdl.web@gmail.com>
4084
4085 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4086
4087 2013-07-11 Glenn Morris <rgm@gnu.org>
4088
4089 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4090 (edebug-gensym-index, edebug-gensym):
4091 Remove reimplementation of cl-gensym.
4092 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4093
4094 * thumbs.el: Require cl-lib at run-time too.
4095 (thumbs-gensym-counter, thumbs-gensym):
4096 Remove reimplementation of cl-gensym.
4097 (thumbs-temp-file): Use cl-gensym.
4098
4099 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4100 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4101 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4102 (ert--union, ert--gensym-counter, ert--gensym-counter)
4103 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4104 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4105 (ert-make-test-unbound, ert--expand-should-1)
4106 (ert--expand-should, ert--should-error-handle-error)
4107 (should-error, ert--explain-equal-rec)
4108 (ert--plist-difference-explanation, ert-select-tests)
4109 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4110 Use cl-lib functions rather than reimplementations.
4111
4112 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4113
4114 * net/tramp.el (tramp-methods): Extend docstring.
4115 (tramp-connection-timeout): New defcustom.
4116 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4117 (with-tramp-progress-reporter): Simplify.
4118 (tramp-process-actions): Improve messages.
4119
4120 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4121 * net/tramp-sh.el (tramp-maybe-open-connection):
4122 Use `tramp-connection-timeout'.
4123 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4124 (Bug#14808)
4125
4126 2013-07-11 Leo Liu <sdl.web@gmail.com>
4127
4128 * ido.el (ido-read-file-name): Conform to the requirements of
4129 read-file-name. (Bug#11861)
4130 (ido-read-directory-name): Conform to the requirements of
4131 read-directory-name.
4132
4133 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4134
4135 * subr.el (delay-warning): New function.
4136
4137 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4138
4139 * simple.el (default-line-height): New function.
4140 (line-move-partial, line-move): Use it instead of computing the
4141 line height inline.
4142 (line-move-partial): Always compute ROWH. If the last line is
4143 partially-visible, but its text is completely visible, allow
4144 cursor to enter such a partially-visible line.
4145
4146 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4147
4148 Improve error messages. (Bug#14808)
4149
4150 * net/tramp.el (tramp-current-connection): New defvar, moved from
4151 tramp-sh.el.
4152 (tramp-message-show-progress-reporter-message): Remove, not
4153 needed anymore.
4154 (tramp-error-with-buffer): Show message in minibuffer.
4155 Discard input before waiting. Reset connection timestamp.
4156 (with-tramp-progress-reporter): Improve messages.
4157 (tramp-process-actions): Use progress reporter. Delete process in
4158 case of error. Improve messages.
4159
4160 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4161 Call `tramp-error-with-buffer' with vector and buffer.
4162 (tramp-current-connection): Remove.
4163 (tramp-maybe-open-connection): The car of
4164 `tramp-current-connection' are the first 3 slots of the vector.
4165
4166 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4167
4168 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4169 inside continued strings.
4170
4171 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4172
4173 Timestamp fixes for undo (Bug#14824).
4174 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4175
4176 2013-07-10 Leo Liu <sdl.web@gmail.com>
4177
4178 * files.el (require-final-newline): Allow safe local value.
4179 (Bug#14834)
4180
4181 2013-07-09 Leo Liu <sdl.web@gmail.com>
4182
4183 * ido.el (ido-read-directory-name): Handle fallback.
4184 (ido-read-file-name): Update DIR to ido-current-directory.
4185 (Bug#1516)
4186 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4187
4188 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4189
4190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4191 "autoload". Remove "warn lower camel case" section, previously
4192 commented out. Highlight negation char. Do not highlight the
4193 target in singleton method definitions.
4194
4195 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * faces.el (tty-setup-hook): Declare the hook.
4198
4199 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4200 and detect when a guard/pred depends on local vars (bug#14773).
4201 (pcase--u1): Adjust caller.
4202
4203 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4204
4205 * simple.el (line-move-partial, line-move): Account for
4206 line-spacing.
4207 (line-move-partial): Avoid setting vscroll when the last
4208 partially-visible line in window is of default height.
4209
4210 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4211
4212 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4213 been used a while.
4214
4215 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * subr.el (read-quoted-char): Remove unused local variable `char'.
4218
4219 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4220
4221 * ediff.el (ediff-version): Version update.
4222 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4223 (ediff-merge-with-ancestor-command, ediff-directories-command)
4224 (ediff-directories3-command, ediff-merge-directories-command)
4225 (ediff-merge-directories-with-ancestor-command): New functions.
4226 All are command-line interfaces to ediff: to facilitate calling
4227 Emacs with the appropriate ediff functions invoked.
4228
4229 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4230 (viper-save-kill-buffer): Check if buffer is modified.
4231
4232 * viper.el (viper-version): Version update.
4233 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4234
4235 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4238 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4239 (viper-intercept-ESC-key): Simplify.
4240 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4241 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4242 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4243 (viper-setup-ESC-to-escape): New functions.
4244 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4245 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4246
4247 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4248
4249 * simple.el (default-font-height, window-screen-lines):
4250 New functions.
4251 (line-move, line-move-partial): Use them instead of
4252 frame-char-height and window-text-height. This makes scrolling
4253 text smoother when the buffer's default face uses a font that is
4254 different from the frame's default font.
4255
4256 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4257
4258 * files.el (write-file): Do not display confirm dialog for NS,
4259 it does its own dialog, which can't be cancelled (Bug#14578).
4260
4261 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4262
4263 * simple.el (line-move-partial): Adjust the row returned by
4264 posn-at-point for the current window-vscroll. (Bug#14567)
4265
4266 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4269 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4270 spaces.
4271
4272 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4273
4274 * window.el (window-state-put-stale-windows): New variable.
4275 (window--state-put-2): Save list of windows without matching buffer.
4276 (window-state-put): Remove "bufferless" windows if possible.
4277
4278 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * simple.el (alternatives-define): Remove leftover :group keyword.
4281 Tweak docstring.
4282
4283 2013-07-06 Leo Liu <sdl.web@gmail.com>
4284
4285 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4286 (ido-enable-virtual-buffers): New variable.
4287 (ido-buffer-internal, ido-toggle-virtual-buffers)
4288 (ido-make-buffer-list): Use it.
4289 (ido-exhibit): Support turning on and off virtual buffers
4290 automatically.
4291
4292 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4293
4294 * simple.el (alternatives-define): New macro.
4295
4296 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * subr.el (read-quoted-char): Use read-key.
4299 (sit-for): Let read-event decode tty input (bug#14782).
4300
4301 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4302
4303 * calendar/todo-mode.el: Add handling of file deletion, both by
4304 mode command and externally. Fix various related bugs.
4305 Clarify Commentary and improve some documentation strings and code.
4306 (todo-delete-file): New command.
4307 (todo-check-file): New function.
4308 (todo-show): Handle external deletion of the file we're trying to
4309 show (bug#14688). Replace called-interactively-p by an optional
4310 prefix argument to avoid problematic interaction with catch form
4311 when byte compiled (bug#14702).
4312 (todo-quit): Handle external deletion of the archive's todo file.
4313 Make sure the buffer that was visiting the archive file is still
4314 live before trying to bury it.
4315 (todo-category-completions): Handle external deletion of any
4316 category completion files.
4317 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4318 of todo files, in case of external deletion.
4319 (todo-add-file): Replace unnecessary setq by let-binding.
4320 (todo-find-archive): Check whether there are any archives.
4321 Replace unnecessary setq by let-binding.
4322 (todo-archive-done-item): Use find-file-noselect to get the
4323 archive buffer whether or not the archive already exists.
4324 Remove superfluous code. Use file size instead of buffer-file-name to
4325 check if the archive is new; if it is, update list of archives.
4326 (todo-default-todo-file): Allow nil to be a valid value for when
4327 there are no todo files.
4328 (todo-reevaluate-default-file-defcustom): Use corrected definition
4329 of todo-default-todo-file.
4330 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4331 (todo-delete-category, todo-show-categories-table)
4332 (todo-category-number): Clarify comment.
4333 (todo-filter-items): Clarify documentation string.
4334 (todo-show-current-file, todo-display-as-todo-file)
4335 (todo-reset-and-enable-done-separator): Tweak documentation string.
4336 (todo-done-separator): Make separator length window-width, since
4337 bug#2749 is now fixed.
4338
4339 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4340
4341 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4342 Support both "gvfs-monitor-dir" and "inotifywait".
4343 (tramp-sh-file-inotifywait-process-filter): Rename from
4344 `tramp-sh-file-notify-process-filter'.
4345 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4346 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4347
4348 2013-07-05 Leo Liu <sdl.web@gmail.com>
4349
4350 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4351
4352 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4353
4354 * frame.el (display-pixel-height, display-pixel-width)
4355 (display-mm-height, display-mm-width): Mention behavior on
4356 multi-monitor setups in docstrings.
4357 (w32-display-monitor-attributes-list): Declare function.
4358 (display-monitor-attributes-list): Use it.
4359
4360 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * filenotify.el: New package.
4363
4364 * autorevert.el (top): Require filenotify.el.
4365 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4366 instead.
4367 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4368 (auto-revert-notify-handler): Use `file-notify-*' functions.
4369
4370 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4371
4372 * net/tramp.el (tramp-file-name-for-operation):
4373 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4374
4375 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4376 for `file-notify-add-watch' and `file-notify-rm-watch'.
4377 (tramp-process-sentinel): Improve trace.
4378 (tramp-sh-handle-file-notify-add-watch)
4379 (tramp-sh-file-notify-process-filter)
4380 (tramp-sh-handle-file-notify-rm-watch)
4381 (tramp-get-remote-inotifywait): New defuns.
4382
4383 2013-07-03 Juri Linkov <juri@jurta.org>
4384
4385 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4386 call of `occur-read-primary-args' to interactive spec.
4387
4388 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4389 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4390
4391 2013-07-03 Matthias Meulien <orontee@gmail.com>
4392
4393 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4394 `Buffer-menu-multi-occur'. Add it to the menu.
4395 (Buffer-menu-mode): Document it in docstring.
4396 (Buffer-menu-multi-occur): New command. (Bug#14673)
4397
4398 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4399
4400 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4401 keywords and built-ins.
4402
4403 2013-07-03 Glenn Morris <rgm@gnu.org>
4404
4405 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4406
4407 Make info-xref checks case-sensitive by default
4408 * info.el (Info-find-node, Info-find-in-tag-table)
4409 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4410 Add option for exact case matching of nodes.
4411 * info-xref.el (info-xref): New custom group.
4412 (info-xref-case-fold): New option.
4413 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4414
4415 2013-07-03 Leo Liu <sdl.web@gmail.com>
4416
4417 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4418
4419 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4420
4421 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4422 middle of block statement initially, lower the depth. Remove
4423 FIXME comment, not longer valid. Remove middle of block statement
4424 detection, no need to do that anymore since we've been using
4425 `ruby-parse-region' here.
4426
4427 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4428
4429 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4430
4431 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4432
4433 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4434
4435 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4436
4437 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4438 (desktop-restore-in-current-display): New customization option.
4439 (desktop--excluded-frame-parameters): Add `font'.
4440 (desktop--save-frames): Rename from desktop--save-windows.
4441 (desktop--restore-in-this-display-p): New function.
4442 (desktop--make-full-frame): Remove unwanted width/height from
4443 full(width|height) frames.
4444 (desktop--restore-frames): Rename from desktop--restore-windows.
4445 Obey desktop-restore-current-display. Do not delete old frames or
4446 select a new frame unless we were able to restore at least one frame.
4447
4448 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4449
4450 * files.el (find-file-noselect): Simplify conditional expression.
4451
4452 * remember.el (remember-append-to-file):
4453 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4454
4455 Add `remember-notes' function to store random notes across Emacs
4456 restarts.
4457 * remember.el (remember-data-file): Add :set callback to affect
4458 notes buffer (if any).
4459 (remember-notes): New command.
4460 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4461 New defcustoms for the `remember-notes' function.
4462 (remember-notes-save-and-bury-buffer): New command.
4463 (remember-notes-mode-map): New variable.
4464 (remember-mode): New minor mode.
4465 (remember-notes--kill-buffer-query): New function.
4466 * startup.el (initial-buffer-choice): Add notes to custom type.
4467
4468 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4469
4470 * bindings.el (right-char, left-char): Don't call sit-for, this is
4471 no longer needed. Use arithmetic comparison only for numerical
4472 arguments.
4473
4474 * international/mule-cmds.el (select-safe-coding-system):
4475 Handle the case of FROM being a string correctly. (Bug#14755)
4476
4477 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4478
4479 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4480 progression on degenerate tables.
4481 (shr-rescale-image): ImageMagick animated images currently don't work.
4482
4483 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4484
4485 Some fixes and improvements for desktop frame restoration.
4486 It is still experimental and disabled by default.
4487 * desktop.el (desktop--save-windows): Put the selected frame at
4488 the head of the list.
4489 (desktop--make-full-frame): New function.
4490 (desktop--restore-windows): Try to re-select the frame that was
4491 selected upon saving. Do not abort if some frames fail to restore,
4492 just show an error message and continue. Set up maximized frames
4493 so they have default non-maximized dimensions.
4494
4495 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4496
4497 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4498 Don't start heredoc inside a string or comment.
4499
4500 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4501
4502 * bindings.el (visual-order-cursor-movement): New defcustom.
4503 (right-char, left-char): Provide visual-order cursor motion by
4504 calling move-point-visually. Update the doc strings.
4505
4506 2013-06-28 Kenichi Handa <handa@gnu.org>
4507
4508 * international/mule.el (define-coding-system): New coding system
4509 properties :inhibit-null-byte-detection,
4510 :inhibit-iso-escape-detection, and :prefer-utf-8.
4511 (set-buffer-file-coding-system): If :charset-list property of
4512 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4513 appropriate for setting.
4514
4515 * international/mule-cmds.el (select-safe-coding-system):
4516 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4517 multibyte characters, return utf-8 (or one of its siblings).
4518
4519 * international/mule-conf.el (prefer-utf-8): New coding system.
4520 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4521 files.
4522
4523 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4524
4525 * net/shr.el (shr-render-region): New function.
4526
4527 * net/eww.el: Autoload `eww-browse-url'.
4528
4529 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4530
4531 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4532 Adapt to `package-desc-version' being a list.
4533 Use `package--ac-desc-version' to retrieve version from a package
4534 archive element.
4535
4536 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4537
4538 New experimental feature to save&restore window and frame setup.
4539 * desktop.el (desktop-save-windows): New defcustom.
4540 (desktop--saved-states): New var.
4541 (desktop--excluded-frame-parameters): New defconst.
4542 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4543 (desktop--restore-windows, desktop--save-windows): New functions.
4544 (desktop-save): Call `desktop--save-windows'.
4545 (desktop-read): Call `desktop--restore-windows'.
4546
4547 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4548
4549 * net/shr.el (add-face-text-property): Remove compat definition.
4550
4551 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4552
4553 * info.el (Info-try-follow-nearest-node): Move search for footnote
4554 above search for node name to prevent missing a footnote (bug#14717).
4555
4556 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4557
4558 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4559
4560 2013-06-27 Leo Liu <sdl.web@gmail.com>
4561
4562 * net/eww.el (eww-read-bookmarks): Check file size.
4563
4564 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4567 advice--pending if newdef is nil or an autoload (bug#13820).
4568 (advice-mapc): New function.
4569
4570 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4571
4572 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4573 probably.
4574 (eww-mode-map): Add a menu bar.
4575 (eww-add-bookmark): New command.
4576 (eww-bookmark-mode): New mode and commands.
4577 (eww-add-bookmark): Remove newlines from the title.
4578 (eww-bookmark-browse): Don't bug out if it's the only window.
4579
4580 2013-06-26 Glenn Morris <rgm@gnu.org>
4581
4582 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4583 (hfy-size): Handle ttys. (Bug#14668)
4584
4585 * info-xref.el: Update for Texinfo 5 change in *note format.
4586 (info-xref-node-re, info-xref-note-re): New constants.
4587 (info-xref-check-buffer): Use info-xref-note-re.
4588
4589 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4592
4593 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4594 nil terminate the loop (bug#14718).
4595
4596 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597
4598 * net/eww.el: Rework history traversal. When going forward/back,
4599 put these actions into the history, too, so that they can be
4600 replayed.
4601 (eww-render): Move the history reset to the correct buffer.
4602
4603 2013-06-25 Juri Linkov <juri@jurta.org>
4604
4605 * files-x.el (modify-dir-local-variable): Change the header comment
4606 in the file with directory local variables. (Bug#14692)
4607
4608 * files-x.el (read-file-local-variable-value): Add `default'.
4609 (Bug#14710)
4610
4611 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4612
4613 * net/eww.el (eww-make-unique-file-name): Create a unique file
4614 name before saving to entering `y' accidentally asynchronously.
4615
4616 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4617
4618 * net/eww.el (eww-download): New command and keystroke.
4619
4620 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4621
4622 * net/eww.el (eww-copy-page-url): Change name of command.
4623
4624 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4625 be more consistent with Info and dired.
4626
4627 * net/eww.el (eww-mode-map): Ditto.
4628
4629 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4632 packages from archives.
4633 (package-archive-contents): Change format; include obsolete packages.
4634 (package-desc): Use `dir' to mark builtin packages.
4635 (package--from-builtin): Set the `dir' field to `builtin'.
4636 (generated-autoload-file, version-control): Declare.
4637 (package-compute-transaction): Change first arg and return value to be
4638 lists of package-descs. Adjust to new package-archive-contents format.
4639 (package--add-to-archive-contents): Adjust to new
4640 package-archive-contents format.
4641 (package-download-transaction): Arg is now a list of package-descs.
4642 (package-install): If `pkg' is a package name, pass it as
4643 a requirement, so it is subject to the usual (e.g. disabled) checks.
4644 (describe-package): Accept package-desc as well.
4645 (describe-package-1): Describe a specific package-desc. Add links to
4646 other package-descs for the same package name.
4647 (package-menu-describe-package): Pass the actual package-desc.
4648 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4649 works correctly.
4650 (package-desc-status): New function.
4651 (package-menu--refresh): New function, extracted
4652 from package-menu--generate.
4653 (package-menu--generate): Use it.
4654 (package-delete): Update package-alist.
4655 (package-menu-execute): Don't call package-initialize.
4656
4657 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4658 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4659 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4660 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4661 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4662 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4663
4664 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4665
4666 * window.el (window--state-get-1): Workaround for bug#14527.
4667 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4668
4669 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4670
4671 * net/eww.el (eww-back-url): Implement the history by stashing all
4672 the data into a list.
4673 (eww-forward-url): Allow going forward in the history, too.
4674
4675 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4678 for values and use read--expression for expressions (bug#14710).
4679 (read-file-local-variable): Avoid setq.
4680 (read-file-local-variable-mode): Use minor-mode-list.
4681
4682 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4683
4684 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4685 for DOI URLs.
4686
4687 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4688
4689 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4690 Update imenu-support when dialect changes.
4691
4692 2013-06-25 Leo Liu <sdl.web@gmail.com>
4693
4694 * ido.el (ido-read-internal): Allow forward slash on windows.
4695
4696 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4697
4698 * net/eww.el (eww): Start of strings is \\`, not ^.
4699
4700 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4701
4702 * net/shr.el (shr-browse-url): Fix interactive spec.
4703
4704 * net/eww.el (eww): Add a trailing slash to domain names.
4705
4706 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4709
4710 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4711
4712 * net/shr.el (shr-browse-url): Use an external browser if given a
4713 prefix.
4714
4715 * net/eww.el (eww-external-browser): Move to shr.
4716
4717 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4718
4719 * net/eww.el (eww): Work more correctly for file: URLs.
4720 (eww-detect-charset): Allow quoted charsets.
4721 (eww-yank-page-url): New command and keystroke.
4722
4723 2013-06-24 Daiki Ueno <ueno@gnu.org>
4724
4725 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4726 file name of gpg executable.
4727 (epg-context-program): New function.
4728 (epg-context-home-directory): New function.
4729 (epg-context-set-program): New function.
4730 (epg-context-set-home-directory): New function.
4731 (epg--start): Use `epg-context-program' instead of
4732 'epg-gpg-program'.
4733 (epg--list-keys-1): Likewise.
4734
4735 2013-06-24 Leo Liu <sdl.web@gmail.com>
4736
4737 * ido.el (ido-read-internal): Fix bug#14620.
4738
4739 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * faces.el (face-documentation): Simplify.
4742 (read-face-attribute, tty-find-type, x-resolve-font-name):
4743 Use `string-match-p'.
4744 (list-faces-display): Use `string-match-p'. Simplify.
4745 (face-spec-recalc): Check face to avoid face alias loops.
4746 (read-color): Use `string-match-p' and non-capturing parenthesis.
4747
4748 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4749
4750 * net/shr.el (shr-rescale-image): Use the new
4751 :max-width/:max-height functionality.
4752
4753 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4754
4755 * net/eww.el (eww-search-prefix): New variable.
4756 (eww): Use it.
4757 (eww-external-browser): New variable.
4758 (eww-mode-map): New keystroke.
4759 (eww-browse-with-external-browser): New command.
4760
4761 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4762
4763 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4766 Don't skip aligning the next header field when padding is 0;
4767 otherwise, field width is not respected unless the title is as
4768 wide as the field.
4769
4770 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * emacs-lisp/package.el (package-el-version): Remove.
4773 (package-process-define-package): Fix inf-loop.
4774 (package-install): Allow symbols as arguments again.
4775
4776 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4777
4778 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4779 add some more keyword-like methods.
4780 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4781
4782 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4783
4784 * bs.el (bs-buffer-show-mark): Make defvar-local.
4785 (bs-mode): Use setq-local.
4786
4787 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4788 (emacs-lock--try-unlocking): Make defvar-local.
4789
4790 2013-06-22 Glenn Morris <rgm@gnu.org>
4791
4792 * play/cookie1.el (cookie-apropos): Minor simplification.
4793
4794 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4795
4796 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4797
4798 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4799 `regexp-opt', it breaks the build during dumping.
4800
4801 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4804 Highlight keyword-like methods on Kernel and Module with
4805 font-lock-builtin-face.
4806 (auto-mode-alist): Consolidate different entries into one regexp
4807 and add more *file-s.
4808
4809 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4810
4811 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4812
4813 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4814 (diary-entry): Use it in the action of this button type instead of
4815 diary-goto-entry.
4816
4817 * calendar/todo-mode.el: New version.
4818 (todo-add-category): Append new category to end of file and give
4819 it the highest number, instead of putting it at the beginning and
4820 giving it 0. Incorporate noninteractive functionality.
4821 (todo-forward-category): Adapt to 1-based category numbering.
4822 Allow skipping over archived categories.
4823 (todo-backward-category): Derive from todo-forward-category.
4824 (todo-backward-item, todo-forward-item): Make noninteractive and
4825 delegate interactive part to new commands. Make sensitive to done items.
4826 (todo-categories): Make value an alist of category names and
4827 vectors of item counts.
4828 (todo-category-beg): Make a defconst.
4829 (todo-category-number): Use 1 instead of 0 as initial value.
4830 (todo-category-select): Make sensitive to overlays, optional item
4831 highlighting and done items.
4832 (todo-delete-item): Make sensitive to overlays and marked and done items.
4833 (todo-edit-item): Make sensitive to overlays and editing of
4834 date/time header optional. Add format checks.
4835 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4836 no-op if point is not on an item. Advertise using todo-edit-quit.
4837 (todo-edit-mode): Make sensitive to new format, font-locking, and
4838 multiple todo files.
4839 (todo-insert-item, todo-insert-item-here): Derive from
4840 todo-basic-insert-item and extend functionality.
4841 (todo-item-end, todo-item-start): Make sensitive to done items.
4842 (todo-item-string): Don't return text properties. Restore point.
4843 (todo-jump-to-category): Make sensitive to multiple todo files and
4844 todo archives. Use extended category completion.
4845 (todo-lower-item, todo-raise-item): Rename to *-priority and
4846 derive from todo-set-item-priority.
4847 (todo-mode): Derive from special-mode. Make sensitive to new
4848 format, font-locking and multiple todo files. Make read-only.
4849 (todo-mode-map): Don't suppress digit keys, so they can supply
4850 prefix arguments. Add many new key bindings.
4851 (todo-prefix): Insert as an overlay instead of file text.
4852 Change semantics from diary date expression to purely visual mark.
4853 (todo-print): Rename to todo-print-buffer. Make buffer display
4854 features printable. Remove option to restrict number of items
4855 printed. Add option to print to file.
4856 (todo-print-function): Rename to todo-print-buffer-function.
4857 (todo-quit): Extend to handle exiting new todo modes.
4858 (todo-remove-item): Make sensitive to overlays.
4859 (todo-save): Extend to buffers of filtered items.
4860 (todo-show): Make sensitive to done items, multiple todo files and
4861 new todo modes. Offer to convert legacy todo file before creating
4862 first new todo file.
4863 (todo-show-priorities): Rename to todo-top-priorities.
4864 Change semantics of value 0.
4865 (todo-top-priorities): Rename to todo-filter-top-priorities,
4866 derive from todo-filter-items and extend functionality.
4867 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4868 and extend functionality to other types of filtered items.
4869 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4870 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4871 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4872 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4873 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4874 (todo-edit-mode-hook, todo-entry-prefix-function)
4875 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4876 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4877 (todo-initials, todo-insert-threshold, todo-item-string-start)
4878 (todo-line-string, todo-menu, todo-mode-hook)
4879 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4880 (todo-print-priorities, todo-remove-separator)
4881 (todo-save-top-priorities-too, todo-string-count-lines)
4882 (todo-string-multiline-p, todo-time-string-format)
4883 (todo-tmp-buffer-name): Remove.
4884 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4885 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4886 (todo-edit-category-diary-inclusion)
4887 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4888 (todo-edit-file, todo-edit-item-date-day)
4889 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4890 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4891 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4892 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4893 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4894 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4895 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4896 (todo-filter-top-priorities-multifile, todo-find-archive)
4897 (todo-find-filtered-items-file, todo-go-to-source-item)
4898 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4899 (todo-jump-to-archive-category, todo-lower-category)
4900 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4901 (todo-move-category, todo-move-item, todo-next-button)
4902 (todo-next-item, todo-padded-string, todo-powerset)
4903 (todo-previous-button, todo-previous-item)
4904 (todo-print-buffer-to-file, todo-raise-category)
4905 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4906 (todo-set-category-number, todo-set-item-priority)
4907 (todo-set-top-priorities-in-category)
4908 (todo-set-top-priorities-in-file, todo-show-categories-table)
4909 (todo-sort-categories-alphabetically-or-numerically)
4910 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4911 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4912 (todo-toggle-item-header, todo-toggle-item-highlighting)
4913 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4914 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4915 (todo-unarchive-items, todo-unmark-category): New commands.
4916 (todo-absolute-file-name, todo-add-to-buffer-list)
4917 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4918 (todo-basic-insert-item, todo-category-completions)
4919 (todo-category-number, todo-category-string-matcher-1)
4920 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4921 (todo-check-format, todo-clear-matches)
4922 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4923 (todo-current-category, todo-date-string-matcher)
4924 (todo-define-insertion-command, todo-diary-expired-matcher)
4925 (todo-diary-goto-entry, todo-diary-item-p)
4926 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4927 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4928 (todo-done-item-section-p, todo-done-separator)
4929 (todo-done-string-matcher, todo-files, todo-filter-items)
4930 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4931 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4932 (todo-insert-category-line, todo-insert-item-from-calendar)
4933 (todo-insert-sort-button, todo-insert-with-overlays)
4934 (todo-insertion-command-name, todo-insertion-key-bindings)
4935 (todo-label-to-key, todo-longest-category-name-length)
4936 (todo-make-categories-list, todo-mode-external-set)
4937 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4938 (todo-modes-set-3, todo-multiple-filter-files)
4939 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4940 (todo-read-category, todo-read-date, todo-read-dayname)
4941 (todo-read-file-name, todo-read-time)
4942 (todo-reevaluate-category-completions-files-defcustom)
4943 (todo-reevaluate-default-file-defcustom)
4944 (todo-reevaluate-filelist-defcustoms)
4945 (todo-reevaluate-filter-files-defcustom)
4946 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4947 (todo-reset-done-separator, todo-reset-done-separator-string)
4948 (todo-reset-done-string, todo-reset-global-current-todo-file)
4949 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4950 (todo-reset-prefix, todo-set-categories)
4951 (todo-set-date-from-calendar, todo-set-show-current-file)
4952 (todo-set-top-priorities, todo-short-file-name)
4953 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4954 (todo-total-item-counts, todo-update-buffer-list)
4955 (todo-update-categories-display, todo-update-categories-sexp)
4956 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4957 New functions.
4958 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4959 New major modes.
4960 (todo-categories, todo-display, todo-edit, todo-faces)
4961 (todo-filtered): New defgroups.
4962 (todo-archived-only, todo-button, todo-category-string, todo-date)
4963 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4964 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4965 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4966 (todo-add-item-if-new-category, todo-always-add-time-string)
4967 (todo-categories-align, todo-categories-archived-label)
4968 (todo-categories-category-label, todo-categories-diary-label)
4969 (todo-categories-done-label, todo-categories-number-separator)
4970 (todo-categories-todo-label, todo-categories-totals-label)
4971 (todo-category-completions-files, todo-completion-ignore-case)
4972 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4973 (todo-done-separator-string, todo-done-string)
4974 (todo-files-function, todo-filter-done-items, todo-filter-files)
4975 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4976 (todo-initial-category, todo-initial-file, todo-item-mark)
4977 (todo-legacy-date-time-regexp, todo-mode-line-function)
4978 (todo-nondiary-marker, todo-number-prefix)
4979 (todo-print-buffer-function, todo-show-current-file)
4980 (todo-show-done-only, todo-show-first, todo-show-with-done)
4981 (todo-skip-archived-categories, todo-top-priorities-overrides)
4982 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4983 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4984 New defcustoms.
4985 (todo-category-done, todo-date-pattern, todo-date-string-start)
4986 (todo-diary-items-buffer, todo-done-string-start)
4987 (todo-filtered-items-buffer, todo-item-start)
4988 (todo-month-abbrev-array, todo-month-name-array)
4989 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4990 (todo-top-priorities-buffer): New defconsts.
4991 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4992 (todo-categories-with-marks, todo-category-string-face)
4993 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4994 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4995 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4996 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4997 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4998 (todo-font-lock-keywords, todo-global-current-todo-file)
4999 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5000 (todo-insertion-commands-args)
5001 (todo-insertion-commands-args-genlist)
5002 (todo-insertion-commands-names, todo-insertion-map)
5003 (todo-key-bindings-t, todo-key-bindings-t+a)
5004 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5005 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5006 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5007 (todo-visited): New variables.
5008
5009 2013-06-21 Glenn Morris <rgm@gnu.org>
5010
5011 * play/cookie1.el (cookie-apropos): Add optional display argument.
5012 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5013 (psychoanalyze-pinhead): Use cookie-doctor.
5014
5015 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5016
5017 * emacs-lisp/package.el (tar-get-file-descriptor)
5018 (tar--extract): Declare.
5019
5020 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5021
5022 Extend flymake's warning predicate to be a function (bug#14217).
5023 * progmodes/flymake.el (flymake-warning-predicate): New.
5024 (flymake-parse-line): Use it.
5025 (flymake-warning-re): Make obsolete alias to
5026 `flymake-warning-predicate'.
5027
5028 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5031 (package-obsolete-list): Remove.
5032 (package-activate): Remove min-version argument. Add `force' argument.
5033 Adjust to new package-alist format.
5034 (package-mark-obsolete): Remove.
5035 (package-unpack): Force reload of the package's autoloads.
5036 (package-installed-p): Check builtins if the installed package is not
5037 recent enough.
5038 (package-initialize): Don't reset package-obsolete-list.
5039 Don't specify which package version to activate.
5040 (package-process-define-package, describe-package-1)
5041 (package-menu--generate): Adjust to new package-alist format.
5042
5043 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5044
5045 * allout-widgets.el (allout-widgets-mode-off)
5046 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5047 (allout-widgets-post-command-business)
5048 (allout-widgets-after-copy-or-kill-function)
5049 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5050 (allout-decorate-item-and-context)
5051 (allout-graphics-modification-handler): Fix typos in docstrings.
5052 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5053
5054 * cmuscheme.el (scheme-start-file): Doc fix.
5055 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5056 (scheme-input-filter): Use `string-match-p'.
5057
5058 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5059
5060 * dired-x.el: Use Dired consistently in docstrings.
5061
5062 * dired.el: Use Dired consistently in docstrings.
5063 (dired-readin, dired-mode): Use `setq-local'.
5064 (dired-switches-alist): Make defvar-local.
5065 (dired-buffers-for-dir): Use `zerop'.
5066 (dired-safe-switches-p, dired-switches-escape-p)
5067 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5068 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5069 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5070 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5071 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5072 (dired-toggle-marks, dired-mark-files-containing-regexp)
5073 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5074 (dired-flag-auto-save-files, dired-flag-backup-files):
5075 Use `looking-at-p'.
5076 (dired-mark-files-regexp, dired-build-subdir-alist):
5077 Use `string-match-p', `looking-at-p'.
5078
5079 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5080 (direct-print-region-helper): Use `string-match-p'.
5081
5082 2013-06-21 Leo Liu <sdl.web@gmail.com>
5083
5084 * comint.el (comint-redirect-results-list-from-process):
5085 Fix infinite loop.
5086
5087 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5088
5089 * net/eww.el (eww-update-header-line-format): Quote % characters.
5090
5091 2013-06-21 Glenn Morris <rgm@gnu.org>
5092
5093 * play/cookie1.el (cookie): New custom group.
5094 (cookie-file): New option.
5095 (cookie-check-file): New function.
5096 (cookie): Make it interactive. Make start and end messages optional.
5097 Interactively, display the result. Default to cookie-file.
5098 (cookie-insert): Default to cookie-file.
5099 (cookie-snarf): Make start and end messages optional.
5100 Default to cookie-file. Use with-temp-buffer.
5101 (cookie-read): Rename from read-cookie.
5102 Make start and end messages optional. Default to cookie-file.
5103 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5104 Do not autoload it.
5105 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5106 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5107
5108 2013-06-21 Leo Liu <sdl.web@gmail.com>
5109
5110 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5111
5112 2013-06-21 Glenn Morris <rgm@gnu.org>
5113
5114 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5115
5116 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5117 Daniel Hackney <dan@haxney.org>
5118
5119 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5120 Consolidate the single-file vs tarball code.
5121 (package-desc-suffix): New function.
5122 (package-desc-full-name): Don't bother inlining it.
5123 (package-load-descriptor): Return the new package-desc.
5124 (package-mark-obsolete): Remove unused arg `package'.
5125 (package-unpack): Make it work for single files as well.
5126 Make it update package-alist.
5127 (package--make-autoloads-and-stuff): Rename from
5128 package--make-autoloads-and-compile. Don't compile any more.
5129 (package--compile): New function.
5130 (package-generate-description-file): New function, extracted from
5131 package-unpack-single.
5132 (package-unpack-single): Remove.
5133 (package--with-work-buffer): Add indentation and debugging info.
5134 (package-download-single): Remove.
5135 (package-install-from-archive): Rename from package-download-tar, make
5136 it take a pkg-desc, and make it work for single files as well.
5137 (package-download-transaction): Simplify.
5138 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5139 external tar program.
5140 (package-install-from-buffer): Remove `pkg-desc' argument.
5141 Use package-tar-file-info for tar-mode buffers.
5142 (package-install-file): Simplify accordingly.
5143 (package-archive-base): Change to take a pkg-desc.
5144 * tar-mode.el (tar--check-descriptor): New function, extracted from
5145 tar-get-descriptor.
5146 (tar-get-descriptor): Use it.
5147 (tar-get-file-descriptor): New function.
5148 (tar--extract): New function, extracted from tar-extract.
5149 (tar--extract): Use it.
5150 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5151 case the summary uses non-ascii. Adjust to new calling convention of
5152 package-tar-file-info.
5153
5154 2013-06-21 Leo Liu <sdl.web@gmail.com>
5155
5156 * comint.el (comint-redirect-results-list-from-process):
5157 Fix random delay. (Bug#14681)
5158
5159 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5160
5161 * profiler.el (profiler-format-number): Use log, not log10.
5162
5163 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5164
5165 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5166
5167 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5168
5169 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5170 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5171 yet available.
5172 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5173 (AUTOGENEL): ... here.
5174 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5175 (cl--defsubst-expand): Use it.
5176
5177 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5178
5179 * subr.el (log10): Move here from C code, and declare as obsolete.
5180 All uses of (log10 X) replaced with (log X 10).
5181
5182 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5185 Declare with `defvar-local'.
5186 (tabulated-list-use-header-line, tabulated-list-entries)
5187 (tabulated-list-padding, tabulated-list-printer)
5188 (tabulated-list-sort-key): Declare with `defvar-local'.
5189 (tabulated-list-init-header, tabulated-list-print-fake-header):
5190 Use `setq-local'.
5191
5192 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5193
5194 * arc-mode.el (archive-mode): Add `archive-write-file' to
5195 `write-contents-functions' also for remote files. (Bug#14652)
5196
5197 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5198
5199 * cus-edit.el (custom-commands): Fix typos.
5200 (custom-display): Fix tooltip text.
5201 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5202 Fix typos in docstrings.
5203 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5204 (custom-unlispify-menu-entry, custom-magic-value-create)
5205 (custom-add-see-also, custom-group-value-create): Use ?\s.
5206 (custom-guess-type, customize-apropos, editable-field)
5207 (custom-face-value-create): Use `string-match-p'.
5208 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5209
5210 * custom.el (custom-load-symbol): Use `string-match-p'.
5211
5212 * ansi-color.el: Convert to lexical binding.
5213 (ansi-colors): Fix URL.
5214 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5215 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5216 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5217
5218 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5219
5220 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5221
5222 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5223
5224 2013-06-19 Tom Tromey <tromey@redhat.com>
5225
5226 * net/eww.el (eww-top-url): Remove.
5227 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5228 (eww-render): Set new variables. Don't set eww-top-url.
5229 (eww-handle-link): Handle "prev", "home", and "contents".
5230 Downcase the rel text.
5231 (eww-top-url): Choose best top URL.
5232
5233 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5234
5235 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5236 relying in widget.el. Using widget.el leads to too many
5237 user interface inconsistencies.
5238 (eww-self-insert): Implement entering commands in text fields.
5239 (eww-process-text-input): New function to make text input field editing
5240 work.
5241 (eww-submit): Rewrite to use the new-style form methods.
5242 (eww-select-display): Display the correct selected item.
5243 (eww-change-select): Implement changing the select value.
5244 (eww-toggle-checkbox): Implement radio/checkboxes.
5245 (eww-update-field): Fix compilation error.
5246 (eww-tag-textarea): Implement <textarea>.
5247
5248 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5249 we don't shadow mode-specific bindings.
5250
5251 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5252 nothing to push.
5253
5254 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5255
5256 2013-06-19 Glenn Morris <rgm@gnu.org>
5257
5258 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5259
5260 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5261
5262 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5263 not needed.
5264
5265 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5266
5267 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5268
5269 * net/browse-url.el (browse-url-browser-function):
5270 `eww-browse-url' has the right calling signature, `eww' does not.
5271
5272 2013-06-19 Glenn Morris <rgm@gnu.org>
5273
5274 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5275 Only eval autoloaded macros.
5276 (byte-compile-autoload): Only give the macro warning for macros.
5277
5278 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5279 (ps-underlined-faces): Declare.
5280
5281 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5282 (speedbar-add-supported-extension): Declare.
5283
5284 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5285 Don't include a date stamp in the header of the generated file;
5286 it leads to needless differences between output files.
5287
5288 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/secrets.el (secrets-struct-secret-content-type):
5291 Replace check of introspection data by a test call of "CreateItem".
5292 Some servers do not offer introspection.
5293
5294 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * electric.el (electric-pair-mode): Improve interaction with
5297 electric-layout-mode.
5298 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5299 (electric-pair-syntax): Use text-mode-syntax-table in comments
5300 and strings.
5301 (electric-pair--insert): New function.
5302 (electric-pair-post-self-insert-function): Use it and
5303 electric--after-char-pos.
5304
5305 2013-06-19 Leo Liu <sdl.web@gmail.com>
5306
5307 * progmodes/octave.el (octave-help): Fix regexp.
5308
5309 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5310
5311 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5312 (shr-table-horizontal-line): Allow nil as a value, and change the
5313 default.
5314 (shr-insert-table-ruler): Respect the nil value.
5315
5316 2013-06-18 Tom Tromey <tromey@barimba>
5317
5318 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5319 New defvars.
5320 (eww-open-file): New defun.
5321 (eww-render): Initialize new variables.
5322 (eww-display-html): Handle "link" and "a".
5323 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5324 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5325 (eww-back-url): Rename from eww-previous-url.
5326 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5327 New defuns.
5328
5329 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5330
5331 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5332 Distinguish ternary operator tokens from slash symbol and slash
5333 char literal.
5334
5335 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5336
5337 Convert symbol prettification into minor mode and global minor mode.
5338
5339 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5340 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5341 (prettify-symbols--keywords): Rename from
5342 `prog-prettify-symbols-alist' and make a local defvar.
5343 (prettify-symbols--compose-symbol): Rename from
5344 `prog--prettify-font-lock-compose-symbol'.
5345 (prettify-symbols--make-keywords): Rename from
5346 `prog-prettify-font-lock-symbols-keywords' and simplify.
5347 (prog-prettify-install): Remove.
5348 (prettify-symbols-mode): New minor mode, based on
5349 `prog-prettify-install'.
5350 (turn-on-prettify-symbols-mode): New function.
5351 (global-prettify-symbols-mode): New globalized minor mode.
5352
5353 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5354 * progmodes/cfengine.el (cfengine3-mode):
5355 * progmodes/perl-mode.el (perl-mode): Don't call
5356 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5357
5358 2013-06-18 Juri Linkov <juri@jurta.org>
5359
5360 * files-x.el (modify-file-local-variable-message): New function.
5361 (modify-file-local-variable)
5362 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5363 and call `modify-file-local-variable-message' when it's non-nil.
5364 (add-file-local-variable, delete-file-local-variable)
5365 (add-file-local-variable-prop-line)
5366 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5367 and use it. (Bug#9820)
5368
5369 2013-06-18 Juri Linkov <juri@jurta.org>
5370
5371 * emulation/vi.el (vi-shell-op):
5372 * emulation/vip.el (vip-execute-com, ex-command):
5373 * emulation/viper-cmd.el (viper-exec-bang):
5374 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5375 the call of `shell-command-on-region'. (Bug#14637)
5376
5377 * simple.el (shell-command-on-region): Doc fix.
5378
5379 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5382 (bug#14633).
5383
5384 2013-06-18 Glenn Morris <rgm@gnu.org>
5385
5386 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5387
5388 * newcomment.el (comment-search-forward, comment-search-backward):
5389 Doc fix. (Bug#14376)
5390
5391 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5392
5393 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5394 (buffer-face-mode-invoke): Doc fix.
5395
5396 2013-06-18 Matthias Meulien <orontee@gmail.com>
5397
5398 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5399 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5400
5401 2013-06-18 Glenn Morris <rgm@gnu.org>
5402
5403 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5404 Replace obsolete function generic-make-keywords with its expansion.
5405
5406 * progmodes/python.el (ffap-alist): Declare.
5407
5408 * textmodes/reftex.el (bibtex-mode-map): Declare.
5409
5410 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5413 (package-unpack, package-unpack-single): Return the pkg-dir.
5414 (package-download-transaction): Use it to update package-alist.
5415
5416 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5417
5418 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5419 possible choice.
5420
5421 2013-06-17 Juri Linkov <juri@jurta.org>
5422
5423 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5424
5425 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5426
5427 * emacs-lisp/package.el (package-load-descriptor):
5428 Remove `with-syntax-table' call, `read' doesn't need it.
5429 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5430
5431 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5432
5433 * startup.el (command-line): Expand package name returned by
5434 `package--description-file' (bug#14639).
5435
5436 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5437
5438 * emacs-lisp/package.el (package-load-descriptor): Do not call
5439 `emacs-lisp-mode', just use its syntax table.
5440
5441 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5444 `font-lock-extra-managed-props' if any prettifying keyword is added.
5445 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5446 (prog-mode): Use `setq-local'.
5447
5448 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * international/characters.el (standard-case-table): Set syntax of ?»
5451 and ?« to punctuation.
5452
5453 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5454
5455 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5456 Save relevant match data before calling `syntax-ppss' (bug#14595).
5457
5458 2013-06-15 Juri Linkov <juri@jurta.org>
5459
5460 * files-x.el (modify-file-local-variable-prop-line): Add local
5461 variables to the end of the existing comment on the first line.
5462 Use `file-auto-mode-skip' to skip interpreter magic line,
5463 and also skip XML declaration.
5464
5465 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * startup.el (package--builtin-versions): New var.
5468 (package-subdirectory-regexp): Remove.
5469 (package--description-file): Hard code its value instead.
5470
5471 * emacs-lisp/package.el: Don't activate packages older than builtin.
5472 (package-obsolete-list): Rename from package-obsolete-alist, and make
5473 it into a simple list of package-desc.
5474 (package-strip-version): Remove.
5475 (package-built-in-p): Use package--builtin-versions.
5476 (package-mark-obsolete): Simplify.
5477 (package-process-define-package): Mark it obsolete if older than the
5478 builtin version.
5479 (package-handle-response): Use line-end-position.
5480 (package-read-archive-contents, package--download-one-archive):
5481 Simplify.
5482 (package--add-to-archive-contents): Skip if older than the builtin or
5483 installed version.
5484 (package-menu-describe-package): Fix last change.
5485 (package-list-unversioned): New var.
5486 (package-menu--generate): Use it.
5487
5488 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5489 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5490 (autoload-builtin-package-versions): New variable.
5491 (autoload-generate-file-autoloads): Use them.
5492 Remove the list of autoloaded functions/macros from the
5493 (autoload...) comments.
5494
5495 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5496
5497 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5498
5499 * simple.el (line-move-partial): Don't jump to the next screen
5500 line as soon as it becomes visible. Instead, continue enlarging
5501 the vscroll until the portion of a tall screen line that's left on
5502 display is about the height of the frame's default font.
5503 (Bug#14567)
5504
5505 2013-06-15 Glenn Morris <rgm@gnu.org>
5506
5507 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5508 compilation-error-regexp-alist void, or local while let-bound.
5509
5510 * progmodes/make-mode.el (makefile-mode-syntax-table):
5511 Treat "=" as punctuation. (Bug#14614)
5512
5513 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5514
5515 * help-fns.el (describe-variable):
5516 Add extra line for permanent-local variables.
5517
5518 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5519
5520 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5521 Add export, import, library. (Bug#9164)
5522 (library): Set indent function.
5523
5524 2013-06-14 Glenn Morris <rgm@gnu.org>
5525
5526 * term/xterm.el (xterm--query):
5527 Stop after first matching handler. (Bug#14615)
5528
5529 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5530
5531 Add support for dired in saveplace.
5532 * dired.el (dired-initial-position-hook): New variable.
5533 (dired-initial-position): Call hook to place cursor position.
5534 * saveplace.el (save-place-to-alist): Add dired position.
5535 (save-place-dired-hook): New function.
5536
5537 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5540 through a symbol rather than letrec.
5541
5542 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5543 (package-desc): Add `dir' field.
5544 (package-desc-full-name): New function.
5545 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5546 (package-maybe-load-descriptor): Remove.
5547 (package-load-all-descriptors): Just call package-load-descriptor.
5548 (package--disabled-p): New function.
5549 (package-desc-vers, package-desc-doc): Remove aliases.
5550 (package--dir): Remove function.
5551 (package-activate): Check if a package is disabled.
5552 (package-process-define-package): New function, extracted from
5553 define-package.
5554 (define-package): Turn into a place holder.
5555 (package-unpack-single, package-tar-file-info):
5556 Use package--description-file.
5557 (package-compute-transaction): Use package--disabled-p.
5558 (package-download-transaction): Don't call
5559 package-maybe-load-descriptor since they're all loaded anyway.
5560 (package-install): Change argument to be a pkg-desc.
5561 (package-delete): Use a single pkg-desc argument.
5562 (describe-package-1): Use package-desc-dir instead of package--dir.
5563 Use package-desc property instead of package-symbol.
5564 (package-install-button-action): Adjust accordingly.
5565 (package--push): Rewrite.
5566 (package-menu--print-info): Adjust accordingly. Change the ID format
5567 to be a pkg-desc.
5568 (package-menu-describe-package, package-menu-get-status)
5569 (package-menu--find-upgrades, package-menu-mark-upgrades)
5570 (package-menu-execute, package-menu--name-predicate):
5571 Adjust accordingly.
5572 * startup.el (package--description-file): New function.
5573 (command-line): Use it.
5574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5575 Use package-desc-version.
5576
5577 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5578 (byte-compile-preprocess): Use it.
5579 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5580 can't quite recognize.
5581 (byte-compile-add-to-list): Remove.
5582 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5583 (cconv-closure-convert): Add assertion.
5584
5585 * emacs-lisp/map-ynp.el: Use lexical-binding.
5586 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5587 Factor out some repeated code.
5588
5589 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * subr.el (with-eval-after-load): New macro.
5592 (eval-after-load): Allow form to be a function.
5593 take advantage of lexical-binding.
5594 (do-after-load-evaluation): Use dolist and adjust to new format.
5595 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5596
5597 2013-06-13 Juri Linkov <juri@jurta.org>
5598
5599 * replace.el (perform-replace): Display "symbol " and other search
5600 modes from `isearch-message-prefix' in the *Help* buffer.
5601
5602 * isearch.el (isearch-query-replace): Add " symbol" and other
5603 possible search modes from `isearch-message-prefix' to the prompt.
5604 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5605 when reading a regexp to collect.
5606
5607 2013-06-13 Juri Linkov <juri@jurta.org>
5608
5609 * isearch.el (word-search-regexp): Match whitespace if the search
5610 string begins or ends in whitespace. The LAX arg is applied to
5611 both ends of the search string. Use `regexp-quote' and explicit
5612 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5613 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5614 boundaries are replaced with symbol boundaries, and characters
5615 between symbols match non-word non-symbol syntax. (Bug#14602)
5616
5617 2013-06-13 Juri Linkov <juri@jurta.org>
5618
5619 * isearch.el (isearch-del-char): Don't exceed the length of
5620 `isearch-string' by the prefix arg. (Bug#14563)
5621
5622 2013-06-13 Juri Linkov <juri@jurta.org>
5623
5624 * isearch.el (isearch-yank-word, isearch-yank-line)
5625 (isearch-char-by-name, isearch-quote-char)
5626 (isearch-printing-char, isearch-process-search-char):
5627 Add optional count prefix arg. (Bug#14563)
5628
5629 * international/isearch-x.el
5630 (isearch-process-search-multibyte-characters):
5631 Add optional count prefix arg.
5632
5633 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5636 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5637 lexical-binding.
5638
5639 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5640
5641 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5642
5643 2013-06-13 Glenn Morris <rgm@gnu.org>
5644
5645 * startup.el (tty-handle-args):
5646 Don't just discard "--" and anything after. (Bug#14608)
5647
5648 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5649
5650 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5651
5652 Implement changes in Secret Service API. Make it backward compatible.
5653 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5654 (secrets-create-item): Use it. Prefix properties with interface.
5655
5656 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5657
5658 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5659 (term-emulate-terminal): Respect term-suppress-hard-newline.
5660
5661 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5662
5663 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5664 Only remove a `thumb-file' overlay. (Bug#14548)
5665
5666 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5667
5668 * mail/reporter.el (reporter-submit-bug-report):
5669 Handle missing package-name. (Bug#14600)
5670
5671 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5672
5673 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5674 (reftex-citation-prompt, reftex-default-bibliography)
5675 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5676 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5677 (reftex-bib-sort-author, reftex-bib-sort-year)
5678 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5679 (reftex-extract-bib-entries-from-thebibliography)
5680 (reftex-get-bibkey-default, reftex-get-bib-names)
5681 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5682 (reftex-format-bib-entry, reftex-parse-bibitem)
5683 (reftex-format-bibitem, reftex-do-citation)
5684 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5685 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5686 (reftex-insert-bib-matches, reftex-format-citation)
5687 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5688 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5689 existing comments into docstrings.
5690
5691 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5692
5693 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5694
5695 2013-06-12 Andreas Schwab <schwab@suse.de>
5696
5697 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5698 for auto-save files.
5699
5700 2013-06-12 Glenn Morris <rgm@gnu.org>
5701
5702 * ido.el (ido-delete-ignored-files): Remove.
5703 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5704 Go back to calling ido-ignore-item-p directly.
5705
5706 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5707
5708 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5709
5710 * ido.el (ido-delete-ignored-files): New function,
5711 split from ido-make-file-list-1.
5712 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5713 (ido-make-file-list-1): Use ido-delete-ignored-files.
5714
5715 2013-06-12 Leo Liu <sdl.web@gmail.com>
5716
5717 * progmodes/octave.el (inferior-octave-startup)
5718 (inferior-octave-completion-table)
5719 (inferior-octave-track-window-width-change)
5720 (octave-eldoc-function-signatures, octave-help)
5721 (octave-find-definition): Use single quoted strings.
5722 (inferior-octave-startup-args): Change default value.
5723 (inferior-octave-startup): Do not hard code "-i" and
5724 "--no-line-editing".
5725 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5726 (inferior-octave-directory-tracker): Use it.
5727 (octave-goto-function-definition): Robustify.
5728 (octave-help): Support highlighting operators in 'See also'.
5729 (octave-find-definition): Find subfunctions only in Octave mode.
5730
5731 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * help-fns.el (help-fns--compiler-macro): If the handler function is
5734 named, then put a link to it.
5735 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5736 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5737 (cl-typep): Use it.
5738 (cl-eval-when): Simplify debug spec.
5739 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5740 compiler-macro function instead of setting `compiler-macro-file'.
5741
5742 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5743
5744 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5745 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5746
5747 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5748 Daniel Hackney <dan@haxney.org>
5749
5750 First part of Daniel Hackney's patch to package.el.
5751 * emacs-lisp/package.el: Use defstruct.
5752 (package-desc): New, main struct.
5753 (package--bi-desc, package--ac-desc): New structs, used to describe the
5754 format in external files.
5755 (package-desc-vers): Replace with package-desc-version accessor.
5756 (package-desc-doc): Replace with package-desc-summary accessor.
5757 (package-activate-1): Remove `package' arg since the pkg-vec now
5758 includes the name.
5759 (define-package): Use package-desc-from-define.
5760 (package-unpack-single): Change file-name arg to be a symbol.
5761 (package--add-to-archive-contents): Use package-desc-create and new
5762 accessor functions to package--ac-desc.
5763 (package-buffer-info, package-tar-file-info): Return a package-desc.
5764 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5765 arg to be a package-desc.
5766 (package-install-file): Adjust accordingly. Use \' to match EOS.
5767 (package--from-builtin): New function.
5768 (describe-package-1, package-menu--generate): Use it.
5769 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5770 (package-generate-autoloads): Idem and return the name of the file.
5771 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5772 Change pkg-info arg to be a package-desc.
5773 Use package-make-ac-desc.
5774 (package-upload-file): Use \' to match EOS.
5775 * finder.el (finder-compile-keywords): Use package-make-builtin.
5776
5777 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * vc/vc.el (vc-deduce-fileset): Change error message.
5780 (vc-read-backend): New function.
5781 (vc-next-action): Use it.
5782
5783 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5784
5785 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5786 (prolog-font-lock-keywords): Use regexp-opt instead.
5787 Don't manually highlight strings.
5788 (prolog-mode-variables): Simplify comment-start-skip.
5789 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5790
5791 * emacs-lisp/generic.el (generic--normalise-comments)
5792 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5793 (generic-mode-set-comments): Use them.
5794 (generic-bracket-support): Use setq-local.
5795 (generic-make-keywords-list): Declare obsolete.
5796
5797 2013-06-11 Glenn Morris <rgm@gnu.org>
5798
5799 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5800 Prettify after setting font-lock-defaults. (Bug#14574)
5801
5802 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * replace.el (query-replace, occur-read-regexp-defaults-function)
5805 (replace-search):
5806 * subr.el (declare-function, number-sequence, local-set-key)
5807 (substitute-key-definition, locate-user-emacs-file)
5808 (with-silent-modifications, split-string, eval-after-load):
5809 Fix typos, remove unneeded backslashes and reflow some docstrings.
5810
5811 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5814 default for Elisp files.
5815
5816 2013-06-11 Glenn Morris <rgm@gnu.org>
5817
5818 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5819 although define-derived-mode was doing this anyway. (Bug#14583)
5820
5821 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5824 Fix make-variable-buffer-local call to refer to the correct variable.
5825
5826 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5827
5828 * eshell/em-term.el (eshell-visual-commands)
5829 (eshell-visual-subcommands, eshell-visual-options):
5830 Add summary line to docstrings. Add cross-references.
5831
5832 2013-06-10 Glenn Morris <rgm@gnu.org>
5833
5834 * epa.el (epa-read-file-name): New function. (Bug#14510)
5835 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5836
5837 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5838
5839 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5840 output redirection to be ignored with visual commands.
5841
5842 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5843
5844 * eshell/em-term.el (eshell-visual-command-p): New function.
5845 (eshell-term-initialize): Move long lambda to separate function
5846 eshell-visual-command-p.
5847 * eshell/em-dirs.el (eshell-dirs-initialise):
5848 * eshell/em-script.el (eshell-script-initialize):
5849 Add missing #' to lambda.
5850
5851 2013-06-08 Leo Liu <sdl.web@gmail.com>
5852
5853 * progmodes/octave.el (octave-add-log-current-defun): New function.
5854 (octave-mode): Set add-log-current-defun-function.
5855 (octave-goto-function-definition): Do not move point if not found.
5856 (octave-find-definition): Enhance to try subfunctions first.
5857
5858 2013-06-08 Glenn Morris <rgm@gnu.org>
5859
5860 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5861 (byte-compile-backward-char, byte-compile-backward-word):
5862 Improve previous change, to handle non-explicit nil.
5863
5864 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5867 (smie--opener/closer-at-point): New function.
5868 (smie--matching-block-data): Use it. Don't match from right after an
5869 opener or right before a closer. Obey smie-blink-matching-inners.
5870 Don't signal a mismatch for repeated inners like "switch..case..case".
5871
5872 2013-06-07 Leo Liu <sdl.web@gmail.com>
5873
5874 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5875 to t. (Bug#14303)
5876 (octave-function-header-regexp): Fix. (Bug#14570)
5877 (octave-help-mode-finish-hook, octave-help-mode-finish):
5878 Remove. Just use temp-buffer-show-hook.
5879
5880 * newcomment.el (comment-search-backward): Revert last change.
5881 (Bug#14434)
5882
5883 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5884
5885 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5886
5887 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5888 through xargs, to avoid failure due to MS-Windows limitations on
5889 command-line length.
5890
5891 2013-06-06 Glenn Morris <rgm@gnu.org>
5892
5893 * font-lock.el (lisp-font-lock-keywords-2):
5894 Treat user-error like error.
5895
5896 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5897 (byte-compile-backward-char, byte-compile-backward-word):
5898 Handle explicit nil arguments. (Bug#14565)
5899
5900 2013-06-05 Alan Mackenzie <acm@muc.de>
5901
5902 * isearch.el (isearch-allow-prefix): New user option.
5903 (isearch-other-meta-char): Don't exit isearch when a prefix
5904 argument is typed whilst `isearch-allow-prefix' is non-nil.
5905 (Bug#9706)
5906
5907 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * autorevert.el (auto-revert-notify-handler): Use memq.
5910 Hide assertion failure.
5911
5912 * skeleton.el: Use cl-lib.
5913 (skeleton-further-elements): Use defvar-local.
5914 (skeleton-insert): Use cl-progv.
5915
5916 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5917
5918 * progmodes/prog-mode.el (prog-prettify-symbols)
5919 (prog-prettify-install): Update docstrings.
5920
5921 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * simple.el: Move all the prog-mode code to prog-mode.el.
5924 * progmodes/prog-mode.el: New file.
5925 * loadup.el: Add prog-mode.el.
5926
5927 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5928
5929 * simple.el (prog-prettify-symbols): Add version.
5930 (prog-prettify-install): Add convenience function to prettify symbols.
5931
5932 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5933 (perl--augmented-font-lock-keywords-1)
5934 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5935 variables and use it.
5936
5937 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5938 (cfengine3-mode): Remove unneeded variable and use it.
5939
5940 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5941 (lisp--augmented-font-lock-keywords-1)
5942 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5943 Remove unneeded variables and use it.
5944
5945 2013-06-05 João Távora <joaotavora@gmail.com>
5946
5947 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5948 to point when opening the connection. (Bug#14380)
5949
5950 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * subr.el (load-history-regexp, load-history-filename-element)
5953 (eval-after-load, after-load-functions, do-after-load-evaluation)
5954 (eval-next-after-load, display-delayed-warnings)
5955 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5956 definition of save-match-data.
5957 (overriding-local-map): Remove accidental obsolescence declaration.
5958
5959 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5960
5961 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5962
5963 Generalize symbol prettify support to prog-mode and implement it
5964 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5965 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5966 (prog--prettify-font-lock-compose-symbol)
5967 (prog-prettify-font-lock-symbols-keywords): New variables and
5968 functions to support symbol prettification.
5969 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5970 (lisp--augmented-font-lock-keywords-1)
5971 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5972 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5973 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5974 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5975 Implement prettify of -> => :: strings.
5976 * progmodes/perl-mode.el (perl-prettify-symbols)
5977 (perl--font-lock-compose-symbol)
5978 (perl--font-lock-symbols-keywords): Move to prog-mode.
5979 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5980 (perl-font-lock-keywords-1)
5981 (perl-font-lock-keywords-2): Remove explicit prettify support.
5982 (perl--augmented-font-lock-keywords)
5983 (perl--augmented-font-lock-keywords-1)
5984 (perl--augmented-font-lock-keywords-2, perl-mode):
5985 Implement prettify support.
5986
5987 2013-06-05 Leo Liu <sdl.web@gmail.com>
5988
5989 Re-implement smie matching block highlight using
5990 show-paren-data-function. (Bug#14395)
5991 * emacs-lisp/smie.el (smie-matching-block-highlight)
5992 (smie--highlight-matching-block-overlay)
5993 (smie--highlight-matching-block-lastpos)
5994 (smie-highlight-matching-block)
5995 (smie-highlight-matching-block-mode): Remove.
5996 (smie--matching-block-data-cache): New variable.
5997 (smie--matching-block-data): New function.
5998 (smie-setup): Use smie--matching-block-data for
5999 show-paren-data-function.
6000
6001 * progmodes/octave.el (octave-mode-menu): Fix.
6002 (octave-find-definition): Skip garbage lines.
6003
6004 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 Fix compilation error with simultaneous dynamic+lexical scoping.
6007 Add warning when a defvar appears after the first let-binding.
6008 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6009 (byte-compile-close-variables): Initialize it.
6010 (byte-compile--declare-var): New function.
6011 (byte-compile-file-form-defvar)
6012 (byte-compile-file-form-define-abbrev-table)
6013 (byte-compile-file-form-custom-declare-variable): Use it.
6014 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6015 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6016 (byte-compile-bind): Handle dynamic bindings that shadow
6017 lexical bindings.
6018 (byte-compile-unbind): Make arg non-optional.
6019 (byte-compile-let): Simplify.
6020 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6021 (cconv--analyse-function, cconv-analyse-form): Populate it.
6022 Protect byte-compile-bound-variables to limit the scope of defvars.
6023 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6024 Remove unneeded rule for `declare'.
6025
6026 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6027 so as to avoid depending on cl-adjoin at run-time.
6028 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6029
6030 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6031 (macroexp--warn-and-return): Use it.
6032
6033 2013-06-05 Leo Liu <sdl.web@gmail.com>
6034
6035 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6036
6037 2013-06-04 Leo Liu <sdl.web@gmail.com>
6038
6039 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6040 (compilation-auto-jump): Suppress the "Mark set" message to give
6041 way to exit message.
6042
6043 2013-06-04 Alan Mackenzie <acm@muc.de>
6044
6045 Remove faulty optimisation from indentation calculation.
6046 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6047 search limit based on 2000 characters back from indent-point.
6048
6049 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6050
6051 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6052
6053 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * emacs-lisp/lisp.el: Use lexical-binding.
6056 (lisp--local-variables-1, lisp--local-variables): New functions.
6057 (lisp--local-variables-completion-table): New var.
6058 (lisp-completion-at-point): Use it complete let-bound vars.
6059
6060 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6061 eagerly (bug#14422).
6062
6063 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6064
6065 * autorevert.el (auto-revert-notify-enabled)
6066 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6067 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6068 (auto-revert-notify-handler): Handle also gfilenotify.
6069
6070 * subr.el (file-notify-handle-event): New defun. Replacing ...
6071 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6072 Remove.
6073
6074 2013-06-03 Juri Linkov <juri@jurta.org>
6075
6076 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6077 `M-s h .'. (Bug#14427)
6078
6079 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6080 command `hi-lock-face-symbol-at-point'.
6081 (hi-lock-face-symbol-at-point): New command.
6082 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6083 (hi-lock-menu): Add `highlight-symbol-at-point'.
6084 (hi-lock-mode): Doc fix.
6085
6086 * isearch.el (isearch-forward-symbol-at-point): New command.
6087 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6088 (isearch-highlight-regexp): Add a regexp which matches
6089 words/symbols for word/symbol mode.
6090
6091 * subr.el (find-tag-default-bounds): New function with the body
6092 mostly moved from `find-tag-default'.
6093 (find-tag-default): Move most code to `find-tag-default-bounds',
6094 call it and apply `buffer-substring-no-properties' afterwards.
6095
6096 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6097
6098 * eshell/em-term.el (eshell-term-initialize):
6099 Use `cl-intersection' rather than `intersection'.
6100
6101 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6102
6103 * vc/log-view.el: Doc fix.
6104 (log-view-mode-map): Copy keymap from `special-mode-map'.
6105
6106 2013-06-02 Eric Ludlam <zappo@gnu.org>
6107
6108 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6109 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6110 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6111 (eieio-unbound, eieio-default-superclass)
6112 (eieio--define-field-accessors, method-static, method-before)
6113 (method-primary, method-after, method-num-lists)
6114 (method-generic-before, method-generic-primary)
6115 (method-generic-after, method-num-slots)
6116 (eieio-specialized-key-to-generic-key)
6117 (eieio--check-type, class-v, class-p)
6118 (eieio-class-name, define-obsolete-function-alias)
6119 (eieio-class-parents-fast, eieio-class-children-fast)
6120 (same-class-fast-p, class-constructor, generic-p)
6121 (generic-primary-only-p, generic-primary-only-one-p)
6122 (class-option-assoc, class-option, eieio-object-p)
6123 (class-abstract-p, class-method-invocation-order)
6124 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6125 (eieio-class-un-autoload, eieio-defclass)
6126 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6127 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6128 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6129 (eieio-defgeneric-reset-generic-form)
6130 (eieio-defgeneric-form-primary-only)
6131 (eieio-defgeneric-reset-generic-form-primary-only)
6132 (eieio-defgeneric-form-primary-only-one)
6133 (eieio-defgeneric-reset-generic-form-primary-only-one)
6134 (eieio-unbind-method-implementations)
6135 (eieio--defmethod, eieio--typep)
6136 (eieio-perform-slot-validation, eieio-validate-slot-value)
6137 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6138 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6139 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6140 (eieio-slot-name-index, eieio-class-slot-name-index)
6141 (eieio-set-defaults, eieio-initarg-to-attribute)
6142 (eieio-attribute-to-initarg, eieio-c3-candidate)
6143 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6144 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6145 (eieio-class-precedence-list, eieio-generic-call-methodname)
6146 (eieio-generic-call-arglst, eieio-generic-call-key)
6147 (eieio-generic-call-next-method-list)
6148 (eieio-pre-method-execution-functions, eieio-generic-call)
6149 (eieio-generic-call-primary-only, eieiomt-method-list)
6150 (eieiomt-optimizing-obarray, eieiomt-install)
6151 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6152 (eieio-generic-form, eieio-defmethod, make-obsolete)
6153 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6154 (defclass): Remove `eval-and-compile' from macro.
6155 (call-next-method, shared-initialize): Instead of using
6156 `scoped-class' variable, use new eieio--scoped-class, and
6157 eieio--with-scoped-class.
6158 (initialize-instance): Rename local variable 'scoped-class' to
6159 'this-class' to remove ambiguitity from old global.
6160
6161 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6162 eieio.el.
6163 (eieio--scoped-class-stack): New variable.
6164 (eieio--scoped-class): New fcn.
6165 (eieio--with-scoped-class): New scoping macro.
6166 (eieio-defclass): Use pushnew instead of add-to-list.
6167 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6168 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6169 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6170 `scoped-class' variable, use new eieio--scoped-class, and
6171 eieio--with-scoped-class.
6172
6173 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6174
6175 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6176
6177 * eshell/esh-ext.el (eshell-external-command): Pass args to
6178 `eshell-find-interpreter'.
6179 (eshell-find-interpreter): Add new second parameter ARGS.
6180
6181 * eshell/em-script.el (eshell-script-initialize): Add second arg
6182 to the function added as MATCH to `eshell-interpreter-alist'.
6183
6184 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6185 the function added as MATCH to `eshell-interpreter-alist'.
6186
6187 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6188 (eshell-visual-options): New defcustom.
6189 (eshell-escape-control-x): Adapt docstring.
6190 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6191 `eshell-visual-options' in addition to `eshell-visual-commands'.
6192 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6193
6194 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6195
6196 * progmodes/python.el (python-indent-block-enders): Add break,
6197 continue and raise keywords.
6198
6199 2013-06-01 Glenn Morris <rgm@gnu.org>
6200
6201 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6202
6203 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6204 * progmodes/cc-cmds.el (delete-forward-p):
6205 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6206 * progmodes/cc-engine.el (buffer-syntactic-context):
6207 * progmodes/cc-fonts.el (face-property-instance):
6208 * progmodes/cc-mode.el (set-keymap-parents):
6209 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6210 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6211 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6212 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6213 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6214
6215 * progmodes/cc-vars.el (other): Emacs has this widget since
6216 at least 21.1, so don't (re)define it.
6217
6218 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6219 Replace the obsolete alias pcomplete-arg-quote-list.
6220
6221 2013-06-01 Leo Liu <sdl.web@gmail.com>
6222
6223 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6224 punctuation syntax.
6225 (inferior-octave-minimal-columns)
6226 (inferior-octave-last-column-width): New variables.
6227 (inferior-octave-track-window-width-change): New function.
6228 (inferior-octave-mode): Adjust column width so that Octave output,
6229 for example from 'ls', can fit into the window nicely.
6230
6231 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6232
6233 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6234 Highlight expansions inside regexp literals.
6235
6236 2013-05-31 Glenn Morris <rgm@gnu.org>
6237
6238 * obsolete/sym-comp.el (symbol-complete):
6239 Replace obsolete completion-annotate-function.
6240
6241 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6242
6243 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6244
6245 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6246 New function, checks if point is inside a literal that allows
6247 expression expansion.
6248 (ruby-syntax-propertize-expansion): Use it.
6249 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6250 around the body.
6251
6252 2013-05-30 Juri Linkov <juri@jurta.org>
6253
6254 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6255 to "\M-si".
6256 (isearch-invisible): New variable.
6257 (isearch-forward): Doc fix.
6258 (isearch-mode): Set `isearch-invisible'
6259 to the value of `search-invisible'.
6260 (isearch-toggle-case-fold): Doc fix.
6261 (isearch-toggle-invisible): New command.
6262 (isearch-query-replace): Let-bind `search-invisible'
6263 to the value of `isearch-invisible'.
6264 (isearch-search): Use `isearch-invisible' instead of
6265 `search-invisible'. Let-bind `search-invisible'
6266 to the value of `isearch-invisible'. (Bug#11378)
6267
6268 2013-05-30 Juri Linkov <juri@jurta.org>
6269
6270 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6271 call when `query-flag' is nil and `search-invisible' is non-nil.
6272 (Bug#11746)
6273
6274 2013-05-30 Glenn Morris <rgm@gnu.org>
6275
6276 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6277
6278 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6279 (cc-require): Suppress spurious "noruntime" warnings.
6280 (cc-require-when-compile): Use fboundp, for sake of compiler.
6281
6282 * progmodes/cc-mode.el: Move load of cc-vars before that of
6283 cc-langs (which in turn loads cc-vars), to quieten compiler.
6284
6285 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * paren.el: Simplify the code.
6288 (show-paren-mode): Always start the timer.
6289 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6290 (show-paren--overlay, show-paren--overlay-1): Rename from
6291 show-paren-overlay and show-paren-overlay-1, and initialize to an
6292 overlay rather than to nil.
6293 (show-paren-function): Misc cleanup and simplifications.
6294
6295 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * paren.el (show-paren-data-function): New hook.
6298 (show-paren--default): New function, extracted from show-paren-function.
6299 (show-paren-function): Use show-paren-data-function.
6300
6301 2013-05-30 Glenn Morris <rgm@gnu.org>
6302
6303 * ielm.el (ielm-map, ielm-complete-symbol):
6304 Use completion-at-point rather than obsolete functions.
6305 (inferior-emacs-lisp-mode): Doc fix.
6306 Set completion-at-point-functions, rather than
6307 comint-dynamic-complete-functions.
6308
6309 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6310 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6311 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6312
6313 * image.el (image-animated-p): Tweak definition.
6314
6315 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6316 (rlogin-process-connection-type): Tweak default. Add set-after.
6317 (rlogin-host): Doc fix.
6318 (rlogin): Tweak prompt.
6319 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6320
6321 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6322 * progmodes/tcl.el (inferior-tcl-mode-map):
6323 Use completion-at-point rather than obsolete alias.
6324
6325 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6326
6327 * minibuffer.el (read-file-name-completion-ignore-case):
6328 Move before completion--in-region, for eager macro expansion.
6329
6330 2013-05-29 Juri Linkov <juri@jurta.org>
6331
6332 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6333 for total count of matching lines. Add `global-matches' for total
6334 count of matches. Rename `matches' to `lines' for count of
6335 matching lines. Add `matches' for count of matches.
6336 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6337 to `prev-line' for line number of prev match endpt.
6338 Increment `matches' for every match. Print the number of
6339 matching lines in the header.
6340 (occur-context-lines): Rename `lines' to `curr-line'.
6341 Rename `prev-lines' to `prev-line'. (Bug#14017)
6342
6343 2013-05-29 Juri Linkov <juri@jurta.org>
6344
6345 * replace.el (perform-replace): Add `skip-read-only-count',
6346 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6347 Increment them for corresponding conditions and report the number
6348 of skipped occurrences in the final message. (Bug#11746)
6349 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6350 (replace-string, replace-regexp): Doc fix.
6351
6352 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6355
6356 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6357 prog-mode-map (bug#14504).
6358
6359 2013-05-29 Leo Liu <sdl.web@gmail.com>
6360
6361 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6362 (octave-help): Small simplification.
6363
6364 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6365 off the highlight first.
6366
6367 2013-05-29 Glenn Morris <rgm@gnu.org>
6368
6369 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6370 Handle idlwave-last-system-routine-info-cons-cell being nil.
6371
6372 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6373 (idlwave-write-paths): Simplify via with-temp-buffer.
6374
6375 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6376 * emulation/cua-rect.el: Also load cua-base at run time.
6377
6378 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6379 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6380 (cperl-imenu-on-info): Require imenu.
6381
6382 2013-05-28 Alan Mackenzie <acm@muc.de>
6383
6384 Handle "capitalised keywords" correctly.
6385 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6386
6387 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6388
6389 * eshell/em-unix.el: Add -r option to cp.
6390
6391 2013-05-28 Glenn Morris <rgm@gnu.org>
6392
6393 * vc/vc-arch.el (vc-exec-after): Declare.
6394 (vc-switches): Autoload.
6395 * vc/vc-bzr.el: No need to require vc when compiling.
6396 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6397 (vc-resynch-buffer, vc-dir-refresh): Declare.
6398 (vc-setup-buffer, vc-switches): Autoload.
6399 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6400 (vc-resynch-buffer): Declare.
6401 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6402 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6403 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6404 (grep-read-regexp, grep-read-files, grep-expand-template)
6405 (vc-dir-refresh): Declare.
6406 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6407 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6408 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6409 * vc/vc-mtn.el (vc-exec-after): Declare.
6410 (vc-switches): Autoload.
6411 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6412 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6413 (vc-file-tree-walk): Declare.
6414 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6415 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6416 (vc-tag-precondition, vc-rename-master): Autoload.
6417 * vc/vc-svn.el (vc-exec-after): Declare.
6418 (vc-switches, vc-setup-buffer): Autoload.
6419 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6420 Autoload.
6421 (vc-resynch-buffer): Declare.
6422
6423 * obsolete/fast-lock.el (byte-compile-warnings):
6424 Don't warn about obsolete features in this obsolete file.
6425
6426 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6427 Move definition before use.
6428
6429 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6430 (dun-unix-verbs): Remove dun-zippy.
6431 (dun-zippy): Remove function.
6432
6433 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6434
6435 2013-05-27 Juri Linkov <juri@jurta.org>
6436
6437 * replace.el (replace-search): New function with code moved out
6438 from `perform-replace'.
6439 (replace-highlight, replace-dehighlight): Move function definitions
6440 up closer to `replace-search'. (Bug#11746)
6441
6442 2013-05-27 Juri Linkov <juri@jurta.org>
6443
6444 * replace.el (perform-replace): Ignore invisible matches.
6445 In addition to checking `query-replace-skip-read-only', also
6446 filter out matches by calling `run-hook-with-args-until-failure'
6447 on `isearch-filter-predicates', and also check `search-invisible'
6448 for t or call `isearch-range-invisible'.
6449 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6450
6451 2013-05-27 Juri Linkov <juri@jurta.org>
6452
6453 * isearch.el (isearch-filter-predicates): Rename from
6454 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6455 (isearch-message-prefix): Display text from the property
6456 `isearch-message-prefix' of the currently active filters.
6457 (isearch-search): Don't compare `isearch-filter-predicate' with
6458 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6459 on `isearch-filter-predicates'. Also check `search-invisible' for t
6460 or call `isearch-range-invisible'.
6461 (isearch-filter-visible): Make obsolete.
6462 (isearch-lazy-highlight-search):
6463 Call `run-hook-with-args-until-failure' on
6464 `isearch-filter-predicates' and use `isearch-range-invisible'.
6465
6466 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6467 `isearch-filter-predicates' instead of `funcall'ing
6468 `isearch-filter-predicate'.
6469 (Info-mode): Set `Info-isearch-filter' to
6470 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6471
6472 * dired-aux.el (dired-isearch-filter-predicate-orig):
6473 Remove variable.
6474 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6475 (dired-isearch-filenames-end): Add and remove
6476 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6477 instead of changing the value of `isearch-filter-predicate'.
6478 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6479 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6480 Put property `isearch-message-prefix' to "filename " on
6481 `dired-isearch-filter-filenames'.
6482
6483 * wdired.el (wdired-change-to-wdired-mode):
6484 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6485 locally instead of changing `isearch-filter-predicate'.
6486 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6487
6488 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6489
6490 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6491 return the commit hash (Bug#14459). Also set the
6492 `vc-git-detached' property.
6493 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6494 (vc-git-mode-line-string): Use the same help-echo format whether
6495 in detached mode or not, because we know the actual revision now.
6496 When in detached mode, shorten the revision to 7 chars.
6497
6498 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * emacs-lisp/easy-mmode.el (define-minor-mode):
6501 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6502 mode hook and provide a docstring.
6503
6504 2013-05-27 Alan Mackenzie <acm@muc.de>
6505
6506 Remove spurious syntax-table text properties inserted by C-y.
6507 * progmodes/cc-mode.el (c-after-change): Also clear hard
6508 syntax-table property with value nil.
6509
6510 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6513 when reading the events; the buffer layout shall not be changed.
6514
6515 2013-05-27 Leo Liu <sdl.web@gmail.com>
6516
6517 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6518 New variable.
6519 (inferior-octave-directory-tracker): Automatically re-sync
6520 default-directory.
6521 (octave-help): Improve handling of 'See also'.
6522
6523 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6524
6525 * doc-view.el: Minor naming convention tweaks.
6526 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6527
6528 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6529 even if there's no `display' property yet (bug#14435).
6530
6531 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6532
6533 * subr.el (unmsys--file-name): Rename from reveal-filename.
6534
6535 * Makefile.in (custom-deps, finder-data, autoloads)
6536 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6537 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6538 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6539
6540 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6543 error-completion on the first 2 args of condition-case (bug#14446).
6544 Don't burp at EOB.
6545
6546 2013-05-25 Leo Liu <sdl.web@gmail.com>
6547
6548 * comint.el (comint-previous-matching-input): Do not flood the
6549 *Messages* buffer with trivial messages.
6550
6551 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * progmodes/flymake.el (flymake-nop): Don't return a string.
6554 (flymake-set-at): Fix typo.
6555
6556 * simple.el (read--expression): New function, extracted from
6557 eval-expression. Set completion-at-point-functions (bug#14465).
6558 (eval-expression, eval-minibuffer): Use it.
6559
6560 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6561
6562 * progmodes/flymake.el (flymake-save-buffer-in-file)
6563 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6564 (flymake-selected-frame, flymake-log, flymake-ins-after)
6565 (flymake-set-at, flymake-get-buildfile-from-cache)
6566 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6567 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6568 Refine the doc string.
6569 (flymake-get-file-name-mode-and-masks): Reformat.
6570 (flymake-get-real-file-name-function): Fix a minor bug.
6571
6572 2013-05-24 Juri Linkov <juri@jurta.org>
6573
6574 * progmodes/grep.el (grep-mode-font-lock-keywords):
6575 Support =linenumber= format used by git-grep for lines with
6576 function names. (Bug#13549)
6577
6578 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6581 0 after a semi-colon; it works better for smie-auto-fill.
6582 (octave--indent-new-comment-line): New function.
6583 (octave-indent-new-comment-line): Use it (indirectly).
6584 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6585 modify comment-line-break-function.
6586
6587 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6588 (smie-setup): Use add-function to set it.
6589
6590 2013-05-24 Sam Steingold <sds@gnu.org>
6591
6592 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6593 argument (before the `interactive' argument).
6594
6595 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * image-mode.el (image-mode-winprops): Add winprops to
6598 image-mode-winprops-alist before running
6599 image-mode-new-window-functions.
6600 * doc-view.el (doc-view-new-window-function): Don't delay
6601 doc-view-goto-page via timers (bug#14435).
6602
6603 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6604
6605 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6606 (doc-view-desktop-save-buffer): New function.
6607 (doc-view-restore-desktop-buffer): New function.
6608 (desktop-buffer-mode-handlers):
6609 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6610 handler.
6611 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6612 `desktop-save-buffer' function.
6613
6614 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6615
6616 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6617 (tramp-gvfs-file-name-handler): Raise a user error when
6618 `tramp-gvfs-enabled' is nil.
6619 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6620 Do not raise a user error when loading package. (Bug#14447)
6621
6622 * net/xesam.el: Move to obsolete/.
6623
6624 2013-05-24 Glenn Morris <rgm@gnu.org>
6625
6626 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6627
6628 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6629
6630 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6631 (Info-find-node, Man-getpage-in-background): Declare.
6632
6633 * mail/unrmail.el (unrmail):
6634 Replace obsolete detect-coding-with-priority.
6635
6636 * net/socks.el (socks-split-string): Use this rather than split-string.
6637 (socks-nslookup-host): Update for above change.
6638 (dynamic-choice, s5-dynamic-choice-match)
6639 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6640 Comment out unused code.
6641
6642 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6643 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6644 (gud-tooltip-echo-area): Make obsolete.
6645 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6646
6647 * progmodes/js.el (js--optimize-arglist): Declare.
6648
6649 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6650
6651 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6652 (ediff-window-C): Declare.
6653
6654 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6655 Tweak requires to silence compiler.
6656
6657 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6658 (he-search-string, he-tried-table, he-expand-list)
6659 (he-init-string, he-string-member, he-substitute-string)
6660 (he-reset-string): Declare.
6661
6662 * obsolete/options.el (list-options): Use custom-variable-p,
6663 rather than obsolete alias.
6664
6665 2013-05-23 Sam Steingold <sds@gnu.org>
6666
6667 * simple.el (shell-command-on-region): Pass the `replace' argument
6668 down to `call-process-region' to comply with the doc as reported on
6669 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6670
6671 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * emacs-lisp/smie.el (smie-indent-forward-token)
6674 (smie-indent-backward-token): Handle string tokens (bug#14381).
6675
6676 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6677
6678 * ielm.el (ielm-menu): New menu.
6679 (inferior-emacs-lisp-mode): Set comment-start.
6680
6681 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6682
6683 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6684 Fix deactivate action.
6685
6686 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6687 Add cleveref macros.
6688
6689 * lisp/textmodes/reftex-parse.el
6690 (reftex-locate-bibliography-files): Accept options for
6691 bibliography commands.
6692 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6693 Add addbibresource. Basic Biblatex support.
6694
6695 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6696
6697 * net/tramp-gvfs.el (top):
6698 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6699 when loading package. (Bug#14447)
6700
6701 2013-05-23 Glenn Morris <rgm@gnu.org>
6702
6703 * progmodes/js.el: No need to load comint when compiling.
6704 (ring-insert, comint-send-string, comint-send-input)
6705 (comint-last-input-end, ido-chop): Declare.
6706
6707 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6708 * vc/ediff-mult.el: Adjust requires.
6709 (ediff-directories-internal, ediff-directory-revisions-internal)
6710 (ediff-patch-file-internal): Declare.
6711 * vc/ediff-ptch.el: Adjust requires.
6712 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6713 (ediff-find-file): Autoload.
6714 * vc/ediff-util.el: No need to load ediff when compiling.
6715 (ediff-regions-internal): Declare.
6716 * vc/ediff-wind.el: Adjust requires.
6717 (ediff-compute-toolbar-width): Define when compiling.
6718 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6719 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6720 (dired-get-filename, dired-get-marked-files)
6721 (ediff-last-dir-patch, ediff-patch-default-directory)
6722 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6723 (ediff-patch-buffer-internal): Declare.
6724
6725 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6726 (ispell-process, ispell-buffer-local-words, lm-summary)
6727 (lm-section-start, lm-section-end): Declare.
6728 (checkdoc-ispell-init): Simplify.
6729
6730 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6731 (he-string-member, he-reset-string, he-substitute-string): Declare.
6732
6733 * eshell/em-ls.el: Adjust requires.
6734 (eshell-glob-regexp): Declare.
6735 * eshell/em-tramp.el: Adjust requires.
6736 (eshell-parse-command): Autoload.
6737 * eshell/em-xtra.el: Adjust requires.
6738 (eshell-parse-command): Autoload.
6739 * eshell/esh-ext.el: Adjust requires.
6740 (eshell-parse-command, eshell-close-handles): Autoload.
6741 * eshell/esh-io.el: Adjust requires.
6742 (eshell-output-filter): Autoload.
6743 * eshell/esh-util.el: No need to load tramp when compiling.
6744 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6745 Declare.
6746 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6747 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6748 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6749 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6750 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6751 * eshell/esh-opt.el, eshell/esh-proc.el:
6752 * eshell/esh-var.el: Adjust requires.
6753 * eshell/eshell.el: Do not require esh-util twice.
6754 (eshell-add-input-to-history): Declare.
6755 (eshell-command): Check history module is active before using it.
6756
6757 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6758
6759 2013-05-22 Leo Liu <sdl.web@gmail.com>
6760
6761 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6762
6763 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6764
6765 * autorevert.el (auto-revert-notify-add-watch)
6766 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6767 it indicates changes in file modification time.
6768
6769 2013-05-22 Glenn Morris <rgm@gnu.org>
6770
6771 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6772 Always delete the autoloaded function from the noruntime and
6773 unresolved functions lists.
6774
6775 * allout.el: No need to load epa, epg, overlay when compiling.
6776 (epg-context-set-passphrase-callback, epg-list-keys)
6777 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6778 (epg-key-user-id-list): Declare.
6779
6780 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6781 (viper-set-parsing-style-toggling-macro)
6782 (viper-set-emacs-state-searchstyle-macros):
6783 Use called-interactively-p on Emacs.
6784 (viper-looking-back): Make it an obsolete alias. Update callers.
6785 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6786 Use looking-back rather than viper-looking-back.
6787 (viper-tmp-insert-at-eob, viper-enlarge-region)
6788 (viper-read-string-with-history, viper-register-to-point)
6789 (viper-append-to-register, viper-change-state-to-vi)
6790 (viper-backward-char-carefully, viper-forward-char-carefully)
6791 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6792 (viper-change-state-to-emacs): Declare.
6793 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6794 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6795 * emulation/viper-mous.el: Do not load viper-cmd.
6796 (viper-backward-char-carefully, viper-forward-char-carefully)
6797 (viper-forward-word, viper-adjust-window): Declare.
6798
6799 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6800
6801 * progmodes/idlw-help.el (idlwave-help-fontify):
6802 Use called-interactively-p.
6803
6804 * term/w32console.el (w32-get-console-codepage)
6805 (w32-get-console-output-codepage): Declare.
6806
6807 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6808 Remove unnecessary declarations.
6809 (dframe-message): Doc fix.
6810
6811 * info.el (dframe-select-attached-frame, dframe-current-frame):
6812 Declare.
6813
6814 * speedbar.el (speedbar-message): Make it an obsolete alias.
6815 Update all callers.
6816 (speedbar-with-attached-buffer)
6817 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6818 (speedbar-with-writable): Use backquote.
6819 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6820 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6821 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6822 rather than speedbar- aliases.
6823 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6824 (speedbar-make-specialized-keymap, speedbar-insert-button)
6825 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6826 (speedbar-do-function-pointer): Declare.
6827 (rmail-speedbar-button, rmail-speedbar-find-file)
6828 (rmail-speedbar-move-message):
6829 Use dframe-with-attached-buffer rather than speedbar- alias.
6830 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6831 (dframe-message, speedbar-make-specialized-keymap)
6832 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6833 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6834 (speedbar-insert-button, dframe-select-attached-frame)
6835 (dframe-maybee-jump-to-attached-frame)
6836 (speedbar-change-initial-expansion-list)
6837 (speedbar-previously-used-expansion-list-name): Declare.
6838 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6839 Use dframe-message, dframe-with-attached-buffer rather than
6840 speedbar- aliases.
6841 (gud-sentinel): Silence compiler.
6842 * progmodes/vhdl-mode.el (speedbar-refresh)
6843 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6844 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6845 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6846 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6847 (speedbar-file-lists, speedbar-make-tag-line)
6848 (speedbar-line-directory, speedbar-goto-this-file)
6849 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6850 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6851 (speedbar-make-button, speedbar-reset-scanners)
6852 (speedbar-files-item-info, speedbar-line-text)
6853 (speedbar-find-file-in-frame, speedbar-set-timer)
6854 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6855 (speedbar-with-writable): Do not (re)define it.
6856 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6857 rather than speedbar- alias.
6858
6859 2013-05-21 Leo Liu <sdl.web@gmail.com>
6860
6861 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6862 menu items.
6863 (octave-mode): Tweak fill-nobreak-predicate.
6864 (inferior-octave-startup): Check process to avoid infinite loop.
6865 (inferior-octave): Pop to buffer first to show abornmal process
6866 exit information.
6867
6868 2013-05-21 Glenn Morris <rgm@gnu.org>
6869
6870 * printing.el (pr-menu-bar): Define when compiling.
6871
6872 2013-05-21 Leo Liu <sdl.web@gmail.com>
6873
6874 * progmodes/octave.el (octave-auto-fill): Remove.
6875 (octave-indent-new-comment-line): Improve.
6876 (octave-mode): Use auto fill mode through
6877 comment-line-break-function and fill-nobreak-predicate.
6878 (octave-goto-function-definition): Support DEFUN_DLD.
6879 (octave-beginning-of-defun): Small tweak.
6880 (octave-help): Show parent directory.
6881
6882 2013-05-21 Glenn Morris <rgm@gnu.org>
6883
6884 * files.el (dired-unmark):
6885 * progmodes/gud.el (gdb-input): Update declarations.
6886
6887 * calculator.el (electric, ehelp): No need to load when compiling.
6888 (Electric-command-loop, electric-describe-mode): Declare.
6889
6890 * doc-view.el (doc-view-current-converter-processes): Move before use.
6891
6892 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6893 Move MODE-set-explicitly definition before use.
6894
6895 * international/mule-diag.el (mule-diag):
6896 Don't use obsolete window-system-version.
6897
6898 * mail/feedmail.el (smtpmail): No need to load when compiling.
6899 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6900
6901 * mail/mail-utils.el (rfc822): No need to load when compiling.
6902 (rfc822-addresses): Autoload it.
6903 (mail-strip-quoted-names): Trivial simplification.
6904
6905 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6906 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6907
6908 * net/snmp-mode.el (tempo): Don't duplicate requires.
6909
6910 * progmodes/prolog.el (info): No need to load when compiling.
6911 (comint): Require before shell requires it.
6912 (Info-goto-node): Autoload it.
6913 (Info-follow-nearest-node): Declare.
6914 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6915
6916 * textmodes/artist.el (picture-mode-exit): Declare.
6917
6918 * textmodes/reftex-parse.el (reftex-parse-from-file):
6919 Trivial rewrite so the compiler can parse it better.
6920
6921 2013-05-20 Leo Liu <sdl.web@gmail.com>
6922
6923 * progmodes/octave.el (octave-help-mode-map)
6924 (octave-help-mode-finish-hook): New variables.
6925 (octave-help-mode, octave-help-mode-finish): New functions.
6926 (octave-help): Use octave-help-mode.
6927
6928 2013-05-20 Glenn Morris <rgm@gnu.org>
6929
6930 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6931
6932 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6933
6934 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6935 start at point, so that expansion starting right after opening
6936 slash in a regexp is recognized.
6937 (ruby-syntax-before-regexp-re): New defvar, extracted from
6938 ruby-syntax-propertize-function. Since the value of this regexp
6939 is looked up at runtime now, we should be able to turn
6940 `ruby-syntax-methods-before-regexp' into a defcustom later.
6941 (ruby-syntax-propertize-function): Split regexp matching into two
6942 parts, for opening and closing slashes. That allows us to skip
6943 over string interpolations and support multiline regexps.
6944 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6945 for them, which calls `ruby-syntax-propertize-expansion'.
6946 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6947 call to `ruby-syntax-propertize-function'.
6948 (ruby-syntax-propertize-expansion): Extracted from
6949 `ruby-syntax-propertize-expansions'. Handles one expansion.
6950 (ruby-syntax-propertize-percent-literal): Leave point right after
6951 the percent symbol, so that the expression expansion rule can
6952 propertize the contents.
6953 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6954 heredoc openers.
6955 (ruby-syntax-propertize-expansions): Remove.
6956
6957 2013-05-18 Juri Linkov <juri@jurta.org>
6958
6959 * man.el (Man-default-man-entry): Remove `-' from the end
6960 of the default value. (Bug#14400)
6961
6962 2013-05-18 Glenn Morris <rgm@gnu.org>
6963
6964 * comint.el (comint-password-prompt-regexp):
6965 Allow "password for XXX" where XXX contains colons (eg https://...).
6966
6967 2013-05-18 Leo Liu <sdl.web@gmail.com>
6968
6969 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6970 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6971 (octave-source-directories): Don't check process.
6972 (octave-source-directories, octave-find-definition): Doc fix.
6973
6974 2013-05-18 Glenn Morris <rgm@gnu.org>
6975
6976 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6977 Remove backspace/delete bindings. (Bug#14392)
6978
6979 * cus-dep.el (custom-make-dependencies): Sort the output.
6980 (custom-versions-load-alist): Convert comment to doc.
6981
6982 2013-05-17 Leo Liu <sdl.web@gmail.com>
6983
6984 * newcomment.el (comment-search-backward): Stricter in finding
6985 comment start. (Bug#14303)
6986
6987 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6988 (octave-comment-start-skip): Properly anchored.
6989
6990 2013-05-17 Leo Liu <sdl.web@gmail.com>
6991
6992 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6993 Clean up when turned off. (Bug#14395)
6994 (smie--highlight-matching-block-overlay): No longer buffer-local.
6995 (smie-highlight-matching-block): Adjust.
6996
6997 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6998
6999 Doc string fix for "nanoseconds" (Bug#14406).
7000 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7001 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7002
7003 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7004
7005 * calc/calc-units.el (math-extract-units): Preserve powers
7006 of units.
7007
7008 2013-05-17 Leo Liu <sdl.web@gmail.com>
7009
7010 * subr.el (delete-consecutive-dups): New function.
7011 * ido.el (ido-set-matches-1): Use it.
7012 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7013 * ido.el (ido-remove-consecutive-dups): Remove.
7014
7015 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7018 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7019 regexp-opt's `words'.
7020
7021 2013-05-16 Leo Liu <sdl.web@gmail.com>
7022
7023 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7024 (smie--highlight-matching-block-overlay)
7025 (smie--highlight-matching-block-lastpos)
7026 (smie--highlight-matching-block-timer): New variables.
7027 (smie-highlight-matching-block): New function.
7028 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7029 (smie-setup): Conditionally enable smie-blink-matching-open.
7030
7031 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7032
7033 Sync with upstream verilog-mode r840.
7034 * progmodes/verilog-mode.el (verilog-mode-version)
7035 (verilog-mode-release-date): Update.
7036 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7037 (verilog-sig-tieoff): Fix string error on
7038 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7039 (verilog-read-decls): Fix parameters confusing
7040 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7041
7042 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7043
7044 * subr.el (reveal-filename): New function.
7045
7046 * loadup.el: Compute Emacs executable versions on MS-Windows,
7047 where executables have the .exe extension. Add a hard link
7048 emacs-XX.YY.ZZ.exe on MS-Windows.
7049
7050 * Makefile.in (XARGS_LIMIT): New variable.
7051 (custom-deps, finder-data, autoloads)
7052 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7053 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7054 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7055 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7056
7057 2013-05-16 Leo Liu <sdl.web@gmail.com>
7058
7059 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7060 (octave-mode-menu, octave-mode-map): Remove its uses.
7061
7062 2013-05-16 Reto Zimmermann <reto@gnu.org>
7063
7064 Sync with upstream vhdl mode v3.34.2.
7065 * progmodes/vhdl-mode.el: Use `push' throughout.
7066 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7067 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7068 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7069 (vhdl-actual-generic-name): New option to derive actual generic name.
7070 (vhdl-port-paste-signals): Replace formal by actual generics.
7071 (vhdl-beautify): New name for old group vhdl-align. Update users.
7072 (vhdl-beautify-options): New option.
7073 (vhdl-last-input-event): New compat alias. Use throughout.
7074 (vhdl-goto-line): Replace user level function `goto-line'.
7075 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7076 vhdl-fix-statement-buffer.
7077 (vhdl-create-mode-menu): Add some entries.
7078 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7079 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7080 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7081 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7082 to force statements on one line.
7083 (vhdl-remove-trailing-spaces-region):
7084 New, split from vhdl-remove-trailing-spaces.
7085 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7086 Respect vhdl-beautify-options.
7087 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7088 (vhdl-update-sensitivity-list): Not add with index if exists without.
7089 Not include array index with signal. Ignore keywords in comments.
7090 (vhdl-get-visible-signals): Regexp tweaks.
7091 (vhdl-template-component-inst): Handle empty library.
7092 (vhdl-template-type): Add template for 'enum' type.
7093 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7094 Use vhdl-replace-string.
7095 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7096 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7097 (vhdl-speedbar-initialize): Update for above name change.
7098 (vhdl-compose-wire-components): Fix in handling of constants.
7099 (vhdl-error-regexp-emacs-alist): New variable.
7100 (vhdl-error-regexp-add-emacs): New function;
7101 adds support for new compile.el (Emacs 22+)
7102 (vhdl-generate-makefile-1): Change target order for single lib. units.
7103 Allow use of absolute file names.
7104
7105 2013-05-16 Leo Liu <sdl.web@gmail.com>
7106
7107 * simple.el (prog-indent-sexp): Indent enclosing defun.
7108
7109 2013-05-15 Glenn Morris <rgm@gnu.org>
7110
7111 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7112 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7113 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7114 (whitespace-highlight): Move to whitespace group.
7115
7116 * comint.el (comint-source):
7117 * pcmpl-linux.el (pcmpl-linux):
7118 * shell.el (shell-faces):
7119 * eshell/esh-opt.el (eshell-opt):
7120 * international/ccl.el (ccl): Remove empty custom groups.
7121
7122 * completion.el (dynamic-completion-mode):
7123 * jit-lock.el (jit-lock-debug-mode):
7124 * minibuffer.el (completion-in-region-mode):
7125 * type-break.el (type-break-mode-line-message-mode)
7126 (type-break-query-mode):
7127 * emulation/tpu-edt.el (tpu-edt-mode):
7128 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7129 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7130 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7131
7132 * term/xterm.el (xterm): Change parent group to terminals.
7133
7134 * master.el (master): Remove empty custom group.
7135 (master-mode): Remove unused :group argument.
7136 * textmodes/refill.el (refill): Remove empty custom group.
7137 (refill-mode): Remove unused :group argument.
7138
7139 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7140
7141 * cus-dep.el: Provide a feature.
7142 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7143 Don't mistakenly ignore files whose basenames match a basename
7144 from preloaded-file-list (eg cedet/ede/simple.el).
7145 Add a fallback method for getting :group.
7146
7147 2013-05-15 Juri Linkov <juri@jurta.org>
7148
7149 * isearch.el (isearch-char-by-name): Rename from
7150 `isearch-insert-char-by-name'. Doc fix.
7151 (isearch-forward): Mention `isearch-char-by-name' in
7152 the docstring. (Bug#13348)
7153
7154 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7155 `exit-minibuffer' instead of
7156 `isearch-nonincremental-exit-minibuffer'.
7157 (isearch-edit-string): Remove mention of
7158 `isearch-nonincremental-exit-minibuffer' from docstring.
7159 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7160 (isearch-forward-exit-minibuffer)
7161 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7162
7163 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * loadup.el: Just use unversioned DOC.
7166
7167 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7168 literals as extending to EOB.
7169 (nxml-last-fontify-end): Remove unused variable.
7170 (nxml-after-change1): Use with-silent-modifications.
7171 (nxml-extend-after-change-region): Simplify.
7172 (nxml-extend-after-change-region1): Remove function.
7173 (nxml-after-change1): Don't adjust for dependent regions.
7174 (nxml-fontify-matcher): Simplify.
7175 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7176 (xmltok-add-dependent): Remove function.
7177 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7178 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7179 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7180 unclosed <[[, <?, comment, and other literals as extending to EOB.
7181 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7182 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7183 Remove functions.
7184 (rng-do-some-validation-1): Don't mark dependent regions.
7185 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7186 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7187 (nxml-clear-dependent-regions): Remove functions.
7188 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7189 (nxml-ensure-scan-up-to-date):
7190 Don't clear&mark dependent regions.
7191
7192 2013-05-15 Leo Liu <sdl.web@gmail.com>
7193
7194 * progmodes/octave.el (octave-goto-function-definition):
7195 Improve and fix callers.
7196
7197 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7200 the setter (bug#14387).
7201
7202 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7203 surrounding group (bug#14402).
7204
7205 2013-05-14 Juri Linkov <juri@jurta.org>
7206
7207 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7208 (Bug#14390)
7209
7210 2013-05-14 Glenn Morris <rgm@gnu.org>
7211
7212 * progmodes/f90.el (f90-imenu-generic-expression):
7213 Fix typo in 2013-05-08 change. (Bug#14402)
7214
7215 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7216
7217 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7218 Remove signals for which replies are never received.
7219
7220 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7221
7222 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7223 (gdb-handler-alist, gdb-handler-number): Remove variables.
7224 (gdb-handler-list): New variable.
7225 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7226 (gdb-pending-handler-p, gdb-handle-reply)
7227 (gdb-remove-all-pending-triggers): New functions.
7228 (gdb-discard-unordered-replies): New defcustom.
7229 (gdb-handler): New defstruct.
7230 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7231 instead of gdb-pending-triggers. Update docstring.
7232 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7233 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7234 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7235 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7236 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7237 (gdb-frame-handler): Pending triggers are now automatically managed.
7238 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7239 Remove argument.
7240 (gdb-input): Automatically handles pending triggers. Update docstring.
7241 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7242 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7243 Update comments.
7244 (gdb-done-or-error): Now use gdb-handle-reply.
7245
7246 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7247
7248 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7249 gdb-debug-log.
7250
7251 2013-05-14 Glenn Morris <rgm@gnu.org>
7252
7253 * subr.el (user-emacs-directory-warning): New option.
7254 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7255
7256 2013-05-14 Leo Liu <sdl.web@gmail.com>
7257
7258 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7259 during redisplay.
7260 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7261 (octave-font-lock-texinfo-comment): Fix invalid search bound
7262 error: wrong side of point.
7263
7264 2013-05-14 Glenn Morris <rgm@gnu.org>
7265
7266 * progmodes/flymake.el (flymake-xml-program): New option.
7267 (flymake-xml-init): Use it.
7268
7269 * term/xterm.el: Provide a feature.
7270
7271 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7272
7273 2013-05-13 Glenn Morris <rgm@gnu.org>
7274
7275 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7276 Add compat aliases as a hack workaround. (Bug#14384)
7277
7278 2013-05-13 Leo Liu <sdl.web@gmail.com>
7279
7280 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7281 ###, and %!.
7282 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7283 C-M-q.
7284 (octave-comment-start-skip): Include %!.
7285 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7286
7287 2013-05-12 Leo Liu <sdl.web@gmail.com>
7288
7289 * progmodes/octave.el (inferior-octave-startup): Store the value
7290 of __octave_srcdir__ for octave-source-directories.
7291 (inferior-octave-check-process): New function refactored out of
7292 inferior-octave-send-list-and-digest.
7293 (octave-source-directories)
7294 (octave-find-definition-filename-function): New variables.
7295 (octave-source-directories)
7296 (octave-find-definition-default-filename): New functions.
7297 (octave-find-definition): Improve to find functions implemented in C++.
7298
7299 2013-05-12 Glenn Morris <rgm@gnu.org>
7300
7301 * calendar/diary-lib.el (diary-outlook-format-1):
7302 Don't include dayname in the output. (Bug#14349)
7303
7304 2013-05-11 Glenn Morris <rgm@gnu.org>
7305
7306 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7307
7308 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7309 Treat cc-provide like provide.
7310
7311 2013-05-11 Kevin Ryde <user42@zip.com.au>
7312
7313 * cus-dep.el (custom-make-dependencies):
7314 Use generated-autoload-load-name for the sake of files such
7315 such cedet/semantic/bovine/c.el, where the base file name
7316 is not in load-path. (Bug#5277)
7317
7318 2013-05-11 Glenn Morris <rgm@gnu.org>
7319
7320 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7321 Provide features.
7322
7323 2013-05-11 Leo Liu <sdl.web@gmail.com>
7324
7325 * progmodes/octave.el (octave-indent-comment): Improve.
7326 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7327 (octave-eldoc-function-signatures, octave-eldoc-function):
7328 New functions.
7329 (octave-mode, inferior-octave-mode): Add eldoc support.
7330
7331 2013-05-11 Richard Stallman <rms@gnu.org>
7332
7333 * epa.el (epa-decrypt-file): Take output file name as argument
7334 and read it using `interactive'.
7335
7336 2013-05-11 Leo Liu <sdl.web@gmail.com>
7337
7338 * progmodes/octave.el (octave-beginning-of-line)
7339 (octave-end-of-line): Check before using up-list because it jumps
7340 out of more syntactic contructs since moving to smie.
7341 (octave-indent-comment): New function.
7342 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7343 (octave-begin-keywords, octave-end-keywords)
7344 (octave-reserved-words, octave-smie-bnf-table)
7345 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7346
7347 2013-05-11 Glenn Morris <rgm@gnu.org>
7348
7349 * faces.el (internal-face-x-get-resource):
7350 * frame.el (ns-display-monitor-attributes-list):
7351 * calc/calc-aent.el (math-to-radians-2):
7352 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7353 Fix declarations.
7354
7355 * calc/calc-menu.el: Make it loadable in isolation.
7356
7357 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7358 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7359 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7360 (eudc-bbdb-query-internal): Require 'bbdb.
7361
7362 * lpr.el (lpr-headers-switches):
7363 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7364
7365 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7366
7367 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7368
7369 * term.el (term-set-escape-char): Make it idempotent.
7370
7371 2013-05-10 Leo Liu <sdl.web@gmail.com>
7372
7373 * progmodes/octave.el (inferior-octave-completion-table):
7374 No longer a function and all uses changed. Use cache to speed up
7375 completion due to bug#11906.
7376 (octave-beginning-of-defun): Re-write to be more general.
7377
7378 2013-05-10 Glenn Morris <rgm@gnu.org>
7379
7380 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7381
7382 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * comint.el (comint-redirect-send-command-to-process): Use :around
7385 rather than :override for comint-redirect-filter.
7386 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7387 Call it instead of comint-redirect-original-filter-function (which
7388 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7389
7390 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7391
7392 * frame.el (display-monitor-attributes-list): Add NS case.
7393 (ns-display-monitor-attributes-list): Declare.
7394
7395 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7396
7397 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7398
7399 2013-05-09 Glenn Morris <rgm@gnu.org>
7400
7401 * international/fontset.el (vertical-centering-font-regexp):
7402 Set standard-value.
7403
7404 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7405
7406 * bookmark.el (bookmark-search-delay):
7407 * cus-start.el (vertical-centering-font-regexp):
7408 * ps-mule.el (ps-mule-font-info-database-default):
7409 * ps-print.el (ps-default-fg, ps-default-bg):
7410 * type-break.el (type-break-good-break-interval):
7411 * whitespace.el (whitespace-indentation-regexp)
7412 (whitespace-space-after-tab-regexp):
7413 * emacs-lisp/testcover.el (testcover-1value-functions)
7414 (testcover-noreturn-functions, testcover-progn-functions)
7415 (testcover-prog1-functions):
7416 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7417 * eshell/em-glob.el (eshell-glob-translate-alist):
7418 * play/tetris.el (tetris-tty-colors):
7419 * progmodes/cpp.el (cpp-face-default-list):
7420 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7421 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7422 (idlwave-help-browser-generic-args):
7423 * progmodes/make-mode.el (makefile-special-targets-list):
7424 * progmodes/python.el (python-shell-virtualenv-path):
7425 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7426 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7427 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7428 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7429 * textmodes/reftex-vars.el (reftex-format-label-function):
7430 * textmodes/remember.el (remember-diary-file): Fix custom types.
7431
7432 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7433 Add :version.
7434
7435 2013-05-09 Leo Liu <sdl.web@gmail.com>
7436
7437 * progmodes/octave.el (inferior-octave-completion-at-point):
7438 Restore file completion. (Bug#14300)
7439 (inferior-octave-startup): Fix incorrect highlighting for the
7440 first prompt.
7441
7442 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * progmodes/ruby-mode.el: First cut at SMIE support.
7445 (ruby-use-smie): New var.
7446 (ruby-smie-grammar): New constant.
7447 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7448 (ruby-smie--forward-token, ruby-smie--backward-token)
7449 (ruby-smie-rules): New functions.
7450 (ruby-mode-variables): Setup SMIE if applicable.
7451
7452 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7453
7454 * simple.el (line-move-visual): Signal beginning/end of buffer
7455 only if vertical-motion moved less than it was requested. Avoids
7456 silly incorrect error messages when there are display strings with
7457 multiple newlines at EOL.
7458
7459 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7460
7461 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7462 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7463 (prolog-char-quote-workaround):
7464 * progmodes/cperl-mode.el (cperl-under-as-char):
7465 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7466 Mark as obsolete.
7467 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7468 their declaration.
7469 (vhdl-mode-syntax-table-init): Remove.
7470
7471 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7472 last change.
7473
7474 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7475 syntax for "_".
7476 (ld-script-font-lock-keywords):
7477 Change regexps to use things like \_< and \_>.
7478
7479 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7480 Change all regexps to use things like \_< and \_>.
7481
7482 * progmodes/autoconf.el (autoconf-definition-regexp)
7483 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7484 Handle a _ with symbol syntax.
7485 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7486
7487 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7488 Consolidate declaration.
7489 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7490 the declaration.
7491 (ada-create-syntax-table): Remove.
7492 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7493 already has the right syntax nowadays.
7494 (ada-goto-next-word): Don't change the syntax of "_".
7495
7496 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7497 with-wrapper-hook.
7498
7499 2013-05-08 Sam Steingold <sds@gnu.org>
7500
7501 * thingatpt.el (thing-at-point): Accept optional second argument
7502 NO-PROPERTIES to strip the text properties from the return value.
7503 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7504 to `thing-at-point' instead of stripping the properties ourselves.
7505 Also, when `thing-at-point' fails to find a url, prepend "http://"
7506 to the filename at point on the assumption that the user is
7507 pointing at something like gnu.org/gnu.
7508
7509 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7512 * faces.el (crm-separator):
7513 Silence byte-compiler.
7514
7515 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7516 (tool-bar-map): Remove unneeded defvars.
7517
7518 2013-05-08 Leo Liu <sdl.web@gmail.com>
7519
7520 Re-work a fix for bug#10994 based on Le Wang's patch.
7521 * ido.el (ido-remove-consecutive-dups): New helper.
7522 (ido-completing-read): Use it.
7523 (ido-chop): Revert fix for bug#10994.
7524
7525 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7526
7527 * cus-edit.el (custom-save-variables):
7528 Pretty-print long values. (Bug#14187)
7529
7530 2013-05-08 Glenn Morris <rgm@gnu.org>
7531
7532 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7533 (m4-mode-syntax-table): Init in the defvar.
7534 (m4-mode-abbrev-table): Let define-derived-mode define it.
7535
7536 2013-05-08 Tom Tromey <tromey@redhat.com>
7537
7538 * progmodes/m4-mode.el (m4-mode-syntax-table):
7539 Do not treat "_" as word constituent. (Bug#14167)
7540
7541 2013-05-07 Glenn Morris <rgm@gnu.org>
7542
7543 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7544 Remove explicit eshell-isearch-cancel-map.
7545
7546 * progmodes/f90.el (f90-smart-end-names): New option.
7547 (f90-smart-end): Doc fix.
7548 (f90-end-block-optional-name): New constant.
7549 (f90-block-match): Respect f90-smart-end-names.
7550
7551 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7554 about implicit semi-colons (bug#14218).
7555
7556 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7557
7558 * frame.el (display-monitor-attributes-list)
7559 (frame-monitor-attributes): New functions.
7560
7561 2013-05-06 Leo Liu <sdl.web@gmail.com>
7562
7563 * progmodes/octave.el (octave-syntax-propertize-function): Change
7564 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7565 (octave-font-lock-keywords): Use octave-operator-regexp.
7566 (octave-completion-at-point): Rename from
7567 octave-completion-at-point-function.
7568 (inferior-octave-directory-tracker): Robustify.
7569 (octave-text-functions): Remove and fix its uses. No such things
7570 any more.
7571
7572 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * emacs-lisp/trace.el (trace--display-buffer): New function.
7575 (trace-make-advice): Use it.
7576
7577 2013-05-06 Juri Linkov <juri@jurta.org>
7578
7579 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7580 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7581 Doc fix.
7582 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7583 in the help string. (Bug#12985)
7584
7585 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7586
7587 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7588
7589 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * progmodes/perl-mode.el: Add support for here documents.
7592 (perl-syntax-propertize-function): Match here-doc markers.
7593 (perl-syntax-propertize-special-constructs): Find their end.
7594 (perl-imenu-generic-expression): Use [:alnum:].
7595
7596 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7597 (advice--add-function): Refresh the advice if already present
7598 (bug#14317).
7599
7600 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7601
7602 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7603
7604 2013-05-06 Glenn Morris <rgm@gnu.org>
7605
7606 * w32-fns.el (w32-charset-info-alist): Declare.
7607
7608 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7609 of its defcustom properties.
7610 (eshell-cmpl-initialize): No need to load pcomplete.
7611
7612 * generic-x.el: No need to require comint when compiling.
7613
7614 * net/eudc-export.el: Make it loadable without bbdb.
7615 (top-level): Use require rather than load-library.
7616 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7617 (eudc-batch-export-records-to-bbdb)
7618 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7619 Require bbdb.
7620
7621 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7624 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7625 some tweaks, instead.
7626
7627 2013-05-05 Leo Liu <sdl.web@gmail.com>
7628
7629 * progmodes/octave.el (octave-font-lock-keywords)
7630 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7631 (inferior-octave-send-list-and-digest): Improve error message.
7632 (octave-mode, inferior-octave-mode): Use setq-local.
7633 (octave-help): Set info-lookup-mode.
7634
7635 2013-05-05 Richard Stallman <rms@gnu.org>
7636
7637 * vc/compare-w.el (compare-windows-whitespace):
7638 Treat no-break space as whitespace.
7639
7640 * mail/rmailsum.el (rmail-summary-rmail-update):
7641 Detect empty summary and don't change selected message.
7642 (rmail-summary-goto-msg): Likewise.
7643
7644 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7645 Doc fixes, rename args.
7646
7647 2013-05-05 Alan Mackenzie <acm@muc.de>
7648
7649 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7650
7651 2013-05-05 Juri Linkov <juri@jurta.org>
7652
7653 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7654 to not add the length of the summary segment to the return value.
7655 (Bug#14125)
7656
7657 2013-05-05 Leo Liu <sdl.web@gmail.com>
7658
7659 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7660 (inferior-octave-output-filter): Remove.
7661 (octave-send-region, inferior-octave-startup): Fix callers.
7662 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7663 (octave-binary-file-extensions): New user variable.
7664 (octave-find-definition): Confirm if opening binary files.
7665 (octave-help-file): Use octave-find-definition to get the binary
7666 confirmation.
7667 (octave-help): Adjust for octave-help-file change.
7668
7669 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7672 Merge the two entries that handle function definitions.
7673 (pascal--syntax-propertize): New const.
7674 (pascal-mode): Use it. Use setq-local.
7675
7676 2013-05-04 Glenn Morris <rgm@gnu.org>
7677
7678 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7679 (diary-from-outlook): Respect diary-from-outlook-function.
7680
7681 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7684 Move the declaration from C.
7685 (read-minibuffer, eval-minibuffer): Move from C.
7686 (completion-setup-function): Avoid minibuffer-completion-contents.
7687
7688 2013-05-03 Leo Liu <sdl.web@gmail.com>
7689
7690 * progmodes/octave.el (octave-font-lock-keywords): Do not
7691 dehighlight 'end' in comments or strings.
7692 (octave-completing-read, octave-goto-function-definition):
7693 New helpers.
7694 (octave-help-buffer): New user variable.
7695 (octave-help-file, octave-help-function): New button types.
7696 (octave-help): New command and bind it to C-h ;.
7697 (octave-find-definition): New command and bind it to M-.
7698 (user-error): Alias to error if not defined.
7699
7700 2013-05-02 Leo Liu <sdl.web@gmail.com>
7701
7702 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7703 for \. (bug#14332)
7704 (octave-font-lock-keywords): Include [ and {.
7705
7706 2013-05-02 Leo Liu <sdl.web@gmail.com>
7707
7708 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7709 (inferior-octave): Remove calling comint-mode and return the buffer.
7710 (inferior-octave-startup): Cosmetic changes.
7711
7712 2013-05-02 Leo Liu <sdl.web@gmail.com>
7713
7714 * progmodes/octave.el (octave-syntax-propertize-function):
7715 Include the case when ' is at line beginning. (Bug#14336)
7716
7717 2013-05-02 Glenn Morris <rgm@gnu.org>
7718
7719 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7720 * desktop.el (vc-dir-mode): Just autoload it here.
7721
7722 2013-05-02 Alan Mackenzie <acm@muc.de>
7723
7724 Eliminate variable c-standard-font-lock-fontify-region-function.
7725 * progmodes/cc-mode.el
7726 (c-standard-font-lock-fontify-region-function): Remove.
7727 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7728
7729 2013-05-01 Leo Liu <sdl.web@gmail.com>
7730
7731 * progmodes/octave.el: Compatible with older emacs-24 releases.
7732 (inferior-octave-has-built-in-variables): Remove. Built-in
7733 variables were removed from Octave in 2007.
7734 (inferior-octave-startup): Fix uses.
7735 (comint-line-beginning-position): Remove compatibility code for
7736 emacs 21.
7737
7738 2013-05-01 Juri Linkov <juri@jurta.org>
7739
7740 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7741
7742 2013-05-01 Juri Linkov <juri@jurta.org>
7743
7744 * comint.el (comint-previous-matching-input): Don't print message
7745 "History item: %d" when `isearch-mode' is active.
7746 (comint-history-isearch-message): Print message "History item: %d"
7747 when `comint-input-ring-index' is not empty and this function is
7748 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7749
7750 2013-05-01 Leo Liu <sdl.web@gmail.com>
7751
7752 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7753 definitions. Use completion-at-point to insert keywords.
7754 (octave-abbrev-start): Remove.
7755 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7756
7757 2013-04-30 Leo Liu <sdl.web@gmail.com>
7758
7759 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7760 change.
7761
7762 2013-04-30 Alan Mackenzie <acm@muc.de>
7763
7764 Handle arbitrarily long C++ member initialisation lists.
7765 * progmodes/cc-engine.el (c-back-over-member-initializers):
7766 new function.
7767 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7768 (most) member init lists.
7769
7770 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7771
7772 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7773 variable.
7774
7775 2013-04-30 Leo Liu <sdl.web@gmail.com>
7776
7777 * progmodes/octave.el (octave-variables): Remove. No builtin
7778 variables any more. All converted to functions.
7779 (octave-font-lock-keywords, octave-completion-at-point-function):
7780 Fix uses.
7781 (octave-font-lock-texinfo-comment): New user variable.
7782 (octave-texinfo-font-lock-keywords): New variable for texinfo
7783 comment block.
7784 (octave-function-comment-block): New face.
7785 (octave-font-lock-texinfo-comment): New function.
7786 (octave-mode): Font lock texinfo comment block.
7787
7788 2013-04-29 Leo Liu <sdl.web@gmail.com>
7789
7790 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7791 indexing expression.
7792 (octave-continuation-string): Do not use \.
7793 (inferior-octave-complete-impossible): Remove.
7794 (inferior-octave-completion-table)
7795 (inferior-octave-completion-at-point): Remove its uses.
7796 (inferior-octave-startup): completion_matches was introduced to
7797 Octave in 1996 so safe to assume it.
7798 (octave-function-file-comment): Improve to follow how Octave does it.
7799 (octave-update-function-file-comment): Tweak.
7800
7801 2013-04-29 Leo Liu <sdl.web@gmail.com>
7802
7803 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7804 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7805 (octave-function-file-comment): Fix typo.
7806 (octave-sync-function-file-names): Use read-char-choice.
7807
7808 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7809
7810 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7811 to t for the less important warnings.
7812
7813 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7814
7815 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7816
7817 2013-04-27 Glenn Morris <rgm@gnu.org>
7818
7819 * vc/log-view.el (log-view-current-entry):
7820 Treat "---" separator lines as part of the following rev. (Bug#14169)
7821
7822 2013-04-27 Juri Linkov <juri@jurta.org>
7823
7824 * subr.el (read-number): Doc fix about using it by interactive
7825 code letter `n'. (Bug#14254)
7826
7827 2013-04-27 Juri Linkov <juri@jurta.org>
7828
7829 * desktop.el (desktop-auto-save-timeout): New option.
7830 (desktop-file-checksum): New variable.
7831 (desktop-save): Add optional arg `auto-save' and don't auto-save
7832 if nothing changed.
7833 (desktop-auto-save-timer): New variable.
7834 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7835 (after-init-hook): Call `desktop-auto-save-set-timer'.
7836 Suggested by Reuben Thomas <rrt@sc3d.org> in
7837 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7838
7839 2013-04-27 Leo Liu <sdl.web@gmail.com>
7840
7841 * progmodes/octave.el (octave-function-file-p)
7842 (octave-skip-comment-forward, octave-function-file-comment)
7843 (octave-update-function-file-comment): New functions.
7844 (octave-mode-map): Bind C-c ; to
7845 octave-update-function-file-comment.
7846 (octave-mode-menu): Add octave-update-function-file-comment.
7847 (octave-mode, inferior-octave-mode): Fix doc-string.
7848 (octave-insert-defun): Conform to Octave's coding convention.
7849 (Bug#14285)
7850
7851 * files.el (basic-save-buffer): Don't let errors in
7852 before-save-hook prevent saving buffer.
7853
7854 2013-04-20 Roland Winkler <winkler@gnu.org>
7855
7856 * faces.el (read-face-name): Use completing-read if arg multiple
7857 is nil.
7858
7859 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7860
7861 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7862 displayed, move point to after the totals line.
7863 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7864 for the details.
7865
7866 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7869 Add current dir to the load-path.
7870 (package-generate-autoloads): Don't rely on
7871 autoload-ensure-default-file.
7872
7873 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7874
7875 * textmodes/remember.el (remember-store-in-files): Document that
7876 the file name format is passed to `format-time-string'.
7877
7878 2013-04-26 Leo Liu <sdl.web@gmail.com>
7879
7880 * progmodes/octave.el (octave-sync-function-file-names): New function.
7881 (octave-mode): Use it in before-save-hook.
7882
7883 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7886 (bug#14274).
7887
7888 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7889 \n and comment, even if it's not an implicit ; (bug#14218).
7890
7891 2013-04-26 Glenn Morris <rgm@gnu.org>
7892
7893 * subr.el (read-number): Once more use `read' rather than
7894 `string-to-number', to trap non-numeric input. (Bug#14254)
7895
7896 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7897
7898 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7899 Use `syntax-multiline' text property consistently instead of
7900 `font-lock-multiline'. (Bug#14237)
7901
7902 2013-04-26 Glenn Morris <rgm@gnu.org>
7903
7904 * emacs-lisp/shadow.el (list-load-path-shadows):
7905 No longer necessary to check for duplicate simple.el, since
7906 2012-07-07 change to init_lread to not include installation lisp
7907 directories in load-path when running uninstalled. (Bug#14270)
7908
7909 2013-04-26 Leo Liu <sdl.web@gmail.com>
7910
7911 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7912 (octave-mode, inferior-octave-mode): Use setq-local.
7913 (octave-not-in-string-or-comment-p): Rename to
7914 octave-in-string-or-comment-p.
7915 (octave-in-comment-p, octave-in-string-p)
7916 (octave-in-string-or-comment-p): Replace defsubst with defun.
7917
7918 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7919
7920 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7921
7922 2013-04-25 Bastien Guerry <bzg@gnu.org>
7923
7924 * textmodes/remember.el (remember-data-directory)
7925 (remember-directory-file-name-format): Fix custom types.
7926
7927 2013-04-25 Leo Liu <sdl.web@gmail.com>
7928
7929 * progmodes/octave.el (octave-completion-at-point-function):
7930 Make use of inferior octave process.
7931 (octave-initialize-completions): Remove.
7932 (inferior-octave-completion-table): New function.
7933 (inferior-octave-completion-at-point): Use it.
7934 (octave-completion-alist): Remove.
7935
7936 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7939 (opascal-mode-syntax-table): New var.
7940 (opascal-literal-kind, opascal-is-literal-end)
7941 (opascal-literal-token-at): Rewrite.
7942 (opascal--literal-start-re, opascal-font-lock-keywords)
7943 (opascal--syntax-propertize): New constants.
7944 (opascal-font-lock-defaults): Adjust.
7945 (opascal-mode): Use them. Set comment-<foo> variables as well.
7946 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7947 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7948 (delphi-other-face, opascal-other-face): Remove face variables.
7949 (opascal-save-state): Remove macro.
7950 (opascal-fontifying-progress-step): Remove constant.
7951 (opascal--ignore-changes): Remove var.
7952 (opascal-set-token-property, opascal-parse-next-literal)
7953 (opascal-is-stable-literal, opascal-complete-literal)
7954 (opascal-is-literal-start, opascal-face-of)
7955 (opascal-parse-region, opascal-parse-region-until-stable)
7956 (opascal-fontify-region, opascal-after-change)
7957 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7958 (opascal-debug-parse-region, opascal-debug-parse-window)
7959 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7960 (opascal-debug-fontify-buffer): Remove.
7961 (opascal-debug-mode-map): Adjust accordingly.
7962
7963 2013-04-25 Leo Liu <sdl.web@gmail.com>
7964
7965 Merge octave-mod.el and octave-inf.el into octave.el with some
7966 cleanups.
7967 * progmodes/octave.el: New file renamed from octave-mod.el.
7968 * progmodes/octave-inf.el: Merged into octave.el.
7969 * progmodes/octave-mod.el: Renamed to octave.el.
7970
7971 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7972
7973 * textmodes/reftex-vars.el
7974 (reftex-label-ignored-macros-and-environments): New defcustom.
7975
7976 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7977
7978 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7981 (smie-indent-keyword): Improve the check to ensure that the next
7982 comment is really on the same line.
7983 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7984
7985 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7986 semi-colons if the line is not otherwise empty (bug#14218).
7987
7988 2013-04-25 Glenn Morris <rgm@gnu.org>
7989
7990 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7991
7992 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7993
7994 * progmodes/opascal.el (opascal-set-token-property): Rename from
7995 opascal-set-text-properties and only set `token' (bug#14134).
7996 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7997 (opascal-literal-text-properties): Remove.
7998 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7999 Adjust callers.
8000
8001 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8002
8003 * textmodes/remember.el (remember-handler-functions): Add an
8004 option for a new handler `remember-store-in-files'.
8005 (remember-data-directory, remember-directory-file-name-format):
8006 New options.
8007 (remember-store-in-files): New function to store remember notes
8008 as separate files within a directory.
8009
8010 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8011
8012 * progmodes/compile.el (compilation-next-error-function):
8013 Pass "formats" to compilation-find-file (bug#11777).
8014
8015 2013-04-24 Glenn Morris <rgm@gnu.org>
8016
8017 * vc/vc-bzr.el (vc-bzr-print-log):
8018 * vc/vc-hg.el (vc-hg-print-log):
8019 * vc/vc-svn.el (vc-svn-print-log):
8020 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8021
8022 * vc/vc-bzr.el (vc-bzr-print-log):
8023 * vc/vc-cvs.el (vc-cvs-print-log):
8024 * vc/vc-git.el (vc-git-print-log):
8025 * vc/vc-hg.el (vc-hg-print-log):
8026 * vc/vc-mtn.el (vc-mtn-print-log):
8027 * vc/vc-rcs.el (vc-rcs-print-log):
8028 * vc/vc-sccs.el (vc-sccs-print-log):
8029 * vc/vc-svn.el (vc-svn-print-log):
8030 * vc/vc.el (vc-print-log-internal): Doc fixes.
8031
8032 2013-04-23 Glenn Morris <rgm@gnu.org>
8033
8034 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8035 Remove venerable code attempting to avoid substitute-command-keys.
8036
8037 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8038
8039 * textmodes/reftex-vars.el (reftex-label-regexps):
8040 Call `reftex-compile-variables' after changes to this variable.
8041
8042 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8045 Use lexical-binding.
8046 (jit-lock-force-redisplay): Use markers, check buffer's continued
8047 existence and beware narrowed buffers.
8048 (jit-lock-fontify-now): Adjust call accordingly.
8049
8050 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8051
8052 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8053 to avoid misleading the user.
8054
8055 2013-04-22 Leo Liu <sdl.web@gmail.com>
8056
8057 * info-look.el: Prefer latex2e.info. (Bug#14240)
8058
8059 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8060
8061 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8062
8063 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8064 * net/tramp.el (tramp-call-process): ... here.
8065 (tramp-set-completion-function, tramp-parse-putty):
8066 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8067 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8068 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8069 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8070 (tramp-call-local-coding-command): Use `tramp-call-process'
8071 instead of `tramp-compat-call-process'.
8072
8073 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8074 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8075 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8076 (tramp-find-inline-compress): Improve traces.
8077 (tramp-maybe-send-script): Check for Perl binary.
8078 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8079
8080 2013-04-22 Daiki Ueno <ueno@gnu.org>
8081
8082 * epg.el (epg-context-pinentry-mode): New function.
8083 (epg-context-set-pinentry-mode): New function.
8084 (epg--start): Pass --pinentry-mode option to gpg command.
8085
8086 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8087
8088 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8089 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8090 `completion-at-point'. (Bug#13774)
8091
8092 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8093 default key binding for `describe-distribution' has been moved to
8094 `C-h C-o'. (Bug#13970)
8095
8096 2013-04-21 Glenn Morris <rgm@gnu.org>
8097
8098 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8099 Add doc strings.
8100 (vc-print-log): Clarify interactive prompt.
8101
8102 2013-04-20 Glenn Morris <rgm@gnu.org>
8103
8104 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8105 No longer include timestamp etc information.
8106
8107 2013-04-20 Roland Winkler <winkler@gnu.org>
8108
8109 * faces.el (read-face-name): Bug fix, return just one face if arg
8110 multiple is nil. (Bug#14209)
8111
8112 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8115 (remove-function): Autoload.
8116
8117 * comint.el (comint-redirect-original-filter-function): Remove.
8118 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8119 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8120 (vc-cvs-annotate-command):
8121 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8122 * progmodes/prolog.el (prolog-consult-compile):
8123 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8124 Use add/remove-function instead.
8125 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8126 (gud-tooltip-process-output, gud-tooltip-tips):
8127 Use add/remove-function instead.
8128 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8129 (scheme-interaction-mode, exit-scheme-interaction-mode):
8130 Use add/remove-function instead.
8131
8132 * vc/vc-dispatcher.el: Use lexical-binding.
8133 (vc--process-sentinel): Rename from vc-process-sentinel.
8134 Change last arg to be the code to run. Don't use vc-previous-sentinel
8135 and vc-sentinel-commands any more.
8136 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8137 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8138
8139 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8140
8141 * progmodes/sh-script.el (sh-imenu-generic-expression):
8142 Handle function names with a single character. (Bug#14111)
8143
8144 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8145
8146 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8147 for subroutines defined in an eval (bug#14182).
8148
8149 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8150
8151 * bookmark.el (bookmark-completing-read): Improve handling of empty
8152 string (bug#14176).
8153
8154 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8157
8158 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8159
8160 New faster Imenu implementation (bug#14058).
8161 * progmodes/python.el:
8162 (python-imenu-prev-index-position):
8163 (python-imenu-format-item-label-function)
8164 (python-imenu-format-parent-item-label-function)
8165 (python-imenu-format-parent-item-jump-label-function):
8166 New vars.
8167 (python-imenu-format-item-label)
8168 (python-imenu-format-parent-item-label)
8169 (python-imenu-format-parent-item-jump-label)
8170 (python-imenu--put-parent, python-imenu--build-tree)
8171 (python-imenu-create-index, python-imenu-create-flat-index)
8172 (python-util-popn): New functions.
8173 (python-mode): Set imenu-create-index-function to
8174 python-imenu-create-index.
8175
8176 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * winner.el (winner-active-region): Use region-active-p, activate-mark
8179 and deactivate-mark (bug#14225).
8180
8181 * simple.el (deactivate-mark): Don't inline it.
8182
8183 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8184
8185 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8186
8187 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8188
8189 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8190 file extensions from the archive-mode entry in order to prefer
8191 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8192
8193 2013-04-18 Leo Liu <sdl.web@gmail.com>
8194
8195 * bindings.el (help-event-list): Add ?\?.
8196
8197 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * subr.el (with-wrapper-hook): Declare obsolete.
8200 * simple.el (filter-buffer-substring-function): New hook.
8201 (filter-buffer-substring): Use it.
8202 (filter-buffer-substring-functions): Mark obsolete.
8203 * minibuffer.el (completion-in-region-function): New hook.
8204 (completion-in-region): Use it.
8205 (completion-in-region-functions): Mark obsolete.
8206 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8207 * abbrev.el (abbrev-expand-function): New hook.
8208 (expand-abbrev): Use it.
8209 (abbrev-expand-functions): Mark obsolete.
8210 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8211 and :filter-return.
8212
8213 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8214
8215 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8216 and do not care about match data.
8217
8218 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8221 completion tables when completing error conditions and
8222 `declare' arguments.
8223 (lisp-complete-symbol, field-complete): Mark as obsolete.
8224 (check-parens): Unmatched parens are user errors.
8225 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8226
8227 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8228
8229 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8230 command changed buffer (ie. `flyspell-pre-buffer' is not current
8231 buffer), which prevents making decisions based on invalid value of
8232 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8233 cause an error when `flyspell-pre-point' was nil after switching
8234 buffers.
8235 (flyspell-post-command-hook): No longer needs to change buffers when
8236 checking pre-word. While at it remove unnecessary progn.
8237
8238 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8239
8240 * textmodes/ispell.el (ispell-add-per-file-word-list):
8241 Fix `flyspell-correct-word-before-point' error when accepting
8242 words and `coment-padding' is an integer by using
8243 `comment-normalize-vars' (Bug #14214).
8244
8245 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8246
8247 New defun movement commands.
8248 * progmodes/python.el (python-nav--syntactically)
8249 (python-nav--forward-defun, python-nav-backward-defun)
8250 (python-nav-forward-defun): New functions.
8251
8252 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8253
8254 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8255 (python-syntax-context): Use named compiler-macro for backwards
8256 compatibility with Emacs 24.x.
8257
8258 2013-04-17 Leo Liu <sdl.web@gmail.com>
8259
8260 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8261 octave-hide-process-buffer.
8262
8263 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8266 (bug#14216).
8267
8268 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8269
8270 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8271 Fix adjustment of offset when receiving incomplete responses from GDB
8272 (bug#14129).
8273
8274 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8277 python-mode-abbrev-table.
8278 (python-skeleton-define): Adjust accordingly.
8279 (python-mode-abbrev-table): New table that inherits from it so that
8280 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8281
8282 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8283 (abbrev-symbol): Use it.
8284 (abbrev--before-point): Use it since we already handle inheritance.
8285
8286 2013-04-16 Leo Liu <sdl.web@gmail.com>
8287
8288 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8289 binding to info-lookup-symbol.
8290
8291 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * minibuffer.el (completion--twq-all):
8294 * term/ns-win.el (ns-initialize-window-system):
8295 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8296
8297 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8300 global bindings.
8301
8302 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8303
8304 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8305
8306 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8307 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8308 to nil.
8309 (ruby-end-of-defun): Remove the unused arg, change the docstring
8310 to reflect that this function is only used as the value of
8311 `end-of-defun-function'.
8312 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8313 to reflect an earlier change that beginning/end-of-defun functions
8314 jump between methods in a class definition, as well as top-level
8315 functions.
8316
8317 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * minibuffer.el (minibuffer-complete): Don't just scroll
8320 a *Completions* that's been iconified.
8321 (minibuffer-force-complete): Make sure repetitions do cycle when going
8322 through completion-in-region -> minibuffer-complete.
8323
8324 2013-04-15 Alan Mackenzie <acm@muc.de>
8325
8326 Correct the placement of c-cpp-delimiters when there're #s not at
8327 col 0.
8328
8329 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8330 place a submatch around the #.
8331 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8332 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8333 on the #, not BOL.
8334
8335 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8338 (advice--member-p): New arg `name'.
8339 (advice--add-function, advice-member-p): Use it (bug#14202).
8340
8341 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8342
8343 Reformulate java imenu-generic-expression.
8344 The old expression contained ill formed regexps.
8345
8346 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8347 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8348 (cc-imenu-java-method-arg-regexp): New defconsts.
8349 (cc-imenu-java-build-type-args-regex): New defun.
8350 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8351 handling of spaces in the regexp.
8352
8353 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8354
8355 * textmodes/ispell.el (ispell-command-loop): Remove
8356 flyspell highlight of a word when ispell accepts it (bug #14178).
8357
8358 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8359
8360 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8361 uses code from the previous `ange-ftp-run-real-handler'.
8362 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8363 only in case that function exist. This is needed for proper
8364 unloading of Tramp.
8365
8366 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8367
8368 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8369
8370 * textmodes/reftex.el (reftex-compile-variables): Use it.
8371
8372 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * files.el (normal-mode): Only use default major-mode if no other mode
8375 was specified.
8376
8377 * emacs-lisp/trace.el (trace-values): New function.
8378
8379 * files.el: Allow : in local variables (bug#14089).
8380 (hack-local-variable-regexp): New var.
8381 (hack-local-variables-prop-line, hack-local-variables): Use it.
8382
8383 2013-04-13 Roland Winkler <winkler@gnu.org>
8384
8385 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8386 data before it gets modified by bibtex-beginning-of-entry.
8387
8388 2013-04-13 Roland Winkler <winkler@gnu.org>
8389
8390 * textmodes/bibtex.el (bibtex-url): Doc fix.
8391
8392 2013-04-13 Roland Winkler <winkler@gnu.org>
8393
8394 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8395 does not visit a BibTeX file, exclude it from the list of buffers
8396 returned by bibtex-initialize.
8397
8398 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8399
8400 * window.el (split-window): Remove interactive form, since as a
8401 command this function is a special case of split-window-below.
8402 Correct doc string.
8403
8404 2013-04-12 Roland Winkler <winkler@gnu.org>
8405
8406 * faces.el (read-face-name): Do not override value of arg default.
8407 Allow single faces and strings as default values. Remove those
8408 elements from return value that are not faces.
8409 (describe-face): Simplify.
8410 (face-at-point): New optional args thing and multiple so that this
8411 function can provide the same functionality previously provided by
8412 read-face-name.
8413 (make-face-bold, make-face-unbold, make-face-italic)
8414 (make-face-unitalic, make-face-bold-italic, invert-face)
8415 (modify-face, read-face-and-attribute): Use face-at-point.
8416
8417 * cus-edit.el (customize-face, customize-face-other-window)
8418 * cus-theme.el (custom-theme-add-face)
8419 * face-remap.el (buffer-face-set)
8420 * facemenu.el (facemenu-set-face): Use face-at-point.
8421
8422 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8423
8424 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8425
8426 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8427
8428 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8429 off leading { and trailing } from field values.
8430
8431 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * emacs-lisp/timer.el (timer--check): New function.
8434 (timer--time, timer-set-function, timer-event-handler): Use it.
8435 (timer-set-idle-time): Simplify.
8436 (timer--activate): CSE.
8437 (timer-event-handler): Give more info in error message.
8438 (internal-timer-start-idle): New function, moved from C.
8439
8440 * mpc.el (mpc-proc): Add `restart' argument.
8441 (mpc-proc-cmd): Use it.
8442 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8443 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8444 less often.
8445
8446 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8447
8448 * progmodes/sh-script.el: Implement `sh-mode' own
8449 `add-log-current-defun-function' (bug#14112).
8450 (sh-current-defun-name): New function.
8451 (sh-mode): Use the function.
8452
8453 2013-04-09 Bastien Guerry <bzg@gnu.org>
8454
8455 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8456
8457 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8460
8461 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8462 timer (bug#14156).
8463
8464 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8465
8466 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8467 declaration.
8468
8469 2013-04-07 Leo Liu <sdl.web@gmail.com>
8470
8471 * pcmpl-x.el: New file.
8472
8473 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8474
8475 Do not set x-display-name until X connection is established.
8476 This is needed to prevent from weird situation described at
8477 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8478 * frame.el (make-frame): Set x-display-name after call to
8479 window system initialization function, not before.
8480 * term/x-win.el (x-initialize-window-system): Add optional
8481 display argument and use it.
8482 * term/w32-win.el (w32-initialize-window-system):
8483 * term/ns-win.el (ns-initialize-window-system):
8484 * term/pc-win.el (msdos-initialize-window-system):
8485 Add compatible optional display argument.
8486
8487 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8488
8489 * files.el (normal-backup-enable-predicate): On MS-Windows and
8490 MS-DOS compare truenames of temporary-file-directory and of the
8491 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8492 don't fail comparison by compare-strings. Also, compare file
8493 names case-insensitively on MS-Windows and MS-DOS.
8494
8495 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8498 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8499
8500 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8501
8502 * whitespace.el (whitespace-color-on, whitespace-color-off):
8503 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8504
8505 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8506
8507 * ispell.el (ispell-set-spellchecker-params):
8508 Really set `ispell-args' for all equivs.
8509
8510 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * ido.el (ido-completions): Use extra elements of ido-decorations
8513 (bug#14143).
8514 (ido-decorations): Update docstring.
8515
8516 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8517
8518 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8519 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8520 nil during initialization, in order not to miss changes since the
8521 file was opened. (Bug#14140)
8522
8523 2013-04-05 Leo Liu <sdl.web@gmail.com>
8524
8525 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8526
8527 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8528
8529 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8530
8531 2013-04-04 Glenn Morris <rgm@gnu.org>
8532
8533 * electric.el (electric-pair-inhibit-predicate): Add :version.
8534
8535 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8538 when a package is required several times (bug#14082).
8539
8540 2013-04-04 Roland Winkler <winkler@gnu.org>
8541
8542 * faces.el (read-face-name): Behave as promised by the docstring.
8543 Assume that arg default is a list of faces.
8544 (describe-face): Call read-face-name with list of default faces.
8545
8546 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8547
8548 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8549 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8550 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8551 the header.
8552 (bookmark-exit-hook-internal): Save even if list is empty.
8553
8554 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8555
8556 * emacs-lisp/package.el (package-pinned-packages): New var.
8557 (package--add-to-archive-contents): Obey it (bug#14118).
8558
8559 2013-04-03 Alan Mackenzie <acm@muc.de>
8560
8561 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8562 Also adapt to the new values of element 7 of a parse state.
8563
8564 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8565 parameter `not-in-delimiter'. Handle being inside comment opener.
8566 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8567 character in case we're typing a '*' after a '/'.
8568 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8569 instead by passing the parameter to c-state-pp-to-literal.
8570
8571 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8572 for elt. 7 of a parse state.
8573
8574 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8575
8576 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8577 * international/latin1-disp.el, international/mule-util.el:
8578 * language/cyril-util.el, language/european.el, language/ind-util.el:
8579 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8580 * language/tibetan.el, language/viet-util.el:
8581 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8582
8583 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8586 (electric-pair-post-self-insert-function): Use it.
8587 (electric-pair-default-inhibit): New function, extracted from
8588 electric-pair-post-self-insert-function.
8589
8590 2013-03-31 Roland Winkler <winkler@gnu.org>
8591
8592 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8593
8594 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8597
8598 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8599
8600 Un-indent after "pass" and "return" statements (Bug#13888)
8601 * progmodes/python.el (python-indent-block-enders): New var.
8602 (python-indent-calculate-indentation): Use it.
8603
8604 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8605
8606 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8607 defun. Defining it as defalias could introduce too eager
8608 byte-compiler optimization. (Bug#14030)
8609
8610 2013-03-30 Chong Yidong <cyd@gnu.org>
8611
8612 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8613
8614 2013-03-30 Leo Liu <sdl.web@gmail.com>
8615
8616 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8617 (kmacro-execute-from-register): Pass the keyboard macro to
8618 kmacro-call-macro or repeating won't work correctly.
8619
8620 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8621
8622 * progmodes/subword.el: Back to using `forward-symbol'.
8623
8624 * subr.el (forward-whitespace, forward-symbol)
8625 (forward-same-syntax): Move from thingatpt.el.
8626
8627 2013-03-29 Leo Liu <sdl.web@gmail.com>
8628
8629 * kmacro.el (kmacro-to-register): New command.
8630 (kmacro-execute-from-register): New function.
8631 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8632
8633 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * mpc.el: Use defvar-local and setq-local.
8636 (mpc--proc-connect): Connection failures are not bugs.
8637 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8638 (mpc-volume-map): Bind to the up-events.
8639
8640 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8641
8642 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8643 instead of `forward-symbol'.
8644
8645 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8648 (edebug--recursive-edit): Use it.
8649 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8650 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8651
8652 2013-03-28 Leo Liu <sdl.web@gmail.com>
8653
8654 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8655
8656 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8657
8658 * facemenu.el (list-colors-callback): New defvar.
8659 (list-colors-redisplay): New function.
8660 (list-colors-display): Install list-colors-redisplay as the
8661 revert-buffer-function. (Bug#14063)
8662
8663 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8666 and suffixes don't overlap (bug#14061).
8667
8668 * case-table.el: Use lexical-binding.
8669 (case-table-get-table): New function.
8670 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8671
8672 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8673
8674 * progmodes/subword.el: Add `superword-mode' to do word motion
8675 over symbol_words (parallels and leverages `subword-mode' which
8676 does word motion inside MixedCaseWords).
8677
8678 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8679
8680 * eshell/em-unix.el: Move su and sudo to...
8681 * eshell/em-tramp.el: ...Eshell tramp module.
8682
8683 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8686 Change return value to be a sexp. Delay `get-buffer' to after
8687 restoring the desktop (bug#13951).
8688
8689 2013-03-26 Leo Liu <sdl.web@gmail.com>
8690
8691 * register.el: Move semantic tag handling back to
8692 cedet/semantic/senator.el. (Bug#14052)
8693
8694 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8697 into the prompt either (bug#13963).
8698
8699 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8702 part of "(error-foo)".
8703
8704 2013-03-24 Juri Linkov <juri@jurta.org>
8705
8706 * replace.el (list-matching-lines-prefix-face): New defcustom.
8707 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8708 `occur-engine' if `face-differs-from-default-p' returns t.
8709 (occur-engine): Add `,' inside backquote construct to evaluate
8710 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8711 Pass `prefix-face' to the functions `occur-context-lines' and
8712 `occur-engine-add-prefix'.
8713 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8714 `prefix-face' and propertize the prefix with `prefix-face'.
8715 (Bug#14017)
8716
8717 2013-03-24 Leo Liu <sdl.web@gmail.com>
8718
8719 * nxml/rng-valid.el (rng-validate-while-idle)
8720 (rng-validate-quick-while-idle): Guard against deleted buffer.
8721 (Bug#13999)
8722
8723 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8724 is the last entry in kill-buffer-hook.
8725
8726 * files.el (kill-buffer-hook): Doc fix.
8727
8728 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8729
8730 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8731 Make it safe-local.
8732
8733 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8734
8735 2013-03-23 Leo Liu <sdl.web@gmail.com>
8736
8737 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8738 Remove.
8739
8740 * nxml/rng-valid.el (rng-validate-mode)
8741 (rng-after-change-function, rng-do-some-validation):
8742 * nxml/rng-maint.el (rng-validate-buffer):
8743 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8744 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8745 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8746 (nxml-extend-after-change-region): Use with-silent-modifications.
8747
8748 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8749 timer-idle-list.
8750
8751 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8752 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8753 timer-idle-list. (Bug#13999)
8754
8755 2013-03-23 Juri Linkov <juri@jurta.org>
8756
8757 * info.el (info-index-match): New face.
8758 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8759 main pattern and add text properties with the new face to matches
8760 in index entries relative to the beginning of the index entry.
8761 (Bug#14015)
8762
8763 2013-03-21 Eric Ludlam <zappo@gnu.org>
8764
8765 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8766 Inhibit read only while inserting objects.
8767
8768 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8769
8770 * progmodes/cfengine.el: Update docs to mention
8771 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8772 symbol motion. Remove "_" from the word syntax.
8773
8774 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8775
8776 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8777 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8778
8779 2013-03-20 Juri Linkov <juri@jurta.org>
8780
8781 * info.el (Info-next-reference-or-link)
8782 (Info-prev-reference-or-link): New functions.
8783 (Info-next-reference, Info-prev-reference): Use them.
8784 (Info-try-follow-nearest-node): Handle footnote navigation.
8785 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8786
8787 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8790 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8791
8792 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8793
8794 Suppress unnecessary non-ASCII chatter during build process.
8795 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8796 (batch-skkdic-convert): Suppress most of the chatter.
8797 It's not needed so much now that machines are faster,
8798 and its non-ASCII component was confusing; see Dmitry Gutov in
8799 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8800
8801 2013-03-20 Leo Liu <sdl.web@gmail.com>
8802
8803 * ido.el (ido-chop): Fix bug#10994.
8804
8805 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8806
8807 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8808 Remove vars.
8809 (whitespace-color-on, whitespace-color-off):
8810 Use `font-lock-fontify-buffer' (Bug#13817).
8811
8812 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8815 remapping in mode-line.
8816 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8817
8818 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8819
8820 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8821 value for `whitespace-line' face (Bug#13875).
8822 (whitespace-font-lock-keywords): Change description.
8823 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8824 the constructed keywords instead.
8825 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8826
8827 2013-03-19 Leo Liu <sdl.web@gmail.com>
8828
8829 * progmodes/compile.el (compilation-display-error): New command.
8830 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8831 C-o. (Bug#13992)
8832
8833 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8834
8835 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8836
8837 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8838
8839 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8840
8841 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8844
8845 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8846 * net/tramp-gvfs.el (top):
8847 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8848 (tramp-handle-shell-command): Use it.
8849 (tramp-dissect-file-name): Raise an error when hostname is a
8850 method name, and neither method nor user is specified.
8851
8852 * net/trampver.el: Update release number.
8853
8854 2013-03-18 Leo Liu <sdl.web@gmail.com>
8855
8856 Make sure eldoc can be turned off properly.
8857 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8858 eldoc-mode.
8859 (eldoc-display-message-p): Revert last change.
8860 (eldoc-display-message-no-interference-p)
8861 (eldoc-print-current-symbol-info): Tweak.
8862
8863 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8864
8865 * doc-view.el (doc-view-new-window-function): Check the new window
8866 overlay's display property instead the char property of the
8867 buffer's first char. Use `with-selected-window' instead of
8868 `save-window-excursion' with `select-window'.
8869 (doc-view-document->bitmap): Check the current doc-view overlay's
8870 display property instead the char property of the buffer's first char.
8871
8872 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8873
8874 Automate the build of ja-dic.el (Bug#13984).
8875 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8876 from the input, rather than assume that it's been done for us by the
8877 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8878 the current date into a ja-dic.el comment, as that complicates
8879 regression testing.
8880
8881 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * whitespace.el: Fix double evaluation.
8884 (whitespace-space, whitespace-hspace, whitespace-tab)
8885 (whitespace-newline, whitespace-trailing, whitespace-line)
8886 (whitespace-space-before-tab, whitespace-indentation)
8887 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8888 obsolete defvars.
8889 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8890 (whitespace-color-on): Use a single font-lock-add-keywords call.
8891 Fix double-evaluation of face variables.
8892
8893 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * net/tramp-adb.el (tramp-adb-parse-device-names):
8896 Use `start-process' instead of `call-process'. Otherwise, the
8897 function might be blocked under MS Windows. (Bug#13299)
8898
8899 2013-03-17 Leo Liu <sdl.web@gmail.com>
8900
8901 Extend eldoc to display info in the mode-line. (Bug#13978)
8902 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8903 (eldoc-mode-line-string): New variable.
8904 (eldoc-minibuffer-message): New function.
8905 (eldoc-message-function): New variable.
8906 (eldoc-message): Use it.
8907 (eldoc-display-message-p)
8908 (eldoc-display-message-no-interference-p):
8909 Support eldoc-post-insert-mode.
8910
8911 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8912 (eval-expression): Run it.
8913
8914 2013-03-17 Roland Winkler <winkler@gnu.org>
8915
8916 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8917 strings in the list of return values.
8918
8919 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8920
8921 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8922 radix before checking for HMS forms.
8923
8924 2013-03-16 Leo Liu <sdl.web@gmail.com>
8925
8926 * progmodes/scheme.el: Add indentation and font-locking for λ.
8927 (Bug#13975)
8928
8929 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8932 token before point (bug#13942).
8933
8934 2013-03-16 Leo Liu <sdl.web@gmail.com>
8935
8936 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8937
8938 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8939
8940 * startup.el (command-line-normalize-file-name): Fix handling of
8941 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8942 <xfq.free@gmail.com> in
8943 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8944
8945 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8946
8947 Sync with Tramp 2.2.7.
8948
8949 * net/trampver.el: Update release number.
8950
8951 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8952
8953 * doc-view.el: Fix bug#13887.
8954 (doc-view-insert-image): Don't modify overlay associated to
8955 non-live windows, and implement horizontal centering of image in
8956 case it's smaller than the window.
8957 (doc-view-new-window-function): Force redisplay of new windows on
8958 doc-view buffers.
8959
8960 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8961
8962 * saveplace.el (save-place-alist-to-file): Don't sort
8963 `save-place-alist', just pretty-print it (bug#13882).
8964
8965 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8966
8967 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8968 Check whether `default-file-name-coding-system' is bound.
8969 It isn't in XEmacs.
8970
8971 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8974 backquotes for `obsolete' (bug#13929).
8975
8976 * international/mule.el (find-auto-coding): Include file name in
8977 obsolescence warning (bug#13922).
8978
8979 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8980
8981 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8982 for CFEngine 3-specific indentation.
8983 (cfengine3-indent-line): Use it. Fix up category regex.
8984 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8985
8986 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * type-break.el (type-break-file-name):
8989 * textmodes/remember.el (remember-data-file):
8990 * strokes.el (strokes-file):
8991 * shadowfile.el (shadow-initialize):
8992 * saveplace.el (save-place-file):
8993 * ps-bdf.el (bdf-cache-file):
8994 * progmodes/idlwave.el (idlwave-config-directory):
8995 * net/quickurl.el (quickurl-url-file):
8996 * international/kkc.el (kkc-init-file-name):
8997 * ido.el (ido-save-directory-list-file):
8998 * emulation/viper.el (viper-custom-file-name):
8999 * emulation/vip.el (vip-startup-file):
9000 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9001 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9002
9003 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9004
9005 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9006 * language/thai-word.el: Switch to UTF-8.
9007
9008 See ChangeLog.16 for earlier changes.
9009
9010 ;; Local Variables:
9011 ;; coding: utf-8
9012 ;; End:
9013
9014 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9015
9016 This file is part of GNU Emacs.
9017
9018 GNU Emacs is free software: you can redistribute it and/or modify
9019 it under the terms of the GNU General Public License as published by
9020 the Free Software Foundation, either version 3 of the License, or
9021 (at your option) any later version.
9022
9023 GNU Emacs is distributed in the hope that it will be useful,
9024 but WITHOUT ANY WARRANTY; without even the implied warranty of
9025 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9026 GNU General Public License for more details.
9027
9028 You should have received a copy of the GNU General Public License
9029 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.