* insdel.c: Fix minor problems found by static checking.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * rect.el: Use lexical-binding. Add new rectangular region support.
4 (rectangle-mark): New command.
5 (rectangle--region): New var.
6 (deactivate-mark-hook): Reset rectangle--region.
7 (rectangle--extract-region, rectangle--insert-for-yank)
8 (rectangle--highlight-for-redisplay)
9 (rectangle--unhighlight-for-redisplay): New functions.
10 (region-extract-function, redisplay-unhighlight-region-function)
11 (redisplay-highlight-region-function): Use them to handle
12 rectangular region.
13 * simple.el (region-extract-function): New var.
14 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
15 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16 (kill-region): Replace obsolete `yank-handler' arg with `region'.
17 (copy-region-as-kill, kill-ring-save): Add `region' argument.
18 (redisplay-unhighlight-region-function)
19 (redisplay-highlight-region-function): New vars.
20 (redisplay--update-region-highlight): New function.
21 (pre-redisplay-function): Use it.
22 (exchange-point-and-mark): Don't deactivate the mark before
23 reactivate-it anyway.
24 * comint.el (comint-kill-region): Remove yank-handler argument.
25 * delsel.el (delete-backward-char, backward-delete-char-untabify)
26 (delete-char): Remove property, since it's now part of their
27 default behavior.
28 (self-insert-iso): Remove property since this command doesn't exist.
29
30 * emacs-lisp/package.el (package--download-one-archive)
31 (describe-package-1): Don't query the user about final newline.
32
33 2013-10-29 Daniel Colascione <dancol@dancol.org>
34
35 * net/tramp.el (tramp-methods): Document new functionality.
36 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
37 tramp-hostname-checker if method provides one instead of scanning
38 argument list for "%h" to decide hostname acceptability.
39
40 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
41
42 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
43 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
44 Handle COPY-CONTENTS. (Bug#15737)
45
46 2013-10-28 Daiki Ueno <ueno@gnu.org>
47
48 * epa-file.el
49 (epa-file-cache-passphrase-for-symmetric-encryption):
50 Document that this option has no effect with GnuPG 2.0 (bug#15552).
51
52 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
53
54 * image.el (defimage):
55 (image-load-path): Doc fixes.
56
57 2013-10-27 Alan Mackenzie <acm@muc.de>
58
59 Indent statements in macros following "##" correctly.
60 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
61 Modify the "#" arm of a cond form to handle "#" and "##" operators.
62
63 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
64
65 * linum.el (linum-update-window): Fix boundary test (bug#13446).
66
67 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
68
69 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
70 after `=' is probably a new expression.
71
72 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
73
74 * man.el (man-imenu-title): New option.
75 (Man-mode-map): Add menu. (Bug#15722)
76 (Man-mode): Add imenu to menu.
77
78 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
79
80 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
81 specific in what the first arg can be: a non-keyword word,
82 string/regexp/percent literal opener, opening paren, or unary
83 operator followed directly by word.
84
85 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
88 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
89 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
90 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
91 Remove vars, they do not apply any more.
92 (prolog-mode-abbrev-table): Remove redundant declaration.
93 (prolog-upper-case-string, prolog-lower-case-string): Remove.
94 (prolog-use-smie): Remove.
95 (prolog-smie-rules): Add indentation rule for the if-then-else layout
96 supported by prolog-electric-if-then-else-flag.
97 (prolog-mode-variables, prolog-menu): Use setq-local.
98 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
99 Remove binding to `Backspace' since this key doesn't exist anyway.
100 Remove bindings for electric self-inserting keys.
101 (prog-mode): Assume it's defined.
102 (prolog-post-self-insert): New function.
103 (prolog-mode): Use it.
104 (prolog-indent-line, prolog-indent-level)
105 (prolog-find-indent-of-matching-paren)
106 (prolog-indentation-level-of-line, prolog-goto-comment-column)
107 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
108 (prolog-goto-next-paren, prolog-in-string-or-comment)
109 (prolog-tokenize, prolog-inside-mline-comment)
110 (prolog-find-start-of-mline-comment): Remove functions.
111 (prolog-find-unmatched-paren, prolog-clause-end)
112 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
113 (prolog-electric--if-then-else): Rename from
114 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
115 (prolog-tokenize-searchkey): Remove const.
116 (prolog-clause-info): Use forward-sexp.
117 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
118 (prolog-electric-if-then-else): Remove commands.
119 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
120 for use in post-self-insert-hook.
121 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
122 for use in post-self-insert-hook.
123 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
124 for use in post-self-insert-hook.
125 (prolog-electric--underscore): Rename from prolog-electric--underscore;
126 adapt it for use in post-self-insert-hook.
127
128 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
129
130 * emacs-lisp/ert.el (ert-run-tests-interactively):
131 Use `completing-read'. (Bug#9756)
132
133 2013-10-25 Eli Zaretskii <eliz@gnu.org>
134
135 * simple.el (line-move): Call line-move-1 instead of
136 line-move-visual when the current window hscroll is zero, but
137 temporary-goal-column indicates we will need to hscroll as result
138 of the movement. (Bug#15712)
139
140 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
143 capitalization. Use :visible instead of :active.
144 Fix `ruby-indent-exp' reference. Add menu items for the generic
145 commands that are used with SMIE.
146 (ruby-do-end-to-brace): Insert space after `{'.
147
148 2013-10-25 John Anthony <john@jo.hnanthony.com>
149
150 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
151
152 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
153
154 2013-10-25 Glenn Morris <rgm@gnu.org>
155
156 * vc/vc.el (vc-print-log): Don't use a working revision unless
157 one was explicitly specified. (Bug#15322)
158
159 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * subr.el (add-to-list): Preserve return value in compiler-macro
162 (bug#15692).
163
164 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
165
166 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
167 result. Ask user to retry using '-all' flag. (Bug#15701)
168
169 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * emacs-lisp/smie.el: New smie-config system.
172 (smie-config): New defcustom.
173 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
174 (smie-config-guess, smie-config-save): New commands.
175 (smie-config--mode-local, smie-config--buffer-local)
176 (smie-config--trace, smie-config--modefuns): New vars.
177 (smie-config--advice, smie-config--mode-hook)
178 (smie-config--setter, smie-config-local, smie-config--get-trace)
179 (smie-config--guess-value, smie-config--guess): New functions.
180 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
181 text properties. Treat "string fence" syntax like string syntax.
182
183 * progmodes/sh-script.el (sh-use-smie): Change default.
184 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
185 (sh-var-value): Simplify by CSE.
186 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
187 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
188 is used.
189 (sh-guess-basic-offset): Use cl-incf.
190 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
191
192 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
193
194 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
195 (bug#15699).
196
197 2013-10-24 Glenn Morris <rgm@gnu.org>
198
199 * Makefile.in (abs_top_srcdir): Remove.
200 (update-subdirs): Use relative path to update-subdirs.
201
202 2013-10-24 Eli Zaretskii <eliz@gnu.org>
203
204 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
205 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
206 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
207 Call unmsys--file-name before expand-file-name, not after it.
208
209 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
210
211 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
212 (ert-test-skipped): New error.
213 (ert-skip, ert-stats-skipped): New defuns.
214 (ert--skip-unless): New macro.
215 (ert-test-skipped): New struct.
216 (ert--run-test-debugger, ert-test-result-type-p)
217 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
218 (ert--stats-set-test-and-result, ert-char-for-test-result)
219 (ert-string-for-test-result, ert-run-tests-batch)
220 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
221 Handle skipped tests. (Bug#9803)
222
223 2013-10-24 Glenn Morris <rgm@gnu.org>
224
225 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
226
227 * Makefile.in (abs_top_srcdir): New, set by configure.
228 (update-subdirs): Correct build-aux location.
229
230 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
231
232 * vc/vc.el (vc-print-root-log): Always set `default-directory'
233 value, whether we could auto-deduce `backend', or not.
234
235 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
236 with parameters" example. Simplify the "is it block or is it
237 hash" check, but also make it more thorough.
238
239 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
240
241 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
242
243 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
246 { if it is hanging.
247
248 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
249 :before ";".
250
251 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
252
253 * progmodes/compile.el (compilation-directory-matcher)
254 (compilation-page-delimiter):
255 Support GNU Make-4.0 directory quoting. (Bug#15678)
256
257 2013-10-23 Leo Liu <sdl.web@gmail.com>
258
259 * ido.el (ido-tidy): Handle read-only text.
260
261 2013-10-23 Glenn Morris <rgm@gnu.org>
262
263 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
264 (emacs, compile, compile-always):
265 Quote entities that might contain whitespace.
266 (custom-deps, finder-data, autoloads): Use abs_lisp.
267 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
268 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
269 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
270
271 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
272
273 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
274 Use `following-char'.
275
276 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
279 * progmodes/ruby-mode.el (ruby-smie-rules):
280 Remove corresponding workaround. Fix indentation rule of ";" so it
281 also applies when ";" is the parent.
282
283 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
284
285 * frame.el (display-screens, display-pixel-height)
286 (display-pixel-width, display-mm-width, display-backing-store)
287 (display-save-under, display-planes, display-color-cells)
288 (display-visual-class, display-monitor-attributes-list):
289 Mention the optional ‘display’ argument in doc strings.
290
291 2013-10-22 Michael Gauland <mikelygee@amuri.net>
292
293 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
294 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
295
296 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
297
298 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
299 TODO. Add "." after " @ ".
300 (ruby-smie--at-dot-call): New function. Checks if point at method
301 call with explicit target.
302 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
303 to the method name tokens when it precedes them.
304 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
305 (ruby-smie-rules): Add rule for indentation before and after "."
306 token.
307
308 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * textmodes/remember.el (remember-diary-extract-entries):
311 Avoid add-to-list.
312
313 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
314 an instruction.
315
316 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
317
318 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
319 (ruby-smie--implicit-semi-p): Add new operator chars.
320
321 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
322 `smie-down-list'.
323 (ruby-smie--args-separator-p): Check that there's no newline
324 between method call and its arguments.
325
326 2013-10-20 Alan Mackenzie <acm@muc.de>
327
328 Allow comma separated lists after Java "implements".
329
330 * progmodes/cc-engine.el (c-backward-over-enum-header):
331 Parse commas.
332 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
333 from a "disallowed" list in enum fontification.
334
335 2013-10-20 Johan Bockgård <bojohan@gnu.org>
336
337 * startup.el (default-frame-background-mode): Remove unused defvar.
338
339 * progmodes/verilog-mode.el (verilog-mode): Don't set
340 comment-indent-function globally.
341
342 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
343
344 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
345 Move Info menu item creation to ns-win.el.
346
347 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
348 in menu bar.
349
350 * menu-bar.el: Move GNUStep specific menus...
351
352 * term/ns-win.el (ns-initialize-window-system): ... to here.
353
354 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * simple.el (newline): Only run post-self-insert-hook when
357 called interactively.
358
359 2013-10-19 Johan Bockgård <bojohan@gnu.org>
360
361 * icomplete.el (icomplete-with-completion-tables): Add :version.
362
363 2013-10-19 Alan Mackenzie <acm@muc.de>
364
365 Fix fontification bugs with constructors and const.
366
367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
368 CASE 2) Remove the check for the absence of a suffix construct
369 after a function declaration with only types (no identifiers) in
370 the parentheses. Also, accept a function declaration with just a
371 type inside the parentheses, if this type can be positively
372 recognised as such, or if a prefix keyword like "explicit" nails
373 down the construct as a declaration.
374
375 2013-10-19 Eli Zaretskii <eliz@gnu.org>
376
377 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
378 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
379 the problem whereby selecting a menu item that leads to a
380 minibuffer prompt moves the cursor out of the minibuffer window,
381 making it hard to type at the prompt. Suggested by Stefan Monnier
382 <monnier@iro.umontreal.ca>.
383
384 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
385
386 * menu-bar.el: Don't make Services menu.
387
388 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
389
390 * ffap.el: Handle "/usr/include/c++/<version>" directories.
391 (ffap-alist): Use ffap-c++-mode for c++-mode.
392 (ffap-c++-path): New variable.
393 (ffap-c++-mode): New function.
394
395 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
396
397 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
398
399 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
400
401 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
402 introduced on 2013-09-08, which results in an infinite loop
403 requesting a password.
404
405 2013-10-18 Glenn Morris <rgm@gnu.org>
406
407 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
408
409 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
410
411 Sync with upstream verilog-mode revision 1a6ecec7.
412 * progmodes/verilog-mode.el (verilog-mode-version): Update.
413 (verilog-mode-release-date): Remove.
414 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
415 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
416 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
417 (verilog-auto-tieoff-ignore-regexp)
418 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
419 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
420 (verilog-signals-with, verilog-dir-cache-preserving)
421 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
422 Doc fixes.
423 (verilog-case-fold): New option, to control case folding in
424 regexp searches, bug597.
425 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
426 (verilog-string-match-fold, verilog-in-paren-count)
427 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
428 (verilog-at-close-struct-p): New functions.
429 (verilog-beg-block-re-ordered, verilog-extended-case-re)
430 (verilog-forward-sexp, verilog-set-auto-endcomments):
431 (verilog-leap-to-case-head): Handle "unique0" case.
432 (verilog-in-constraint-re): New constant.
433 (verilog-keywords, verilog-type-font-keywords):
434 Add some SystemVerilog 1800-2012 keywords.
435 (verilog-label-be): Remove unimplemented argument, bug669.
436 (verilog-batch-execute-func): When batch expanding clear
437 create-lockfiles to prevent spurious user locks when a file ends
438 up not changing.
439 (verilog-calculate-indent, verilog-calc-1)
440 (verilog-at-close-constraint-p, verilog-at-constraint-p)
441 (verilog-do-indent): Fix indentation of nested constraints
442 and structures.
443 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
444 (verilog-auto-inst-param): Use verilog-string-match-fold.
445 (verilog-read-inst-module-matcher):
446 Fix AUTOINST on gate primitives with #1.
447 (verilog-read-decls): Fix double-declaring user-defined typed signals.
448 Reads all user-defined typed variables.
449 (verilog-read-defines): Fix reading definitions inside comments, bug647.
450 (verilog-signals-matching-regexp)
451 (verilog-signals-not-matching-regexp, verilog-auto):
452 Respect verilog-case-fold.
453 (verilog-diff-report): Fix line count.
454 (verilog-auto-assign-modport): Remove unused local `modi'.
455 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
456 better handle multidimensional arrays.
457 Fix packed array ports misadding bit index in AUTOINST, bug637.
458 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
459 to not double-declare existing outputs and inputs, respectively.
460 (verilog-template-map): Bind U to verilog-sk-uvm-component.
461 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
462 (verilog-sk-uvm-component): New skeleton.
463 (verilog-submit-bug-report): Add verilog-case-fold,
464 remove verilog-mode-release-date.
465
466 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
467
468 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
469 as before.
470
471 2013-10-18 Reuben Thomas <rrt@sc3d.org>
472
473 * textmodes/remember.el (remember): set buffer-offer-save in
474 remember buffers (bug#13566).
475
476 2013-10-18 Daniel Colascione <dancol@dancol.org>
477
478 When evaluating forms in ielm, direct standard output to ielm
479 buffer. Add new ielm-return-for-effect command. Remove trailing
480 whitespace throughout.
481
482 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
483 (ielm-return-for-effect): New command.
484 (ielm-send-input): Accept optional `for-effect' parameter.
485 (ielm-eval-input): Accept optional `for-effect' parameter.
486 Bind `standard-output' to stream we create using
487 `ielm-standard-output-impl'. Suppress printing result when
488 `for-effect'.
489 (ielm-standard-output-impl): New function.
490 (inferior-emacs-lisp-mode): Explain new features in documentation.
491
492 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
493
494 Code cleanup.
495
496 * net/tramp.el (tramp-debug-message): Do not check for connection
497 buffer.
498 (tramp-message): Use "vector" connection property.
499
500 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
501 (tramp-equal-remote, tramp-eshell-directory-change)
502 * net/tramp-adb.el (tramp-adb-handle-copy-file)
503 (tramp-adb-handle-rename-file)
504 * net/tramp-cmds.el (tramp-list-remote-buffers)
505 (tramp-cleanup-connection, tramp-cleanup-this-connection)
506 * net/tramp-compat.el (tramp-compat-process-running-p)
507 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
508 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
509 (tramp-gvfs-handle-rename-file)
510 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
511 (tramp-set-file-uid-gid)
512 * net/tramp-smb.el (tramp-smb-handle-copy-file)
513 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
514 of `file-remote-p'.
515
516 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
517 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
518 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
519 (tramp-gw-open-network-stream): Suppress unrelated traces.
520
521 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
522 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
523 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
524 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
525 connection property.
526
527 * net/tramp-cache.el (top): Suppress traces when reading
528 persistency file.
529
530 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
531 Refactor common code. Improve debug message.
532 (tramp-maybe-open-connection)
533 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
534 connection buffer too early.
535
536 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
537 from `tramp-smb-actions-with-acl'.
538 (tramp-smb-actions-set-acl): New defconst.
539 (tramp-smb-handle-copy-directory)
540 (tramp-smb-action-get-acl): New defun, renamed from
541 `tramp-smb-action-with-acl'.
542 (tramp-smb-action-set-acl): New defun.
543 (tramp-smb-handle-set-file-acl): Rewrite.
544
545 2013-10-17 Glenn Morris <rgm@gnu.org>
546
547 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
548
549 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * skeleton.el (skeleton-newline): Remove.
552 (skeleton-internal-1): Use (insert "\n") instead.
553
554 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
555 let-bindings.
556
557 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
558 forward-sexp-function while we redo its job (bug#15613).
559
560 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
561
562 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
563 represented by lists.
564
565 2013-10-16 Glenn Morris <rgm@gnu.org>
566
567 * tmm.el (tmm--history): New dynamic variable.
568 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
569
570 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
571
572 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
573 (tramp-smb-errors): Add error messages.
574 (tramp-smb-actions-with-acl): New defconst.
575 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
576 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
577 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
578 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
579 (tramp-smb-get-stat-capability): Fix tests.
580
581 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
582
583 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
584 (bug#15580).
585
586 2013-10-16 Glenn Morris <rgm@gnu.org>
587
588 * ansi-color.el (ansi-color-drop-regexp):
589 Add 1J, 1K, 2K. (Bug#15617)
590
591 * files.el (hack-local-variables--warned-lexical): New.
592 (hack-local-variables):
593 Warn about misplaced lexical-binding. (Bug#15616)
594
595 * net/eww.el (eww-render): Always set eww-current-url,
596 and update header line. (Bug#15622)
597 (eww-display-html): ... Rather than just doing it here.
598
599 2013-10-15 Eli Zaretskii <eliz@gnu.org>
600
601 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
602 menu navigations commands.
603
604 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
605
606 * progmodes/subword.el (subword-capitalize): Be careful when
607 the search for [[:alpha:]] fails (bug#15580).
608
609 2013-10-14 Eli Zaretskii <eliz@gnu.org>
610
611 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
612 to commands that scroll the menu.
613
614 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
615
616 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
617 Handle methods ending with `?' and `!'.
618
619 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
620
621 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
622 `japanese-cp932' to `cp932' to fix the problem where saving a
623 source file written in Shift_JIS twice would end up having
624 `coding: japanese-cp932' which Ruby could not recognize.
625 (ruby-mode-set-encoding): Add support for encodings mapped to nil
626 in `ruby-encoding-map'.
627 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
628 doesn't need to be explicitly declared in magic comment.
629 (ruby-encoding-map): Add type declaration for better customize UI.
630
631 2013-10-13 Glenn Morris <rgm@gnu.org>
632
633 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
634 Occur buffers are read-only. http://bugs.debian.org/720775
635
636 * emacs-lisp/authors.el (authors-fixed-entries):
637 Comment out old alpha stuff.
638
639 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
640
641 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
642 to `after-save-hook' instead of `before-save-hook'.
643 (ruby-mode-set-encoding): Use the value of coding system used to
644 write the file. Call `basic-save-buffer-1' after modifying the
645 buffer.
646
647 2013-10-13 Alan Mackenzie <acm@muc.de>
648
649 Fix indentation/fontification of Java enum with
650 "implements"/generic.
651
652 * progmodes/cc-engine.el (c-backward-over-enum-header):
653 Extracted from the three other places and enhanced to handle generics.
654 (c-inside-bracelist-p): Uses new function above.
655 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
656 function above.
657 (c-font-lock-enum-tail): Uses new function above.
658
659 2013-10-13 Kenichi Handa <handa@gnu.org>
660
661 * international/mule-cmds.el (select-safe-coding-system): Remove a
662 superfluous condition in chekcing whether a coding system is safe
663 or not.
664
665 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
666
667 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
668
669 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
670
671 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
672
673 2013-10-13 Glenn Morris <rgm@gnu.org>
674
675 * menu-bar.el (menu-bar-update-buffers):
676 Unify Buffers menu prompt string. (Bug#15576)
677
678 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
679
680 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
681 Add some entries.
682 (authors-fixed-entries): Use accented form of name.
683
684 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
687 method calls (bug#15594).
688 (ruby-smie--args-separator-p): New function.
689 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
690 recognize paren-free method calls.
691
692 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
693 internals of universal-argument.
694
695 2013-10-11 Eli Zaretskii <eliz@gnu.org>
696
697 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
698 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
699 dropped menu on second mouse click on the menu bar.
700
701 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
704 (explicit-shell-file-name): Declare.
705 (sh--vars-before-point, sh--cmd-completion-table): New functions.
706 (sh-completion-at-point-function): New function.
707 (sh-mode): Use it.
708 (sh-smie--keyword-p): Remove unused argument.
709 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
710 vars.
711 (sh-set-shell): Always setup SMIE, even if we use the
712 old indentation code.
713
714 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
715
716 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
717 cases of ? and =.
718 (ruby-smie-rules): Simplify the "do" rule. The cases when the
719 predicate would return nil are almost non-existent.
720 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
721
722 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
723 cache also after commands that modify the buffer but don't move
724 point.
725
726 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * env.el (substitute-env-in-file-name): New function.
729 (substitute-env-vars): Extend the meaning of the optional arg.
730
731 2013-10-10 Eli Zaretskii <eliz@gnu.org>
732
733 * term/w32-win.el (dynamic-library-alist): Define separate lists
734 of GIF DLLs for versions before and after 5.0.0 of giflib.
735 (Bug#15531)
736
737 2013-10-10 João Távora <joaotavora@gmail.com>
738
739 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
740 not locked, use last revision and current source as
741 defaults. (Bug#15569)
742
743 2013-10-10 Masatake YAMATO <yamato@redhat.com>
744
745 * menu-bar.el (menu-bar-open): Don't use popup-menu if
746 menu-bar is hidden.
747
748 2013-10-10 Martin Rudalics <rudalics@gmx.at>
749
750 * window.el (pop-to-buffer-same-window): Fix doc-string.
751 (Bug#15492)
752
753 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
756
757 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
758
759 * calendar/icalendar.el (icalendar-import-file):
760 Fix interactive spec. (Bug#15482)
761
762 2013-10-10 Glenn Morris <rgm@gnu.org>
763
764 * desktop.el (desktop-save): Default to saving in .emacs.d,
765 since PWD is no longer in desktop-path by default. (Bug#15319)
766
767 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
768 now that text mode has a menu with the same entry.
769 (menu-bar-text-mode-auto-fill): Remove now unused func.
770 * textmodes/text-mode.el (text-mode-map):
771 Use auto-fill help text from menu-bar.el.
772
773 2013-10-10 John Anthony <john@jo.hnanthony.com>
774
775 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
776
777 2013-10-09 Juri Linkov <juri@jurta.org>
778
779 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
780 instead of this-command-keys. Add universal-argument-more and
781 universal-argument-minus to the list of prefix commands. (Bug#15568)
782
783 2013-10-09 Glenn Morris <rgm@gnu.org>
784
785 * vc/vc-svn.el (vc-svn-create-repo):
786 Expand paths in file://... url. (Bug#15446)
787
788 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
789 Add some entries.
790 (authors): Remove unused local variables.
791
792 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * profiler.el: Create a more coherent calltree from partial backtraces.
795 (profiler-format): Hide the tail with `invisible' so that C-s can still
796 find the hidden elements.
797 (profiler-calltree-depth): Don't recurse so enthusiastically.
798 (profiler-function-equal): New hash-table-test.
799 (profiler-calltree-build-unified): New function.
800 (profiler-calltree-build): Use it.
801 (profiler-report-make-name-part): Indent the calltree less.
802 (profiler-report-mode): Add visibility specs for profiler-format.
803 (profiler-report-expand-entry, profiler-report-toggle-entry):
804 Expand the whole subtree when provided with a prefix arg.
805
806 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
807
808 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
809 iuwu-mod token.
810 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
811 hanging iuwu-mod token.
812 (ruby-smie--forward-token): Do not include a dot after a token in
813 that token.
814 (ruby-smie--backward-token): Likewise.
815
816 2013-10-08 Juri Linkov <juri@jurta.org>
817
818 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
819 to isearch-other-control-char.
820 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
821 and isearch-post-command-hook to post-command-hook.
822 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
823 and isearch-post-command-hook from post-command-hook.
824 (isearch-unread-key-sequence)
825 (isearch-reread-key-sequence-naturally)
826 (isearch-lookup-scroll-key, isearch-other-control-char)
827 (isearch-other-meta-char): Remove functions.
828 (isearch-pre-command-hook, isearch-post-command-hook):
829 New functions based on isearch-other-meta-char rewritten
830 relying on the new behavior of overriding-terminal-local-map
831 that does not replace the local keymaps any more. (Bug#15200)
832
833 2013-10-08 Eli Zaretskii <eliz@gnu.org>
834
835 Support menus on text-mode terminals.
836 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
837 functionality.
838
839 * tooltip.el (tooltip-mode): Don't error out on TTYs.
840
841 * menu-bar.el (popup-menu, popup-menu-normalize-position):
842 Move here from mouse.el.
843 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
844 and arrow keys.
845 (tty-menu-navigation-map): New map for TTY menu navigation.
846
847 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
848
849 * frame.el (display-mouse-p): Report text-mode mouse as available
850 on w32.
851 (display-popup-menus-p): Report availability if mouse is
852 available; don't condition on window-system.
853
854 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
855 (tty-menu-selected-face): New faces.
856
857 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
860 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
861 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
862 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
863 New constants.
864 (lisp-mode-variables): New `elisp' argument.
865 (emacs-lisp-mode): Use it.
866 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
867 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
868
869 * indent.el: Use lexical-binding.
870 (indent-region): Add progress reporter.
871 (tab-stop-list): Make it implicitly extend to infinity by repeating the
872 last step.
873 (indent--next-tab-stop): New function to implement this behavior.
874 (tab-to-tab-stop, move-to-tab-stop): Use it.
875
876 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
877
878 * indent.el (indent-rigidly--current-indentation): New function.
879 (indent-rigidly-map): New var.
880 (indent-rigidly): Use it to provide interactive mode (bug#8196).
881
882 2013-10-08 Bastien Guerry <bzg@gnu.org>
883
884 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
885
886 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * progmodes/perl-mode.el: Use lexical-binding.
889 Remove redundant :group args.
890 (perl-nochange): Change default to be closer to other major modes's
891 standard behavior.
892 (perl-indent-line): Don't consider text on current line as a
893 valid beginning of function from which to indent.
894
895 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
896 with more than one argument (bug#15538).
897
898 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
899
900 * vc/pcvs.el: Use lexical-binding.
901 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
902 environment of `eval'.
903 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
904 than a list of expressions. Adjust callers.
905 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
906
907 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
908
909 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
910 case of the dot in a chained method call being on the following line.
911
912 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * electric.el (electric-indent-inhibit): New var.
915 (electric-indent-post-self-insert-function): Use it.
916 * progmodes/python.el (python-mode): Set it.
917
918 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
919 open braces.
920
921 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
922
923 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
924 (css-mode): Use electric-indent-chars.
925
926 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
927 (font-lock-beg, font-lock-end): Move before first use.
928 (nxml-mode): Use syntax-propertize-function.
929 (nxml-after-change, nxml-after-change1): Adjust accordingly.
930 (nxml-extend-after-change-region): Remove.
931 * nxml/xmltok.el: Use lexical-binding.
932 (xmltok-save): Use `declare'.
933 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
934 * nxml/nxml-util.el: Use lexical-binding.
935 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
936 Use `declare'.
937 * nxml/nxml-ns.el: Use lexical-binding.
938 (nxml-ns-save): Use `declare'.
939 (nxml-ns-prefixes-for): Avoid add-to-list.
940 * nxml/rng-match.el: Use lexical-binding.
941 (rng--ipattern): Use cl-defstruct.
942 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
943 (rng-cons-group-after, rng-subst-group-after)
944 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
945 Use closures instead of `(lambda...).
946
947 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
948
949 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
950 of BEG and END.
951
952 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
953 Use `tramp-handle-insert-file-contents'.
954 (tramp-gvfs-handle-insert-file-contents): Remove function.
955
956 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
957 Use `save-restriction' in order to keep markers.
958
959 * net/trampver.el: Update release number.
960
961 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * progmodes/compile.el (compilation-parse-errors):
964 Use compilation--put-prop.
965 (compilation--ensure-parse): Check compilation-multiline.
966
967 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
968
969 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
970 lexical-binding.
971
972 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
973
974 * progmodes/ruby-mode.el: Fix recently added tests.
975 (ruby-smie-grammar): Add - and +.
976 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
977 (ruby-smie--backward-id): New functions.
978 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
979 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
980 any more.
981
982 2013-10-07 Leo Liu <sdl.web@gmail.com>
983
984 * register.el (register-preview-delay)
985 (register-preview-functions): New variables.
986 (register-read-with-preview, register-preview)
987 (register-describe-oneline): New functions.
988 (point-to-register, window-configuration-to-register)
989 (frame-configuration-to-register, jump-to-register)
990 (number-to-register, view-register, insert-register)
991 (copy-to-register, append-to-register, prepend-to-register)
992 (copy-rectangle-to-register): Use register-read-with-preview to
993 read register. (Bug#15525)
994
995 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
996
997 * net/network-stream.el (network-stream-open-starttls): Don't add
998 --insecure if it's already present, because that gnutls-cli
999 rejects getting that parameter twice.
1000
1001 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1002
1003 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1004 keyword, too.
1005
1006 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1007
1008 * newcomment.el (comment-use-global-state): Change default value
1009 to t, mark obsolete (Bug#15251).
1010 (comment-beginning): In addition to `comment-to-syntax', check the
1011 value of `comment-use-global-state'.
1012
1013 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1016 (ruby-comment-column): Follow the global default, by default.
1017 (ruby-smie-grammar): Add assignment syntax.
1018 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1019 open-paren, a comma, or a \.
1020 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1021 and line continuations.
1022 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1023 followed by implicit semi-colons. Add rule for string concatenation
1024 and for indentation at BOB.
1025 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1026
1027 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1028 calling next-sexp, since next-token may have skipped chars which
1029 next-sexp doesn't know should be skipped!
1030
1031 2013-10-05 Leo Liu <sdl.web@gmail.com>
1032
1033 * progmodes/octave.el (octave-send-region):
1034 Call compilation-forget-errors.
1035
1036 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1037
1038 * vc/vc-svn.el (vc-svn-find-admin-dir):
1039 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1040 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1041 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1042 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1043
1044 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1047
1048 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * subr.el (read-passwd): Hide chars even when called within a context
1051 where after-change-functions is disabled (bug#15501).
1052 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1053 until we removed ourself from overriding-terminal-local-map.
1054
1055 2013-10-04 Leo Liu <sdl.web@gmail.com>
1056
1057 * progmodes/octave.el (inferior-octave-mode):
1058 Call compilation-forget-errors.
1059
1060 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1061
1062 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1063
1064 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1065
1066 * net/secrets.el (secrets-create-collection): Add optional
1067 argument ALIAS. Use proper Label keyword. Append ALIAS as
1068 dbus-call-method argument. (Bug#15516)
1069
1070 2013-10-04 Leo Liu <sdl.web@gmail.com>
1071
1072 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1073 (inferior-octave-compilation-font-lock-keywords): New variables.
1074 (compilation-error-regexp-alist)
1075 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1076 (inferior-octave-mode): Use compilation-shell-minor-mode.
1077
1078 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1079
1080 * minibuffer.el (completion--replace): Be careful that `end' might be
1081 a marker.
1082
1083 2013-10-03 Daiki Ueno <ueno@gnu.org>
1084
1085 Add support for package signature checking.
1086 * emacs-lisp/package.el (url-http-file-exists-p)
1087 (epg-make-context, epg-context-set-home-directory)
1088 (epg-verify-string, epg-context-result-for)
1089 (epg-signature-status, epg-signature-to-string)
1090 (epg-check-configuration, epg-configuration)
1091 (epg-import-keys-from-file): Declare.
1092 (package-check-signature): New user option.
1093 (package-unsigned-archives): New user option.
1094 (package-desc): Add `signed' field.
1095 (package-load-descriptor): Set `signed' field if .signed file exists.
1096 (package--archive-file-exists-p): New function.
1097 (package--check-signature): New function.
1098 (package-install-from-archive): Check package signature.
1099 (package--download-one-archive): Check archive signature.
1100 (package-delete): Remove .signed file.
1101 (package-import-keyring): New command.
1102 (package-refresh-contents): Import default keyring.
1103 (package-desc-status): Add "unsigned" status.
1104 (describe-package-1, package-menu--print-info)
1105 (package-menu-mark-delete, package-menu--find-upgrades)
1106 (package-menu--status-predicate): Support "unsigned" status.
1107
1108 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1111 the new compilation scheme using the new byte-codes.
1112
1113 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1114 (byte-pophandler): New byte codes.
1115 (byte-goto-ops): Adjust accordingly.
1116 (byte-compile--use-old-handlers): New var.
1117 (byte-compile-catch): Use new byte codes depending on
1118 byte-compile--use-old-handlers.
1119 (byte-compile-condition-case--old): Rename from
1120 byte-compile-condition-case.
1121 (byte-compile-condition-case--new): New function.
1122 (byte-compile-condition-case): New function that dispatches depending
1123 on byte-compile--use-old-handlers.
1124 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1125 when we can.
1126
1127 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1128 Optimize under `condition-case' and `catch' if
1129 byte-compile--use-old-handlers is nil.
1130 (disassemble-offset): Handle new bytecodes.
1131
1132 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * subr.el (error): Use `declare'.
1135 (decode-char, encode-char): Use advertised-calling-convention instead
1136 of the docstring to discourage use of the `restriction' arg.
1137
1138 2013-10-03 Daiki Ueno <ueno@gnu.org>
1139
1140 * epg.el (epg-verify-file): Add a comment saying that it does not
1141 notify verification error as a return value nor a signal.
1142 (epg-verify-string): Ditto.
1143
1144 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1145
1146 * progmodes/compile.el (compilation-start): Try globbing the arg to
1147 `cd' (bug#15417).
1148
1149 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1150
1151 Sync with Tramp 2.2.8.
1152
1153 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1154 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1155 * net/trampver.el: Update release number.
1156
1157 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1158
1159 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1160 and default-process-coding-system for darwin only.
1161
1162 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1165
1166 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1167
1168 * vc/vc-git.el (vc-git-grep): Disable pager.
1169
1170 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1171
1172 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1173 Use :url instead of :homepage, as per
1174 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1175
1176 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1177 non-nil, use `syntax-ppss' (Bug#15251).
1178
1179 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1180
1181 * progmodes/octave.el (inferior-octave-startup-file):
1182 Prefer ~/.emacs.d/init_octave.m.
1183
1184 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1185
1186 * emacs-lisp/package.el (package-desc-from-define):
1187 Accept additional arguments as plist, convert them to an alist and store
1188 them in the `extras' slot.
1189 (package-generate-description-file): Convert extras alist back to
1190 plist and append to the `define-package' form arguments.
1191 (package--alist-to-plist): New function.
1192 (package--ac-desc): Add `extras' slot.
1193 (package--add-to-archive-contents): Check if the archive-contents
1194 vector is long enough, and if it is, pass its `extras' slot value
1195 to `package-desc-create'.
1196 (package-buffer-info): Call `lm-homepage', pass the returned value
1197 to `package-desc-from-define'.
1198 (describe-package-1): Render the homepage button (Bug#13291).
1199
1200 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1201 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1202
1203 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1204
1205 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1206 and default-process-coding-system to utf-8-unix (Bug#15402).
1207
1208 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1209
1210 * subr.el (looking-back): Do not recommend using looking-back.
1211
1212 2013-09-28 Alan Mackenzie <acm@muc.de>
1213
1214 Fix indentation/fontification of Java enum with "implements".
1215
1216 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1217 regexp which matches "implements", etc., in Java.
1218 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1219 specifier clauses coming after "enum".
1220 * progmodes/cc-fonts.el (c-font-lock-declarations)
1221 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1222 after "enum".
1223
1224 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1225
1226 * faces.el (region): Change ns_selection_color to
1227 ns_selection_fg_color, add ns_selection_bg_color.
1228
1229 2013-09-28 Leo Liu <sdl.web@gmail.com>
1230
1231 * progmodes/octave.el (inferior-octave-completion-table)
1232 (inferior-octave-completion-at-point): Minor tweaks.
1233
1234 * textmodes/ispell.el (ispell-lookup-words): Rename from
1235 lookup-words. (Bug#15460)
1236 (lookup-words): Obsolete.
1237 (ispell-complete-word, ispell-command-loop): All uses changed.
1238
1239 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1240
1241 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1242 (octave-mode-menu): Add octave-send-buffer.
1243 (octave-send-buffer): New function.
1244
1245 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1246
1247 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1248 octave-lookfor.
1249 (octave-mode-menu): Add octave-lookfor.
1250 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1251 octave-lookfor.
1252 (octave-lookfor): New function.
1253
1254 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * emacs-lisp/cl-macs.el:
1257 (cl--loop-destr-temps): Remove.
1258 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1259 its convention.
1260 (cl--loop-set-iterator-function): New function.
1261 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1262 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1263 Bind `it' with `let' instead of substituting it with `cl-subst'.
1264 (cl--unused-var-p): New function.
1265 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1266 Eliminate some unused variable warnings (bug#15326).
1267
1268 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1269
1270 * doc-view.el (doc-view-scale-reset): Rename from
1271 `doc-view-reset-zoom-level'.
1272 (doc-view-scale-adjust): New command.
1273 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1274 `doc-view-scale-adjust'.
1275
1276 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1277
1278 * doc-view.el (doc-view-reset-zoom-level): New command.
1279 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1280 zoom commands (bug#15466).
1281
1282 2013-09-26 Kenichi Handa <handa@gnu.org>
1283
1284 * international/quail.el (quail-help): Make it not a command.
1285
1286 2013-09-26 Leo Liu <sdl.web@gmail.com>
1287
1288 * minibuffer.el (completion-all-sorted-completions): Make args
1289 optional as they are.
1290
1291 2013-09-25 Daniel Colascione <dancol@dancol.org>
1292
1293 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1294 specs are and that they're not evaluated.
1295
1296 2013-09-24 Sam Steingold <sds@gnu.org>
1297
1298 * midnight.el (clean-buffer-list-kill-regexps)
1299 (clean-buffer-list-kill-buffer-names): Update for the new Man
1300 buffer naming which includes the object name.
1301
1302 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1305 (eshell-parse-command, eshell-parse-pipeline): Use it since
1306 eshell-separate-commands requires a dynamic scoped var.
1307 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1308
1309 2013-09-23 Leo Liu <sdl.web@gmail.com>
1310
1311 * autoinsert.el (auto-insert-alist): Make the value of
1312 lexical-binding match its file setting.
1313
1314 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1315
1316 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1317
1318 * autoarg.el (autoarg-kp-digit-argument):
1319 * electric.el (Electric-command-loop):
1320 * kmacro.el (kmacro-step-edit-insert):
1321 Do not set universal-argument-num-events.
1322
1323 2013-09-22 Leo Liu <sdl.web@gmail.com>
1324
1325 * files.el (interpreter-mode-alist): Add octave.
1326
1327 2013-09-21 Alan Mackenzie <acm@muc.de>
1328
1329 C++: fontify identifier in declaration following "public:" correctly.
1330 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1331 to match "public", etc.
1332 (c-decl-prefix-re): Add ":" into the C++ value.
1333 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1334 bit. Add a check for a ":" preceded by "public", etc.
1335
1336 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1337
1338 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1339 recognized by GDB 7.5 and later.
1340
1341 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1342
1343 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1344
1345 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * subr.el (internal--call-interactively): New const.
1348 (called-interactively-p): Use it (bug#3984).
1349
1350 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1351
1352 * vc/pcvs.el (cvs-mode-ignore):
1353 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1354 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1355
1356 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1359 (eshell-ls-orig-insert-directory): Remove.
1360 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1361 (eshell-ls-use-in-dired): Use advice-add/remove.
1362 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1363 Add `orig-fun' arg for use in :around advice.
1364 Make it check (redundantly) eshell-ls-use-in-dired.
1365
1366 2013-09-19 Glenn Morris <rgm@gnu.org>
1367
1368 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1369
1370 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1371
1372 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1373
1374 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1375
1376 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1377 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1378 (tramp-get-remote-python): New defuns.
1379 (tramp-get-remote-uid-with-perl)
1380 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1381 contributed by yary <not.com@gmail.com> (tiny change).
1382 (tramp-get-remote-uid-with-python)
1383 (tramp-get-remote-gid-with-python): New defuns. Python code
1384 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1385 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1386
1387 2013-09-19 Glenn Morris <rgm@gnu.org>
1388
1389 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1390
1391 * eshell/em-unix.el (eshell-remove-entries):
1392 Rename argument to avoid name-clash with global `top-level'.
1393
1394 * eshell/esh-proc.el (eshell-kill-process-function):
1395 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1396 (eshell-reset-after-proc): Remove unused arg `proc'.
1397
1398 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1399 (directory-files-and-attributes): Mark unused arg.
1400
1401 * eshell/em-unix.el (eshell-remove-entries):
1402 Remove unused arg `path'. Update callers.
1403
1404 * eshell/em-hist.el (eshell-hist-parse-arguments):
1405 Remove unused arg `silent'. Update callers.
1406
1407 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1408 Fix (f)boundp mix-up.
1409
1410 * eshell/em-smart.el (eshell-smart-scroll-window)
1411 (eshell-disable-after-change):
1412 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1413
1414 2013-09-18 Alan Mackenzie <acm@muc.de>
1415
1416 Fix fontification of type when followed by "const".
1417 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1418 "known" types from fontification.
1419
1420 2013-09-18 Glenn Morris <rgm@gnu.org>
1421
1422 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1423 (chart-face-list): Drop Emacsen without display-color-p.
1424
1425 * net/eww.el (libxml-parse-html-region): Declare.
1426 (eww-display-html): Explicit error if no libxml2 support.
1427
1428 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1429
1430 * image.el (image-type-from-buffer, image-multi-frame-p):
1431 Remove --without-x warning/error.
1432
1433 * mouse.el (mouse-yank-primary):
1434 * term.el (term-mouse-paste):
1435 Reorder to silence --without-x compilation.
1436
1437 * mpc.el (doc-view-mode): Silence --without-x compilation.
1438
1439 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1440 Silence --without-x compilation.
1441
1442 * progmodes/gud.el (gud-find-file, gud-mode):
1443 Silence --without-x compilation.
1444 (tooltip-mode): Declare.
1445
1446 * wdired.el (dired-backup-overwrite): Remove declaration.
1447 (wdired-mode-map): Add doc string.
1448
1449 * custom.el (x-get-resource): Declare.
1450
1451 * eshell/em-glob.el (ange-cache):
1452 * eshell/em-unix.el (ange-cache): Declare.
1453
1454 * faces.el (x-display-list, x-open-connection, x-get-resource):
1455 Declare.
1456
1457 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1458 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1459 Declare.
1460
1461 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1462
1463 * net/gnutls.el (gnutls-log-level): Declare.
1464
1465 * net/shr.el (image-size, image-animate): Declare.
1466
1467 * simple.el (font-info): Declare.
1468
1469 * subr.el (x-popup-dialog): Declare.
1470
1471 * term/common-win.el (x-select-enable-primary)
1472 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1473 Declare.
1474
1475 * term/ns-win.el (x-handle-args): Declare.
1476
1477 * term/x-win.el (x-select-enable-clipboard): Declare.
1478
1479 * term/w32-win.el (create-default-fontset): Declare.
1480
1481 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1482 Declare.
1483
1484 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1485 (fit-frame-to-buffer): Explicit error if --without-x.
1486 (mouse-autoselect-window-select): Silence compiler.
1487
1488 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1489
1490 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1491 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1492 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1493 * eshell/esh-util.el (eshell-sublist):
1494 Remove unused local variables.
1495
1496 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1497
1498 * textmodes/two-column.el: Make 2C-split work for --without-x.
1499 (scroll-bar-columns): Autoload.
1500 (top-level): Require fringe when compiling.
1501
1502 2013-09-18 Leo Liu <sdl.web@gmail.com>
1503
1504 * subr.el (add-hook): Robustify to handle closure as well.
1505
1506 2013-09-17 Glenn Morris <rgm@gnu.org>
1507
1508 * simple.el (messages-buffer-mode-map): Unbind "g".
1509
1510 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * help-mode.el (help-mode-finish): Use derived-mode-p.
1513 Remove obsolete highlighting.
1514
1515 * play/life.el (life-mode): Use define-derived-mode. Derive from
1516 special-mode.
1517 (life): Let-bind inhibit-read-only.
1518 (life-setup): Avoid `setq'. Use `life-mode'.
1519
1520 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1521 which should not be needed any more.
1522 (package-menu-refresh, package-menu-describe-package): Use user-error.
1523
1524 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1525 (eshell-post-rewrite-command-hook): Make obsolete.
1526 (eshell-parse-command): Simplify.
1527 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1528 (eshell--cmd): Declare.
1529 (eshell-parse-pipeline): Remove unused var `final-p'.
1530 Pass a dynvar to eshell-post-rewrite-command-hook.
1531 Implement the new eshell-post-rewrite-command-function.
1532 (eshell-invoke-directly): Remove unused arg `input'.
1533 * eshell/esh-io.el (eshell-io-initialize):
1534 Use eshell-post-rewrite-command-function (bug#15399).
1535 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1536 adjust to new calling convention.
1537 (eshell-create-handles): Rename args to avoid clashing with dynvar
1538 `standard-output'.
1539
1540 2013-09-17 Glenn Morris <rgm@gnu.org>
1541
1542 * simple.el (messages-buffer-mode): New major mode.
1543 (messages-buffer): New function.
1544 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1545 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1546 (ert-run-test): Use `messages-buffer' function.
1547 (ert--force-message-log-buffer-truncation): Ignore read-only.
1548 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1549 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1550
1551 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1554
1555 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1556
1557 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * icomplete.el (icomplete-in-buffer): New var.
1560 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1561 vars and replace them with functions.
1562 (icomplete-minibuffer-setup): Adjust accordingly.
1563 (icomplete--completion-table, icomplete--completion-predicate)
1564 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1565 New functions.
1566 (icomplete-forward-completions, icomplete-backward-completions)
1567 (icomplete-simple-completing-p, icomplete-exhibit)
1568 (icomplete-completions): Use them.
1569 (icomplete--in-region-buffer): New var.
1570 (icomplete--in-region-setup): New function.
1571 (icomplete-mode): Use it.
1572
1573 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1574 (bug#15379).
1575 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1576 return args and options.
1577 (eshell-eval-using-options): Use the new return value of
1578 eshell--do-opts to set the options's vars in their scope.
1579 (eshell--set-option): Rename from eshell-set-option.
1580 Add arg `opt-vals'.
1581 (eshell--process-option): Rename from eshell-process-option.
1582 Add arg `opt-vals'.
1583 (eshell--process-args): Use an `opt-vals' alist to store the options's
1584 values during their processing and return them additionally to the
1585 remaining args.
1586
1587 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1590 continuation character an operator, as far as indentation is
1591 concerned (Bug#15369).
1592
1593 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1594
1595 * window.el (window--state-put-2): Don't process buffer state
1596 when buffer doesn't exist any more (Bug#15382).
1597
1598 2013-09-15 Glenn Morris <rgm@gnu.org>
1599
1600 * eshell/em-unix.el (eshell/rm):
1601 Make -f ignore missing files. (Bug#15373)
1602
1603 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1604 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1605 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1606
1607 2013-09-14 Glenn Morris <rgm@gnu.org>
1608
1609 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1610
1611 2013-09-13 Glenn Morris <rgm@gnu.org>
1612
1613 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1614 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1615
1616 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1617
1618 * frame.el (x-focus-frame): Mark as declared in frame.c.
1619
1620 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * ls-lisp.el: Use advice-add.
1623 (original-insert-directory): Remove.
1624 (ls-lisp--insert-directory): Rename from insert-directory; add
1625 `orig-fun' argument.
1626 (insert-directory): Advise.
1627
1628 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1629
1630 * term.el (term-emulate-terminal): Decode the command string
1631 before passing it to term-command-hook. (Bug#15337)
1632
1633 2013-09-13 Glenn Morris <rgm@gnu.org>
1634
1635 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1636
1637 * eshell/esh-ext.el (eshell-search-path): Declare.
1638
1639 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1640 Otherwise an error occurs if eshell-dirs module not loaded.
1641
1642 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1643
1644 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1645
1646 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1647 `tramp-check-proper-host'. Check for a valid method name.
1648
1649 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1650 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1651 * net/tramp-sh.el (tramp-maybe-open-connection):
1652 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1653
1654 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1655 also for hash values.
1656
1657 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * term/ns-win.el (parameters): Don't declare as dynamic.
1660 (before-make-frame-hook): Don't add ineffective function.
1661
1662 * eshell/*.el: Use lexical-binding (bug#15231).
1663
1664 2013-09-12 Kenichi Handa <handa@gnu.org>
1665
1666 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1667
1668 2013-09-12 Glenn Morris <rgm@gnu.org>
1669
1670 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1671 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1672
1673 * subr.el (do-after-load-evaluation): Also give compiler warnings
1674 when obsolete files are used (except by obsolete files).
1675
1676 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1677 in the status output, assume `filename' is the first. (Bug#15322)
1678
1679 * vc/vc.el (vc-deduce-fileset): Doc fix.
1680
1681 * calc/calc-help.el (Info-goto-node):
1682 * progmodes/cperl-mode.el (Info-find-node):
1683 * vc/ediff.el (Info-goto-node): Update declarations.
1684
1685 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1686
1687 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1688 (vc-bzr-pull): Require vc-dispatcher.
1689 * vc/vc-git.el (vc-compilation-mode): Declare.
1690 (vc-git-pull): Require vc-dispatcher.
1691
1692 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1693
1694 * progmodes/octave.el (help-button-action): Declare.
1695
1696 * shell.el (shell-directory-tracker): Output error as a message
1697 rather than just returning it as a string.
1698 (shell-process-pushd): Remove useless use of message.
1699
1700 * dframe.el (dframe-timer-fn):
1701 * files.el (dir-locals-read-from-file):
1702 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1703 (mpc-format):
1704 * reveal.el (reveal-post-command):
1705 * saveplace.el (load-save-place-alist-from-file):
1706 * shell.el (shell-resync-dirs):
1707 * w32-common-fns.el (x-get-selection-value):
1708 * emacs-lisp/copyright.el (copyright-find-copyright):
1709 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1710 * emulation/tpu-edt.el (tpu-copy-keyfile):
1711 * play/bubbles.el (bubbles--mark-neighbourhood):
1712 * progmodes/executable.el
1713 (executable-make-buffer-file-executable-if-script-p):
1714 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1715
1716 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 Cleanup Eshell to rely less on dynamic scoping.
1719 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1720 last-value, and ext-command here. Bind `args' closer to `body'.
1721 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1722 (eshell--args): Declare new dynamic var.
1723 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1724 last-value, and ext-command. Pass `args' to `body'.
1725 (eshell-process-args): Bind eshell--args.
1726 (eshell-set-option): Use eshell--args.
1727 * eshell/eshell.el (eshell): Use derived-mode-p.
1728 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1729 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1730 (eshell-glob-function): Declare.
1731 * eshell/esh-util.el: Require cl-lib.
1732 (eshell-read-hosts-file): Avoid add-to-list.
1733 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1734 `err'.
1735 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1736 Declare.
1737 (eshell/diff): Remove unused var `err'.
1738 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1739 `killflag'.
1740 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1741 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1742 first use.
1743 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1744 Move declaration before first use.
1745 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1746 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1747 rely on cl-return.
1748
1749 2013-09-12 Glenn Morris <rgm@gnu.org>
1750
1751 * term/ns-win.el (global-map): Remove binding for ispell-next,
1752 deleted 1999-05-29. (Bug#15357)
1753
1754 2013-09-11 Glenn Morris <rgm@gnu.org>
1755
1756 * echistory.el (electric-command-history): Remove call to deleted func.
1757
1758 * play/landmark.el (landmark-mode): Fix typos.
1759
1760 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1761 Check cvs-sort-ignore-file is bound.
1762
1763 * savehist.el: No need for cl when compiling on Emacs.
1764
1765 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1768 (bug#15338).
1769 (eshell-self-insert-command, eshell-send-invisible):
1770 Remove unused argument.
1771 (eshell-handle-control-codes): Remove unused var `orig'.
1772 Avoid delete-backward-char.
1773
1774 * files.el (set-auto-mode): Simplify a bit further.
1775
1776 2013-09-11 Glenn Morris <rgm@gnu.org>
1777
1778 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1779 (set-auto-mode): Don't regexp-quote elements.
1780 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1781 * progmodes/cc-mode.el (interpreter-mode-alist):
1782 * progmodes/ruby-mode.el (interpreter-mode-alist):
1783 Revert previous change.
1784
1785 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * play/snake.el (snake-mode):
1788 * play/mpuz.el (mpuz-mode):
1789 * play/landmark.el (lm-mode):
1790 * play/blackbox.el (blackbox-mode):
1791 * play/5x5.el (5x5-mode):
1792 * obsolete/options.el (Edit-options-mode):
1793 * net/quickurl.el (quickurl-list-mode):
1794 * net/newst-treeview.el (newsticker-treeview-mode):
1795 * mail/rmailsum.el (rmail-summary-mode):
1796 * mail/mspools.el (mspools-mode):
1797 * locate.el (locate-mode):
1798 * ibuffer.el (ibuffer-mode):
1799 * emulation/ws-mode.el (wordstar-mode):
1800 * emacs-lisp/debug.el (debugger-mode):
1801 * array.el (array-mode):
1802 * net/eudc.el (eudc-mode): Use define-derived-mode.
1803 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1804 Move initialization into declaration.
1805 (mairix-searches-mode): Use define-derived-mode.
1806 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1807 (eudc-edit-hotlist): Use dolist.
1808 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1809 (Man-mode): Use define-derived-mode.
1810 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1811 (Info-edit-mode): Use define-derived-mode.
1812 (Info-cease-edit): Use Info-mode.
1813 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1814 into declaration.
1815 (eshell-mode): Use define-derived-mode.
1816 * chistory.el (command-history-mode-map): Rename from
1817 command-history-map.
1818 (command-history-mode): Use define-derived-mode.
1819 (Command-history-setup): Remove function.
1820 * calc/calc.el (calc-trail-mode-map): New var.
1821 (calc-trail-mode): Use define-derived-mode.
1822 (calc-trail-buffer): Set calc-main-buffer manually.
1823 * bookmark.el (bookmark-insert-annotation): New function.
1824 (bookmark-edit-annotation): Use it.
1825 (bookmark-edit-annotation-mode): Make it a proper major mode.
1826 (bookmark-send-edited-annotation): Use derived-mode-p.
1827 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1828 closer to its ideal place. Use \' to match EOS.
1829
1830 * profiler.el (profiler-calltree-find): Use function-equal.
1831
1832 2013-09-10 Glenn Morris <rgm@gnu.org>
1833
1834 * files.el (interpreter-mode-alist): Convert to regexps.
1835 (set-auto-mode): Adapt for this. (Bug#15306)
1836 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1837 Comment out unused variable.
1838 * progmodes/cc-mode.el (interpreter-mode-alist):
1839 * progmodes/python.el (interpreter-mode-alist):
1840 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1841 * progmodes/sh-script.el (sh-set-shell):
1842 No longer use interpreter-mode-alist to get list of shells.
1843
1844 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1845
1846 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * simple.el: Use set-temporary-overlay-map for universal-argument.
1849 (universal-argument-map): Don't use default-bindings (bug#15317).
1850 Bind switch-frame explicitly. Replace universal-argument-minus with
1851 a conditional binding.
1852 (universal-argument-num-events, saved-overriding-map): Remove.
1853 (restore-overriding-map): Remove.
1854 (universal-argument--mode): Rename from save&set-overriding-map,
1855 and rewrite.
1856 (universal-argument, universal-argument-more, negative-argument)
1857 (digit-argument): Adjust accordingly.
1858 (universal-argument-minus): Remove.
1859 (universal-argument-other-key): Remove.
1860
1861 * subr.el (with-demoted-errors): Add `format' argument.
1862
1863 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1866 `tramp-cleanup-connection'.
1867
1868 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1869 parameters KEEP-DEBUG and KEEP-PASSWORD.
1870
1871 * net/tramp.el (tramp-file-name-handler):
1872 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1873 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1874 (tramp-maybe-open-connection):
1875 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1876 Use `tramp-cleanup-connection'.
1877
1878 * net/tramp-sh.el (tramp-maybe-open-connection):
1879 Catch 'uname-changed inside the progress reporter.
1880
1881 2013-09-10 Glenn Morris <rgm@gnu.org>
1882
1883 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1884
1885 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1886 returns "alternate access method" in mode (eg "-rw-r--r--.").
1887
1888 2013-09-08 Glenn Morris <rgm@gnu.org>
1889
1890 * saveplace.el (load-save-place-alist-from-file):
1891 Demote errors. (Bug#15305)
1892
1893 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1894
1895 Improve compatibility with older Emacsen, and XEmacs.
1896
1897 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1898 only if it is bound. It isn't for XEmacs.
1899 (with-tramp-progress-reporter): Do not let-bind `result'.
1900 This yields to scoping errors in XEmacs.
1901 (tramp-handle-make-auto-save-file-name): New function, moved from
1902 tramp-sh.el.
1903
1904 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1905 for `make-auto-save-file-name'.
1906 (tramp-adb--gnu-switches-to-ash):
1907 Use `tramp-compat-replace-regexp-in-string'.
1908
1909 * net/tramp-cache.el (tramp-cache-print): Call
1910 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1911
1912 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1913 bound. It isn't for XEmacs.
1914
1915 * net/tramp-compat.el (tramp-compat-copy-file):
1916 Catch `wrong-number-of-arguments' error.
1917 (tramp-compat-replace-regexp-in-string): New defun.
1918
1919 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1920 for `make-auto-save-file-name'.
1921 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1922 `copy-file'.
1923 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1924 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1925 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1926
1927 * net/tramp-gw.el (tramp-gw-open-network-stream):
1928 Use `tramp-compat-replace-regexp-in-string'.
1929
1930 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1931 Call `tramp-handle-make-auto-save-file-name'.
1932 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1933 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1934 (tramp-sh-file-inotifywait-process-filter):
1935 Use `tramp-compat-replace-regexp-in-string'.
1936 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1937
1938 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1939 for `make-auto-save-file-name'.
1940 (tramp-smb-handle-copy-directory):
1941 Call `tramp-compat-replace-regexp-in-string'.
1942 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1943 (tramp-smb-handle-copy-file): Improve error message.
1944 (tramp-smb-handle-rename-file): Rename directly only in case
1945 `newname' does not exist yet. This is a restriction of smbclient.
1946 (tramp-smb-maybe-open-connection): Rerun the function only when
1947 `auth-sources' is non-nil.
1948
1949 2013-09-08 Kenichi Handa <handa@gnu.org>
1950
1951 * international/characters.el: Set category "^" (Combining) for
1952 more characters.
1953
1954 2013-09-07 Alan Mackenzie <acm@muc.de>
1955
1956 Correctly fontify Java class constructors.
1957 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1958 in Java Mode.
1959 (c-recognize-typeless-decls): Set the Java value to t.
1960 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1961 While handling a "(", add a check for, effectively, Java, and handle a
1962 "typeless" declaration there.
1963
1964 2013-09-07 Roland Winkler <winkler@gnu.org>
1965
1966 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1967 field subtitle for entry type book.
1968
1969 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * minibuffer.el: Make minibuffer-complete call completion-in-region
1972 rather than other way around.
1973 (completion--some, completion-pcm--find-all-completions):
1974 Don't delay signals when debugging.
1975 (minibuffer-completion-contents): Beware fields within the
1976 minibuffer contents.
1977 (completion-all-sorted-completions): Use defvar-local.
1978 (completion--do-completion, completion--cache-all-sorted-completions)
1979 (completion-all-sorted-completions, minibuffer-force-complete):
1980 Add args `beg' and `end'.
1981 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1982 (minibuffer-complete): Use completion-in-region.
1983 (completion-complete-and-exit): New fun, extracted from
1984 minibuffer-complete-and-exit.
1985 (minibuffer-complete-and-exit): Use it.
1986 (completion--complete-and-exit): Rename from
1987 minibuffer--complete-and-exit.
1988 (completion-in-region--single-word): New function, extracted from
1989 minibuffer-complete-word.
1990 (minibuffer-complete-word): Use it.
1991 (display-completion-list): Make `common-substring' argument obsolete.
1992 (completion--in-region): Call completion--in-region-1 instead of
1993 minibuffer-complete.
1994 (completion-help-at-point): Pass boundaries to
1995 minibuffer-completion-help as args rather than via an overlay.
1996 (completion-pcm--string->pattern): Use `any-delim'.
1997 (completion-pcm--optimize-pattern): New function.
1998 (completion-pcm--pattern->regex): Handle `any-delim'.
1999 * icomplete.el (icomplete-forward-completions)
2000 (icomplete-backward-completions, icomplete-completions):
2001 Adjust calls to completion-all-sorted-completions and
2002 completion--cache-all-sorted-completions.
2003 (icomplete-with-completion-tables): Default to t.
2004 * emacs-lisp/crm.el (crm--current-element): Rename from
2005 crm--select-current-element. Don't put an overlay but return the
2006 boundaries instead.
2007 (crm--completion-command): Take two new args to bind to the boundaries.
2008 (crm-completion-help): Adjust accordingly.
2009 (crm-complete): Use completion-in-region.
2010 (crm-complete-word): Use completion-in-region--single-word.
2011 (crm-complete-and-exit): Use completion-complete-and-exit.
2012
2013 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2016 than dynamically.
2017
2018 2013-09-06 Juri Linkov <juri@jurta.org>
2019
2020 * info.el (Info-display-images-node): When image file doesn't exist
2021 display text version of the image if it's provided in the Info file.
2022 Otherwise, display the location of missing image from SRC attribute.
2023 Add help-echo text property from ALT attribute. (Bug#15279)
2024
2025 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2028 (edit-abbrevs-mode): Use define-derived-mode.
2029
2030 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2031 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2032 that it's defined.
2033 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2034 Use define-derived-mode.
2035
2036 * epg.el (epg-start-encrypt): Minor CSE simplification.
2037
2038 2013-09-06 William Xu <william.xwl@gmail.com>
2039
2040 * arc-mode.el: Add support for 7za (bug#15264).
2041 (archive-7z-program): New var.
2042 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2043 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2044 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2045
2046 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2047
2048 Remove URL syntax.
2049
2050 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2051 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2052 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2053 (tramp-postfix-host-format, tramp-file-name-regexp)
2054 (tramp-completion-file-name-regexp)
2055 (tramp-completion-dissect-file-name)
2056 (tramp-handle-substitute-in-file-name): Remove 'url case.
2057 (tramp-file-name-regexp-url)
2058 (tramp-completion-file-name-regexp-url): Remove constants.
2059
2060 2013-09-06 Glenn Morris <rgm@gnu.org>
2061
2062 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2063
2064 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2065
2066 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2067 keywords" below "here-doc beginnings" (Bug#15270).
2068
2069 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * subr.el (pop): Use `car-safe'.
2072 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2073 to detect unused `pop' return value.
2074
2075 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2076 var `block-regexp'.
2077 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2078 (python-fill-string): Remove unused var `marker'.
2079 (python-skeleton-add-menu-items): Remove unused var `items'.
2080
2081 * international/mule-cmds.el: Require CL.
2082 (find-coding-systems-for-charsets): Avoid add-to-list.
2083 (sanitize-coding-system-list): New function, extracted from
2084 select-safe-coding-system-interactively.
2085 (select-safe-coding-system-interactively): Use it.
2086 (read-input-method-name): Accept symbols for `default'.
2087
2088 * emacs-lisp/advice.el (defadvice): Add indent rule.
2089
2090 2013-09-05 Daniel Hackney <dan@haxney.org>
2091
2092 * dired-x.el:
2093 * net/ange-ftp.el:
2094 * net/browse-url.el:
2095 * net/dbus.el:
2096 * net/eudc.el:
2097 * net/eudcb-ldap.el:
2098 * net/eww.el:
2099 * net/imap.el:
2100 * printing.el:
2101 * vc/ediff-diff.el:
2102 * vc/ediff-init.el:
2103 * vc/ediff-merg.el:
2104 * vc/ediff-mult.el:
2105 * vc/ediff-util.el:
2106 * vc/ediff-wind.el:
2107 * vc/ediff.el:
2108 * vc/emerge.el:
2109 * vc/pcvs.el:
2110 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2111 byte compiler. Remove some unused let-bound variables.
2112
2113 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2116 a "ref-cell", since it gets better optimized (bug#14883).
2117
2118 2013-09-05 Glenn Morris <rgm@gnu.org>
2119
2120 * progmodes/cc-awk.el (c-forward-sws): Declare.
2121
2122 2013-09-04 Glenn Morris <rgm@gnu.org>
2123
2124 * generic-x.el [rul-generic-mode]: Require cc-mode.
2125 (c++-mode-syntax-table): Declare.
2126 (rul-generic-mode-syntax-table): Init in the defvar.
2127
2128 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2131 (vc-do-command, vc-set-async-update):
2132 * vc/vc-mtn.el (vc-mtn-dir-status):
2133 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2134 (vc-hg-pull, vc-hg-merge-branch):
2135 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2136 (vc-git-merge-branch):
2137 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2138 (vc-cvs-dir-status-files):
2139 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2140 (vc-bzr-dir-status-files):
2141 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2142 * vc/vc-annotate.el: Use lexical-binding.
2143 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2144 (vc-sentinel-movepoint): Declare.
2145 (vc-annotate): Don't use `goto-line'.
2146 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2147 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2148 (vc-sentinel-movepoint): Declare.
2149 * vc/vc-svn.el: Use lexical-binding.
2150 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2151 * vc/vc-sccs.el:
2152 * vc/vc-rcs.el: Use lexical-binding.
2153
2154 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2155 `deleted'. Don't drop errors silently.
2156
2157 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2158
2159 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2160
2161 * vc/vc.el (vc-ignore): Rewrite.
2162 (vc-default-ignore): New function.
2163 (vc-default-ignore-completion-table): Use find-ignore-file.
2164
2165 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2166 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2167 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2168 Remove. Most code moved to vc.el.
2169
2170 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2173 * net/tramp-smb.el (tramp-smb-get-file-entries):
2174 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2175 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2176
2177 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2178 Update call to it.
2179 (eww-change-select): Remove unused var `properties'.
2180 (eww-make-unique-file-name): Remove unused var `base'.
2181
2182 * finder.el (finder-compile-keywords): Don't mess with windows.
2183
2184 * calculator.el (calculator-funcall): Fix typo in last change.
2185
2186 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2187
2188 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2189 <pkg>-autoloads.el file stop us.
2190
2191 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2192 warnings, and factor out common code.
2193
2194 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2195
2196 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2197 two-character operators and whether the character preceding them
2198 changes their meaning (Bug#15208).
2199
2200 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2201
2202 Format code sent to Python shell for robustness.
2203 * progmodes/python.el (python-shell-buffer-substring):
2204 New function.
2205 (python-shell-send-region, python-shell-send-buffer): Use it.
2206
2207 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2208
2209 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2210 * net/tramp.el (tramp-user-error): ... here.
2211 (tramp-find-method, tramp-check-proper-host)
2212 (tramp-dissect-file-name, tramp-debug-message)
2213 (tramp-handle-shell-command):
2214 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2215 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2216
2217 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2218
2219 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2220
2221 * avoid.el (mouse-avoidance-point-position)
2222 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2223 returns nil.
2224
2225 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2226
2227 * progmodes/python.el (python-shell-completion-get-completions):
2228 Drop use of deleted `comint-last-prompt-overlay'.
2229 (python-nav-if-name-main): New command.
2230
2231 2013-09-01 Glenn Morris <rgm@gnu.org>
2232
2233 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2234 Avoid leading space in $wins. Otherwise the sed command used by
2235 eg compile-main ends up containing "/*.el". (Bug#15170)
2236
2237 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2238
2239 2013-08-30 Glenn Morris <rgm@gnu.org>
2240
2241 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2242 Fix is-this-a-directory logic. (Bug#15220)
2243
2244 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * textmodes/css-mode.el: Use SMIE.
2247 (css-smie-grammar): New var.
2248 (css-smie--forward-token, css-smie--backward-token)
2249 (css-smie-rules): New functions.
2250 (css-mode): Use them.
2251 (css-navigation-syntax-table): Remove var.
2252 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2253 (css-indent-calculate, css-indent-line): Remove functions.
2254
2255 Misc changes to reduce use of `(lambda...); and other cleanups.
2256 * cus-edit.el: Use lexical-binding.
2257 (customize-push-and-save, customize-apropos)
2258 (custom-buffer-create-internal): Use closures.
2259 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2260 * progmodes/ada-xref.el: Use setq.
2261 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2262 * dframe.el: Use lexical-binding.
2263 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2264 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2265 * descr-text.el: Use lexical-binding.
2266 (describe-text-widget, describe-text-sexp, describe-property-list):
2267 Use closures.
2268 * comint.el (comint-history-isearch-push-state): Use a closure.
2269 * calculator.el: Use lexical-binding.
2270 (calculator-number-to-string): Make it work with lexical-binding.
2271 (calculator-funcall): Same and use cl-letf.
2272
2273 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2274 (lisp--company-doc-string, lisp--company-location): New functions.
2275 (lisp-completion-at-point): Use them to improve Company support.
2276
2277 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2278 params of lambda expressions.
2279 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2280 (ruby-smie--opening-pipe-p): New function.
2281 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2282 symbols and matched |...| for formal params.
2283 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2284 from being treated as hanging. Handle "rescue".
2285
2286 2013-08-29 Glenn Morris <rgm@gnu.org>
2287
2288 * progmodes/cc-engine.el (c-pull-open-brace):
2289 Move definition before use.
2290
2291 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2294 are immutable. Don't use `unsafe' any more.
2295 (cl--defsubst-expand): Don't substitute at the same time as keeping
2296 a residual unused let-binding. Don't use `unsafe' any more.
2297
2298 2013-08-29 Glenn Morris <rgm@gnu.org>
2299
2300 * calendar/cal-china.el (calendar-chinese-year-cache):
2301 Recenter on 2015.
2302
2303 * nxml/nxml-util.el (nxml-debug-clear-inside):
2304 Use cl-loop rather than loop.
2305
2306 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2307
2308 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2309
2310 2013-08-28 Glenn Morris <rgm@gnu.org>
2311
2312 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2313
2314 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2315
2316 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2317
2318 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * simple.el (repeat-complex-command--called-interactively-skip):
2321 New function.
2322 (repeat-complex-command): Use it (bug#14136).
2323
2324 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2325 (c-define-abbrev-table): Add `doc' argument.
2326 (c-mode-abbrev-table, c++-mode-abbrev-table)
2327 (objc-mode-abbrev-table, java-mode-abbrev-table)
2328 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2329 (awk-mode-abbrev-table): Use it.
2330 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2331 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2332 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2333 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2334 Move initialization into the declaration; and remove any
2335 autoload cookie.
2336
2337 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2338 and dynamic let binding.
2339
2340 * vc/smerge-mode.el: Remove redundant :group args.
2341
2342 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2343 to load-path.
2344
2345 2013-08-28 Juri Linkov <juri@jurta.org>
2346
2347 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2348 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2349 (isearch-other-meta-char): Handle an undefined shifted printing
2350 character by downshifting it. (Bug#15200)
2351
2352 2013-08-28 Juri Linkov <juri@jurta.org>
2353
2354 * isearch.el (isearch-search): Change regexp error message for
2355 non-regexp searches. (Bug#15166)
2356
2357 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2358
2359 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2360 for portability to hosts where /bin/sh has problems.
2361
2362 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2365
2366 2013-08-27 Juri Linkov <juri@jurta.org>
2367
2368 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2369 in the keyboard macro. (Bug#15126)
2370
2371 2013-08-27 Juri Linkov <juri@jurta.org>
2372
2373 * isearch.el (isearch-quote-char): Comment out converting unibyte
2374 to multibyte, thus syncing with its `quoted-insert' counterpart.
2375 (Bug#15166)
2376
2377 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2378
2379 * window.el (display-buffer-use-some-window): Add missing
2380 argument in call of get-largest-window (Bug#15185).
2381 Reported by Stephen Leake.
2382
2383 2013-08-27 Glenn Morris <rgm@gnu.org>
2384
2385 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2386
2387 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2390 from a matcher-function unless there's no more matches (bug#15161).
2391
2392 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2393
2394 * minibuffer.el: Revert change from 2013-08-20.
2395
2396 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2397 with text property `tramp-default', if appropriate.
2398 (tramp-check-proper-host): New defun.
2399 (tramp-dissect-file-name): Do not check hostname. Revert change
2400 of 2013-03-18.
2401 (tramp-backtrace): Make VEC-OR-PROC optional.
2402
2403 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2404 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2405 * net/tramp-sh.el (tramp-maybe-open-connection):
2406 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2407 Apply `tramp-check-proper-host'.
2408
2409 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2410
2411 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2412 lambda expression in order to have `describe-variable' display it.
2413
2414 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2415
2416 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2417 BUF can be optional. (Bug#15186)
2418
2419 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2420
2421 * progmodes/flymake.el (flymake-get-real-file-name-function):
2422 Fix broken customization. (Bug#15184)
2423
2424 2013-08-25 Alan Mackenzie <acm@muc.de>
2425
2426 Improve indentation of bracelists defined by macros (without "=").
2427
2428 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2429 expansion begins with "{", regard it as bracelist when it doesn't
2430 contain a ";".
2431
2432 Parse C++ inher-intro when there's a template split over 2 lines.
2433
2434 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2435 rigorously the search for "class" etc. followed by ":".
2436
2437 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2438 random languages a regexp which never matches rather than nil.
2439
2440 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2441
2442 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2443 (c-awk-regexp-one-line-possibly-open-char-list-re)
2444 (c-awk-one-line-possibly-open-regexp-re)
2445 (c-awk-one-line-non-syn-ws*-re): Remove.
2446 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2447 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2448 (c-awk-space*-unclosed-regexp-/-re): New constants.
2449 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2450 aren't regexp delimiters.
2451
2452 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2453 handling for a rare situation in AWK Mode involving unterminated
2454 strings/regexps.
2455
2456 2013-08-23 Glenn Morris <rgm@gnu.org>
2457
2458 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2459
2460 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2461
2462 * files.el (create-file-buffer): If the result would begin with
2463 spaces, prepend a "|" instead of removing them. (Bug#15162)
2464
2465 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2468 text-properties (bug#15155).
2469
2470 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2471 exist any more.
2472 (calc-keypad-redraw): Remove unused var `pad'.
2473 (calc-keypad-press): Remove unused var `menu'.
2474
2475 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2476
2477 * window.el (display-buffer-pop-up-frame):
2478 Call pop-up-frame-function with BUFFER current so `make-frame' will
2479 use it as the new frame's buffer (Bug#15133).
2480
2481 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2482
2483 * calendar/timeclock.el: Minor cleanups.
2484 (timeclock-ask-before-exiting, timeclock-use-display-time):
2485 Use `symbol'.
2486 (timeclock-modeline-display): Define as alias before the
2487 actual definition.
2488 (timeclock-mode-line-display): Use define-minor-mode.
2489 (timeclock-day-list-template): Make it a function, add an argument.
2490 (timeclock-day-list-required, timeclock-day-list-length)
2491 (timeclock-day-list-debt, timeclock-day-list-span)
2492 (timeclock-day-list-break): Adjust calls accordingly.
2493
2494 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2497 Use read--expression so that completion works again.
2498
2499 2013-08-21 Sam Steingold <sds@gnu.org>
2500
2501 Add rudimentary inferior shell interaction
2502 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2503 (sh-set-shell): Reset it.
2504 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2505 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2506
2507 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * align.el: Use lexical-binding.
2510 (align-region): Simplify accordingly.
2511
2512 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2513
2514 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2515
2516 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2517 `non-essential' up.
2518
2519 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2520
2521 * net/tramp.el:
2522 * net/tramp-adb.el:
2523 * net/tramp-cmds.el:
2524 * net/tramp-ftp.el:
2525 * net/tramp-gvfs.el:
2526 * net/tramp-gw.el:
2527 * net/tramp-sh.el: Don't wrap external variable declarations by
2528 `eval-when-compile'.
2529
2530 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2531
2532 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2533 now that Emacs supports ImageMagick animations.
2534
2535 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2538 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2539
2540 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2541
2542 * window.el (mouse-autoselect-window-select): Do autoselect when
2543 mouse pointer is on margin.
2544
2545 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2546
2547 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2548
2549 2013-08-16 Glenn Morris <rgm@gnu.org>
2550
2551 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2552 Handle "Remote Directory" response of some clients. (Bug#15058)
2553
2554 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2555 Tweak warning. (Bug#14926)
2556
2557 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2558 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2559
2560 * image-mode.el (image-mode-map): Add menu items to reverse,
2561 increase, decrease, reset animation speed.
2562 (image--set-speed, image-increase-speed, image-decrease-speed)
2563 (image-reverse-speed, image-reset-speed): New functions.
2564 (image-mode-map): Add bindings for speed commands.
2565
2566 * image.el (image-animate-get-speed, image-animate-set-speed):
2567 New functions.
2568 (image-animate-timeout): Respect image :speed property.
2569
2570 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2573 previous line (bug#15101).
2574 (debugger-eval-expression, debugger-record-expression):
2575 Use read--expression (bug#15102).
2576
2577 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2578
2579 Remove byte compiler warnings, visible when compiling with
2580 `byte-compile-force-lexical-warnings' set to t.
2581
2582 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2583 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2584 (tramp-handle-unhandled-file-name-directory)
2585 (tramp-handle-file-notify-add-watch, tramp-action-login)
2586 (tramp-action-succeed, tramp-action-permission-denied)
2587 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2588 arguments with "_".
2589
2590 * net/tramp-adb.el (tramp-adb-parse-device-names)
2591 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2592 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2593 (tramp-adb-handle-file-truename): Remove unused arguments.
2594
2595 * net/tramp-cache.el (tramp-flush-directory-property)
2596 (tramp-flush-connection-property, tramp-list-connections)
2597 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2598
2599 * net/tramp-compat.el (tramp-compat-make-temp-file):
2600 Rename FILENAME to F.
2601
2602 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2603 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2604 (tramp-zeroconf-parse-workstation-device-names)
2605 (tramp-zeroconf-parse-webdav-device-names)
2606 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2607
2608 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2609 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2610
2611 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2612 arguments.
2613 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2614 (tramp-sh-handle-insert-file-contents-literally)
2615 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2616 with "_".
2617 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2618 Remove unused variables.
2619
2620 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2621 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2622 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2623
2624 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2625 Make them a defconst.
2626 (tramp-uuencode-region): Remove unused variable.
2627
2628 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2629
2630 * frameset.el (frameset--prop-setter): New function.
2631 (frameset-prop): Add gv-setter declaration.
2632 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2633 parameter was already set in FILTERED. Doc fix.
2634 (frameset--record-minibuffer-relationships): Allow saving a
2635 minibufferless frame without its corresponding minibuffer frame.
2636 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2637 frame, if the frame id matches.
2638 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2639 frames before orphaned ones.
2640 (frameset-restore): Warn about orphaned windows, instead of error out.
2641
2642 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2643
2644 * window.el (window-make-atom): Don't overwrite parameter
2645 already present.
2646 (display-buffer-in-atom-window): Handle special case where we
2647 split an already atomic window.
2648 (window--major-non-side-window, display-buffer-in-side-window)
2649 (window--side-check): Ignore minibuffer window when walking
2650 window tree.
2651 (window-deletable-p): Return 'frame only if no other frame uses
2652 our minibuffer window.
2653 (record-window-buffer): Run buffer-list-update-hook.
2654 (split-window): Make sure window--check-frame won't destroy an
2655 existing atomic window in case the new window gets nested
2656 inside.
2657 (display-buffer-at-bottom): Ignore minibuffer window when
2658 walking window tree. Don't split a side window.
2659 (pop-to-buffer): Don't set-buffer here, the select-window call
2660 should do that.
2661 (mouse-autoselect-window-select): Autoselect only if we are in the
2662 text portion of the window.
2663
2664 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2665
2666 * net/shr.el (shr-parse-image-data): New function to grab both the
2667 data itself and the Content-Type.
2668 (shr-put-image): Use it.
2669
2670 * net/eww.el (eww-display-image): Ditto.
2671
2672 * image.el (image-content-type-suffixes): New variable.
2673
2674 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2675
2676 * progmodes/python.el (python-imenu--build-tree)
2677 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2678
2679 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2680
2681 * simple.el (backward-word): Mention the optional argument.
2682
2683 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * frameset.el (frameset--make): Rename constructor from make-frameset.
2686 (frameset-p, frameset-valid-p): Don't autoload.
2687 (frameset-valid-p): Use normal accessors.
2688
2689 2013-08-13 Glenn Morris <rgm@gnu.org>
2690
2691 * progmodes/compile.el (compile-command): Tweak example in doc.
2692 * obsolete/scribe.el (scribe-mode):
2693 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2694
2695 * mail/feedmail.el (feedmail-confirm-outgoing)
2696 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2697
2698 * cus-start.el (truncate-partial-width-windows): Fix type.
2699
2700 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2701
2702 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2703
2704 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2705
2706 * emacs-lisp/timer.el (timer--time-setter): New function.
2707 (timer--time): Use it as gv-setter.
2708
2709 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2710 setter is not a symbol.
2711
2712 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2713
2714 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2715 if sending fails. This makes debugging easier.
2716
2717 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2720 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2721 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2722
2723 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2724
2725 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2726
2727 2013-08-12 Glenn Morris <rgm@gnu.org>
2728
2729 * format.el (format-annotate-function):
2730 Handle read-only text properties in the source. (Bug#14887)
2731
2732 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2733
2734 * net/eww.el (eww-display-html): Ignore coding system errors.
2735 One web site uses "utf-8lias" as the coding system.
2736
2737 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2738
2739 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2740
2741 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2742
2743 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2744 (tutorial--detailed-help): Remove unused local variables.
2745 (tutorial--save-tutorial-to): Use ignore-errors.
2746 (help-with-tutorial): Use looking-at-p.
2747
2748 * view.el (view-buffer-other-window, view-buffer-other-frame):
2749 Mark unused arguments.
2750
2751 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2752 (woman-select-symbol-fonts, woman, woman-find-file)
2753 (woman-insert-file-contents, woman-non-underline-faces):
2754 Use string-match-p.
2755 (woman1-unquote): Move declaration.
2756
2757 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2758 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2759 argument. Remove unused local variable.
2760 (xml-parse-elem-type): Use string-match-p.
2761 (xml-substitute-numeric-entities): Use ignore-errors.
2762
2763 * calculator.el (calculator): Mark unused argument.
2764 (calculator-paste, calculator-quit, calculator-integer-p):
2765 Use ignore-errors.
2766 (calculator-string-to-number, calculator-decimal, calculator-exp)
2767 (calculator-op-or-exp): Use string-match-p.
2768
2769 * dired.el (dired-buffer-more-recently-used-p): Declare.
2770 (dired-insert-set-properties, dired-insert-old-subdirs):
2771 Use ignore-errors.
2772
2773 * dired-aux.el (dired-compress): Use ignore-errors.
2774 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2775 (dired-do-async-shell-command, dired-do-shell-command)
2776 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2777 (dired-insert-subdir-validate): Use string-match-p.
2778 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2779 (dired-add-entry): Use string-match-p, looking-at-p.
2780 (dired-insert-subdir-newpos): Remove unused local variable.
2781
2782 * filenotify.el (file-notify-callback): Remove unused local variable.
2783
2784 * filesets.el (filesets-error): Mark unused argument.
2785 (filesets-which-command-p, filesets-filter-dir-names)
2786 (filesets-directory-files, filesets-get-external-viewer)
2787 (filesets-ingroup-get-data): Use string-match-p.
2788
2789 * find-file.el (ff-other-file-name, ff-other-file-name)
2790 (ff-find-the-other-file, ff-cc-hh-converter):
2791 Remove unused local variables.
2792 (ff-get-file-name): Use string-match-p.
2793 (ff-all-dirs-under): Use ignore-errors.
2794
2795 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2796 (follow-select-if-visible): Remove unused local variable.
2797
2798 * forms.el (read-file-filter): Move declaration.
2799 (forms--make-format, forms--make-parser, forms-insert-record):
2800 Quote function with #'.
2801 (forms--update): Use string-match-p. Quote function with #'.
2802
2803 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2804 (help-make-xrefs): Use looking-at-p.
2805 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2806
2807 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2808 (ibuffer-confirm-operation-on): Use string-match-p.
2809
2810 * msb.el (msb-item-handler, msb-dired-item-handler):
2811 Mark unused arguments.
2812
2813 * ses.el (ses-decode-cell-symbol)
2814 (ses-kill-override): Remove unused local variable.
2815 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2816 (ses-load): Use ignore-errors, looking-at-p.
2817 (ses-jump-safe): Use ignore-errors.
2818 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2819
2820 * tabify.el (untabify, tabify): Mark unused arguments.
2821
2822 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2823 Mark unused argument.
2824 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2825 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2826
2827 * emacs-lisp/timer.el (timer--time): Define setter with
2828 gv-define-setter to avoid deprecation warning.
2829
2830 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2831 (*record-cmpl-statistics-p*): Remove (was commented out).
2832 (cmpl-statistics-block): Remove (body was commented out).
2833 All callers changed.
2834 (add-completions-from-buffer, load-completions-from-file):
2835 Remove unused variables.
2836
2837 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2838
2839 * filecache.el (file-cache-delete-file-list):
2840 Print message only when told so.
2841 (file-cache-files-matching): Use #' in mapconcat argument.
2842
2843 * ffap.el (ffap-url-at-point): Fix reference to variable
2844 thing-at-point-default-mail-uri-scheme.
2845
2846 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * subr.el (define-error): New function.
2849 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2850 error-file-not-found and define with define-error.
2851 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2852 and define with define-error.
2853 * userlock.el (file-locked, file-supersession):
2854 * simple.el (mark-inactive):
2855 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2856 * progmodes/ada-mode.el (ada-mode-errors):
2857 * play/life.el (life-extinct):
2858 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2859 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2860 * nxml/rng-util.el (rng-error):
2861 * nxml/rng-uri.el (rng-uri-error):
2862 * nxml/rng-match.el (rng-compile-error):
2863 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2864 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2865 * nxml/nxml-rap.el (nxml-scan-error):
2866 * nxml/nxml-outln.el (nxml-outline-error):
2867 * net/soap-client.el (soap-error):
2868 * net/gnutls.el (gnutls-error):
2869 * net/ange-ftp.el (ftp-error):
2870 * mpc.el (mpc-proc-error):
2871 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2872 (json-number-format, json-string-escape, json-string-format)
2873 (json-key-format, json-object-format):
2874 * jka-compr.el (compression-error):
2875 * international/quail.el (quail-error):
2876 * international/kkc.el (kkc-error):
2877 * emacs-lisp/ert.el (ert-test-failed):
2878 * calc/calc.el (calc-error, inexact-result, math-overflow)
2879 (math-underflow):
2880 * bookmark.el (bookmark-error-no-filename):
2881 * epg.el (epg-error): Define with define-error.
2882
2883 * time.el (display-time-event-handler)
2884 (display-time-next-load-average): Don't call sit-for since it seems
2885 unnecessary (bug#15045).
2886
2887 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2888 Use #' instead of ' to quote functions.
2889 (checkdoc-output-mode): Use setq-local.
2890 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2891 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2892 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2893 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2894 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2895 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2896 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2897 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2898
2899 * ido.el (ido-completion-help): Fix up compiler warning.
2900
2901 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2902
2903 * frameset.el (frameset-p): Add autoload cookie.
2904 (frameset--jump-to-register): New function, based on code moved from
2905 register.el.
2906 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2907
2908 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2909 (frameset-restore, frameset-save, frameset-session-filter-alist):
2910 Remove declarations.
2911 (register-alist): Doc fix.
2912 (frameset-to-register): Move to frameset.el.
2913 (jump-to-register, describe-register-1): Remove frameset-specific code.
2914
2915 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2916
2917 * allout-widgets.el (allout-widgets-pre-command-business)
2918 (allout-widgets-post-command-business)
2919 (allout-widgets-after-change-handler)
2920 (allout-decorate-item-and-context, allout-set-boundary-marker)
2921 (allout-body-modification-handler)
2922 (allout-graphics-modification-handler): Mark ignored arguments.
2923 (allout-widgets-post-command-business)
2924 (allout-widgets-exposure-change-processor)
2925 (allout-widgets-exposure-undo-processor)
2926 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2927 (allout-parse-item-at-point, allout-decorate-item-guides)
2928 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2929 * allout.el (epa-passphrase-callback-function): Declare.
2930 (allout-overlay-insert-in-front-handler)
2931 (allout-overlay-interior-modification-handler)
2932 (allout-isearch-end-handler, allout-chart-siblings)
2933 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2934 (allout-yank-processing, allout-process-exposed)
2935 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2936 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2937 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2938 (lisp-indent-defform): Mark ignored arguments.
2939 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2940 (calculate-lisp-indent): Remove unused variables.
2941 * international/characters.el (indian-2-column, arabic-2-column)
2942 (tibetan): Mark ignored arguments.
2943 (use-cjk-char-width-table): Mark ignored arguments.
2944 Remove unused variables.
2945 * international/fontset.el (build-default-fontset-data)
2946 (x-compose-font-name, create-fontset-from-fontset-spec):
2947 Mark ignored arguments.
2948 (fontset-plain-name): Remove unused variables.
2949 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2950 (keyboard-coding-system): Mark ignored arguments.
2951 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2952 * help.el (resize-temp-buffer-window):
2953 * window.el (display-buffer-in-major-side-window)
2954 (display-buffer-in-side-window, display-buffer-in-previous-window):
2955 Remove unused variables.
2956 * isearch.el (isearch-forward-symbol):
2957 * version.el (emacs-bzr-version-bzr):
2958 * international/mule-cmds.el (current-language-environment):
2959 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2960 (x-handle-display):
2961 * term/pc-win.el (x-list-fonts, x-display-planes)
2962 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2963 (x-server-version, x-display-screens, x-display-mm-height)
2964 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2965 (x-selection-owner-p, x-own-selection-internal)
2966 (x-disown-selection-internal, x-get-selection-internal)
2967 (msdos-initialize-window-system):
2968 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2969 * term/x-win.el (x-handle-no-bitmap-icon):
2970 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2971 (vc-default-find-file-hook, vc-default-extra-menu):
2972 Mark ignored arguments.
2973
2974 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2977 break-condition in the context of the debugged code (bug#12685).
2978
2979 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2980
2981 * comint.el:
2982 Do not use an overlay to highlight the last prompt. (Bug#14744)
2983 (comint-mode): Make comint-last-prompt buffer local.
2984 (comint-last-prompt): New variable.
2985 (comint-last-prompt-overlay): Remove. Superseded by
2986 comint-last-prompt.
2987 (comint-snapshot-last-prompt, comint-output-filter):
2988 Use comint-last-prompt.
2989
2990 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2993 (frameset-save): Check validity of the resulting frameset.
2994
2995 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2996
2997 * ido.el (ido-record-command): Add doc string.
2998
2999 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3000
3001 * frameset.el (frameset): Do not disable creation of the default
3002 frameset-p predicate. Doc fix.
3003 (frameset-valid-p): New function, copied from the old predicate-p.
3004 Add additional checks.
3005 (frameset-restore): Check with frameset-valid-p.
3006 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3007 (frameset-name, frameset-description, frameset-properties)
3008 (frameset-states): Add docstring.
3009 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3010 (frameset-filter-alist): Doc fixes.
3011
3012 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3013
3014 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3015
3016 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3019 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3020 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3021 (byte-compile-normal-call): Remove obsolescence check.
3022
3023 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3024
3025 * frameset.el (frameset-restore): Doc fix.
3026
3027 * register.el (frameset-frame-id, frameset-frame-with-id)
3028 (frameset-p, frameset-restore, frameset-save): Declare.
3029 (register-alist): Document framesets.
3030 (frameset-session-filter-alist): Declare.
3031 (frameset-to-register): New function.
3032 (jump-to-register): Implement jumping to framesets. Doc fix.
3033 (describe-register-1): Describe framesets.
3034
3035 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3036
3037 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3038
3039 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3040 Use lexical-binding.
3041
3042 * frameset.el (frameset): Use type vector, not list (incompatible
3043 change). Do not declare a new constructor, use the default one.
3044 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3045 `name' and `description', respectively, and add read-only slot
3046 `timestamp'. Doc fixes.
3047 (frameset-copy, frameset-persistent-filter-alist)
3048 (frameset-filter-alist, frameset-switch-to-gui-p)
3049 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3050 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3051 (frameset-filter-iconified, frameset-keep-original-display-p):
3052 Doc fixes.
3053 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3054 Rename from frameset-filter-(save|restore)-param. All callers changed.
3055 Doc fix.
3056 (frameset-p): Adapt to change to vector and be more thorough.
3057 Change arg name to OBJECT. Doc fix.
3058 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3059 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3060 All callers changed.
3061 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3062 All callers changed.
3063 (frameset--record-minibuffer-relationships): Rename from
3064 frameset--process-minibuffer-frames. All callers changed.
3065 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3066 Use new default constructor (again). Doc fix.
3067 (frameset--find-frame-if): Rename from `frameset--find-frame.
3068 All callers changed.
3069 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3070 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3071 Doc fix.
3072 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3073 PARAMETERS and WINDOW-STATE, respectively.
3074 (frameset-restore): Add new keyword argument PREDICATE.
3075 Reset frameset--target-display to nil. Doc fix.
3076
3077 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3080 (bat-mode): Use it.
3081 (bat-mode-syntax-table): Mark \n as end-of-comment.
3082 (bat-font-lock-keywords): Remove comment rule.
3083
3084 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3085 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3086
3087 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3088 (byte-compile-callargs-warn): Use `push'.
3089 (byte-compile-arglist-warn): Ignore higher-order "calls".
3090 (byte-compile-file-form-autoload): Use `pcase'.
3091 (byte-compile-function-form): If quoting a symbol, check that it exists.
3092
3093 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3094
3095 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3096 and add a few popular commands found in batch files.
3097 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3098 (dos-mode): Doc fixes.
3099
3100 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3103 (dos-mode): Use setq-local. Add space after "rem".
3104 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3105 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3106
3107 2013-08-07 Arni Magnusson <arnima@hafro.is>
3108
3109 * progmodes/dos.el: New file.
3110 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3111 dos-mode.
3112
3113 2013-08-06 Glenn Morris <rgm@gnu.org>
3114
3115 * calendar/calendar.el: Add new faces, and day-header-array.
3116 (calendar-weekday-header, calendar-weekend-header)
3117 (calendar-month-header): New faces.
3118 (calendar-day-header-construct): New function.
3119 (calendar-day-header-width): Also :set calendar-day-header-array.
3120 (calendar-american-month-header, calendar-european-month-header)
3121 (calendar-iso-month-header): Use calendar- faces.
3122 (calendar-generate-month):
3123 Use calendar-day-header-array for day headers; apply faces to them.
3124 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3125 (calendar-abbrev-construct): Add optional maxlen argument.
3126 (calendar-day-name-array): Doc fix.
3127 (calendar-day-name-array, calendar-abbrev-length)
3128 (calendar-day-abbrev-array):
3129 Also :set calendar-day-header-array, and maybe redraw.
3130 (calendar-day-header-array): New option. (Bug#15007)
3131 (calendar-font-lock-keywords): Set to nil and make obsolete.
3132 (calendar-day-name): Add option to use header array.
3133
3134 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135
3136 * net/shr.el (shr-render-td): Remove debugging.
3137 (shr-render-td): Make width computation consistent by defaulting
3138 all zero-width columns to 10 characters. This may not be optimal,
3139 but it's at least consistent.
3140 (shr-make-table-1): Redo last change to fix the real problem in
3141 colspan handling.
3142
3143 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3144
3145 * files.el (cache-long-line-scans):
3146 Make obsolete alias to `cache-long-scans'.
3147
3148 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * frameset.el (frameset, frameset-filter-alist)
3151 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3152 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3153 (frameset-compute-pos): Rename from frameset--compute-pos,
3154 and add docstring.
3155 (frameset-move-onscreen): Use frameset-compute-pos.
3156 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3157
3158 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3159 Fix typos in docstrings.
3160
3161 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3162
3163 * frame.el (get-other-frame): Tiny cleanup.
3164
3165 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3166
3167 * vc/vc.el (vc-default-ignore-completion-table):
3168 Silence byte-compiler warning.
3169
3170 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3171 slot , which can indeed be nil.
3172 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3173 Move entry for `left' from persistent to live filter alist.
3174 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3175 Doc fixes.
3176 (frameset-filter-params): When restoring a frame, copy items added to
3177 `filtered', to avoid unwittingly modifying the original parameters.
3178 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3179 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3180
3181 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3182 to use looking-at-p instead of looking-at. (Bug#15028)
3183
3184 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 Revert introduction of isearch-filter-predicates (bug#14714).
3187 Rely on add-function instead.
3188 * isearch.el (isearch-filter-predicates): Rename it back to
3189 isearch-filter-predicate.
3190 (isearch-message-prefix): Use advice-function-mapc and advice
3191 properties to get the isearch-message-prefix.
3192 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3193 instead of run-hook-with-args-until-failure.
3194 (isearch-filter-visible): Not obsolete any more.
3195 * loadup.el: Preload nadvice.
3196 * replace.el (perform-replace): Revert to funcall
3197 instead of run-hook-with-args-until-failure.
3198 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3199 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3200 dired-isearch-filenames-toggle; make it into a proper minor mode.
3201 Use add/remove-function.
3202 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3203 Call the minor-mode rather than add/remove-hook.
3204 (dired-isearch-filter-filenames):
3205 Remove isearch-message-prefix property.
3206 * info.el (Info--search-loop): New function, extracted from Info-search.
3207 Funcall isearch-filter-predicate instead of
3208 run-hook-with-args-until-failure isearch-filter-predicates.
3209 (Info-search): Use it.
3210 (Info-mode): Use isearch-filter-predicate instead of
3211 isearch-filter-predicates.
3212
3213 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3214
3215 Do not call to `selected-window' where it is assumed by default.
3216 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3217 `window-hscroll', `window-width', `window-height', `window-buffer',
3218 `window-frame', `window-start', `window-point', `next-window'
3219 and `window-display-table'.
3220 * abbrev.el (abbrev--default-expand):
3221 * bs.el (bs--show-with-configuration):
3222 * buff-menu.el (Buffer-menu-mouse-select):
3223 * calc/calc.el (calc):
3224 * calendar/calendar.el (calendar-generate-window):
3225 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3226 (diary-make-entry):
3227 * comint.el (send-invisible, comint-dynamic-complete-filename)
3228 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3229 * completion.el (complete):
3230 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3231 * disp-table.el (describe-current-display-table):
3232 * doc-view.el (doc-view-insert-image):
3233 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3234 * ehelp.el (with-electric-help):
3235 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3236 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3237 * emacs-lisp/helper.el (Helper-help-scroller):
3238 * emulation/cua-base.el (cua--post-command-handler-1):
3239 * eshell/esh-mode.el (eshell-output-filter):
3240 * ffap.el (ffap-gnus-wrapper):
3241 * help-macro.el (make-help-screen):
3242 * hilit-chg.el (highlight-compare-buffers):
3243 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3244 * hl-line.el (global-hl-line-highlight):
3245 * icomplete.el (icomplete-simple-completing-p):
3246 * isearch.el (isearch-done):
3247 * jit-lock.el (jit-lock-stealth-fontify):
3248 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3249 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3250 * mpc.el (mpc-tagbrowser, mpc):
3251 * net/rcirc.el (rcirc-any-buffer):
3252 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3253 * play/landmark.el (landmark-max-width, landmark-max-height):
3254 * play/zone.el (zone):
3255 * progmodes/compile.el (compilation-goto-locus):
3256 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3257 * progmodes/etags.el (find-tag-other-window):
3258 * progmodes/fortran.el (fortran-column-ruler):
3259 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3260 * progmodes/verilog-mode.el (verilog-point-text):
3261 * reposition.el (reposition-window):
3262 * rot13.el (toggle-rot13-mode):
3263 * server.el (server-switch-buffer):
3264 * shell.el (shell-dynamic-complete-command)
3265 (shell-dynamic-complete-environment-variable):
3266 * simple.el (insert-buffer, set-selective-display)
3267 (delete-completion-window):
3268 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3269 (speedbar-recenter):
3270 * startup.el (fancy-splash-head):
3271 * textmodes/ispell.el (ispell-command-loop):
3272 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3273 * tutorial.el (help-with-tutorial):
3274 * vc/add-log.el (add-change-log-entry):
3275 * vc/compare-w.el (compare-windows):
3276 * vc/ediff-help.el (ediff-indent-help-message):
3277 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3278 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3279 (ediff-setup-control-frame):
3280 * vc/emerge.el (emerge-position-region):
3281 * vc/pcvs-util.el (cvs-bury-buffer):
3282 * window.el (walk-windows, mouse-autoselect-window-select):
3283 * winner.el (winner-set-conf, winner-undo): Related users changed.
3284
3285 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * frameset.el (frameset--set-id): Doc fix.
3288 (frameset-frame-id, frameset-frame-id-equal-p)
3289 (frameset-locate-frame-id): New functions.
3290 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3291 (frameset-restore): Use them.
3292
3293 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3294
3295 Do not call to `selected-frame' where it is assumed by default.
3296 Affected functions are `raise-frame', `redraw-frame',
3297 `frame-first-window', `frame-terminal' and `delete-frame'.
3298 * calendar/appt.el (appt-disp-window):
3299 * epg.el (epg-wait-for-completion):
3300 * follow.el (follow-delete-other-windows-and-split)
3301 (follow-avoid-tail-recenter):
3302 * international/mule.el (set-terminal-coding-system):
3303 * mail/rmail.el (rmail-mail-return):
3304 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3305 * progmodes/f90.el (f90-add-imenu-menu):
3306 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3307 * server.el (server-switch-buffer):
3308 * simple.el (delete-completion-window):
3309 * talk.el (talk):
3310 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3311 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3312 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3313 * vc/ediff.el (ediff-documentation): Related users changed.
3314 * frame.el (selected-terminal): Remove the leftover.
3315
3316 2013-08-05 Glenn Morris <rgm@gnu.org>
3317
3318 * calendar/calendar.el (calendar-generate-month):
3319 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3320 (calendar-generate-month, calendar-font-lock-keywords):
3321 Fix for calendar-day-header-width > length of any day name.
3322
3323 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * desktop.el (desktop-clear): Use new name of sort predicate.
3326
3327 * frameset.el (frameset): Add docstring. Move :version property to its
3328 own `version' slot.
3329 (frameset-copy): Rename from copy-frameset.
3330 (frameset-p): Check more thoroughly.
3331 (frameset-prop): Do not check for :version, which is no longer a prop.
3332 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3333 Use new :never value instead of t.
3334 (frameset-filter-alist): Expand and clarify docstring.
3335 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3336 (frameset-filter-minibuffer, frameset-filter-save-param)
3337 (frameset-filter-restore-param, frameset-filter-iconified):
3338 Add pointer to docstring of frameset-filter-alist.
3339 (frameset-filter-params): Rename filter values to be more meaningful:
3340 :never instead of t, and reverse the meanings of :save and :restore.
3341 (frameset--process-minibuffer-frames): Clarify error message.
3342 (frameset-save): Avoid unnecessary and confusing call to framep.
3343 Use new BOA constructor for framesets.
3344 (frameset--reuse-list): Doc fix.
3345 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3346 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3347 (frameset-minibufferless-first-p): Doc fix.
3348 Rename from frameset-sort-frames-for-deletion.
3349 (frameset-restore): Doc fixes. Use new function names.
3350 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3351
3352 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3353
3354 * desktop.el (desktop-restore-forces-onscreen)
3355 (desktop-restore-reuses-frames): Document :keyword constant values.
3356 (desktop-filter-parameters-alist): Remove, now identical to
3357 frameset-filter-alist.
3358 (desktop--filter-tty*): Remove, moved to frameset.el.
3359 (desktop-save-frameset, desktop-restore-frameset):
3360 Do not pass :filters argument.
3361
3362 * frameset.el (frameset-live-filter-alist)
3363 (frameset-persistent-filter-alist): New variables.
3364 (frameset-filter-alist): Use them. Add autoload cookie.
3365 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3366 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3367 `frameset--id' (it's supposed to be internal to frameset.el).
3368 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3369 (frameset--initial-params): New function.
3370 (frameset--get-frame): Use it. Doc fix.
3371 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3372 Accept :all, not 'all.
3373 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3374 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3375 with fbound symbols. Fix frame id matching, and remove matching ids if
3376 the frame being restored is deleted. Obey :delete.
3377
3378 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * subr.el (macrop): New function.
3381 (text-clone--maintaining): New var.
3382 (text-clone--maintain): Rename from text-clone-maintain. Use it
3383 instead of inhibit-modification-hooks.
3384
3385 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3386 a proxy, so as handle autoloads and redefinitions of the target.
3387 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3388
3389 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3390 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3391 (pcase--mutually-exclusive-p): New function.
3392 (pcase--split-consp): Use it.
3393 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3394 mutually exclusive with the current predicate.
3395
3396 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3397 (edebug-macrop): Remove. Use `macrop' instead.
3398 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3399 (ad-macro-p):
3400 * eshell/esh-cmd.el (eshell-macrop):
3401 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3402
3403 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3406 (advice-mapc): New function, using it.
3407 (advice-function-member-p): New function.
3408 (advice--normalize): Store the cdr in advice--saved-rewrite since
3409 that's the part that will be changed.
3410 (advice--symbol-function): New function.
3411 (advice-remove): Handle removal before the function is defined.
3412 Adjust to new advice--saved-rewrite.
3413 (advice-member-p): Use advice-function-member-p and
3414 advice--symbol-function.
3415
3416 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3417
3418 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3419 (frameset-filter-minibuffer): Doc fix.
3420 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3421 (frameset--set-id, frameset--process-minibuffer-frames)
3422 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3423 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3424
3425 * desktop.el (desktop-clear): Only delete frames when called
3426 interactively and desktop-restore-frames is non-nil. Doc fix.
3427 (desktop-read): Set desktop-saved-frameset to nil.
3428
3429 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3430
3431 * vc/vc.el (vc-ignore): Rewrite.
3432 (vc-default-ignore-completion-table):
3433 (vc--read-lines):
3434 (vc--add-line, vc--remove-regexp): New functions.
3435
3436 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3437 (vc-svn-ignore-completion-table): New function.
3438
3439 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3440 (vc-hg-ignore-completion-table):
3441 (vc-hg-find-ignore-file): New functions.
3442
3443 * vc/vc-git.el (vc-git-ignore): Rewrite.
3444 (vc-git-ignore-completion-table):
3445 (vc-git-find-ignore-file): New functions.
3446
3447 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3448
3449 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3450 (vc-bzr-ignore-completion-table):
3451 (vc-bzr-find-ignore-file): New functions.
3452
3453 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * frameset.el (frameset-prop): New function and setter.
3456 (frameset-save): Do not modify frame list passed by the caller.
3457
3458 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3461
3462 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3465 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3466
3467 * custom.el (custom-initialize-default, custom-initialize-set)
3468 (custom-initialize-reset, custom-initialize-changed): Affect the
3469 toplevel-default-value (bug#6275, bug#14586).
3470 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3471 for bug#6275.
3472
3473 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3476 Add cl-def* expressions.
3477
3478 * frameset.el (frameset-filter-params): Fix order of arguments.
3479
3480 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3481
3482 Move code related to saving frames to frameset.el.
3483 * desktop.el: Require frameset.
3484 (desktop-restore-frames): Doc fix.
3485 (desktop-restore-reuses-frames): Rename from
3486 desktop-restoring-reuses-frames.
3487 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3488 (desktop-clear): Clear frames too.
3489 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3490 (desktop--filter-tty*, desktop-save, desktop-read):
3491 Use frameset functions.
3492 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3493 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3494 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3495 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3496 (desktop--process-minibuffer-frames, desktop-save-frames)
3497 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3498 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3499 (desktop--sort-states, desktop-restoring-frames-p)
3500 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3501 (desktop-restoring-frameset-p, desktop-restore-frameset)
3502 (desktop--check-dont-save, desktop-save-frameset): New functions.
3503 (desktop--app-id): New constant.
3504 (desktop-first-buffer, desktop-buffer-ok-count)
3505 (desktop-buffer-fail-count): Move before first use.
3506 * frameset.el: New file.
3507
3508 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * files.el: Use lexical-binding.
3511 (dir-locals-read-from-file): Remove unused `err' variable.
3512 (hack-dir-local-variables--warned-coding): New var.
3513 (hack-dir-local-variables): Use it to avoid repeated warnings.
3514 (make-backup-file-name--default-function): New function.
3515 (make-backup-file-name-function): Use it as default.
3516 (buffer-stale--default-function): New function.
3517 (buffer-stale-function): Use it as default.
3518 (revert-buffer-insert-file-contents--default-function): New function.
3519 (revert-buffer-insert-file-contents-function): Use it as default.
3520 (insert-directory): Avoid add-to-list.
3521
3522 * autorevert.el (auto-revert-handler): Simplify.
3523 Use buffer-stale--default-function.
3524
3525 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3526
3527 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3528
3529 * whitespace.el (whitespace-ensure-local-variables): New function.
3530 (whitespace-cleanup-region): Call it.
3531 (whitespace-turn-on): Call it.
3532
3533 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3534
3535 Complete file name handlers.
3536
3537 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3538 (tramp-handle-verify-visited-file-modtime)
3539 (tramp-handle-file-notify-rm-watch): New functions.
3540 (tramp-call-process): Do not bind `default-directory'.
3541
3542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3543 Order alphabetically.
3544 [access-file, add-name-to-file, dired-call-process]:
3545 [dired-compress-file, file-acl, file-notify-rm-watch]:
3546 [file-ownership-preserved-p, file-selinux-context]:
3547 [make-directory-internal, make-symbolic-link, set-file-acl]:
3548 [set-file-selinux-context, set-visited-file-modtime]:
3549 [verify-visited-file-modtime]: Add handler.
3550 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3551
3552 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3553 [file-notify-add-watch, file-notify-rm-watch]:
3554 [set-file-times, set-visited-file-modtime]:
3555 [verify-visited-file-modtime]: Add handler.
3556 (with-tramp-gvfs-error-message)
3557 (tramp-gvfs-handle-set-visited-file-modtime)
3558 (tramp-gvfs-fuse-file-name): Remove.
3559 (tramp-gvfs-handle-file-notify-add-watch)
3560 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3561 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3562
3563 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3564 Order alphabetically.
3565 [file-notify-rm-watch ]: Use default Tramp handler.
3566 [executable-find]: Remove private handler.
3567 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3568 `default-directory'.
3569 (tramp-sh-handle-executable-find)
3570 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3571 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3572 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3573 Do not use `format' in `tramp-message'.
3574
3575 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3576 [file-notify-rm-watch, set-visited-file-modtime]:
3577 [verify-visited-file-modtime]: Add handler.
3578 (tramp-smb-call-winexe): Do not bind `default-directory'.
3579
3580 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3581
3582 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3583
3584 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3585
3586 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3587 use it.
3588 (log-view-diff-changeset): Same.
3589 (log-view-diff-common): Call backend command `previous-revision'
3590 to find out the previous revision, in both cases. Swap the
3591 variables `to' and `fr', so that `fr' usually refers to the
3592 earlier revision (Bug#14989).
3593
3594 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3595
3596 * ibuf-ext.el (ibuffer-filter-by-filename):
3597 Make it work with dired buffers too.
3598
3599 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3600
3601 * emacs-lisp/re-builder.el (reb-color-display-p):
3602 * files.el (save-buffers-kill-terminal):
3603 * net/browse-url.el (browse-url):
3604 * server.el (server-save-buffers-kill-terminal):
3605 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3606 Prefer nil to selected-frame for the first arg of frame-parameter.
3607
3608 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3609
3610 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3611
3612 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3613
3614 * minibuffer.el (completion--twq-all): Try and preserve each
3615 completion's case choice (bug#14907).
3616
3617 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3618
3619 * net/network-stream.el (open-network-stream): Mention the new
3620 :nogreeting parameter.
3621 (network-stream-open-starttls): Use the :nogreeting parameter
3622 (bug#14938).
3623
3624 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3625
3626 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3627 more natural than popping.
3628
3629 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3630 (shr-urlify): Highlight under mouse.
3631
3632 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3633
3634 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3635
3636 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3637
3638 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3639 buffer for output.
3640
3641 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3642 point-min==1. Fix search string. Fix parentheses missing.
3643
3644 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3645 assume point-min==1. Fix search string. Fix parentheses missing.
3646
3647 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3648
3649 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3650 buffer for output.
3651
3652 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3653
3654 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3655 initial frame is minibuffer-less. (Bug#14841)
3656
3657 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3658
3659 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3660 option.
3661
3662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3663 (tramp-maybe-open-connection): Use it.
3664
3665 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3666
3667 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3668 minimal set of parameters passed when creating a frame, because
3669 the minibuffer status of a frame cannot be changed later.
3670
3671 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3672
3673 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3674 replace-regexp-in-string and inadvertent omissions in previous change.
3675 (todo-filter-items): Ensure only file names are comma-separated in
3676 name of filtered items buffer.
3677
3678 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3679
3680 * desktop.el: Optionally force offscreen frames back onscreen.
3681 (desktop-restoring-reuses-frames): New option.
3682 (desktop--compute-pos, desktop--move-onscreen): New functions.
3683 (desktop--make-frame): Use desktop--move-onscreen.
3684
3685 2013-07-27 Alan Mackenzie <acm@muc.de>
3686
3687 Fontify a Java generic method as a function.
3688 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3689 value to t.
3690
3691 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3692
3693 * calendar/todo-mode.el: Add command to rename todo files.
3694 (todo-rename-file): New command.
3695 (todo-key-bindings-t): Add key binding for it. Change the
3696 bindings of todo-filter-regexp-items(-multifile) to use `x'
3697 instead of `r', since the latter is better suited to the new
3698 renaming command.
3699
3700 2013-07-27 Alan Mackenzie <acm@muc.de>
3701
3702 Make Java try-with-resources statement parse properly.
3703 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3704 (c-block-stmt-1-2-key): New language constants/variables.
3705 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3706 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3707 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3708 with c-block-stmt-1-2-key.
3709
3710 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3711
3712 * desktop.el (desktop--make-frame): Apply most frame parameters after
3713 creating the frame to force (partially or totally) offscreen frames to
3714 be restored as such.
3715
3716 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3717
3718 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3719 (Bug#14948)
3720
3721 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3724 `base' arg of backtrace-frame.
3725
3726 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3727
3728 * simple.el (list-processes): Doc fix.
3729
3730 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * desktop.el (desktop--select-frame):
3733 Try harder to reuse existing frames.
3734
3735 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3738 (edebug-eval): Use backtrace-eval.
3739 (edebug--display, edebug--recursive-edit): Don't let-bind the
3740 edebug-outer-* vars that keep track of variables we locally let-bind.
3741 (edebug-outside-excursion): Don't restore outside values of locally
3742 let-bound vars.
3743 (edebug--display): Use user-error.
3744 (cl-lexical-debug, cl-debug-env): Remove.
3745
3746 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3747
3748 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3749 are restored to be sure that they are visible before deleting any
3750 remaining ones.
3751
3752 2013-07-26 Matthias Meulien <orontee@gmail.com>
3753
3754 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3755 vc-print-root-log. (Bug#14948)
3756
3757 2013-07-26 Richard Stallman <rms@gnu.org>
3758
3759 Add aliases for encrypting mail.
3760 * epa.el (epa-mail-aliases): New option.
3761 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3762 Bind inhibit-read-only so read-only text doesn't ruin everything.
3763 (epa-mail-default-recipients): New subroutine broken out.
3764 Handle epa-mail-aliases.
3765
3766 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 Add support for lexical variables to the debugger's `e' command.
3769 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3770 vars, except for debugger-outer-match-data.
3771 (debugger-frame-number): Move check for "on a function call" from
3772 callers into it. Add `skip-base' argument.
3773 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3774 (debugger-env-macro): Only reset the state stored in non-variables,
3775 i.e. current-buffer and match-data.
3776 (debugger-eval-expression): Rewrite using backtrace-eval.
3777 * subr.el (internal--called-interactively-p--get-frame): Remove.
3778 (called-interactively-p):
3779 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3780 `base' arg of backtrace-frame instead.
3781
3782 2013-07-26 Glenn Morris <rgm@gnu.org>
3783
3784 * align.el (align-regexp): Doc fix. (Bug#14857)
3785 (align-region): Explicit error if subexpression missing/does not match.
3786
3787 * simple.el (global-visual-line-mode):
3788 Do not duplicate the mode lighter. (Bug#14858)
3789
3790 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3791
3792 * window.el (display-buffer): In display-buffer bind
3793 split-window-keep-point to t, bug#14829.
3794
3795 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3796
3797 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3798 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3799 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3800 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3801 Change accordingly.
3802 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3803 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3804
3805 2013-07-25 Glenn Morris <rgm@gnu.org>
3806
3807 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3808
3809 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3810
3811 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3812 parameter to modify-frame-parameters if the value has not changed;
3813 this is a workaround for bug#14949.
3814 (desktop--make-frame): On cl-delete-if call, check parameter name,
3815 not full parameter.
3816
3817 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3818
3819 * vc/vc.el (vc-ignore): New function.
3820
3821 * vc/vc-svn.el (vc-svn-ignore): New function.
3822
3823 * vc/vc-hg.el (vc-hg-ignore): New function.
3824
3825 * vc/vc-git.el (vc-git-ignore): New function.
3826
3827 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3828 (vc-dir-ignore): New function.
3829
3830 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3831 (cvs-append-to-ignore): Move here from pcvs.el.
3832
3833 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3834
3835 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3836
3837 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3838
3839 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3840 (desktop-restore-frames): Warn when deleting an existing frame failed.
3841
3842 2013-07-24 Glenn Morris <rgm@gnu.org>
3843
3844 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3845
3846 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * filenotify.el (file-notify-supported-p):
3849 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3850 Remove functions.
3851
3852 * autorevert.el (auto-revert-use-notify):
3853 (auto-revert-notify-add-watch):
3854 * net/tramp.el (tramp-file-name-for-operation):
3855 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3857 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3858 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3859 Remove `file-notify-supported-p' entry.
3860
3861 2013-07-24 Glenn Morris <rgm@gnu.org>
3862
3863 * printing.el: Replace all uses of deleted ps-windows-system,
3864 ps-lp-system, ps-flatten-list with lpr- versions.
3865
3866 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3869 checked with memq (bug#14935).
3870
3871 * files.el (revert-buffer-function): Use a non-nil default.
3872 (revert-buffer-preserve-modes): Declare var to
3873 provide access to the `preserve-modes' argument.
3874 (revert-buffer): Let-bind it.
3875 (revert-buffer--default): New function, extracted from revert-buffer.
3876
3877 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * lpr.el: Signal print errors more prominently.
3880 (print-region-function): Don't default to nil.
3881 (lpr-print-region): New function, extracted from print-region-1.
3882 Check lpr's return value and signal an error in case of problem.
3883 (print-region-1): Use it.
3884 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3885 versions instead.
3886 (ps-printer-name): Default to nil.
3887 (ps-printer-name-option): Default to lpr-printer-switch.
3888 (ps-print-region-function): Don't default to nil.
3889 (ps-postscript-code-directory): Simplify default.
3890 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3891 (ps-string-list, ps-eval-switch, ps-flatten-list)
3892 (ps-flatten-list-1): Remove.
3893 (ps-multibyte-buffer): Avoid setq.
3894 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3895 (print-region-function, ps-print-region-function): Don't set them here.
3896
3897 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3898
3899 * ido.el (ido-fractionp):
3900 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3901 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3902 (ido-max-directory-size, ido-max-dir-file-cache)
3903 (ido-decorations): Doc fix.
3904
3905 * ansi-color.el: Fix old URL.
3906
3907 2013-07-23 Michael R. Mauger <michael@mauger.com>
3908
3909 * progmodes/sql.el: Version 3.3
3910 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3911 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3912 (sql-interactive-remove-continuation-prompt): Rewrite, use
3913 functions above. Fix continuation prompt and complete output line
3914 handling.
3915 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3916 redirected output buffer.
3917 (sql-mode): Restore deleted code (Bug#13591).
3918
3919 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3922
3923 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3924
3925 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3926
3927 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3928 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3929 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3930
3931 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3932
3933 * desktop.el (desktop-clear): Simplify; remove useless checks
3934 against invalid buffer names.
3935 (desktop-list*): Use cl-list*.
3936 (desktop-buffer-info, desktop-create-buffer): Simplify.
3937
3938 2013-07-23 Leo Liu <sdl.web@gmail.com>
3939
3940 * bookmark.el (bookmark-make-record): Restore NAME as a default
3941 value. (Bug#14933)
3942
3943 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3946 extracted from autoload--insert-text.
3947 (autoload--insert-text): Remove.
3948 (autoload--print-cookie-text): New function, extracted from
3949 autoload--insert-cookie-text.
3950 (autoload--insert-cookie-text): Remove.
3951 (autoload-generate-file-autoloads): Adjust calls accordingly.
3952
3953 * winner.el (winner-hook-installed-p): Remove.
3954 (winner-mode): Simplify accordingly.
3955
3956 * subr.el (add-to-list): Fix compiler-macro when `append' is
3957 not constant. Don't use `cl-member' for the base case.
3958
3959 * progmodes/subword.el: Fix boundary case (bug#13758).
3960 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3961 own group.
3962 (subword-backward-regexp): Make it a constant.
3963 (subword-forward-internal): Don't treat a trailing capital as the
3964 beginning of a word.
3965
3966 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3967
3968 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3969 global value of tabulated-list-revert-hook (bug#14930).
3970
3971 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3972
3973 * desktop.el: Require 'cl-lib.
3974 (desktop-before-saving-frames-functions): New hook.
3975 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3976 for frames being saved. Rename from desktop--save-minibuffer-frames.
3977 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3978 Do not save frames with non-nil `desktop-dont-save' parameter.
3979 Filter out deleted frames.
3980 (desktop--find-frame): Use cl-find-if.
3981 (desktop--select-frame): Use cl-(first|second|third) to access values
3982 of desktop-mini.
3983 (desktop--make-frame): Use cl-delete-if.
3984 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3985 (desktop-restore-frames): Use cl-(first|second|third) to access values
3986 of desktop-mini. Look for visible frame at the end, not while
3987 restoring frames.
3988
3989 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3990 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3991 Use string-match-p, looking-at-p (bug#14927).
3992
3993 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3994
3995 * desktop.el (desktop-saved-frame-states):
3996 Rename from desktop--saved-states; all users changed.
3997 (desktop-save-frames): Rename from desktop--save-frames.
3998 Do not save state to desktop file.
3999 (desktop-save): Save desktop-saved-frame-states to desktop file
4000 and reset to nil.
4001 (desktop-restoring-frames-p): New function.
4002 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4003 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4004 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4005
4006 * desktop.el: Correctly restore iconified frames.
4007 (desktop--filter-iconified-position): New function.
4008 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4009
4010 2013-07-20 Glenn Morris <rgm@gnu.org>
4011
4012 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4013 Let `message' do the formatting.
4014 (def-gdb-preempt-display-buffer): Add explicit format.
4015
4016 * image-dired.el (image-dired-track-original-file):
4017 Use with-current-buffer.
4018 (image-dired-track-thumbnail): Use with-current-buffer.
4019 Avoid changing point of wrong window.
4020
4021 * image-dired.el (image-dired-track-original-file):
4022 Avoid changing point of wrong window. (Bug#14909)
4023
4024 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4025
4026 * progmodes/gdb-mi.el (gdb-done-or-error):
4027 Guard against "%" in gdb output. (Bug#14127)
4028
4029 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4030
4031 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4032 (Bug#14826)
4033
4034 * international/mule.el (coding-system-iso-2022-flags): Fix last
4035 change.
4036
4037 2013-07-20 Kenichi Handa <handa@gnu.org>
4038
4039 * international/mule.el (coding-system-iso-2022-flags):
4040 Add `8-bit-level-4'. (Bug#8522)
4041
4042 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4043
4044 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4045 (bug#14815).
4046
4047 * net/eww.el (eww-process-text-input): Allow inputting when the
4048 point is at the start of the line, as the properties aren't
4049 front-sticky.
4050
4051 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4052 degenerate widths.
4053
4054 2013-07-19 Richard Stallman <rms@gnu.org>
4055
4056 * epa.el (epa-popup-info-window): Doc fix.
4057
4058 * subr.el (split-string): New arg TRIM.
4059
4060 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4063 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4064
4065 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4066
4067 * filenotify.el (file-notify--library): Rename from
4068 `file-notify-support'. Do not autoload. Adapt all uses.
4069 (file-notify-supported-p): New defun.
4070
4071 * autorevert.el (auto-revert-use-notify):
4072 Use `file-notify-supported-p' instead of `file-notify-support'.
4073 Adapt docstring.
4074 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4075
4076 * net/tramp.el (tramp-file-name-for-operation):
4077 Add `file-notify-supported-p'.
4078
4079 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4080 New defun.
4081 (tramp-sh-file-name-handler-alist): Add it as handler for
4082 `file-notify-supported-p '.
4083
4084 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4085 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4086 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4087 Add `ignore' as handler for `file-notify-*' functions.
4088
4089 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4090
4091 * simple.el (line-move-partial, line-move): Don't start vscroll or
4092 scroll-up if the current line is not taller than the window.
4093 (Bug#14881)
4094
4095 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4096
4097 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4098 highlight question marks in the method names as strings.
4099 (ruby-block-beg-keywords): Inline.
4100 (ruby-font-lock-keyword-beg-re): Extract from
4101 `ruby-font-lock-keywords'.
4102
4103 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4104
4105 * frame.el (blink-cursor-blinks): New defcustom.
4106 (blink-cursor-blinks-done): New defvar.
4107 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4108 (blink-cursor-timer-function): Check if number of blinks has been
4109 done on X and NS.
4110 (blink-cursor-suspend, blink-cursor-check): New defuns.
4111
4112 2013-07-15 Glenn Morris <rgm@gnu.org>
4113
4114 * edmacro.el (edmacro-format-keys): Fix previous change.
4115
4116 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4117
4118 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4119 The hack didn't work outside English locales anyway.
4120
4121 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4122
4123 * simple.el (define-alternatives): Rename from alternatives-define,
4124 per RMS' suggestion.
4125
4126 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4127
4128 * desktop.el (desktop-restore-frames): Change default to t.
4129 (desktop-restore-in-current-display): Now offer more options.
4130 (desktop-restoring-reuses-frames): New customization option.
4131 (desktop--saved-states): Doc fix.
4132 (desktop-filter-parameters-alist): New variable, renamed and expanded
4133 from desktop--excluded-frame-parameters.
4134 (desktop--target-display): New variable.
4135 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4136 (desktop--filter-tty*, desktop--filter-*-color)
4137 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4138 (desktop--filter-save-desktop-parm)
4139 (desktop-restore-in-original-display-p): New functions.
4140 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4141 (desktop--save-minibuffer-frames): New function, inspired by a similar
4142 function from Martin Rudalics.
4143 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4144 (desktop--restore-in-this-display-p): Remove.
4145 (desktop--find-frame): Rename from desktop--find-frame-in-display
4146 and add predicate argument.
4147 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4148 (desktop--reuse-list): New variable.
4149 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4150 New functions.
4151 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4152
4153 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4154
4155 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4156
4157 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4158
4159 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4160 Highlight conversion methods on Kernel.
4161
4162 2013-07-13 Alan Mackenzie <acm@muc.de>
4163
4164 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4165 and comment it out. This out-commenting enables certain C++
4166 declarations to be parsed correctly.
4167
4168 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4169
4170 * international/mule.el (define-coding-system): Doc fix.
4171
4172 * simple.el (default-font-height): Don't call font-info if the
4173 frame's default font didn't change since the frame was created.
4174 (Bug#14838)
4175
4176 2013-07-13 Leo Liu <sdl.web@gmail.com>
4177
4178 * ido.el (ido-read-file-name): Guard against non-symbol value.
4179
4180 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4181
4182 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4183 in nested defuns.
4184
4185 2013-07-13 Leo Liu <sdl.web@gmail.com>
4186
4187 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4188 ido-set-matches call. (Bug#6852)
4189
4190 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4191
4192 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4193 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4194 Ruby 2.0.
4195 (ruby-font-lock-keywords): Distinguish calls to functions with
4196 module-like names from module references. Highlight character
4197 literals.
4198
4199 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4200
4201 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4202 (gdb-send): Handle continued commands. (Bug#14847)
4203
4204 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4205
4206 * desktop.el (desktop--v2s): Remove unused local variable.
4207 (desktop-save-buffer): Make defvar-local; adjust docstring.
4208 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4209 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4210
4211 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4212
4213 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4214
4215 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4216
4217 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4218 (Bug#14842)
4219
4220 2013-07-12 Glenn Morris <rgm@gnu.org>
4221
4222 * doc-view.el: Require cl-lib at runtime too.
4223 (doc-view-remove-if): Remove.
4224 (doc-view-search-next-match, doc-view-search-previous-match):
4225 Use cl-remove-if.
4226
4227 * edmacro.el: Require cl-lib at runtime too.
4228 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4229 (edmacro-mismatch, edmacro-subseq): Remove.
4230
4231 * shadowfile.el: Require cl-lib.
4232 (shadow-remove-if): Remove.
4233 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4234 Use cl-remove-if.
4235
4236 * wid-edit.el: Require cl-lib.
4237 (widget-choose): Use cl-remove-if.
4238 (widget-remove-if): Remove.
4239
4240 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4241 (ebrowse-delete-if-not): Remove.
4242 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4243 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4244 Use cl-delete-if-not.
4245
4246 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4247
4248 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4249 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4250
4251 2013-07-12 Leo Liu <sdl.web@gmail.com>
4252
4253 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4254
4255 2013-07-11 Glenn Morris <rgm@gnu.org>
4256
4257 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4258 (edebug-gensym-index, edebug-gensym):
4259 Remove reimplementation of cl-gensym.
4260 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4261
4262 * thumbs.el: Require cl-lib at run-time too.
4263 (thumbs-gensym-counter, thumbs-gensym):
4264 Remove reimplementation of cl-gensym.
4265 (thumbs-temp-file): Use cl-gensym.
4266
4267 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4268 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4269 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4270 (ert--union, ert--gensym-counter, ert--gensym-counter)
4271 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4272 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4273 (ert-make-test-unbound, ert--expand-should-1)
4274 (ert--expand-should, ert--should-error-handle-error)
4275 (should-error, ert--explain-equal-rec)
4276 (ert--plist-difference-explanation, ert-select-tests)
4277 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4278 Use cl-lib functions rather than reimplementations.
4279
4280 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4281
4282 * net/tramp.el (tramp-methods): Extend docstring.
4283 (tramp-connection-timeout): New defcustom.
4284 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4285 (with-tramp-progress-reporter): Simplify.
4286 (tramp-process-actions): Improve messages.
4287
4288 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4289 * net/tramp-sh.el (tramp-maybe-open-connection):
4290 Use `tramp-connection-timeout'.
4291 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4292 (Bug#14808)
4293
4294 2013-07-11 Leo Liu <sdl.web@gmail.com>
4295
4296 * ido.el (ido-read-file-name): Conform to the requirements of
4297 read-file-name. (Bug#11861)
4298 (ido-read-directory-name): Conform to the requirements of
4299 read-directory-name.
4300
4301 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4302
4303 * subr.el (delay-warning): New function.
4304
4305 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4306
4307 * simple.el (default-line-height): New function.
4308 (line-move-partial, line-move): Use it instead of computing the
4309 line height inline.
4310 (line-move-partial): Always compute ROWH. If the last line is
4311 partially-visible, but its text is completely visible, allow
4312 cursor to enter such a partially-visible line.
4313
4314 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4315
4316 Improve error messages. (Bug#14808)
4317
4318 * net/tramp.el (tramp-current-connection): New defvar, moved from
4319 tramp-sh.el.
4320 (tramp-message-show-progress-reporter-message): Remove, not
4321 needed anymore.
4322 (tramp-error-with-buffer): Show message in minibuffer.
4323 Discard input before waiting. Reset connection timestamp.
4324 (with-tramp-progress-reporter): Improve messages.
4325 (tramp-process-actions): Use progress reporter. Delete process in
4326 case of error. Improve messages.
4327
4328 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4329 Call `tramp-error-with-buffer' with vector and buffer.
4330 (tramp-current-connection): Remove.
4331 (tramp-maybe-open-connection): The car of
4332 `tramp-current-connection' are the first 3 slots of the vector.
4333
4334 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4335
4336 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4337 inside continued strings.
4338
4339 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4340
4341 Timestamp fixes for undo (Bug#14824).
4342 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4343
4344 2013-07-10 Leo Liu <sdl.web@gmail.com>
4345
4346 * files.el (require-final-newline): Allow safe local value.
4347 (Bug#14834)
4348
4349 2013-07-09 Leo Liu <sdl.web@gmail.com>
4350
4351 * ido.el (ido-read-directory-name): Handle fallback.
4352 (ido-read-file-name): Update DIR to ido-current-directory.
4353 (Bug#1516)
4354 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4355
4356 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4357
4358 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4359 "autoload". Remove "warn lower camel case" section, previously
4360 commented out. Highlight negation char. Do not highlight the
4361 target in singleton method definitions.
4362
4363 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * faces.el (tty-setup-hook): Declare the hook.
4366
4367 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4368 and detect when a guard/pred depends on local vars (bug#14773).
4369 (pcase--u1): Adjust caller.
4370
4371 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4372
4373 * simple.el (line-move-partial, line-move): Account for
4374 line-spacing.
4375 (line-move-partial): Avoid setting vscroll when the last
4376 partially-visible line in window is of default height.
4377
4378 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4379
4380 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4381 been used a while.
4382
4383 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * subr.el (read-quoted-char): Remove unused local variable `char'.
4386
4387 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4388
4389 * ediff.el (ediff-version): Version update.
4390 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4391 (ediff-merge-with-ancestor-command, ediff-directories-command)
4392 (ediff-directories3-command, ediff-merge-directories-command)
4393 (ediff-merge-directories-with-ancestor-command): New functions.
4394 All are command-line interfaces to ediff: to facilitate calling
4395 Emacs with the appropriate ediff functions invoked.
4396
4397 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4398 (viper-save-kill-buffer): Check if buffer is modified.
4399
4400 * viper.el (viper-version): Version update.
4401 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4402
4403 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4406 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4407 (viper-intercept-ESC-key): Simplify.
4408 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4409 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4410 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4411 (viper-setup-ESC-to-escape): New functions.
4412 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4413 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4414
4415 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4416
4417 * simple.el (default-font-height, window-screen-lines):
4418 New functions.
4419 (line-move, line-move-partial): Use them instead of
4420 frame-char-height and window-text-height. This makes scrolling
4421 text smoother when the buffer's default face uses a font that is
4422 different from the frame's default font.
4423
4424 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4425
4426 * files.el (write-file): Do not display confirm dialog for NS,
4427 it does its own dialog, which can't be cancelled (Bug#14578).
4428
4429 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4430
4431 * simple.el (line-move-partial): Adjust the row returned by
4432 posn-at-point for the current window-vscroll. (Bug#14567)
4433
4434 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4435
4436 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4437 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4438 spaces.
4439
4440 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4441
4442 * window.el (window-state-put-stale-windows): New variable.
4443 (window--state-put-2): Save list of windows without matching buffer.
4444 (window-state-put): Remove "bufferless" windows if possible.
4445
4446 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4447
4448 * simple.el (alternatives-define): Remove leftover :group keyword.
4449 Tweak docstring.
4450
4451 2013-07-06 Leo Liu <sdl.web@gmail.com>
4452
4453 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4454 (ido-enable-virtual-buffers): New variable.
4455 (ido-buffer-internal, ido-toggle-virtual-buffers)
4456 (ido-make-buffer-list): Use it.
4457 (ido-exhibit): Support turning on and off virtual buffers
4458 automatically.
4459
4460 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4461
4462 * simple.el (alternatives-define): New macro.
4463
4464 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4465
4466 * subr.el (read-quoted-char): Use read-key.
4467 (sit-for): Let read-event decode tty input (bug#14782).
4468
4469 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4470
4471 * calendar/todo-mode.el: Add handling of file deletion, both by
4472 mode command and externally. Fix various related bugs.
4473 Clarify Commentary and improve some documentation strings and code.
4474 (todo-delete-file): New command.
4475 (todo-check-file): New function.
4476 (todo-show): Handle external deletion of the file we're trying to
4477 show (bug#14688). Replace called-interactively-p by an optional
4478 prefix argument to avoid problematic interaction with catch form
4479 when byte compiled (bug#14702).
4480 (todo-quit): Handle external deletion of the archive's todo file.
4481 Make sure the buffer that was visiting the archive file is still
4482 live before trying to bury it.
4483 (todo-category-completions): Handle external deletion of any
4484 category completion files.
4485 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4486 of todo files, in case of external deletion.
4487 (todo-add-file): Replace unnecessary setq by let-binding.
4488 (todo-find-archive): Check whether there are any archives.
4489 Replace unnecessary setq by let-binding.
4490 (todo-archive-done-item): Use find-file-noselect to get the
4491 archive buffer whether or not the archive already exists.
4492 Remove superfluous code. Use file size instead of buffer-file-name to
4493 check if the archive is new; if it is, update list of archives.
4494 (todo-default-todo-file): Allow nil to be a valid value for when
4495 there are no todo files.
4496 (todo-reevaluate-default-file-defcustom): Use corrected definition
4497 of todo-default-todo-file.
4498 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4499 (todo-delete-category, todo-show-categories-table)
4500 (todo-category-number): Clarify comment.
4501 (todo-filter-items): Clarify documentation string.
4502 (todo-show-current-file, todo-display-as-todo-file)
4503 (todo-reset-and-enable-done-separator): Tweak documentation string.
4504 (todo-done-separator): Make separator length window-width, since
4505 bug#2749 is now fixed.
4506
4507 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4508
4509 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4510 Support both "gvfs-monitor-dir" and "inotifywait".
4511 (tramp-sh-file-inotifywait-process-filter): Rename from
4512 `tramp-sh-file-notify-process-filter'.
4513 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4514 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4515
4516 2013-07-05 Leo Liu <sdl.web@gmail.com>
4517
4518 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4519
4520 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4521
4522 * frame.el (display-pixel-height, display-pixel-width)
4523 (display-mm-height, display-mm-width): Mention behavior on
4524 multi-monitor setups in docstrings.
4525 (w32-display-monitor-attributes-list): Declare function.
4526 (display-monitor-attributes-list): Use it.
4527
4528 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4529
4530 * filenotify.el: New package.
4531
4532 * autorevert.el (top): Require filenotify.el.
4533 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4534 instead.
4535 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4536 (auto-revert-notify-handler): Use `file-notify-*' functions.
4537
4538 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4539
4540 * net/tramp.el (tramp-file-name-for-operation):
4541 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4542
4543 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4544 for `file-notify-add-watch' and `file-notify-rm-watch'.
4545 (tramp-process-sentinel): Improve trace.
4546 (tramp-sh-handle-file-notify-add-watch)
4547 (tramp-sh-file-notify-process-filter)
4548 (tramp-sh-handle-file-notify-rm-watch)
4549 (tramp-get-remote-inotifywait): New defuns.
4550
4551 2013-07-03 Juri Linkov <juri@jurta.org>
4552
4553 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4554 call of `occur-read-primary-args' to interactive spec.
4555
4556 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4557 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4558
4559 2013-07-03 Matthias Meulien <orontee@gmail.com>
4560
4561 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4562 `Buffer-menu-multi-occur'. Add it to the menu.
4563 (Buffer-menu-mode): Document it in docstring.
4564 (Buffer-menu-multi-occur): New command. (Bug#14673)
4565
4566 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4567
4568 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4569 keywords and built-ins.
4570
4571 2013-07-03 Glenn Morris <rgm@gnu.org>
4572
4573 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4574
4575 Make info-xref checks case-sensitive by default
4576 * info.el (Info-find-node, Info-find-in-tag-table)
4577 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4578 Add option for exact case matching of nodes.
4579 * info-xref.el (info-xref): New custom group.
4580 (info-xref-case-fold): New option.
4581 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4582
4583 2013-07-03 Leo Liu <sdl.web@gmail.com>
4584
4585 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4586
4587 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4588
4589 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4590 middle of block statement initially, lower the depth. Remove
4591 FIXME comment, not longer valid. Remove middle of block statement
4592 detection, no need to do that anymore since we've been using
4593 `ruby-parse-region' here.
4594
4595 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4596
4597 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4598
4599 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4600
4601 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4602
4603 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4604
4605 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4606 (desktop-restore-in-current-display): New customization option.
4607 (desktop--excluded-frame-parameters): Add `font'.
4608 (desktop--save-frames): Rename from desktop--save-windows.
4609 (desktop--restore-in-this-display-p): New function.
4610 (desktop--make-full-frame): Remove unwanted width/height from
4611 full(width|height) frames.
4612 (desktop--restore-frames): Rename from desktop--restore-windows.
4613 Obey desktop-restore-current-display. Do not delete old frames or
4614 select a new frame unless we were able to restore at least one frame.
4615
4616 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4617
4618 * files.el (find-file-noselect): Simplify conditional expression.
4619
4620 * remember.el (remember-append-to-file):
4621 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4622
4623 Add `remember-notes' function to store random notes across Emacs
4624 restarts.
4625 * remember.el (remember-data-file): Add :set callback to affect
4626 notes buffer (if any).
4627 (remember-notes): New command.
4628 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4629 New defcustoms for the `remember-notes' function.
4630 (remember-notes-save-and-bury-buffer): New command.
4631 (remember-notes-mode-map): New variable.
4632 (remember-mode): New minor mode.
4633 (remember-notes--kill-buffer-query): New function.
4634 * startup.el (initial-buffer-choice): Add notes to custom type.
4635
4636 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4637
4638 * bindings.el (right-char, left-char): Don't call sit-for, this is
4639 no longer needed. Use arithmetic comparison only for numerical
4640 arguments.
4641
4642 * international/mule-cmds.el (select-safe-coding-system):
4643 Handle the case of FROM being a string correctly. (Bug#14755)
4644
4645 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4646
4647 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4648 progression on degenerate tables.
4649 (shr-rescale-image): ImageMagick animated images currently don't work.
4650
4651 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4652
4653 Some fixes and improvements for desktop frame restoration.
4654 It is still experimental and disabled by default.
4655 * desktop.el (desktop--save-windows): Put the selected frame at
4656 the head of the list.
4657 (desktop--make-full-frame): New function.
4658 (desktop--restore-windows): Try to re-select the frame that was
4659 selected upon saving. Do not abort if some frames fail to restore,
4660 just show an error message and continue. Set up maximized frames
4661 so they have default non-maximized dimensions.
4662
4663 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4664
4665 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4666 Don't start heredoc inside a string or comment.
4667
4668 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4669
4670 * bindings.el (visual-order-cursor-movement): New defcustom.
4671 (right-char, left-char): Provide visual-order cursor motion by
4672 calling move-point-visually. Update the doc strings.
4673
4674 2013-06-28 Kenichi Handa <handa@gnu.org>
4675
4676 * international/mule.el (define-coding-system): New coding system
4677 properties :inhibit-null-byte-detection,
4678 :inhibit-iso-escape-detection, and :prefer-utf-8.
4679 (set-buffer-file-coding-system): If :charset-list property of
4680 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4681 appropriate for setting.
4682
4683 * international/mule-cmds.el (select-safe-coding-system):
4684 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4685 multibyte characters, return utf-8 (or one of its siblings).
4686
4687 * international/mule-conf.el (prefer-utf-8): New coding system.
4688 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4689 files.
4690
4691 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4692
4693 * net/shr.el (shr-render-region): New function.
4694
4695 * net/eww.el: Autoload `eww-browse-url'.
4696
4697 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4698
4699 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4700 Adapt to `package-desc-version' being a list.
4701 Use `package--ac-desc-version' to retrieve version from a package
4702 archive element.
4703
4704 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4705
4706 New experimental feature to save&restore window and frame setup.
4707 * desktop.el (desktop-save-windows): New defcustom.
4708 (desktop--saved-states): New var.
4709 (desktop--excluded-frame-parameters): New defconst.
4710 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4711 (desktop--restore-windows, desktop--save-windows): New functions.
4712 (desktop-save): Call `desktop--save-windows'.
4713 (desktop-read): Call `desktop--restore-windows'.
4714
4715 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4716
4717 * net/shr.el (add-face-text-property): Remove compat definition.
4718
4719 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4720
4721 * info.el (Info-try-follow-nearest-node): Move search for footnote
4722 above search for node name to prevent missing a footnote (bug#14717).
4723
4724 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4725
4726 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4727
4728 2013-06-27 Leo Liu <sdl.web@gmail.com>
4729
4730 * net/eww.el (eww-read-bookmarks): Check file size.
4731
4732 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4735 advice--pending if newdef is nil or an autoload (bug#13820).
4736 (advice-mapc): New function.
4737
4738 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4739
4740 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4741 probably.
4742 (eww-mode-map): Add a menu bar.
4743 (eww-add-bookmark): New command.
4744 (eww-bookmark-mode): New mode and commands.
4745 (eww-add-bookmark): Remove newlines from the title.
4746 (eww-bookmark-browse): Don't bug out if it's the only window.
4747
4748 2013-06-26 Glenn Morris <rgm@gnu.org>
4749
4750 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4751 (hfy-size): Handle ttys. (Bug#14668)
4752
4753 * info-xref.el: Update for Texinfo 5 change in *note format.
4754 (info-xref-node-re, info-xref-note-re): New constants.
4755 (info-xref-check-buffer): Use info-xref-note-re.
4756
4757 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4760
4761 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4762 nil terminate the loop (bug#14718).
4763
4764 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4765
4766 * net/eww.el: Rework history traversal. When going forward/back,
4767 put these actions into the history, too, so that they can be
4768 replayed.
4769 (eww-render): Move the history reset to the correct buffer.
4770
4771 2013-06-25 Juri Linkov <juri@jurta.org>
4772
4773 * files-x.el (modify-dir-local-variable): Change the header comment
4774 in the file with directory local variables. (Bug#14692)
4775
4776 * files-x.el (read-file-local-variable-value): Add `default'.
4777 (Bug#14710)
4778
4779 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4780
4781 * net/eww.el (eww-make-unique-file-name): Create a unique file
4782 name before saving to entering `y' accidentally asynchronously.
4783
4784 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4785
4786 * net/eww.el (eww-download): New command and keystroke.
4787
4788 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4789
4790 * net/eww.el (eww-copy-page-url): Change name of command.
4791
4792 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4793 be more consistent with Info and dired.
4794
4795 * net/eww.el (eww-mode-map): Ditto.
4796
4797 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4800 packages from archives.
4801 (package-archive-contents): Change format; include obsolete packages.
4802 (package-desc): Use `dir' to mark builtin packages.
4803 (package--from-builtin): Set the `dir' field to `builtin'.
4804 (generated-autoload-file, version-control): Declare.
4805 (package-compute-transaction): Change first arg and return value to be
4806 lists of package-descs. Adjust to new package-archive-contents format.
4807 (package--add-to-archive-contents): Adjust to new
4808 package-archive-contents format.
4809 (package-download-transaction): Arg is now a list of package-descs.
4810 (package-install): If `pkg' is a package name, pass it as
4811 a requirement, so it is subject to the usual (e.g. disabled) checks.
4812 (describe-package): Accept package-desc as well.
4813 (describe-package-1): Describe a specific package-desc. Add links to
4814 other package-descs for the same package name.
4815 (package-menu-describe-package): Pass the actual package-desc.
4816 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4817 works correctly.
4818 (package-desc-status): New function.
4819 (package-menu--refresh): New function, extracted
4820 from package-menu--generate.
4821 (package-menu--generate): Use it.
4822 (package-delete): Update package-alist.
4823 (package-menu-execute): Don't call package-initialize.
4824
4825 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4826 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4827 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4828 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4829 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4830 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4831
4832 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4833
4834 * window.el (window--state-get-1): Workaround for bug#14527.
4835 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4836
4837 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4838
4839 * net/eww.el (eww-back-url): Implement the history by stashing all
4840 the data into a list.
4841 (eww-forward-url): Allow going forward in the history, too.
4842
4843 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4846 for values and use read--expression for expressions (bug#14710).
4847 (read-file-local-variable): Avoid setq.
4848 (read-file-local-variable-mode): Use minor-mode-list.
4849
4850 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4851
4852 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4853 for DOI URLs.
4854
4855 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4856
4857 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4858 Update imenu-support when dialect changes.
4859
4860 2013-06-25 Leo Liu <sdl.web@gmail.com>
4861
4862 * ido.el (ido-read-internal): Allow forward slash on windows.
4863
4864 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865
4866 * net/eww.el (eww): Start of strings is \\`, not ^.
4867
4868 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4869
4870 * net/shr.el (shr-browse-url): Fix interactive spec.
4871
4872 * net/eww.el (eww): Add a trailing slash to domain names.
4873
4874 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4875
4876 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4877
4878 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4879
4880 * net/shr.el (shr-browse-url): Use an external browser if given a
4881 prefix.
4882
4883 * net/eww.el (eww-external-browser): Move to shr.
4884
4885 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4886
4887 * net/eww.el (eww): Work more correctly for file: URLs.
4888 (eww-detect-charset): Allow quoted charsets.
4889 (eww-yank-page-url): New command and keystroke.
4890
4891 2013-06-24 Daiki Ueno <ueno@gnu.org>
4892
4893 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4894 file name of gpg executable.
4895 (epg-context-program): New function.
4896 (epg-context-home-directory): New function.
4897 (epg-context-set-program): New function.
4898 (epg-context-set-home-directory): New function.
4899 (epg--start): Use `epg-context-program' instead of
4900 'epg-gpg-program'.
4901 (epg--list-keys-1): Likewise.
4902
4903 2013-06-24 Leo Liu <sdl.web@gmail.com>
4904
4905 * ido.el (ido-read-internal): Fix bug#14620.
4906
4907 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4908
4909 * faces.el (face-documentation): Simplify.
4910 (read-face-attribute, tty-find-type, x-resolve-font-name):
4911 Use `string-match-p'.
4912 (list-faces-display): Use `string-match-p'. Simplify.
4913 (face-spec-recalc): Check face to avoid face alias loops.
4914 (read-color): Use `string-match-p' and non-capturing parenthesis.
4915
4916 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4917
4918 * net/shr.el (shr-rescale-image): Use the new
4919 :max-width/:max-height functionality.
4920
4921 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4922
4923 * net/eww.el (eww-search-prefix): New variable.
4924 (eww): Use it.
4925 (eww-external-browser): New variable.
4926 (eww-mode-map): New keystroke.
4927 (eww-browse-with-external-browser): New command.
4928
4929 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4930
4931 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4932
4933 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4934 Don't skip aligning the next header field when padding is 0;
4935 otherwise, field width is not respected unless the title is as
4936 wide as the field.
4937
4938 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * emacs-lisp/package.el (package-el-version): Remove.
4941 (package-process-define-package): Fix inf-loop.
4942 (package-install): Allow symbols as arguments again.
4943
4944 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4945
4946 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4947 add some more keyword-like methods.
4948 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4949
4950 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4951
4952 * bs.el (bs-buffer-show-mark): Make defvar-local.
4953 (bs-mode): Use setq-local.
4954
4955 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4956 (emacs-lock--try-unlocking): Make defvar-local.
4957
4958 2013-06-22 Glenn Morris <rgm@gnu.org>
4959
4960 * play/cookie1.el (cookie-apropos): Minor simplification.
4961
4962 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4963
4964 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4965
4966 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4967 `regexp-opt', it breaks the build during dumping.
4968
4969 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4970
4971 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4972 Highlight keyword-like methods on Kernel and Module with
4973 font-lock-builtin-face.
4974 (auto-mode-alist): Consolidate different entries into one regexp
4975 and add more *file-s.
4976
4977 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4978
4979 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4980
4981 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4982 (diary-entry): Use it in the action of this button type instead of
4983 diary-goto-entry.
4984
4985 * calendar/todo-mode.el: New version.
4986 (todo-add-category): Append new category to end of file and give
4987 it the highest number, instead of putting it at the beginning and
4988 giving it 0. Incorporate noninteractive functionality.
4989 (todo-forward-category): Adapt to 1-based category numbering.
4990 Allow skipping over archived categories.
4991 (todo-backward-category): Derive from todo-forward-category.
4992 (todo-backward-item, todo-forward-item): Make noninteractive and
4993 delegate interactive part to new commands. Make sensitive to done items.
4994 (todo-categories): Make value an alist of category names and
4995 vectors of item counts.
4996 (todo-category-beg): Make a defconst.
4997 (todo-category-number): Use 1 instead of 0 as initial value.
4998 (todo-category-select): Make sensitive to overlays, optional item
4999 highlighting and done items.
5000 (todo-delete-item): Make sensitive to overlays and marked and done items.
5001 (todo-edit-item): Make sensitive to overlays and editing of
5002 date/time header optional. Add format checks.
5003 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5004 no-op if point is not on an item. Advertise using todo-edit-quit.
5005 (todo-edit-mode): Make sensitive to new format, font-locking, and
5006 multiple todo files.
5007 (todo-insert-item, todo-insert-item-here): Derive from
5008 todo-basic-insert-item and extend functionality.
5009 (todo-item-end, todo-item-start): Make sensitive to done items.
5010 (todo-item-string): Don't return text properties. Restore point.
5011 (todo-jump-to-category): Make sensitive to multiple todo files and
5012 todo archives. Use extended category completion.
5013 (todo-lower-item, todo-raise-item): Rename to *-priority and
5014 derive from todo-set-item-priority.
5015 (todo-mode): Derive from special-mode. Make sensitive to new
5016 format, font-locking and multiple todo files. Make read-only.
5017 (todo-mode-map): Don't suppress digit keys, so they can supply
5018 prefix arguments. Add many new key bindings.
5019 (todo-prefix): Insert as an overlay instead of file text.
5020 Change semantics from diary date expression to purely visual mark.
5021 (todo-print): Rename to todo-print-buffer. Make buffer display
5022 features printable. Remove option to restrict number of items
5023 printed. Add option to print to file.
5024 (todo-print-function): Rename to todo-print-buffer-function.
5025 (todo-quit): Extend to handle exiting new todo modes.
5026 (todo-remove-item): Make sensitive to overlays.
5027 (todo-save): Extend to buffers of filtered items.
5028 (todo-show): Make sensitive to done items, multiple todo files and
5029 new todo modes. Offer to convert legacy todo file before creating
5030 first new todo file.
5031 (todo-show-priorities): Rename to todo-top-priorities.
5032 Change semantics of value 0.
5033 (todo-top-priorities): Rename to todo-filter-top-priorities,
5034 derive from todo-filter-items and extend functionality.
5035 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5036 and extend functionality to other types of filtered items.
5037 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5038 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5039 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5040 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5041 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5042 (todo-edit-mode-hook, todo-entry-prefix-function)
5043 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5044 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5045 (todo-initials, todo-insert-threshold, todo-item-string-start)
5046 (todo-line-string, todo-menu, todo-mode-hook)
5047 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5048 (todo-print-priorities, todo-remove-separator)
5049 (todo-save-top-priorities-too, todo-string-count-lines)
5050 (todo-string-multiline-p, todo-time-string-format)
5051 (todo-tmp-buffer-name): Remove.
5052 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5053 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5054 (todo-edit-category-diary-inclusion)
5055 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5056 (todo-edit-file, todo-edit-item-date-day)
5057 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5058 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5059 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5060 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5061 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5062 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5063 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5064 (todo-filter-top-priorities-multifile, todo-find-archive)
5065 (todo-find-filtered-items-file, todo-go-to-source-item)
5066 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5067 (todo-jump-to-archive-category, todo-lower-category)
5068 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5069 (todo-move-category, todo-move-item, todo-next-button)
5070 (todo-next-item, todo-padded-string, todo-powerset)
5071 (todo-previous-button, todo-previous-item)
5072 (todo-print-buffer-to-file, todo-raise-category)
5073 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5074 (todo-set-category-number, todo-set-item-priority)
5075 (todo-set-top-priorities-in-category)
5076 (todo-set-top-priorities-in-file, todo-show-categories-table)
5077 (todo-sort-categories-alphabetically-or-numerically)
5078 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5079 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5080 (todo-toggle-item-header, todo-toggle-item-highlighting)
5081 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5082 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5083 (todo-unarchive-items, todo-unmark-category): New commands.
5084 (todo-absolute-file-name, todo-add-to-buffer-list)
5085 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5086 (todo-basic-insert-item, todo-category-completions)
5087 (todo-category-number, todo-category-string-matcher-1)
5088 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5089 (todo-check-format, todo-clear-matches)
5090 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5091 (todo-current-category, todo-date-string-matcher)
5092 (todo-define-insertion-command, todo-diary-expired-matcher)
5093 (todo-diary-goto-entry, todo-diary-item-p)
5094 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5095 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5096 (todo-done-item-section-p, todo-done-separator)
5097 (todo-done-string-matcher, todo-files, todo-filter-items)
5098 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5099 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5100 (todo-insert-category-line, todo-insert-item-from-calendar)
5101 (todo-insert-sort-button, todo-insert-with-overlays)
5102 (todo-insertion-command-name, todo-insertion-key-bindings)
5103 (todo-label-to-key, todo-longest-category-name-length)
5104 (todo-make-categories-list, todo-mode-external-set)
5105 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5106 (todo-modes-set-3, todo-multiple-filter-files)
5107 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5108 (todo-read-category, todo-read-date, todo-read-dayname)
5109 (todo-read-file-name, todo-read-time)
5110 (todo-reevaluate-category-completions-files-defcustom)
5111 (todo-reevaluate-default-file-defcustom)
5112 (todo-reevaluate-filelist-defcustoms)
5113 (todo-reevaluate-filter-files-defcustom)
5114 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5115 (todo-reset-done-separator, todo-reset-done-separator-string)
5116 (todo-reset-done-string, todo-reset-global-current-todo-file)
5117 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5118 (todo-reset-prefix, todo-set-categories)
5119 (todo-set-date-from-calendar, todo-set-show-current-file)
5120 (todo-set-top-priorities, todo-short-file-name)
5121 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5122 (todo-total-item-counts, todo-update-buffer-list)
5123 (todo-update-categories-display, todo-update-categories-sexp)
5124 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5125 New functions.
5126 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5127 New major modes.
5128 (todo-categories, todo-display, todo-edit, todo-faces)
5129 (todo-filtered): New defgroups.
5130 (todo-archived-only, todo-button, todo-category-string, todo-date)
5131 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5132 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5133 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5134 (todo-add-item-if-new-category, todo-always-add-time-string)
5135 (todo-categories-align, todo-categories-archived-label)
5136 (todo-categories-category-label, todo-categories-diary-label)
5137 (todo-categories-done-label, todo-categories-number-separator)
5138 (todo-categories-todo-label, todo-categories-totals-label)
5139 (todo-category-completions-files, todo-completion-ignore-case)
5140 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5141 (todo-done-separator-string, todo-done-string)
5142 (todo-files-function, todo-filter-done-items, todo-filter-files)
5143 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5144 (todo-initial-category, todo-initial-file, todo-item-mark)
5145 (todo-legacy-date-time-regexp, todo-mode-line-function)
5146 (todo-nondiary-marker, todo-number-prefix)
5147 (todo-print-buffer-function, todo-show-current-file)
5148 (todo-show-done-only, todo-show-first, todo-show-with-done)
5149 (todo-skip-archived-categories, todo-top-priorities-overrides)
5150 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5151 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5152 New defcustoms.
5153 (todo-category-done, todo-date-pattern, todo-date-string-start)
5154 (todo-diary-items-buffer, todo-done-string-start)
5155 (todo-filtered-items-buffer, todo-item-start)
5156 (todo-month-abbrev-array, todo-month-name-array)
5157 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5158 (todo-top-priorities-buffer): New defconsts.
5159 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5160 (todo-categories-with-marks, todo-category-string-face)
5161 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5162 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5163 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5164 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5165 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5166 (todo-font-lock-keywords, todo-global-current-todo-file)
5167 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5168 (todo-insertion-commands-args)
5169 (todo-insertion-commands-args-genlist)
5170 (todo-insertion-commands-names, todo-insertion-map)
5171 (todo-key-bindings-t, todo-key-bindings-t+a)
5172 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5173 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5174 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5175 (todo-visited): New variables.
5176
5177 2013-06-21 Glenn Morris <rgm@gnu.org>
5178
5179 * play/cookie1.el (cookie-apropos): Add optional display argument.
5180 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5181 (psychoanalyze-pinhead): Use cookie-doctor.
5182
5183 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5184
5185 * emacs-lisp/package.el (tar-get-file-descriptor)
5186 (tar--extract): Declare.
5187
5188 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5189
5190 Extend flymake's warning predicate to be a function (bug#14217).
5191 * progmodes/flymake.el (flymake-warning-predicate): New.
5192 (flymake-parse-line): Use it.
5193 (flymake-warning-re): Make obsolete alias to
5194 `flymake-warning-predicate'.
5195
5196 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5199 (package-obsolete-list): Remove.
5200 (package-activate): Remove min-version argument. Add `force' argument.
5201 Adjust to new package-alist format.
5202 (package-mark-obsolete): Remove.
5203 (package-unpack): Force reload of the package's autoloads.
5204 (package-installed-p): Check builtins if the installed package is not
5205 recent enough.
5206 (package-initialize): Don't reset package-obsolete-list.
5207 Don't specify which package version to activate.
5208 (package-process-define-package, describe-package-1)
5209 (package-menu--generate): Adjust to new package-alist format.
5210
5211 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5212
5213 * allout-widgets.el (allout-widgets-mode-off)
5214 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5215 (allout-widgets-post-command-business)
5216 (allout-widgets-after-copy-or-kill-function)
5217 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5218 (allout-decorate-item-and-context)
5219 (allout-graphics-modification-handler): Fix typos in docstrings.
5220 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5221
5222 * cmuscheme.el (scheme-start-file): Doc fix.
5223 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5224 (scheme-input-filter): Use `string-match-p'.
5225
5226 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5227
5228 * dired-x.el: Use Dired consistently in docstrings.
5229
5230 * dired.el: Use Dired consistently in docstrings.
5231 (dired-readin, dired-mode): Use `setq-local'.
5232 (dired-switches-alist): Make defvar-local.
5233 (dired-buffers-for-dir): Use `zerop'.
5234 (dired-safe-switches-p, dired-switches-escape-p)
5235 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5236 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5237 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5238 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5239 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5240 (dired-toggle-marks, dired-mark-files-containing-regexp)
5241 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5242 (dired-flag-auto-save-files, dired-flag-backup-files):
5243 Use `looking-at-p'.
5244 (dired-mark-files-regexp, dired-build-subdir-alist):
5245 Use `string-match-p', `looking-at-p'.
5246
5247 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5248 (direct-print-region-helper): Use `string-match-p'.
5249
5250 2013-06-21 Leo Liu <sdl.web@gmail.com>
5251
5252 * comint.el (comint-redirect-results-list-from-process):
5253 Fix infinite loop.
5254
5255 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5256
5257 * net/eww.el (eww-update-header-line-format): Quote % characters.
5258
5259 2013-06-21 Glenn Morris <rgm@gnu.org>
5260
5261 * play/cookie1.el (cookie): New custom group.
5262 (cookie-file): New option.
5263 (cookie-check-file): New function.
5264 (cookie): Make it interactive. Make start and end messages optional.
5265 Interactively, display the result. Default to cookie-file.
5266 (cookie-insert): Default to cookie-file.
5267 (cookie-snarf): Make start and end messages optional.
5268 Default to cookie-file. Use with-temp-buffer.
5269 (cookie-read): Rename from read-cookie.
5270 Make start and end messages optional. Default to cookie-file.
5271 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5272 Do not autoload it.
5273 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5274 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5275
5276 2013-06-21 Leo Liu <sdl.web@gmail.com>
5277
5278 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5279
5280 2013-06-21 Glenn Morris <rgm@gnu.org>
5281
5282 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5283
5284 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5285 Daniel Hackney <dan@haxney.org>
5286
5287 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5288 Consolidate the single-file vs tarball code.
5289 (package-desc-suffix): New function.
5290 (package-desc-full-name): Don't bother inlining it.
5291 (package-load-descriptor): Return the new package-desc.
5292 (package-mark-obsolete): Remove unused arg `package'.
5293 (package-unpack): Make it work for single files as well.
5294 Make it update package-alist.
5295 (package--make-autoloads-and-stuff): Rename from
5296 package--make-autoloads-and-compile. Don't compile any more.
5297 (package--compile): New function.
5298 (package-generate-description-file): New function, extracted from
5299 package-unpack-single.
5300 (package-unpack-single): Remove.
5301 (package--with-work-buffer): Add indentation and debugging info.
5302 (package-download-single): Remove.
5303 (package-install-from-archive): Rename from package-download-tar, make
5304 it take a pkg-desc, and make it work for single files as well.
5305 (package-download-transaction): Simplify.
5306 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5307 external tar program.
5308 (package-install-from-buffer): Remove `pkg-desc' argument.
5309 Use package-tar-file-info for tar-mode buffers.
5310 (package-install-file): Simplify accordingly.
5311 (package-archive-base): Change to take a pkg-desc.
5312 * tar-mode.el (tar--check-descriptor): New function, extracted from
5313 tar-get-descriptor.
5314 (tar-get-descriptor): Use it.
5315 (tar-get-file-descriptor): New function.
5316 (tar--extract): New function, extracted from tar-extract.
5317 (tar--extract): Use it.
5318 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5319 case the summary uses non-ascii. Adjust to new calling convention of
5320 package-tar-file-info.
5321
5322 2013-06-21 Leo Liu <sdl.web@gmail.com>
5323
5324 * comint.el (comint-redirect-results-list-from-process):
5325 Fix random delay. (Bug#14681)
5326
5327 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5328
5329 * profiler.el (profiler-format-number): Use log, not log10.
5330
5331 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5332
5333 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5334
5335 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5338 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5339 yet available.
5340 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5341 (AUTOGENEL): ... here.
5342 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5343 (cl--defsubst-expand): Use it.
5344
5345 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5346
5347 * subr.el (log10): Move here from C code, and declare as obsolete.
5348 All uses of (log10 X) replaced with (log X 10).
5349
5350 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5351
5352 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5353 Declare with `defvar-local'.
5354 (tabulated-list-use-header-line, tabulated-list-entries)
5355 (tabulated-list-padding, tabulated-list-printer)
5356 (tabulated-list-sort-key): Declare with `defvar-local'.
5357 (tabulated-list-init-header, tabulated-list-print-fake-header):
5358 Use `setq-local'.
5359
5360 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5361
5362 * arc-mode.el (archive-mode): Add `archive-write-file' to
5363 `write-contents-functions' also for remote files. (Bug#14652)
5364
5365 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5366
5367 * cus-edit.el (custom-commands): Fix typos.
5368 (custom-display): Fix tooltip text.
5369 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5370 Fix typos in docstrings.
5371 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5372 (custom-unlispify-menu-entry, custom-magic-value-create)
5373 (custom-add-see-also, custom-group-value-create): Use ?\s.
5374 (custom-guess-type, customize-apropos, editable-field)
5375 (custom-face-value-create): Use `string-match-p'.
5376 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5377
5378 * custom.el (custom-load-symbol): Use `string-match-p'.
5379
5380 * ansi-color.el: Convert to lexical binding.
5381 (ansi-colors): Fix URL.
5382 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5383 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5384 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5385
5386 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387
5388 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5389
5390 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5391
5392 2013-06-19 Tom Tromey <tromey@redhat.com>
5393
5394 * net/eww.el (eww-top-url): Remove.
5395 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5396 (eww-render): Set new variables. Don't set eww-top-url.
5397 (eww-handle-link): Handle "prev", "home", and "contents".
5398 Downcase the rel text.
5399 (eww-top-url): Choose best top URL.
5400
5401 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5402
5403 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5404 relying in widget.el. Using widget.el leads to too many
5405 user interface inconsistencies.
5406 (eww-self-insert): Implement entering commands in text fields.
5407 (eww-process-text-input): New function to make text input field editing
5408 work.
5409 (eww-submit): Rewrite to use the new-style form methods.
5410 (eww-select-display): Display the correct selected item.
5411 (eww-change-select): Implement changing the select value.
5412 (eww-toggle-checkbox): Implement radio/checkboxes.
5413 (eww-update-field): Fix compilation error.
5414 (eww-tag-textarea): Implement <textarea>.
5415
5416 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5417 we don't shadow mode-specific bindings.
5418
5419 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5420 nothing to push.
5421
5422 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5423
5424 2013-06-19 Glenn Morris <rgm@gnu.org>
5425
5426 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5427
5428 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5429
5430 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5431 not needed.
5432
5433 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5434
5435 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5436
5437 * net/browse-url.el (browse-url-browser-function):
5438 `eww-browse-url' has the right calling signature, `eww' does not.
5439
5440 2013-06-19 Glenn Morris <rgm@gnu.org>
5441
5442 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5443 Only eval autoloaded macros.
5444 (byte-compile-autoload): Only give the macro warning for macros.
5445
5446 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5447 (ps-underlined-faces): Declare.
5448
5449 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5450 (speedbar-add-supported-extension): Declare.
5451
5452 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5453 Don't include a date stamp in the header of the generated file;
5454 it leads to needless differences between output files.
5455
5456 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5457
5458 * net/secrets.el (secrets-struct-secret-content-type):
5459 Replace check of introspection data by a test call of "CreateItem".
5460 Some servers do not offer introspection.
5461
5462 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * electric.el (electric-pair-mode): Improve interaction with
5465 electric-layout-mode.
5466 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5467 (electric-pair-syntax): Use text-mode-syntax-table in comments
5468 and strings.
5469 (electric-pair--insert): New function.
5470 (electric-pair-post-self-insert-function): Use it and
5471 electric--after-char-pos.
5472
5473 2013-06-19 Leo Liu <sdl.web@gmail.com>
5474
5475 * progmodes/octave.el (octave-help): Fix regexp.
5476
5477 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478
5479 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5480 (shr-table-horizontal-line): Allow nil as a value, and change the
5481 default.
5482 (shr-insert-table-ruler): Respect the nil value.
5483
5484 2013-06-18 Tom Tromey <tromey@barimba>
5485
5486 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5487 New defvars.
5488 (eww-open-file): New defun.
5489 (eww-render): Initialize new variables.
5490 (eww-display-html): Handle "link" and "a".
5491 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5492 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5493 (eww-back-url): Rename from eww-previous-url.
5494 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5495 New defuns.
5496
5497 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5498
5499 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5500 Distinguish ternary operator tokens from slash symbol and slash
5501 char literal.
5502
5503 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5504
5505 Convert symbol prettification into minor mode and global minor mode.
5506
5507 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5508 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5509 (prettify-symbols--keywords): Rename from
5510 `prog-prettify-symbols-alist' and make a local defvar.
5511 (prettify-symbols--compose-symbol): Rename from
5512 `prog--prettify-font-lock-compose-symbol'.
5513 (prettify-symbols--make-keywords): Rename from
5514 `prog-prettify-font-lock-symbols-keywords' and simplify.
5515 (prog-prettify-install): Remove.
5516 (prettify-symbols-mode): New minor mode, based on
5517 `prog-prettify-install'.
5518 (turn-on-prettify-symbols-mode): New function.
5519 (global-prettify-symbols-mode): New globalized minor mode.
5520
5521 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5522 * progmodes/cfengine.el (cfengine3-mode):
5523 * progmodes/perl-mode.el (perl-mode): Don't call
5524 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5525
5526 2013-06-18 Juri Linkov <juri@jurta.org>
5527
5528 * files-x.el (modify-file-local-variable-message): New function.
5529 (modify-file-local-variable)
5530 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5531 and call `modify-file-local-variable-message' when it's non-nil.
5532 (add-file-local-variable, delete-file-local-variable)
5533 (add-file-local-variable-prop-line)
5534 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5535 and use it. (Bug#9820)
5536
5537 2013-06-18 Juri Linkov <juri@jurta.org>
5538
5539 * emulation/vi.el (vi-shell-op):
5540 * emulation/vip.el (vip-execute-com, ex-command):
5541 * emulation/viper-cmd.el (viper-exec-bang):
5542 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5543 the call of `shell-command-on-region'. (Bug#14637)
5544
5545 * simple.el (shell-command-on-region): Doc fix.
5546
5547 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5550 (bug#14633).
5551
5552 2013-06-18 Glenn Morris <rgm@gnu.org>
5553
5554 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5555
5556 * newcomment.el (comment-search-forward, comment-search-backward):
5557 Doc fix. (Bug#14376)
5558
5559 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5560
5561 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5562 (buffer-face-mode-invoke): Doc fix.
5563
5564 2013-06-18 Matthias Meulien <orontee@gmail.com>
5565
5566 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5567 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5568
5569 2013-06-18 Glenn Morris <rgm@gnu.org>
5570
5571 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5572 Replace obsolete function generic-make-keywords with its expansion.
5573
5574 * progmodes/python.el (ffap-alist): Declare.
5575
5576 * textmodes/reftex.el (bibtex-mode-map): Declare.
5577
5578 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5581 (package-unpack, package-unpack-single): Return the pkg-dir.
5582 (package-download-transaction): Use it to update package-alist.
5583
5584 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5585
5586 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5587 possible choice.
5588
5589 2013-06-17 Juri Linkov <juri@jurta.org>
5590
5591 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5592
5593 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5594
5595 * emacs-lisp/package.el (package-load-descriptor):
5596 Remove `with-syntax-table' call, `read' doesn't need it.
5597 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5598
5599 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5600
5601 * startup.el (command-line): Expand package name returned by
5602 `package--description-file' (bug#14639).
5603
5604 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5605
5606 * emacs-lisp/package.el (package-load-descriptor): Do not call
5607 `emacs-lisp-mode', just use its syntax table.
5608
5609 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5612 `font-lock-extra-managed-props' if any prettifying keyword is added.
5613 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5614 (prog-mode): Use `setq-local'.
5615
5616 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * international/characters.el (standard-case-table): Set syntax of ?»
5619 and ?« to punctuation.
5620
5621 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5622
5623 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5624 Save relevant match data before calling `syntax-ppss' (bug#14595).
5625
5626 2013-06-15 Juri Linkov <juri@jurta.org>
5627
5628 * files-x.el (modify-file-local-variable-prop-line): Add local
5629 variables to the end of the existing comment on the first line.
5630 Use `file-auto-mode-skip' to skip interpreter magic line,
5631 and also skip XML declaration.
5632
5633 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * startup.el (package--builtin-versions): New var.
5636 (package-subdirectory-regexp): Remove.
5637 (package--description-file): Hard code its value instead.
5638
5639 * emacs-lisp/package.el: Don't activate packages older than builtin.
5640 (package-obsolete-list): Rename from package-obsolete-alist, and make
5641 it into a simple list of package-desc.
5642 (package-strip-version): Remove.
5643 (package-built-in-p): Use package--builtin-versions.
5644 (package-mark-obsolete): Simplify.
5645 (package-process-define-package): Mark it obsolete if older than the
5646 builtin version.
5647 (package-handle-response): Use line-end-position.
5648 (package-read-archive-contents, package--download-one-archive):
5649 Simplify.
5650 (package--add-to-archive-contents): Skip if older than the builtin or
5651 installed version.
5652 (package-menu-describe-package): Fix last change.
5653 (package-list-unversioned): New var.
5654 (package-menu--generate): Use it.
5655
5656 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5657 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5658 (autoload-builtin-package-versions): New variable.
5659 (autoload-generate-file-autoloads): Use them.
5660 Remove the list of autoloaded functions/macros from the
5661 (autoload...) comments.
5662
5663 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5664
5665 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5666
5667 * simple.el (line-move-partial): Don't jump to the next screen
5668 line as soon as it becomes visible. Instead, continue enlarging
5669 the vscroll until the portion of a tall screen line that's left on
5670 display is about the height of the frame's default font.
5671 (Bug#14567)
5672
5673 2013-06-15 Glenn Morris <rgm@gnu.org>
5674
5675 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5676 compilation-error-regexp-alist void, or local while let-bound.
5677
5678 * progmodes/make-mode.el (makefile-mode-syntax-table):
5679 Treat "=" as punctuation. (Bug#14614)
5680
5681 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5682
5683 * help-fns.el (describe-variable):
5684 Add extra line for permanent-local variables.
5685
5686 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5687
5688 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5689 Add export, import, library. (Bug#9164)
5690 (library): Set indent function.
5691
5692 2013-06-14 Glenn Morris <rgm@gnu.org>
5693
5694 * term/xterm.el (xterm--query):
5695 Stop after first matching handler. (Bug#14615)
5696
5697 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5698
5699 Add support for dired in saveplace.
5700 * dired.el (dired-initial-position-hook): New variable.
5701 (dired-initial-position): Call hook to place cursor position.
5702 * saveplace.el (save-place-to-alist): Add dired position.
5703 (save-place-dired-hook): New function.
5704
5705 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5708 through a symbol rather than letrec.
5709
5710 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5711 (package-desc): Add `dir' field.
5712 (package-desc-full-name): New function.
5713 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5714 (package-maybe-load-descriptor): Remove.
5715 (package-load-all-descriptors): Just call package-load-descriptor.
5716 (package--disabled-p): New function.
5717 (package-desc-vers, package-desc-doc): Remove aliases.
5718 (package--dir): Remove function.
5719 (package-activate): Check if a package is disabled.
5720 (package-process-define-package): New function, extracted from
5721 define-package.
5722 (define-package): Turn into a place holder.
5723 (package-unpack-single, package-tar-file-info):
5724 Use package--description-file.
5725 (package-compute-transaction): Use package--disabled-p.
5726 (package-download-transaction): Don't call
5727 package-maybe-load-descriptor since they're all loaded anyway.
5728 (package-install): Change argument to be a pkg-desc.
5729 (package-delete): Use a single pkg-desc argument.
5730 (describe-package-1): Use package-desc-dir instead of package--dir.
5731 Use package-desc property instead of package-symbol.
5732 (package-install-button-action): Adjust accordingly.
5733 (package--push): Rewrite.
5734 (package-menu--print-info): Adjust accordingly. Change the ID format
5735 to be a pkg-desc.
5736 (package-menu-describe-package, package-menu-get-status)
5737 (package-menu--find-upgrades, package-menu-mark-upgrades)
5738 (package-menu-execute, package-menu--name-predicate):
5739 Adjust accordingly.
5740 * startup.el (package--description-file): New function.
5741 (command-line): Use it.
5742 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5743 Use package-desc-version.
5744
5745 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5746 (byte-compile-preprocess): Use it.
5747 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5748 can't quite recognize.
5749 (byte-compile-add-to-list): Remove.
5750 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5751 (cconv-closure-convert): Add assertion.
5752
5753 * emacs-lisp/map-ynp.el: Use lexical-binding.
5754 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5755 Factor out some repeated code.
5756
5757 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * subr.el (with-eval-after-load): New macro.
5760 (eval-after-load): Allow form to be a function.
5761 take advantage of lexical-binding.
5762 (do-after-load-evaluation): Use dolist and adjust to new format.
5763 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5764
5765 2013-06-13 Juri Linkov <juri@jurta.org>
5766
5767 * replace.el (perform-replace): Display "symbol " and other search
5768 modes from `isearch-message-prefix' in the *Help* buffer.
5769
5770 * isearch.el (isearch-query-replace): Add " symbol" and other
5771 possible search modes from `isearch-message-prefix' to the prompt.
5772 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5773 when reading a regexp to collect.
5774
5775 2013-06-13 Juri Linkov <juri@jurta.org>
5776
5777 * isearch.el (word-search-regexp): Match whitespace if the search
5778 string begins or ends in whitespace. The LAX arg is applied to
5779 both ends of the search string. Use `regexp-quote' and explicit
5780 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5781 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5782 boundaries are replaced with symbol boundaries, and characters
5783 between symbols match non-word non-symbol syntax. (Bug#14602)
5784
5785 2013-06-13 Juri Linkov <juri@jurta.org>
5786
5787 * isearch.el (isearch-del-char): Don't exceed the length of
5788 `isearch-string' by the prefix arg. (Bug#14563)
5789
5790 2013-06-13 Juri Linkov <juri@jurta.org>
5791
5792 * isearch.el (isearch-yank-word, isearch-yank-line)
5793 (isearch-char-by-name, isearch-quote-char)
5794 (isearch-printing-char, isearch-process-search-char):
5795 Add optional count prefix arg. (Bug#14563)
5796
5797 * international/isearch-x.el
5798 (isearch-process-search-multibyte-characters):
5799 Add optional count prefix arg.
5800
5801 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5804 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5805 lexical-binding.
5806
5807 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5808
5809 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5810
5811 2013-06-13 Glenn Morris <rgm@gnu.org>
5812
5813 * startup.el (tty-handle-args):
5814 Don't just discard "--" and anything after. (Bug#14608)
5815
5816 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5817
5818 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5819
5820 Implement changes in Secret Service API. Make it backward compatible.
5821 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5822 (secrets-create-item): Use it. Prefix properties with interface.
5823
5824 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5825
5826 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5827 (term-emulate-terminal): Respect term-suppress-hard-newline.
5828
5829 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5830
5831 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5832 Only remove a `thumb-file' overlay. (Bug#14548)
5833
5834 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5835
5836 * mail/reporter.el (reporter-submit-bug-report):
5837 Handle missing package-name. (Bug#14600)
5838
5839 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5840
5841 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5842 (reftex-citation-prompt, reftex-default-bibliography)
5843 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5844 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5845 (reftex-bib-sort-author, reftex-bib-sort-year)
5846 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5847 (reftex-extract-bib-entries-from-thebibliography)
5848 (reftex-get-bibkey-default, reftex-get-bib-names)
5849 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5850 (reftex-format-bib-entry, reftex-parse-bibitem)
5851 (reftex-format-bibitem, reftex-do-citation)
5852 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5853 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5854 (reftex-insert-bib-matches, reftex-format-citation)
5855 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5856 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5857 existing comments into docstrings.
5858
5859 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5860
5861 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5862
5863 2013-06-12 Andreas Schwab <schwab@suse.de>
5864
5865 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5866 for auto-save files.
5867
5868 2013-06-12 Glenn Morris <rgm@gnu.org>
5869
5870 * ido.el (ido-delete-ignored-files): Remove.
5871 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5872 Go back to calling ido-ignore-item-p directly.
5873
5874 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5875
5876 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5877
5878 * ido.el (ido-delete-ignored-files): New function,
5879 split from ido-make-file-list-1.
5880 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5881 (ido-make-file-list-1): Use ido-delete-ignored-files.
5882
5883 2013-06-12 Leo Liu <sdl.web@gmail.com>
5884
5885 * progmodes/octave.el (inferior-octave-startup)
5886 (inferior-octave-completion-table)
5887 (inferior-octave-track-window-width-change)
5888 (octave-eldoc-function-signatures, octave-help)
5889 (octave-find-definition): Use single quoted strings.
5890 (inferior-octave-startup-args): Change default value.
5891 (inferior-octave-startup): Do not hard code "-i" and
5892 "--no-line-editing".
5893 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5894 (inferior-octave-directory-tracker): Use it.
5895 (octave-goto-function-definition): Robustify.
5896 (octave-help): Support highlighting operators in 'See also'.
5897 (octave-find-definition): Find subfunctions only in Octave mode.
5898
5899 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * help-fns.el (help-fns--compiler-macro): If the handler function is
5902 named, then put a link to it.
5903 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5904 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5905 (cl-typep): Use it.
5906 (cl-eval-when): Simplify debug spec.
5907 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5908 compiler-macro function instead of setting `compiler-macro-file'.
5909
5910 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5911
5912 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5913 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5914
5915 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5916 Daniel Hackney <dan@haxney.org>
5917
5918 First part of Daniel Hackney's patch to package.el.
5919 * emacs-lisp/package.el: Use defstruct.
5920 (package-desc): New, main struct.
5921 (package--bi-desc, package--ac-desc): New structs, used to describe the
5922 format in external files.
5923 (package-desc-vers): Replace with package-desc-version accessor.
5924 (package-desc-doc): Replace with package-desc-summary accessor.
5925 (package-activate-1): Remove `package' arg since the pkg-vec now
5926 includes the name.
5927 (define-package): Use package-desc-from-define.
5928 (package-unpack-single): Change file-name arg to be a symbol.
5929 (package--add-to-archive-contents): Use package-desc-create and new
5930 accessor functions to package--ac-desc.
5931 (package-buffer-info, package-tar-file-info): Return a package-desc.
5932 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5933 arg to be a package-desc.
5934 (package-install-file): Adjust accordingly. Use \' to match EOS.
5935 (package--from-builtin): New function.
5936 (describe-package-1, package-menu--generate): Use it.
5937 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5938 (package-generate-autoloads): Idem and return the name of the file.
5939 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5940 Change pkg-info arg to be a package-desc.
5941 Use package-make-ac-desc.
5942 (package-upload-file): Use \' to match EOS.
5943 * finder.el (finder-compile-keywords): Use package-make-builtin.
5944
5945 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * vc/vc.el (vc-deduce-fileset): Change error message.
5948 (vc-read-backend): New function.
5949 (vc-next-action): Use it.
5950
5951 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5952
5953 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5954 (prolog-font-lock-keywords): Use regexp-opt instead.
5955 Don't manually highlight strings.
5956 (prolog-mode-variables): Simplify comment-start-skip.
5957 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5958
5959 * emacs-lisp/generic.el (generic--normalise-comments)
5960 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5961 (generic-mode-set-comments): Use them.
5962 (generic-bracket-support): Use setq-local.
5963 (generic-make-keywords-list): Declare obsolete.
5964
5965 2013-06-11 Glenn Morris <rgm@gnu.org>
5966
5967 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5968 Prettify after setting font-lock-defaults. (Bug#14574)
5969
5970 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5971
5972 * replace.el (query-replace, occur-read-regexp-defaults-function)
5973 (replace-search):
5974 * subr.el (declare-function, number-sequence, local-set-key)
5975 (substitute-key-definition, locate-user-emacs-file)
5976 (with-silent-modifications, split-string, eval-after-load):
5977 Fix typos, remove unneeded backslashes and reflow some docstrings.
5978
5979 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5982 default for Elisp files.
5983
5984 2013-06-11 Glenn Morris <rgm@gnu.org>
5985
5986 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5987 although define-derived-mode was doing this anyway. (Bug#14583)
5988
5989 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5990
5991 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5992 Fix make-variable-buffer-local call to refer to the correct variable.
5993
5994 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5995
5996 * eshell/em-term.el (eshell-visual-commands)
5997 (eshell-visual-subcommands, eshell-visual-options):
5998 Add summary line to docstrings. Add cross-references.
5999
6000 2013-06-10 Glenn Morris <rgm@gnu.org>
6001
6002 * epa.el (epa-read-file-name): New function. (Bug#14510)
6003 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6004
6005 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6006
6007 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6008 output redirection to be ignored with visual commands.
6009
6010 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6011
6012 * eshell/em-term.el (eshell-visual-command-p): New function.
6013 (eshell-term-initialize): Move long lambda to separate function
6014 eshell-visual-command-p.
6015 * eshell/em-dirs.el (eshell-dirs-initialise):
6016 * eshell/em-script.el (eshell-script-initialize):
6017 Add missing #' to lambda.
6018
6019 2013-06-08 Leo Liu <sdl.web@gmail.com>
6020
6021 * progmodes/octave.el (octave-add-log-current-defun): New function.
6022 (octave-mode): Set add-log-current-defun-function.
6023 (octave-goto-function-definition): Do not move point if not found.
6024 (octave-find-definition): Enhance to try subfunctions first.
6025
6026 2013-06-08 Glenn Morris <rgm@gnu.org>
6027
6028 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6029 (byte-compile-backward-char, byte-compile-backward-word):
6030 Improve previous change, to handle non-explicit nil.
6031
6032 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6035 (smie--opener/closer-at-point): New function.
6036 (smie--matching-block-data): Use it. Don't match from right after an
6037 opener or right before a closer. Obey smie-blink-matching-inners.
6038 Don't signal a mismatch for repeated inners like "switch..case..case".
6039
6040 2013-06-07 Leo Liu <sdl.web@gmail.com>
6041
6042 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6043 to t. (Bug#14303)
6044 (octave-function-header-regexp): Fix. (Bug#14570)
6045 (octave-help-mode-finish-hook, octave-help-mode-finish):
6046 Remove. Just use temp-buffer-show-hook.
6047
6048 * newcomment.el (comment-search-backward): Revert last change.
6049 (Bug#14434)
6050
6051 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6052
6053 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6054
6055 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6056 through xargs, to avoid failure due to MS-Windows limitations on
6057 command-line length.
6058
6059 2013-06-06 Glenn Morris <rgm@gnu.org>
6060
6061 * font-lock.el (lisp-font-lock-keywords-2):
6062 Treat user-error like error.
6063
6064 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6065 (byte-compile-backward-char, byte-compile-backward-word):
6066 Handle explicit nil arguments. (Bug#14565)
6067
6068 2013-06-05 Alan Mackenzie <acm@muc.de>
6069
6070 * isearch.el (isearch-allow-prefix): New user option.
6071 (isearch-other-meta-char): Don't exit isearch when a prefix
6072 argument is typed whilst `isearch-allow-prefix' is non-nil.
6073 (Bug#9706)
6074
6075 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * autorevert.el (auto-revert-notify-handler): Use memq.
6078 Hide assertion failure.
6079
6080 * skeleton.el: Use cl-lib.
6081 (skeleton-further-elements): Use defvar-local.
6082 (skeleton-insert): Use cl-progv.
6083
6084 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6085
6086 * progmodes/prog-mode.el (prog-prettify-symbols)
6087 (prog-prettify-install): Update docstrings.
6088
6089 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * simple.el: Move all the prog-mode code to prog-mode.el.
6092 * progmodes/prog-mode.el: New file.
6093 * loadup.el: Add prog-mode.el.
6094
6095 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6096
6097 * simple.el (prog-prettify-symbols): Add version.
6098 (prog-prettify-install): Add convenience function to prettify symbols.
6099
6100 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6101 (perl--augmented-font-lock-keywords-1)
6102 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6103 variables and use it.
6104
6105 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6106 (cfengine3-mode): Remove unneeded variable and use it.
6107
6108 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6109 (lisp--augmented-font-lock-keywords-1)
6110 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6111 Remove unneeded variables and use it.
6112
6113 2013-06-05 João Távora <joaotavora@gmail.com>
6114
6115 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6116 to point when opening the connection. (Bug#14380)
6117
6118 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * subr.el (load-history-regexp, load-history-filename-element)
6121 (eval-after-load, after-load-functions, do-after-load-evaluation)
6122 (eval-next-after-load, display-delayed-warnings)
6123 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6124 definition of save-match-data.
6125 (overriding-local-map): Remove accidental obsolescence declaration.
6126
6127 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6128
6129 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6130
6131 Generalize symbol prettify support to prog-mode and implement it
6132 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6133 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6134 (prog--prettify-font-lock-compose-symbol)
6135 (prog-prettify-font-lock-symbols-keywords): New variables and
6136 functions to support symbol prettification.
6137 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6138 (lisp--augmented-font-lock-keywords-1)
6139 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6140 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6141 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6142 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6143 Implement prettify of -> => :: strings.
6144 * progmodes/perl-mode.el (perl-prettify-symbols)
6145 (perl--font-lock-compose-symbol)
6146 (perl--font-lock-symbols-keywords): Move to prog-mode.
6147 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6148 (perl-font-lock-keywords-1)
6149 (perl-font-lock-keywords-2): Remove explicit prettify support.
6150 (perl--augmented-font-lock-keywords)
6151 (perl--augmented-font-lock-keywords-1)
6152 (perl--augmented-font-lock-keywords-2, perl-mode):
6153 Implement prettify support.
6154
6155 2013-06-05 Leo Liu <sdl.web@gmail.com>
6156
6157 Re-implement smie matching block highlight using
6158 show-paren-data-function. (Bug#14395)
6159 * emacs-lisp/smie.el (smie-matching-block-highlight)
6160 (smie--highlight-matching-block-overlay)
6161 (smie--highlight-matching-block-lastpos)
6162 (smie-highlight-matching-block)
6163 (smie-highlight-matching-block-mode): Remove.
6164 (smie--matching-block-data-cache): New variable.
6165 (smie--matching-block-data): New function.
6166 (smie-setup): Use smie--matching-block-data for
6167 show-paren-data-function.
6168
6169 * progmodes/octave.el (octave-mode-menu): Fix.
6170 (octave-find-definition): Skip garbage lines.
6171
6172 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 Fix compilation error with simultaneous dynamic+lexical scoping.
6175 Add warning when a defvar appears after the first let-binding.
6176 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6177 (byte-compile-close-variables): Initialize it.
6178 (byte-compile--declare-var): New function.
6179 (byte-compile-file-form-defvar)
6180 (byte-compile-file-form-define-abbrev-table)
6181 (byte-compile-file-form-custom-declare-variable): Use it.
6182 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6183 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6184 (byte-compile-bind): Handle dynamic bindings that shadow
6185 lexical bindings.
6186 (byte-compile-unbind): Make arg non-optional.
6187 (byte-compile-let): Simplify.
6188 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6189 (cconv--analyse-function, cconv-analyse-form): Populate it.
6190 Protect byte-compile-bound-variables to limit the scope of defvars.
6191 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6192 Remove unneeded rule for `declare'.
6193
6194 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6195 so as to avoid depending on cl-adjoin at run-time.
6196 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6197
6198 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6199 (macroexp--warn-and-return): Use it.
6200
6201 2013-06-05 Leo Liu <sdl.web@gmail.com>
6202
6203 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6204
6205 2013-06-04 Leo Liu <sdl.web@gmail.com>
6206
6207 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6208 (compilation-auto-jump): Suppress the "Mark set" message to give
6209 way to exit message.
6210
6211 2013-06-04 Alan Mackenzie <acm@muc.de>
6212
6213 Remove faulty optimisation from indentation calculation.
6214 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6215 search limit based on 2000 characters back from indent-point.
6216
6217 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6218
6219 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6220
6221 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/lisp.el: Use lexical-binding.
6224 (lisp--local-variables-1, lisp--local-variables): New functions.
6225 (lisp--local-variables-completion-table): New var.
6226 (lisp-completion-at-point): Use it complete let-bound vars.
6227
6228 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6229 eagerly (bug#14422).
6230
6231 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6232
6233 * autorevert.el (auto-revert-notify-enabled)
6234 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6235 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6236 (auto-revert-notify-handler): Handle also gfilenotify.
6237
6238 * subr.el (file-notify-handle-event): New defun. Replacing ...
6239 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6240 Remove.
6241
6242 2013-06-03 Juri Linkov <juri@jurta.org>
6243
6244 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6245 `M-s h .'. (Bug#14427)
6246
6247 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6248 command `hi-lock-face-symbol-at-point'.
6249 (hi-lock-face-symbol-at-point): New command.
6250 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6251 (hi-lock-menu): Add `highlight-symbol-at-point'.
6252 (hi-lock-mode): Doc fix.
6253
6254 * isearch.el (isearch-forward-symbol-at-point): New command.
6255 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6256 (isearch-highlight-regexp): Add a regexp which matches
6257 words/symbols for word/symbol mode.
6258
6259 * subr.el (find-tag-default-bounds): New function with the body
6260 mostly moved from `find-tag-default'.
6261 (find-tag-default): Move most code to `find-tag-default-bounds',
6262 call it and apply `buffer-substring-no-properties' afterwards.
6263
6264 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6265
6266 * eshell/em-term.el (eshell-term-initialize):
6267 Use `cl-intersection' rather than `intersection'.
6268
6269 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6270
6271 * vc/log-view.el: Doc fix.
6272 (log-view-mode-map): Copy keymap from `special-mode-map'.
6273
6274 2013-06-02 Eric Ludlam <zappo@gnu.org>
6275
6276 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6277 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6278 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6279 (eieio-unbound, eieio-default-superclass)
6280 (eieio--define-field-accessors, method-static, method-before)
6281 (method-primary, method-after, method-num-lists)
6282 (method-generic-before, method-generic-primary)
6283 (method-generic-after, method-num-slots)
6284 (eieio-specialized-key-to-generic-key)
6285 (eieio--check-type, class-v, class-p)
6286 (eieio-class-name, define-obsolete-function-alias)
6287 (eieio-class-parents-fast, eieio-class-children-fast)
6288 (same-class-fast-p, class-constructor, generic-p)
6289 (generic-primary-only-p, generic-primary-only-one-p)
6290 (class-option-assoc, class-option, eieio-object-p)
6291 (class-abstract-p, class-method-invocation-order)
6292 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6293 (eieio-class-un-autoload, eieio-defclass)
6294 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6295 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6296 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6297 (eieio-defgeneric-reset-generic-form)
6298 (eieio-defgeneric-form-primary-only)
6299 (eieio-defgeneric-reset-generic-form-primary-only)
6300 (eieio-defgeneric-form-primary-only-one)
6301 (eieio-defgeneric-reset-generic-form-primary-only-one)
6302 (eieio-unbind-method-implementations)
6303 (eieio--defmethod, eieio--typep)
6304 (eieio-perform-slot-validation, eieio-validate-slot-value)
6305 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6306 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6307 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6308 (eieio-slot-name-index, eieio-class-slot-name-index)
6309 (eieio-set-defaults, eieio-initarg-to-attribute)
6310 (eieio-attribute-to-initarg, eieio-c3-candidate)
6311 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6312 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6313 (eieio-class-precedence-list, eieio-generic-call-methodname)
6314 (eieio-generic-call-arglst, eieio-generic-call-key)
6315 (eieio-generic-call-next-method-list)
6316 (eieio-pre-method-execution-functions, eieio-generic-call)
6317 (eieio-generic-call-primary-only, eieiomt-method-list)
6318 (eieiomt-optimizing-obarray, eieiomt-install)
6319 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6320 (eieio-generic-form, eieio-defmethod, make-obsolete)
6321 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6322 (defclass): Remove `eval-and-compile' from macro.
6323 (call-next-method, shared-initialize): Instead of using
6324 `scoped-class' variable, use new eieio--scoped-class, and
6325 eieio--with-scoped-class.
6326 (initialize-instance): Rename local variable 'scoped-class' to
6327 'this-class' to remove ambiguitity from old global.
6328
6329 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6330 eieio.el.
6331 (eieio--scoped-class-stack): New variable.
6332 (eieio--scoped-class): New fcn.
6333 (eieio--with-scoped-class): New scoping macro.
6334 (eieio-defclass): Use pushnew instead of add-to-list.
6335 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6336 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6337 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6338 `scoped-class' variable, use new eieio--scoped-class, and
6339 eieio--with-scoped-class.
6340
6341 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6342
6343 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6344
6345 * eshell/esh-ext.el (eshell-external-command): Pass args to
6346 `eshell-find-interpreter'.
6347 (eshell-find-interpreter): Add new second parameter ARGS.
6348
6349 * eshell/em-script.el (eshell-script-initialize): Add second arg
6350 to the function added as MATCH to `eshell-interpreter-alist'.
6351
6352 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6353 the function added as MATCH to `eshell-interpreter-alist'.
6354
6355 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6356 (eshell-visual-options): New defcustom.
6357 (eshell-escape-control-x): Adapt docstring.
6358 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6359 `eshell-visual-options' in addition to `eshell-visual-commands'.
6360 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6361
6362 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6363
6364 * progmodes/python.el (python-indent-block-enders): Add break,
6365 continue and raise keywords.
6366
6367 2013-06-01 Glenn Morris <rgm@gnu.org>
6368
6369 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6370
6371 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6372 * progmodes/cc-cmds.el (delete-forward-p):
6373 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6374 * progmodes/cc-engine.el (buffer-syntactic-context):
6375 * progmodes/cc-fonts.el (face-property-instance):
6376 * progmodes/cc-mode.el (set-keymap-parents):
6377 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6378 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6379 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6380 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6381 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6382
6383 * progmodes/cc-vars.el (other): Emacs has this widget since
6384 at least 21.1, so don't (re)define it.
6385
6386 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6387 Replace the obsolete alias pcomplete-arg-quote-list.
6388
6389 2013-06-01 Leo Liu <sdl.web@gmail.com>
6390
6391 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6392 punctuation syntax.
6393 (inferior-octave-minimal-columns)
6394 (inferior-octave-last-column-width): New variables.
6395 (inferior-octave-track-window-width-change): New function.
6396 (inferior-octave-mode): Adjust column width so that Octave output,
6397 for example from 'ls', can fit into the window nicely.
6398
6399 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6400
6401 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6402 Highlight expansions inside regexp literals.
6403
6404 2013-05-31 Glenn Morris <rgm@gnu.org>
6405
6406 * obsolete/sym-comp.el (symbol-complete):
6407 Replace obsolete completion-annotate-function.
6408
6409 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6410
6411 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6412
6413 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6414 New function, checks if point is inside a literal that allows
6415 expression expansion.
6416 (ruby-syntax-propertize-expansion): Use it.
6417 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6418 around the body.
6419
6420 2013-05-30 Juri Linkov <juri@jurta.org>
6421
6422 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6423 to "\M-si".
6424 (isearch-invisible): New variable.
6425 (isearch-forward): Doc fix.
6426 (isearch-mode): Set `isearch-invisible'
6427 to the value of `search-invisible'.
6428 (isearch-toggle-case-fold): Doc fix.
6429 (isearch-toggle-invisible): New command.
6430 (isearch-query-replace): Let-bind `search-invisible'
6431 to the value of `isearch-invisible'.
6432 (isearch-search): Use `isearch-invisible' instead of
6433 `search-invisible'. Let-bind `search-invisible'
6434 to the value of `isearch-invisible'. (Bug#11378)
6435
6436 2013-05-30 Juri Linkov <juri@jurta.org>
6437
6438 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6439 call when `query-flag' is nil and `search-invisible' is non-nil.
6440 (Bug#11746)
6441
6442 2013-05-30 Glenn Morris <rgm@gnu.org>
6443
6444 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6445
6446 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6447 (cc-require): Suppress spurious "noruntime" warnings.
6448 (cc-require-when-compile): Use fboundp, for sake of compiler.
6449
6450 * progmodes/cc-mode.el: Move load of cc-vars before that of
6451 cc-langs (which in turn loads cc-vars), to quieten compiler.
6452
6453 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * paren.el: Simplify the code.
6456 (show-paren-mode): Always start the timer.
6457 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6458 (show-paren--overlay, show-paren--overlay-1): Rename from
6459 show-paren-overlay and show-paren-overlay-1, and initialize to an
6460 overlay rather than to nil.
6461 (show-paren-function): Misc cleanup and simplifications.
6462
6463 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * paren.el (show-paren-data-function): New hook.
6466 (show-paren--default): New function, extracted from show-paren-function.
6467 (show-paren-function): Use show-paren-data-function.
6468
6469 2013-05-30 Glenn Morris <rgm@gnu.org>
6470
6471 * ielm.el (ielm-map, ielm-complete-symbol):
6472 Use completion-at-point rather than obsolete functions.
6473 (inferior-emacs-lisp-mode): Doc fix.
6474 Set completion-at-point-functions, rather than
6475 comint-dynamic-complete-functions.
6476
6477 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6478 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6479 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6480
6481 * image.el (image-animated-p): Tweak definition.
6482
6483 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6484 (rlogin-process-connection-type): Tweak default. Add set-after.
6485 (rlogin-host): Doc fix.
6486 (rlogin): Tweak prompt.
6487 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6488
6489 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6490 * progmodes/tcl.el (inferior-tcl-mode-map):
6491 Use completion-at-point rather than obsolete alias.
6492
6493 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6494
6495 * minibuffer.el (read-file-name-completion-ignore-case):
6496 Move before completion--in-region, for eager macro expansion.
6497
6498 2013-05-29 Juri Linkov <juri@jurta.org>
6499
6500 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6501 for total count of matching lines. Add `global-matches' for total
6502 count of matches. Rename `matches' to `lines' for count of
6503 matching lines. Add `matches' for count of matches.
6504 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6505 to `prev-line' for line number of prev match endpt.
6506 Increment `matches' for every match. Print the number of
6507 matching lines in the header.
6508 (occur-context-lines): Rename `lines' to `curr-line'.
6509 Rename `prev-lines' to `prev-line'. (Bug#14017)
6510
6511 2013-05-29 Juri Linkov <juri@jurta.org>
6512
6513 * replace.el (perform-replace): Add `skip-read-only-count',
6514 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6515 Increment them for corresponding conditions and report the number
6516 of skipped occurrences in the final message. (Bug#11746)
6517 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6518 (replace-string, replace-regexp): Doc fix.
6519
6520 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6523
6524 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6525 prog-mode-map (bug#14504).
6526
6527 2013-05-29 Leo Liu <sdl.web@gmail.com>
6528
6529 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6530 (octave-help): Small simplification.
6531
6532 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6533 off the highlight first.
6534
6535 2013-05-29 Glenn Morris <rgm@gnu.org>
6536
6537 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6538 Handle idlwave-last-system-routine-info-cons-cell being nil.
6539
6540 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6541 (idlwave-write-paths): Simplify via with-temp-buffer.
6542
6543 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6544 * emulation/cua-rect.el: Also load cua-base at run time.
6545
6546 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6547 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6548 (cperl-imenu-on-info): Require imenu.
6549
6550 2013-05-28 Alan Mackenzie <acm@muc.de>
6551
6552 Handle "capitalised keywords" correctly.
6553 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6554
6555 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6556
6557 * eshell/em-unix.el: Add -r option to cp.
6558
6559 2013-05-28 Glenn Morris <rgm@gnu.org>
6560
6561 * vc/vc-arch.el (vc-exec-after): Declare.
6562 (vc-switches): Autoload.
6563 * vc/vc-bzr.el: No need to require vc when compiling.
6564 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6565 (vc-resynch-buffer, vc-dir-refresh): Declare.
6566 (vc-setup-buffer, vc-switches): Autoload.
6567 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6568 (vc-resynch-buffer): Declare.
6569 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6570 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6571 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6572 (grep-read-regexp, grep-read-files, grep-expand-template)
6573 (vc-dir-refresh): Declare.
6574 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6575 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6576 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6577 * vc/vc-mtn.el (vc-exec-after): Declare.
6578 (vc-switches): Autoload.
6579 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6580 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6581 (vc-file-tree-walk): Declare.
6582 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6583 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6584 (vc-tag-precondition, vc-rename-master): Autoload.
6585 * vc/vc-svn.el (vc-exec-after): Declare.
6586 (vc-switches, vc-setup-buffer): Autoload.
6587 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6588 Autoload.
6589 (vc-resynch-buffer): Declare.
6590
6591 * obsolete/fast-lock.el (byte-compile-warnings):
6592 Don't warn about obsolete features in this obsolete file.
6593
6594 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6595 Move definition before use.
6596
6597 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6598 (dun-unix-verbs): Remove dun-zippy.
6599 (dun-zippy): Remove function.
6600
6601 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6602
6603 2013-05-27 Juri Linkov <juri@jurta.org>
6604
6605 * replace.el (replace-search): New function with code moved out
6606 from `perform-replace'.
6607 (replace-highlight, replace-dehighlight): Move function definitions
6608 up closer to `replace-search'. (Bug#11746)
6609
6610 2013-05-27 Juri Linkov <juri@jurta.org>
6611
6612 * replace.el (perform-replace): Ignore invisible matches.
6613 In addition to checking `query-replace-skip-read-only', also
6614 filter out matches by calling `run-hook-with-args-until-failure'
6615 on `isearch-filter-predicates', and also check `search-invisible'
6616 for t or call `isearch-range-invisible'.
6617 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6618
6619 2013-05-27 Juri Linkov <juri@jurta.org>
6620
6621 * isearch.el (isearch-filter-predicates): Rename from
6622 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6623 (isearch-message-prefix): Display text from the property
6624 `isearch-message-prefix' of the currently active filters.
6625 (isearch-search): Don't compare `isearch-filter-predicate' with
6626 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6627 on `isearch-filter-predicates'. Also check `search-invisible' for t
6628 or call `isearch-range-invisible'.
6629 (isearch-filter-visible): Make obsolete.
6630 (isearch-lazy-highlight-search):
6631 Call `run-hook-with-args-until-failure' on
6632 `isearch-filter-predicates' and use `isearch-range-invisible'.
6633
6634 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6635 `isearch-filter-predicates' instead of `funcall'ing
6636 `isearch-filter-predicate'.
6637 (Info-mode): Set `Info-isearch-filter' to
6638 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6639
6640 * dired-aux.el (dired-isearch-filter-predicate-orig):
6641 Remove variable.
6642 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6643 (dired-isearch-filenames-end): Add and remove
6644 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6645 instead of changing the value of `isearch-filter-predicate'.
6646 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6647 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6648 Put property `isearch-message-prefix' to "filename " on
6649 `dired-isearch-filter-filenames'.
6650
6651 * wdired.el (wdired-change-to-wdired-mode):
6652 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6653 locally instead of changing `isearch-filter-predicate'.
6654 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6655
6656 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6657
6658 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6659 return the commit hash (Bug#14459). Also set the
6660 `vc-git-detached' property.
6661 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6662 (vc-git-mode-line-string): Use the same help-echo format whether
6663 in detached mode or not, because we know the actual revision now.
6664 When in detached mode, shorten the revision to 7 chars.
6665
6666 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * emacs-lisp/easy-mmode.el (define-minor-mode):
6669 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6670 mode hook and provide a docstring.
6671
6672 2013-05-27 Alan Mackenzie <acm@muc.de>
6673
6674 Remove spurious syntax-table text properties inserted by C-y.
6675 * progmodes/cc-mode.el (c-after-change): Also clear hard
6676 syntax-table property with value nil.
6677
6678 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6679
6680 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6681 when reading the events; the buffer layout shall not be changed.
6682
6683 2013-05-27 Leo Liu <sdl.web@gmail.com>
6684
6685 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6686 New variable.
6687 (inferior-octave-directory-tracker): Automatically re-sync
6688 default-directory.
6689 (octave-help): Improve handling of 'See also'.
6690
6691 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * doc-view.el: Minor naming convention tweaks.
6694 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6695
6696 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6697 even if there's no `display' property yet (bug#14435).
6698
6699 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6700
6701 * subr.el (unmsys--file-name): Rename from reveal-filename.
6702
6703 * Makefile.in (custom-deps, finder-data, autoloads)
6704 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6705 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6706 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6707
6708 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6711 error-completion on the first 2 args of condition-case (bug#14446).
6712 Don't burp at EOB.
6713
6714 2013-05-25 Leo Liu <sdl.web@gmail.com>
6715
6716 * comint.el (comint-previous-matching-input): Do not flood the
6717 *Messages* buffer with trivial messages.
6718
6719 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * progmodes/flymake.el (flymake-nop): Don't return a string.
6722 (flymake-set-at): Fix typo.
6723
6724 * simple.el (read--expression): New function, extracted from
6725 eval-expression. Set completion-at-point-functions (bug#14465).
6726 (eval-expression, eval-minibuffer): Use it.
6727
6728 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6729
6730 * progmodes/flymake.el (flymake-save-buffer-in-file)
6731 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6732 (flymake-selected-frame, flymake-log, flymake-ins-after)
6733 (flymake-set-at, flymake-get-buildfile-from-cache)
6734 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6735 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6736 Refine the doc string.
6737 (flymake-get-file-name-mode-and-masks): Reformat.
6738 (flymake-get-real-file-name-function): Fix a minor bug.
6739
6740 2013-05-24 Juri Linkov <juri@jurta.org>
6741
6742 * progmodes/grep.el (grep-mode-font-lock-keywords):
6743 Support =linenumber= format used by git-grep for lines with
6744 function names. (Bug#13549)
6745
6746 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6749 0 after a semi-colon; it works better for smie-auto-fill.
6750 (octave--indent-new-comment-line): New function.
6751 (octave-indent-new-comment-line): Use it (indirectly).
6752 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6753 modify comment-line-break-function.
6754
6755 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6756 (smie-setup): Use add-function to set it.
6757
6758 2013-05-24 Sam Steingold <sds@gnu.org>
6759
6760 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6761 argument (before the `interactive' argument).
6762
6763 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * image-mode.el (image-mode-winprops): Add winprops to
6766 image-mode-winprops-alist before running
6767 image-mode-new-window-functions.
6768 * doc-view.el (doc-view-new-window-function): Don't delay
6769 doc-view-goto-page via timers (bug#14435).
6770
6771 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6772
6773 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6774 (doc-view-desktop-save-buffer): New function.
6775 (doc-view-restore-desktop-buffer): New function.
6776 (desktop-buffer-mode-handlers):
6777 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6778 handler.
6779 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6780 `desktop-save-buffer' function.
6781
6782 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6783
6784 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6785 (tramp-gvfs-file-name-handler): Raise a user error when
6786 `tramp-gvfs-enabled' is nil.
6787 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6788 Do not raise a user error when loading package. (Bug#14447)
6789
6790 * net/xesam.el: Move to obsolete/.
6791
6792 2013-05-24 Glenn Morris <rgm@gnu.org>
6793
6794 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6795
6796 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6797
6798 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6799 (Info-find-node, Man-getpage-in-background): Declare.
6800
6801 * mail/unrmail.el (unrmail):
6802 Replace obsolete detect-coding-with-priority.
6803
6804 * net/socks.el (socks-split-string): Use this rather than split-string.
6805 (socks-nslookup-host): Update for above change.
6806 (dynamic-choice, s5-dynamic-choice-match)
6807 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6808 Comment out unused code.
6809
6810 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6811 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6812 (gud-tooltip-echo-area): Make obsolete.
6813 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6814
6815 * progmodes/js.el (js--optimize-arglist): Declare.
6816
6817 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6818
6819 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6820 (ediff-window-C): Declare.
6821
6822 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6823 Tweak requires to silence compiler.
6824
6825 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6826 (he-search-string, he-tried-table, he-expand-list)
6827 (he-init-string, he-string-member, he-substitute-string)
6828 (he-reset-string): Declare.
6829
6830 * obsolete/options.el (list-options): Use custom-variable-p,
6831 rather than obsolete alias.
6832
6833 2013-05-23 Sam Steingold <sds@gnu.org>
6834
6835 * simple.el (shell-command-on-region): Pass the `replace' argument
6836 down to `call-process-region' to comply with the doc as reported on
6837 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6838
6839 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * emacs-lisp/smie.el (smie-indent-forward-token)
6842 (smie-indent-backward-token): Handle string tokens (bug#14381).
6843
6844 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6845
6846 * ielm.el (ielm-menu): New menu.
6847 (inferior-emacs-lisp-mode): Set comment-start.
6848
6849 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6850
6851 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6852 Fix deactivate action.
6853
6854 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6855 Add cleveref macros.
6856
6857 * lisp/textmodes/reftex-parse.el
6858 (reftex-locate-bibliography-files): Accept options for
6859 bibliography commands.
6860 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6861 Add addbibresource. Basic Biblatex support.
6862
6863 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/tramp-gvfs.el (top):
6866 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6867 when loading package. (Bug#14447)
6868
6869 2013-05-23 Glenn Morris <rgm@gnu.org>
6870
6871 * progmodes/js.el: No need to load comint when compiling.
6872 (ring-insert, comint-send-string, comint-send-input)
6873 (comint-last-input-end, ido-chop): Declare.
6874
6875 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6876 * vc/ediff-mult.el: Adjust requires.
6877 (ediff-directories-internal, ediff-directory-revisions-internal)
6878 (ediff-patch-file-internal): Declare.
6879 * vc/ediff-ptch.el: Adjust requires.
6880 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6881 (ediff-find-file): Autoload.
6882 * vc/ediff-util.el: No need to load ediff when compiling.
6883 (ediff-regions-internal): Declare.
6884 * vc/ediff-wind.el: Adjust requires.
6885 (ediff-compute-toolbar-width): Define when compiling.
6886 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6887 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6888 (dired-get-filename, dired-get-marked-files)
6889 (ediff-last-dir-patch, ediff-patch-default-directory)
6890 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6891 (ediff-patch-buffer-internal): Declare.
6892
6893 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6894 (ispell-process, ispell-buffer-local-words, lm-summary)
6895 (lm-section-start, lm-section-end): Declare.
6896 (checkdoc-ispell-init): Simplify.
6897
6898 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6899 (he-string-member, he-reset-string, he-substitute-string): Declare.
6900
6901 * eshell/em-ls.el: Adjust requires.
6902 (eshell-glob-regexp): Declare.
6903 * eshell/em-tramp.el: Adjust requires.
6904 (eshell-parse-command): Autoload.
6905 * eshell/em-xtra.el: Adjust requires.
6906 (eshell-parse-command): Autoload.
6907 * eshell/esh-ext.el: Adjust requires.
6908 (eshell-parse-command, eshell-close-handles): Autoload.
6909 * eshell/esh-io.el: Adjust requires.
6910 (eshell-output-filter): Autoload.
6911 * eshell/esh-util.el: No need to load tramp when compiling.
6912 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6913 Declare.
6914 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6915 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6916 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6917 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6918 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6919 * eshell/esh-opt.el, eshell/esh-proc.el:
6920 * eshell/esh-var.el: Adjust requires.
6921 * eshell/eshell.el: Do not require esh-util twice.
6922 (eshell-add-input-to-history): Declare.
6923 (eshell-command): Check history module is active before using it.
6924
6925 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6926
6927 2013-05-22 Leo Liu <sdl.web@gmail.com>
6928
6929 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6930
6931 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6932
6933 * autorevert.el (auto-revert-notify-add-watch)
6934 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6935 it indicates changes in file modification time.
6936
6937 2013-05-22 Glenn Morris <rgm@gnu.org>
6938
6939 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6940 Always delete the autoloaded function from the noruntime and
6941 unresolved functions lists.
6942
6943 * allout.el: No need to load epa, epg, overlay when compiling.
6944 (epg-context-set-passphrase-callback, epg-list-keys)
6945 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6946 (epg-key-user-id-list): Declare.
6947
6948 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6949 (viper-set-parsing-style-toggling-macro)
6950 (viper-set-emacs-state-searchstyle-macros):
6951 Use called-interactively-p on Emacs.
6952 (viper-looking-back): Make it an obsolete alias. Update callers.
6953 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6954 Use looking-back rather than viper-looking-back.
6955 (viper-tmp-insert-at-eob, viper-enlarge-region)
6956 (viper-read-string-with-history, viper-register-to-point)
6957 (viper-append-to-register, viper-change-state-to-vi)
6958 (viper-backward-char-carefully, viper-forward-char-carefully)
6959 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6960 (viper-change-state-to-emacs): Declare.
6961 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6962 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6963 * emulation/viper-mous.el: Do not load viper-cmd.
6964 (viper-backward-char-carefully, viper-forward-char-carefully)
6965 (viper-forward-word, viper-adjust-window): Declare.
6966
6967 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6968
6969 * progmodes/idlw-help.el (idlwave-help-fontify):
6970 Use called-interactively-p.
6971
6972 * term/w32console.el (w32-get-console-codepage)
6973 (w32-get-console-output-codepage): Declare.
6974
6975 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6976 Remove unnecessary declarations.
6977 (dframe-message): Doc fix.
6978
6979 * info.el (dframe-select-attached-frame, dframe-current-frame):
6980 Declare.
6981
6982 * speedbar.el (speedbar-message): Make it an obsolete alias.
6983 Update all callers.
6984 (speedbar-with-attached-buffer)
6985 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6986 (speedbar-with-writable): Use backquote.
6987 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6988 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6989 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6990 rather than speedbar- aliases.
6991 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6992 (speedbar-make-specialized-keymap, speedbar-insert-button)
6993 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6994 (speedbar-do-function-pointer): Declare.
6995 (rmail-speedbar-button, rmail-speedbar-find-file)
6996 (rmail-speedbar-move-message):
6997 Use dframe-with-attached-buffer rather than speedbar- alias.
6998 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6999 (dframe-message, speedbar-make-specialized-keymap)
7000 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7001 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7002 (speedbar-insert-button, dframe-select-attached-frame)
7003 (dframe-maybee-jump-to-attached-frame)
7004 (speedbar-change-initial-expansion-list)
7005 (speedbar-previously-used-expansion-list-name): Declare.
7006 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7007 Use dframe-message, dframe-with-attached-buffer rather than
7008 speedbar- aliases.
7009 (gud-sentinel): Silence compiler.
7010 * progmodes/vhdl-mode.el (speedbar-refresh)
7011 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7012 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7013 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7014 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7015 (speedbar-file-lists, speedbar-make-tag-line)
7016 (speedbar-line-directory, speedbar-goto-this-file)
7017 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7018 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7019 (speedbar-make-button, speedbar-reset-scanners)
7020 (speedbar-files-item-info, speedbar-line-text)
7021 (speedbar-find-file-in-frame, speedbar-set-timer)
7022 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7023 (speedbar-with-writable): Do not (re)define it.
7024 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7025 rather than speedbar- alias.
7026
7027 2013-05-21 Leo Liu <sdl.web@gmail.com>
7028
7029 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7030 menu items.
7031 (octave-mode): Tweak fill-nobreak-predicate.
7032 (inferior-octave-startup): Check process to avoid infinite loop.
7033 (inferior-octave): Pop to buffer first to show abornmal process
7034 exit information.
7035
7036 2013-05-21 Glenn Morris <rgm@gnu.org>
7037
7038 * printing.el (pr-menu-bar): Define when compiling.
7039
7040 2013-05-21 Leo Liu <sdl.web@gmail.com>
7041
7042 * progmodes/octave.el (octave-auto-fill): Remove.
7043 (octave-indent-new-comment-line): Improve.
7044 (octave-mode): Use auto fill mode through
7045 comment-line-break-function and fill-nobreak-predicate.
7046 (octave-goto-function-definition): Support DEFUN_DLD.
7047 (octave-beginning-of-defun): Small tweak.
7048 (octave-help): Show parent directory.
7049
7050 2013-05-21 Glenn Morris <rgm@gnu.org>
7051
7052 * files.el (dired-unmark):
7053 * progmodes/gud.el (gdb-input): Update declarations.
7054
7055 * calculator.el (electric, ehelp): No need to load when compiling.
7056 (Electric-command-loop, electric-describe-mode): Declare.
7057
7058 * doc-view.el (doc-view-current-converter-processes): Move before use.
7059
7060 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7061 Move MODE-set-explicitly definition before use.
7062
7063 * international/mule-diag.el (mule-diag):
7064 Don't use obsolete window-system-version.
7065
7066 * mail/feedmail.el (smtpmail): No need to load when compiling.
7067 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7068
7069 * mail/mail-utils.el (rfc822): No need to load when compiling.
7070 (rfc822-addresses): Autoload it.
7071 (mail-strip-quoted-names): Trivial simplification.
7072
7073 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7074 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7075
7076 * net/snmp-mode.el (tempo): Don't duplicate requires.
7077
7078 * progmodes/prolog.el (info): No need to load when compiling.
7079 (comint): Require before shell requires it.
7080 (Info-goto-node): Autoload it.
7081 (Info-follow-nearest-node): Declare.
7082 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7083
7084 * textmodes/artist.el (picture-mode-exit): Declare.
7085
7086 * textmodes/reftex-parse.el (reftex-parse-from-file):
7087 Trivial rewrite so the compiler can parse it better.
7088
7089 2013-05-20 Leo Liu <sdl.web@gmail.com>
7090
7091 * progmodes/octave.el (octave-help-mode-map)
7092 (octave-help-mode-finish-hook): New variables.
7093 (octave-help-mode, octave-help-mode-finish): New functions.
7094 (octave-help): Use octave-help-mode.
7095
7096 2013-05-20 Glenn Morris <rgm@gnu.org>
7097
7098 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7099
7100 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7101
7102 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7103 start at point, so that expansion starting right after opening
7104 slash in a regexp is recognized.
7105 (ruby-syntax-before-regexp-re): New defvar, extracted from
7106 ruby-syntax-propertize-function. Since the value of this regexp
7107 is looked up at runtime now, we should be able to turn
7108 `ruby-syntax-methods-before-regexp' into a defcustom later.
7109 (ruby-syntax-propertize-function): Split regexp matching into two
7110 parts, for opening and closing slashes. That allows us to skip
7111 over string interpolations and support multiline regexps.
7112 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7113 for them, which calls `ruby-syntax-propertize-expansion'.
7114 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7115 call to `ruby-syntax-propertize-function'.
7116 (ruby-syntax-propertize-expansion): Extracted from
7117 `ruby-syntax-propertize-expansions'. Handles one expansion.
7118 (ruby-syntax-propertize-percent-literal): Leave point right after
7119 the percent symbol, so that the expression expansion rule can
7120 propertize the contents.
7121 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7122 heredoc openers.
7123 (ruby-syntax-propertize-expansions): Remove.
7124
7125 2013-05-18 Juri Linkov <juri@jurta.org>
7126
7127 * man.el (Man-default-man-entry): Remove `-' from the end
7128 of the default value. (Bug#14400)
7129
7130 2013-05-18 Glenn Morris <rgm@gnu.org>
7131
7132 * comint.el (comint-password-prompt-regexp):
7133 Allow "password for XXX" where XXX contains colons (eg https://...).
7134
7135 2013-05-18 Leo Liu <sdl.web@gmail.com>
7136
7137 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7138 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7139 (octave-source-directories): Don't check process.
7140 (octave-source-directories, octave-find-definition): Doc fix.
7141
7142 2013-05-18 Glenn Morris <rgm@gnu.org>
7143
7144 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7145 Remove backspace/delete bindings. (Bug#14392)
7146
7147 * cus-dep.el (custom-make-dependencies): Sort the output.
7148 (custom-versions-load-alist): Convert comment to doc.
7149
7150 2013-05-17 Leo Liu <sdl.web@gmail.com>
7151
7152 * newcomment.el (comment-search-backward): Stricter in finding
7153 comment start. (Bug#14303)
7154
7155 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7156 (octave-comment-start-skip): Properly anchored.
7157
7158 2013-05-17 Leo Liu <sdl.web@gmail.com>
7159
7160 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7161 Clean up when turned off. (Bug#14395)
7162 (smie--highlight-matching-block-overlay): No longer buffer-local.
7163 (smie-highlight-matching-block): Adjust.
7164
7165 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7166
7167 Doc string fix for "nanoseconds" (Bug#14406).
7168 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7169 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7170
7171 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7172
7173 * calc/calc-units.el (math-extract-units): Preserve powers
7174 of units.
7175
7176 2013-05-17 Leo Liu <sdl.web@gmail.com>
7177
7178 * subr.el (delete-consecutive-dups): New function.
7179 * ido.el (ido-set-matches-1): Use it.
7180 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7181 * ido.el (ido-remove-consecutive-dups): Remove.
7182
7183 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7186 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7187 regexp-opt's `words'.
7188
7189 2013-05-16 Leo Liu <sdl.web@gmail.com>
7190
7191 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7192 (smie--highlight-matching-block-overlay)
7193 (smie--highlight-matching-block-lastpos)
7194 (smie--highlight-matching-block-timer): New variables.
7195 (smie-highlight-matching-block): New function.
7196 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7197 (smie-setup): Conditionally enable smie-blink-matching-open.
7198
7199 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7200
7201 Sync with upstream verilog-mode r840.
7202 * progmodes/verilog-mode.el (verilog-mode-version)
7203 (verilog-mode-release-date): Update.
7204 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7205 (verilog-sig-tieoff): Fix string error on
7206 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7207 (verilog-read-decls): Fix parameters confusing
7208 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7209
7210 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7211
7212 * subr.el (reveal-filename): New function.
7213
7214 * loadup.el: Compute Emacs executable versions on MS-Windows,
7215 where executables have the .exe extension. Add a hard link
7216 emacs-XX.YY.ZZ.exe on MS-Windows.
7217
7218 * Makefile.in (XARGS_LIMIT): New variable.
7219 (custom-deps, finder-data, autoloads)
7220 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7221 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7222 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7223 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7224
7225 2013-05-16 Leo Liu <sdl.web@gmail.com>
7226
7227 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7228 (octave-mode-menu, octave-mode-map): Remove its uses.
7229
7230 2013-05-16 Reto Zimmermann <reto@gnu.org>
7231
7232 Sync with upstream vhdl mode v3.34.2.
7233 * progmodes/vhdl-mode.el: Use `push' throughout.
7234 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7235 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7236 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7237 (vhdl-actual-generic-name): New option to derive actual generic name.
7238 (vhdl-port-paste-signals): Replace formal by actual generics.
7239 (vhdl-beautify): New name for old group vhdl-align. Update users.
7240 (vhdl-beautify-options): New option.
7241 (vhdl-last-input-event): New compat alias. Use throughout.
7242 (vhdl-goto-line): Replace user level function `goto-line'.
7243 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7244 vhdl-fix-statement-buffer.
7245 (vhdl-create-mode-menu): Add some entries.
7246 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7247 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7248 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7249 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7250 to force statements on one line.
7251 (vhdl-remove-trailing-spaces-region):
7252 New, split from vhdl-remove-trailing-spaces.
7253 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7254 Respect vhdl-beautify-options.
7255 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7256 (vhdl-update-sensitivity-list): Not add with index if exists without.
7257 Not include array index with signal. Ignore keywords in comments.
7258 (vhdl-get-visible-signals): Regexp tweaks.
7259 (vhdl-template-component-inst): Handle empty library.
7260 (vhdl-template-type): Add template for 'enum' type.
7261 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7262 Use vhdl-replace-string.
7263 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7264 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7265 (vhdl-speedbar-initialize): Update for above name change.
7266 (vhdl-compose-wire-components): Fix in handling of constants.
7267 (vhdl-error-regexp-emacs-alist): New variable.
7268 (vhdl-error-regexp-add-emacs): New function;
7269 adds support for new compile.el (Emacs 22+)
7270 (vhdl-generate-makefile-1): Change target order for single lib. units.
7271 Allow use of absolute file names.
7272
7273 2013-05-16 Leo Liu <sdl.web@gmail.com>
7274
7275 * simple.el (prog-indent-sexp): Indent enclosing defun.
7276
7277 2013-05-15 Glenn Morris <rgm@gnu.org>
7278
7279 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7280 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7281 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7282 (whitespace-highlight): Move to whitespace group.
7283
7284 * comint.el (comint-source):
7285 * pcmpl-linux.el (pcmpl-linux):
7286 * shell.el (shell-faces):
7287 * eshell/esh-opt.el (eshell-opt):
7288 * international/ccl.el (ccl): Remove empty custom groups.
7289
7290 * completion.el (dynamic-completion-mode):
7291 * jit-lock.el (jit-lock-debug-mode):
7292 * minibuffer.el (completion-in-region-mode):
7293 * type-break.el (type-break-mode-line-message-mode)
7294 (type-break-query-mode):
7295 * emulation/tpu-edt.el (tpu-edt-mode):
7296 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7297 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7298 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7299
7300 * term/xterm.el (xterm): Change parent group to terminals.
7301
7302 * master.el (master): Remove empty custom group.
7303 (master-mode): Remove unused :group argument.
7304 * textmodes/refill.el (refill): Remove empty custom group.
7305 (refill-mode): Remove unused :group argument.
7306
7307 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7308
7309 * cus-dep.el: Provide a feature.
7310 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7311 Don't mistakenly ignore files whose basenames match a basename
7312 from preloaded-file-list (eg cedet/ede/simple.el).
7313 Add a fallback method for getting :group.
7314
7315 2013-05-15 Juri Linkov <juri@jurta.org>
7316
7317 * isearch.el (isearch-char-by-name): Rename from
7318 `isearch-insert-char-by-name'. Doc fix.
7319 (isearch-forward): Mention `isearch-char-by-name' in
7320 the docstring. (Bug#13348)
7321
7322 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7323 `exit-minibuffer' instead of
7324 `isearch-nonincremental-exit-minibuffer'.
7325 (isearch-edit-string): Remove mention of
7326 `isearch-nonincremental-exit-minibuffer' from docstring.
7327 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7328 (isearch-forward-exit-minibuffer)
7329 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7330
7331 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * loadup.el: Just use unversioned DOC.
7334
7335 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7336 literals as extending to EOB.
7337 (nxml-last-fontify-end): Remove unused variable.
7338 (nxml-after-change1): Use with-silent-modifications.
7339 (nxml-extend-after-change-region): Simplify.
7340 (nxml-extend-after-change-region1): Remove function.
7341 (nxml-after-change1): Don't adjust for dependent regions.
7342 (nxml-fontify-matcher): Simplify.
7343 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7344 (xmltok-add-dependent): Remove function.
7345 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7346 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7347 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7348 unclosed <[[, <?, comment, and other literals as extending to EOB.
7349 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7350 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7351 Remove functions.
7352 (rng-do-some-validation-1): Don't mark dependent regions.
7353 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7354 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7355 (nxml-clear-dependent-regions): Remove functions.
7356 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7357 (nxml-ensure-scan-up-to-date):
7358 Don't clear&mark dependent regions.
7359
7360 2013-05-15 Leo Liu <sdl.web@gmail.com>
7361
7362 * progmodes/octave.el (octave-goto-function-definition):
7363 Improve and fix callers.
7364
7365 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7368 the setter (bug#14387).
7369
7370 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7371 surrounding group (bug#14402).
7372
7373 2013-05-14 Juri Linkov <juri@jurta.org>
7374
7375 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7376 (Bug#14390)
7377
7378 2013-05-14 Glenn Morris <rgm@gnu.org>
7379
7380 * progmodes/f90.el (f90-imenu-generic-expression):
7381 Fix typo in 2013-05-08 change. (Bug#14402)
7382
7383 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7384
7385 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7386 Remove signals for which replies are never received.
7387
7388 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7389
7390 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7391 (gdb-handler-alist, gdb-handler-number): Remove variables.
7392 (gdb-handler-list): New variable.
7393 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7394 (gdb-pending-handler-p, gdb-handle-reply)
7395 (gdb-remove-all-pending-triggers): New functions.
7396 (gdb-discard-unordered-replies): New defcustom.
7397 (gdb-handler): New defstruct.
7398 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7399 instead of gdb-pending-triggers. Update docstring.
7400 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7401 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7402 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7403 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7404 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7405 (gdb-frame-handler): Pending triggers are now automatically managed.
7406 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7407 Remove argument.
7408 (gdb-input): Automatically handles pending triggers. Update docstring.
7409 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7410 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7411 Update comments.
7412 (gdb-done-or-error): Now use gdb-handle-reply.
7413
7414 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7415
7416 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7417 gdb-debug-log.
7418
7419 2013-05-14 Glenn Morris <rgm@gnu.org>
7420
7421 * subr.el (user-emacs-directory-warning): New option.
7422 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7423
7424 2013-05-14 Leo Liu <sdl.web@gmail.com>
7425
7426 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7427 during redisplay.
7428 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7429 (octave-font-lock-texinfo-comment): Fix invalid search bound
7430 error: wrong side of point.
7431
7432 2013-05-14 Glenn Morris <rgm@gnu.org>
7433
7434 * progmodes/flymake.el (flymake-xml-program): New option.
7435 (flymake-xml-init): Use it.
7436
7437 * term/xterm.el: Provide a feature.
7438
7439 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7440
7441 2013-05-13 Glenn Morris <rgm@gnu.org>
7442
7443 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7444 Add compat aliases as a hack workaround. (Bug#14384)
7445
7446 2013-05-13 Leo Liu <sdl.web@gmail.com>
7447
7448 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7449 ###, and %!.
7450 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7451 C-M-q.
7452 (octave-comment-start-skip): Include %!.
7453 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7454
7455 2013-05-12 Leo Liu <sdl.web@gmail.com>
7456
7457 * progmodes/octave.el (inferior-octave-startup): Store the value
7458 of __octave_srcdir__ for octave-source-directories.
7459 (inferior-octave-check-process): New function refactored out of
7460 inferior-octave-send-list-and-digest.
7461 (octave-source-directories)
7462 (octave-find-definition-filename-function): New variables.
7463 (octave-source-directories)
7464 (octave-find-definition-default-filename): New functions.
7465 (octave-find-definition): Improve to find functions implemented in C++.
7466
7467 2013-05-12 Glenn Morris <rgm@gnu.org>
7468
7469 * calendar/diary-lib.el (diary-outlook-format-1):
7470 Don't include dayname in the output. (Bug#14349)
7471
7472 2013-05-11 Glenn Morris <rgm@gnu.org>
7473
7474 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7475
7476 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7477 Treat cc-provide like provide.
7478
7479 2013-05-11 Kevin Ryde <user42@zip.com.au>
7480
7481 * cus-dep.el (custom-make-dependencies):
7482 Use generated-autoload-load-name for the sake of files such
7483 such cedet/semantic/bovine/c.el, where the base file name
7484 is not in load-path. (Bug#5277)
7485
7486 2013-05-11 Glenn Morris <rgm@gnu.org>
7487
7488 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7489 Provide features.
7490
7491 2013-05-11 Leo Liu <sdl.web@gmail.com>
7492
7493 * progmodes/octave.el (octave-indent-comment): Improve.
7494 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7495 (octave-eldoc-function-signatures, octave-eldoc-function):
7496 New functions.
7497 (octave-mode, inferior-octave-mode): Add eldoc support.
7498
7499 2013-05-11 Richard Stallman <rms@gnu.org>
7500
7501 * epa.el (epa-decrypt-file): Take output file name as argument
7502 and read it using `interactive'.
7503
7504 2013-05-11 Leo Liu <sdl.web@gmail.com>
7505
7506 * progmodes/octave.el (octave-beginning-of-line)
7507 (octave-end-of-line): Check before using up-list because it jumps
7508 out of more syntactic contructs since moving to smie.
7509 (octave-indent-comment): New function.
7510 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7511 (octave-begin-keywords, octave-end-keywords)
7512 (octave-reserved-words, octave-smie-bnf-table)
7513 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7514
7515 2013-05-11 Glenn Morris <rgm@gnu.org>
7516
7517 * faces.el (internal-face-x-get-resource):
7518 * frame.el (ns-display-monitor-attributes-list):
7519 * calc/calc-aent.el (math-to-radians-2):
7520 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7521 Fix declarations.
7522
7523 * calc/calc-menu.el: Make it loadable in isolation.
7524
7525 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7526 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7527 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7528 (eudc-bbdb-query-internal): Require 'bbdb.
7529
7530 * lpr.el (lpr-headers-switches):
7531 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7532
7533 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7534
7535 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7536
7537 * term.el (term-set-escape-char): Make it idempotent.
7538
7539 2013-05-10 Leo Liu <sdl.web@gmail.com>
7540
7541 * progmodes/octave.el (inferior-octave-completion-table):
7542 No longer a function and all uses changed. Use cache to speed up
7543 completion due to bug#11906.
7544 (octave-beginning-of-defun): Re-write to be more general.
7545
7546 2013-05-10 Glenn Morris <rgm@gnu.org>
7547
7548 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7549
7550 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * comint.el (comint-redirect-send-command-to-process): Use :around
7553 rather than :override for comint-redirect-filter.
7554 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7555 Call it instead of comint-redirect-original-filter-function (which
7556 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7557
7558 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7559
7560 * frame.el (display-monitor-attributes-list): Add NS case.
7561 (ns-display-monitor-attributes-list): Declare.
7562
7563 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7564
7565 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7566
7567 2013-05-09 Glenn Morris <rgm@gnu.org>
7568
7569 * international/fontset.el (vertical-centering-font-regexp):
7570 Set standard-value.
7571
7572 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7573
7574 * bookmark.el (bookmark-search-delay):
7575 * cus-start.el (vertical-centering-font-regexp):
7576 * ps-mule.el (ps-mule-font-info-database-default):
7577 * ps-print.el (ps-default-fg, ps-default-bg):
7578 * type-break.el (type-break-good-break-interval):
7579 * whitespace.el (whitespace-indentation-regexp)
7580 (whitespace-space-after-tab-regexp):
7581 * emacs-lisp/testcover.el (testcover-1value-functions)
7582 (testcover-noreturn-functions, testcover-progn-functions)
7583 (testcover-prog1-functions):
7584 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7585 * eshell/em-glob.el (eshell-glob-translate-alist):
7586 * play/tetris.el (tetris-tty-colors):
7587 * progmodes/cpp.el (cpp-face-default-list):
7588 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7589 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7590 (idlwave-help-browser-generic-args):
7591 * progmodes/make-mode.el (makefile-special-targets-list):
7592 * progmodes/python.el (python-shell-virtualenv-path):
7593 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7594 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7595 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7596 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7597 * textmodes/reftex-vars.el (reftex-format-label-function):
7598 * textmodes/remember.el (remember-diary-file): Fix custom types.
7599
7600 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7601 Add :version.
7602
7603 2013-05-09 Leo Liu <sdl.web@gmail.com>
7604
7605 * progmodes/octave.el (inferior-octave-completion-at-point):
7606 Restore file completion. (Bug#14300)
7607 (inferior-octave-startup): Fix incorrect highlighting for the
7608 first prompt.
7609
7610 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * progmodes/ruby-mode.el: First cut at SMIE support.
7613 (ruby-use-smie): New var.
7614 (ruby-smie-grammar): New constant.
7615 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7616 (ruby-smie--forward-token, ruby-smie--backward-token)
7617 (ruby-smie-rules): New functions.
7618 (ruby-mode-variables): Setup SMIE if applicable.
7619
7620 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7621
7622 * simple.el (line-move-visual): Signal beginning/end of buffer
7623 only if vertical-motion moved less than it was requested. Avoids
7624 silly incorrect error messages when there are display strings with
7625 multiple newlines at EOL.
7626
7627 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7630 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7631 (prolog-char-quote-workaround):
7632 * progmodes/cperl-mode.el (cperl-under-as-char):
7633 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7634 Mark as obsolete.
7635 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7636 their declaration.
7637 (vhdl-mode-syntax-table-init): Remove.
7638
7639 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7640 last change.
7641
7642 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7643 syntax for "_".
7644 (ld-script-font-lock-keywords):
7645 Change regexps to use things like \_< and \_>.
7646
7647 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7648 Change all regexps to use things like \_< and \_>.
7649
7650 * progmodes/autoconf.el (autoconf-definition-regexp)
7651 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7652 Handle a _ with symbol syntax.
7653 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7654
7655 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7656 Consolidate declaration.
7657 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7658 the declaration.
7659 (ada-create-syntax-table): Remove.
7660 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7661 already has the right syntax nowadays.
7662 (ada-goto-next-word): Don't change the syntax of "_".
7663
7664 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7665 with-wrapper-hook.
7666
7667 2013-05-08 Sam Steingold <sds@gnu.org>
7668
7669 * thingatpt.el (thing-at-point): Accept optional second argument
7670 NO-PROPERTIES to strip the text properties from the return value.
7671 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7672 to `thing-at-point' instead of stripping the properties ourselves.
7673 Also, when `thing-at-point' fails to find a url, prepend "http://"
7674 to the filename at point on the assumption that the user is
7675 pointing at something like gnu.org/gnu.
7676
7677 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7678
7679 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7680 * faces.el (crm-separator):
7681 Silence byte-compiler.
7682
7683 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7684 (tool-bar-map): Remove unneeded defvars.
7685
7686 2013-05-08 Leo Liu <sdl.web@gmail.com>
7687
7688 Re-work a fix for bug#10994 based on Le Wang's patch.
7689 * ido.el (ido-remove-consecutive-dups): New helper.
7690 (ido-completing-read): Use it.
7691 (ido-chop): Revert fix for bug#10994.
7692
7693 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7694
7695 * cus-edit.el (custom-save-variables):
7696 Pretty-print long values. (Bug#14187)
7697
7698 2013-05-08 Glenn Morris <rgm@gnu.org>
7699
7700 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7701 (m4-mode-syntax-table): Init in the defvar.
7702 (m4-mode-abbrev-table): Let define-derived-mode define it.
7703
7704 2013-05-08 Tom Tromey <tromey@redhat.com>
7705
7706 * progmodes/m4-mode.el (m4-mode-syntax-table):
7707 Do not treat "_" as word constituent. (Bug#14167)
7708
7709 2013-05-07 Glenn Morris <rgm@gnu.org>
7710
7711 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7712 Remove explicit eshell-isearch-cancel-map.
7713
7714 * progmodes/f90.el (f90-smart-end-names): New option.
7715 (f90-smart-end): Doc fix.
7716 (f90-end-block-optional-name): New constant.
7717 (f90-block-match): Respect f90-smart-end-names.
7718
7719 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7722 about implicit semi-colons (bug#14218).
7723
7724 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7725
7726 * frame.el (display-monitor-attributes-list)
7727 (frame-monitor-attributes): New functions.
7728
7729 2013-05-06 Leo Liu <sdl.web@gmail.com>
7730
7731 * progmodes/octave.el (octave-syntax-propertize-function): Change
7732 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7733 (octave-font-lock-keywords): Use octave-operator-regexp.
7734 (octave-completion-at-point): Rename from
7735 octave-completion-at-point-function.
7736 (inferior-octave-directory-tracker): Robustify.
7737 (octave-text-functions): Remove and fix its uses. No such things
7738 any more.
7739
7740 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * emacs-lisp/trace.el (trace--display-buffer): New function.
7743 (trace-make-advice): Use it.
7744
7745 2013-05-06 Juri Linkov <juri@jurta.org>
7746
7747 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7748 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7749 Doc fix.
7750 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7751 in the help string. (Bug#12985)
7752
7753 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7754
7755 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7756
7757 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * progmodes/perl-mode.el: Add support for here documents.
7760 (perl-syntax-propertize-function): Match here-doc markers.
7761 (perl-syntax-propertize-special-constructs): Find their end.
7762 (perl-imenu-generic-expression): Use [:alnum:].
7763
7764 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7765 (advice--add-function): Refresh the advice if already present
7766 (bug#14317).
7767
7768 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7769
7770 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7771
7772 2013-05-06 Glenn Morris <rgm@gnu.org>
7773
7774 * w32-fns.el (w32-charset-info-alist): Declare.
7775
7776 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7777 of its defcustom properties.
7778 (eshell-cmpl-initialize): No need to load pcomplete.
7779
7780 * generic-x.el: No need to require comint when compiling.
7781
7782 * net/eudc-export.el: Make it loadable without bbdb.
7783 (top-level): Use require rather than load-library.
7784 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7785 (eudc-batch-export-records-to-bbdb)
7786 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7787 Require bbdb.
7788
7789 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7792 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7793 some tweaks, instead.
7794
7795 2013-05-05 Leo Liu <sdl.web@gmail.com>
7796
7797 * progmodes/octave.el (octave-font-lock-keywords)
7798 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7799 (inferior-octave-send-list-and-digest): Improve error message.
7800 (octave-mode, inferior-octave-mode): Use setq-local.
7801 (octave-help): Set info-lookup-mode.
7802
7803 2013-05-05 Richard Stallman <rms@gnu.org>
7804
7805 * vc/compare-w.el (compare-windows-whitespace):
7806 Treat no-break space as whitespace.
7807
7808 * mail/rmailsum.el (rmail-summary-rmail-update):
7809 Detect empty summary and don't change selected message.
7810 (rmail-summary-goto-msg): Likewise.
7811
7812 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7813 Doc fixes, rename args.
7814
7815 2013-05-05 Alan Mackenzie <acm@muc.de>
7816
7817 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7818
7819 2013-05-05 Juri Linkov <juri@jurta.org>
7820
7821 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7822 to not add the length of the summary segment to the return value.
7823 (Bug#14125)
7824
7825 2013-05-05 Leo Liu <sdl.web@gmail.com>
7826
7827 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7828 (inferior-octave-output-filter): Remove.
7829 (octave-send-region, inferior-octave-startup): Fix callers.
7830 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7831 (octave-binary-file-extensions): New user variable.
7832 (octave-find-definition): Confirm if opening binary files.
7833 (octave-help-file): Use octave-find-definition to get the binary
7834 confirmation.
7835 (octave-help): Adjust for octave-help-file change.
7836
7837 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7840 Merge the two entries that handle function definitions.
7841 (pascal--syntax-propertize): New const.
7842 (pascal-mode): Use it. Use setq-local.
7843
7844 2013-05-04 Glenn Morris <rgm@gnu.org>
7845
7846 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7847 (diary-from-outlook): Respect diary-from-outlook-function.
7848
7849 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7852 Move the declaration from C.
7853 (read-minibuffer, eval-minibuffer): Move from C.
7854 (completion-setup-function): Avoid minibuffer-completion-contents.
7855
7856 2013-05-03 Leo Liu <sdl.web@gmail.com>
7857
7858 * progmodes/octave.el (octave-font-lock-keywords): Do not
7859 dehighlight 'end' in comments or strings.
7860 (octave-completing-read, octave-goto-function-definition):
7861 New helpers.
7862 (octave-help-buffer): New user variable.
7863 (octave-help-file, octave-help-function): New button types.
7864 (octave-help): New command and bind it to C-h ;.
7865 (octave-find-definition): New command and bind it to M-.
7866 (user-error): Alias to error if not defined.
7867
7868 2013-05-02 Leo Liu <sdl.web@gmail.com>
7869
7870 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7871 for \. (bug#14332)
7872 (octave-font-lock-keywords): Include [ and {.
7873
7874 2013-05-02 Leo Liu <sdl.web@gmail.com>
7875
7876 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7877 (inferior-octave): Remove calling comint-mode and return the buffer.
7878 (inferior-octave-startup): Cosmetic changes.
7879
7880 2013-05-02 Leo Liu <sdl.web@gmail.com>
7881
7882 * progmodes/octave.el (octave-syntax-propertize-function):
7883 Include the case when ' is at line beginning. (Bug#14336)
7884
7885 2013-05-02 Glenn Morris <rgm@gnu.org>
7886
7887 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7888 * desktop.el (vc-dir-mode): Just autoload it here.
7889
7890 2013-05-02 Alan Mackenzie <acm@muc.de>
7891
7892 Eliminate variable c-standard-font-lock-fontify-region-function.
7893 * progmodes/cc-mode.el
7894 (c-standard-font-lock-fontify-region-function): Remove.
7895 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7896
7897 2013-05-01 Leo Liu <sdl.web@gmail.com>
7898
7899 * progmodes/octave.el: Compatible with older emacs-24 releases.
7900 (inferior-octave-has-built-in-variables): Remove. Built-in
7901 variables were removed from Octave in 2007.
7902 (inferior-octave-startup): Fix uses.
7903 (comint-line-beginning-position): Remove compatibility code for
7904 emacs 21.
7905
7906 2013-05-01 Juri Linkov <juri@jurta.org>
7907
7908 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7909
7910 2013-05-01 Juri Linkov <juri@jurta.org>
7911
7912 * comint.el (comint-previous-matching-input): Don't print message
7913 "History item: %d" when `isearch-mode' is active.
7914 (comint-history-isearch-message): Print message "History item: %d"
7915 when `comint-input-ring-index' is not empty and this function is
7916 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7917
7918 2013-05-01 Leo Liu <sdl.web@gmail.com>
7919
7920 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7921 definitions. Use completion-at-point to insert keywords.
7922 (octave-abbrev-start): Remove.
7923 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7924
7925 2013-04-30 Leo Liu <sdl.web@gmail.com>
7926
7927 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7928 change.
7929
7930 2013-04-30 Alan Mackenzie <acm@muc.de>
7931
7932 Handle arbitrarily long C++ member initialisation lists.
7933 * progmodes/cc-engine.el (c-back-over-member-initializers):
7934 new function.
7935 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7936 (most) member init lists.
7937
7938 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7939
7940 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7941 variable.
7942
7943 2013-04-30 Leo Liu <sdl.web@gmail.com>
7944
7945 * progmodes/octave.el (octave-variables): Remove. No builtin
7946 variables any more. All converted to functions.
7947 (octave-font-lock-keywords, octave-completion-at-point-function):
7948 Fix uses.
7949 (octave-font-lock-texinfo-comment): New user variable.
7950 (octave-texinfo-font-lock-keywords): New variable for texinfo
7951 comment block.
7952 (octave-function-comment-block): New face.
7953 (octave-font-lock-texinfo-comment): New function.
7954 (octave-mode): Font lock texinfo comment block.
7955
7956 2013-04-29 Leo Liu <sdl.web@gmail.com>
7957
7958 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7959 indexing expression.
7960 (octave-continuation-string): Do not use \.
7961 (inferior-octave-complete-impossible): Remove.
7962 (inferior-octave-completion-table)
7963 (inferior-octave-completion-at-point): Remove its uses.
7964 (inferior-octave-startup): completion_matches was introduced to
7965 Octave in 1996 so safe to assume it.
7966 (octave-function-file-comment): Improve to follow how Octave does it.
7967 (octave-update-function-file-comment): Tweak.
7968
7969 2013-04-29 Leo Liu <sdl.web@gmail.com>
7970
7971 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7972 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7973 (octave-function-file-comment): Fix typo.
7974 (octave-sync-function-file-names): Use read-char-choice.
7975
7976 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7977
7978 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7979 to t for the less important warnings.
7980
7981 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7982
7983 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7984
7985 2013-04-27 Glenn Morris <rgm@gnu.org>
7986
7987 * vc/log-view.el (log-view-current-entry):
7988 Treat "---" separator lines as part of the following rev. (Bug#14169)
7989
7990 2013-04-27 Juri Linkov <juri@jurta.org>
7991
7992 * subr.el (read-number): Doc fix about using it by interactive
7993 code letter `n'. (Bug#14254)
7994
7995 2013-04-27 Juri Linkov <juri@jurta.org>
7996
7997 * desktop.el (desktop-auto-save-timeout): New option.
7998 (desktop-file-checksum): New variable.
7999 (desktop-save): Add optional arg `auto-save' and don't auto-save
8000 if nothing changed.
8001 (desktop-auto-save-timer): New variable.
8002 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8003 (after-init-hook): Call `desktop-auto-save-set-timer'.
8004 Suggested by Reuben Thomas <rrt@sc3d.org> in
8005 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8006
8007 2013-04-27 Leo Liu <sdl.web@gmail.com>
8008
8009 * progmodes/octave.el (octave-function-file-p)
8010 (octave-skip-comment-forward, octave-function-file-comment)
8011 (octave-update-function-file-comment): New functions.
8012 (octave-mode-map): Bind C-c ; to
8013 octave-update-function-file-comment.
8014 (octave-mode-menu): Add octave-update-function-file-comment.
8015 (octave-mode, inferior-octave-mode): Fix doc-string.
8016 (octave-insert-defun): Conform to Octave's coding convention.
8017 (Bug#14285)
8018
8019 * files.el (basic-save-buffer): Don't let errors in
8020 before-save-hook prevent saving buffer.
8021
8022 2013-04-20 Roland Winkler <winkler@gnu.org>
8023
8024 * faces.el (read-face-name): Use completing-read if arg multiple
8025 is nil.
8026
8027 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8028
8029 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8030 displayed, move point to after the totals line.
8031 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8032 for the details.
8033
8034 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8037 Add current dir to the load-path.
8038 (package-generate-autoloads): Don't rely on
8039 autoload-ensure-default-file.
8040
8041 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8042
8043 * textmodes/remember.el (remember-store-in-files): Document that
8044 the file name format is passed to `format-time-string'.
8045
8046 2013-04-26 Leo Liu <sdl.web@gmail.com>
8047
8048 * progmodes/octave.el (octave-sync-function-file-names): New function.
8049 (octave-mode): Use it in before-save-hook.
8050
8051 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8054 (bug#14274).
8055
8056 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8057 \n and comment, even if it's not an implicit ; (bug#14218).
8058
8059 2013-04-26 Glenn Morris <rgm@gnu.org>
8060
8061 * subr.el (read-number): Once more use `read' rather than
8062 `string-to-number', to trap non-numeric input. (Bug#14254)
8063
8064 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8065
8066 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8067 Use `syntax-multiline' text property consistently instead of
8068 `font-lock-multiline'. (Bug#14237)
8069
8070 2013-04-26 Glenn Morris <rgm@gnu.org>
8071
8072 * emacs-lisp/shadow.el (list-load-path-shadows):
8073 No longer necessary to check for duplicate simple.el, since
8074 2012-07-07 change to init_lread to not include installation lisp
8075 directories in load-path when running uninstalled. (Bug#14270)
8076
8077 2013-04-26 Leo Liu <sdl.web@gmail.com>
8078
8079 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8080 (octave-mode, inferior-octave-mode): Use setq-local.
8081 (octave-not-in-string-or-comment-p): Rename to
8082 octave-in-string-or-comment-p.
8083 (octave-in-comment-p, octave-in-string-p)
8084 (octave-in-string-or-comment-p): Replace defsubst with defun.
8085
8086 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8087
8088 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8089
8090 2013-04-25 Bastien Guerry <bzg@gnu.org>
8091
8092 * textmodes/remember.el (remember-data-directory)
8093 (remember-directory-file-name-format): Fix custom types.
8094
8095 2013-04-25 Leo Liu <sdl.web@gmail.com>
8096
8097 * progmodes/octave.el (octave-completion-at-point-function):
8098 Make use of inferior octave process.
8099 (octave-initialize-completions): Remove.
8100 (inferior-octave-completion-table): New function.
8101 (inferior-octave-completion-at-point): Use it.
8102 (octave-completion-alist): Remove.
8103
8104 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8107 (opascal-mode-syntax-table): New var.
8108 (opascal-literal-kind, opascal-is-literal-end)
8109 (opascal-literal-token-at): Rewrite.
8110 (opascal--literal-start-re, opascal-font-lock-keywords)
8111 (opascal--syntax-propertize): New constants.
8112 (opascal-font-lock-defaults): Adjust.
8113 (opascal-mode): Use them. Set comment-<foo> variables as well.
8114 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8115 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8116 (delphi-other-face, opascal-other-face): Remove face variables.
8117 (opascal-save-state): Remove macro.
8118 (opascal-fontifying-progress-step): Remove constant.
8119 (opascal--ignore-changes): Remove var.
8120 (opascal-set-token-property, opascal-parse-next-literal)
8121 (opascal-is-stable-literal, opascal-complete-literal)
8122 (opascal-is-literal-start, opascal-face-of)
8123 (opascal-parse-region, opascal-parse-region-until-stable)
8124 (opascal-fontify-region, opascal-after-change)
8125 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8126 (opascal-debug-parse-region, opascal-debug-parse-window)
8127 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8128 (opascal-debug-fontify-buffer): Remove.
8129 (opascal-debug-mode-map): Adjust accordingly.
8130
8131 2013-04-25 Leo Liu <sdl.web@gmail.com>
8132
8133 Merge octave-mod.el and octave-inf.el into octave.el with some
8134 cleanups.
8135 * progmodes/octave.el: New file renamed from octave-mod.el.
8136 * progmodes/octave-inf.el: Merged into octave.el.
8137 * progmodes/octave-mod.el: Renamed to octave.el.
8138
8139 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8140
8141 * textmodes/reftex-vars.el
8142 (reftex-label-ignored-macros-and-environments): New defcustom.
8143
8144 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8145
8146 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8149 (smie-indent-keyword): Improve the check to ensure that the next
8150 comment is really on the same line.
8151 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8152
8153 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8154 semi-colons if the line is not otherwise empty (bug#14218).
8155
8156 2013-04-25 Glenn Morris <rgm@gnu.org>
8157
8158 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8159
8160 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * progmodes/opascal.el (opascal-set-token-property): Rename from
8163 opascal-set-text-properties and only set `token' (bug#14134).
8164 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8165 (opascal-literal-text-properties): Remove.
8166 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8167 Adjust callers.
8168
8169 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8170
8171 * textmodes/remember.el (remember-handler-functions): Add an
8172 option for a new handler `remember-store-in-files'.
8173 (remember-data-directory, remember-directory-file-name-format):
8174 New options.
8175 (remember-store-in-files): New function to store remember notes
8176 as separate files within a directory.
8177
8178 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8179
8180 * progmodes/compile.el (compilation-next-error-function):
8181 Pass "formats" to compilation-find-file (bug#11777).
8182
8183 2013-04-24 Glenn Morris <rgm@gnu.org>
8184
8185 * vc/vc-bzr.el (vc-bzr-print-log):
8186 * vc/vc-hg.el (vc-hg-print-log):
8187 * vc/vc-svn.el (vc-svn-print-log):
8188 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8189
8190 * vc/vc-bzr.el (vc-bzr-print-log):
8191 * vc/vc-cvs.el (vc-cvs-print-log):
8192 * vc/vc-git.el (vc-git-print-log):
8193 * vc/vc-hg.el (vc-hg-print-log):
8194 * vc/vc-mtn.el (vc-mtn-print-log):
8195 * vc/vc-rcs.el (vc-rcs-print-log):
8196 * vc/vc-sccs.el (vc-sccs-print-log):
8197 * vc/vc-svn.el (vc-svn-print-log):
8198 * vc/vc.el (vc-print-log-internal): Doc fixes.
8199
8200 2013-04-23 Glenn Morris <rgm@gnu.org>
8201
8202 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8203 Remove venerable code attempting to avoid substitute-command-keys.
8204
8205 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8206
8207 * textmodes/reftex-vars.el (reftex-label-regexps):
8208 Call `reftex-compile-variables' after changes to this variable.
8209
8210 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8213 Use lexical-binding.
8214 (jit-lock-force-redisplay): Use markers, check buffer's continued
8215 existence and beware narrowed buffers.
8216 (jit-lock-fontify-now): Adjust call accordingly.
8217
8218 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8221 to avoid misleading the user.
8222
8223 2013-04-22 Leo Liu <sdl.web@gmail.com>
8224
8225 * info-look.el: Prefer latex2e.info. (Bug#14240)
8226
8227 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8228
8229 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8230
8231 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8232 * net/tramp.el (tramp-call-process): ... here.
8233 (tramp-set-completion-function, tramp-parse-putty):
8234 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8235 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8236 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8237 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8238 (tramp-call-local-coding-command): Use `tramp-call-process'
8239 instead of `tramp-compat-call-process'.
8240
8241 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8242 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8243 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8244 (tramp-find-inline-compress): Improve traces.
8245 (tramp-maybe-send-script): Check for Perl binary.
8246 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8247
8248 2013-04-22 Daiki Ueno <ueno@gnu.org>
8249
8250 * epg.el (epg-context-pinentry-mode): New function.
8251 (epg-context-set-pinentry-mode): New function.
8252 (epg--start): Pass --pinentry-mode option to gpg command.
8253
8254 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8255
8256 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8257 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8258 `completion-at-point'. (Bug#13774)
8259
8260 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8261 default key binding for `describe-distribution' has been moved to
8262 `C-h C-o'. (Bug#13970)
8263
8264 2013-04-21 Glenn Morris <rgm@gnu.org>
8265
8266 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8267 Add doc strings.
8268 (vc-print-log): Clarify interactive prompt.
8269
8270 2013-04-20 Glenn Morris <rgm@gnu.org>
8271
8272 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8273 No longer include timestamp etc information.
8274
8275 2013-04-20 Roland Winkler <winkler@gnu.org>
8276
8277 * faces.el (read-face-name): Bug fix, return just one face if arg
8278 multiple is nil. (Bug#14209)
8279
8280 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8283 (remove-function): Autoload.
8284
8285 * comint.el (comint-redirect-original-filter-function): Remove.
8286 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8287 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8288 (vc-cvs-annotate-command):
8289 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8290 * progmodes/prolog.el (prolog-consult-compile):
8291 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8292 Use add/remove-function instead.
8293 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8294 (gud-tooltip-process-output, gud-tooltip-tips):
8295 Use add/remove-function instead.
8296 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8297 (scheme-interaction-mode, exit-scheme-interaction-mode):
8298 Use add/remove-function instead.
8299
8300 * vc/vc-dispatcher.el: Use lexical-binding.
8301 (vc--process-sentinel): Rename from vc-process-sentinel.
8302 Change last arg to be the code to run. Don't use vc-previous-sentinel
8303 and vc-sentinel-commands any more.
8304 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8305 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8306
8307 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8308
8309 * progmodes/sh-script.el (sh-imenu-generic-expression):
8310 Handle function names with a single character. (Bug#14111)
8311
8312 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8313
8314 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8315 for subroutines defined in an eval (bug#14182).
8316
8317 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8318
8319 * bookmark.el (bookmark-completing-read): Improve handling of empty
8320 string (bug#14176).
8321
8322 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8325
8326 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8327
8328 New faster Imenu implementation (bug#14058).
8329 * progmodes/python.el:
8330 (python-imenu-prev-index-position):
8331 (python-imenu-format-item-label-function)
8332 (python-imenu-format-parent-item-label-function)
8333 (python-imenu-format-parent-item-jump-label-function):
8334 New vars.
8335 (python-imenu-format-item-label)
8336 (python-imenu-format-parent-item-label)
8337 (python-imenu-format-parent-item-jump-label)
8338 (python-imenu--put-parent, python-imenu--build-tree)
8339 (python-imenu-create-index, python-imenu-create-flat-index)
8340 (python-util-popn): New functions.
8341 (python-mode): Set imenu-create-index-function to
8342 python-imenu-create-index.
8343
8344 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * winner.el (winner-active-region): Use region-active-p, activate-mark
8347 and deactivate-mark (bug#14225).
8348
8349 * simple.el (deactivate-mark): Don't inline it.
8350
8351 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8352
8353 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8354
8355 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8356
8357 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8358 file extensions from the archive-mode entry in order to prefer
8359 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8360
8361 2013-04-18 Leo Liu <sdl.web@gmail.com>
8362
8363 * bindings.el (help-event-list): Add ?\?.
8364
8365 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * subr.el (with-wrapper-hook): Declare obsolete.
8368 * simple.el (filter-buffer-substring-function): New hook.
8369 (filter-buffer-substring): Use it.
8370 (filter-buffer-substring-functions): Mark obsolete.
8371 * minibuffer.el (completion-in-region-function): New hook.
8372 (completion-in-region): Use it.
8373 (completion-in-region-functions): Mark obsolete.
8374 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8375 * abbrev.el (abbrev-expand-function): New hook.
8376 (expand-abbrev): Use it.
8377 (abbrev-expand-functions): Mark obsolete.
8378 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8379 and :filter-return.
8380
8381 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8382
8383 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8384 and do not care about match data.
8385
8386 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8389 completion tables when completing error conditions and
8390 `declare' arguments.
8391 (lisp-complete-symbol, field-complete): Mark as obsolete.
8392 (check-parens): Unmatched parens are user errors.
8393 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8394
8395 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8396
8397 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8398 command changed buffer (ie. `flyspell-pre-buffer' is not current
8399 buffer), which prevents making decisions based on invalid value of
8400 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8401 cause an error when `flyspell-pre-point' was nil after switching
8402 buffers.
8403 (flyspell-post-command-hook): No longer needs to change buffers when
8404 checking pre-word. While at it remove unnecessary progn.
8405
8406 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8407
8408 * textmodes/ispell.el (ispell-add-per-file-word-list):
8409 Fix `flyspell-correct-word-before-point' error when accepting
8410 words and `coment-padding' is an integer by using
8411 `comment-normalize-vars' (Bug #14214).
8412
8413 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8414
8415 New defun movement commands.
8416 * progmodes/python.el (python-nav--syntactically)
8417 (python-nav--forward-defun, python-nav-backward-defun)
8418 (python-nav-forward-defun): New functions.
8419
8420 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8421
8422 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8423 (python-syntax-context): Use named compiler-macro for backwards
8424 compatibility with Emacs 24.x.
8425
8426 2013-04-17 Leo Liu <sdl.web@gmail.com>
8427
8428 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8429 octave-hide-process-buffer.
8430
8431 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8434 (bug#14216).
8435
8436 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8437
8438 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8439 Fix adjustment of offset when receiving incomplete responses from GDB
8440 (bug#14129).
8441
8442 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8445 python-mode-abbrev-table.
8446 (python-skeleton-define): Adjust accordingly.
8447 (python-mode-abbrev-table): New table that inherits from it so that
8448 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8449
8450 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8451 (abbrev-symbol): Use it.
8452 (abbrev--before-point): Use it since we already handle inheritance.
8453
8454 2013-04-16 Leo Liu <sdl.web@gmail.com>
8455
8456 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8457 binding to info-lookup-symbol.
8458
8459 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8460
8461 * minibuffer.el (completion--twq-all):
8462 * term/ns-win.el (ns-initialize-window-system):
8463 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8464
8465 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8468 global bindings.
8469
8470 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8471
8472 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8473
8474 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8475 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8476 to nil.
8477 (ruby-end-of-defun): Remove the unused arg, change the docstring
8478 to reflect that this function is only used as the value of
8479 `end-of-defun-function'.
8480 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8481 to reflect an earlier change that beginning/end-of-defun functions
8482 jump between methods in a class definition, as well as top-level
8483 functions.
8484
8485 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * minibuffer.el (minibuffer-complete): Don't just scroll
8488 a *Completions* that's been iconified.
8489 (minibuffer-force-complete): Make sure repetitions do cycle when going
8490 through completion-in-region -> minibuffer-complete.
8491
8492 2013-04-15 Alan Mackenzie <acm@muc.de>
8493
8494 Correct the placement of c-cpp-delimiters when there're #s not at
8495 col 0.
8496
8497 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8498 place a submatch around the #.
8499 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8500 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8501 on the #, not BOL.
8502
8503 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8506 (advice--member-p): New arg `name'.
8507 (advice--add-function, advice-member-p): Use it (bug#14202).
8508
8509 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8510
8511 Reformulate java imenu-generic-expression.
8512 The old expression contained ill formed regexps.
8513
8514 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8515 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8516 (cc-imenu-java-method-arg-regexp): New defconsts.
8517 (cc-imenu-java-build-type-args-regex): New defun.
8518 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8519 handling of spaces in the regexp.
8520
8521 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8522
8523 * textmodes/ispell.el (ispell-command-loop): Remove
8524 flyspell highlight of a word when ispell accepts it (bug #14178).
8525
8526 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8527
8528 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8529 uses code from the previous `ange-ftp-run-real-handler'.
8530 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8531 only in case that function exist. This is needed for proper
8532 unloading of Tramp.
8533
8534 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8535
8536 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8537
8538 * textmodes/reftex.el (reftex-compile-variables): Use it.
8539
8540 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * files.el (normal-mode): Only use default major-mode if no other mode
8543 was specified.
8544
8545 * emacs-lisp/trace.el (trace-values): New function.
8546
8547 * files.el: Allow : in local variables (bug#14089).
8548 (hack-local-variable-regexp): New var.
8549 (hack-local-variables-prop-line, hack-local-variables): Use it.
8550
8551 2013-04-13 Roland Winkler <winkler@gnu.org>
8552
8553 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8554 data before it gets modified by bibtex-beginning-of-entry.
8555
8556 2013-04-13 Roland Winkler <winkler@gnu.org>
8557
8558 * textmodes/bibtex.el (bibtex-url): Doc fix.
8559
8560 2013-04-13 Roland Winkler <winkler@gnu.org>
8561
8562 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8563 does not visit a BibTeX file, exclude it from the list of buffers
8564 returned by bibtex-initialize.
8565
8566 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8567
8568 * window.el (split-window): Remove interactive form, since as a
8569 command this function is a special case of split-window-below.
8570 Correct doc string.
8571
8572 2013-04-12 Roland Winkler <winkler@gnu.org>
8573
8574 * faces.el (read-face-name): Do not override value of arg default.
8575 Allow single faces and strings as default values. Remove those
8576 elements from return value that are not faces.
8577 (describe-face): Simplify.
8578 (face-at-point): New optional args thing and multiple so that this
8579 function can provide the same functionality previously provided by
8580 read-face-name.
8581 (make-face-bold, make-face-unbold, make-face-italic)
8582 (make-face-unitalic, make-face-bold-italic, invert-face)
8583 (modify-face, read-face-and-attribute): Use face-at-point.
8584
8585 * cus-edit.el (customize-face, customize-face-other-window)
8586 * cus-theme.el (custom-theme-add-face)
8587 * face-remap.el (buffer-face-set)
8588 * facemenu.el (facemenu-set-face): Use face-at-point.
8589
8590 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8591
8592 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8593
8594 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8595
8596 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8597 off leading { and trailing } from field values.
8598
8599 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/timer.el (timer--check): New function.
8602 (timer--time, timer-set-function, timer-event-handler): Use it.
8603 (timer-set-idle-time): Simplify.
8604 (timer--activate): CSE.
8605 (timer-event-handler): Give more info in error message.
8606 (internal-timer-start-idle): New function, moved from C.
8607
8608 * mpc.el (mpc-proc): Add `restart' argument.
8609 (mpc-proc-cmd): Use it.
8610 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8611 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8612 less often.
8613
8614 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8615
8616 * progmodes/sh-script.el: Implement `sh-mode' own
8617 `add-log-current-defun-function' (bug#14112).
8618 (sh-current-defun-name): New function.
8619 (sh-mode): Use the function.
8620
8621 2013-04-09 Bastien Guerry <bzg@gnu.org>
8622
8623 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8624
8625 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8628
8629 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8630 timer (bug#14156).
8631
8632 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8633
8634 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8635 declaration.
8636
8637 2013-04-07 Leo Liu <sdl.web@gmail.com>
8638
8639 * pcmpl-x.el: New file.
8640
8641 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8642
8643 Do not set x-display-name until X connection is established.
8644 This is needed to prevent from weird situation described at
8645 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8646 * frame.el (make-frame): Set x-display-name after call to
8647 window system initialization function, not before.
8648 * term/x-win.el (x-initialize-window-system): Add optional
8649 display argument and use it.
8650 * term/w32-win.el (w32-initialize-window-system):
8651 * term/ns-win.el (ns-initialize-window-system):
8652 * term/pc-win.el (msdos-initialize-window-system):
8653 Add compatible optional display argument.
8654
8655 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8656
8657 * files.el (normal-backup-enable-predicate): On MS-Windows and
8658 MS-DOS compare truenames of temporary-file-directory and of the
8659 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8660 don't fail comparison by compare-strings. Also, compare file
8661 names case-insensitively on MS-Windows and MS-DOS.
8662
8663 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8666 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8667
8668 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8669
8670 * whitespace.el (whitespace-color-on, whitespace-color-off):
8671 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8672
8673 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8674
8675 * ispell.el (ispell-set-spellchecker-params):
8676 Really set `ispell-args' for all equivs.
8677
8678 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * ido.el (ido-completions): Use extra elements of ido-decorations
8681 (bug#14143).
8682 (ido-decorations): Update docstring.
8683
8684 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8685
8686 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8687 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8688 nil during initialization, in order not to miss changes since the
8689 file was opened. (Bug#14140)
8690
8691 2013-04-05 Leo Liu <sdl.web@gmail.com>
8692
8693 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8694
8695 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8696
8697 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8698
8699 2013-04-04 Glenn Morris <rgm@gnu.org>
8700
8701 * electric.el (electric-pair-inhibit-predicate): Add :version.
8702
8703 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8706 when a package is required several times (bug#14082).
8707
8708 2013-04-04 Roland Winkler <winkler@gnu.org>
8709
8710 * faces.el (read-face-name): Behave as promised by the docstring.
8711 Assume that arg default is a list of faces.
8712 (describe-face): Call read-face-name with list of default faces.
8713
8714 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8715
8716 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8717 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8718 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8719 the header.
8720 (bookmark-exit-hook-internal): Save even if list is empty.
8721
8722 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8723
8724 * emacs-lisp/package.el (package-pinned-packages): New var.
8725 (package--add-to-archive-contents): Obey it (bug#14118).
8726
8727 2013-04-03 Alan Mackenzie <acm@muc.de>
8728
8729 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8730 Also adapt to the new values of element 7 of a parse state.
8731
8732 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8733 parameter `not-in-delimiter'. Handle being inside comment opener.
8734 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8735 character in case we're typing a '*' after a '/'.
8736 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8737 instead by passing the parameter to c-state-pp-to-literal.
8738
8739 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8740 for elt. 7 of a parse state.
8741
8742 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8743
8744 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8745 * international/latin1-disp.el, international/mule-util.el:
8746 * language/cyril-util.el, language/european.el, language/ind-util.el:
8747 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8748 * language/tibetan.el, language/viet-util.el:
8749 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8750
8751 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8754 (electric-pair-post-self-insert-function): Use it.
8755 (electric-pair-default-inhibit): New function, extracted from
8756 electric-pair-post-self-insert-function.
8757
8758 2013-03-31 Roland Winkler <winkler@gnu.org>
8759
8760 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8761
8762 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8765
8766 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8767
8768 Un-indent after "pass" and "return" statements (Bug#13888)
8769 * progmodes/python.el (python-indent-block-enders): New var.
8770 (python-indent-calculate-indentation): Use it.
8771
8772 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8773
8774 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8775 defun. Defining it as defalias could introduce too eager
8776 byte-compiler optimization. (Bug#14030)
8777
8778 2013-03-30 Chong Yidong <cyd@gnu.org>
8779
8780 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8781
8782 2013-03-30 Leo Liu <sdl.web@gmail.com>
8783
8784 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8785 (kmacro-execute-from-register): Pass the keyboard macro to
8786 kmacro-call-macro or repeating won't work correctly.
8787
8788 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8789
8790 * progmodes/subword.el: Back to using `forward-symbol'.
8791
8792 * subr.el (forward-whitespace, forward-symbol)
8793 (forward-same-syntax): Move from thingatpt.el.
8794
8795 2013-03-29 Leo Liu <sdl.web@gmail.com>
8796
8797 * kmacro.el (kmacro-to-register): New command.
8798 (kmacro-execute-from-register): New function.
8799 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8800
8801 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * mpc.el: Use defvar-local and setq-local.
8804 (mpc--proc-connect): Connection failures are not bugs.
8805 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8806 (mpc-volume-map): Bind to the up-events.
8807
8808 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8809
8810 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8811 instead of `forward-symbol'.
8812
8813 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8816 (edebug--recursive-edit): Use it.
8817 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8818 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8819
8820 2013-03-28 Leo Liu <sdl.web@gmail.com>
8821
8822 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8823
8824 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8825
8826 * facemenu.el (list-colors-callback): New defvar.
8827 (list-colors-redisplay): New function.
8828 (list-colors-display): Install list-colors-redisplay as the
8829 revert-buffer-function. (Bug#14063)
8830
8831 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8834 and suffixes don't overlap (bug#14061).
8835
8836 * case-table.el: Use lexical-binding.
8837 (case-table-get-table): New function.
8838 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8839
8840 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8841
8842 * progmodes/subword.el: Add `superword-mode' to do word motion
8843 over symbol_words (parallels and leverages `subword-mode' which
8844 does word motion inside MixedCaseWords).
8845
8846 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8847
8848 * eshell/em-unix.el: Move su and sudo to...
8849 * eshell/em-tramp.el: ...Eshell tramp module.
8850
8851 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8854 Change return value to be a sexp. Delay `get-buffer' to after
8855 restoring the desktop (bug#13951).
8856
8857 2013-03-26 Leo Liu <sdl.web@gmail.com>
8858
8859 * register.el: Move semantic tag handling back to
8860 cedet/semantic/senator.el. (Bug#14052)
8861
8862 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8865 into the prompt either (bug#13963).
8866
8867 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8870 part of "(error-foo)".
8871
8872 2013-03-24 Juri Linkov <juri@jurta.org>
8873
8874 * replace.el (list-matching-lines-prefix-face): New defcustom.
8875 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8876 `occur-engine' if `face-differs-from-default-p' returns t.
8877 (occur-engine): Add `,' inside backquote construct to evaluate
8878 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8879 Pass `prefix-face' to the functions `occur-context-lines' and
8880 `occur-engine-add-prefix'.
8881 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8882 `prefix-face' and propertize the prefix with `prefix-face'.
8883 (Bug#14017)
8884
8885 2013-03-24 Leo Liu <sdl.web@gmail.com>
8886
8887 * nxml/rng-valid.el (rng-validate-while-idle)
8888 (rng-validate-quick-while-idle): Guard against deleted buffer.
8889 (Bug#13999)
8890
8891 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8892 is the last entry in kill-buffer-hook.
8893
8894 * files.el (kill-buffer-hook): Doc fix.
8895
8896 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8897
8898 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8899 Make it safe-local.
8900
8901 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8902
8903 2013-03-23 Leo Liu <sdl.web@gmail.com>
8904
8905 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8906 Remove.
8907
8908 * nxml/rng-valid.el (rng-validate-mode)
8909 (rng-after-change-function, rng-do-some-validation):
8910 * nxml/rng-maint.el (rng-validate-buffer):
8911 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8912 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8913 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8914 (nxml-extend-after-change-region): Use with-silent-modifications.
8915
8916 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8917 timer-idle-list.
8918
8919 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8920 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8921 timer-idle-list. (Bug#13999)
8922
8923 2013-03-23 Juri Linkov <juri@jurta.org>
8924
8925 * info.el (info-index-match): New face.
8926 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8927 main pattern and add text properties with the new face to matches
8928 in index entries relative to the beginning of the index entry.
8929 (Bug#14015)
8930
8931 2013-03-21 Eric Ludlam <zappo@gnu.org>
8932
8933 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8934 Inhibit read only while inserting objects.
8935
8936 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8937
8938 * progmodes/cfengine.el: Update docs to mention
8939 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8940 symbol motion. Remove "_" from the word syntax.
8941
8942 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8943
8944 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8945 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8946
8947 2013-03-20 Juri Linkov <juri@jurta.org>
8948
8949 * info.el (Info-next-reference-or-link)
8950 (Info-prev-reference-or-link): New functions.
8951 (Info-next-reference, Info-prev-reference): Use them.
8952 (Info-try-follow-nearest-node): Handle footnote navigation.
8953 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8954
8955 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8958 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8959
8960 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8961
8962 Suppress unnecessary non-ASCII chatter during build process.
8963 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8964 (batch-skkdic-convert): Suppress most of the chatter.
8965 It's not needed so much now that machines are faster,
8966 and its non-ASCII component was confusing; see Dmitry Gutov in
8967 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8968
8969 2013-03-20 Leo Liu <sdl.web@gmail.com>
8970
8971 * ido.el (ido-chop): Fix bug#10994.
8972
8973 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8974
8975 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8976 Remove vars.
8977 (whitespace-color-on, whitespace-color-off):
8978 Use `font-lock-fontify-buffer' (Bug#13817).
8979
8980 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8983 remapping in mode-line.
8984 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8985
8986 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8987
8988 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8989 value for `whitespace-line' face (Bug#13875).
8990 (whitespace-font-lock-keywords): Change description.
8991 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8992 the constructed keywords instead.
8993 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8994
8995 2013-03-19 Leo Liu <sdl.web@gmail.com>
8996
8997 * progmodes/compile.el (compilation-display-error): New command.
8998 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8999 C-o. (Bug#13992)
9000
9001 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9004
9005 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9006
9007 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9008
9009 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9010
9011 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9012
9013 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9014 * net/tramp-gvfs.el (top):
9015 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9016 (tramp-handle-shell-command): Use it.
9017 (tramp-dissect-file-name): Raise an error when hostname is a
9018 method name, and neither method nor user is specified.
9019
9020 * net/trampver.el: Update release number.
9021
9022 2013-03-18 Leo Liu <sdl.web@gmail.com>
9023
9024 Make sure eldoc can be turned off properly.
9025 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9026 eldoc-mode.
9027 (eldoc-display-message-p): Revert last change.
9028 (eldoc-display-message-no-interference-p)
9029 (eldoc-print-current-symbol-info): Tweak.
9030
9031 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9032
9033 * doc-view.el (doc-view-new-window-function): Check the new window
9034 overlay's display property instead the char property of the
9035 buffer's first char. Use `with-selected-window' instead of
9036 `save-window-excursion' with `select-window'.
9037 (doc-view-document->bitmap): Check the current doc-view overlay's
9038 display property instead the char property of the buffer's first char.
9039
9040 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9041
9042 Automate the build of ja-dic.el (Bug#13984).
9043 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9044 from the input, rather than assume that it's been done for us by the
9045 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9046 the current date into a ja-dic.el comment, as that complicates
9047 regression testing.
9048
9049 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9050
9051 * whitespace.el: Fix double evaluation.
9052 (whitespace-space, whitespace-hspace, whitespace-tab)
9053 (whitespace-newline, whitespace-trailing, whitespace-line)
9054 (whitespace-space-before-tab, whitespace-indentation)
9055 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9056 obsolete defvars.
9057 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9058 (whitespace-color-on): Use a single font-lock-add-keywords call.
9059 Fix double-evaluation of face variables.
9060
9061 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9062
9063 * net/tramp-adb.el (tramp-adb-parse-device-names):
9064 Use `start-process' instead of `call-process'. Otherwise, the
9065 function might be blocked under MS Windows. (Bug#13299)
9066
9067 2013-03-17 Leo Liu <sdl.web@gmail.com>
9068
9069 Extend eldoc to display info in the mode-line. (Bug#13978)
9070 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9071 (eldoc-mode-line-string): New variable.
9072 (eldoc-minibuffer-message): New function.
9073 (eldoc-message-function): New variable.
9074 (eldoc-message): Use it.
9075 (eldoc-display-message-p)
9076 (eldoc-display-message-no-interference-p):
9077 Support eldoc-post-insert-mode.
9078
9079 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9080 (eval-expression): Run it.
9081
9082 2013-03-17 Roland Winkler <winkler@gnu.org>
9083
9084 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9085 strings in the list of return values.
9086
9087 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9088
9089 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9090 radix before checking for HMS forms.
9091
9092 2013-03-16 Leo Liu <sdl.web@gmail.com>
9093
9094 * progmodes/scheme.el: Add indentation and font-locking for λ.
9095 (Bug#13975)
9096
9097 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9100 token before point (bug#13942).
9101
9102 2013-03-16 Leo Liu <sdl.web@gmail.com>
9103
9104 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9105
9106 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9107
9108 * startup.el (command-line-normalize-file-name): Fix handling of
9109 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9110 <xfq.free@gmail.com> in
9111 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9112
9113 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9114
9115 Sync with Tramp 2.2.7.
9116
9117 * net/trampver.el: Update release number.
9118
9119 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9120
9121 * doc-view.el: Fix bug#13887.
9122 (doc-view-insert-image): Don't modify overlay associated to
9123 non-live windows, and implement horizontal centering of image in
9124 case it's smaller than the window.
9125 (doc-view-new-window-function): Force redisplay of new windows on
9126 doc-view buffers.
9127
9128 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9129
9130 * saveplace.el (save-place-alist-to-file): Don't sort
9131 `save-place-alist', just pretty-print it (bug#13882).
9132
9133 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9134
9135 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9136 Check whether `default-file-name-coding-system' is bound.
9137 It isn't in XEmacs.
9138
9139 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9142 backquotes for `obsolete' (bug#13929).
9143
9144 * international/mule.el (find-auto-coding): Include file name in
9145 obsolescence warning (bug#13922).
9146
9147 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9148
9149 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9150 for CFEngine 3-specific indentation.
9151 (cfengine3-indent-line): Use it. Fix up category regex.
9152 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9153
9154 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * type-break.el (type-break-file-name):
9157 * textmodes/remember.el (remember-data-file):
9158 * strokes.el (strokes-file):
9159 * shadowfile.el (shadow-initialize):
9160 * saveplace.el (save-place-file):
9161 * ps-bdf.el (bdf-cache-file):
9162 * progmodes/idlwave.el (idlwave-config-directory):
9163 * net/quickurl.el (quickurl-url-file):
9164 * international/kkc.el (kkc-init-file-name):
9165 * ido.el (ido-save-directory-list-file):
9166 * emulation/viper.el (viper-custom-file-name):
9167 * emulation/vip.el (vip-startup-file):
9168 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9169 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9170
9171 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9172
9173 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9174 * language/thai-word.el: Switch to UTF-8.
9175
9176 See ChangeLog.16 for earlier changes.
9177
9178 ;; Local Variables:
9179 ;; coding: utf-8
9180 ;; End:
9181
9182 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9183
9184 This file is part of GNU Emacs.
9185
9186 GNU Emacs is free software: you can redistribute it and/or modify
9187 it under the terms of the GNU General Public License as published by
9188 the Free Software Foundation, either version 3 of the License, or
9189 (at your option) any later version.
9190
9191 GNU Emacs is distributed in the hope that it will be useful,
9192 but WITHOUT ANY WARRANTY; without even the implied warranty of
9193 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9194 GNU General Public License for more details.
9195
9196 You should have received a copy of the GNU General Public License
9197 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.