* lisp/Makefile.in (abs_lisp): Remove, replace by abs_srcdir
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-02 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4
5 Use relative filenames in TAGS files.
6 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7 (lisptagsfiles4, TAGS): Use relative file names.
8 (TAGS-LISP): Remove.
9 (maintainer-clean): No more TAGS-LISP file.
10
11 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
12 (lisptagsfiles4): Use absolute filenames again.
13 (TAGS, TAGS-LISP): Not everything needs to run in one line.
14 Remove all *loaddefs files, not just the first. Remove esh-groups.
15 (maintainer-clean): Delete TAGS, TAGS-LISP.
16
17 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
18
19 * emacs-lisp/package.el (package-version-join): Recognize
20 snapshot versions.
21
22 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
23
24 * subr.el (version-regexp-alist): Add support for snapshot versions.
25
26 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): New
29 function, replacement for `smie-rule-parent' for when we want to
30 skip over our direct parent if it's an assignment token..
31 (ruby-smie-rules): Use it.
32
33 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
34
35 * progmodes/ruby-mode.el Use `syntax-propertize-function'
36 unconditionally. Remove now unnecessary forward declarations.
37 Remove XEmacs-specific setup.
38 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
39 (ruby-font-lock-syntactic-keywords)
40 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
41 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
42 (ruby-here-doc-end-syntax): Remove.
43 (ruby-mode): Don't check whether `syntax-propertize-rules' is
44 defined as function.
45
46 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
47
48 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
49
50 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
51
52 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
53 table and abbrev table, `define-derived-mode' does that for us
54 anyway.
55
56 2013-11-01 Glenn Morris <rgm@gnu.org>
57
58 * Makefile.in: Remove manual mh-e dependencies (writing .elc
59 files is atomic for some time, so no parallel compilation issues).
60
61 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
62
63 * faces.el (face-x-resources): Add :distant-foreground.
64 (region): Use :distant-foreground for gtk and ns.
65
66 2013-11-01 Tassilo Horn <tsdh@gnu.org>
67
68 Allow multiple bibliographies when BibLaTeX is used rather than
69 BibTeX.
70 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
71 (reftex-locate-bibliography-files): Us it.
72
73 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
74
75 * image.el (image-type-header-regexps): Fix the 'pbm' part to
76 allow comments in pbm files.
77
78 * term/w32-win.el (dynamic-library-alist): Support newer versions
79 of libjpeg starting with v7: look only for the DLL from the
80 version against which Emacs was built.
81 Support versions of libpng beyond 1.4.x.
82 Support libtiff v4.x.
83
84 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
85
86 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
87 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
88 Add property :safe.
89 (ruby-deep-arglist): Add property :type.
90
91 2013-10-31 Glenn Morris <rgm@gnu.org>
92
93 * Makefile.in (custom-deps, finder-data): No need to setq the target
94 variables, we are in the right directory and the defaults work fine.
95
96 2013-10-30 Glenn Morris <rgm@gnu.org>
97
98 * Makefile.in (autoloads): Do not use abs_lisp.
99
100 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
101 `newline' does not respect `standard-output', so use `princ'.
102
103 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
104
105 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
106 * buff-menu.el (Buffer-menu--unmark): New function.
107 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
108
109 2013-10-30 Glenn Morris <rgm@gnu.org>
110
111 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
112
113 * emacs-lisp/package.el (lm-homepage): Declare.
114
115 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
116 Fix doc typos.
117
118 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
119
120 * Makefile.in (finder-data, autoloads, update-subdirs)
121 (compile-main, compile-clean, compile-always, bootstrap-clean):
122 Check return value of cd.
123 (compile-calc): Remove.
124
125 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
128
129 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
130 (byte-compile-and-folded): New function.
131 (=, <, >, <=, >=): Use it.
132
133 * dos-w32.el (minibuffer-history-case-insensitive-variables)
134 (path-separator, null-device, buffer-file-coding-system)
135 (lpr-headers-switches): Check system-type before modifying them.
136 (find-buffer-file-type-coding-system): Mark obsolete.
137 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
138 find-file-not-found-set-buffer-file-coding-system.
139 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
140 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
141 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
142 (w32-direct-print-region-helper, w32-direct-print-region-function)
143 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
144 * startup.el (normal-top-level-add-subdirs-to-load-path):
145 * ps-print.el (ps-print-region-function):
146 * lpr.el (print-region-function): Use new name.
147
148 * subr.el (custom-declare-variable-early): Remove function.
149 (custom-declare-variable-list): Remove var.
150 (error, user-error): Remove `while' loop.
151 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
152 (user-emacs-directory-warning, locate-user-emacs-file):
153 Move to files.el.
154 * simple.el (read-quoted-char-radix, read-quoted-char):
155 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
156 Move from subr.el.
157 * custom.el (custom-declare-variable-list): Don't process
158 custom-declare-variable-list.
159
160 * progmodes/python.el (python-shell-get-buffer): New function.
161 (python-shell-get-process): Use it.
162 (python-shell-send-string): Always use utf-8 and add a cookie to tell
163 Python which encoding was used. Don't split-string since we only care
164 about the first line. Return the temp-file, if applicable.
165 (python-shell-send-region): Tell compile.el how to turn locations in
166 the temp-file into locations in the source buffer.
167
168 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * subr.el (undefined): Add missing behavior from the C code for
171 unbound keys.
172
173 * rect.el: Use lexical-binding. Add new rectangular region support.
174 (rectangle-mark): New command.
175 (rectangle--region): New var.
176 (deactivate-mark-hook): Reset rectangle--region.
177 (rectangle--extract-region, rectangle--insert-for-yank)
178 (rectangle--highlight-for-redisplay)
179 (rectangle--unhighlight-for-redisplay): New functions.
180 (region-extract-function, redisplay-unhighlight-region-function)
181 (redisplay-highlight-region-function): Use them to handle
182 rectangular region.
183 * simple.el (region-extract-function): New var.
184 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
185 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
186 (kill-region): Replace obsolete `yank-handler' arg with `region'.
187 (copy-region-as-kill, kill-ring-save): Add `region' argument.
188 (redisplay-unhighlight-region-function)
189 (redisplay-highlight-region-function): New vars.
190 (redisplay--update-region-highlight): New function.
191 (pre-redisplay-function): Use it.
192 (exchange-point-and-mark): Don't deactivate the mark before
193 reactivate-it anyway.
194 * comint.el (comint-kill-region): Remove yank-handler argument.
195 * delsel.el (delete-backward-char, backward-delete-char-untabify)
196 (delete-char): Remove property, since it's now part of their
197 default behavior.
198 (self-insert-iso): Remove property since this command doesn't exist.
199
200 * emacs-lisp/package.el (package--download-one-archive)
201 (describe-package-1): Don't query the user about final newline.
202
203 2013-10-29 Daniel Colascione <dancol@dancol.org>
204
205 * net/tramp.el (tramp-methods): Document new functionality.
206 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
207 tramp-hostname-checker if method provides one instead of scanning
208 argument list for "%h" to decide hostname acceptability.
209
210 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
211
212 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
213 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
214 Handle COPY-CONTENTS. (Bug#15737)
215
216 2013-10-28 Daiki Ueno <ueno@gnu.org>
217
218 * epa-file.el
219 (epa-file-cache-passphrase-for-symmetric-encryption):
220 Document that this option has no effect with GnuPG 2.0 (bug#15552).
221
222 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
223
224 * image.el (defimage):
225 (image-load-path): Doc fixes.
226
227 2013-10-27 Alan Mackenzie <acm@muc.de>
228
229 Indent statements in macros following "##" correctly.
230 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
231 Modify the "#" arm of a cond form to handle "#" and "##" operators.
232
233 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
234
235 * linum.el (linum-update-window): Fix boundary test (bug#13446).
236
237 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
238
239 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
240 after `=' is probably a new expression.
241
242 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
243
244 * man.el (man-imenu-title): New option.
245 (Man-mode-map): Add menu. (Bug#15722)
246 (Man-mode): Add imenu to menu.
247
248 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
249
250 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
251 specific in what the first arg can be: a non-keyword word,
252 string/regexp/percent literal opener, opening paren, or unary
253 operator followed directly by word.
254
255 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
258 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
259 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
260 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
261 Remove vars, they do not apply any more.
262 (prolog-mode-abbrev-table): Remove redundant declaration.
263 (prolog-upper-case-string, prolog-lower-case-string): Remove.
264 (prolog-use-smie): Remove.
265 (prolog-smie-rules): Add indentation rule for the if-then-else layout
266 supported by prolog-electric-if-then-else-flag.
267 (prolog-mode-variables, prolog-menu): Use setq-local.
268 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
269 Remove binding to `Backspace' since this key doesn't exist anyway.
270 Remove bindings for electric self-inserting keys.
271 (prog-mode): Assume it's defined.
272 (prolog-post-self-insert): New function.
273 (prolog-mode): Use it.
274 (prolog-indent-line, prolog-indent-level)
275 (prolog-find-indent-of-matching-paren)
276 (prolog-indentation-level-of-line, prolog-goto-comment-column)
277 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
278 (prolog-goto-next-paren, prolog-in-string-or-comment)
279 (prolog-tokenize, prolog-inside-mline-comment)
280 (prolog-find-start-of-mline-comment): Remove functions.
281 (prolog-find-unmatched-paren, prolog-clause-end)
282 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
283 (prolog-electric--if-then-else): Rename from
284 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
285 (prolog-tokenize-searchkey): Remove const.
286 (prolog-clause-info): Use forward-sexp.
287 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
288 (prolog-electric-if-then-else): Remove commands.
289 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
290 for use in post-self-insert-hook.
291 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
292 for use in post-self-insert-hook.
293 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
294 for use in post-self-insert-hook.
295 (prolog-electric--underscore): Rename from prolog-electric--underscore;
296 adapt it for use in post-self-insert-hook.
297
298 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
299
300 * emacs-lisp/ert.el (ert-run-tests-interactively):
301 Use `completing-read'. (Bug#9756)
302
303 2013-10-25 Eli Zaretskii <eliz@gnu.org>
304
305 * simple.el (line-move): Call line-move-1 instead of
306 line-move-visual when the current window hscroll is zero, but
307 temporary-goal-column indicates we will need to hscroll as result
308 of the movement. (Bug#15712)
309
310 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
311
312 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
313 capitalization. Use :visible instead of :active.
314 Fix `ruby-indent-exp' reference. Add menu items for the generic
315 commands that are used with SMIE.
316 (ruby-do-end-to-brace): Insert space after `{'.
317
318 2013-10-25 John Anthony <john@jo.hnanthony.com>
319
320 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
321
322 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
323
324 2013-10-25 Glenn Morris <rgm@gnu.org>
325
326 * vc/vc.el (vc-print-log): Don't use a working revision unless
327 one was explicitly specified. (Bug#15322)
328
329 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * subr.el (add-to-list): Preserve return value in compiler-macro
332 (bug#15692).
333
334 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
335
336 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
337 result. Ask user to retry using '-all' flag. (Bug#15701)
338
339 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * emacs-lisp/smie.el: New smie-config system.
342 (smie-config): New defcustom.
343 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
344 (smie-config-guess, smie-config-save): New commands.
345 (smie-config--mode-local, smie-config--buffer-local)
346 (smie-config--trace, smie-config--modefuns): New vars.
347 (smie-config--advice, smie-config--mode-hook)
348 (smie-config--setter, smie-config-local, smie-config--get-trace)
349 (smie-config--guess-value, smie-config--guess): New functions.
350 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
351 text properties. Treat "string fence" syntax like string syntax.
352
353 * progmodes/sh-script.el (sh-use-smie): Change default.
354 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
355 (sh-var-value): Simplify by CSE.
356 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
357 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
358 is used.
359 (sh-guess-basic-offset): Use cl-incf.
360 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
361
362 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
363
364 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
365 (bug#15699).
366
367 2013-10-24 Glenn Morris <rgm@gnu.org>
368
369 * Makefile.in (abs_top_srcdir): Remove.
370 (update-subdirs): Use relative path to update-subdirs.
371
372 2013-10-24 Eli Zaretskii <eliz@gnu.org>
373
374 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
375 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
376 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
377 Call unmsys--file-name before expand-file-name, not after it.
378
379 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
380
381 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
382 (ert-test-skipped): New error.
383 (ert-skip, ert-stats-skipped): New defuns.
384 (ert--skip-unless): New macro.
385 (ert-test-skipped): New struct.
386 (ert--run-test-debugger, ert-test-result-type-p)
387 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
388 (ert--stats-set-test-and-result, ert-char-for-test-result)
389 (ert-string-for-test-result, ert-run-tests-batch)
390 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
391 Handle skipped tests. (Bug#9803)
392
393 2013-10-24 Glenn Morris <rgm@gnu.org>
394
395 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
396
397 * Makefile.in (abs_top_srcdir): New, set by configure.
398 (update-subdirs): Correct build-aux location.
399
400 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
401
402 * vc/vc.el (vc-print-root-log): Always set `default-directory'
403 value, whether we could auto-deduce `backend', or not.
404
405 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
406 with parameters" example. Simplify the "is it block or is it
407 hash" check, but also make it more thorough.
408
409 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
410
411 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
412
413 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
416 { if it is hanging.
417
418 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
419 :before ";".
420
421 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
422
423 * progmodes/compile.el (compilation-directory-matcher)
424 (compilation-page-delimiter):
425 Support GNU Make-4.0 directory quoting. (Bug#15678)
426
427 2013-10-23 Leo Liu <sdl.web@gmail.com>
428
429 * ido.el (ido-tidy): Handle read-only text.
430
431 2013-10-23 Glenn Morris <rgm@gnu.org>
432
433 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
434 (emacs, compile, compile-always):
435 Quote entities that might contain whitespace.
436 (custom-deps, finder-data, autoloads): Use abs_lisp.
437 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
438 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
439 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
440
441 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
442
443 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
444 Use `following-char'.
445
446 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
449 * progmodes/ruby-mode.el (ruby-smie-rules):
450 Remove corresponding workaround. Fix indentation rule of ";" so it
451 also applies when ";" is the parent.
452
453 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
454
455 * frame.el (display-screens, display-pixel-height)
456 (display-pixel-width, display-mm-width, display-backing-store)
457 (display-save-under, display-planes, display-color-cells)
458 (display-visual-class, display-monitor-attributes-list):
459 Mention the optional ‘display’ argument in doc strings.
460
461 2013-10-22 Michael Gauland <mikelygee@amuri.net>
462
463 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
464 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
465
466 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
467
468 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
469 TODO. Add "." after " @ ".
470 (ruby-smie--at-dot-call): New function. Checks if point at method
471 call with explicit target.
472 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
473 to the method name tokens when it precedes them.
474 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
475 (ruby-smie-rules): Add rule for indentation before and after "."
476 token.
477
478 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * textmodes/remember.el (remember-diary-extract-entries):
481 Avoid add-to-list.
482
483 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
484 an instruction.
485
486 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
487
488 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
489 (ruby-smie--implicit-semi-p): Add new operator chars.
490
491 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
492 `smie-down-list'.
493 (ruby-smie--args-separator-p): Check that there's no newline
494 between method call and its arguments.
495
496 2013-10-20 Alan Mackenzie <acm@muc.de>
497
498 Allow comma separated lists after Java "implements".
499
500 * progmodes/cc-engine.el (c-backward-over-enum-header):
501 Parse commas.
502 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
503 from a "disallowed" list in enum fontification.
504
505 2013-10-20 Johan Bockgård <bojohan@gnu.org>
506
507 * startup.el (default-frame-background-mode): Remove unused defvar.
508
509 * progmodes/verilog-mode.el (verilog-mode): Don't set
510 comment-indent-function globally.
511
512 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
513
514 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
515 Move Info menu item creation to ns-win.el.
516
517 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
518 in menu bar.
519
520 * menu-bar.el: Move GNUStep specific menus...
521
522 * term/ns-win.el (ns-initialize-window-system): ... to here.
523
524 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * simple.el (newline): Only run post-self-insert-hook when
527 called interactively.
528
529 2013-10-19 Johan Bockgård <bojohan@gnu.org>
530
531 * icomplete.el (icomplete-with-completion-tables): Add :version.
532
533 2013-10-19 Alan Mackenzie <acm@muc.de>
534
535 Fix fontification bugs with constructors and const.
536
537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
538 CASE 2) Remove the check for the absence of a suffix construct
539 after a function declaration with only types (no identifiers) in
540 the parentheses. Also, accept a function declaration with just a
541 type inside the parentheses, if this type can be positively
542 recognised as such, or if a prefix keyword like "explicit" nails
543 down the construct as a declaration.
544
545 2013-10-19 Eli Zaretskii <eliz@gnu.org>
546
547 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
548 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
549 the problem whereby selecting a menu item that leads to a
550 minibuffer prompt moves the cursor out of the minibuffer window,
551 making it hard to type at the prompt. Suggested by Stefan Monnier
552 <monnier@iro.umontreal.ca>.
553
554 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
555
556 * menu-bar.el: Don't make Services menu.
557
558 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
559
560 * ffap.el: Handle "/usr/include/c++/<version>" directories.
561 (ffap-alist): Use ffap-c++-mode for c++-mode.
562 (ffap-c++-path): New variable.
563 (ffap-c++-mode): New function.
564
565 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
566
567 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
568
569 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
570
571 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
572 introduced on 2013-09-08, which results in an infinite loop
573 requesting a password.
574
575 2013-10-18 Glenn Morris <rgm@gnu.org>
576
577 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
578
579 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
580
581 Sync with upstream verilog-mode revision 1a6ecec7.
582 * progmodes/verilog-mode.el (verilog-mode-version): Update.
583 (verilog-mode-release-date): Remove.
584 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
585 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
586 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
587 (verilog-auto-tieoff-ignore-regexp)
588 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
589 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
590 (verilog-signals-with, verilog-dir-cache-preserving)
591 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
592 Doc fixes.
593 (verilog-case-fold): New option, to control case folding in
594 regexp searches, bug597.
595 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
596 (verilog-string-match-fold, verilog-in-paren-count)
597 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
598 (verilog-at-close-struct-p): New functions.
599 (verilog-beg-block-re-ordered, verilog-extended-case-re)
600 (verilog-forward-sexp, verilog-set-auto-endcomments):
601 (verilog-leap-to-case-head): Handle "unique0" case.
602 (verilog-in-constraint-re): New constant.
603 (verilog-keywords, verilog-type-font-keywords):
604 Add some SystemVerilog 1800-2012 keywords.
605 (verilog-label-be): Remove unimplemented argument, bug669.
606 (verilog-batch-execute-func): When batch expanding clear
607 create-lockfiles to prevent spurious user locks when a file ends
608 up not changing.
609 (verilog-calculate-indent, verilog-calc-1)
610 (verilog-at-close-constraint-p, verilog-at-constraint-p)
611 (verilog-do-indent): Fix indentation of nested constraints
612 and structures.
613 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
614 (verilog-auto-inst-param): Use verilog-string-match-fold.
615 (verilog-read-inst-module-matcher):
616 Fix AUTOINST on gate primitives with #1.
617 (verilog-read-decls): Fix double-declaring user-defined typed signals.
618 Reads all user-defined typed variables.
619 (verilog-read-defines): Fix reading definitions inside comments, bug647.
620 (verilog-signals-matching-regexp)
621 (verilog-signals-not-matching-regexp, verilog-auto):
622 Respect verilog-case-fold.
623 (verilog-diff-report): Fix line count.
624 (verilog-auto-assign-modport): Remove unused local `modi'.
625 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
626 better handle multidimensional arrays.
627 Fix packed array ports misadding bit index in AUTOINST, bug637.
628 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
629 to not double-declare existing outputs and inputs, respectively.
630 (verilog-template-map): Bind U to verilog-sk-uvm-component.
631 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
632 (verilog-sk-uvm-component): New skeleton.
633 (verilog-submit-bug-report): Add verilog-case-fold,
634 remove verilog-mode-release-date.
635
636 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
637
638 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
639 as before.
640
641 2013-10-18 Reuben Thomas <rrt@sc3d.org>
642
643 * textmodes/remember.el (remember): set buffer-offer-save in
644 remember buffers (bug#13566).
645
646 2013-10-18 Daniel Colascione <dancol@dancol.org>
647
648 When evaluating forms in ielm, direct standard output to ielm
649 buffer. Add new ielm-return-for-effect command. Remove trailing
650 whitespace throughout.
651
652 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
653 (ielm-return-for-effect): New command.
654 (ielm-send-input): Accept optional `for-effect' parameter.
655 (ielm-eval-input): Accept optional `for-effect' parameter.
656 Bind `standard-output' to stream we create using
657 `ielm-standard-output-impl'. Suppress printing result when
658 `for-effect'.
659 (ielm-standard-output-impl): New function.
660 (inferior-emacs-lisp-mode): Explain new features in documentation.
661
662 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
663
664 Code cleanup.
665
666 * net/tramp.el (tramp-debug-message): Do not check for connection
667 buffer.
668 (tramp-message): Use "vector" connection property.
669
670 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
671 (tramp-equal-remote, tramp-eshell-directory-change)
672 * net/tramp-adb.el (tramp-adb-handle-copy-file)
673 (tramp-adb-handle-rename-file)
674 * net/tramp-cmds.el (tramp-list-remote-buffers)
675 (tramp-cleanup-connection, tramp-cleanup-this-connection)
676 * net/tramp-compat.el (tramp-compat-process-running-p)
677 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
678 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
679 (tramp-gvfs-handle-rename-file)
680 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
681 (tramp-set-file-uid-gid)
682 * net/tramp-smb.el (tramp-smb-handle-copy-file)
683 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
684 of `file-remote-p'.
685
686 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
687 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
688 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
689 (tramp-gw-open-network-stream): Suppress unrelated traces.
690
691 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
692 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
694 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
695 connection property.
696
697 * net/tramp-cache.el (top): Suppress traces when reading
698 persistency file.
699
700 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
701 Refactor common code. Improve debug message.
702 (tramp-maybe-open-connection)
703 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
704 connection buffer too early.
705
706 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
707 from `tramp-smb-actions-with-acl'.
708 (tramp-smb-actions-set-acl): New defconst.
709 (tramp-smb-handle-copy-directory)
710 (tramp-smb-action-get-acl): New defun, renamed from
711 `tramp-smb-action-with-acl'.
712 (tramp-smb-action-set-acl): New defun.
713 (tramp-smb-handle-set-file-acl): Rewrite.
714
715 2013-10-17 Glenn Morris <rgm@gnu.org>
716
717 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
718
719 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * skeleton.el (skeleton-newline): Remove.
722 (skeleton-internal-1): Use (insert "\n") instead.
723
724 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
725 let-bindings.
726
727 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
728 forward-sexp-function while we redo its job (bug#15613).
729
730 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
731
732 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
733 represented by lists.
734
735 2013-10-16 Glenn Morris <rgm@gnu.org>
736
737 * tmm.el (tmm--history): New dynamic variable.
738 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
739
740 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
743 (tramp-smb-errors): Add error messages.
744 (tramp-smb-actions-with-acl): New defconst.
745 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
746 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
747 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
748 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
749 (tramp-smb-get-stat-capability): Fix tests.
750
751 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
752
753 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
754 (bug#15580).
755
756 2013-10-16 Glenn Morris <rgm@gnu.org>
757
758 * ansi-color.el (ansi-color-drop-regexp):
759 Add 1J, 1K, 2K. (Bug#15617)
760
761 * files.el (hack-local-variables--warned-lexical): New.
762 (hack-local-variables):
763 Warn about misplaced lexical-binding. (Bug#15616)
764
765 * net/eww.el (eww-render): Always set eww-current-url,
766 and update header line. (Bug#15622)
767 (eww-display-html): ... Rather than just doing it here.
768
769 2013-10-15 Eli Zaretskii <eliz@gnu.org>
770
771 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
772 menu navigations commands.
773
774 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
775
776 * progmodes/subword.el (subword-capitalize): Be careful when
777 the search for [[:alpha:]] fails (bug#15580).
778
779 2013-10-14 Eli Zaretskii <eliz@gnu.org>
780
781 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
782 to commands that scroll the menu.
783
784 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
785
786 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
787 Handle methods ending with `?' and `!'.
788
789 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
790
791 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
792 `japanese-cp932' to `cp932' to fix the problem where saving a
793 source file written in Shift_JIS twice would end up having
794 `coding: japanese-cp932' which Ruby could not recognize.
795 (ruby-mode-set-encoding): Add support for encodings mapped to nil
796 in `ruby-encoding-map'.
797 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
798 doesn't need to be explicitly declared in magic comment.
799 (ruby-encoding-map): Add type declaration for better customize UI.
800
801 2013-10-13 Glenn Morris <rgm@gnu.org>
802
803 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
804 Occur buffers are read-only. http://bugs.debian.org/720775
805
806 * emacs-lisp/authors.el (authors-fixed-entries):
807 Comment out old alpha stuff.
808
809 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
810
811 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
812 to `after-save-hook' instead of `before-save-hook'.
813 (ruby-mode-set-encoding): Use the value of coding system used to
814 write the file. Call `basic-save-buffer-1' after modifying the
815 buffer.
816
817 2013-10-13 Alan Mackenzie <acm@muc.de>
818
819 Fix indentation/fontification of Java enum with
820 "implements"/generic.
821
822 * progmodes/cc-engine.el (c-backward-over-enum-header):
823 Extracted from the three other places and enhanced to handle generics.
824 (c-inside-bracelist-p): Uses new function above.
825 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
826 function above.
827 (c-font-lock-enum-tail): Uses new function above.
828
829 2013-10-13 Kenichi Handa <handa@gnu.org>
830
831 * international/mule-cmds.el (select-safe-coding-system): Remove a
832 superfluous condition in chekcing whether a coding system is safe
833 or not.
834
835 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
836
837 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
838
839 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
840
841 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
842
843 2013-10-13 Glenn Morris <rgm@gnu.org>
844
845 * menu-bar.el (menu-bar-update-buffers):
846 Unify Buffers menu prompt string. (Bug#15576)
847
848 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
849
850 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
851 Add some entries.
852 (authors-fixed-entries): Use accented form of name.
853
854 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
857 method calls (bug#15594).
858 (ruby-smie--args-separator-p): New function.
859 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
860 recognize paren-free method calls.
861
862 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
863 internals of universal-argument.
864
865 2013-10-11 Eli Zaretskii <eliz@gnu.org>
866
867 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
868 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
869 dropped menu on second mouse click on the menu bar.
870
871 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
874 (explicit-shell-file-name): Declare.
875 (sh--vars-before-point, sh--cmd-completion-table): New functions.
876 (sh-completion-at-point-function): New function.
877 (sh-mode): Use it.
878 (sh-smie--keyword-p): Remove unused argument.
879 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
880 vars.
881 (sh-set-shell): Always setup SMIE, even if we use the
882 old indentation code.
883
884 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
885
886 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
887 cases of ? and =.
888 (ruby-smie-rules): Simplify the "do" rule. The cases when the
889 predicate would return nil are almost non-existent.
890 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
891
892 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
893 cache also after commands that modify the buffer but don't move
894 point.
895
896 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * env.el (substitute-env-in-file-name): New function.
899 (substitute-env-vars): Extend the meaning of the optional arg.
900
901 2013-10-10 Eli Zaretskii <eliz@gnu.org>
902
903 * term/w32-win.el (dynamic-library-alist): Define separate lists
904 of GIF DLLs for versions before and after 5.0.0 of giflib.
905 (Bug#15531)
906
907 2013-10-10 João Távora <joaotavora@gmail.com>
908
909 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
910 not locked, use last revision and current source as
911 defaults. (Bug#15569)
912
913 2013-10-10 Masatake YAMATO <yamato@redhat.com>
914
915 * menu-bar.el (menu-bar-open): Don't use popup-menu if
916 menu-bar is hidden.
917
918 2013-10-10 Martin Rudalics <rudalics@gmx.at>
919
920 * window.el (pop-to-buffer-same-window): Fix doc-string.
921 (Bug#15492)
922
923 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
926
927 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
928
929 * calendar/icalendar.el (icalendar-import-file):
930 Fix interactive spec. (Bug#15482)
931
932 2013-10-10 Glenn Morris <rgm@gnu.org>
933
934 * desktop.el (desktop-save): Default to saving in .emacs.d,
935 since PWD is no longer in desktop-path by default. (Bug#15319)
936
937 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
938 now that text mode has a menu with the same entry.
939 (menu-bar-text-mode-auto-fill): Remove now unused func.
940 * textmodes/text-mode.el (text-mode-map):
941 Use auto-fill help text from menu-bar.el.
942
943 2013-10-10 John Anthony <john@jo.hnanthony.com>
944
945 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
946
947 2013-10-09 Juri Linkov <juri@jurta.org>
948
949 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
950 instead of this-command-keys. Add universal-argument-more and
951 universal-argument-minus to the list of prefix commands. (Bug#15568)
952
953 2013-10-09 Glenn Morris <rgm@gnu.org>
954
955 * vc/vc-svn.el (vc-svn-create-repo):
956 Expand paths in file://... url. (Bug#15446)
957
958 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
959 Add some entries.
960 (authors): Remove unused local variables.
961
962 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * profiler.el: Create a more coherent calltree from partial backtraces.
965 (profiler-format): Hide the tail with `invisible' so that C-s can still
966 find the hidden elements.
967 (profiler-calltree-depth): Don't recurse so enthusiastically.
968 (profiler-function-equal): New hash-table-test.
969 (profiler-calltree-build-unified): New function.
970 (profiler-calltree-build): Use it.
971 (profiler-report-make-name-part): Indent the calltree less.
972 (profiler-report-mode): Add visibility specs for profiler-format.
973 (profiler-report-expand-entry, profiler-report-toggle-entry):
974 Expand the whole subtree when provided with a prefix arg.
975
976 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
977
978 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
979 iuwu-mod token.
980 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
981 hanging iuwu-mod token.
982 (ruby-smie--forward-token): Do not include a dot after a token in
983 that token.
984 (ruby-smie--backward-token): Likewise.
985
986 2013-10-08 Juri Linkov <juri@jurta.org>
987
988 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
989 to isearch-other-control-char.
990 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
991 and isearch-post-command-hook to post-command-hook.
992 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
993 and isearch-post-command-hook from post-command-hook.
994 (isearch-unread-key-sequence)
995 (isearch-reread-key-sequence-naturally)
996 (isearch-lookup-scroll-key, isearch-other-control-char)
997 (isearch-other-meta-char): Remove functions.
998 (isearch-pre-command-hook, isearch-post-command-hook):
999 New functions based on isearch-other-meta-char rewritten
1000 relying on the new behavior of overriding-terminal-local-map
1001 that does not replace the local keymaps any more. (Bug#15200)
1002
1003 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1004
1005 Support menus on text-mode terminals.
1006 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1007 functionality.
1008
1009 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1010
1011 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1012 Move here from mouse.el.
1013 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1014 and arrow keys.
1015 (tty-menu-navigation-map): New map for TTY menu navigation.
1016
1017 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1018
1019 * frame.el (display-mouse-p): Report text-mode mouse as available
1020 on w32.
1021 (display-popup-menus-p): Report availability if mouse is
1022 available; don't condition on window-system.
1023
1024 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1025 (tty-menu-selected-face): New faces.
1026
1027 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1030 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1031 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1032 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1033 New constants.
1034 (lisp-mode-variables): New `elisp' argument.
1035 (emacs-lisp-mode): Use it.
1036 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1037 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1038
1039 * indent.el: Use lexical-binding.
1040 (indent-region): Add progress reporter.
1041 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1042 last step.
1043 (indent--next-tab-stop): New function to implement this behavior.
1044 (tab-to-tab-stop, move-to-tab-stop): Use it.
1045
1046 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1047
1048 * indent.el (indent-rigidly--current-indentation): New function.
1049 (indent-rigidly-map): New var.
1050 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1051
1052 2013-10-08 Bastien Guerry <bzg@gnu.org>
1053
1054 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1055
1056 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * progmodes/perl-mode.el: Use lexical-binding.
1059 Remove redundant :group args.
1060 (perl-nochange): Change default to be closer to other major modes's
1061 standard behavior.
1062 (perl-indent-line): Don't consider text on current line as a
1063 valid beginning of function from which to indent.
1064
1065 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1066 with more than one argument (bug#15538).
1067
1068 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1069
1070 * vc/pcvs.el: Use lexical-binding.
1071 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1072 environment of `eval'.
1073 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1074 than a list of expressions. Adjust callers.
1075 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1076
1077 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1078
1079 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1080 case of the dot in a chained method call being on the following line.
1081
1082 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * electric.el (electric-indent-inhibit): New var.
1085 (electric-indent-post-self-insert-function): Use it.
1086 * progmodes/python.el (python-mode): Set it.
1087
1088 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1089 open braces.
1090
1091 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1092
1093 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1094 (css-mode): Use electric-indent-chars.
1095
1096 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1097 (font-lock-beg, font-lock-end): Move before first use.
1098 (nxml-mode): Use syntax-propertize-function.
1099 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1100 (nxml-extend-after-change-region): Remove.
1101 * nxml/xmltok.el: Use lexical-binding.
1102 (xmltok-save): Use `declare'.
1103 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1104 * nxml/nxml-util.el: Use lexical-binding.
1105 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1106 Use `declare'.
1107 * nxml/nxml-ns.el: Use lexical-binding.
1108 (nxml-ns-save): Use `declare'.
1109 (nxml-ns-prefixes-for): Avoid add-to-list.
1110 * nxml/rng-match.el: Use lexical-binding.
1111 (rng--ipattern): Use cl-defstruct.
1112 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1113 (rng-cons-group-after, rng-subst-group-after)
1114 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1115 Use closures instead of `(lambda...).
1116
1117 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1120 of BEG and END.
1121
1122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1123 Use `tramp-handle-insert-file-contents'.
1124 (tramp-gvfs-handle-insert-file-contents): Remove function.
1125
1126 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1127 Use `save-restriction' in order to keep markers.
1128
1129 * net/trampver.el: Update release number.
1130
1131 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * progmodes/compile.el (compilation-parse-errors):
1134 Use compilation--put-prop.
1135 (compilation--ensure-parse): Check compilation-multiline.
1136
1137 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1138
1139 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1140 lexical-binding.
1141
1142 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1143
1144 * progmodes/ruby-mode.el: Fix recently added tests.
1145 (ruby-smie-grammar): Add - and +.
1146 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1147 (ruby-smie--backward-id): New functions.
1148 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1149 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1150 any more.
1151
1152 2013-10-07 Leo Liu <sdl.web@gmail.com>
1153
1154 * register.el (register-preview-delay)
1155 (register-preview-functions): New variables.
1156 (register-read-with-preview, register-preview)
1157 (register-describe-oneline): New functions.
1158 (point-to-register, window-configuration-to-register)
1159 (frame-configuration-to-register, jump-to-register)
1160 (number-to-register, view-register, insert-register)
1161 (copy-to-register, append-to-register, prepend-to-register)
1162 (copy-rectangle-to-register): Use register-read-with-preview to
1163 read register. (Bug#15525)
1164
1165 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1166
1167 * net/network-stream.el (network-stream-open-starttls): Don't add
1168 --insecure if it's already present, because that gnutls-cli
1169 rejects getting that parameter twice.
1170
1171 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1174 keyword, too.
1175
1176 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * newcomment.el (comment-use-global-state): Change default value
1179 to t, mark obsolete (Bug#15251).
1180 (comment-beginning): In addition to `comment-to-syntax', check the
1181 value of `comment-use-global-state'.
1182
1183 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1186 (ruby-comment-column): Follow the global default, by default.
1187 (ruby-smie-grammar): Add assignment syntax.
1188 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1189 open-paren, a comma, or a \.
1190 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1191 and line continuations.
1192 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1193 followed by implicit semi-colons. Add rule for string concatenation
1194 and for indentation at BOB.
1195 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1196
1197 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1198 calling next-sexp, since next-token may have skipped chars which
1199 next-sexp doesn't know should be skipped!
1200
1201 2013-10-05 Leo Liu <sdl.web@gmail.com>
1202
1203 * progmodes/octave.el (octave-send-region):
1204 Call compilation-forget-errors.
1205
1206 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1207
1208 * vc/vc-svn.el (vc-svn-find-admin-dir):
1209 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1210 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1211 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1212 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1213
1214 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1217
1218 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1219
1220 * subr.el (read-passwd): Hide chars even when called within a context
1221 where after-change-functions is disabled (bug#15501).
1222 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1223 until we removed ourself from overriding-terminal-local-map.
1224
1225 2013-10-04 Leo Liu <sdl.web@gmail.com>
1226
1227 * progmodes/octave.el (inferior-octave-mode):
1228 Call compilation-forget-errors.
1229
1230 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1231
1232 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1233
1234 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1235
1236 * net/secrets.el (secrets-create-collection): Add optional
1237 argument ALIAS. Use proper Label keyword. Append ALIAS as
1238 dbus-call-method argument. (Bug#15516)
1239
1240 2013-10-04 Leo Liu <sdl.web@gmail.com>
1241
1242 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1243 (inferior-octave-compilation-font-lock-keywords): New variables.
1244 (compilation-error-regexp-alist)
1245 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1246 (inferior-octave-mode): Use compilation-shell-minor-mode.
1247
1248 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1249
1250 * minibuffer.el (completion--replace): Be careful that `end' might be
1251 a marker.
1252
1253 2013-10-03 Daiki Ueno <ueno@gnu.org>
1254
1255 Add support for package signature checking.
1256 * emacs-lisp/package.el (url-http-file-exists-p)
1257 (epg-make-context, epg-context-set-home-directory)
1258 (epg-verify-string, epg-context-result-for)
1259 (epg-signature-status, epg-signature-to-string)
1260 (epg-check-configuration, epg-configuration)
1261 (epg-import-keys-from-file): Declare.
1262 (package-check-signature): New user option.
1263 (package-unsigned-archives): New user option.
1264 (package-desc): Add `signed' field.
1265 (package-load-descriptor): Set `signed' field if .signed file exists.
1266 (package--archive-file-exists-p): New function.
1267 (package--check-signature): New function.
1268 (package-install-from-archive): Check package signature.
1269 (package--download-one-archive): Check archive signature.
1270 (package-delete): Remove .signed file.
1271 (package-import-keyring): New command.
1272 (package-refresh-contents): Import default keyring.
1273 (package-desc-status): Add "unsigned" status.
1274 (describe-package-1, package-menu--print-info)
1275 (package-menu-mark-delete, package-menu--find-upgrades)
1276 (package-menu--status-predicate): Support "unsigned" status.
1277
1278 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1281 the new compilation scheme using the new byte-codes.
1282
1283 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1284 (byte-pophandler): New byte codes.
1285 (byte-goto-ops): Adjust accordingly.
1286 (byte-compile--use-old-handlers): New var.
1287 (byte-compile-catch): Use new byte codes depending on
1288 byte-compile--use-old-handlers.
1289 (byte-compile-condition-case--old): Rename from
1290 byte-compile-condition-case.
1291 (byte-compile-condition-case--new): New function.
1292 (byte-compile-condition-case): New function that dispatches depending
1293 on byte-compile--use-old-handlers.
1294 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1295 when we can.
1296
1297 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1298 Optimize under `condition-case' and `catch' if
1299 byte-compile--use-old-handlers is nil.
1300 (disassemble-offset): Handle new bytecodes.
1301
1302 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * subr.el (error): Use `declare'.
1305 (decode-char, encode-char): Use advertised-calling-convention instead
1306 of the docstring to discourage use of the `restriction' arg.
1307
1308 2013-10-03 Daiki Ueno <ueno@gnu.org>
1309
1310 * epg.el (epg-verify-file): Add a comment saying that it does not
1311 notify verification error as a return value nor a signal.
1312 (epg-verify-string): Ditto.
1313
1314 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1315
1316 * progmodes/compile.el (compilation-start): Try globbing the arg to
1317 `cd' (bug#15417).
1318
1319 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1320
1321 Sync with Tramp 2.2.8.
1322
1323 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1324 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1325 * net/trampver.el: Update release number.
1326
1327 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1328
1329 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1330 and default-process-coding-system for darwin only.
1331
1332 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1335
1336 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1337
1338 * vc/vc-git.el (vc-git-grep): Disable pager.
1339
1340 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1341
1342 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1343 Use :url instead of :homepage, as per
1344 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1345
1346 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1347 non-nil, use `syntax-ppss' (Bug#15251).
1348
1349 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1350
1351 * progmodes/octave.el (inferior-octave-startup-file):
1352 Prefer ~/.emacs.d/init_octave.m.
1353
1354 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * emacs-lisp/package.el (package-desc-from-define):
1357 Accept additional arguments as plist, convert them to an alist and store
1358 them in the `extras' slot.
1359 (package-generate-description-file): Convert extras alist back to
1360 plist and append to the `define-package' form arguments.
1361 (package--alist-to-plist): New function.
1362 (package--ac-desc): Add `extras' slot.
1363 (package--add-to-archive-contents): Check if the archive-contents
1364 vector is long enough, and if it is, pass its `extras' slot value
1365 to `package-desc-create'.
1366 (package-buffer-info): Call `lm-homepage', pass the returned value
1367 to `package-desc-from-define'.
1368 (describe-package-1): Render the homepage button (Bug#13291).
1369
1370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1371 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1372
1373 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1374
1375 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1376 and default-process-coding-system to utf-8-unix (Bug#15402).
1377
1378 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1379
1380 * subr.el (looking-back): Do not recommend using looking-back.
1381
1382 2013-09-28 Alan Mackenzie <acm@muc.de>
1383
1384 Fix indentation/fontification of Java enum with "implements".
1385
1386 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1387 regexp which matches "implements", etc., in Java.
1388 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1389 specifier clauses coming after "enum".
1390 * progmodes/cc-fonts.el (c-font-lock-declarations)
1391 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1392 after "enum".
1393
1394 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1395
1396 * faces.el (region): Change ns_selection_color to
1397 ns_selection_fg_color, add ns_selection_bg_color.
1398
1399 2013-09-28 Leo Liu <sdl.web@gmail.com>
1400
1401 * progmodes/octave.el (inferior-octave-completion-table)
1402 (inferior-octave-completion-at-point): Minor tweaks.
1403
1404 * textmodes/ispell.el (ispell-lookup-words): Rename from
1405 lookup-words. (Bug#15460)
1406 (lookup-words): Obsolete.
1407 (ispell-complete-word, ispell-command-loop): All uses changed.
1408
1409 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1410
1411 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1412 (octave-mode-menu): Add octave-send-buffer.
1413 (octave-send-buffer): New function.
1414
1415 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1416
1417 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1418 octave-lookfor.
1419 (octave-mode-menu): Add octave-lookfor.
1420 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1421 octave-lookfor.
1422 (octave-lookfor): New function.
1423
1424 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * emacs-lisp/cl-macs.el:
1427 (cl--loop-destr-temps): Remove.
1428 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1429 its convention.
1430 (cl--loop-set-iterator-function): New function.
1431 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1432 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1433 Bind `it' with `let' instead of substituting it with `cl-subst'.
1434 (cl--unused-var-p): New function.
1435 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1436 Eliminate some unused variable warnings (bug#15326).
1437
1438 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1439
1440 * doc-view.el (doc-view-scale-reset): Rename from
1441 `doc-view-reset-zoom-level'.
1442 (doc-view-scale-adjust): New command.
1443 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1444 `doc-view-scale-adjust'.
1445
1446 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1447
1448 * doc-view.el (doc-view-reset-zoom-level): New command.
1449 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1450 zoom commands (bug#15466).
1451
1452 2013-09-26 Kenichi Handa <handa@gnu.org>
1453
1454 * international/quail.el (quail-help): Make it not a command.
1455
1456 2013-09-26 Leo Liu <sdl.web@gmail.com>
1457
1458 * minibuffer.el (completion-all-sorted-completions): Make args
1459 optional as they are.
1460
1461 2013-09-25 Daniel Colascione <dancol@dancol.org>
1462
1463 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1464 specs are and that they're not evaluated.
1465
1466 2013-09-24 Sam Steingold <sds@gnu.org>
1467
1468 * midnight.el (clean-buffer-list-kill-regexps)
1469 (clean-buffer-list-kill-buffer-names): Update for the new Man
1470 buffer naming which includes the object name.
1471
1472 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1475 (eshell-parse-command, eshell-parse-pipeline): Use it since
1476 eshell-separate-commands requires a dynamic scoped var.
1477 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1478
1479 2013-09-23 Leo Liu <sdl.web@gmail.com>
1480
1481 * autoinsert.el (auto-insert-alist): Make the value of
1482 lexical-binding match its file setting.
1483
1484 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1485
1486 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1487
1488 * autoarg.el (autoarg-kp-digit-argument):
1489 * electric.el (Electric-command-loop):
1490 * kmacro.el (kmacro-step-edit-insert):
1491 Do not set universal-argument-num-events.
1492
1493 2013-09-22 Leo Liu <sdl.web@gmail.com>
1494
1495 * files.el (interpreter-mode-alist): Add octave.
1496
1497 2013-09-21 Alan Mackenzie <acm@muc.de>
1498
1499 C++: fontify identifier in declaration following "public:" correctly.
1500 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1501 to match "public", etc.
1502 (c-decl-prefix-re): Add ":" into the C++ value.
1503 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1504 bit. Add a check for a ":" preceded by "public", etc.
1505
1506 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1507
1508 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1509 recognized by GDB 7.5 and later.
1510
1511 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1512
1513 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1514
1515 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * subr.el (internal--call-interactively): New const.
1518 (called-interactively-p): Use it (bug#3984).
1519
1520 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1521
1522 * vc/pcvs.el (cvs-mode-ignore):
1523 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1524 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1525
1526 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1529 (eshell-ls-orig-insert-directory): Remove.
1530 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1531 (eshell-ls-use-in-dired): Use advice-add/remove.
1532 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1533 Add `orig-fun' arg for use in :around advice.
1534 Make it check (redundantly) eshell-ls-use-in-dired.
1535
1536 2013-09-19 Glenn Morris <rgm@gnu.org>
1537
1538 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1539
1540 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1541
1542 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1543
1544 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1545
1546 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1547 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1548 (tramp-get-remote-python): New defuns.
1549 (tramp-get-remote-uid-with-perl)
1550 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1551 contributed by yary <not.com@gmail.com> (tiny change).
1552 (tramp-get-remote-uid-with-python)
1553 (tramp-get-remote-gid-with-python): New defuns. Python code
1554 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1555 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1556
1557 2013-09-19 Glenn Morris <rgm@gnu.org>
1558
1559 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1560
1561 * eshell/em-unix.el (eshell-remove-entries):
1562 Rename argument to avoid name-clash with global `top-level'.
1563
1564 * eshell/esh-proc.el (eshell-kill-process-function):
1565 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1566 (eshell-reset-after-proc): Remove unused arg `proc'.
1567
1568 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1569 (directory-files-and-attributes): Mark unused arg.
1570
1571 * eshell/em-unix.el (eshell-remove-entries):
1572 Remove unused arg `path'. Update callers.
1573
1574 * eshell/em-hist.el (eshell-hist-parse-arguments):
1575 Remove unused arg `silent'. Update callers.
1576
1577 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1578 Fix (f)boundp mix-up.
1579
1580 * eshell/em-smart.el (eshell-smart-scroll-window)
1581 (eshell-disable-after-change):
1582 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1583
1584 2013-09-18 Alan Mackenzie <acm@muc.de>
1585
1586 Fix fontification of type when followed by "const".
1587 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1588 "known" types from fontification.
1589
1590 2013-09-18 Glenn Morris <rgm@gnu.org>
1591
1592 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1593 (chart-face-list): Drop Emacsen without display-color-p.
1594
1595 * net/eww.el (libxml-parse-html-region): Declare.
1596 (eww-display-html): Explicit error if no libxml2 support.
1597
1598 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1599
1600 * image.el (image-type-from-buffer, image-multi-frame-p):
1601 Remove --without-x warning/error.
1602
1603 * mouse.el (mouse-yank-primary):
1604 * term.el (term-mouse-paste):
1605 Reorder to silence --without-x compilation.
1606
1607 * mpc.el (doc-view-mode): Silence --without-x compilation.
1608
1609 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1610 Silence --without-x compilation.
1611
1612 * progmodes/gud.el (gud-find-file, gud-mode):
1613 Silence --without-x compilation.
1614 (tooltip-mode): Declare.
1615
1616 * wdired.el (dired-backup-overwrite): Remove declaration.
1617 (wdired-mode-map): Add doc string.
1618
1619 * custom.el (x-get-resource): Declare.
1620
1621 * eshell/em-glob.el (ange-cache):
1622 * eshell/em-unix.el (ange-cache): Declare.
1623
1624 * faces.el (x-display-list, x-open-connection, x-get-resource):
1625 Declare.
1626
1627 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1628 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1629 Declare.
1630
1631 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1632
1633 * net/gnutls.el (gnutls-log-level): Declare.
1634
1635 * net/shr.el (image-size, image-animate): Declare.
1636
1637 * simple.el (font-info): Declare.
1638
1639 * subr.el (x-popup-dialog): Declare.
1640
1641 * term/common-win.el (x-select-enable-primary)
1642 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1643 Declare.
1644
1645 * term/ns-win.el (x-handle-args): Declare.
1646
1647 * term/x-win.el (x-select-enable-clipboard): Declare.
1648
1649 * term/w32-win.el (create-default-fontset): Declare.
1650
1651 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1652 Declare.
1653
1654 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1655 (fit-frame-to-buffer): Explicit error if --without-x.
1656 (mouse-autoselect-window-select): Silence compiler.
1657
1658 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1659
1660 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1661 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1662 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1663 * eshell/esh-util.el (eshell-sublist):
1664 Remove unused local variables.
1665
1666 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1667
1668 * textmodes/two-column.el: Make 2C-split work for --without-x.
1669 (scroll-bar-columns): Autoload.
1670 (top-level): Require fringe when compiling.
1671
1672 2013-09-18 Leo Liu <sdl.web@gmail.com>
1673
1674 * subr.el (add-hook): Robustify to handle closure as well.
1675
1676 2013-09-17 Glenn Morris <rgm@gnu.org>
1677
1678 * simple.el (messages-buffer-mode-map): Unbind "g".
1679
1680 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * help-mode.el (help-mode-finish): Use derived-mode-p.
1683 Remove obsolete highlighting.
1684
1685 * play/life.el (life-mode): Use define-derived-mode. Derive from
1686 special-mode.
1687 (life): Let-bind inhibit-read-only.
1688 (life-setup): Avoid `setq'. Use `life-mode'.
1689
1690 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1691 which should not be needed any more.
1692 (package-menu-refresh, package-menu-describe-package): Use user-error.
1693
1694 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1695 (eshell-post-rewrite-command-hook): Make obsolete.
1696 (eshell-parse-command): Simplify.
1697 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1698 (eshell--cmd): Declare.
1699 (eshell-parse-pipeline): Remove unused var `final-p'.
1700 Pass a dynvar to eshell-post-rewrite-command-hook.
1701 Implement the new eshell-post-rewrite-command-function.
1702 (eshell-invoke-directly): Remove unused arg `input'.
1703 * eshell/esh-io.el (eshell-io-initialize):
1704 Use eshell-post-rewrite-command-function (bug#15399).
1705 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1706 adjust to new calling convention.
1707 (eshell-create-handles): Rename args to avoid clashing with dynvar
1708 `standard-output'.
1709
1710 2013-09-17 Glenn Morris <rgm@gnu.org>
1711
1712 * simple.el (messages-buffer-mode): New major mode.
1713 (messages-buffer): New function.
1714 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1715 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1716 (ert-run-test): Use `messages-buffer' function.
1717 (ert--force-message-log-buffer-truncation): Ignore read-only.
1718 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1719 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1720
1721 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1724
1725 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1726
1727 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * icomplete.el (icomplete-in-buffer): New var.
1730 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1731 vars and replace them with functions.
1732 (icomplete-minibuffer-setup): Adjust accordingly.
1733 (icomplete--completion-table, icomplete--completion-predicate)
1734 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1735 New functions.
1736 (icomplete-forward-completions, icomplete-backward-completions)
1737 (icomplete-simple-completing-p, icomplete-exhibit)
1738 (icomplete-completions): Use them.
1739 (icomplete--in-region-buffer): New var.
1740 (icomplete--in-region-setup): New function.
1741 (icomplete-mode): Use it.
1742
1743 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1744 (bug#15379).
1745 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1746 return args and options.
1747 (eshell-eval-using-options): Use the new return value of
1748 eshell--do-opts to set the options's vars in their scope.
1749 (eshell--set-option): Rename from eshell-set-option.
1750 Add arg `opt-vals'.
1751 (eshell--process-option): Rename from eshell-process-option.
1752 Add arg `opt-vals'.
1753 (eshell--process-args): Use an `opt-vals' alist to store the options's
1754 values during their processing and return them additionally to the
1755 remaining args.
1756
1757 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1758
1759 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1760 continuation character an operator, as far as indentation is
1761 concerned (Bug#15369).
1762
1763 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1764
1765 * window.el (window--state-put-2): Don't process buffer state
1766 when buffer doesn't exist any more (Bug#15382).
1767
1768 2013-09-15 Glenn Morris <rgm@gnu.org>
1769
1770 * eshell/em-unix.el (eshell/rm):
1771 Make -f ignore missing files. (Bug#15373)
1772
1773 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1774 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1775 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1776
1777 2013-09-14 Glenn Morris <rgm@gnu.org>
1778
1779 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1780
1781 2013-09-13 Glenn Morris <rgm@gnu.org>
1782
1783 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1784 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1785
1786 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1787
1788 * frame.el (x-focus-frame): Mark as declared in frame.c.
1789
1790 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * ls-lisp.el: Use advice-add.
1793 (original-insert-directory): Remove.
1794 (ls-lisp--insert-directory): Rename from insert-directory; add
1795 `orig-fun' argument.
1796 (insert-directory): Advise.
1797
1798 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1799
1800 * term.el (term-emulate-terminal): Decode the command string
1801 before passing it to term-command-hook. (Bug#15337)
1802
1803 2013-09-13 Glenn Morris <rgm@gnu.org>
1804
1805 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1806
1807 * eshell/esh-ext.el (eshell-search-path): Declare.
1808
1809 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1810 Otherwise an error occurs if eshell-dirs module not loaded.
1811
1812 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1813
1814 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1817 `tramp-check-proper-host'. Check for a valid method name.
1818
1819 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1820 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1821 * net/tramp-sh.el (tramp-maybe-open-connection):
1822 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1823
1824 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1825 also for hash values.
1826
1827 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * term/ns-win.el (parameters): Don't declare as dynamic.
1830 (before-make-frame-hook): Don't add ineffective function.
1831
1832 * eshell/*.el: Use lexical-binding (bug#15231).
1833
1834 2013-09-12 Kenichi Handa <handa@gnu.org>
1835
1836 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1837
1838 2013-09-12 Glenn Morris <rgm@gnu.org>
1839
1840 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1841 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1842
1843 * subr.el (do-after-load-evaluation): Also give compiler warnings
1844 when obsolete files are used (except by obsolete files).
1845
1846 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1847 in the status output, assume `filename' is the first. (Bug#15322)
1848
1849 * vc/vc.el (vc-deduce-fileset): Doc fix.
1850
1851 * calc/calc-help.el (Info-goto-node):
1852 * progmodes/cperl-mode.el (Info-find-node):
1853 * vc/ediff.el (Info-goto-node): Update declarations.
1854
1855 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1856
1857 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1858 (vc-bzr-pull): Require vc-dispatcher.
1859 * vc/vc-git.el (vc-compilation-mode): Declare.
1860 (vc-git-pull): Require vc-dispatcher.
1861
1862 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1863
1864 * progmodes/octave.el (help-button-action): Declare.
1865
1866 * shell.el (shell-directory-tracker): Output error as a message
1867 rather than just returning it as a string.
1868 (shell-process-pushd): Remove useless use of message.
1869
1870 * dframe.el (dframe-timer-fn):
1871 * files.el (dir-locals-read-from-file):
1872 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1873 (mpc-format):
1874 * reveal.el (reveal-post-command):
1875 * saveplace.el (load-save-place-alist-from-file):
1876 * shell.el (shell-resync-dirs):
1877 * w32-common-fns.el (x-get-selection-value):
1878 * emacs-lisp/copyright.el (copyright-find-copyright):
1879 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1880 * emulation/tpu-edt.el (tpu-copy-keyfile):
1881 * play/bubbles.el (bubbles--mark-neighbourhood):
1882 * progmodes/executable.el
1883 (executable-make-buffer-file-executable-if-script-p):
1884 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1885
1886 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 Cleanup Eshell to rely less on dynamic scoping.
1889 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1890 last-value, and ext-command here. Bind `args' closer to `body'.
1891 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1892 (eshell--args): Declare new dynamic var.
1893 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1894 last-value, and ext-command. Pass `args' to `body'.
1895 (eshell-process-args): Bind eshell--args.
1896 (eshell-set-option): Use eshell--args.
1897 * eshell/eshell.el (eshell): Use derived-mode-p.
1898 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1899 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1900 (eshell-glob-function): Declare.
1901 * eshell/esh-util.el: Require cl-lib.
1902 (eshell-read-hosts-file): Avoid add-to-list.
1903 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1904 `err'.
1905 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1906 Declare.
1907 (eshell/diff): Remove unused var `err'.
1908 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1909 `killflag'.
1910 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1911 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1912 first use.
1913 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1914 Move declaration before first use.
1915 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1916 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1917 rely on cl-return.
1918
1919 2013-09-12 Glenn Morris <rgm@gnu.org>
1920
1921 * term/ns-win.el (global-map): Remove binding for ispell-next,
1922 deleted 1999-05-29. (Bug#15357)
1923
1924 2013-09-11 Glenn Morris <rgm@gnu.org>
1925
1926 * echistory.el (electric-command-history): Remove call to deleted func.
1927
1928 * play/landmark.el (landmark-mode): Fix typos.
1929
1930 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1931 Check cvs-sort-ignore-file is bound.
1932
1933 * savehist.el: No need for cl when compiling on Emacs.
1934
1935 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1938 (bug#15338).
1939 (eshell-self-insert-command, eshell-send-invisible):
1940 Remove unused argument.
1941 (eshell-handle-control-codes): Remove unused var `orig'.
1942 Avoid delete-backward-char.
1943
1944 * files.el (set-auto-mode): Simplify a bit further.
1945
1946 2013-09-11 Glenn Morris <rgm@gnu.org>
1947
1948 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1949 (set-auto-mode): Don't regexp-quote elements.
1950 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1951 * progmodes/cc-mode.el (interpreter-mode-alist):
1952 * progmodes/ruby-mode.el (interpreter-mode-alist):
1953 Revert previous change.
1954
1955 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * play/snake.el (snake-mode):
1958 * play/mpuz.el (mpuz-mode):
1959 * play/landmark.el (lm-mode):
1960 * play/blackbox.el (blackbox-mode):
1961 * play/5x5.el (5x5-mode):
1962 * obsolete/options.el (Edit-options-mode):
1963 * net/quickurl.el (quickurl-list-mode):
1964 * net/newst-treeview.el (newsticker-treeview-mode):
1965 * mail/rmailsum.el (rmail-summary-mode):
1966 * mail/mspools.el (mspools-mode):
1967 * locate.el (locate-mode):
1968 * ibuffer.el (ibuffer-mode):
1969 * emulation/ws-mode.el (wordstar-mode):
1970 * emacs-lisp/debug.el (debugger-mode):
1971 * array.el (array-mode):
1972 * net/eudc.el (eudc-mode): Use define-derived-mode.
1973 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1974 Move initialization into declaration.
1975 (mairix-searches-mode): Use define-derived-mode.
1976 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1977 (eudc-edit-hotlist): Use dolist.
1978 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1979 (Man-mode): Use define-derived-mode.
1980 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1981 (Info-edit-mode): Use define-derived-mode.
1982 (Info-cease-edit): Use Info-mode.
1983 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1984 into declaration.
1985 (eshell-mode): Use define-derived-mode.
1986 * chistory.el (command-history-mode-map): Rename from
1987 command-history-map.
1988 (command-history-mode): Use define-derived-mode.
1989 (Command-history-setup): Remove function.
1990 * calc/calc.el (calc-trail-mode-map): New var.
1991 (calc-trail-mode): Use define-derived-mode.
1992 (calc-trail-buffer): Set calc-main-buffer manually.
1993 * bookmark.el (bookmark-insert-annotation): New function.
1994 (bookmark-edit-annotation): Use it.
1995 (bookmark-edit-annotation-mode): Make it a proper major mode.
1996 (bookmark-send-edited-annotation): Use derived-mode-p.
1997 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1998 closer to its ideal place. Use \' to match EOS.
1999
2000 * profiler.el (profiler-calltree-find): Use function-equal.
2001
2002 2013-09-10 Glenn Morris <rgm@gnu.org>
2003
2004 * files.el (interpreter-mode-alist): Convert to regexps.
2005 (set-auto-mode): Adapt for this. (Bug#15306)
2006 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2007 Comment out unused variable.
2008 * progmodes/cc-mode.el (interpreter-mode-alist):
2009 * progmodes/python.el (interpreter-mode-alist):
2010 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2011 * progmodes/sh-script.el (sh-set-shell):
2012 No longer use interpreter-mode-alist to get list of shells.
2013
2014 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2015
2016 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * simple.el: Use set-temporary-overlay-map for universal-argument.
2019 (universal-argument-map): Don't use default-bindings (bug#15317).
2020 Bind switch-frame explicitly. Replace universal-argument-minus with
2021 a conditional binding.
2022 (universal-argument-num-events, saved-overriding-map): Remove.
2023 (restore-overriding-map): Remove.
2024 (universal-argument--mode): Rename from save&set-overriding-map,
2025 and rewrite.
2026 (universal-argument, universal-argument-more, negative-argument)
2027 (digit-argument): Adjust accordingly.
2028 (universal-argument-minus): Remove.
2029 (universal-argument-other-key): Remove.
2030
2031 * subr.el (with-demoted-errors): Add `format' argument.
2032
2033 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2034
2035 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2036 `tramp-cleanup-connection'.
2037
2038 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2039 parameters KEEP-DEBUG and KEEP-PASSWORD.
2040
2041 * net/tramp.el (tramp-file-name-handler):
2042 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2043 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2044 (tramp-maybe-open-connection):
2045 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2046 Use `tramp-cleanup-connection'.
2047
2048 * net/tramp-sh.el (tramp-maybe-open-connection):
2049 Catch 'uname-changed inside the progress reporter.
2050
2051 2013-09-10 Glenn Morris <rgm@gnu.org>
2052
2053 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2054
2055 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2056 returns "alternate access method" in mode (eg "-rw-r--r--.").
2057
2058 2013-09-08 Glenn Morris <rgm@gnu.org>
2059
2060 * saveplace.el (load-save-place-alist-from-file):
2061 Demote errors. (Bug#15305)
2062
2063 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2064
2065 Improve compatibility with older Emacsen, and XEmacs.
2066
2067 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2068 only if it is bound. It isn't for XEmacs.
2069 (with-tramp-progress-reporter): Do not let-bind `result'.
2070 This yields to scoping errors in XEmacs.
2071 (tramp-handle-make-auto-save-file-name): New function, moved from
2072 tramp-sh.el.
2073
2074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2075 for `make-auto-save-file-name'.
2076 (tramp-adb--gnu-switches-to-ash):
2077 Use `tramp-compat-replace-regexp-in-string'.
2078
2079 * net/tramp-cache.el (tramp-cache-print): Call
2080 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2081
2082 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2083 bound. It isn't for XEmacs.
2084
2085 * net/tramp-compat.el (tramp-compat-copy-file):
2086 Catch `wrong-number-of-arguments' error.
2087 (tramp-compat-replace-regexp-in-string): New defun.
2088
2089 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2090 for `make-auto-save-file-name'.
2091 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2092 `copy-file'.
2093 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2094 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2095 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2096
2097 * net/tramp-gw.el (tramp-gw-open-network-stream):
2098 Use `tramp-compat-replace-regexp-in-string'.
2099
2100 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2101 Call `tramp-handle-make-auto-save-file-name'.
2102 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2103 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2104 (tramp-sh-file-inotifywait-process-filter):
2105 Use `tramp-compat-replace-regexp-in-string'.
2106 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2107
2108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2109 for `make-auto-save-file-name'.
2110 (tramp-smb-handle-copy-directory):
2111 Call `tramp-compat-replace-regexp-in-string'.
2112 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2113 (tramp-smb-handle-copy-file): Improve error message.
2114 (tramp-smb-handle-rename-file): Rename directly only in case
2115 `newname' does not exist yet. This is a restriction of smbclient.
2116 (tramp-smb-maybe-open-connection): Rerun the function only when
2117 `auth-sources' is non-nil.
2118
2119 2013-09-08 Kenichi Handa <handa@gnu.org>
2120
2121 * international/characters.el: Set category "^" (Combining) for
2122 more characters.
2123
2124 2013-09-07 Alan Mackenzie <acm@muc.de>
2125
2126 Correctly fontify Java class constructors.
2127 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2128 in Java Mode.
2129 (c-recognize-typeless-decls): Set the Java value to t.
2130 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2131 While handling a "(", add a check for, effectively, Java, and handle a
2132 "typeless" declaration there.
2133
2134 2013-09-07 Roland Winkler <winkler@gnu.org>
2135
2136 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2137 field subtitle for entry type book.
2138
2139 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * minibuffer.el: Make minibuffer-complete call completion-in-region
2142 rather than other way around.
2143 (completion--some, completion-pcm--find-all-completions):
2144 Don't delay signals when debugging.
2145 (minibuffer-completion-contents): Beware fields within the
2146 minibuffer contents.
2147 (completion-all-sorted-completions): Use defvar-local.
2148 (completion--do-completion, completion--cache-all-sorted-completions)
2149 (completion-all-sorted-completions, minibuffer-force-complete):
2150 Add args `beg' and `end'.
2151 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2152 (minibuffer-complete): Use completion-in-region.
2153 (completion-complete-and-exit): New fun, extracted from
2154 minibuffer-complete-and-exit.
2155 (minibuffer-complete-and-exit): Use it.
2156 (completion--complete-and-exit): Rename from
2157 minibuffer--complete-and-exit.
2158 (completion-in-region--single-word): New function, extracted from
2159 minibuffer-complete-word.
2160 (minibuffer-complete-word): Use it.
2161 (display-completion-list): Make `common-substring' argument obsolete.
2162 (completion--in-region): Call completion--in-region-1 instead of
2163 minibuffer-complete.
2164 (completion-help-at-point): Pass boundaries to
2165 minibuffer-completion-help as args rather than via an overlay.
2166 (completion-pcm--string->pattern): Use `any-delim'.
2167 (completion-pcm--optimize-pattern): New function.
2168 (completion-pcm--pattern->regex): Handle `any-delim'.
2169 * icomplete.el (icomplete-forward-completions)
2170 (icomplete-backward-completions, icomplete-completions):
2171 Adjust calls to completion-all-sorted-completions and
2172 completion--cache-all-sorted-completions.
2173 (icomplete-with-completion-tables): Default to t.
2174 * emacs-lisp/crm.el (crm--current-element): Rename from
2175 crm--select-current-element. Don't put an overlay but return the
2176 boundaries instead.
2177 (crm--completion-command): Take two new args to bind to the boundaries.
2178 (crm-completion-help): Adjust accordingly.
2179 (crm-complete): Use completion-in-region.
2180 (crm-complete-word): Use completion-in-region--single-word.
2181 (crm-complete-and-exit): Use completion-complete-and-exit.
2182
2183 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2184
2185 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2186 than dynamically.
2187
2188 2013-09-06 Juri Linkov <juri@jurta.org>
2189
2190 * info.el (Info-display-images-node): When image file doesn't exist
2191 display text version of the image if it's provided in the Info file.
2192 Otherwise, display the location of missing image from SRC attribute.
2193 Add help-echo text property from ALT attribute. (Bug#15279)
2194
2195 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2198 (edit-abbrevs-mode): Use define-derived-mode.
2199
2200 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2201 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2202 that it's defined.
2203 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2204 Use define-derived-mode.
2205
2206 * epg.el (epg-start-encrypt): Minor CSE simplification.
2207
2208 2013-09-06 William Xu <william.xwl@gmail.com>
2209
2210 * arc-mode.el: Add support for 7za (bug#15264).
2211 (archive-7z-program): New var.
2212 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2213 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2214 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2215
2216 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2217
2218 Remove URL syntax.
2219
2220 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2221 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2222 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2223 (tramp-postfix-host-format, tramp-file-name-regexp)
2224 (tramp-completion-file-name-regexp)
2225 (tramp-completion-dissect-file-name)
2226 (tramp-handle-substitute-in-file-name): Remove 'url case.
2227 (tramp-file-name-regexp-url)
2228 (tramp-completion-file-name-regexp-url): Remove constants.
2229
2230 2013-09-06 Glenn Morris <rgm@gnu.org>
2231
2232 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2233
2234 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2237 keywords" below "here-doc beginnings" (Bug#15270).
2238
2239 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * subr.el (pop): Use `car-safe'.
2242 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2243 to detect unused `pop' return value.
2244
2245 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2246 var `block-regexp'.
2247 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2248 (python-fill-string): Remove unused var `marker'.
2249 (python-skeleton-add-menu-items): Remove unused var `items'.
2250
2251 * international/mule-cmds.el: Require CL.
2252 (find-coding-systems-for-charsets): Avoid add-to-list.
2253 (sanitize-coding-system-list): New function, extracted from
2254 select-safe-coding-system-interactively.
2255 (select-safe-coding-system-interactively): Use it.
2256 (read-input-method-name): Accept symbols for `default'.
2257
2258 * emacs-lisp/advice.el (defadvice): Add indent rule.
2259
2260 2013-09-05 Daniel Hackney <dan@haxney.org>
2261
2262 * dired-x.el:
2263 * net/ange-ftp.el:
2264 * net/browse-url.el:
2265 * net/dbus.el:
2266 * net/eudc.el:
2267 * net/eudcb-ldap.el:
2268 * net/eww.el:
2269 * net/imap.el:
2270 * printing.el:
2271 * vc/ediff-diff.el:
2272 * vc/ediff-init.el:
2273 * vc/ediff-merg.el:
2274 * vc/ediff-mult.el:
2275 * vc/ediff-util.el:
2276 * vc/ediff-wind.el:
2277 * vc/ediff.el:
2278 * vc/emerge.el:
2279 * vc/pcvs.el:
2280 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2281 byte compiler. Remove some unused let-bound variables.
2282
2283 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2286 a "ref-cell", since it gets better optimized (bug#14883).
2287
2288 2013-09-05 Glenn Morris <rgm@gnu.org>
2289
2290 * progmodes/cc-awk.el (c-forward-sws): Declare.
2291
2292 2013-09-04 Glenn Morris <rgm@gnu.org>
2293
2294 * generic-x.el [rul-generic-mode]: Require cc-mode.
2295 (c++-mode-syntax-table): Declare.
2296 (rul-generic-mode-syntax-table): Init in the defvar.
2297
2298 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2301 (vc-do-command, vc-set-async-update):
2302 * vc/vc-mtn.el (vc-mtn-dir-status):
2303 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2304 (vc-hg-pull, vc-hg-merge-branch):
2305 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2306 (vc-git-merge-branch):
2307 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2308 (vc-cvs-dir-status-files):
2309 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2310 (vc-bzr-dir-status-files):
2311 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2312 * vc/vc-annotate.el: Use lexical-binding.
2313 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2314 (vc-sentinel-movepoint): Declare.
2315 (vc-annotate): Don't use `goto-line'.
2316 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2317 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2318 (vc-sentinel-movepoint): Declare.
2319 * vc/vc-svn.el: Use lexical-binding.
2320 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2321 * vc/vc-sccs.el:
2322 * vc/vc-rcs.el: Use lexical-binding.
2323
2324 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2325 `deleted'. Don't drop errors silently.
2326
2327 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2328
2329 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2330
2331 * vc/vc.el (vc-ignore): Rewrite.
2332 (vc-default-ignore): New function.
2333 (vc-default-ignore-completion-table): Use find-ignore-file.
2334
2335 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2336 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2337 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2338 Remove. Most code moved to vc.el.
2339
2340 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2343 * net/tramp-smb.el (tramp-smb-get-file-entries):
2344 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2345 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2346
2347 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2348 Update call to it.
2349 (eww-change-select): Remove unused var `properties'.
2350 (eww-make-unique-file-name): Remove unused var `base'.
2351
2352 * finder.el (finder-compile-keywords): Don't mess with windows.
2353
2354 * calculator.el (calculator-funcall): Fix typo in last change.
2355
2356 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2357
2358 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2359 <pkg>-autoloads.el file stop us.
2360
2361 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2362 warnings, and factor out common code.
2363
2364 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2365
2366 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2367 two-character operators and whether the character preceding them
2368 changes their meaning (Bug#15208).
2369
2370 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2371
2372 Format code sent to Python shell for robustness.
2373 * progmodes/python.el (python-shell-buffer-substring):
2374 New function.
2375 (python-shell-send-region, python-shell-send-buffer): Use it.
2376
2377 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2378
2379 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2380 * net/tramp.el (tramp-user-error): ... here.
2381 (tramp-find-method, tramp-check-proper-host)
2382 (tramp-dissect-file-name, tramp-debug-message)
2383 (tramp-handle-shell-command):
2384 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2386
2387 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2388
2389 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2390
2391 * avoid.el (mouse-avoidance-point-position)
2392 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2393 returns nil.
2394
2395 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2396
2397 * progmodes/python.el (python-shell-completion-get-completions):
2398 Drop use of deleted `comint-last-prompt-overlay'.
2399 (python-nav-if-name-main): New command.
2400
2401 2013-09-01 Glenn Morris <rgm@gnu.org>
2402
2403 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2404 Avoid leading space in $wins. Otherwise the sed command used by
2405 eg compile-main ends up containing "/*.el". (Bug#15170)
2406
2407 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2408
2409 2013-08-30 Glenn Morris <rgm@gnu.org>
2410
2411 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2412 Fix is-this-a-directory logic. (Bug#15220)
2413
2414 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * textmodes/css-mode.el: Use SMIE.
2417 (css-smie-grammar): New var.
2418 (css-smie--forward-token, css-smie--backward-token)
2419 (css-smie-rules): New functions.
2420 (css-mode): Use them.
2421 (css-navigation-syntax-table): Remove var.
2422 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2423 (css-indent-calculate, css-indent-line): Remove functions.
2424
2425 Misc changes to reduce use of `(lambda...); and other cleanups.
2426 * cus-edit.el: Use lexical-binding.
2427 (customize-push-and-save, customize-apropos)
2428 (custom-buffer-create-internal): Use closures.
2429 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2430 * progmodes/ada-xref.el: Use setq.
2431 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2432 * dframe.el: Use lexical-binding.
2433 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2434 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2435 * descr-text.el: Use lexical-binding.
2436 (describe-text-widget, describe-text-sexp, describe-property-list):
2437 Use closures.
2438 * comint.el (comint-history-isearch-push-state): Use a closure.
2439 * calculator.el: Use lexical-binding.
2440 (calculator-number-to-string): Make it work with lexical-binding.
2441 (calculator-funcall): Same and use cl-letf.
2442
2443 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2444 (lisp--company-doc-string, lisp--company-location): New functions.
2445 (lisp-completion-at-point): Use them to improve Company support.
2446
2447 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2448 params of lambda expressions.
2449 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2450 (ruby-smie--opening-pipe-p): New function.
2451 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2452 symbols and matched |...| for formal params.
2453 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2454 from being treated as hanging. Handle "rescue".
2455
2456 2013-08-29 Glenn Morris <rgm@gnu.org>
2457
2458 * progmodes/cc-engine.el (c-pull-open-brace):
2459 Move definition before use.
2460
2461 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2464 are immutable. Don't use `unsafe' any more.
2465 (cl--defsubst-expand): Don't substitute at the same time as keeping
2466 a residual unused let-binding. Don't use `unsafe' any more.
2467
2468 2013-08-29 Glenn Morris <rgm@gnu.org>
2469
2470 * calendar/cal-china.el (calendar-chinese-year-cache):
2471 Recenter on 2015.
2472
2473 * nxml/nxml-util.el (nxml-debug-clear-inside):
2474 Use cl-loop rather than loop.
2475
2476 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2477
2478 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2479
2480 2013-08-28 Glenn Morris <rgm@gnu.org>
2481
2482 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2483
2484 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2485
2486 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2487
2488 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * simple.el (repeat-complex-command--called-interactively-skip):
2491 New function.
2492 (repeat-complex-command): Use it (bug#14136).
2493
2494 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2495 (c-define-abbrev-table): Add `doc' argument.
2496 (c-mode-abbrev-table, c++-mode-abbrev-table)
2497 (objc-mode-abbrev-table, java-mode-abbrev-table)
2498 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2499 (awk-mode-abbrev-table): Use it.
2500 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2501 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2502 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2503 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2504 Move initialization into the declaration; and remove any
2505 autoload cookie.
2506
2507 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2508 and dynamic let binding.
2509
2510 * vc/smerge-mode.el: Remove redundant :group args.
2511
2512 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2513 to load-path.
2514
2515 2013-08-28 Juri Linkov <juri@jurta.org>
2516
2517 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2518 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2519 (isearch-other-meta-char): Handle an undefined shifted printing
2520 character by downshifting it. (Bug#15200)
2521
2522 2013-08-28 Juri Linkov <juri@jurta.org>
2523
2524 * isearch.el (isearch-search): Change regexp error message for
2525 non-regexp searches. (Bug#15166)
2526
2527 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2528
2529 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2530 for portability to hosts where /bin/sh has problems.
2531
2532 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2533
2534 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2535
2536 2013-08-27 Juri Linkov <juri@jurta.org>
2537
2538 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2539 in the keyboard macro. (Bug#15126)
2540
2541 2013-08-27 Juri Linkov <juri@jurta.org>
2542
2543 * isearch.el (isearch-quote-char): Comment out converting unibyte
2544 to multibyte, thus syncing with its `quoted-insert' counterpart.
2545 (Bug#15166)
2546
2547 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2548
2549 * window.el (display-buffer-use-some-window): Add missing
2550 argument in call of get-largest-window (Bug#15185).
2551 Reported by Stephen Leake.
2552
2553 2013-08-27 Glenn Morris <rgm@gnu.org>
2554
2555 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2556
2557 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2560 from a matcher-function unless there's no more matches (bug#15161).
2561
2562 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2563
2564 * minibuffer.el: Revert change from 2013-08-20.
2565
2566 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2567 with text property `tramp-default', if appropriate.
2568 (tramp-check-proper-host): New defun.
2569 (tramp-dissect-file-name): Do not check hostname. Revert change
2570 of 2013-03-18.
2571 (tramp-backtrace): Make VEC-OR-PROC optional.
2572
2573 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2574 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2575 * net/tramp-sh.el (tramp-maybe-open-connection):
2576 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2577 Apply `tramp-check-proper-host'.
2578
2579 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2580
2581 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2582 lambda expression in order to have `describe-variable' display it.
2583
2584 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2587 BUF can be optional. (Bug#15186)
2588
2589 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2590
2591 * progmodes/flymake.el (flymake-get-real-file-name-function):
2592 Fix broken customization. (Bug#15184)
2593
2594 2013-08-25 Alan Mackenzie <acm@muc.de>
2595
2596 Improve indentation of bracelists defined by macros (without "=").
2597
2598 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2599 expansion begins with "{", regard it as bracelist when it doesn't
2600 contain a ";".
2601
2602 Parse C++ inher-intro when there's a template split over 2 lines.
2603
2604 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2605 rigorously the search for "class" etc. followed by ":".
2606
2607 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2608 random languages a regexp which never matches rather than nil.
2609
2610 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2611
2612 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2613 (c-awk-regexp-one-line-possibly-open-char-list-re)
2614 (c-awk-one-line-possibly-open-regexp-re)
2615 (c-awk-one-line-non-syn-ws*-re): Remove.
2616 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2617 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2618 (c-awk-space*-unclosed-regexp-/-re): New constants.
2619 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2620 aren't regexp delimiters.
2621
2622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2623 handling for a rare situation in AWK Mode involving unterminated
2624 strings/regexps.
2625
2626 2013-08-23 Glenn Morris <rgm@gnu.org>
2627
2628 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2629
2630 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2631
2632 * files.el (create-file-buffer): If the result would begin with
2633 spaces, prepend a "|" instead of removing them. (Bug#15162)
2634
2635 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2638 text-properties (bug#15155).
2639
2640 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2641 exist any more.
2642 (calc-keypad-redraw): Remove unused var `pad'.
2643 (calc-keypad-press): Remove unused var `menu'.
2644
2645 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2646
2647 * window.el (display-buffer-pop-up-frame):
2648 Call pop-up-frame-function with BUFFER current so `make-frame' will
2649 use it as the new frame's buffer (Bug#15133).
2650
2651 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * calendar/timeclock.el: Minor cleanups.
2654 (timeclock-ask-before-exiting, timeclock-use-display-time):
2655 Use `symbol'.
2656 (timeclock-modeline-display): Define as alias before the
2657 actual definition.
2658 (timeclock-mode-line-display): Use define-minor-mode.
2659 (timeclock-day-list-template): Make it a function, add an argument.
2660 (timeclock-day-list-required, timeclock-day-list-length)
2661 (timeclock-day-list-debt, timeclock-day-list-span)
2662 (timeclock-day-list-break): Adjust calls accordingly.
2663
2664 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2667 Use read--expression so that completion works again.
2668
2669 2013-08-21 Sam Steingold <sds@gnu.org>
2670
2671 Add rudimentary inferior shell interaction
2672 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2673 (sh-set-shell): Reset it.
2674 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2675 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2676
2677 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 * align.el: Use lexical-binding.
2680 (align-region): Simplify accordingly.
2681
2682 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2683
2684 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2685
2686 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2687 `non-essential' up.
2688
2689 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2690
2691 * net/tramp.el:
2692 * net/tramp-adb.el:
2693 * net/tramp-cmds.el:
2694 * net/tramp-ftp.el:
2695 * net/tramp-gvfs.el:
2696 * net/tramp-gw.el:
2697 * net/tramp-sh.el: Don't wrap external variable declarations by
2698 `eval-when-compile'.
2699
2700 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2701
2702 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2703 now that Emacs supports ImageMagick animations.
2704
2705 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2708 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2709
2710 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2711
2712 * window.el (mouse-autoselect-window-select): Do autoselect when
2713 mouse pointer is on margin.
2714
2715 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2716
2717 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2718
2719 2013-08-16 Glenn Morris <rgm@gnu.org>
2720
2721 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2722 Handle "Remote Directory" response of some clients. (Bug#15058)
2723
2724 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2725 Tweak warning. (Bug#14926)
2726
2727 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2728 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2729
2730 * image-mode.el (image-mode-map): Add menu items to reverse,
2731 increase, decrease, reset animation speed.
2732 (image--set-speed, image-increase-speed, image-decrease-speed)
2733 (image-reverse-speed, image-reset-speed): New functions.
2734 (image-mode-map): Add bindings for speed commands.
2735
2736 * image.el (image-animate-get-speed, image-animate-set-speed):
2737 New functions.
2738 (image-animate-timeout): Respect image :speed property.
2739
2740 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2743 previous line (bug#15101).
2744 (debugger-eval-expression, debugger-record-expression):
2745 Use read--expression (bug#15102).
2746
2747 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2748
2749 Remove byte compiler warnings, visible when compiling with
2750 `byte-compile-force-lexical-warnings' set to t.
2751
2752 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2753 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2754 (tramp-handle-unhandled-file-name-directory)
2755 (tramp-handle-file-notify-add-watch, tramp-action-login)
2756 (tramp-action-succeed, tramp-action-permission-denied)
2757 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2758 arguments with "_".
2759
2760 * net/tramp-adb.el (tramp-adb-parse-device-names)
2761 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2762 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2763 (tramp-adb-handle-file-truename): Remove unused arguments.
2764
2765 * net/tramp-cache.el (tramp-flush-directory-property)
2766 (tramp-flush-connection-property, tramp-list-connections)
2767 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2768
2769 * net/tramp-compat.el (tramp-compat-make-temp-file):
2770 Rename FILENAME to F.
2771
2772 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2773 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2774 (tramp-zeroconf-parse-workstation-device-names)
2775 (tramp-zeroconf-parse-webdav-device-names)
2776 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2777
2778 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2779 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2780
2781 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2782 arguments.
2783 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2784 (tramp-sh-handle-insert-file-contents-literally)
2785 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2786 with "_".
2787 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2788 Remove unused variables.
2789
2790 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2791 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2792 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2793
2794 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2795 Make them a defconst.
2796 (tramp-uuencode-region): Remove unused variable.
2797
2798 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * frameset.el (frameset--prop-setter): New function.
2801 (frameset-prop): Add gv-setter declaration.
2802 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2803 parameter was already set in FILTERED. Doc fix.
2804 (frameset--record-minibuffer-relationships): Allow saving a
2805 minibufferless frame without its corresponding minibuffer frame.
2806 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2807 frame, if the frame id matches.
2808 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2809 frames before orphaned ones.
2810 (frameset-restore): Warn about orphaned windows, instead of error out.
2811
2812 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2813
2814 * window.el (window-make-atom): Don't overwrite parameter
2815 already present.
2816 (display-buffer-in-atom-window): Handle special case where we
2817 split an already atomic window.
2818 (window--major-non-side-window, display-buffer-in-side-window)
2819 (window--side-check): Ignore minibuffer window when walking
2820 window tree.
2821 (window-deletable-p): Return 'frame only if no other frame uses
2822 our minibuffer window.
2823 (record-window-buffer): Run buffer-list-update-hook.
2824 (split-window): Make sure window--check-frame won't destroy an
2825 existing atomic window in case the new window gets nested
2826 inside.
2827 (display-buffer-at-bottom): Ignore minibuffer window when
2828 walking window tree. Don't split a side window.
2829 (pop-to-buffer): Don't set-buffer here, the select-window call
2830 should do that.
2831 (mouse-autoselect-window-select): Autoselect only if we are in the
2832 text portion of the window.
2833
2834 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2835
2836 * net/shr.el (shr-parse-image-data): New function to grab both the
2837 data itself and the Content-Type.
2838 (shr-put-image): Use it.
2839
2840 * net/eww.el (eww-display-image): Ditto.
2841
2842 * image.el (image-content-type-suffixes): New variable.
2843
2844 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2845
2846 * progmodes/python.el (python-imenu--build-tree)
2847 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2848
2849 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2850
2851 * simple.el (backward-word): Mention the optional argument.
2852
2853 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * frameset.el (frameset--make): Rename constructor from make-frameset.
2856 (frameset-p, frameset-valid-p): Don't autoload.
2857 (frameset-valid-p): Use normal accessors.
2858
2859 2013-08-13 Glenn Morris <rgm@gnu.org>
2860
2861 * progmodes/compile.el (compile-command): Tweak example in doc.
2862 * obsolete/scribe.el (scribe-mode):
2863 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2864
2865 * mail/feedmail.el (feedmail-confirm-outgoing)
2866 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2867
2868 * cus-start.el (truncate-partial-width-windows): Fix type.
2869
2870 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2871
2872 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2873
2874 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * emacs-lisp/timer.el (timer--time-setter): New function.
2877 (timer--time): Use it as gv-setter.
2878
2879 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2880 setter is not a symbol.
2881
2882 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2883
2884 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2885 if sending fails. This makes debugging easier.
2886
2887 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2888
2889 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2890 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2891 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2892
2893 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2894
2895 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2896
2897 2013-08-12 Glenn Morris <rgm@gnu.org>
2898
2899 * format.el (format-annotate-function):
2900 Handle read-only text properties in the source. (Bug#14887)
2901
2902 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2903
2904 * net/eww.el (eww-display-html): Ignore coding system errors.
2905 One web site uses "utf-8lias" as the coding system.
2906
2907 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2910
2911 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2914 (tutorial--detailed-help): Remove unused local variables.
2915 (tutorial--save-tutorial-to): Use ignore-errors.
2916 (help-with-tutorial): Use looking-at-p.
2917
2918 * view.el (view-buffer-other-window, view-buffer-other-frame):
2919 Mark unused arguments.
2920
2921 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2922 (woman-select-symbol-fonts, woman, woman-find-file)
2923 (woman-insert-file-contents, woman-non-underline-faces):
2924 Use string-match-p.
2925 (woman1-unquote): Move declaration.
2926
2927 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2928 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2929 argument. Remove unused local variable.
2930 (xml-parse-elem-type): Use string-match-p.
2931 (xml-substitute-numeric-entities): Use ignore-errors.
2932
2933 * calculator.el (calculator): Mark unused argument.
2934 (calculator-paste, calculator-quit, calculator-integer-p):
2935 Use ignore-errors.
2936 (calculator-string-to-number, calculator-decimal, calculator-exp)
2937 (calculator-op-or-exp): Use string-match-p.
2938
2939 * dired.el (dired-buffer-more-recently-used-p): Declare.
2940 (dired-insert-set-properties, dired-insert-old-subdirs):
2941 Use ignore-errors.
2942
2943 * dired-aux.el (dired-compress): Use ignore-errors.
2944 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2945 (dired-do-async-shell-command, dired-do-shell-command)
2946 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2947 (dired-insert-subdir-validate): Use string-match-p.
2948 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2949 (dired-add-entry): Use string-match-p, looking-at-p.
2950 (dired-insert-subdir-newpos): Remove unused local variable.
2951
2952 * filenotify.el (file-notify-callback): Remove unused local variable.
2953
2954 * filesets.el (filesets-error): Mark unused argument.
2955 (filesets-which-command-p, filesets-filter-dir-names)
2956 (filesets-directory-files, filesets-get-external-viewer)
2957 (filesets-ingroup-get-data): Use string-match-p.
2958
2959 * find-file.el (ff-other-file-name, ff-other-file-name)
2960 (ff-find-the-other-file, ff-cc-hh-converter):
2961 Remove unused local variables.
2962 (ff-get-file-name): Use string-match-p.
2963 (ff-all-dirs-under): Use ignore-errors.
2964
2965 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2966 (follow-select-if-visible): Remove unused local variable.
2967
2968 * forms.el (read-file-filter): Move declaration.
2969 (forms--make-format, forms--make-parser, forms-insert-record):
2970 Quote function with #'.
2971 (forms--update): Use string-match-p. Quote function with #'.
2972
2973 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2974 (help-make-xrefs): Use looking-at-p.
2975 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2976
2977 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2978 (ibuffer-confirm-operation-on): Use string-match-p.
2979
2980 * msb.el (msb-item-handler, msb-dired-item-handler):
2981 Mark unused arguments.
2982
2983 * ses.el (ses-decode-cell-symbol)
2984 (ses-kill-override): Remove unused local variable.
2985 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2986 (ses-load): Use ignore-errors, looking-at-p.
2987 (ses-jump-safe): Use ignore-errors.
2988 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2989
2990 * tabify.el (untabify, tabify): Mark unused arguments.
2991
2992 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2993 Mark unused argument.
2994 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2995 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2996
2997 * emacs-lisp/timer.el (timer--time): Define setter with
2998 gv-define-setter to avoid deprecation warning.
2999
3000 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3001 (*record-cmpl-statistics-p*): Remove (was commented out).
3002 (cmpl-statistics-block): Remove (body was commented out).
3003 All callers changed.
3004 (add-completions-from-buffer, load-completions-from-file):
3005 Remove unused variables.
3006
3007 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3008
3009 * filecache.el (file-cache-delete-file-list):
3010 Print message only when told so.
3011 (file-cache-files-matching): Use #' in mapconcat argument.
3012
3013 * ffap.el (ffap-url-at-point): Fix reference to variable
3014 thing-at-point-default-mail-uri-scheme.
3015
3016 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * subr.el (define-error): New function.
3019 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3020 error-file-not-found and define with define-error.
3021 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3022 and define with define-error.
3023 * userlock.el (file-locked, file-supersession):
3024 * simple.el (mark-inactive):
3025 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3026 * progmodes/ada-mode.el (ada-mode-errors):
3027 * play/life.el (life-extinct):
3028 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3029 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3030 * nxml/rng-util.el (rng-error):
3031 * nxml/rng-uri.el (rng-uri-error):
3032 * nxml/rng-match.el (rng-compile-error):
3033 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3034 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3035 * nxml/nxml-rap.el (nxml-scan-error):
3036 * nxml/nxml-outln.el (nxml-outline-error):
3037 * net/soap-client.el (soap-error):
3038 * net/gnutls.el (gnutls-error):
3039 * net/ange-ftp.el (ftp-error):
3040 * mpc.el (mpc-proc-error):
3041 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3042 (json-number-format, json-string-escape, json-string-format)
3043 (json-key-format, json-object-format):
3044 * jka-compr.el (compression-error):
3045 * international/quail.el (quail-error):
3046 * international/kkc.el (kkc-error):
3047 * emacs-lisp/ert.el (ert-test-failed):
3048 * calc/calc.el (calc-error, inexact-result, math-overflow)
3049 (math-underflow):
3050 * bookmark.el (bookmark-error-no-filename):
3051 * epg.el (epg-error): Define with define-error.
3052
3053 * time.el (display-time-event-handler)
3054 (display-time-next-load-average): Don't call sit-for since it seems
3055 unnecessary (bug#15045).
3056
3057 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3058 Use #' instead of ' to quote functions.
3059 (checkdoc-output-mode): Use setq-local.
3060 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3061 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3062 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3063 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3064 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3065 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3066 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3067 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3068
3069 * ido.el (ido-completion-help): Fix up compiler warning.
3070
3071 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3072
3073 * frameset.el (frameset-p): Add autoload cookie.
3074 (frameset--jump-to-register): New function, based on code moved from
3075 register.el.
3076 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3077
3078 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3079 (frameset-restore, frameset-save, frameset-session-filter-alist):
3080 Remove declarations.
3081 (register-alist): Doc fix.
3082 (frameset-to-register): Move to frameset.el.
3083 (jump-to-register, describe-register-1): Remove frameset-specific code.
3084
3085 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * allout-widgets.el (allout-widgets-pre-command-business)
3088 (allout-widgets-post-command-business)
3089 (allout-widgets-after-change-handler)
3090 (allout-decorate-item-and-context, allout-set-boundary-marker)
3091 (allout-body-modification-handler)
3092 (allout-graphics-modification-handler): Mark ignored arguments.
3093 (allout-widgets-post-command-business)
3094 (allout-widgets-exposure-change-processor)
3095 (allout-widgets-exposure-undo-processor)
3096 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3097 (allout-parse-item-at-point, allout-decorate-item-guides)
3098 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3099 * allout.el (epa-passphrase-callback-function): Declare.
3100 (allout-overlay-insert-in-front-handler)
3101 (allout-overlay-interior-modification-handler)
3102 (allout-isearch-end-handler, allout-chart-siblings)
3103 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3104 (allout-yank-processing, allout-process-exposed)
3105 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3106 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3107 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3108 (lisp-indent-defform): Mark ignored arguments.
3109 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3110 (calculate-lisp-indent): Remove unused variables.
3111 * international/characters.el (indian-2-column, arabic-2-column)
3112 (tibetan): Mark ignored arguments.
3113 (use-cjk-char-width-table): Mark ignored arguments.
3114 Remove unused variables.
3115 * international/fontset.el (build-default-fontset-data)
3116 (x-compose-font-name, create-fontset-from-fontset-spec):
3117 Mark ignored arguments.
3118 (fontset-plain-name): Remove unused variables.
3119 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3120 (keyboard-coding-system): Mark ignored arguments.
3121 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3122 * help.el (resize-temp-buffer-window):
3123 * window.el (display-buffer-in-major-side-window)
3124 (display-buffer-in-side-window, display-buffer-in-previous-window):
3125 Remove unused variables.
3126 * isearch.el (isearch-forward-symbol):
3127 * version.el (emacs-bzr-version-bzr):
3128 * international/mule-cmds.el (current-language-environment):
3129 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3130 (x-handle-display):
3131 * term/pc-win.el (x-list-fonts, x-display-planes)
3132 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3133 (x-server-version, x-display-screens, x-display-mm-height)
3134 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3135 (x-selection-owner-p, x-own-selection-internal)
3136 (x-disown-selection-internal, x-get-selection-internal)
3137 (msdos-initialize-window-system):
3138 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3139 * term/x-win.el (x-handle-no-bitmap-icon):
3140 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3141 (vc-default-find-file-hook, vc-default-extra-menu):
3142 Mark ignored arguments.
3143
3144 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3147 break-condition in the context of the debugged code (bug#12685).
3148
3149 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3150
3151 * comint.el:
3152 Do not use an overlay to highlight the last prompt. (Bug#14744)
3153 (comint-mode): Make comint-last-prompt buffer local.
3154 (comint-last-prompt): New variable.
3155 (comint-last-prompt-overlay): Remove. Superseded by
3156 comint-last-prompt.
3157 (comint-snapshot-last-prompt, comint-output-filter):
3158 Use comint-last-prompt.
3159
3160 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3163 (frameset-save): Check validity of the resulting frameset.
3164
3165 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3166
3167 * ido.el (ido-record-command): Add doc string.
3168
3169 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * frameset.el (frameset): Do not disable creation of the default
3172 frameset-p predicate. Doc fix.
3173 (frameset-valid-p): New function, copied from the old predicate-p.
3174 Add additional checks.
3175 (frameset-restore): Check with frameset-valid-p.
3176 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3177 (frameset-name, frameset-description, frameset-properties)
3178 (frameset-states): Add docstring.
3179 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3180 (frameset-filter-alist): Doc fixes.
3181
3182 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3183
3184 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3185
3186 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3189 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3190 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3191 (byte-compile-normal-call): Remove obsolescence check.
3192
3193 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3194
3195 * frameset.el (frameset-restore): Doc fix.
3196
3197 * register.el (frameset-frame-id, frameset-frame-with-id)
3198 (frameset-p, frameset-restore, frameset-save): Declare.
3199 (register-alist): Document framesets.
3200 (frameset-session-filter-alist): Declare.
3201 (frameset-to-register): New function.
3202 (jump-to-register): Implement jumping to framesets. Doc fix.
3203 (describe-register-1): Describe framesets.
3204
3205 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3206
3207 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3210 Use lexical-binding.
3211
3212 * frameset.el (frameset): Use type vector, not list (incompatible
3213 change). Do not declare a new constructor, use the default one.
3214 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3215 `name' and `description', respectively, and add read-only slot
3216 `timestamp'. Doc fixes.
3217 (frameset-copy, frameset-persistent-filter-alist)
3218 (frameset-filter-alist, frameset-switch-to-gui-p)
3219 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3220 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3221 (frameset-filter-iconified, frameset-keep-original-display-p):
3222 Doc fixes.
3223 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3224 Rename from frameset-filter-(save|restore)-param. All callers changed.
3225 Doc fix.
3226 (frameset-p): Adapt to change to vector and be more thorough.
3227 Change arg name to OBJECT. Doc fix.
3228 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3229 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3230 All callers changed.
3231 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3232 All callers changed.
3233 (frameset--record-minibuffer-relationships): Rename from
3234 frameset--process-minibuffer-frames. All callers changed.
3235 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3236 Use new default constructor (again). Doc fix.
3237 (frameset--find-frame-if): Rename from `frameset--find-frame.
3238 All callers changed.
3239 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3240 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3241 Doc fix.
3242 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3243 PARAMETERS and WINDOW-STATE, respectively.
3244 (frameset-restore): Add new keyword argument PREDICATE.
3245 Reset frameset--target-display to nil. Doc fix.
3246
3247 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3250 (bat-mode): Use it.
3251 (bat-mode-syntax-table): Mark \n as end-of-comment.
3252 (bat-font-lock-keywords): Remove comment rule.
3253
3254 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3255 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3256
3257 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3258 (byte-compile-callargs-warn): Use `push'.
3259 (byte-compile-arglist-warn): Ignore higher-order "calls".
3260 (byte-compile-file-form-autoload): Use `pcase'.
3261 (byte-compile-function-form): If quoting a symbol, check that it exists.
3262
3263 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3264
3265 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3266 and add a few popular commands found in batch files.
3267 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3268 (dos-mode): Doc fixes.
3269
3270 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3271
3272 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3273 (dos-mode): Use setq-local. Add space after "rem".
3274 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3275 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3276
3277 2013-08-07 Arni Magnusson <arnima@hafro.is>
3278
3279 * progmodes/dos.el: New file.
3280 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3281 dos-mode.
3282
3283 2013-08-06 Glenn Morris <rgm@gnu.org>
3284
3285 * calendar/calendar.el: Add new faces, and day-header-array.
3286 (calendar-weekday-header, calendar-weekend-header)
3287 (calendar-month-header): New faces.
3288 (calendar-day-header-construct): New function.
3289 (calendar-day-header-width): Also :set calendar-day-header-array.
3290 (calendar-american-month-header, calendar-european-month-header)
3291 (calendar-iso-month-header): Use calendar- faces.
3292 (calendar-generate-month):
3293 Use calendar-day-header-array for day headers; apply faces to them.
3294 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3295 (calendar-abbrev-construct): Add optional maxlen argument.
3296 (calendar-day-name-array): Doc fix.
3297 (calendar-day-name-array, calendar-abbrev-length)
3298 (calendar-day-abbrev-array):
3299 Also :set calendar-day-header-array, and maybe redraw.
3300 (calendar-day-header-array): New option. (Bug#15007)
3301 (calendar-font-lock-keywords): Set to nil and make obsolete.
3302 (calendar-day-name): Add option to use header array.
3303
3304 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3305
3306 * net/shr.el (shr-render-td): Remove debugging.
3307 (shr-render-td): Make width computation consistent by defaulting
3308 all zero-width columns to 10 characters. This may not be optimal,
3309 but it's at least consistent.
3310 (shr-make-table-1): Redo last change to fix the real problem in
3311 colspan handling.
3312
3313 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3314
3315 * files.el (cache-long-line-scans):
3316 Make obsolete alias to `cache-long-scans'.
3317
3318 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3319
3320 * frameset.el (frameset, frameset-filter-alist)
3321 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3322 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3323 (frameset-compute-pos): Rename from frameset--compute-pos,
3324 and add docstring.
3325 (frameset-move-onscreen): Use frameset-compute-pos.
3326 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3327
3328 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3329 Fix typos in docstrings.
3330
3331 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3332
3333 * frame.el (get-other-frame): Tiny cleanup.
3334
3335 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3336
3337 * vc/vc.el (vc-default-ignore-completion-table):
3338 Silence byte-compiler warning.
3339
3340 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3341 slot , which can indeed be nil.
3342 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3343 Move entry for `left' from persistent to live filter alist.
3344 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3345 Doc fixes.
3346 (frameset-filter-params): When restoring a frame, copy items added to
3347 `filtered', to avoid unwittingly modifying the original parameters.
3348 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3349 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3350
3351 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3352 to use looking-at-p instead of looking-at. (Bug#15028)
3353
3354 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 Revert introduction of isearch-filter-predicates (bug#14714).
3357 Rely on add-function instead.
3358 * isearch.el (isearch-filter-predicates): Rename it back to
3359 isearch-filter-predicate.
3360 (isearch-message-prefix): Use advice-function-mapc and advice
3361 properties to get the isearch-message-prefix.
3362 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3363 instead of run-hook-with-args-until-failure.
3364 (isearch-filter-visible): Not obsolete any more.
3365 * loadup.el: Preload nadvice.
3366 * replace.el (perform-replace): Revert to funcall
3367 instead of run-hook-with-args-until-failure.
3368 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3369 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3370 dired-isearch-filenames-toggle; make it into a proper minor mode.
3371 Use add/remove-function.
3372 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3373 Call the minor-mode rather than add/remove-hook.
3374 (dired-isearch-filter-filenames):
3375 Remove isearch-message-prefix property.
3376 * info.el (Info--search-loop): New function, extracted from Info-search.
3377 Funcall isearch-filter-predicate instead of
3378 run-hook-with-args-until-failure isearch-filter-predicates.
3379 (Info-search): Use it.
3380 (Info-mode): Use isearch-filter-predicate instead of
3381 isearch-filter-predicates.
3382
3383 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3384
3385 Do not call to `selected-window' where it is assumed by default.
3386 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3387 `window-hscroll', `window-width', `window-height', `window-buffer',
3388 `window-frame', `window-start', `window-point', `next-window'
3389 and `window-display-table'.
3390 * abbrev.el (abbrev--default-expand):
3391 * bs.el (bs--show-with-configuration):
3392 * buff-menu.el (Buffer-menu-mouse-select):
3393 * calc/calc.el (calc):
3394 * calendar/calendar.el (calendar-generate-window):
3395 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3396 (diary-make-entry):
3397 * comint.el (send-invisible, comint-dynamic-complete-filename)
3398 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3399 * completion.el (complete):
3400 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3401 * disp-table.el (describe-current-display-table):
3402 * doc-view.el (doc-view-insert-image):
3403 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3404 * ehelp.el (with-electric-help):
3405 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3406 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3407 * emacs-lisp/helper.el (Helper-help-scroller):
3408 * emulation/cua-base.el (cua--post-command-handler-1):
3409 * eshell/esh-mode.el (eshell-output-filter):
3410 * ffap.el (ffap-gnus-wrapper):
3411 * help-macro.el (make-help-screen):
3412 * hilit-chg.el (highlight-compare-buffers):
3413 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3414 * hl-line.el (global-hl-line-highlight):
3415 * icomplete.el (icomplete-simple-completing-p):
3416 * isearch.el (isearch-done):
3417 * jit-lock.el (jit-lock-stealth-fontify):
3418 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3419 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3420 * mpc.el (mpc-tagbrowser, mpc):
3421 * net/rcirc.el (rcirc-any-buffer):
3422 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3423 * play/landmark.el (landmark-max-width, landmark-max-height):
3424 * play/zone.el (zone):
3425 * progmodes/compile.el (compilation-goto-locus):
3426 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3427 * progmodes/etags.el (find-tag-other-window):
3428 * progmodes/fortran.el (fortran-column-ruler):
3429 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3430 * progmodes/verilog-mode.el (verilog-point-text):
3431 * reposition.el (reposition-window):
3432 * rot13.el (toggle-rot13-mode):
3433 * server.el (server-switch-buffer):
3434 * shell.el (shell-dynamic-complete-command)
3435 (shell-dynamic-complete-environment-variable):
3436 * simple.el (insert-buffer, set-selective-display)
3437 (delete-completion-window):
3438 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3439 (speedbar-recenter):
3440 * startup.el (fancy-splash-head):
3441 * textmodes/ispell.el (ispell-command-loop):
3442 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3443 * tutorial.el (help-with-tutorial):
3444 * vc/add-log.el (add-change-log-entry):
3445 * vc/compare-w.el (compare-windows):
3446 * vc/ediff-help.el (ediff-indent-help-message):
3447 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3448 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3449 (ediff-setup-control-frame):
3450 * vc/emerge.el (emerge-position-region):
3451 * vc/pcvs-util.el (cvs-bury-buffer):
3452 * window.el (walk-windows, mouse-autoselect-window-select):
3453 * winner.el (winner-set-conf, winner-undo): Related users changed.
3454
3455 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3456
3457 * frameset.el (frameset--set-id): Doc fix.
3458 (frameset-frame-id, frameset-frame-id-equal-p)
3459 (frameset-locate-frame-id): New functions.
3460 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3461 (frameset-restore): Use them.
3462
3463 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3464
3465 Do not call to `selected-frame' where it is assumed by default.
3466 Affected functions are `raise-frame', `redraw-frame',
3467 `frame-first-window', `frame-terminal' and `delete-frame'.
3468 * calendar/appt.el (appt-disp-window):
3469 * epg.el (epg-wait-for-completion):
3470 * follow.el (follow-delete-other-windows-and-split)
3471 (follow-avoid-tail-recenter):
3472 * international/mule.el (set-terminal-coding-system):
3473 * mail/rmail.el (rmail-mail-return):
3474 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3475 * progmodes/f90.el (f90-add-imenu-menu):
3476 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3477 * server.el (server-switch-buffer):
3478 * simple.el (delete-completion-window):
3479 * talk.el (talk):
3480 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3481 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3482 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3483 * vc/ediff.el (ediff-documentation): Related users changed.
3484 * frame.el (selected-terminal): Remove the leftover.
3485
3486 2013-08-05 Glenn Morris <rgm@gnu.org>
3487
3488 * calendar/calendar.el (calendar-generate-month):
3489 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3490 (calendar-generate-month, calendar-font-lock-keywords):
3491 Fix for calendar-day-header-width > length of any day name.
3492
3493 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3494
3495 * desktop.el (desktop-clear): Use new name of sort predicate.
3496
3497 * frameset.el (frameset): Add docstring. Move :version property to its
3498 own `version' slot.
3499 (frameset-copy): Rename from copy-frameset.
3500 (frameset-p): Check more thoroughly.
3501 (frameset-prop): Do not check for :version, which is no longer a prop.
3502 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3503 Use new :never value instead of t.
3504 (frameset-filter-alist): Expand and clarify docstring.
3505 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3506 (frameset-filter-minibuffer, frameset-filter-save-param)
3507 (frameset-filter-restore-param, frameset-filter-iconified):
3508 Add pointer to docstring of frameset-filter-alist.
3509 (frameset-filter-params): Rename filter values to be more meaningful:
3510 :never instead of t, and reverse the meanings of :save and :restore.
3511 (frameset--process-minibuffer-frames): Clarify error message.
3512 (frameset-save): Avoid unnecessary and confusing call to framep.
3513 Use new BOA constructor for framesets.
3514 (frameset--reuse-list): Doc fix.
3515 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3516 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3517 (frameset-minibufferless-first-p): Doc fix.
3518 Rename from frameset-sort-frames-for-deletion.
3519 (frameset-restore): Doc fixes. Use new function names.
3520 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3521
3522 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3523
3524 * desktop.el (desktop-restore-forces-onscreen)
3525 (desktop-restore-reuses-frames): Document :keyword constant values.
3526 (desktop-filter-parameters-alist): Remove, now identical to
3527 frameset-filter-alist.
3528 (desktop--filter-tty*): Remove, moved to frameset.el.
3529 (desktop-save-frameset, desktop-restore-frameset):
3530 Do not pass :filters argument.
3531
3532 * frameset.el (frameset-live-filter-alist)
3533 (frameset-persistent-filter-alist): New variables.
3534 (frameset-filter-alist): Use them. Add autoload cookie.
3535 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3536 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3537 `frameset--id' (it's supposed to be internal to frameset.el).
3538 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3539 (frameset--initial-params): New function.
3540 (frameset--get-frame): Use it. Doc fix.
3541 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3542 Accept :all, not 'all.
3543 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3544 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3545 with fbound symbols. Fix frame id matching, and remove matching ids if
3546 the frame being restored is deleted. Obey :delete.
3547
3548 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * subr.el (macrop): New function.
3551 (text-clone--maintaining): New var.
3552 (text-clone--maintain): Rename from text-clone-maintain. Use it
3553 instead of inhibit-modification-hooks.
3554
3555 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3556 a proxy, so as handle autoloads and redefinitions of the target.
3557 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3558
3559 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3560 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3561 (pcase--mutually-exclusive-p): New function.
3562 (pcase--split-consp): Use it.
3563 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3564 mutually exclusive with the current predicate.
3565
3566 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3567 (edebug-macrop): Remove. Use `macrop' instead.
3568 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3569 (ad-macro-p):
3570 * eshell/esh-cmd.el (eshell-macrop):
3571 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3572
3573 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3576 (advice-mapc): New function, using it.
3577 (advice-function-member-p): New function.
3578 (advice--normalize): Store the cdr in advice--saved-rewrite since
3579 that's the part that will be changed.
3580 (advice--symbol-function): New function.
3581 (advice-remove): Handle removal before the function is defined.
3582 Adjust to new advice--saved-rewrite.
3583 (advice-member-p): Use advice-function-member-p and
3584 advice--symbol-function.
3585
3586 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3589 (frameset-filter-minibuffer): Doc fix.
3590 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3591 (frameset--set-id, frameset--process-minibuffer-frames)
3592 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3593 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3594
3595 * desktop.el (desktop-clear): Only delete frames when called
3596 interactively and desktop-restore-frames is non-nil. Doc fix.
3597 (desktop-read): Set desktop-saved-frameset to nil.
3598
3599 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3600
3601 * vc/vc.el (vc-ignore): Rewrite.
3602 (vc-default-ignore-completion-table):
3603 (vc--read-lines):
3604 (vc--add-line, vc--remove-regexp): New functions.
3605
3606 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3607 (vc-svn-ignore-completion-table): New function.
3608
3609 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3610 (vc-hg-ignore-completion-table):
3611 (vc-hg-find-ignore-file): New functions.
3612
3613 * vc/vc-git.el (vc-git-ignore): Rewrite.
3614 (vc-git-ignore-completion-table):
3615 (vc-git-find-ignore-file): New functions.
3616
3617 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3618
3619 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3620 (vc-bzr-ignore-completion-table):
3621 (vc-bzr-find-ignore-file): New functions.
3622
3623 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3624
3625 * frameset.el (frameset-prop): New function and setter.
3626 (frameset-save): Do not modify frame list passed by the caller.
3627
3628 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3631
3632 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3635 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3636
3637 * custom.el (custom-initialize-default, custom-initialize-set)
3638 (custom-initialize-reset, custom-initialize-changed): Affect the
3639 toplevel-default-value (bug#6275, bug#14586).
3640 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3641 for bug#6275.
3642
3643 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3644
3645 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3646 Add cl-def* expressions.
3647
3648 * frameset.el (frameset-filter-params): Fix order of arguments.
3649
3650 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3651
3652 Move code related to saving frames to frameset.el.
3653 * desktop.el: Require frameset.
3654 (desktop-restore-frames): Doc fix.
3655 (desktop-restore-reuses-frames): Rename from
3656 desktop-restoring-reuses-frames.
3657 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3658 (desktop-clear): Clear frames too.
3659 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3660 (desktop--filter-tty*, desktop-save, desktop-read):
3661 Use frameset functions.
3662 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3663 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3664 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3665 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3666 (desktop--process-minibuffer-frames, desktop-save-frames)
3667 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3668 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3669 (desktop--sort-states, desktop-restoring-frames-p)
3670 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3671 (desktop-restoring-frameset-p, desktop-restore-frameset)
3672 (desktop--check-dont-save, desktop-save-frameset): New functions.
3673 (desktop--app-id): New constant.
3674 (desktop-first-buffer, desktop-buffer-ok-count)
3675 (desktop-buffer-fail-count): Move before first use.
3676 * frameset.el: New file.
3677
3678 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * files.el: Use lexical-binding.
3681 (dir-locals-read-from-file): Remove unused `err' variable.
3682 (hack-dir-local-variables--warned-coding): New var.
3683 (hack-dir-local-variables): Use it to avoid repeated warnings.
3684 (make-backup-file-name--default-function): New function.
3685 (make-backup-file-name-function): Use it as default.
3686 (buffer-stale--default-function): New function.
3687 (buffer-stale-function): Use it as default.
3688 (revert-buffer-insert-file-contents--default-function): New function.
3689 (revert-buffer-insert-file-contents-function): Use it as default.
3690 (insert-directory): Avoid add-to-list.
3691
3692 * autorevert.el (auto-revert-handler): Simplify.
3693 Use buffer-stale--default-function.
3694
3695 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3696
3697 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3698
3699 * whitespace.el (whitespace-ensure-local-variables): New function.
3700 (whitespace-cleanup-region): Call it.
3701 (whitespace-turn-on): Call it.
3702
3703 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3704
3705 Complete file name handlers.
3706
3707 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3708 (tramp-handle-verify-visited-file-modtime)
3709 (tramp-handle-file-notify-rm-watch): New functions.
3710 (tramp-call-process): Do not bind `default-directory'.
3711
3712 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3713 Order alphabetically.
3714 [access-file, add-name-to-file, dired-call-process]:
3715 [dired-compress-file, file-acl, file-notify-rm-watch]:
3716 [file-ownership-preserved-p, file-selinux-context]:
3717 [make-directory-internal, make-symbolic-link, set-file-acl]:
3718 [set-file-selinux-context, set-visited-file-modtime]:
3719 [verify-visited-file-modtime]: Add handler.
3720 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3721
3722 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3723 [file-notify-add-watch, file-notify-rm-watch]:
3724 [set-file-times, set-visited-file-modtime]:
3725 [verify-visited-file-modtime]: Add handler.
3726 (with-tramp-gvfs-error-message)
3727 (tramp-gvfs-handle-set-visited-file-modtime)
3728 (tramp-gvfs-fuse-file-name): Remove.
3729 (tramp-gvfs-handle-file-notify-add-watch)
3730 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3731 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3732
3733 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3734 Order alphabetically.
3735 [file-notify-rm-watch ]: Use default Tramp handler.
3736 [executable-find]: Remove private handler.
3737 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3738 `default-directory'.
3739 (tramp-sh-handle-executable-find)
3740 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3741 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3742 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3743 Do not use `format' in `tramp-message'.
3744
3745 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3746 [file-notify-rm-watch, set-visited-file-modtime]:
3747 [verify-visited-file-modtime]: Add handler.
3748 (tramp-smb-call-winexe): Do not bind `default-directory'.
3749
3750 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3751
3752 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3753
3754 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3755
3756 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3757 use it.
3758 (log-view-diff-changeset): Same.
3759 (log-view-diff-common): Call backend command `previous-revision'
3760 to find out the previous revision, in both cases. Swap the
3761 variables `to' and `fr', so that `fr' usually refers to the
3762 earlier revision (Bug#14989).
3763
3764 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3765
3766 * ibuf-ext.el (ibuffer-filter-by-filename):
3767 Make it work with dired buffers too.
3768
3769 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3770
3771 * emacs-lisp/re-builder.el (reb-color-display-p):
3772 * files.el (save-buffers-kill-terminal):
3773 * net/browse-url.el (browse-url):
3774 * server.el (server-save-buffers-kill-terminal):
3775 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3776 Prefer nil to selected-frame for the first arg of frame-parameter.
3777
3778 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3779
3780 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3781
3782 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3783
3784 * minibuffer.el (completion--twq-all): Try and preserve each
3785 completion's case choice (bug#14907).
3786
3787 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3788
3789 * net/network-stream.el (open-network-stream): Mention the new
3790 :nogreeting parameter.
3791 (network-stream-open-starttls): Use the :nogreeting parameter
3792 (bug#14938).
3793
3794 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3795
3796 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3797 more natural than popping.
3798
3799 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3800 (shr-urlify): Highlight under mouse.
3801
3802 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3803
3804 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3805
3806 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3807
3808 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3809 buffer for output.
3810
3811 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3812 point-min==1. Fix search string. Fix parentheses missing.
3813
3814 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3815 assume point-min==1. Fix search string. Fix parentheses missing.
3816
3817 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3818
3819 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3820 buffer for output.
3821
3822 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3823
3824 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3825 initial frame is minibuffer-less. (Bug#14841)
3826
3827 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3830 option.
3831
3832 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3833 (tramp-maybe-open-connection): Use it.
3834
3835 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3836
3837 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3838 minimal set of parameters passed when creating a frame, because
3839 the minibuffer status of a frame cannot be changed later.
3840
3841 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3842
3843 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3844 replace-regexp-in-string and inadvertent omissions in previous change.
3845 (todo-filter-items): Ensure only file names are comma-separated in
3846 name of filtered items buffer.
3847
3848 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * desktop.el: Optionally force offscreen frames back onscreen.
3851 (desktop-restoring-reuses-frames): New option.
3852 (desktop--compute-pos, desktop--move-onscreen): New functions.
3853 (desktop--make-frame): Use desktop--move-onscreen.
3854
3855 2013-07-27 Alan Mackenzie <acm@muc.de>
3856
3857 Fontify a Java generic method as a function.
3858 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3859 value to t.
3860
3861 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3862
3863 * calendar/todo-mode.el: Add command to rename todo files.
3864 (todo-rename-file): New command.
3865 (todo-key-bindings-t): Add key binding for it. Change the
3866 bindings of todo-filter-regexp-items(-multifile) to use `x'
3867 instead of `r', since the latter is better suited to the new
3868 renaming command.
3869
3870 2013-07-27 Alan Mackenzie <acm@muc.de>
3871
3872 Make Java try-with-resources statement parse properly.
3873 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3874 (c-block-stmt-1-2-key): New language constants/variables.
3875 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3876 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3877 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3878 with c-block-stmt-1-2-key.
3879
3880 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3881
3882 * desktop.el (desktop--make-frame): Apply most frame parameters after
3883 creating the frame to force (partially or totally) offscreen frames to
3884 be restored as such.
3885
3886 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3887
3888 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3889 (Bug#14948)
3890
3891 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3894 `base' arg of backtrace-frame.
3895
3896 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3897
3898 * simple.el (list-processes): Doc fix.
3899
3900 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * desktop.el (desktop--select-frame):
3903 Try harder to reuse existing frames.
3904
3905 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3908 (edebug-eval): Use backtrace-eval.
3909 (edebug--display, edebug--recursive-edit): Don't let-bind the
3910 edebug-outer-* vars that keep track of variables we locally let-bind.
3911 (edebug-outside-excursion): Don't restore outside values of locally
3912 let-bound vars.
3913 (edebug--display): Use user-error.
3914 (cl-lexical-debug, cl-debug-env): Remove.
3915
3916 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3917
3918 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3919 are restored to be sure that they are visible before deleting any
3920 remaining ones.
3921
3922 2013-07-26 Matthias Meulien <orontee@gmail.com>
3923
3924 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3925 vc-print-root-log. (Bug#14948)
3926
3927 2013-07-26 Richard Stallman <rms@gnu.org>
3928
3929 Add aliases for encrypting mail.
3930 * epa.el (epa-mail-aliases): New option.
3931 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3932 Bind inhibit-read-only so read-only text doesn't ruin everything.
3933 (epa-mail-default-recipients): New subroutine broken out.
3934 Handle epa-mail-aliases.
3935
3936 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 Add support for lexical variables to the debugger's `e' command.
3939 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3940 vars, except for debugger-outer-match-data.
3941 (debugger-frame-number): Move check for "on a function call" from
3942 callers into it. Add `skip-base' argument.
3943 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3944 (debugger-env-macro): Only reset the state stored in non-variables,
3945 i.e. current-buffer and match-data.
3946 (debugger-eval-expression): Rewrite using backtrace-eval.
3947 * subr.el (internal--called-interactively-p--get-frame): Remove.
3948 (called-interactively-p):
3949 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3950 `base' arg of backtrace-frame instead.
3951
3952 2013-07-26 Glenn Morris <rgm@gnu.org>
3953
3954 * align.el (align-regexp): Doc fix. (Bug#14857)
3955 (align-region): Explicit error if subexpression missing/does not match.
3956
3957 * simple.el (global-visual-line-mode):
3958 Do not duplicate the mode lighter. (Bug#14858)
3959
3960 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3961
3962 * window.el (display-buffer): In display-buffer bind
3963 split-window-keep-point to t, bug#14829.
3964
3965 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3966
3967 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3968 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3969 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3970 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3971 Change accordingly.
3972 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3973 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3974
3975 2013-07-25 Glenn Morris <rgm@gnu.org>
3976
3977 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3978
3979 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3980
3981 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3982 parameter to modify-frame-parameters if the value has not changed;
3983 this is a workaround for bug#14949.
3984 (desktop--make-frame): On cl-delete-if call, check parameter name,
3985 not full parameter.
3986
3987 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3988
3989 * vc/vc.el (vc-ignore): New function.
3990
3991 * vc/vc-svn.el (vc-svn-ignore): New function.
3992
3993 * vc/vc-hg.el (vc-hg-ignore): New function.
3994
3995 * vc/vc-git.el (vc-git-ignore): New function.
3996
3997 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3998 (vc-dir-ignore): New function.
3999
4000 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4001 (cvs-append-to-ignore): Move here from pcvs.el.
4002
4003 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4004
4005 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4006
4007 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4008
4009 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4010 (desktop-restore-frames): Warn when deleting an existing frame failed.
4011
4012 2013-07-24 Glenn Morris <rgm@gnu.org>
4013
4014 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4015
4016 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * filenotify.el (file-notify-supported-p):
4019 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4020 Remove functions.
4021
4022 * autorevert.el (auto-revert-use-notify):
4023 (auto-revert-notify-add-watch):
4024 * net/tramp.el (tramp-file-name-for-operation):
4025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4027 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4028 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4029 Remove `file-notify-supported-p' entry.
4030
4031 2013-07-24 Glenn Morris <rgm@gnu.org>
4032
4033 * printing.el: Replace all uses of deleted ps-windows-system,
4034 ps-lp-system, ps-flatten-list with lpr- versions.
4035
4036 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4039 checked with memq (bug#14935).
4040
4041 * files.el (revert-buffer-function): Use a non-nil default.
4042 (revert-buffer-preserve-modes): Declare var to
4043 provide access to the `preserve-modes' argument.
4044 (revert-buffer): Let-bind it.
4045 (revert-buffer--default): New function, extracted from revert-buffer.
4046
4047 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * lpr.el: Signal print errors more prominently.
4050 (print-region-function): Don't default to nil.
4051 (lpr-print-region): New function, extracted from print-region-1.
4052 Check lpr's return value and signal an error in case of problem.
4053 (print-region-1): Use it.
4054 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4055 versions instead.
4056 (ps-printer-name): Default to nil.
4057 (ps-printer-name-option): Default to lpr-printer-switch.
4058 (ps-print-region-function): Don't default to nil.
4059 (ps-postscript-code-directory): Simplify default.
4060 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4061 (ps-string-list, ps-eval-switch, ps-flatten-list)
4062 (ps-flatten-list-1): Remove.
4063 (ps-multibyte-buffer): Avoid setq.
4064 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4065 (print-region-function, ps-print-region-function): Don't set them here.
4066
4067 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4068
4069 * ido.el (ido-fractionp):
4070 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4071 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4072 (ido-max-directory-size, ido-max-dir-file-cache)
4073 (ido-decorations): Doc fix.
4074
4075 * ansi-color.el: Fix old URL.
4076
4077 2013-07-23 Michael R. Mauger <michael@mauger.com>
4078
4079 * progmodes/sql.el: Version 3.3
4080 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4081 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4082 (sql-interactive-remove-continuation-prompt): Rewrite, use
4083 functions above. Fix continuation prompt and complete output line
4084 handling.
4085 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4086 redirected output buffer.
4087 (sql-mode): Restore deleted code (Bug#13591).
4088
4089 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4092
4093 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4096
4097 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4099 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4100
4101 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4102
4103 * desktop.el (desktop-clear): Simplify; remove useless checks
4104 against invalid buffer names.
4105 (desktop-list*): Use cl-list*.
4106 (desktop-buffer-info, desktop-create-buffer): Simplify.
4107
4108 2013-07-23 Leo Liu <sdl.web@gmail.com>
4109
4110 * bookmark.el (bookmark-make-record): Restore NAME as a default
4111 value. (Bug#14933)
4112
4113 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4116 extracted from autoload--insert-text.
4117 (autoload--insert-text): Remove.
4118 (autoload--print-cookie-text): New function, extracted from
4119 autoload--insert-cookie-text.
4120 (autoload--insert-cookie-text): Remove.
4121 (autoload-generate-file-autoloads): Adjust calls accordingly.
4122
4123 * winner.el (winner-hook-installed-p): Remove.
4124 (winner-mode): Simplify accordingly.
4125
4126 * subr.el (add-to-list): Fix compiler-macro when `append' is
4127 not constant. Don't use `cl-member' for the base case.
4128
4129 * progmodes/subword.el: Fix boundary case (bug#13758).
4130 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4131 own group.
4132 (subword-backward-regexp): Make it a constant.
4133 (subword-forward-internal): Don't treat a trailing capital as the
4134 beginning of a word.
4135
4136 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4137
4138 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4139 global value of tabulated-list-revert-hook (bug#14930).
4140
4141 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4142
4143 * desktop.el: Require 'cl-lib.
4144 (desktop-before-saving-frames-functions): New hook.
4145 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4146 for frames being saved. Rename from desktop--save-minibuffer-frames.
4147 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4148 Do not save frames with non-nil `desktop-dont-save' parameter.
4149 Filter out deleted frames.
4150 (desktop--find-frame): Use cl-find-if.
4151 (desktop--select-frame): Use cl-(first|second|third) to access values
4152 of desktop-mini.
4153 (desktop--make-frame): Use cl-delete-if.
4154 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4155 (desktop-restore-frames): Use cl-(first|second|third) to access values
4156 of desktop-mini. Look for visible frame at the end, not while
4157 restoring frames.
4158
4159 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4160 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4161 Use string-match-p, looking-at-p (bug#14927).
4162
4163 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4164
4165 * desktop.el (desktop-saved-frame-states):
4166 Rename from desktop--saved-states; all users changed.
4167 (desktop-save-frames): Rename from desktop--save-frames.
4168 Do not save state to desktop file.
4169 (desktop-save): Save desktop-saved-frame-states to desktop file
4170 and reset to nil.
4171 (desktop-restoring-frames-p): New function.
4172 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4173 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4174 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4175
4176 * desktop.el: Correctly restore iconified frames.
4177 (desktop--filter-iconified-position): New function.
4178 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4179
4180 2013-07-20 Glenn Morris <rgm@gnu.org>
4181
4182 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4183 Let `message' do the formatting.
4184 (def-gdb-preempt-display-buffer): Add explicit format.
4185
4186 * image-dired.el (image-dired-track-original-file):
4187 Use with-current-buffer.
4188 (image-dired-track-thumbnail): Use with-current-buffer.
4189 Avoid changing point of wrong window.
4190
4191 * image-dired.el (image-dired-track-original-file):
4192 Avoid changing point of wrong window. (Bug#14909)
4193
4194 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4195
4196 * progmodes/gdb-mi.el (gdb-done-or-error):
4197 Guard against "%" in gdb output. (Bug#14127)
4198
4199 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4200
4201 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4202 (Bug#14826)
4203
4204 * international/mule.el (coding-system-iso-2022-flags): Fix last
4205 change.
4206
4207 2013-07-20 Kenichi Handa <handa@gnu.org>
4208
4209 * international/mule.el (coding-system-iso-2022-flags):
4210 Add `8-bit-level-4'. (Bug#8522)
4211
4212 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4213
4214 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4215 (bug#14815).
4216
4217 * net/eww.el (eww-process-text-input): Allow inputting when the
4218 point is at the start of the line, as the properties aren't
4219 front-sticky.
4220
4221 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4222 degenerate widths.
4223
4224 2013-07-19 Richard Stallman <rms@gnu.org>
4225
4226 * epa.el (epa-popup-info-window): Doc fix.
4227
4228 * subr.el (split-string): New arg TRIM.
4229
4230 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4231
4232 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4233 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4234
4235 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4236
4237 * filenotify.el (file-notify--library): Rename from
4238 `file-notify-support'. Do not autoload. Adapt all uses.
4239 (file-notify-supported-p): New defun.
4240
4241 * autorevert.el (auto-revert-use-notify):
4242 Use `file-notify-supported-p' instead of `file-notify-support'.
4243 Adapt docstring.
4244 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4245
4246 * net/tramp.el (tramp-file-name-for-operation):
4247 Add `file-notify-supported-p'.
4248
4249 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4250 New defun.
4251 (tramp-sh-file-name-handler-alist): Add it as handler for
4252 `file-notify-supported-p '.
4253
4254 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4256 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4257 Add `ignore' as handler for `file-notify-*' functions.
4258
4259 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4260
4261 * simple.el (line-move-partial, line-move): Don't start vscroll or
4262 scroll-up if the current line is not taller than the window.
4263 (Bug#14881)
4264
4265 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4266
4267 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4268 highlight question marks in the method names as strings.
4269 (ruby-block-beg-keywords): Inline.
4270 (ruby-font-lock-keyword-beg-re): Extract from
4271 `ruby-font-lock-keywords'.
4272
4273 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4274
4275 * frame.el (blink-cursor-blinks): New defcustom.
4276 (blink-cursor-blinks-done): New defvar.
4277 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4278 (blink-cursor-timer-function): Check if number of blinks has been
4279 done on X and NS.
4280 (blink-cursor-suspend, blink-cursor-check): New defuns.
4281
4282 2013-07-15 Glenn Morris <rgm@gnu.org>
4283
4284 * edmacro.el (edmacro-format-keys): Fix previous change.
4285
4286 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4287
4288 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4289 The hack didn't work outside English locales anyway.
4290
4291 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4292
4293 * simple.el (define-alternatives): Rename from alternatives-define,
4294 per RMS' suggestion.
4295
4296 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * desktop.el (desktop-restore-frames): Change default to t.
4299 (desktop-restore-in-current-display): Now offer more options.
4300 (desktop-restoring-reuses-frames): New customization option.
4301 (desktop--saved-states): Doc fix.
4302 (desktop-filter-parameters-alist): New variable, renamed and expanded
4303 from desktop--excluded-frame-parameters.
4304 (desktop--target-display): New variable.
4305 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4306 (desktop--filter-tty*, desktop--filter-*-color)
4307 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4308 (desktop--filter-save-desktop-parm)
4309 (desktop-restore-in-original-display-p): New functions.
4310 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4311 (desktop--save-minibuffer-frames): New function, inspired by a similar
4312 function from Martin Rudalics.
4313 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4314 (desktop--restore-in-this-display-p): Remove.
4315 (desktop--find-frame): Rename from desktop--find-frame-in-display
4316 and add predicate argument.
4317 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4318 (desktop--reuse-list): New variable.
4319 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4320 New functions.
4321 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4322
4323 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4326
4327 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4328
4329 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4330 Highlight conversion methods on Kernel.
4331
4332 2013-07-13 Alan Mackenzie <acm@muc.de>
4333
4334 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4335 and comment it out. This out-commenting enables certain C++
4336 declarations to be parsed correctly.
4337
4338 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4339
4340 * international/mule.el (define-coding-system): Doc fix.
4341
4342 * simple.el (default-font-height): Don't call font-info if the
4343 frame's default font didn't change since the frame was created.
4344 (Bug#14838)
4345
4346 2013-07-13 Leo Liu <sdl.web@gmail.com>
4347
4348 * ido.el (ido-read-file-name): Guard against non-symbol value.
4349
4350 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4351
4352 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4353 in nested defuns.
4354
4355 2013-07-13 Leo Liu <sdl.web@gmail.com>
4356
4357 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4358 ido-set-matches call. (Bug#6852)
4359
4360 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4361
4362 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4363 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4364 Ruby 2.0.
4365 (ruby-font-lock-keywords): Distinguish calls to functions with
4366 module-like names from module references. Highlight character
4367 literals.
4368
4369 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4370
4371 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4372 (gdb-send): Handle continued commands. (Bug#14847)
4373
4374 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * desktop.el (desktop--v2s): Remove unused local variable.
4377 (desktop-save-buffer): Make defvar-local; adjust docstring.
4378 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4379 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4380
4381 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4382
4383 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4384
4385 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4386
4387 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4388 (Bug#14842)
4389
4390 2013-07-12 Glenn Morris <rgm@gnu.org>
4391
4392 * doc-view.el: Require cl-lib at runtime too.
4393 (doc-view-remove-if): Remove.
4394 (doc-view-search-next-match, doc-view-search-previous-match):
4395 Use cl-remove-if.
4396
4397 * edmacro.el: Require cl-lib at runtime too.
4398 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4399 (edmacro-mismatch, edmacro-subseq): Remove.
4400
4401 * shadowfile.el: Require cl-lib.
4402 (shadow-remove-if): Remove.
4403 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4404 Use cl-remove-if.
4405
4406 * wid-edit.el: Require cl-lib.
4407 (widget-choose): Use cl-remove-if.
4408 (widget-remove-if): Remove.
4409
4410 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4411 (ebrowse-delete-if-not): Remove.
4412 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4413 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4414 Use cl-delete-if-not.
4415
4416 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4417
4418 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4419 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4420
4421 2013-07-12 Leo Liu <sdl.web@gmail.com>
4422
4423 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4424
4425 2013-07-11 Glenn Morris <rgm@gnu.org>
4426
4427 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4428 (edebug-gensym-index, edebug-gensym):
4429 Remove reimplementation of cl-gensym.
4430 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4431
4432 * thumbs.el: Require cl-lib at run-time too.
4433 (thumbs-gensym-counter, thumbs-gensym):
4434 Remove reimplementation of cl-gensym.
4435 (thumbs-temp-file): Use cl-gensym.
4436
4437 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4438 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4439 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4440 (ert--union, ert--gensym-counter, ert--gensym-counter)
4441 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4442 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4443 (ert-make-test-unbound, ert--expand-should-1)
4444 (ert--expand-should, ert--should-error-handle-error)
4445 (should-error, ert--explain-equal-rec)
4446 (ert--plist-difference-explanation, ert-select-tests)
4447 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4448 Use cl-lib functions rather than reimplementations.
4449
4450 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4451
4452 * net/tramp.el (tramp-methods): Extend docstring.
4453 (tramp-connection-timeout): New defcustom.
4454 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4455 (with-tramp-progress-reporter): Simplify.
4456 (tramp-process-actions): Improve messages.
4457
4458 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4459 * net/tramp-sh.el (tramp-maybe-open-connection):
4460 Use `tramp-connection-timeout'.
4461 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4462 (Bug#14808)
4463
4464 2013-07-11 Leo Liu <sdl.web@gmail.com>
4465
4466 * ido.el (ido-read-file-name): Conform to the requirements of
4467 read-file-name. (Bug#11861)
4468 (ido-read-directory-name): Conform to the requirements of
4469 read-directory-name.
4470
4471 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * subr.el (delay-warning): New function.
4474
4475 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4476
4477 * simple.el (default-line-height): New function.
4478 (line-move-partial, line-move): Use it instead of computing the
4479 line height inline.
4480 (line-move-partial): Always compute ROWH. If the last line is
4481 partially-visible, but its text is completely visible, allow
4482 cursor to enter such a partially-visible line.
4483
4484 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4485
4486 Improve error messages. (Bug#14808)
4487
4488 * net/tramp.el (tramp-current-connection): New defvar, moved from
4489 tramp-sh.el.
4490 (tramp-message-show-progress-reporter-message): Remove, not
4491 needed anymore.
4492 (tramp-error-with-buffer): Show message in minibuffer.
4493 Discard input before waiting. Reset connection timestamp.
4494 (with-tramp-progress-reporter): Improve messages.
4495 (tramp-process-actions): Use progress reporter. Delete process in
4496 case of error. Improve messages.
4497
4498 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4499 Call `tramp-error-with-buffer' with vector and buffer.
4500 (tramp-current-connection): Remove.
4501 (tramp-maybe-open-connection): The car of
4502 `tramp-current-connection' are the first 3 slots of the vector.
4503
4504 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4505
4506 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4507 inside continued strings.
4508
4509 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4510
4511 Timestamp fixes for undo (Bug#14824).
4512 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4513
4514 2013-07-10 Leo Liu <sdl.web@gmail.com>
4515
4516 * files.el (require-final-newline): Allow safe local value.
4517 (Bug#14834)
4518
4519 2013-07-09 Leo Liu <sdl.web@gmail.com>
4520
4521 * ido.el (ido-read-directory-name): Handle fallback.
4522 (ido-read-file-name): Update DIR to ido-current-directory.
4523 (Bug#1516)
4524 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4525
4526 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4527
4528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4529 "autoload". Remove "warn lower camel case" section, previously
4530 commented out. Highlight negation char. Do not highlight the
4531 target in singleton method definitions.
4532
4533 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * faces.el (tty-setup-hook): Declare the hook.
4536
4537 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4538 and detect when a guard/pred depends on local vars (bug#14773).
4539 (pcase--u1): Adjust caller.
4540
4541 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4542
4543 * simple.el (line-move-partial, line-move): Account for
4544 line-spacing.
4545 (line-move-partial): Avoid setting vscroll when the last
4546 partially-visible line in window is of default height.
4547
4548 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4549
4550 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4551 been used a while.
4552
4553 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * subr.el (read-quoted-char): Remove unused local variable `char'.
4556
4557 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4558
4559 * ediff.el (ediff-version): Version update.
4560 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4561 (ediff-merge-with-ancestor-command, ediff-directories-command)
4562 (ediff-directories3-command, ediff-merge-directories-command)
4563 (ediff-merge-directories-with-ancestor-command): New functions.
4564 All are command-line interfaces to ediff: to facilitate calling
4565 Emacs with the appropriate ediff functions invoked.
4566
4567 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4568 (viper-save-kill-buffer): Check if buffer is modified.
4569
4570 * viper.el (viper-version): Version update.
4571 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4572
4573 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4576 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4577 (viper-intercept-ESC-key): Simplify.
4578 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4579 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4580 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4581 (viper-setup-ESC-to-escape): New functions.
4582 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4583 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4584
4585 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4586
4587 * simple.el (default-font-height, window-screen-lines):
4588 New functions.
4589 (line-move, line-move-partial): Use them instead of
4590 frame-char-height and window-text-height. This makes scrolling
4591 text smoother when the buffer's default face uses a font that is
4592 different from the frame's default font.
4593
4594 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4595
4596 * files.el (write-file): Do not display confirm dialog for NS,
4597 it does its own dialog, which can't be cancelled (Bug#14578).
4598
4599 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4600
4601 * simple.el (line-move-partial): Adjust the row returned by
4602 posn-at-point for the current window-vscroll. (Bug#14567)
4603
4604 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4605
4606 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4607 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4608 spaces.
4609
4610 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4611
4612 * window.el (window-state-put-stale-windows): New variable.
4613 (window--state-put-2): Save list of windows without matching buffer.
4614 (window-state-put): Remove "bufferless" windows if possible.
4615
4616 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4617
4618 * simple.el (alternatives-define): Remove leftover :group keyword.
4619 Tweak docstring.
4620
4621 2013-07-06 Leo Liu <sdl.web@gmail.com>
4622
4623 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4624 (ido-enable-virtual-buffers): New variable.
4625 (ido-buffer-internal, ido-toggle-virtual-buffers)
4626 (ido-make-buffer-list): Use it.
4627 (ido-exhibit): Support turning on and off virtual buffers
4628 automatically.
4629
4630 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4631
4632 * simple.el (alternatives-define): New macro.
4633
4634 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * subr.el (read-quoted-char): Use read-key.
4637 (sit-for): Let read-event decode tty input (bug#14782).
4638
4639 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4640
4641 * calendar/todo-mode.el: Add handling of file deletion, both by
4642 mode command and externally. Fix various related bugs.
4643 Clarify Commentary and improve some documentation strings and code.
4644 (todo-delete-file): New command.
4645 (todo-check-file): New function.
4646 (todo-show): Handle external deletion of the file we're trying to
4647 show (bug#14688). Replace called-interactively-p by an optional
4648 prefix argument to avoid problematic interaction with catch form
4649 when byte compiled (bug#14702).
4650 (todo-quit): Handle external deletion of the archive's todo file.
4651 Make sure the buffer that was visiting the archive file is still
4652 live before trying to bury it.
4653 (todo-category-completions): Handle external deletion of any
4654 category completion files.
4655 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4656 of todo files, in case of external deletion.
4657 (todo-add-file): Replace unnecessary setq by let-binding.
4658 (todo-find-archive): Check whether there are any archives.
4659 Replace unnecessary setq by let-binding.
4660 (todo-archive-done-item): Use find-file-noselect to get the
4661 archive buffer whether or not the archive already exists.
4662 Remove superfluous code. Use file size instead of buffer-file-name to
4663 check if the archive is new; if it is, update list of archives.
4664 (todo-default-todo-file): Allow nil to be a valid value for when
4665 there are no todo files.
4666 (todo-reevaluate-default-file-defcustom): Use corrected definition
4667 of todo-default-todo-file.
4668 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4669 (todo-delete-category, todo-show-categories-table)
4670 (todo-category-number): Clarify comment.
4671 (todo-filter-items): Clarify documentation string.
4672 (todo-show-current-file, todo-display-as-todo-file)
4673 (todo-reset-and-enable-done-separator): Tweak documentation string.
4674 (todo-done-separator): Make separator length window-width, since
4675 bug#2749 is now fixed.
4676
4677 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4678
4679 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4680 Support both "gvfs-monitor-dir" and "inotifywait".
4681 (tramp-sh-file-inotifywait-process-filter): Rename from
4682 `tramp-sh-file-notify-process-filter'.
4683 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4684 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4685
4686 2013-07-05 Leo Liu <sdl.web@gmail.com>
4687
4688 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4689
4690 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4691
4692 * frame.el (display-pixel-height, display-pixel-width)
4693 (display-mm-height, display-mm-width): Mention behavior on
4694 multi-monitor setups in docstrings.
4695 (w32-display-monitor-attributes-list): Declare function.
4696 (display-monitor-attributes-list): Use it.
4697
4698 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * filenotify.el: New package.
4701
4702 * autorevert.el (top): Require filenotify.el.
4703 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4704 instead.
4705 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4706 (auto-revert-notify-handler): Use `file-notify-*' functions.
4707
4708 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4709
4710 * net/tramp.el (tramp-file-name-for-operation):
4711 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4712
4713 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4714 for `file-notify-add-watch' and `file-notify-rm-watch'.
4715 (tramp-process-sentinel): Improve trace.
4716 (tramp-sh-handle-file-notify-add-watch)
4717 (tramp-sh-file-notify-process-filter)
4718 (tramp-sh-handle-file-notify-rm-watch)
4719 (tramp-get-remote-inotifywait): New defuns.
4720
4721 2013-07-03 Juri Linkov <juri@jurta.org>
4722
4723 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4724 call of `occur-read-primary-args' to interactive spec.
4725
4726 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4727 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4728
4729 2013-07-03 Matthias Meulien <orontee@gmail.com>
4730
4731 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4732 `Buffer-menu-multi-occur'. Add it to the menu.
4733 (Buffer-menu-mode): Document it in docstring.
4734 (Buffer-menu-multi-occur): New command. (Bug#14673)
4735
4736 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4739 keywords and built-ins.
4740
4741 2013-07-03 Glenn Morris <rgm@gnu.org>
4742
4743 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4744
4745 Make info-xref checks case-sensitive by default
4746 * info.el (Info-find-node, Info-find-in-tag-table)
4747 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4748 Add option for exact case matching of nodes.
4749 * info-xref.el (info-xref): New custom group.
4750 (info-xref-case-fold): New option.
4751 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4752
4753 2013-07-03 Leo Liu <sdl.web@gmail.com>
4754
4755 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4756
4757 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4758
4759 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4760 middle of block statement initially, lower the depth. Remove
4761 FIXME comment, not longer valid. Remove middle of block statement
4762 detection, no need to do that anymore since we've been using
4763 `ruby-parse-region' here.
4764
4765 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4766
4767 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4768
4769 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4770
4771 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4772
4773 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4774
4775 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4776 (desktop-restore-in-current-display): New customization option.
4777 (desktop--excluded-frame-parameters): Add `font'.
4778 (desktop--save-frames): Rename from desktop--save-windows.
4779 (desktop--restore-in-this-display-p): New function.
4780 (desktop--make-full-frame): Remove unwanted width/height from
4781 full(width|height) frames.
4782 (desktop--restore-frames): Rename from desktop--restore-windows.
4783 Obey desktop-restore-current-display. Do not delete old frames or
4784 select a new frame unless we were able to restore at least one frame.
4785
4786 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4787
4788 * files.el (find-file-noselect): Simplify conditional expression.
4789
4790 * remember.el (remember-append-to-file):
4791 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4792
4793 Add `remember-notes' function to store random notes across Emacs
4794 restarts.
4795 * remember.el (remember-data-file): Add :set callback to affect
4796 notes buffer (if any).
4797 (remember-notes): New command.
4798 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4799 New defcustoms for the `remember-notes' function.
4800 (remember-notes-save-and-bury-buffer): New command.
4801 (remember-notes-mode-map): New variable.
4802 (remember-mode): New minor mode.
4803 (remember-notes--kill-buffer-query): New function.
4804 * startup.el (initial-buffer-choice): Add notes to custom type.
4805
4806 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4807
4808 * bindings.el (right-char, left-char): Don't call sit-for, this is
4809 no longer needed. Use arithmetic comparison only for numerical
4810 arguments.
4811
4812 * international/mule-cmds.el (select-safe-coding-system):
4813 Handle the case of FROM being a string correctly. (Bug#14755)
4814
4815 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4816
4817 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4818 progression on degenerate tables.
4819 (shr-rescale-image): ImageMagick animated images currently don't work.
4820
4821 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4822
4823 Some fixes and improvements for desktop frame restoration.
4824 It is still experimental and disabled by default.
4825 * desktop.el (desktop--save-windows): Put the selected frame at
4826 the head of the list.
4827 (desktop--make-full-frame): New function.
4828 (desktop--restore-windows): Try to re-select the frame that was
4829 selected upon saving. Do not abort if some frames fail to restore,
4830 just show an error message and continue. Set up maximized frames
4831 so they have default non-maximized dimensions.
4832
4833 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4834
4835 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4836 Don't start heredoc inside a string or comment.
4837
4838 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4839
4840 * bindings.el (visual-order-cursor-movement): New defcustom.
4841 (right-char, left-char): Provide visual-order cursor motion by
4842 calling move-point-visually. Update the doc strings.
4843
4844 2013-06-28 Kenichi Handa <handa@gnu.org>
4845
4846 * international/mule.el (define-coding-system): New coding system
4847 properties :inhibit-null-byte-detection,
4848 :inhibit-iso-escape-detection, and :prefer-utf-8.
4849 (set-buffer-file-coding-system): If :charset-list property of
4850 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4851 appropriate for setting.
4852
4853 * international/mule-cmds.el (select-safe-coding-system):
4854 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4855 multibyte characters, return utf-8 (or one of its siblings).
4856
4857 * international/mule-conf.el (prefer-utf-8): New coding system.
4858 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4859 files.
4860
4861 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4862
4863 * net/shr.el (shr-render-region): New function.
4864
4865 * net/eww.el: Autoload `eww-browse-url'.
4866
4867 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4868
4869 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4870 Adapt to `package-desc-version' being a list.
4871 Use `package--ac-desc-version' to retrieve version from a package
4872 archive element.
4873
4874 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4875
4876 New experimental feature to save&restore window and frame setup.
4877 * desktop.el (desktop-save-windows): New defcustom.
4878 (desktop--saved-states): New var.
4879 (desktop--excluded-frame-parameters): New defconst.
4880 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4881 (desktop--restore-windows, desktop--save-windows): New functions.
4882 (desktop-save): Call `desktop--save-windows'.
4883 (desktop-read): Call `desktop--restore-windows'.
4884
4885 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
4887 * net/shr.el (add-face-text-property): Remove compat definition.
4888
4889 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4890
4891 * info.el (Info-try-follow-nearest-node): Move search for footnote
4892 above search for node name to prevent missing a footnote (bug#14717).
4893
4894 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4895
4896 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4897
4898 2013-06-27 Leo Liu <sdl.web@gmail.com>
4899
4900 * net/eww.el (eww-read-bookmarks): Check file size.
4901
4902 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4905 advice--pending if newdef is nil or an autoload (bug#13820).
4906 (advice-mapc): New function.
4907
4908 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4909
4910 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4911 probably.
4912 (eww-mode-map): Add a menu bar.
4913 (eww-add-bookmark): New command.
4914 (eww-bookmark-mode): New mode and commands.
4915 (eww-add-bookmark): Remove newlines from the title.
4916 (eww-bookmark-browse): Don't bug out if it's the only window.
4917
4918 2013-06-26 Glenn Morris <rgm@gnu.org>
4919
4920 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4921 (hfy-size): Handle ttys. (Bug#14668)
4922
4923 * info-xref.el: Update for Texinfo 5 change in *note format.
4924 (info-xref-node-re, info-xref-note-re): New constants.
4925 (info-xref-check-buffer): Use info-xref-note-re.
4926
4927 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4930
4931 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4932 nil terminate the loop (bug#14718).
4933
4934 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
4936 * net/eww.el: Rework history traversal. When going forward/back,
4937 put these actions into the history, too, so that they can be
4938 replayed.
4939 (eww-render): Move the history reset to the correct buffer.
4940
4941 2013-06-25 Juri Linkov <juri@jurta.org>
4942
4943 * files-x.el (modify-dir-local-variable): Change the header comment
4944 in the file with directory local variables. (Bug#14692)
4945
4946 * files-x.el (read-file-local-variable-value): Add `default'.
4947 (Bug#14710)
4948
4949 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4950
4951 * net/eww.el (eww-make-unique-file-name): Create a unique file
4952 name before saving to entering `y' accidentally asynchronously.
4953
4954 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4955
4956 * net/eww.el (eww-download): New command and keystroke.
4957
4958 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4959
4960 * net/eww.el (eww-copy-page-url): Change name of command.
4961
4962 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4963 be more consistent with Info and dired.
4964
4965 * net/eww.el (eww-mode-map): Ditto.
4966
4967 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4970 packages from archives.
4971 (package-archive-contents): Change format; include obsolete packages.
4972 (package-desc): Use `dir' to mark builtin packages.
4973 (package--from-builtin): Set the `dir' field to `builtin'.
4974 (generated-autoload-file, version-control): Declare.
4975 (package-compute-transaction): Change first arg and return value to be
4976 lists of package-descs. Adjust to new package-archive-contents format.
4977 (package--add-to-archive-contents): Adjust to new
4978 package-archive-contents format.
4979 (package-download-transaction): Arg is now a list of package-descs.
4980 (package-install): If `pkg' is a package name, pass it as
4981 a requirement, so it is subject to the usual (e.g. disabled) checks.
4982 (describe-package): Accept package-desc as well.
4983 (describe-package-1): Describe a specific package-desc. Add links to
4984 other package-descs for the same package name.
4985 (package-menu-describe-package): Pass the actual package-desc.
4986 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4987 works correctly.
4988 (package-desc-status): New function.
4989 (package-menu--refresh): New function, extracted
4990 from package-menu--generate.
4991 (package-menu--generate): Use it.
4992 (package-delete): Update package-alist.
4993 (package-menu-execute): Don't call package-initialize.
4994
4995 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4996 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4997 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4998 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4999 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5000 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5001
5002 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5003
5004 * window.el (window--state-get-1): Workaround for bug#14527.
5005 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5006
5007 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5008
5009 * net/eww.el (eww-back-url): Implement the history by stashing all
5010 the data into a list.
5011 (eww-forward-url): Allow going forward in the history, too.
5012
5013 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5016 for values and use read--expression for expressions (bug#14710).
5017 (read-file-local-variable): Avoid setq.
5018 (read-file-local-variable-mode): Use minor-mode-list.
5019
5020 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5021
5022 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5023 for DOI URLs.
5024
5025 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5026
5027 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5028 Update imenu-support when dialect changes.
5029
5030 2013-06-25 Leo Liu <sdl.web@gmail.com>
5031
5032 * ido.el (ido-read-internal): Allow forward slash on windows.
5033
5034 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5035
5036 * net/eww.el (eww): Start of strings is \\`, not ^.
5037
5038 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5039
5040 * net/shr.el (shr-browse-url): Fix interactive spec.
5041
5042 * net/eww.el (eww): Add a trailing slash to domain names.
5043
5044 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5045
5046 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5047
5048 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5049
5050 * net/shr.el (shr-browse-url): Use an external browser if given a
5051 prefix.
5052
5053 * net/eww.el (eww-external-browser): Move to shr.
5054
5055 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5056
5057 * net/eww.el (eww): Work more correctly for file: URLs.
5058 (eww-detect-charset): Allow quoted charsets.
5059 (eww-yank-page-url): New command and keystroke.
5060
5061 2013-06-24 Daiki Ueno <ueno@gnu.org>
5062
5063 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5064 file name of gpg executable.
5065 (epg-context-program): New function.
5066 (epg-context-home-directory): New function.
5067 (epg-context-set-program): New function.
5068 (epg-context-set-home-directory): New function.
5069 (epg--start): Use `epg-context-program' instead of
5070 'epg-gpg-program'.
5071 (epg--list-keys-1): Likewise.
5072
5073 2013-06-24 Leo Liu <sdl.web@gmail.com>
5074
5075 * ido.el (ido-read-internal): Fix bug#14620.
5076
5077 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5078
5079 * faces.el (face-documentation): Simplify.
5080 (read-face-attribute, tty-find-type, x-resolve-font-name):
5081 Use `string-match-p'.
5082 (list-faces-display): Use `string-match-p'. Simplify.
5083 (face-spec-recalc): Check face to avoid face alias loops.
5084 (read-color): Use `string-match-p' and non-capturing parenthesis.
5085
5086 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5087
5088 * net/shr.el (shr-rescale-image): Use the new
5089 :max-width/:max-height functionality.
5090
5091 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5092
5093 * net/eww.el (eww-search-prefix): New variable.
5094 (eww): Use it.
5095 (eww-external-browser): New variable.
5096 (eww-mode-map): New keystroke.
5097 (eww-browse-with-external-browser): New command.
5098
5099 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5100
5101 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5102
5103 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5104 Don't skip aligning the next header field when padding is 0;
5105 otherwise, field width is not respected unless the title is as
5106 wide as the field.
5107
5108 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * emacs-lisp/package.el (package-el-version): Remove.
5111 (package-process-define-package): Fix inf-loop.
5112 (package-install): Allow symbols as arguments again.
5113
5114 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5115
5116 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5117 add some more keyword-like methods.
5118 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5119
5120 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * bs.el (bs-buffer-show-mark): Make defvar-local.
5123 (bs-mode): Use setq-local.
5124
5125 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5126 (emacs-lock--try-unlocking): Make defvar-local.
5127
5128 2013-06-22 Glenn Morris <rgm@gnu.org>
5129
5130 * play/cookie1.el (cookie-apropos): Minor simplification.
5131
5132 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5133
5134 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5135
5136 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5137 `regexp-opt', it breaks the build during dumping.
5138
5139 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5140
5141 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5142 Highlight keyword-like methods on Kernel and Module with
5143 font-lock-builtin-face.
5144 (auto-mode-alist): Consolidate different entries into one regexp
5145 and add more *file-s.
5146
5147 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5148
5149 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5150
5151 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5152 (diary-entry): Use it in the action of this button type instead of
5153 diary-goto-entry.
5154
5155 * calendar/todo-mode.el: New version.
5156 (todo-add-category): Append new category to end of file and give
5157 it the highest number, instead of putting it at the beginning and
5158 giving it 0. Incorporate noninteractive functionality.
5159 (todo-forward-category): Adapt to 1-based category numbering.
5160 Allow skipping over archived categories.
5161 (todo-backward-category): Derive from todo-forward-category.
5162 (todo-backward-item, todo-forward-item): Make noninteractive and
5163 delegate interactive part to new commands. Make sensitive to done items.
5164 (todo-categories): Make value an alist of category names and
5165 vectors of item counts.
5166 (todo-category-beg): Make a defconst.
5167 (todo-category-number): Use 1 instead of 0 as initial value.
5168 (todo-category-select): Make sensitive to overlays, optional item
5169 highlighting and done items.
5170 (todo-delete-item): Make sensitive to overlays and marked and done items.
5171 (todo-edit-item): Make sensitive to overlays and editing of
5172 date/time header optional. Add format checks.
5173 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5174 no-op if point is not on an item. Advertise using todo-edit-quit.
5175 (todo-edit-mode): Make sensitive to new format, font-locking, and
5176 multiple todo files.
5177 (todo-insert-item, todo-insert-item-here): Derive from
5178 todo-basic-insert-item and extend functionality.
5179 (todo-item-end, todo-item-start): Make sensitive to done items.
5180 (todo-item-string): Don't return text properties. Restore point.
5181 (todo-jump-to-category): Make sensitive to multiple todo files and
5182 todo archives. Use extended category completion.
5183 (todo-lower-item, todo-raise-item): Rename to *-priority and
5184 derive from todo-set-item-priority.
5185 (todo-mode): Derive from special-mode. Make sensitive to new
5186 format, font-locking and multiple todo files. Make read-only.
5187 (todo-mode-map): Don't suppress digit keys, so they can supply
5188 prefix arguments. Add many new key bindings.
5189 (todo-prefix): Insert as an overlay instead of file text.
5190 Change semantics from diary date expression to purely visual mark.
5191 (todo-print): Rename to todo-print-buffer. Make buffer display
5192 features printable. Remove option to restrict number of items
5193 printed. Add option to print to file.
5194 (todo-print-function): Rename to todo-print-buffer-function.
5195 (todo-quit): Extend to handle exiting new todo modes.
5196 (todo-remove-item): Make sensitive to overlays.
5197 (todo-save): Extend to buffers of filtered items.
5198 (todo-show): Make sensitive to done items, multiple todo files and
5199 new todo modes. Offer to convert legacy todo file before creating
5200 first new todo file.
5201 (todo-show-priorities): Rename to todo-top-priorities.
5202 Change semantics of value 0.
5203 (todo-top-priorities): Rename to todo-filter-top-priorities,
5204 derive from todo-filter-items and extend functionality.
5205 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5206 and extend functionality to other types of filtered items.
5207 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5208 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5209 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5210 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5211 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5212 (todo-edit-mode-hook, todo-entry-prefix-function)
5213 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5214 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5215 (todo-initials, todo-insert-threshold, todo-item-string-start)
5216 (todo-line-string, todo-menu, todo-mode-hook)
5217 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5218 (todo-print-priorities, todo-remove-separator)
5219 (todo-save-top-priorities-too, todo-string-count-lines)
5220 (todo-string-multiline-p, todo-time-string-format)
5221 (todo-tmp-buffer-name): Remove.
5222 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5223 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5224 (todo-edit-category-diary-inclusion)
5225 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5226 (todo-edit-file, todo-edit-item-date-day)
5227 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5228 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5229 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5230 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5231 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5232 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5233 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5234 (todo-filter-top-priorities-multifile, todo-find-archive)
5235 (todo-find-filtered-items-file, todo-go-to-source-item)
5236 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5237 (todo-jump-to-archive-category, todo-lower-category)
5238 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5239 (todo-move-category, todo-move-item, todo-next-button)
5240 (todo-next-item, todo-padded-string, todo-powerset)
5241 (todo-previous-button, todo-previous-item)
5242 (todo-print-buffer-to-file, todo-raise-category)
5243 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5244 (todo-set-category-number, todo-set-item-priority)
5245 (todo-set-top-priorities-in-category)
5246 (todo-set-top-priorities-in-file, todo-show-categories-table)
5247 (todo-sort-categories-alphabetically-or-numerically)
5248 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5249 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5250 (todo-toggle-item-header, todo-toggle-item-highlighting)
5251 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5252 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5253 (todo-unarchive-items, todo-unmark-category): New commands.
5254 (todo-absolute-file-name, todo-add-to-buffer-list)
5255 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5256 (todo-basic-insert-item, todo-category-completions)
5257 (todo-category-number, todo-category-string-matcher-1)
5258 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5259 (todo-check-format, todo-clear-matches)
5260 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5261 (todo-current-category, todo-date-string-matcher)
5262 (todo-define-insertion-command, todo-diary-expired-matcher)
5263 (todo-diary-goto-entry, todo-diary-item-p)
5264 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5265 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5266 (todo-done-item-section-p, todo-done-separator)
5267 (todo-done-string-matcher, todo-files, todo-filter-items)
5268 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5269 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5270 (todo-insert-category-line, todo-insert-item-from-calendar)
5271 (todo-insert-sort-button, todo-insert-with-overlays)
5272 (todo-insertion-command-name, todo-insertion-key-bindings)
5273 (todo-label-to-key, todo-longest-category-name-length)
5274 (todo-make-categories-list, todo-mode-external-set)
5275 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5276 (todo-modes-set-3, todo-multiple-filter-files)
5277 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5278 (todo-read-category, todo-read-date, todo-read-dayname)
5279 (todo-read-file-name, todo-read-time)
5280 (todo-reevaluate-category-completions-files-defcustom)
5281 (todo-reevaluate-default-file-defcustom)
5282 (todo-reevaluate-filelist-defcustoms)
5283 (todo-reevaluate-filter-files-defcustom)
5284 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5285 (todo-reset-done-separator, todo-reset-done-separator-string)
5286 (todo-reset-done-string, todo-reset-global-current-todo-file)
5287 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5288 (todo-reset-prefix, todo-set-categories)
5289 (todo-set-date-from-calendar, todo-set-show-current-file)
5290 (todo-set-top-priorities, todo-short-file-name)
5291 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5292 (todo-total-item-counts, todo-update-buffer-list)
5293 (todo-update-categories-display, todo-update-categories-sexp)
5294 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5295 New functions.
5296 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5297 New major modes.
5298 (todo-categories, todo-display, todo-edit, todo-faces)
5299 (todo-filtered): New defgroups.
5300 (todo-archived-only, todo-button, todo-category-string, todo-date)
5301 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5302 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5303 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5304 (todo-add-item-if-new-category, todo-always-add-time-string)
5305 (todo-categories-align, todo-categories-archived-label)
5306 (todo-categories-category-label, todo-categories-diary-label)
5307 (todo-categories-done-label, todo-categories-number-separator)
5308 (todo-categories-todo-label, todo-categories-totals-label)
5309 (todo-category-completions-files, todo-completion-ignore-case)
5310 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5311 (todo-done-separator-string, todo-done-string)
5312 (todo-files-function, todo-filter-done-items, todo-filter-files)
5313 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5314 (todo-initial-category, todo-initial-file, todo-item-mark)
5315 (todo-legacy-date-time-regexp, todo-mode-line-function)
5316 (todo-nondiary-marker, todo-number-prefix)
5317 (todo-print-buffer-function, todo-show-current-file)
5318 (todo-show-done-only, todo-show-first, todo-show-with-done)
5319 (todo-skip-archived-categories, todo-top-priorities-overrides)
5320 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5321 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5322 New defcustoms.
5323 (todo-category-done, todo-date-pattern, todo-date-string-start)
5324 (todo-diary-items-buffer, todo-done-string-start)
5325 (todo-filtered-items-buffer, todo-item-start)
5326 (todo-month-abbrev-array, todo-month-name-array)
5327 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5328 (todo-top-priorities-buffer): New defconsts.
5329 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5330 (todo-categories-with-marks, todo-category-string-face)
5331 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5332 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5333 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5334 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5335 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5336 (todo-font-lock-keywords, todo-global-current-todo-file)
5337 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5338 (todo-insertion-commands-args)
5339 (todo-insertion-commands-args-genlist)
5340 (todo-insertion-commands-names, todo-insertion-map)
5341 (todo-key-bindings-t, todo-key-bindings-t+a)
5342 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5343 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5344 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5345 (todo-visited): New variables.
5346
5347 2013-06-21 Glenn Morris <rgm@gnu.org>
5348
5349 * play/cookie1.el (cookie-apropos): Add optional display argument.
5350 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5351 (psychoanalyze-pinhead): Use cookie-doctor.
5352
5353 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5354
5355 * emacs-lisp/package.el (tar-get-file-descriptor)
5356 (tar--extract): Declare.
5357
5358 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5359
5360 Extend flymake's warning predicate to be a function (bug#14217).
5361 * progmodes/flymake.el (flymake-warning-predicate): New.
5362 (flymake-parse-line): Use it.
5363 (flymake-warning-re): Make obsolete alias to
5364 `flymake-warning-predicate'.
5365
5366 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5369 (package-obsolete-list): Remove.
5370 (package-activate): Remove min-version argument. Add `force' argument.
5371 Adjust to new package-alist format.
5372 (package-mark-obsolete): Remove.
5373 (package-unpack): Force reload of the package's autoloads.
5374 (package-installed-p): Check builtins if the installed package is not
5375 recent enough.
5376 (package-initialize): Don't reset package-obsolete-list.
5377 Don't specify which package version to activate.
5378 (package-process-define-package, describe-package-1)
5379 (package-menu--generate): Adjust to new package-alist format.
5380
5381 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * allout-widgets.el (allout-widgets-mode-off)
5384 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5385 (allout-widgets-post-command-business)
5386 (allout-widgets-after-copy-or-kill-function)
5387 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5388 (allout-decorate-item-and-context)
5389 (allout-graphics-modification-handler): Fix typos in docstrings.
5390 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5391
5392 * cmuscheme.el (scheme-start-file): Doc fix.
5393 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5394 (scheme-input-filter): Use `string-match-p'.
5395
5396 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5397
5398 * dired-x.el: Use Dired consistently in docstrings.
5399
5400 * dired.el: Use Dired consistently in docstrings.
5401 (dired-readin, dired-mode): Use `setq-local'.
5402 (dired-switches-alist): Make defvar-local.
5403 (dired-buffers-for-dir): Use `zerop'.
5404 (dired-safe-switches-p, dired-switches-escape-p)
5405 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5406 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5407 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5408 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5409 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5410 (dired-toggle-marks, dired-mark-files-containing-regexp)
5411 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5412 (dired-flag-auto-save-files, dired-flag-backup-files):
5413 Use `looking-at-p'.
5414 (dired-mark-files-regexp, dired-build-subdir-alist):
5415 Use `string-match-p', `looking-at-p'.
5416
5417 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5418 (direct-print-region-helper): Use `string-match-p'.
5419
5420 2013-06-21 Leo Liu <sdl.web@gmail.com>
5421
5422 * comint.el (comint-redirect-results-list-from-process):
5423 Fix infinite loop.
5424
5425 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426
5427 * net/eww.el (eww-update-header-line-format): Quote % characters.
5428
5429 2013-06-21 Glenn Morris <rgm@gnu.org>
5430
5431 * play/cookie1.el (cookie): New custom group.
5432 (cookie-file): New option.
5433 (cookie-check-file): New function.
5434 (cookie): Make it interactive. Make start and end messages optional.
5435 Interactively, display the result. Default to cookie-file.
5436 (cookie-insert): Default to cookie-file.
5437 (cookie-snarf): Make start and end messages optional.
5438 Default to cookie-file. Use with-temp-buffer.
5439 (cookie-read): Rename from read-cookie.
5440 Make start and end messages optional. Default to cookie-file.
5441 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5442 Do not autoload it.
5443 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5444 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5445
5446 2013-06-21 Leo Liu <sdl.web@gmail.com>
5447
5448 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5449
5450 2013-06-21 Glenn Morris <rgm@gnu.org>
5451
5452 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5453
5454 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5455 Daniel Hackney <dan@haxney.org>
5456
5457 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5458 Consolidate the single-file vs tarball code.
5459 (package-desc-suffix): New function.
5460 (package-desc-full-name): Don't bother inlining it.
5461 (package-load-descriptor): Return the new package-desc.
5462 (package-mark-obsolete): Remove unused arg `package'.
5463 (package-unpack): Make it work for single files as well.
5464 Make it update package-alist.
5465 (package--make-autoloads-and-stuff): Rename from
5466 package--make-autoloads-and-compile. Don't compile any more.
5467 (package--compile): New function.
5468 (package-generate-description-file): New function, extracted from
5469 package-unpack-single.
5470 (package-unpack-single): Remove.
5471 (package--with-work-buffer): Add indentation and debugging info.
5472 (package-download-single): Remove.
5473 (package-install-from-archive): Rename from package-download-tar, make
5474 it take a pkg-desc, and make it work for single files as well.
5475 (package-download-transaction): Simplify.
5476 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5477 external tar program.
5478 (package-install-from-buffer): Remove `pkg-desc' argument.
5479 Use package-tar-file-info for tar-mode buffers.
5480 (package-install-file): Simplify accordingly.
5481 (package-archive-base): Change to take a pkg-desc.
5482 * tar-mode.el (tar--check-descriptor): New function, extracted from
5483 tar-get-descriptor.
5484 (tar-get-descriptor): Use it.
5485 (tar-get-file-descriptor): New function.
5486 (tar--extract): New function, extracted from tar-extract.
5487 (tar--extract): Use it.
5488 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5489 case the summary uses non-ascii. Adjust to new calling convention of
5490 package-tar-file-info.
5491
5492 2013-06-21 Leo Liu <sdl.web@gmail.com>
5493
5494 * comint.el (comint-redirect-results-list-from-process):
5495 Fix random delay. (Bug#14681)
5496
5497 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5498
5499 * profiler.el (profiler-format-number): Use log, not log10.
5500
5501 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5502
5503 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5504
5505 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5508 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5509 yet available.
5510 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5511 (AUTOGENEL): ... here.
5512 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5513 (cl--defsubst-expand): Use it.
5514
5515 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5516
5517 * subr.el (log10): Move here from C code, and declare as obsolete.
5518 All uses of (log10 X) replaced with (log X 10).
5519
5520 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5523 Declare with `defvar-local'.
5524 (tabulated-list-use-header-line, tabulated-list-entries)
5525 (tabulated-list-padding, tabulated-list-printer)
5526 (tabulated-list-sort-key): Declare with `defvar-local'.
5527 (tabulated-list-init-header, tabulated-list-print-fake-header):
5528 Use `setq-local'.
5529
5530 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5531
5532 * arc-mode.el (archive-mode): Add `archive-write-file' to
5533 `write-contents-functions' also for remote files. (Bug#14652)
5534
5535 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5536
5537 * cus-edit.el (custom-commands): Fix typos.
5538 (custom-display): Fix tooltip text.
5539 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5540 Fix typos in docstrings.
5541 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5542 (custom-unlispify-menu-entry, custom-magic-value-create)
5543 (custom-add-see-also, custom-group-value-create): Use ?\s.
5544 (custom-guess-type, customize-apropos, editable-field)
5545 (custom-face-value-create): Use `string-match-p'.
5546 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5547
5548 * custom.el (custom-load-symbol): Use `string-match-p'.
5549
5550 * ansi-color.el: Convert to lexical binding.
5551 (ansi-colors): Fix URL.
5552 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5553 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5554 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5555
5556 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5557
5558 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5559
5560 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5561
5562 2013-06-19 Tom Tromey <tromey@redhat.com>
5563
5564 * net/eww.el (eww-top-url): Remove.
5565 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5566 (eww-render): Set new variables. Don't set eww-top-url.
5567 (eww-handle-link): Handle "prev", "home", and "contents".
5568 Downcase the rel text.
5569 (eww-top-url): Choose best top URL.
5570
5571 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5572
5573 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5574 relying in widget.el. Using widget.el leads to too many
5575 user interface inconsistencies.
5576 (eww-self-insert): Implement entering commands in text fields.
5577 (eww-process-text-input): New function to make text input field editing
5578 work.
5579 (eww-submit): Rewrite to use the new-style form methods.
5580 (eww-select-display): Display the correct selected item.
5581 (eww-change-select): Implement changing the select value.
5582 (eww-toggle-checkbox): Implement radio/checkboxes.
5583 (eww-update-field): Fix compilation error.
5584 (eww-tag-textarea): Implement <textarea>.
5585
5586 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5587 we don't shadow mode-specific bindings.
5588
5589 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5590 nothing to push.
5591
5592 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5593
5594 2013-06-19 Glenn Morris <rgm@gnu.org>
5595
5596 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5597
5598 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5599
5600 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5601 not needed.
5602
5603 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5604
5605 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5606
5607 * net/browse-url.el (browse-url-browser-function):
5608 `eww-browse-url' has the right calling signature, `eww' does not.
5609
5610 2013-06-19 Glenn Morris <rgm@gnu.org>
5611
5612 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5613 Only eval autoloaded macros.
5614 (byte-compile-autoload): Only give the macro warning for macros.
5615
5616 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5617 (ps-underlined-faces): Declare.
5618
5619 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5620 (speedbar-add-supported-extension): Declare.
5621
5622 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5623 Don't include a date stamp in the header of the generated file;
5624 it leads to needless differences between output files.
5625
5626 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * net/secrets.el (secrets-struct-secret-content-type):
5629 Replace check of introspection data by a test call of "CreateItem".
5630 Some servers do not offer introspection.
5631
5632 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * electric.el (electric-pair-mode): Improve interaction with
5635 electric-layout-mode.
5636 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5637 (electric-pair-syntax): Use text-mode-syntax-table in comments
5638 and strings.
5639 (electric-pair--insert): New function.
5640 (electric-pair-post-self-insert-function): Use it and
5641 electric--after-char-pos.
5642
5643 2013-06-19 Leo Liu <sdl.web@gmail.com>
5644
5645 * progmodes/octave.el (octave-help): Fix regexp.
5646
5647 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5648
5649 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5650 (shr-table-horizontal-line): Allow nil as a value, and change the
5651 default.
5652 (shr-insert-table-ruler): Respect the nil value.
5653
5654 2013-06-18 Tom Tromey <tromey@barimba>
5655
5656 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5657 New defvars.
5658 (eww-open-file): New defun.
5659 (eww-render): Initialize new variables.
5660 (eww-display-html): Handle "link" and "a".
5661 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5662 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5663 (eww-back-url): Rename from eww-previous-url.
5664 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5665 New defuns.
5666
5667 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5668
5669 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5670 Distinguish ternary operator tokens from slash symbol and slash
5671 char literal.
5672
5673 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5674
5675 Convert symbol prettification into minor mode and global minor mode.
5676
5677 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5678 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5679 (prettify-symbols--keywords): Rename from
5680 `prog-prettify-symbols-alist' and make a local defvar.
5681 (prettify-symbols--compose-symbol): Rename from
5682 `prog--prettify-font-lock-compose-symbol'.
5683 (prettify-symbols--make-keywords): Rename from
5684 `prog-prettify-font-lock-symbols-keywords' and simplify.
5685 (prog-prettify-install): Remove.
5686 (prettify-symbols-mode): New minor mode, based on
5687 `prog-prettify-install'.
5688 (turn-on-prettify-symbols-mode): New function.
5689 (global-prettify-symbols-mode): New globalized minor mode.
5690
5691 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5692 * progmodes/cfengine.el (cfengine3-mode):
5693 * progmodes/perl-mode.el (perl-mode): Don't call
5694 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5695
5696 2013-06-18 Juri Linkov <juri@jurta.org>
5697
5698 * files-x.el (modify-file-local-variable-message): New function.
5699 (modify-file-local-variable)
5700 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5701 and call `modify-file-local-variable-message' when it's non-nil.
5702 (add-file-local-variable, delete-file-local-variable)
5703 (add-file-local-variable-prop-line)
5704 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5705 and use it. (Bug#9820)
5706
5707 2013-06-18 Juri Linkov <juri@jurta.org>
5708
5709 * emulation/vi.el (vi-shell-op):
5710 * emulation/vip.el (vip-execute-com, ex-command):
5711 * emulation/viper-cmd.el (viper-exec-bang):
5712 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5713 the call of `shell-command-on-region'. (Bug#14637)
5714
5715 * simple.el (shell-command-on-region): Doc fix.
5716
5717 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5720 (bug#14633).
5721
5722 2013-06-18 Glenn Morris <rgm@gnu.org>
5723
5724 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5725
5726 * newcomment.el (comment-search-forward, comment-search-backward):
5727 Doc fix. (Bug#14376)
5728
5729 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5730
5731 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5732 (buffer-face-mode-invoke): Doc fix.
5733
5734 2013-06-18 Matthias Meulien <orontee@gmail.com>
5735
5736 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5737 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5738
5739 2013-06-18 Glenn Morris <rgm@gnu.org>
5740
5741 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5742 Replace obsolete function generic-make-keywords with its expansion.
5743
5744 * progmodes/python.el (ffap-alist): Declare.
5745
5746 * textmodes/reftex.el (bibtex-mode-map): Declare.
5747
5748 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5751 (package-unpack, package-unpack-single): Return the pkg-dir.
5752 (package-download-transaction): Use it to update package-alist.
5753
5754 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5755
5756 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5757 possible choice.
5758
5759 2013-06-17 Juri Linkov <juri@jurta.org>
5760
5761 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5762
5763 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5764
5765 * emacs-lisp/package.el (package-load-descriptor):
5766 Remove `with-syntax-table' call, `read' doesn't need it.
5767 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5768
5769 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * startup.el (command-line): Expand package name returned by
5772 `package--description-file' (bug#14639).
5773
5774 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5775
5776 * emacs-lisp/package.el (package-load-descriptor): Do not call
5777 `emacs-lisp-mode', just use its syntax table.
5778
5779 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5780
5781 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5782 `font-lock-extra-managed-props' if any prettifying keyword is added.
5783 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5784 (prog-mode): Use `setq-local'.
5785
5786 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * international/characters.el (standard-case-table): Set syntax of ?»
5789 and ?« to punctuation.
5790
5791 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5792
5793 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5794 Save relevant match data before calling `syntax-ppss' (bug#14595).
5795
5796 2013-06-15 Juri Linkov <juri@jurta.org>
5797
5798 * files-x.el (modify-file-local-variable-prop-line): Add local
5799 variables to the end of the existing comment on the first line.
5800 Use `file-auto-mode-skip' to skip interpreter magic line,
5801 and also skip XML declaration.
5802
5803 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * startup.el (package--builtin-versions): New var.
5806 (package-subdirectory-regexp): Remove.
5807 (package--description-file): Hard code its value instead.
5808
5809 * emacs-lisp/package.el: Don't activate packages older than builtin.
5810 (package-obsolete-list): Rename from package-obsolete-alist, and make
5811 it into a simple list of package-desc.
5812 (package-strip-version): Remove.
5813 (package-built-in-p): Use package--builtin-versions.
5814 (package-mark-obsolete): Simplify.
5815 (package-process-define-package): Mark it obsolete if older than the
5816 builtin version.
5817 (package-handle-response): Use line-end-position.
5818 (package-read-archive-contents, package--download-one-archive):
5819 Simplify.
5820 (package--add-to-archive-contents): Skip if older than the builtin or
5821 installed version.
5822 (package-menu-describe-package): Fix last change.
5823 (package-list-unversioned): New var.
5824 (package-menu--generate): Use it.
5825
5826 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5827 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5828 (autoload-builtin-package-versions): New variable.
5829 (autoload-generate-file-autoloads): Use them.
5830 Remove the list of autoloaded functions/macros from the
5831 (autoload...) comments.
5832
5833 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5834
5835 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5836
5837 * simple.el (line-move-partial): Don't jump to the next screen
5838 line as soon as it becomes visible. Instead, continue enlarging
5839 the vscroll until the portion of a tall screen line that's left on
5840 display is about the height of the frame's default font.
5841 (Bug#14567)
5842
5843 2013-06-15 Glenn Morris <rgm@gnu.org>
5844
5845 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5846 compilation-error-regexp-alist void, or local while let-bound.
5847
5848 * progmodes/make-mode.el (makefile-mode-syntax-table):
5849 Treat "=" as punctuation. (Bug#14614)
5850
5851 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5852
5853 * help-fns.el (describe-variable):
5854 Add extra line for permanent-local variables.
5855
5856 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5857
5858 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5859 Add export, import, library. (Bug#9164)
5860 (library): Set indent function.
5861
5862 2013-06-14 Glenn Morris <rgm@gnu.org>
5863
5864 * term/xterm.el (xterm--query):
5865 Stop after first matching handler. (Bug#14615)
5866
5867 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5868
5869 Add support for dired in saveplace.
5870 * dired.el (dired-initial-position-hook): New variable.
5871 (dired-initial-position): Call hook to place cursor position.
5872 * saveplace.el (save-place-to-alist): Add dired position.
5873 (save-place-dired-hook): New function.
5874
5875 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5878 through a symbol rather than letrec.
5879
5880 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5881 (package-desc): Add `dir' field.
5882 (package-desc-full-name): New function.
5883 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5884 (package-maybe-load-descriptor): Remove.
5885 (package-load-all-descriptors): Just call package-load-descriptor.
5886 (package--disabled-p): New function.
5887 (package-desc-vers, package-desc-doc): Remove aliases.
5888 (package--dir): Remove function.
5889 (package-activate): Check if a package is disabled.
5890 (package-process-define-package): New function, extracted from
5891 define-package.
5892 (define-package): Turn into a place holder.
5893 (package-unpack-single, package-tar-file-info):
5894 Use package--description-file.
5895 (package-compute-transaction): Use package--disabled-p.
5896 (package-download-transaction): Don't call
5897 package-maybe-load-descriptor since they're all loaded anyway.
5898 (package-install): Change argument to be a pkg-desc.
5899 (package-delete): Use a single pkg-desc argument.
5900 (describe-package-1): Use package-desc-dir instead of package--dir.
5901 Use package-desc property instead of package-symbol.
5902 (package-install-button-action): Adjust accordingly.
5903 (package--push): Rewrite.
5904 (package-menu--print-info): Adjust accordingly. Change the ID format
5905 to be a pkg-desc.
5906 (package-menu-describe-package, package-menu-get-status)
5907 (package-menu--find-upgrades, package-menu-mark-upgrades)
5908 (package-menu-execute, package-menu--name-predicate):
5909 Adjust accordingly.
5910 * startup.el (package--description-file): New function.
5911 (command-line): Use it.
5912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5913 Use package-desc-version.
5914
5915 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5916 (byte-compile-preprocess): Use it.
5917 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5918 can't quite recognize.
5919 (byte-compile-add-to-list): Remove.
5920 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5921 (cconv-closure-convert): Add assertion.
5922
5923 * emacs-lisp/map-ynp.el: Use lexical-binding.
5924 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5925 Factor out some repeated code.
5926
5927 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * subr.el (with-eval-after-load): New macro.
5930 (eval-after-load): Allow form to be a function.
5931 take advantage of lexical-binding.
5932 (do-after-load-evaluation): Use dolist and adjust to new format.
5933 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5934
5935 2013-06-13 Juri Linkov <juri@jurta.org>
5936
5937 * replace.el (perform-replace): Display "symbol " and other search
5938 modes from `isearch-message-prefix' in the *Help* buffer.
5939
5940 * isearch.el (isearch-query-replace): Add " symbol" and other
5941 possible search modes from `isearch-message-prefix' to the prompt.
5942 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5943 when reading a regexp to collect.
5944
5945 2013-06-13 Juri Linkov <juri@jurta.org>
5946
5947 * isearch.el (word-search-regexp): Match whitespace if the search
5948 string begins or ends in whitespace. The LAX arg is applied to
5949 both ends of the search string. Use `regexp-quote' and explicit
5950 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5951 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5952 boundaries are replaced with symbol boundaries, and characters
5953 between symbols match non-word non-symbol syntax. (Bug#14602)
5954
5955 2013-06-13 Juri Linkov <juri@jurta.org>
5956
5957 * isearch.el (isearch-del-char): Don't exceed the length of
5958 `isearch-string' by the prefix arg. (Bug#14563)
5959
5960 2013-06-13 Juri Linkov <juri@jurta.org>
5961
5962 * isearch.el (isearch-yank-word, isearch-yank-line)
5963 (isearch-char-by-name, isearch-quote-char)
5964 (isearch-printing-char, isearch-process-search-char):
5965 Add optional count prefix arg. (Bug#14563)
5966
5967 * international/isearch-x.el
5968 (isearch-process-search-multibyte-characters):
5969 Add optional count prefix arg.
5970
5971 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5974 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5975 lexical-binding.
5976
5977 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5978
5979 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5980
5981 2013-06-13 Glenn Morris <rgm@gnu.org>
5982
5983 * startup.el (tty-handle-args):
5984 Don't just discard "--" and anything after. (Bug#14608)
5985
5986 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5987
5988 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5989
5990 Implement changes in Secret Service API. Make it backward compatible.
5991 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5992 (secrets-create-item): Use it. Prefix properties with interface.
5993
5994 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5995
5996 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5997 (term-emulate-terminal): Respect term-suppress-hard-newline.
5998
5999 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6000
6001 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6002 Only remove a `thumb-file' overlay. (Bug#14548)
6003
6004 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6005
6006 * mail/reporter.el (reporter-submit-bug-report):
6007 Handle missing package-name. (Bug#14600)
6008
6009 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6010
6011 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6012 (reftex-citation-prompt, reftex-default-bibliography)
6013 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6014 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6015 (reftex-bib-sort-author, reftex-bib-sort-year)
6016 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6017 (reftex-extract-bib-entries-from-thebibliography)
6018 (reftex-get-bibkey-default, reftex-get-bib-names)
6019 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6020 (reftex-format-bib-entry, reftex-parse-bibitem)
6021 (reftex-format-bibitem, reftex-do-citation)
6022 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6023 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6024 (reftex-insert-bib-matches, reftex-format-citation)
6025 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6026 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6027 existing comments into docstrings.
6028
6029 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6030
6031 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6032
6033 2013-06-12 Andreas Schwab <schwab@suse.de>
6034
6035 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6036 for auto-save files.
6037
6038 2013-06-12 Glenn Morris <rgm@gnu.org>
6039
6040 * ido.el (ido-delete-ignored-files): Remove.
6041 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6042 Go back to calling ido-ignore-item-p directly.
6043
6044 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6045
6046 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6047
6048 * ido.el (ido-delete-ignored-files): New function,
6049 split from ido-make-file-list-1.
6050 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6051 (ido-make-file-list-1): Use ido-delete-ignored-files.
6052
6053 2013-06-12 Leo Liu <sdl.web@gmail.com>
6054
6055 * progmodes/octave.el (inferior-octave-startup)
6056 (inferior-octave-completion-table)
6057 (inferior-octave-track-window-width-change)
6058 (octave-eldoc-function-signatures, octave-help)
6059 (octave-find-definition): Use single quoted strings.
6060 (inferior-octave-startup-args): Change default value.
6061 (inferior-octave-startup): Do not hard code "-i" and
6062 "--no-line-editing".
6063 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6064 (inferior-octave-directory-tracker): Use it.
6065 (octave-goto-function-definition): Robustify.
6066 (octave-help): Support highlighting operators in 'See also'.
6067 (octave-find-definition): Find subfunctions only in Octave mode.
6068
6069 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * help-fns.el (help-fns--compiler-macro): If the handler function is
6072 named, then put a link to it.
6073 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6074 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6075 (cl-typep): Use it.
6076 (cl-eval-when): Simplify debug spec.
6077 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6078 compiler-macro function instead of setting `compiler-macro-file'.
6079
6080 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6081
6082 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6083 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6084
6085 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6086 Daniel Hackney <dan@haxney.org>
6087
6088 First part of Daniel Hackney's patch to package.el.
6089 * emacs-lisp/package.el: Use defstruct.
6090 (package-desc): New, main struct.
6091 (package--bi-desc, package--ac-desc): New structs, used to describe the
6092 format in external files.
6093 (package-desc-vers): Replace with package-desc-version accessor.
6094 (package-desc-doc): Replace with package-desc-summary accessor.
6095 (package-activate-1): Remove `package' arg since the pkg-vec now
6096 includes the name.
6097 (define-package): Use package-desc-from-define.
6098 (package-unpack-single): Change file-name arg to be a symbol.
6099 (package--add-to-archive-contents): Use package-desc-create and new
6100 accessor functions to package--ac-desc.
6101 (package-buffer-info, package-tar-file-info): Return a package-desc.
6102 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6103 arg to be a package-desc.
6104 (package-install-file): Adjust accordingly. Use \' to match EOS.
6105 (package--from-builtin): New function.
6106 (describe-package-1, package-menu--generate): Use it.
6107 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6108 (package-generate-autoloads): Idem and return the name of the file.
6109 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6110 Change pkg-info arg to be a package-desc.
6111 Use package-make-ac-desc.
6112 (package-upload-file): Use \' to match EOS.
6113 * finder.el (finder-compile-keywords): Use package-make-builtin.
6114
6115 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * vc/vc.el (vc-deduce-fileset): Change error message.
6118 (vc-read-backend): New function.
6119 (vc-next-action): Use it.
6120
6121 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6122
6123 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6124 (prolog-font-lock-keywords): Use regexp-opt instead.
6125 Don't manually highlight strings.
6126 (prolog-mode-variables): Simplify comment-start-skip.
6127 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6128
6129 * emacs-lisp/generic.el (generic--normalise-comments)
6130 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6131 (generic-mode-set-comments): Use them.
6132 (generic-bracket-support): Use setq-local.
6133 (generic-make-keywords-list): Declare obsolete.
6134
6135 2013-06-11 Glenn Morris <rgm@gnu.org>
6136
6137 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6138 Prettify after setting font-lock-defaults. (Bug#14574)
6139
6140 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6141
6142 * replace.el (query-replace, occur-read-regexp-defaults-function)
6143 (replace-search):
6144 * subr.el (declare-function, number-sequence, local-set-key)
6145 (substitute-key-definition, locate-user-emacs-file)
6146 (with-silent-modifications, split-string, eval-after-load):
6147 Fix typos, remove unneeded backslashes and reflow some docstrings.
6148
6149 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6152 default for Elisp files.
6153
6154 2013-06-11 Glenn Morris <rgm@gnu.org>
6155
6156 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6157 although define-derived-mode was doing this anyway. (Bug#14583)
6158
6159 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6162 Fix make-variable-buffer-local call to refer to the correct variable.
6163
6164 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6165
6166 * eshell/em-term.el (eshell-visual-commands)
6167 (eshell-visual-subcommands, eshell-visual-options):
6168 Add summary line to docstrings. Add cross-references.
6169
6170 2013-06-10 Glenn Morris <rgm@gnu.org>
6171
6172 * epa.el (epa-read-file-name): New function. (Bug#14510)
6173 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6174
6175 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6176
6177 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6178 output redirection to be ignored with visual commands.
6179
6180 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6181
6182 * eshell/em-term.el (eshell-visual-command-p): New function.
6183 (eshell-term-initialize): Move long lambda to separate function
6184 eshell-visual-command-p.
6185 * eshell/em-dirs.el (eshell-dirs-initialise):
6186 * eshell/em-script.el (eshell-script-initialize):
6187 Add missing #' to lambda.
6188
6189 2013-06-08 Leo Liu <sdl.web@gmail.com>
6190
6191 * progmodes/octave.el (octave-add-log-current-defun): New function.
6192 (octave-mode): Set add-log-current-defun-function.
6193 (octave-goto-function-definition): Do not move point if not found.
6194 (octave-find-definition): Enhance to try subfunctions first.
6195
6196 2013-06-08 Glenn Morris <rgm@gnu.org>
6197
6198 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6199 (byte-compile-backward-char, byte-compile-backward-word):
6200 Improve previous change, to handle non-explicit nil.
6201
6202 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6205 (smie--opener/closer-at-point): New function.
6206 (smie--matching-block-data): Use it. Don't match from right after an
6207 opener or right before a closer. Obey smie-blink-matching-inners.
6208 Don't signal a mismatch for repeated inners like "switch..case..case".
6209
6210 2013-06-07 Leo Liu <sdl.web@gmail.com>
6211
6212 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6213 to t. (Bug#14303)
6214 (octave-function-header-regexp): Fix. (Bug#14570)
6215 (octave-help-mode-finish-hook, octave-help-mode-finish):
6216 Remove. Just use temp-buffer-show-hook.
6217
6218 * newcomment.el (comment-search-backward): Revert last change.
6219 (Bug#14434)
6220
6221 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6222
6223 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6224
6225 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6226 through xargs, to avoid failure due to MS-Windows limitations on
6227 command-line length.
6228
6229 2013-06-06 Glenn Morris <rgm@gnu.org>
6230
6231 * font-lock.el (lisp-font-lock-keywords-2):
6232 Treat user-error like error.
6233
6234 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6235 (byte-compile-backward-char, byte-compile-backward-word):
6236 Handle explicit nil arguments. (Bug#14565)
6237
6238 2013-06-05 Alan Mackenzie <acm@muc.de>
6239
6240 * isearch.el (isearch-allow-prefix): New user option.
6241 (isearch-other-meta-char): Don't exit isearch when a prefix
6242 argument is typed whilst `isearch-allow-prefix' is non-nil.
6243 (Bug#9706)
6244
6245 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * autorevert.el (auto-revert-notify-handler): Use memq.
6248 Hide assertion failure.
6249
6250 * skeleton.el: Use cl-lib.
6251 (skeleton-further-elements): Use defvar-local.
6252 (skeleton-insert): Use cl-progv.
6253
6254 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6255
6256 * progmodes/prog-mode.el (prog-prettify-symbols)
6257 (prog-prettify-install): Update docstrings.
6258
6259 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * simple.el: Move all the prog-mode code to prog-mode.el.
6262 * progmodes/prog-mode.el: New file.
6263 * loadup.el: Add prog-mode.el.
6264
6265 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6266
6267 * simple.el (prog-prettify-symbols): Add version.
6268 (prog-prettify-install): Add convenience function to prettify symbols.
6269
6270 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6271 (perl--augmented-font-lock-keywords-1)
6272 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6273 variables and use it.
6274
6275 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6276 (cfengine3-mode): Remove unneeded variable and use it.
6277
6278 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6279 (lisp--augmented-font-lock-keywords-1)
6280 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6281 Remove unneeded variables and use it.
6282
6283 2013-06-05 João Távora <joaotavora@gmail.com>
6284
6285 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6286 to point when opening the connection. (Bug#14380)
6287
6288 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * subr.el (load-history-regexp, load-history-filename-element)
6291 (eval-after-load, after-load-functions, do-after-load-evaluation)
6292 (eval-next-after-load, display-delayed-warnings)
6293 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6294 definition of save-match-data.
6295 (overriding-local-map): Remove accidental obsolescence declaration.
6296
6297 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6298
6299 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6300
6301 Generalize symbol prettify support to prog-mode and implement it
6302 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6303 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6304 (prog--prettify-font-lock-compose-symbol)
6305 (prog-prettify-font-lock-symbols-keywords): New variables and
6306 functions to support symbol prettification.
6307 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6308 (lisp--augmented-font-lock-keywords-1)
6309 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6310 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6311 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6312 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6313 Implement prettify of -> => :: strings.
6314 * progmodes/perl-mode.el (perl-prettify-symbols)
6315 (perl--font-lock-compose-symbol)
6316 (perl--font-lock-symbols-keywords): Move to prog-mode.
6317 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6318 (perl-font-lock-keywords-1)
6319 (perl-font-lock-keywords-2): Remove explicit prettify support.
6320 (perl--augmented-font-lock-keywords)
6321 (perl--augmented-font-lock-keywords-1)
6322 (perl--augmented-font-lock-keywords-2, perl-mode):
6323 Implement prettify support.
6324
6325 2013-06-05 Leo Liu <sdl.web@gmail.com>
6326
6327 Re-implement smie matching block highlight using
6328 show-paren-data-function. (Bug#14395)
6329 * emacs-lisp/smie.el (smie-matching-block-highlight)
6330 (smie--highlight-matching-block-overlay)
6331 (smie--highlight-matching-block-lastpos)
6332 (smie-highlight-matching-block)
6333 (smie-highlight-matching-block-mode): Remove.
6334 (smie--matching-block-data-cache): New variable.
6335 (smie--matching-block-data): New function.
6336 (smie-setup): Use smie--matching-block-data for
6337 show-paren-data-function.
6338
6339 * progmodes/octave.el (octave-mode-menu): Fix.
6340 (octave-find-definition): Skip garbage lines.
6341
6342 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 Fix compilation error with simultaneous dynamic+lexical scoping.
6345 Add warning when a defvar appears after the first let-binding.
6346 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6347 (byte-compile-close-variables): Initialize it.
6348 (byte-compile--declare-var): New function.
6349 (byte-compile-file-form-defvar)
6350 (byte-compile-file-form-define-abbrev-table)
6351 (byte-compile-file-form-custom-declare-variable): Use it.
6352 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6353 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6354 (byte-compile-bind): Handle dynamic bindings that shadow
6355 lexical bindings.
6356 (byte-compile-unbind): Make arg non-optional.
6357 (byte-compile-let): Simplify.
6358 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6359 (cconv--analyse-function, cconv-analyse-form): Populate it.
6360 Protect byte-compile-bound-variables to limit the scope of defvars.
6361 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6362 Remove unneeded rule for `declare'.
6363
6364 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6365 so as to avoid depending on cl-adjoin at run-time.
6366 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6367
6368 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6369 (macroexp--warn-and-return): Use it.
6370
6371 2013-06-05 Leo Liu <sdl.web@gmail.com>
6372
6373 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6374
6375 2013-06-04 Leo Liu <sdl.web@gmail.com>
6376
6377 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6378 (compilation-auto-jump): Suppress the "Mark set" message to give
6379 way to exit message.
6380
6381 2013-06-04 Alan Mackenzie <acm@muc.de>
6382
6383 Remove faulty optimisation from indentation calculation.
6384 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6385 search limit based on 2000 characters back from indent-point.
6386
6387 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6388
6389 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6390
6391 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/lisp.el: Use lexical-binding.
6394 (lisp--local-variables-1, lisp--local-variables): New functions.
6395 (lisp--local-variables-completion-table): New var.
6396 (lisp-completion-at-point): Use it complete let-bound vars.
6397
6398 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6399 eagerly (bug#14422).
6400
6401 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6402
6403 * autorevert.el (auto-revert-notify-enabled)
6404 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6405 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6406 (auto-revert-notify-handler): Handle also gfilenotify.
6407
6408 * subr.el (file-notify-handle-event): New defun. Replacing ...
6409 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6410 Remove.
6411
6412 2013-06-03 Juri Linkov <juri@jurta.org>
6413
6414 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6415 `M-s h .'. (Bug#14427)
6416
6417 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6418 command `hi-lock-face-symbol-at-point'.
6419 (hi-lock-face-symbol-at-point): New command.
6420 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6421 (hi-lock-menu): Add `highlight-symbol-at-point'.
6422 (hi-lock-mode): Doc fix.
6423
6424 * isearch.el (isearch-forward-symbol-at-point): New command.
6425 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6426 (isearch-highlight-regexp): Add a regexp which matches
6427 words/symbols for word/symbol mode.
6428
6429 * subr.el (find-tag-default-bounds): New function with the body
6430 mostly moved from `find-tag-default'.
6431 (find-tag-default): Move most code to `find-tag-default-bounds',
6432 call it and apply `buffer-substring-no-properties' afterwards.
6433
6434 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6435
6436 * eshell/em-term.el (eshell-term-initialize):
6437 Use `cl-intersection' rather than `intersection'.
6438
6439 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6440
6441 * vc/log-view.el: Doc fix.
6442 (log-view-mode-map): Copy keymap from `special-mode-map'.
6443
6444 2013-06-02 Eric Ludlam <zappo@gnu.org>
6445
6446 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6447 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6448 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6449 (eieio-unbound, eieio-default-superclass)
6450 (eieio--define-field-accessors, method-static, method-before)
6451 (method-primary, method-after, method-num-lists)
6452 (method-generic-before, method-generic-primary)
6453 (method-generic-after, method-num-slots)
6454 (eieio-specialized-key-to-generic-key)
6455 (eieio--check-type, class-v, class-p)
6456 (eieio-class-name, define-obsolete-function-alias)
6457 (eieio-class-parents-fast, eieio-class-children-fast)
6458 (same-class-fast-p, class-constructor, generic-p)
6459 (generic-primary-only-p, generic-primary-only-one-p)
6460 (class-option-assoc, class-option, eieio-object-p)
6461 (class-abstract-p, class-method-invocation-order)
6462 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6463 (eieio-class-un-autoload, eieio-defclass)
6464 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6465 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6466 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6467 (eieio-defgeneric-reset-generic-form)
6468 (eieio-defgeneric-form-primary-only)
6469 (eieio-defgeneric-reset-generic-form-primary-only)
6470 (eieio-defgeneric-form-primary-only-one)
6471 (eieio-defgeneric-reset-generic-form-primary-only-one)
6472 (eieio-unbind-method-implementations)
6473 (eieio--defmethod, eieio--typep)
6474 (eieio-perform-slot-validation, eieio-validate-slot-value)
6475 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6476 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6477 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6478 (eieio-slot-name-index, eieio-class-slot-name-index)
6479 (eieio-set-defaults, eieio-initarg-to-attribute)
6480 (eieio-attribute-to-initarg, eieio-c3-candidate)
6481 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6482 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6483 (eieio-class-precedence-list, eieio-generic-call-methodname)
6484 (eieio-generic-call-arglst, eieio-generic-call-key)
6485 (eieio-generic-call-next-method-list)
6486 (eieio-pre-method-execution-functions, eieio-generic-call)
6487 (eieio-generic-call-primary-only, eieiomt-method-list)
6488 (eieiomt-optimizing-obarray, eieiomt-install)
6489 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6490 (eieio-generic-form, eieio-defmethod, make-obsolete)
6491 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6492 (defclass): Remove `eval-and-compile' from macro.
6493 (call-next-method, shared-initialize): Instead of using
6494 `scoped-class' variable, use new eieio--scoped-class, and
6495 eieio--with-scoped-class.
6496 (initialize-instance): Rename local variable 'scoped-class' to
6497 'this-class' to remove ambiguitity from old global.
6498
6499 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6500 eieio.el.
6501 (eieio--scoped-class-stack): New variable.
6502 (eieio--scoped-class): New fcn.
6503 (eieio--with-scoped-class): New scoping macro.
6504 (eieio-defclass): Use pushnew instead of add-to-list.
6505 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6506 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6507 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6508 `scoped-class' variable, use new eieio--scoped-class, and
6509 eieio--with-scoped-class.
6510
6511 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6512
6513 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6514
6515 * eshell/esh-ext.el (eshell-external-command): Pass args to
6516 `eshell-find-interpreter'.
6517 (eshell-find-interpreter): Add new second parameter ARGS.
6518
6519 * eshell/em-script.el (eshell-script-initialize): Add second arg
6520 to the function added as MATCH to `eshell-interpreter-alist'.
6521
6522 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6523 the function added as MATCH to `eshell-interpreter-alist'.
6524
6525 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6526 (eshell-visual-options): New defcustom.
6527 (eshell-escape-control-x): Adapt docstring.
6528 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6529 `eshell-visual-options' in addition to `eshell-visual-commands'.
6530 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6531
6532 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6533
6534 * progmodes/python.el (python-indent-block-enders): Add break,
6535 continue and raise keywords.
6536
6537 2013-06-01 Glenn Morris <rgm@gnu.org>
6538
6539 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6540
6541 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6542 * progmodes/cc-cmds.el (delete-forward-p):
6543 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6544 * progmodes/cc-engine.el (buffer-syntactic-context):
6545 * progmodes/cc-fonts.el (face-property-instance):
6546 * progmodes/cc-mode.el (set-keymap-parents):
6547 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6548 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6549 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6550 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6551 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6552
6553 * progmodes/cc-vars.el (other): Emacs has this widget since
6554 at least 21.1, so don't (re)define it.
6555
6556 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6557 Replace the obsolete alias pcomplete-arg-quote-list.
6558
6559 2013-06-01 Leo Liu <sdl.web@gmail.com>
6560
6561 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6562 punctuation syntax.
6563 (inferior-octave-minimal-columns)
6564 (inferior-octave-last-column-width): New variables.
6565 (inferior-octave-track-window-width-change): New function.
6566 (inferior-octave-mode): Adjust column width so that Octave output,
6567 for example from 'ls', can fit into the window nicely.
6568
6569 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6570
6571 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6572 Highlight expansions inside regexp literals.
6573
6574 2013-05-31 Glenn Morris <rgm@gnu.org>
6575
6576 * obsolete/sym-comp.el (symbol-complete):
6577 Replace obsolete completion-annotate-function.
6578
6579 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6580
6581 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6582
6583 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6584 New function, checks if point is inside a literal that allows
6585 expression expansion.
6586 (ruby-syntax-propertize-expansion): Use it.
6587 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6588 around the body.
6589
6590 2013-05-30 Juri Linkov <juri@jurta.org>
6591
6592 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6593 to "\M-si".
6594 (isearch-invisible): New variable.
6595 (isearch-forward): Doc fix.
6596 (isearch-mode): Set `isearch-invisible'
6597 to the value of `search-invisible'.
6598 (isearch-toggle-case-fold): Doc fix.
6599 (isearch-toggle-invisible): New command.
6600 (isearch-query-replace): Let-bind `search-invisible'
6601 to the value of `isearch-invisible'.
6602 (isearch-search): Use `isearch-invisible' instead of
6603 `search-invisible'. Let-bind `search-invisible'
6604 to the value of `isearch-invisible'. (Bug#11378)
6605
6606 2013-05-30 Juri Linkov <juri@jurta.org>
6607
6608 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6609 call when `query-flag' is nil and `search-invisible' is non-nil.
6610 (Bug#11746)
6611
6612 2013-05-30 Glenn Morris <rgm@gnu.org>
6613
6614 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6615
6616 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6617 (cc-require): Suppress spurious "noruntime" warnings.
6618 (cc-require-when-compile): Use fboundp, for sake of compiler.
6619
6620 * progmodes/cc-mode.el: Move load of cc-vars before that of
6621 cc-langs (which in turn loads cc-vars), to quieten compiler.
6622
6623 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * paren.el: Simplify the code.
6626 (show-paren-mode): Always start the timer.
6627 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6628 (show-paren--overlay, show-paren--overlay-1): Rename from
6629 show-paren-overlay and show-paren-overlay-1, and initialize to an
6630 overlay rather than to nil.
6631 (show-paren-function): Misc cleanup and simplifications.
6632
6633 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * paren.el (show-paren-data-function): New hook.
6636 (show-paren--default): New function, extracted from show-paren-function.
6637 (show-paren-function): Use show-paren-data-function.
6638
6639 2013-05-30 Glenn Morris <rgm@gnu.org>
6640
6641 * ielm.el (ielm-map, ielm-complete-symbol):
6642 Use completion-at-point rather than obsolete functions.
6643 (inferior-emacs-lisp-mode): Doc fix.
6644 Set completion-at-point-functions, rather than
6645 comint-dynamic-complete-functions.
6646
6647 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6648 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6649 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6650
6651 * image.el (image-animated-p): Tweak definition.
6652
6653 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6654 (rlogin-process-connection-type): Tweak default. Add set-after.
6655 (rlogin-host): Doc fix.
6656 (rlogin): Tweak prompt.
6657 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6658
6659 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6660 * progmodes/tcl.el (inferior-tcl-mode-map):
6661 Use completion-at-point rather than obsolete alias.
6662
6663 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6664
6665 * minibuffer.el (read-file-name-completion-ignore-case):
6666 Move before completion--in-region, for eager macro expansion.
6667
6668 2013-05-29 Juri Linkov <juri@jurta.org>
6669
6670 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6671 for total count of matching lines. Add `global-matches' for total
6672 count of matches. Rename `matches' to `lines' for count of
6673 matching lines. Add `matches' for count of matches.
6674 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6675 to `prev-line' for line number of prev match endpt.
6676 Increment `matches' for every match. Print the number of
6677 matching lines in the header.
6678 (occur-context-lines): Rename `lines' to `curr-line'.
6679 Rename `prev-lines' to `prev-line'. (Bug#14017)
6680
6681 2013-05-29 Juri Linkov <juri@jurta.org>
6682
6683 * replace.el (perform-replace): Add `skip-read-only-count',
6684 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6685 Increment them for corresponding conditions and report the number
6686 of skipped occurrences in the final message. (Bug#11746)
6687 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6688 (replace-string, replace-regexp): Doc fix.
6689
6690 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6693
6694 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6695 prog-mode-map (bug#14504).
6696
6697 2013-05-29 Leo Liu <sdl.web@gmail.com>
6698
6699 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6700 (octave-help): Small simplification.
6701
6702 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6703 off the highlight first.
6704
6705 2013-05-29 Glenn Morris <rgm@gnu.org>
6706
6707 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6708 Handle idlwave-last-system-routine-info-cons-cell being nil.
6709
6710 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6711 (idlwave-write-paths): Simplify via with-temp-buffer.
6712
6713 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6714 * emulation/cua-rect.el: Also load cua-base at run time.
6715
6716 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6717 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6718 (cperl-imenu-on-info): Require imenu.
6719
6720 2013-05-28 Alan Mackenzie <acm@muc.de>
6721
6722 Handle "capitalised keywords" correctly.
6723 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6724
6725 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6726
6727 * eshell/em-unix.el: Add -r option to cp.
6728
6729 2013-05-28 Glenn Morris <rgm@gnu.org>
6730
6731 * vc/vc-arch.el (vc-exec-after): Declare.
6732 (vc-switches): Autoload.
6733 * vc/vc-bzr.el: No need to require vc when compiling.
6734 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6735 (vc-resynch-buffer, vc-dir-refresh): Declare.
6736 (vc-setup-buffer, vc-switches): Autoload.
6737 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6738 (vc-resynch-buffer): Declare.
6739 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6740 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6741 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6742 (grep-read-regexp, grep-read-files, grep-expand-template)
6743 (vc-dir-refresh): Declare.
6744 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6745 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6746 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6747 * vc/vc-mtn.el (vc-exec-after): Declare.
6748 (vc-switches): Autoload.
6749 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6750 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6751 (vc-file-tree-walk): Declare.
6752 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6753 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6754 (vc-tag-precondition, vc-rename-master): Autoload.
6755 * vc/vc-svn.el (vc-exec-after): Declare.
6756 (vc-switches, vc-setup-buffer): Autoload.
6757 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6758 Autoload.
6759 (vc-resynch-buffer): Declare.
6760
6761 * obsolete/fast-lock.el (byte-compile-warnings):
6762 Don't warn about obsolete features in this obsolete file.
6763
6764 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6765 Move definition before use.
6766
6767 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6768 (dun-unix-verbs): Remove dun-zippy.
6769 (dun-zippy): Remove function.
6770
6771 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6772
6773 2013-05-27 Juri Linkov <juri@jurta.org>
6774
6775 * replace.el (replace-search): New function with code moved out
6776 from `perform-replace'.
6777 (replace-highlight, replace-dehighlight): Move function definitions
6778 up closer to `replace-search'. (Bug#11746)
6779
6780 2013-05-27 Juri Linkov <juri@jurta.org>
6781
6782 * replace.el (perform-replace): Ignore invisible matches.
6783 In addition to checking `query-replace-skip-read-only', also
6784 filter out matches by calling `run-hook-with-args-until-failure'
6785 on `isearch-filter-predicates', and also check `search-invisible'
6786 for t or call `isearch-range-invisible'.
6787 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6788
6789 2013-05-27 Juri Linkov <juri@jurta.org>
6790
6791 * isearch.el (isearch-filter-predicates): Rename from
6792 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6793 (isearch-message-prefix): Display text from the property
6794 `isearch-message-prefix' of the currently active filters.
6795 (isearch-search): Don't compare `isearch-filter-predicate' with
6796 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6797 on `isearch-filter-predicates'. Also check `search-invisible' for t
6798 or call `isearch-range-invisible'.
6799 (isearch-filter-visible): Make obsolete.
6800 (isearch-lazy-highlight-search):
6801 Call `run-hook-with-args-until-failure' on
6802 `isearch-filter-predicates' and use `isearch-range-invisible'.
6803
6804 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6805 `isearch-filter-predicates' instead of `funcall'ing
6806 `isearch-filter-predicate'.
6807 (Info-mode): Set `Info-isearch-filter' to
6808 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6809
6810 * dired-aux.el (dired-isearch-filter-predicate-orig):
6811 Remove variable.
6812 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6813 (dired-isearch-filenames-end): Add and remove
6814 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6815 instead of changing the value of `isearch-filter-predicate'.
6816 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6817 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6818 Put property `isearch-message-prefix' to "filename " on
6819 `dired-isearch-filter-filenames'.
6820
6821 * wdired.el (wdired-change-to-wdired-mode):
6822 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6823 locally instead of changing `isearch-filter-predicate'.
6824 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6825
6826 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6827
6828 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6829 return the commit hash (Bug#14459). Also set the
6830 `vc-git-detached' property.
6831 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6832 (vc-git-mode-line-string): Use the same help-echo format whether
6833 in detached mode or not, because we know the actual revision now.
6834 When in detached mode, shorten the revision to 7 chars.
6835
6836 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * emacs-lisp/easy-mmode.el (define-minor-mode):
6839 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6840 mode hook and provide a docstring.
6841
6842 2013-05-27 Alan Mackenzie <acm@muc.de>
6843
6844 Remove spurious syntax-table text properties inserted by C-y.
6845 * progmodes/cc-mode.el (c-after-change): Also clear hard
6846 syntax-table property with value nil.
6847
6848 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6849
6850 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6851 when reading the events; the buffer layout shall not be changed.
6852
6853 2013-05-27 Leo Liu <sdl.web@gmail.com>
6854
6855 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6856 New variable.
6857 (inferior-octave-directory-tracker): Automatically re-sync
6858 default-directory.
6859 (octave-help): Improve handling of 'See also'.
6860
6861 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * doc-view.el: Minor naming convention tweaks.
6864 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6865
6866 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6867 even if there's no `display' property yet (bug#14435).
6868
6869 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6870
6871 * subr.el (unmsys--file-name): Rename from reveal-filename.
6872
6873 * Makefile.in (custom-deps, finder-data, autoloads)
6874 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6875 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6876 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6877
6878 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6881 error-completion on the first 2 args of condition-case (bug#14446).
6882 Don't burp at EOB.
6883
6884 2013-05-25 Leo Liu <sdl.web@gmail.com>
6885
6886 * comint.el (comint-previous-matching-input): Do not flood the
6887 *Messages* buffer with trivial messages.
6888
6889 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * progmodes/flymake.el (flymake-nop): Don't return a string.
6892 (flymake-set-at): Fix typo.
6893
6894 * simple.el (read--expression): New function, extracted from
6895 eval-expression. Set completion-at-point-functions (bug#14465).
6896 (eval-expression, eval-minibuffer): Use it.
6897
6898 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6899
6900 * progmodes/flymake.el (flymake-save-buffer-in-file)
6901 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6902 (flymake-selected-frame, flymake-log, flymake-ins-after)
6903 (flymake-set-at, flymake-get-buildfile-from-cache)
6904 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6905 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6906 Refine the doc string.
6907 (flymake-get-file-name-mode-and-masks): Reformat.
6908 (flymake-get-real-file-name-function): Fix a minor bug.
6909
6910 2013-05-24 Juri Linkov <juri@jurta.org>
6911
6912 * progmodes/grep.el (grep-mode-font-lock-keywords):
6913 Support =linenumber= format used by git-grep for lines with
6914 function names. (Bug#13549)
6915
6916 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6919 0 after a semi-colon; it works better for smie-auto-fill.
6920 (octave--indent-new-comment-line): New function.
6921 (octave-indent-new-comment-line): Use it (indirectly).
6922 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6923 modify comment-line-break-function.
6924
6925 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6926 (smie-setup): Use add-function to set it.
6927
6928 2013-05-24 Sam Steingold <sds@gnu.org>
6929
6930 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6931 argument (before the `interactive' argument).
6932
6933 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * image-mode.el (image-mode-winprops): Add winprops to
6936 image-mode-winprops-alist before running
6937 image-mode-new-window-functions.
6938 * doc-view.el (doc-view-new-window-function): Don't delay
6939 doc-view-goto-page via timers (bug#14435).
6940
6941 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6942
6943 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6944 (doc-view-desktop-save-buffer): New function.
6945 (doc-view-restore-desktop-buffer): New function.
6946 (desktop-buffer-mode-handlers):
6947 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6948 handler.
6949 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6950 `desktop-save-buffer' function.
6951
6952 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6953
6954 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6955 (tramp-gvfs-file-name-handler): Raise a user error when
6956 `tramp-gvfs-enabled' is nil.
6957 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6958 Do not raise a user error when loading package. (Bug#14447)
6959
6960 * net/xesam.el: Move to obsolete/.
6961
6962 2013-05-24 Glenn Morris <rgm@gnu.org>
6963
6964 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6965
6966 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6967
6968 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6969 (Info-find-node, Man-getpage-in-background): Declare.
6970
6971 * mail/unrmail.el (unrmail):
6972 Replace obsolete detect-coding-with-priority.
6973
6974 * net/socks.el (socks-split-string): Use this rather than split-string.
6975 (socks-nslookup-host): Update for above change.
6976 (dynamic-choice, s5-dynamic-choice-match)
6977 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6978 Comment out unused code.
6979
6980 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6981 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6982 (gud-tooltip-echo-area): Make obsolete.
6983 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6984
6985 * progmodes/js.el (js--optimize-arglist): Declare.
6986
6987 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6988
6989 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6990 (ediff-window-C): Declare.
6991
6992 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6993 Tweak requires to silence compiler.
6994
6995 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6996 (he-search-string, he-tried-table, he-expand-list)
6997 (he-init-string, he-string-member, he-substitute-string)
6998 (he-reset-string): Declare.
6999
7000 * obsolete/options.el (list-options): Use custom-variable-p,
7001 rather than obsolete alias.
7002
7003 2013-05-23 Sam Steingold <sds@gnu.org>
7004
7005 * simple.el (shell-command-on-region): Pass the `replace' argument
7006 down to `call-process-region' to comply with the doc as reported on
7007 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7008
7009 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * emacs-lisp/smie.el (smie-indent-forward-token)
7012 (smie-indent-backward-token): Handle string tokens (bug#14381).
7013
7014 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7015
7016 * ielm.el (ielm-menu): New menu.
7017 (inferior-emacs-lisp-mode): Set comment-start.
7018
7019 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7020
7021 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7022 Fix deactivate action.
7023
7024 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7025 Add cleveref macros.
7026
7027 * lisp/textmodes/reftex-parse.el
7028 (reftex-locate-bibliography-files): Accept options for
7029 bibliography commands.
7030 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7031 Add addbibresource. Basic Biblatex support.
7032
7033 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7034
7035 * net/tramp-gvfs.el (top):
7036 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7037 when loading package. (Bug#14447)
7038
7039 2013-05-23 Glenn Morris <rgm@gnu.org>
7040
7041 * progmodes/js.el: No need to load comint when compiling.
7042 (ring-insert, comint-send-string, comint-send-input)
7043 (comint-last-input-end, ido-chop): Declare.
7044
7045 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7046 * vc/ediff-mult.el: Adjust requires.
7047 (ediff-directories-internal, ediff-directory-revisions-internal)
7048 (ediff-patch-file-internal): Declare.
7049 * vc/ediff-ptch.el: Adjust requires.
7050 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7051 (ediff-find-file): Autoload.
7052 * vc/ediff-util.el: No need to load ediff when compiling.
7053 (ediff-regions-internal): Declare.
7054 * vc/ediff-wind.el: Adjust requires.
7055 (ediff-compute-toolbar-width): Define when compiling.
7056 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7057 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7058 (dired-get-filename, dired-get-marked-files)
7059 (ediff-last-dir-patch, ediff-patch-default-directory)
7060 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7061 (ediff-patch-buffer-internal): Declare.
7062
7063 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7064 (ispell-process, ispell-buffer-local-words, lm-summary)
7065 (lm-section-start, lm-section-end): Declare.
7066 (checkdoc-ispell-init): Simplify.
7067
7068 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7069 (he-string-member, he-reset-string, he-substitute-string): Declare.
7070
7071 * eshell/em-ls.el: Adjust requires.
7072 (eshell-glob-regexp): Declare.
7073 * eshell/em-tramp.el: Adjust requires.
7074 (eshell-parse-command): Autoload.
7075 * eshell/em-xtra.el: Adjust requires.
7076 (eshell-parse-command): Autoload.
7077 * eshell/esh-ext.el: Adjust requires.
7078 (eshell-parse-command, eshell-close-handles): Autoload.
7079 * eshell/esh-io.el: Adjust requires.
7080 (eshell-output-filter): Autoload.
7081 * eshell/esh-util.el: No need to load tramp when compiling.
7082 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7083 Declare.
7084 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7085 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7086 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7087 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7088 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7089 * eshell/esh-opt.el, eshell/esh-proc.el:
7090 * eshell/esh-var.el: Adjust requires.
7091 * eshell/eshell.el: Do not require esh-util twice.
7092 (eshell-add-input-to-history): Declare.
7093 (eshell-command): Check history module is active before using it.
7094
7095 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7096
7097 2013-05-22 Leo Liu <sdl.web@gmail.com>
7098
7099 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7100
7101 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7102
7103 * autorevert.el (auto-revert-notify-add-watch)
7104 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7105 it indicates changes in file modification time.
7106
7107 2013-05-22 Glenn Morris <rgm@gnu.org>
7108
7109 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7110 Always delete the autoloaded function from the noruntime and
7111 unresolved functions lists.
7112
7113 * allout.el: No need to load epa, epg, overlay when compiling.
7114 (epg-context-set-passphrase-callback, epg-list-keys)
7115 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7116 (epg-key-user-id-list): Declare.
7117
7118 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7119 (viper-set-parsing-style-toggling-macro)
7120 (viper-set-emacs-state-searchstyle-macros):
7121 Use called-interactively-p on Emacs.
7122 (viper-looking-back): Make it an obsolete alias. Update callers.
7123 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7124 Use looking-back rather than viper-looking-back.
7125 (viper-tmp-insert-at-eob, viper-enlarge-region)
7126 (viper-read-string-with-history, viper-register-to-point)
7127 (viper-append-to-register, viper-change-state-to-vi)
7128 (viper-backward-char-carefully, viper-forward-char-carefully)
7129 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7130 (viper-change-state-to-emacs): Declare.
7131 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7132 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7133 * emulation/viper-mous.el: Do not load viper-cmd.
7134 (viper-backward-char-carefully, viper-forward-char-carefully)
7135 (viper-forward-word, viper-adjust-window): Declare.
7136
7137 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7138
7139 * progmodes/idlw-help.el (idlwave-help-fontify):
7140 Use called-interactively-p.
7141
7142 * term/w32console.el (w32-get-console-codepage)
7143 (w32-get-console-output-codepage): Declare.
7144
7145 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7146 Remove unnecessary declarations.
7147 (dframe-message): Doc fix.
7148
7149 * info.el (dframe-select-attached-frame, dframe-current-frame):
7150 Declare.
7151
7152 * speedbar.el (speedbar-message): Make it an obsolete alias.
7153 Update all callers.
7154 (speedbar-with-attached-buffer)
7155 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7156 (speedbar-with-writable): Use backquote.
7157 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7158 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7159 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7160 rather than speedbar- aliases.
7161 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7162 (speedbar-make-specialized-keymap, speedbar-insert-button)
7163 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7164 (speedbar-do-function-pointer): Declare.
7165 (rmail-speedbar-button, rmail-speedbar-find-file)
7166 (rmail-speedbar-move-message):
7167 Use dframe-with-attached-buffer rather than speedbar- alias.
7168 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7169 (dframe-message, speedbar-make-specialized-keymap)
7170 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7171 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7172 (speedbar-insert-button, dframe-select-attached-frame)
7173 (dframe-maybee-jump-to-attached-frame)
7174 (speedbar-change-initial-expansion-list)
7175 (speedbar-previously-used-expansion-list-name): Declare.
7176 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7177 Use dframe-message, dframe-with-attached-buffer rather than
7178 speedbar- aliases.
7179 (gud-sentinel): Silence compiler.
7180 * progmodes/vhdl-mode.el (speedbar-refresh)
7181 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7182 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7183 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7184 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7185 (speedbar-file-lists, speedbar-make-tag-line)
7186 (speedbar-line-directory, speedbar-goto-this-file)
7187 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7188 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7189 (speedbar-make-button, speedbar-reset-scanners)
7190 (speedbar-files-item-info, speedbar-line-text)
7191 (speedbar-find-file-in-frame, speedbar-set-timer)
7192 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7193 (speedbar-with-writable): Do not (re)define it.
7194 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7195 rather than speedbar- alias.
7196
7197 2013-05-21 Leo Liu <sdl.web@gmail.com>
7198
7199 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7200 menu items.
7201 (octave-mode): Tweak fill-nobreak-predicate.
7202 (inferior-octave-startup): Check process to avoid infinite loop.
7203 (inferior-octave): Pop to buffer first to show abornmal process
7204 exit information.
7205
7206 2013-05-21 Glenn Morris <rgm@gnu.org>
7207
7208 * printing.el (pr-menu-bar): Define when compiling.
7209
7210 2013-05-21 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (octave-auto-fill): Remove.
7213 (octave-indent-new-comment-line): Improve.
7214 (octave-mode): Use auto fill mode through
7215 comment-line-break-function and fill-nobreak-predicate.
7216 (octave-goto-function-definition): Support DEFUN_DLD.
7217 (octave-beginning-of-defun): Small tweak.
7218 (octave-help): Show parent directory.
7219
7220 2013-05-21 Glenn Morris <rgm@gnu.org>
7221
7222 * files.el (dired-unmark):
7223 * progmodes/gud.el (gdb-input): Update declarations.
7224
7225 * calculator.el (electric, ehelp): No need to load when compiling.
7226 (Electric-command-loop, electric-describe-mode): Declare.
7227
7228 * doc-view.el (doc-view-current-converter-processes): Move before use.
7229
7230 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7231 Move MODE-set-explicitly definition before use.
7232
7233 * international/mule-diag.el (mule-diag):
7234 Don't use obsolete window-system-version.
7235
7236 * mail/feedmail.el (smtpmail): No need to load when compiling.
7237 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7238
7239 * mail/mail-utils.el (rfc822): No need to load when compiling.
7240 (rfc822-addresses): Autoload it.
7241 (mail-strip-quoted-names): Trivial simplification.
7242
7243 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7244 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7245
7246 * net/snmp-mode.el (tempo): Don't duplicate requires.
7247
7248 * progmodes/prolog.el (info): No need to load when compiling.
7249 (comint): Require before shell requires it.
7250 (Info-goto-node): Autoload it.
7251 (Info-follow-nearest-node): Declare.
7252 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7253
7254 * textmodes/artist.el (picture-mode-exit): Declare.
7255
7256 * textmodes/reftex-parse.el (reftex-parse-from-file):
7257 Trivial rewrite so the compiler can parse it better.
7258
7259 2013-05-20 Leo Liu <sdl.web@gmail.com>
7260
7261 * progmodes/octave.el (octave-help-mode-map)
7262 (octave-help-mode-finish-hook): New variables.
7263 (octave-help-mode, octave-help-mode-finish): New functions.
7264 (octave-help): Use octave-help-mode.
7265
7266 2013-05-20 Glenn Morris <rgm@gnu.org>
7267
7268 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7269
7270 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7271
7272 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7273 start at point, so that expansion starting right after opening
7274 slash in a regexp is recognized.
7275 (ruby-syntax-before-regexp-re): New defvar, extracted from
7276 ruby-syntax-propertize-function. Since the value of this regexp
7277 is looked up at runtime now, we should be able to turn
7278 `ruby-syntax-methods-before-regexp' into a defcustom later.
7279 (ruby-syntax-propertize-function): Split regexp matching into two
7280 parts, for opening and closing slashes. That allows us to skip
7281 over string interpolations and support multiline regexps.
7282 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7283 for them, which calls `ruby-syntax-propertize-expansion'.
7284 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7285 call to `ruby-syntax-propertize-function'.
7286 (ruby-syntax-propertize-expansion): Extracted from
7287 `ruby-syntax-propertize-expansions'. Handles one expansion.
7288 (ruby-syntax-propertize-percent-literal): Leave point right after
7289 the percent symbol, so that the expression expansion rule can
7290 propertize the contents.
7291 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7292 heredoc openers.
7293 (ruby-syntax-propertize-expansions): Remove.
7294
7295 2013-05-18 Juri Linkov <juri@jurta.org>
7296
7297 * man.el (Man-default-man-entry): Remove `-' from the end
7298 of the default value. (Bug#14400)
7299
7300 2013-05-18 Glenn Morris <rgm@gnu.org>
7301
7302 * comint.el (comint-password-prompt-regexp):
7303 Allow "password for XXX" where XXX contains colons (eg https://...).
7304
7305 2013-05-18 Leo Liu <sdl.web@gmail.com>
7306
7307 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7308 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7309 (octave-source-directories): Don't check process.
7310 (octave-source-directories, octave-find-definition): Doc fix.
7311
7312 2013-05-18 Glenn Morris <rgm@gnu.org>
7313
7314 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7315 Remove backspace/delete bindings. (Bug#14392)
7316
7317 * cus-dep.el (custom-make-dependencies): Sort the output.
7318 (custom-versions-load-alist): Convert comment to doc.
7319
7320 2013-05-17 Leo Liu <sdl.web@gmail.com>
7321
7322 * newcomment.el (comment-search-backward): Stricter in finding
7323 comment start. (Bug#14303)
7324
7325 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7326 (octave-comment-start-skip): Properly anchored.
7327
7328 2013-05-17 Leo Liu <sdl.web@gmail.com>
7329
7330 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7331 Clean up when turned off. (Bug#14395)
7332 (smie--highlight-matching-block-overlay): No longer buffer-local.
7333 (smie-highlight-matching-block): Adjust.
7334
7335 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7336
7337 Doc string fix for "nanoseconds" (Bug#14406).
7338 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7339 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7340
7341 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7342
7343 * calc/calc-units.el (math-extract-units): Preserve powers
7344 of units.
7345
7346 2013-05-17 Leo Liu <sdl.web@gmail.com>
7347
7348 * subr.el (delete-consecutive-dups): New function.
7349 * ido.el (ido-set-matches-1): Use it.
7350 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7351 * ido.el (ido-remove-consecutive-dups): Remove.
7352
7353 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7356 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7357 regexp-opt's `words'.
7358
7359 2013-05-16 Leo Liu <sdl.web@gmail.com>
7360
7361 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7362 (smie--highlight-matching-block-overlay)
7363 (smie--highlight-matching-block-lastpos)
7364 (smie--highlight-matching-block-timer): New variables.
7365 (smie-highlight-matching-block): New function.
7366 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7367 (smie-setup): Conditionally enable smie-blink-matching-open.
7368
7369 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7370
7371 Sync with upstream verilog-mode r840.
7372 * progmodes/verilog-mode.el (verilog-mode-version)
7373 (verilog-mode-release-date): Update.
7374 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7375 (verilog-sig-tieoff): Fix string error on
7376 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7377 (verilog-read-decls): Fix parameters confusing
7378 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7379
7380 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7381
7382 * subr.el (reveal-filename): New function.
7383
7384 * loadup.el: Compute Emacs executable versions on MS-Windows,
7385 where executables have the .exe extension. Add a hard link
7386 emacs-XX.YY.ZZ.exe on MS-Windows.
7387
7388 * Makefile.in (XARGS_LIMIT): New variable.
7389 (custom-deps, finder-data, autoloads)
7390 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7391 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7392 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7393 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7394
7395 2013-05-16 Leo Liu <sdl.web@gmail.com>
7396
7397 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7398 (octave-mode-menu, octave-mode-map): Remove its uses.
7399
7400 2013-05-16 Reto Zimmermann <reto@gnu.org>
7401
7402 Sync with upstream vhdl mode v3.34.2.
7403 * progmodes/vhdl-mode.el: Use `push' throughout.
7404 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7405 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7406 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7407 (vhdl-actual-generic-name): New option to derive actual generic name.
7408 (vhdl-port-paste-signals): Replace formal by actual generics.
7409 (vhdl-beautify): New name for old group vhdl-align. Update users.
7410 (vhdl-beautify-options): New option.
7411 (vhdl-last-input-event): New compat alias. Use throughout.
7412 (vhdl-goto-line): Replace user level function `goto-line'.
7413 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7414 vhdl-fix-statement-buffer.
7415 (vhdl-create-mode-menu): Add some entries.
7416 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7417 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7418 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7419 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7420 to force statements on one line.
7421 (vhdl-remove-trailing-spaces-region):
7422 New, split from vhdl-remove-trailing-spaces.
7423 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7424 Respect vhdl-beautify-options.
7425 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7426 (vhdl-update-sensitivity-list): Not add with index if exists without.
7427 Not include array index with signal. Ignore keywords in comments.
7428 (vhdl-get-visible-signals): Regexp tweaks.
7429 (vhdl-template-component-inst): Handle empty library.
7430 (vhdl-template-type): Add template for 'enum' type.
7431 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7432 Use vhdl-replace-string.
7433 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7434 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7435 (vhdl-speedbar-initialize): Update for above name change.
7436 (vhdl-compose-wire-components): Fix in handling of constants.
7437 (vhdl-error-regexp-emacs-alist): New variable.
7438 (vhdl-error-regexp-add-emacs): New function;
7439 adds support for new compile.el (Emacs 22+)
7440 (vhdl-generate-makefile-1): Change target order for single lib. units.
7441 Allow use of absolute file names.
7442
7443 2013-05-16 Leo Liu <sdl.web@gmail.com>
7444
7445 * simple.el (prog-indent-sexp): Indent enclosing defun.
7446
7447 2013-05-15 Glenn Morris <rgm@gnu.org>
7448
7449 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7450 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7451 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7452 (whitespace-highlight): Move to whitespace group.
7453
7454 * comint.el (comint-source):
7455 * pcmpl-linux.el (pcmpl-linux):
7456 * shell.el (shell-faces):
7457 * eshell/esh-opt.el (eshell-opt):
7458 * international/ccl.el (ccl): Remove empty custom groups.
7459
7460 * completion.el (dynamic-completion-mode):
7461 * jit-lock.el (jit-lock-debug-mode):
7462 * minibuffer.el (completion-in-region-mode):
7463 * type-break.el (type-break-mode-line-message-mode)
7464 (type-break-query-mode):
7465 * emulation/tpu-edt.el (tpu-edt-mode):
7466 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7467 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7468 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7469
7470 * term/xterm.el (xterm): Change parent group to terminals.
7471
7472 * master.el (master): Remove empty custom group.
7473 (master-mode): Remove unused :group argument.
7474 * textmodes/refill.el (refill): Remove empty custom group.
7475 (refill-mode): Remove unused :group argument.
7476
7477 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7478
7479 * cus-dep.el: Provide a feature.
7480 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7481 Don't mistakenly ignore files whose basenames match a basename
7482 from preloaded-file-list (eg cedet/ede/simple.el).
7483 Add a fallback method for getting :group.
7484
7485 2013-05-15 Juri Linkov <juri@jurta.org>
7486
7487 * isearch.el (isearch-char-by-name): Rename from
7488 `isearch-insert-char-by-name'. Doc fix.
7489 (isearch-forward): Mention `isearch-char-by-name' in
7490 the docstring. (Bug#13348)
7491
7492 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7493 `exit-minibuffer' instead of
7494 `isearch-nonincremental-exit-minibuffer'.
7495 (isearch-edit-string): Remove mention of
7496 `isearch-nonincremental-exit-minibuffer' from docstring.
7497 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7498 (isearch-forward-exit-minibuffer)
7499 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7500
7501 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * loadup.el: Just use unversioned DOC.
7504
7505 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7506 literals as extending to EOB.
7507 (nxml-last-fontify-end): Remove unused variable.
7508 (nxml-after-change1): Use with-silent-modifications.
7509 (nxml-extend-after-change-region): Simplify.
7510 (nxml-extend-after-change-region1): Remove function.
7511 (nxml-after-change1): Don't adjust for dependent regions.
7512 (nxml-fontify-matcher): Simplify.
7513 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7514 (xmltok-add-dependent): Remove function.
7515 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7516 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7517 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7518 unclosed <[[, <?, comment, and other literals as extending to EOB.
7519 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7520 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7521 Remove functions.
7522 (rng-do-some-validation-1): Don't mark dependent regions.
7523 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7524 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7525 (nxml-clear-dependent-regions): Remove functions.
7526 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7527 (nxml-ensure-scan-up-to-date):
7528 Don't clear&mark dependent regions.
7529
7530 2013-05-15 Leo Liu <sdl.web@gmail.com>
7531
7532 * progmodes/octave.el (octave-goto-function-definition):
7533 Improve and fix callers.
7534
7535 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7538 the setter (bug#14387).
7539
7540 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7541 surrounding group (bug#14402).
7542
7543 2013-05-14 Juri Linkov <juri@jurta.org>
7544
7545 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7546 (Bug#14390)
7547
7548 2013-05-14 Glenn Morris <rgm@gnu.org>
7549
7550 * progmodes/f90.el (f90-imenu-generic-expression):
7551 Fix typo in 2013-05-08 change. (Bug#14402)
7552
7553 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7554
7555 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7556 Remove signals for which replies are never received.
7557
7558 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7559
7560 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7561 (gdb-handler-alist, gdb-handler-number): Remove variables.
7562 (gdb-handler-list): New variable.
7563 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7564 (gdb-pending-handler-p, gdb-handle-reply)
7565 (gdb-remove-all-pending-triggers): New functions.
7566 (gdb-discard-unordered-replies): New defcustom.
7567 (gdb-handler): New defstruct.
7568 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7569 instead of gdb-pending-triggers. Update docstring.
7570 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7571 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7572 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7573 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7574 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7575 (gdb-frame-handler): Pending triggers are now automatically managed.
7576 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7577 Remove argument.
7578 (gdb-input): Automatically handles pending triggers. Update docstring.
7579 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7580 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7581 Update comments.
7582 (gdb-done-or-error): Now use gdb-handle-reply.
7583
7584 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7585
7586 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7587 gdb-debug-log.
7588
7589 2013-05-14 Glenn Morris <rgm@gnu.org>
7590
7591 * subr.el (user-emacs-directory-warning): New option.
7592 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7593
7594 2013-05-14 Leo Liu <sdl.web@gmail.com>
7595
7596 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7597 during redisplay.
7598 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7599 (octave-font-lock-texinfo-comment): Fix invalid search bound
7600 error: wrong side of point.
7601
7602 2013-05-14 Glenn Morris <rgm@gnu.org>
7603
7604 * progmodes/flymake.el (flymake-xml-program): New option.
7605 (flymake-xml-init): Use it.
7606
7607 * term/xterm.el: Provide a feature.
7608
7609 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7610
7611 2013-05-13 Glenn Morris <rgm@gnu.org>
7612
7613 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7614 Add compat aliases as a hack workaround. (Bug#14384)
7615
7616 2013-05-13 Leo Liu <sdl.web@gmail.com>
7617
7618 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7619 ###, and %!.
7620 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7621 C-M-q.
7622 (octave-comment-start-skip): Include %!.
7623 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7624
7625 2013-05-12 Leo Liu <sdl.web@gmail.com>
7626
7627 * progmodes/octave.el (inferior-octave-startup): Store the value
7628 of __octave_srcdir__ for octave-source-directories.
7629 (inferior-octave-check-process): New function refactored out of
7630 inferior-octave-send-list-and-digest.
7631 (octave-source-directories)
7632 (octave-find-definition-filename-function): New variables.
7633 (octave-source-directories)
7634 (octave-find-definition-default-filename): New functions.
7635 (octave-find-definition): Improve to find functions implemented in C++.
7636
7637 2013-05-12 Glenn Morris <rgm@gnu.org>
7638
7639 * calendar/diary-lib.el (diary-outlook-format-1):
7640 Don't include dayname in the output. (Bug#14349)
7641
7642 2013-05-11 Glenn Morris <rgm@gnu.org>
7643
7644 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7645
7646 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7647 Treat cc-provide like provide.
7648
7649 2013-05-11 Kevin Ryde <user42@zip.com.au>
7650
7651 * cus-dep.el (custom-make-dependencies):
7652 Use generated-autoload-load-name for the sake of files such
7653 such cedet/semantic/bovine/c.el, where the base file name
7654 is not in load-path. (Bug#5277)
7655
7656 2013-05-11 Glenn Morris <rgm@gnu.org>
7657
7658 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7659 Provide features.
7660
7661 2013-05-11 Leo Liu <sdl.web@gmail.com>
7662
7663 * progmodes/octave.el (octave-indent-comment): Improve.
7664 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7665 (octave-eldoc-function-signatures, octave-eldoc-function):
7666 New functions.
7667 (octave-mode, inferior-octave-mode): Add eldoc support.
7668
7669 2013-05-11 Richard Stallman <rms@gnu.org>
7670
7671 * epa.el (epa-decrypt-file): Take output file name as argument
7672 and read it using `interactive'.
7673
7674 2013-05-11 Leo Liu <sdl.web@gmail.com>
7675
7676 * progmodes/octave.el (octave-beginning-of-line)
7677 (octave-end-of-line): Check before using up-list because it jumps
7678 out of more syntactic contructs since moving to smie.
7679 (octave-indent-comment): New function.
7680 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7681 (octave-begin-keywords, octave-end-keywords)
7682 (octave-reserved-words, octave-smie-bnf-table)
7683 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7684
7685 2013-05-11 Glenn Morris <rgm@gnu.org>
7686
7687 * faces.el (internal-face-x-get-resource):
7688 * frame.el (ns-display-monitor-attributes-list):
7689 * calc/calc-aent.el (math-to-radians-2):
7690 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7691 Fix declarations.
7692
7693 * calc/calc-menu.el: Make it loadable in isolation.
7694
7695 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7696 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7697 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7698 (eudc-bbdb-query-internal): Require 'bbdb.
7699
7700 * lpr.el (lpr-headers-switches):
7701 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7702
7703 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7704
7705 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7706
7707 * term.el (term-set-escape-char): Make it idempotent.
7708
7709 2013-05-10 Leo Liu <sdl.web@gmail.com>
7710
7711 * progmodes/octave.el (inferior-octave-completion-table):
7712 No longer a function and all uses changed. Use cache to speed up
7713 completion due to bug#11906.
7714 (octave-beginning-of-defun): Re-write to be more general.
7715
7716 2013-05-10 Glenn Morris <rgm@gnu.org>
7717
7718 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7719
7720 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * comint.el (comint-redirect-send-command-to-process): Use :around
7723 rather than :override for comint-redirect-filter.
7724 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7725 Call it instead of comint-redirect-original-filter-function (which
7726 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7727
7728 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7729
7730 * frame.el (display-monitor-attributes-list): Add NS case.
7731 (ns-display-monitor-attributes-list): Declare.
7732
7733 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7734
7735 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7736
7737 2013-05-09 Glenn Morris <rgm@gnu.org>
7738
7739 * international/fontset.el (vertical-centering-font-regexp):
7740 Set standard-value.
7741
7742 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7743
7744 * bookmark.el (bookmark-search-delay):
7745 * cus-start.el (vertical-centering-font-regexp):
7746 * ps-mule.el (ps-mule-font-info-database-default):
7747 * ps-print.el (ps-default-fg, ps-default-bg):
7748 * type-break.el (type-break-good-break-interval):
7749 * whitespace.el (whitespace-indentation-regexp)
7750 (whitespace-space-after-tab-regexp):
7751 * emacs-lisp/testcover.el (testcover-1value-functions)
7752 (testcover-noreturn-functions, testcover-progn-functions)
7753 (testcover-prog1-functions):
7754 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7755 * eshell/em-glob.el (eshell-glob-translate-alist):
7756 * play/tetris.el (tetris-tty-colors):
7757 * progmodes/cpp.el (cpp-face-default-list):
7758 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7759 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7760 (idlwave-help-browser-generic-args):
7761 * progmodes/make-mode.el (makefile-special-targets-list):
7762 * progmodes/python.el (python-shell-virtualenv-path):
7763 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7764 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7765 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7766 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7767 * textmodes/reftex-vars.el (reftex-format-label-function):
7768 * textmodes/remember.el (remember-diary-file): Fix custom types.
7769
7770 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7771 Add :version.
7772
7773 2013-05-09 Leo Liu <sdl.web@gmail.com>
7774
7775 * progmodes/octave.el (inferior-octave-completion-at-point):
7776 Restore file completion. (Bug#14300)
7777 (inferior-octave-startup): Fix incorrect highlighting for the
7778 first prompt.
7779
7780 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * progmodes/ruby-mode.el: First cut at SMIE support.
7783 (ruby-use-smie): New var.
7784 (ruby-smie-grammar): New constant.
7785 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7786 (ruby-smie--forward-token, ruby-smie--backward-token)
7787 (ruby-smie-rules): New functions.
7788 (ruby-mode-variables): Setup SMIE if applicable.
7789
7790 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7791
7792 * simple.el (line-move-visual): Signal beginning/end of buffer
7793 only if vertical-motion moved less than it was requested. Avoids
7794 silly incorrect error messages when there are display strings with
7795 multiple newlines at EOL.
7796
7797 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7800 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7801 (prolog-char-quote-workaround):
7802 * progmodes/cperl-mode.el (cperl-under-as-char):
7803 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7804 Mark as obsolete.
7805 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7806 their declaration.
7807 (vhdl-mode-syntax-table-init): Remove.
7808
7809 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7810 last change.
7811
7812 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7813 syntax for "_".
7814 (ld-script-font-lock-keywords):
7815 Change regexps to use things like \_< and \_>.
7816
7817 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7818 Change all regexps to use things like \_< and \_>.
7819
7820 * progmodes/autoconf.el (autoconf-definition-regexp)
7821 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7822 Handle a _ with symbol syntax.
7823 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7824
7825 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7826 Consolidate declaration.
7827 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7828 the declaration.
7829 (ada-create-syntax-table): Remove.
7830 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7831 already has the right syntax nowadays.
7832 (ada-goto-next-word): Don't change the syntax of "_".
7833
7834 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7835 with-wrapper-hook.
7836
7837 2013-05-08 Sam Steingold <sds@gnu.org>
7838
7839 * thingatpt.el (thing-at-point): Accept optional second argument
7840 NO-PROPERTIES to strip the text properties from the return value.
7841 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7842 to `thing-at-point' instead of stripping the properties ourselves.
7843 Also, when `thing-at-point' fails to find a url, prepend "http://"
7844 to the filename at point on the assumption that the user is
7845 pointing at something like gnu.org/gnu.
7846
7847 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7848
7849 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7850 * faces.el (crm-separator):
7851 Silence byte-compiler.
7852
7853 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7854 (tool-bar-map): Remove unneeded defvars.
7855
7856 2013-05-08 Leo Liu <sdl.web@gmail.com>
7857
7858 Re-work a fix for bug#10994 based on Le Wang's patch.
7859 * ido.el (ido-remove-consecutive-dups): New helper.
7860 (ido-completing-read): Use it.
7861 (ido-chop): Revert fix for bug#10994.
7862
7863 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7864
7865 * cus-edit.el (custom-save-variables):
7866 Pretty-print long values. (Bug#14187)
7867
7868 2013-05-08 Glenn Morris <rgm@gnu.org>
7869
7870 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7871 (m4-mode-syntax-table): Init in the defvar.
7872 (m4-mode-abbrev-table): Let define-derived-mode define it.
7873
7874 2013-05-08 Tom Tromey <tromey@redhat.com>
7875
7876 * progmodes/m4-mode.el (m4-mode-syntax-table):
7877 Do not treat "_" as word constituent. (Bug#14167)
7878
7879 2013-05-07 Glenn Morris <rgm@gnu.org>
7880
7881 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7882 Remove explicit eshell-isearch-cancel-map.
7883
7884 * progmodes/f90.el (f90-smart-end-names): New option.
7885 (f90-smart-end): Doc fix.
7886 (f90-end-block-optional-name): New constant.
7887 (f90-block-match): Respect f90-smart-end-names.
7888
7889 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7892 about implicit semi-colons (bug#14218).
7893
7894 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7895
7896 * frame.el (display-monitor-attributes-list)
7897 (frame-monitor-attributes): New functions.
7898
7899 2013-05-06 Leo Liu <sdl.web@gmail.com>
7900
7901 * progmodes/octave.el (octave-syntax-propertize-function): Change
7902 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7903 (octave-font-lock-keywords): Use octave-operator-regexp.
7904 (octave-completion-at-point): Rename from
7905 octave-completion-at-point-function.
7906 (inferior-octave-directory-tracker): Robustify.
7907 (octave-text-functions): Remove and fix its uses. No such things
7908 any more.
7909
7910 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * emacs-lisp/trace.el (trace--display-buffer): New function.
7913 (trace-make-advice): Use it.
7914
7915 2013-05-06 Juri Linkov <juri@jurta.org>
7916
7917 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7918 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7919 Doc fix.
7920 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7921 in the help string. (Bug#12985)
7922
7923 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7924
7925 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7926
7927 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * progmodes/perl-mode.el: Add support for here documents.
7930 (perl-syntax-propertize-function): Match here-doc markers.
7931 (perl-syntax-propertize-special-constructs): Find their end.
7932 (perl-imenu-generic-expression): Use [:alnum:].
7933
7934 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7935 (advice--add-function): Refresh the advice if already present
7936 (bug#14317).
7937
7938 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7939
7940 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7941
7942 2013-05-06 Glenn Morris <rgm@gnu.org>
7943
7944 * w32-fns.el (w32-charset-info-alist): Declare.
7945
7946 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7947 of its defcustom properties.
7948 (eshell-cmpl-initialize): No need to load pcomplete.
7949
7950 * generic-x.el: No need to require comint when compiling.
7951
7952 * net/eudc-export.el: Make it loadable without bbdb.
7953 (top-level): Use require rather than load-library.
7954 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7955 (eudc-batch-export-records-to-bbdb)
7956 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7957 Require bbdb.
7958
7959 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7962 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7963 some tweaks, instead.
7964
7965 2013-05-05 Leo Liu <sdl.web@gmail.com>
7966
7967 * progmodes/octave.el (octave-font-lock-keywords)
7968 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7969 (inferior-octave-send-list-and-digest): Improve error message.
7970 (octave-mode, inferior-octave-mode): Use setq-local.
7971 (octave-help): Set info-lookup-mode.
7972
7973 2013-05-05 Richard Stallman <rms@gnu.org>
7974
7975 * vc/compare-w.el (compare-windows-whitespace):
7976 Treat no-break space as whitespace.
7977
7978 * mail/rmailsum.el (rmail-summary-rmail-update):
7979 Detect empty summary and don't change selected message.
7980 (rmail-summary-goto-msg): Likewise.
7981
7982 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7983 Doc fixes, rename args.
7984
7985 2013-05-05 Alan Mackenzie <acm@muc.de>
7986
7987 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7988
7989 2013-05-05 Juri Linkov <juri@jurta.org>
7990
7991 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7992 to not add the length of the summary segment to the return value.
7993 (Bug#14125)
7994
7995 2013-05-05 Leo Liu <sdl.web@gmail.com>
7996
7997 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7998 (inferior-octave-output-filter): Remove.
7999 (octave-send-region, inferior-octave-startup): Fix callers.
8000 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8001 (octave-binary-file-extensions): New user variable.
8002 (octave-find-definition): Confirm if opening binary files.
8003 (octave-help-file): Use octave-find-definition to get the binary
8004 confirmation.
8005 (octave-help): Adjust for octave-help-file change.
8006
8007 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8010 Merge the two entries that handle function definitions.
8011 (pascal--syntax-propertize): New const.
8012 (pascal-mode): Use it. Use setq-local.
8013
8014 2013-05-04 Glenn Morris <rgm@gnu.org>
8015
8016 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8017 (diary-from-outlook): Respect diary-from-outlook-function.
8018
8019 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8022 Move the declaration from C.
8023 (read-minibuffer, eval-minibuffer): Move from C.
8024 (completion-setup-function): Avoid minibuffer-completion-contents.
8025
8026 2013-05-03 Leo Liu <sdl.web@gmail.com>
8027
8028 * progmodes/octave.el (octave-font-lock-keywords): Do not
8029 dehighlight 'end' in comments or strings.
8030 (octave-completing-read, octave-goto-function-definition):
8031 New helpers.
8032 (octave-help-buffer): New user variable.
8033 (octave-help-file, octave-help-function): New button types.
8034 (octave-help): New command and bind it to C-h ;.
8035 (octave-find-definition): New command and bind it to M-.
8036 (user-error): Alias to error if not defined.
8037
8038 2013-05-02 Leo Liu <sdl.web@gmail.com>
8039
8040 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8041 for \. (bug#14332)
8042 (octave-font-lock-keywords): Include [ and {.
8043
8044 2013-05-02 Leo Liu <sdl.web@gmail.com>
8045
8046 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8047 (inferior-octave): Remove calling comint-mode and return the buffer.
8048 (inferior-octave-startup): Cosmetic changes.
8049
8050 2013-05-02 Leo Liu <sdl.web@gmail.com>
8051
8052 * progmodes/octave.el (octave-syntax-propertize-function):
8053 Include the case when ' is at line beginning. (Bug#14336)
8054
8055 2013-05-02 Glenn Morris <rgm@gnu.org>
8056
8057 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8058 * desktop.el (vc-dir-mode): Just autoload it here.
8059
8060 2013-05-02 Alan Mackenzie <acm@muc.de>
8061
8062 Eliminate variable c-standard-font-lock-fontify-region-function.
8063 * progmodes/cc-mode.el
8064 (c-standard-font-lock-fontify-region-function): Remove.
8065 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8066
8067 2013-05-01 Leo Liu <sdl.web@gmail.com>
8068
8069 * progmodes/octave.el: Compatible with older emacs-24 releases.
8070 (inferior-octave-has-built-in-variables): Remove. Built-in
8071 variables were removed from Octave in 2007.
8072 (inferior-octave-startup): Fix uses.
8073 (comint-line-beginning-position): Remove compatibility code for
8074 emacs 21.
8075
8076 2013-05-01 Juri Linkov <juri@jurta.org>
8077
8078 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8079
8080 2013-05-01 Juri Linkov <juri@jurta.org>
8081
8082 * comint.el (comint-previous-matching-input): Don't print message
8083 "History item: %d" when `isearch-mode' is active.
8084 (comint-history-isearch-message): Print message "History item: %d"
8085 when `comint-input-ring-index' is not empty and this function is
8086 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8087
8088 2013-05-01 Leo Liu <sdl.web@gmail.com>
8089
8090 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8091 definitions. Use completion-at-point to insert keywords.
8092 (octave-abbrev-start): Remove.
8093 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8094
8095 2013-04-30 Leo Liu <sdl.web@gmail.com>
8096
8097 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8098 change.
8099
8100 2013-04-30 Alan Mackenzie <acm@muc.de>
8101
8102 Handle arbitrarily long C++ member initialisation lists.
8103 * progmodes/cc-engine.el (c-back-over-member-initializers):
8104 new function.
8105 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8106 (most) member init lists.
8107
8108 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8109
8110 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8111 variable.
8112
8113 2013-04-30 Leo Liu <sdl.web@gmail.com>
8114
8115 * progmodes/octave.el (octave-variables): Remove. No builtin
8116 variables any more. All converted to functions.
8117 (octave-font-lock-keywords, octave-completion-at-point-function):
8118 Fix uses.
8119 (octave-font-lock-texinfo-comment): New user variable.
8120 (octave-texinfo-font-lock-keywords): New variable for texinfo
8121 comment block.
8122 (octave-function-comment-block): New face.
8123 (octave-font-lock-texinfo-comment): New function.
8124 (octave-mode): Font lock texinfo comment block.
8125
8126 2013-04-29 Leo Liu <sdl.web@gmail.com>
8127
8128 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8129 indexing expression.
8130 (octave-continuation-string): Do not use \.
8131 (inferior-octave-complete-impossible): Remove.
8132 (inferior-octave-completion-table)
8133 (inferior-octave-completion-at-point): Remove its uses.
8134 (inferior-octave-startup): completion_matches was introduced to
8135 Octave in 1996 so safe to assume it.
8136 (octave-function-file-comment): Improve to follow how Octave does it.
8137 (octave-update-function-file-comment): Tweak.
8138
8139 2013-04-29 Leo Liu <sdl.web@gmail.com>
8140
8141 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8142 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8143 (octave-function-file-comment): Fix typo.
8144 (octave-sync-function-file-names): Use read-char-choice.
8145
8146 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8147
8148 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8149 to t for the less important warnings.
8150
8151 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8152
8153 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8154
8155 2013-04-27 Glenn Morris <rgm@gnu.org>
8156
8157 * vc/log-view.el (log-view-current-entry):
8158 Treat "---" separator lines as part of the following rev. (Bug#14169)
8159
8160 2013-04-27 Juri Linkov <juri@jurta.org>
8161
8162 * subr.el (read-number): Doc fix about using it by interactive
8163 code letter `n'. (Bug#14254)
8164
8165 2013-04-27 Juri Linkov <juri@jurta.org>
8166
8167 * desktop.el (desktop-auto-save-timeout): New option.
8168 (desktop-file-checksum): New variable.
8169 (desktop-save): Add optional arg `auto-save' and don't auto-save
8170 if nothing changed.
8171 (desktop-auto-save-timer): New variable.
8172 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8173 (after-init-hook): Call `desktop-auto-save-set-timer'.
8174 Suggested by Reuben Thomas <rrt@sc3d.org> in
8175 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8176
8177 2013-04-27 Leo Liu <sdl.web@gmail.com>
8178
8179 * progmodes/octave.el (octave-function-file-p)
8180 (octave-skip-comment-forward, octave-function-file-comment)
8181 (octave-update-function-file-comment): New functions.
8182 (octave-mode-map): Bind C-c ; to
8183 octave-update-function-file-comment.
8184 (octave-mode-menu): Add octave-update-function-file-comment.
8185 (octave-mode, inferior-octave-mode): Fix doc-string.
8186 (octave-insert-defun): Conform to Octave's coding convention.
8187 (Bug#14285)
8188
8189 * files.el (basic-save-buffer): Don't let errors in
8190 before-save-hook prevent saving buffer.
8191
8192 2013-04-20 Roland Winkler <winkler@gnu.org>
8193
8194 * faces.el (read-face-name): Use completing-read if arg multiple
8195 is nil.
8196
8197 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8198
8199 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8200 displayed, move point to after the totals line.
8201 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8202 for the details.
8203
8204 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8207 Add current dir to the load-path.
8208 (package-generate-autoloads): Don't rely on
8209 autoload-ensure-default-file.
8210
8211 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8212
8213 * textmodes/remember.el (remember-store-in-files): Document that
8214 the file name format is passed to `format-time-string'.
8215
8216 2013-04-26 Leo Liu <sdl.web@gmail.com>
8217
8218 * progmodes/octave.el (octave-sync-function-file-names): New function.
8219 (octave-mode): Use it in before-save-hook.
8220
8221 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8224 (bug#14274).
8225
8226 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8227 \n and comment, even if it's not an implicit ; (bug#14218).
8228
8229 2013-04-26 Glenn Morris <rgm@gnu.org>
8230
8231 * subr.el (read-number): Once more use `read' rather than
8232 `string-to-number', to trap non-numeric input. (Bug#14254)
8233
8234 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8235
8236 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8237 Use `syntax-multiline' text property consistently instead of
8238 `font-lock-multiline'. (Bug#14237)
8239
8240 2013-04-26 Glenn Morris <rgm@gnu.org>
8241
8242 * emacs-lisp/shadow.el (list-load-path-shadows):
8243 No longer necessary to check for duplicate simple.el, since
8244 2012-07-07 change to init_lread to not include installation lisp
8245 directories in load-path when running uninstalled. (Bug#14270)
8246
8247 2013-04-26 Leo Liu <sdl.web@gmail.com>
8248
8249 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8250 (octave-mode, inferior-octave-mode): Use setq-local.
8251 (octave-not-in-string-or-comment-p): Rename to
8252 octave-in-string-or-comment-p.
8253 (octave-in-comment-p, octave-in-string-p)
8254 (octave-in-string-or-comment-p): Replace defsubst with defun.
8255
8256 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8257
8258 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8259
8260 2013-04-25 Bastien Guerry <bzg@gnu.org>
8261
8262 * textmodes/remember.el (remember-data-directory)
8263 (remember-directory-file-name-format): Fix custom types.
8264
8265 2013-04-25 Leo Liu <sdl.web@gmail.com>
8266
8267 * progmodes/octave.el (octave-completion-at-point-function):
8268 Make use of inferior octave process.
8269 (octave-initialize-completions): Remove.
8270 (inferior-octave-completion-table): New function.
8271 (inferior-octave-completion-at-point): Use it.
8272 (octave-completion-alist): Remove.
8273
8274 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8277 (opascal-mode-syntax-table): New var.
8278 (opascal-literal-kind, opascal-is-literal-end)
8279 (opascal-literal-token-at): Rewrite.
8280 (opascal--literal-start-re, opascal-font-lock-keywords)
8281 (opascal--syntax-propertize): New constants.
8282 (opascal-font-lock-defaults): Adjust.
8283 (opascal-mode): Use them. Set comment-<foo> variables as well.
8284 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8285 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8286 (delphi-other-face, opascal-other-face): Remove face variables.
8287 (opascal-save-state): Remove macro.
8288 (opascal-fontifying-progress-step): Remove constant.
8289 (opascal--ignore-changes): Remove var.
8290 (opascal-set-token-property, opascal-parse-next-literal)
8291 (opascal-is-stable-literal, opascal-complete-literal)
8292 (opascal-is-literal-start, opascal-face-of)
8293 (opascal-parse-region, opascal-parse-region-until-stable)
8294 (opascal-fontify-region, opascal-after-change)
8295 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8296 (opascal-debug-parse-region, opascal-debug-parse-window)
8297 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8298 (opascal-debug-fontify-buffer): Remove.
8299 (opascal-debug-mode-map): Adjust accordingly.
8300
8301 2013-04-25 Leo Liu <sdl.web@gmail.com>
8302
8303 Merge octave-mod.el and octave-inf.el into octave.el with some
8304 cleanups.
8305 * progmodes/octave.el: New file renamed from octave-mod.el.
8306 * progmodes/octave-inf.el: Merged into octave.el.
8307 * progmodes/octave-mod.el: Renamed to octave.el.
8308
8309 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8310
8311 * textmodes/reftex-vars.el
8312 (reftex-label-ignored-macros-and-environments): New defcustom.
8313
8314 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8315
8316 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8319 (smie-indent-keyword): Improve the check to ensure that the next
8320 comment is really on the same line.
8321 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8322
8323 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8324 semi-colons if the line is not otherwise empty (bug#14218).
8325
8326 2013-04-25 Glenn Morris <rgm@gnu.org>
8327
8328 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8329
8330 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * progmodes/opascal.el (opascal-set-token-property): Rename from
8333 opascal-set-text-properties and only set `token' (bug#14134).
8334 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8335 (opascal-literal-text-properties): Remove.
8336 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8337 Adjust callers.
8338
8339 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8340
8341 * textmodes/remember.el (remember-handler-functions): Add an
8342 option for a new handler `remember-store-in-files'.
8343 (remember-data-directory, remember-directory-file-name-format):
8344 New options.
8345 (remember-store-in-files): New function to store remember notes
8346 as separate files within a directory.
8347
8348 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8349
8350 * progmodes/compile.el (compilation-next-error-function):
8351 Pass "formats" to compilation-find-file (bug#11777).
8352
8353 2013-04-24 Glenn Morris <rgm@gnu.org>
8354
8355 * vc/vc-bzr.el (vc-bzr-print-log):
8356 * vc/vc-hg.el (vc-hg-print-log):
8357 * vc/vc-svn.el (vc-svn-print-log):
8358 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8359
8360 * vc/vc-bzr.el (vc-bzr-print-log):
8361 * vc/vc-cvs.el (vc-cvs-print-log):
8362 * vc/vc-git.el (vc-git-print-log):
8363 * vc/vc-hg.el (vc-hg-print-log):
8364 * vc/vc-mtn.el (vc-mtn-print-log):
8365 * vc/vc-rcs.el (vc-rcs-print-log):
8366 * vc/vc-sccs.el (vc-sccs-print-log):
8367 * vc/vc-svn.el (vc-svn-print-log):
8368 * vc/vc.el (vc-print-log-internal): Doc fixes.
8369
8370 2013-04-23 Glenn Morris <rgm@gnu.org>
8371
8372 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8373 Remove venerable code attempting to avoid substitute-command-keys.
8374
8375 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8376
8377 * textmodes/reftex-vars.el (reftex-label-regexps):
8378 Call `reftex-compile-variables' after changes to this variable.
8379
8380 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8383 Use lexical-binding.
8384 (jit-lock-force-redisplay): Use markers, check buffer's continued
8385 existence and beware narrowed buffers.
8386 (jit-lock-fontify-now): Adjust call accordingly.
8387
8388 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8391 to avoid misleading the user.
8392
8393 2013-04-22 Leo Liu <sdl.web@gmail.com>
8394
8395 * info-look.el: Prefer latex2e.info. (Bug#14240)
8396
8397 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8398
8399 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8400
8401 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8402 * net/tramp.el (tramp-call-process): ... here.
8403 (tramp-set-completion-function, tramp-parse-putty):
8404 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8405 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8406 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8407 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8408 (tramp-call-local-coding-command): Use `tramp-call-process'
8409 instead of `tramp-compat-call-process'.
8410
8411 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8412 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8413 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8414 (tramp-find-inline-compress): Improve traces.
8415 (tramp-maybe-send-script): Check for Perl binary.
8416 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8417
8418 2013-04-22 Daiki Ueno <ueno@gnu.org>
8419
8420 * epg.el (epg-context-pinentry-mode): New function.
8421 (epg-context-set-pinentry-mode): New function.
8422 (epg--start): Pass --pinentry-mode option to gpg command.
8423
8424 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8425
8426 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8427 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8428 `completion-at-point'. (Bug#13774)
8429
8430 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8431 default key binding for `describe-distribution' has been moved to
8432 `C-h C-o'. (Bug#13970)
8433
8434 2013-04-21 Glenn Morris <rgm@gnu.org>
8435
8436 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8437 Add doc strings.
8438 (vc-print-log): Clarify interactive prompt.
8439
8440 2013-04-20 Glenn Morris <rgm@gnu.org>
8441
8442 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8443 No longer include timestamp etc information.
8444
8445 2013-04-20 Roland Winkler <winkler@gnu.org>
8446
8447 * faces.el (read-face-name): Bug fix, return just one face if arg
8448 multiple is nil. (Bug#14209)
8449
8450 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8453 (remove-function): Autoload.
8454
8455 * comint.el (comint-redirect-original-filter-function): Remove.
8456 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8457 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8458 (vc-cvs-annotate-command):
8459 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8460 * progmodes/prolog.el (prolog-consult-compile):
8461 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8462 Use add/remove-function instead.
8463 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8464 (gud-tooltip-process-output, gud-tooltip-tips):
8465 Use add/remove-function instead.
8466 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8467 (scheme-interaction-mode, exit-scheme-interaction-mode):
8468 Use add/remove-function instead.
8469
8470 * vc/vc-dispatcher.el: Use lexical-binding.
8471 (vc--process-sentinel): Rename from vc-process-sentinel.
8472 Change last arg to be the code to run. Don't use vc-previous-sentinel
8473 and vc-sentinel-commands any more.
8474 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8475 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8476
8477 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8478
8479 * progmodes/sh-script.el (sh-imenu-generic-expression):
8480 Handle function names with a single character. (Bug#14111)
8481
8482 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8483
8484 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8485 for subroutines defined in an eval (bug#14182).
8486
8487 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8488
8489 * bookmark.el (bookmark-completing-read): Improve handling of empty
8490 string (bug#14176).
8491
8492 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8495
8496 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8497
8498 New faster Imenu implementation (bug#14058).
8499 * progmodes/python.el:
8500 (python-imenu-prev-index-position):
8501 (python-imenu-format-item-label-function)
8502 (python-imenu-format-parent-item-label-function)
8503 (python-imenu-format-parent-item-jump-label-function):
8504 New vars.
8505 (python-imenu-format-item-label)
8506 (python-imenu-format-parent-item-label)
8507 (python-imenu-format-parent-item-jump-label)
8508 (python-imenu--put-parent, python-imenu--build-tree)
8509 (python-imenu-create-index, python-imenu-create-flat-index)
8510 (python-util-popn): New functions.
8511 (python-mode): Set imenu-create-index-function to
8512 python-imenu-create-index.
8513
8514 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * winner.el (winner-active-region): Use region-active-p, activate-mark
8517 and deactivate-mark (bug#14225).
8518
8519 * simple.el (deactivate-mark): Don't inline it.
8520
8521 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8522
8523 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8524
8525 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8526
8527 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8528 file extensions from the archive-mode entry in order to prefer
8529 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8530
8531 2013-04-18 Leo Liu <sdl.web@gmail.com>
8532
8533 * bindings.el (help-event-list): Add ?\?.
8534
8535 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * subr.el (with-wrapper-hook): Declare obsolete.
8538 * simple.el (filter-buffer-substring-function): New hook.
8539 (filter-buffer-substring): Use it.
8540 (filter-buffer-substring-functions): Mark obsolete.
8541 * minibuffer.el (completion-in-region-function): New hook.
8542 (completion-in-region): Use it.
8543 (completion-in-region-functions): Mark obsolete.
8544 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8545 * abbrev.el (abbrev-expand-function): New hook.
8546 (expand-abbrev): Use it.
8547 (abbrev-expand-functions): Mark obsolete.
8548 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8549 and :filter-return.
8550
8551 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8552
8553 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8554 and do not care about match data.
8555
8556 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8559 completion tables when completing error conditions and
8560 `declare' arguments.
8561 (lisp-complete-symbol, field-complete): Mark as obsolete.
8562 (check-parens): Unmatched parens are user errors.
8563 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8564
8565 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8566
8567 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8568 command changed buffer (ie. `flyspell-pre-buffer' is not current
8569 buffer), which prevents making decisions based on invalid value of
8570 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8571 cause an error when `flyspell-pre-point' was nil after switching
8572 buffers.
8573 (flyspell-post-command-hook): No longer needs to change buffers when
8574 checking pre-word. While at it remove unnecessary progn.
8575
8576 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8577
8578 * textmodes/ispell.el (ispell-add-per-file-word-list):
8579 Fix `flyspell-correct-word-before-point' error when accepting
8580 words and `coment-padding' is an integer by using
8581 `comment-normalize-vars' (Bug #14214).
8582
8583 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8584
8585 New defun movement commands.
8586 * progmodes/python.el (python-nav--syntactically)
8587 (python-nav--forward-defun, python-nav-backward-defun)
8588 (python-nav-forward-defun): New functions.
8589
8590 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8591
8592 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8593 (python-syntax-context): Use named compiler-macro for backwards
8594 compatibility with Emacs 24.x.
8595
8596 2013-04-17 Leo Liu <sdl.web@gmail.com>
8597
8598 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8599 octave-hide-process-buffer.
8600
8601 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8604 (bug#14216).
8605
8606 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8607
8608 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8609 Fix adjustment of offset when receiving incomplete responses from GDB
8610 (bug#14129).
8611
8612 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8615 python-mode-abbrev-table.
8616 (python-skeleton-define): Adjust accordingly.
8617 (python-mode-abbrev-table): New table that inherits from it so that
8618 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8619
8620 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8621 (abbrev-symbol): Use it.
8622 (abbrev--before-point): Use it since we already handle inheritance.
8623
8624 2013-04-16 Leo Liu <sdl.web@gmail.com>
8625
8626 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8627 binding to info-lookup-symbol.
8628
8629 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8630
8631 * minibuffer.el (completion--twq-all):
8632 * term/ns-win.el (ns-initialize-window-system):
8633 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8634
8635 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8638 global bindings.
8639
8640 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8641
8642 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8643
8644 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8645 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8646 to nil.
8647 (ruby-end-of-defun): Remove the unused arg, change the docstring
8648 to reflect that this function is only used as the value of
8649 `end-of-defun-function'.
8650 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8651 to reflect an earlier change that beginning/end-of-defun functions
8652 jump between methods in a class definition, as well as top-level
8653 functions.
8654
8655 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * minibuffer.el (minibuffer-complete): Don't just scroll
8658 a *Completions* that's been iconified.
8659 (minibuffer-force-complete): Make sure repetitions do cycle when going
8660 through completion-in-region -> minibuffer-complete.
8661
8662 2013-04-15 Alan Mackenzie <acm@muc.de>
8663
8664 Correct the placement of c-cpp-delimiters when there're #s not at
8665 col 0.
8666
8667 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8668 place a submatch around the #.
8669 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8670 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8671 on the #, not BOL.
8672
8673 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8676 (advice--member-p): New arg `name'.
8677 (advice--add-function, advice-member-p): Use it (bug#14202).
8678
8679 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8680
8681 Reformulate java imenu-generic-expression.
8682 The old expression contained ill formed regexps.
8683
8684 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8685 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8686 (cc-imenu-java-method-arg-regexp): New defconsts.
8687 (cc-imenu-java-build-type-args-regex): New defun.
8688 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8689 handling of spaces in the regexp.
8690
8691 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8692
8693 * textmodes/ispell.el (ispell-command-loop): Remove
8694 flyspell highlight of a word when ispell accepts it (bug #14178).
8695
8696 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8697
8698 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8699 uses code from the previous `ange-ftp-run-real-handler'.
8700 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8701 only in case that function exist. This is needed for proper
8702 unloading of Tramp.
8703
8704 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8705
8706 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8707
8708 * textmodes/reftex.el (reftex-compile-variables): Use it.
8709
8710 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * files.el (normal-mode): Only use default major-mode if no other mode
8713 was specified.
8714
8715 * emacs-lisp/trace.el (trace-values): New function.
8716
8717 * files.el: Allow : in local variables (bug#14089).
8718 (hack-local-variable-regexp): New var.
8719 (hack-local-variables-prop-line, hack-local-variables): Use it.
8720
8721 2013-04-13 Roland Winkler <winkler@gnu.org>
8722
8723 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8724 data before it gets modified by bibtex-beginning-of-entry.
8725
8726 2013-04-13 Roland Winkler <winkler@gnu.org>
8727
8728 * textmodes/bibtex.el (bibtex-url): Doc fix.
8729
8730 2013-04-13 Roland Winkler <winkler@gnu.org>
8731
8732 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8733 does not visit a BibTeX file, exclude it from the list of buffers
8734 returned by bibtex-initialize.
8735
8736 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8737
8738 * window.el (split-window): Remove interactive form, since as a
8739 command this function is a special case of split-window-below.
8740 Correct doc string.
8741
8742 2013-04-12 Roland Winkler <winkler@gnu.org>
8743
8744 * faces.el (read-face-name): Do not override value of arg default.
8745 Allow single faces and strings as default values. Remove those
8746 elements from return value that are not faces.
8747 (describe-face): Simplify.
8748 (face-at-point): New optional args thing and multiple so that this
8749 function can provide the same functionality previously provided by
8750 read-face-name.
8751 (make-face-bold, make-face-unbold, make-face-italic)
8752 (make-face-unitalic, make-face-bold-italic, invert-face)
8753 (modify-face, read-face-and-attribute): Use face-at-point.
8754
8755 * cus-edit.el (customize-face, customize-face-other-window)
8756 * cus-theme.el (custom-theme-add-face)
8757 * face-remap.el (buffer-face-set)
8758 * facemenu.el (facemenu-set-face): Use face-at-point.
8759
8760 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8763
8764 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8765
8766 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8767 off leading { and trailing } from field values.
8768
8769 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * emacs-lisp/timer.el (timer--check): New function.
8772 (timer--time, timer-set-function, timer-event-handler): Use it.
8773 (timer-set-idle-time): Simplify.
8774 (timer--activate): CSE.
8775 (timer-event-handler): Give more info in error message.
8776 (internal-timer-start-idle): New function, moved from C.
8777
8778 * mpc.el (mpc-proc): Add `restart' argument.
8779 (mpc-proc-cmd): Use it.
8780 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8781 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8782 less often.
8783
8784 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8785
8786 * progmodes/sh-script.el: Implement `sh-mode' own
8787 `add-log-current-defun-function' (bug#14112).
8788 (sh-current-defun-name): New function.
8789 (sh-mode): Use the function.
8790
8791 2013-04-09 Bastien Guerry <bzg@gnu.org>
8792
8793 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8794
8795 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8798
8799 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8800 timer (bug#14156).
8801
8802 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8803
8804 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8805 declaration.
8806
8807 2013-04-07 Leo Liu <sdl.web@gmail.com>
8808
8809 * pcmpl-x.el: New file.
8810
8811 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8812
8813 Do not set x-display-name until X connection is established.
8814 This is needed to prevent from weird situation described at
8815 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8816 * frame.el (make-frame): Set x-display-name after call to
8817 window system initialization function, not before.
8818 * term/x-win.el (x-initialize-window-system): Add optional
8819 display argument and use it.
8820 * term/w32-win.el (w32-initialize-window-system):
8821 * term/ns-win.el (ns-initialize-window-system):
8822 * term/pc-win.el (msdos-initialize-window-system):
8823 Add compatible optional display argument.
8824
8825 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8826
8827 * files.el (normal-backup-enable-predicate): On MS-Windows and
8828 MS-DOS compare truenames of temporary-file-directory and of the
8829 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8830 don't fail comparison by compare-strings. Also, compare file
8831 names case-insensitively on MS-Windows and MS-DOS.
8832
8833 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8834
8835 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8836 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8837
8838 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8839
8840 * whitespace.el (whitespace-color-on, whitespace-color-off):
8841 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8842
8843 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8844
8845 * ispell.el (ispell-set-spellchecker-params):
8846 Really set `ispell-args' for all equivs.
8847
8848 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * ido.el (ido-completions): Use extra elements of ido-decorations
8851 (bug#14143).
8852 (ido-decorations): Update docstring.
8853
8854 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8855
8856 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8857 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8858 nil during initialization, in order not to miss changes since the
8859 file was opened. (Bug#14140)
8860
8861 2013-04-05 Leo Liu <sdl.web@gmail.com>
8862
8863 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8864
8865 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8866
8867 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8868
8869 2013-04-04 Glenn Morris <rgm@gnu.org>
8870
8871 * electric.el (electric-pair-inhibit-predicate): Add :version.
8872
8873 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8876 when a package is required several times (bug#14082).
8877
8878 2013-04-04 Roland Winkler <winkler@gnu.org>
8879
8880 * faces.el (read-face-name): Behave as promised by the docstring.
8881 Assume that arg default is a list of faces.
8882 (describe-face): Call read-face-name with list of default faces.
8883
8884 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8885
8886 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8887 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8888 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8889 the header.
8890 (bookmark-exit-hook-internal): Save even if list is empty.
8891
8892 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8893
8894 * emacs-lisp/package.el (package-pinned-packages): New var.
8895 (package--add-to-archive-contents): Obey it (bug#14118).
8896
8897 2013-04-03 Alan Mackenzie <acm@muc.de>
8898
8899 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8900 Also adapt to the new values of element 7 of a parse state.
8901
8902 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8903 parameter `not-in-delimiter'. Handle being inside comment opener.
8904 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8905 character in case we're typing a '*' after a '/'.
8906 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8907 instead by passing the parameter to c-state-pp-to-literal.
8908
8909 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8910 for elt. 7 of a parse state.
8911
8912 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8913
8914 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8915 * international/latin1-disp.el, international/mule-util.el:
8916 * language/cyril-util.el, language/european.el, language/ind-util.el:
8917 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8918 * language/tibetan.el, language/viet-util.el:
8919 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8920
8921 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8924 (electric-pair-post-self-insert-function): Use it.
8925 (electric-pair-default-inhibit): New function, extracted from
8926 electric-pair-post-self-insert-function.
8927
8928 2013-03-31 Roland Winkler <winkler@gnu.org>
8929
8930 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8931
8932 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8935
8936 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8937
8938 Un-indent after "pass" and "return" statements (Bug#13888)
8939 * progmodes/python.el (python-indent-block-enders): New var.
8940 (python-indent-calculate-indentation): Use it.
8941
8942 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8943
8944 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8945 defun. Defining it as defalias could introduce too eager
8946 byte-compiler optimization. (Bug#14030)
8947
8948 2013-03-30 Chong Yidong <cyd@gnu.org>
8949
8950 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8951
8952 2013-03-30 Leo Liu <sdl.web@gmail.com>
8953
8954 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8955 (kmacro-execute-from-register): Pass the keyboard macro to
8956 kmacro-call-macro or repeating won't work correctly.
8957
8958 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8959
8960 * progmodes/subword.el: Back to using `forward-symbol'.
8961
8962 * subr.el (forward-whitespace, forward-symbol)
8963 (forward-same-syntax): Move from thingatpt.el.
8964
8965 2013-03-29 Leo Liu <sdl.web@gmail.com>
8966
8967 * kmacro.el (kmacro-to-register): New command.
8968 (kmacro-execute-from-register): New function.
8969 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8970
8971 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * mpc.el: Use defvar-local and setq-local.
8974 (mpc--proc-connect): Connection failures are not bugs.
8975 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8976 (mpc-volume-map): Bind to the up-events.
8977
8978 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8979
8980 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8981 instead of `forward-symbol'.
8982
8983 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8986 (edebug--recursive-edit): Use it.
8987 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8988 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8989
8990 2013-03-28 Leo Liu <sdl.web@gmail.com>
8991
8992 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8993
8994 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8995
8996 * facemenu.el (list-colors-callback): New defvar.
8997 (list-colors-redisplay): New function.
8998 (list-colors-display): Install list-colors-redisplay as the
8999 revert-buffer-function. (Bug#14063)
9000
9001 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9004 and suffixes don't overlap (bug#14061).
9005
9006 * case-table.el: Use lexical-binding.
9007 (case-table-get-table): New function.
9008 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9009
9010 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9011
9012 * progmodes/subword.el: Add `superword-mode' to do word motion
9013 over symbol_words (parallels and leverages `subword-mode' which
9014 does word motion inside MixedCaseWords).
9015
9016 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9017
9018 * eshell/em-unix.el: Move su and sudo to...
9019 * eshell/em-tramp.el: ...Eshell tramp module.
9020
9021 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9024 Change return value to be a sexp. Delay `get-buffer' to after
9025 restoring the desktop (bug#13951).
9026
9027 2013-03-26 Leo Liu <sdl.web@gmail.com>
9028
9029 * register.el: Move semantic tag handling back to
9030 cedet/semantic/senator.el. (Bug#14052)
9031
9032 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9035 into the prompt either (bug#13963).
9036
9037 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9040 part of "(error-foo)".
9041
9042 2013-03-24 Juri Linkov <juri@jurta.org>
9043
9044 * replace.el (list-matching-lines-prefix-face): New defcustom.
9045 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9046 `occur-engine' if `face-differs-from-default-p' returns t.
9047 (occur-engine): Add `,' inside backquote construct to evaluate
9048 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9049 Pass `prefix-face' to the functions `occur-context-lines' and
9050 `occur-engine-add-prefix'.
9051 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9052 `prefix-face' and propertize the prefix with `prefix-face'.
9053 (Bug#14017)
9054
9055 2013-03-24 Leo Liu <sdl.web@gmail.com>
9056
9057 * nxml/rng-valid.el (rng-validate-while-idle)
9058 (rng-validate-quick-while-idle): Guard against deleted buffer.
9059 (Bug#13999)
9060
9061 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9062 is the last entry in kill-buffer-hook.
9063
9064 * files.el (kill-buffer-hook): Doc fix.
9065
9066 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9067
9068 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9069 Make it safe-local.
9070
9071 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9072
9073 2013-03-23 Leo Liu <sdl.web@gmail.com>
9074
9075 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9076 Remove.
9077
9078 * nxml/rng-valid.el (rng-validate-mode)
9079 (rng-after-change-function, rng-do-some-validation):
9080 * nxml/rng-maint.el (rng-validate-buffer):
9081 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9082 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9083 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9084 (nxml-extend-after-change-region): Use with-silent-modifications.
9085
9086 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9087 timer-idle-list.
9088
9089 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9090 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9091 timer-idle-list. (Bug#13999)
9092
9093 2013-03-23 Juri Linkov <juri@jurta.org>
9094
9095 * info.el (info-index-match): New face.
9096 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9097 main pattern and add text properties with the new face to matches
9098 in index entries relative to the beginning of the index entry.
9099 (Bug#14015)
9100
9101 2013-03-21 Eric Ludlam <zappo@gnu.org>
9102
9103 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9104 Inhibit read only while inserting objects.
9105
9106 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9107
9108 * progmodes/cfengine.el: Update docs to mention
9109 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9110 symbol motion. Remove "_" from the word syntax.
9111
9112 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9113
9114 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9115 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9116
9117 2013-03-20 Juri Linkov <juri@jurta.org>
9118
9119 * info.el (Info-next-reference-or-link)
9120 (Info-prev-reference-or-link): New functions.
9121 (Info-next-reference, Info-prev-reference): Use them.
9122 (Info-try-follow-nearest-node): Handle footnote navigation.
9123 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9124
9125 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9128 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9129
9130 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9131
9132 Suppress unnecessary non-ASCII chatter during build process.
9133 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9134 (batch-skkdic-convert): Suppress most of the chatter.
9135 It's not needed so much now that machines are faster,
9136 and its non-ASCII component was confusing; see Dmitry Gutov in
9137 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9138
9139 2013-03-20 Leo Liu <sdl.web@gmail.com>
9140
9141 * ido.el (ido-chop): Fix bug#10994.
9142
9143 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9144
9145 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9146 Remove vars.
9147 (whitespace-color-on, whitespace-color-off):
9148 Use `font-lock-fontify-buffer' (Bug#13817).
9149
9150 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9153 remapping in mode-line.
9154 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9155
9156 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9157
9158 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9159 value for `whitespace-line' face (Bug#13875).
9160 (whitespace-font-lock-keywords): Change description.
9161 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9162 the constructed keywords instead.
9163 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9164
9165 2013-03-19 Leo Liu <sdl.web@gmail.com>
9166
9167 * progmodes/compile.el (compilation-display-error): New command.
9168 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9169 C-o. (Bug#13992)
9170
9171 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9172
9173 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9174
9175 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9176
9177 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9178
9179 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9180
9181 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9182
9183 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9184 * net/tramp-gvfs.el (top):
9185 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9186 (tramp-handle-shell-command): Use it.
9187 (tramp-dissect-file-name): Raise an error when hostname is a
9188 method name, and neither method nor user is specified.
9189
9190 * net/trampver.el: Update release number.
9191
9192 2013-03-18 Leo Liu <sdl.web@gmail.com>
9193
9194 Make sure eldoc can be turned off properly.
9195 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9196 eldoc-mode.
9197 (eldoc-display-message-p): Revert last change.
9198 (eldoc-display-message-no-interference-p)
9199 (eldoc-print-current-symbol-info): Tweak.
9200
9201 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9202
9203 * doc-view.el (doc-view-new-window-function): Check the new window
9204 overlay's display property instead the char property of the
9205 buffer's first char. Use `with-selected-window' instead of
9206 `save-window-excursion' with `select-window'.
9207 (doc-view-document->bitmap): Check the current doc-view overlay's
9208 display property instead the char property of the buffer's first char.
9209
9210 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9211
9212 Automate the build of ja-dic.el (Bug#13984).
9213 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9214 from the input, rather than assume that it's been done for us by the
9215 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9216 the current date into a ja-dic.el comment, as that complicates
9217 regression testing.
9218
9219 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * whitespace.el: Fix double evaluation.
9222 (whitespace-space, whitespace-hspace, whitespace-tab)
9223 (whitespace-newline, whitespace-trailing, whitespace-line)
9224 (whitespace-space-before-tab, whitespace-indentation)
9225 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9226 obsolete defvars.
9227 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9228 (whitespace-color-on): Use a single font-lock-add-keywords call.
9229 Fix double-evaluation of face variables.
9230
9231 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9232
9233 * net/tramp-adb.el (tramp-adb-parse-device-names):
9234 Use `start-process' instead of `call-process'. Otherwise, the
9235 function might be blocked under MS Windows. (Bug#13299)
9236
9237 2013-03-17 Leo Liu <sdl.web@gmail.com>
9238
9239 Extend eldoc to display info in the mode-line. (Bug#13978)
9240 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9241 (eldoc-mode-line-string): New variable.
9242 (eldoc-minibuffer-message): New function.
9243 (eldoc-message-function): New variable.
9244 (eldoc-message): Use it.
9245 (eldoc-display-message-p)
9246 (eldoc-display-message-no-interference-p):
9247 Support eldoc-post-insert-mode.
9248
9249 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9250 (eval-expression): Run it.
9251
9252 2013-03-17 Roland Winkler <winkler@gnu.org>
9253
9254 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9255 strings in the list of return values.
9256
9257 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9258
9259 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9260 radix before checking for HMS forms.
9261
9262 2013-03-16 Leo Liu <sdl.web@gmail.com>
9263
9264 * progmodes/scheme.el: Add indentation and font-locking for λ.
9265 (Bug#13975)
9266
9267 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9268
9269 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9270 token before point (bug#13942).
9271
9272 2013-03-16 Leo Liu <sdl.web@gmail.com>
9273
9274 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9275
9276 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9277
9278 * startup.el (command-line-normalize-file-name): Fix handling of
9279 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9280 <xfq.free@gmail.com> in
9281 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9282
9283 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9284
9285 Sync with Tramp 2.2.7.
9286
9287 * net/trampver.el: Update release number.
9288
9289 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9290
9291 * doc-view.el: Fix bug#13887.
9292 (doc-view-insert-image): Don't modify overlay associated to
9293 non-live windows, and implement horizontal centering of image in
9294 case it's smaller than the window.
9295 (doc-view-new-window-function): Force redisplay of new windows on
9296 doc-view buffers.
9297
9298 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9299
9300 * saveplace.el (save-place-alist-to-file): Don't sort
9301 `save-place-alist', just pretty-print it (bug#13882).
9302
9303 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9306 Check whether `default-file-name-coding-system' is bound.
9307 It isn't in XEmacs.
9308
9309 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9312 backquotes for `obsolete' (bug#13929).
9313
9314 * international/mule.el (find-auto-coding): Include file name in
9315 obsolescence warning (bug#13922).
9316
9317 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9318
9319 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9320 for CFEngine 3-specific indentation.
9321 (cfengine3-indent-line): Use it. Fix up category regex.
9322 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9323
9324 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * type-break.el (type-break-file-name):
9327 * textmodes/remember.el (remember-data-file):
9328 * strokes.el (strokes-file):
9329 * shadowfile.el (shadow-initialize):
9330 * saveplace.el (save-place-file):
9331 * ps-bdf.el (bdf-cache-file):
9332 * progmodes/idlwave.el (idlwave-config-directory):
9333 * net/quickurl.el (quickurl-url-file):
9334 * international/kkc.el (kkc-init-file-name):
9335 * ido.el (ido-save-directory-list-file):
9336 * emulation/viper.el (viper-custom-file-name):
9337 * emulation/vip.el (vip-startup-file):
9338 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9339 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9340
9341 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9342
9343 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9344 * language/thai-word.el: Switch to UTF-8.
9345
9346 See ChangeLog.16 for earlier changes.
9347
9348 ;; Local Variables:
9349 ;; coding: utf-8
9350 ;; End:
9351
9352 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9353
9354 This file is part of GNU Emacs.
9355
9356 GNU Emacs is free software: you can redistribute it and/or modify
9357 it under the terms of the GNU General Public License as published by
9358 the Free Software Foundation, either version 3 of the License, or
9359 (at your option) any later version.
9360
9361 GNU Emacs is distributed in the hope that it will be useful,
9362 but WITHOUT ANY WARRANTY; without even the implied warranty of
9363 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9364 GNU General Public License for more details.
9365
9366 You should have received a copy of the GNU General Public License
9367 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.