e351b73fbd638918325965227cbf0a1260a0f13c
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2
3 Fix problems found while writing a test suite.
4
5 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8 to nil when running original file name handler. Otherwise,
9 there are problems with constructs like "$$FOO".
10
11 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
12 for `localname'.
13
14 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
15
16 * helpers.el: New library for misc helper functions.
17 (hash-table-keys): New function returning a list of hash keys.
18 (hash-table-values): New function returning a list of hash values.
19
20 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
21
22 * progmodes/ruby-mode.el (ruby-smie--forward-token)
23 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
24
25 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
26
27 * textmodes/fill.el (fill-single-char-nobreak-p): New function
28 checking whether point is after a 1-letter word.
29
30 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
31
32 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
33 Don't infloop when expanding region over `multiline' syntax-type that
34 begins a line (bug#15778).
35
36 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
39 Make it into a proper minor mode.
40 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
41 (rectangle-mark-mode-map): New keymap.
42 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
43
44 2013-11-04 Glenn Morris <rgm@gnu.org>
45
46 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
47
48 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
51 (ruby-smie-rules): Use smie-rule-parent instead.
52
53 * emacs-lisp/smie.el (smie-rule-parent): Always call
54 smie-indent-virtual rather than only for hanging tokens.
55 (smie--next-indent-change): New helper command.
56
57 2013-11-03 Glenn Morris <rgm@gnu.org>
58
59 * Makefile.in (abs_srcdir): Remove.
60 (emacs): Unset EMACSLOADPATH.
61
62 2013-11-02 Glenn Morris <rgm@gnu.org>
63
64 * Makefile.in (EMACS): Use a relative filename.
65 (abs_top_builddir): Remove.
66 (custom-deps, finder-data, autoloads): Use --chdir.
67
68 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
69
70 Use relative filenames in TAGS files.
71 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
72 (lisptagsfiles4, TAGS): Use relative file names.
73 (TAGS-LISP): Remove.
74 (maintainer-clean): No more TAGS-LISP file.
75
76 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
77 (lisptagsfiles4): Use absolute filenames again.
78 (TAGS, TAGS-LISP): Not everything needs to run in one line.
79 Remove all *loaddefs files, not just the first. Remove esh-groups.
80 (maintainer-clean): Delete TAGS, TAGS-LISP.
81
82 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
83
84 * emacs-lisp/package.el (package-version-join):
85 Recognize snapshot versions.
86
87 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
88
89 * subr.el (version-regexp-alist): Add support for snapshot versions.
90
91 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
92
93 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
94 New function, replacement for `smie-rule-parent' for when we want to
95 skip over our direct parent if it's an assignment token..
96 (ruby-smie-rules): Use it.
97
98 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
99
100 * progmodes/ruby-mode.el Use `syntax-propertize-function'
101 unconditionally. Remove now unnecessary forward declarations.
102 Remove XEmacs-specific setup.
103 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
104 (ruby-font-lock-syntactic-keywords)
105 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
106 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
107 (ruby-here-doc-end-syntax): Remove.
108 (ruby-mode): Don't check whether `syntax-propertize-rules' is
109 defined as function.
110
111 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
112
113 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
114
115 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
116
117 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
118 table and abbrev table, `define-derived-mode' does that for us
119 anyway.
120
121 2013-11-01 Glenn Morris <rgm@gnu.org>
122
123 * Makefile.in: Remove manual mh-e dependencies (writing .elc
124 files is atomic for some time, so no parallel compilation issues).
125
126 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
127
128 * faces.el (face-x-resources): Add :distant-foreground.
129 (region): Use :distant-foreground for gtk and ns.
130
131 2013-11-01 Tassilo Horn <tsdh@gnu.org>
132
133 Allow multiple bibliographies when BibLaTeX is used rather than
134 BibTeX.
135 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
136 (reftex-locate-bibliography-files): Us it.
137
138 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
139
140 * image.el (image-type-header-regexps): Fix the 'pbm' part to
141 allow comments in pbm files.
142
143 * term/w32-win.el (dynamic-library-alist): Support newer versions
144 of libjpeg starting with v7: look only for the DLL from the
145 version against which Emacs was built.
146 Support versions of libpng beyond 1.4.x.
147 Support libtiff v4.x.
148
149 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
150
151 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
152 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
153 Add property :safe.
154 (ruby-deep-arglist): Add property :type.
155
156 2013-10-31 Glenn Morris <rgm@gnu.org>
157
158 * Makefile.in (custom-deps, finder-data): No need to setq the target
159 variables, we are in the right directory and the defaults work fine.
160
161 2013-10-30 Glenn Morris <rgm@gnu.org>
162
163 * Makefile.in (autoloads): Do not use abs_lisp.
164
165 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
166 `newline' does not respect `standard-output', so use `princ'.
167
168 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
169
170 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
171 * buff-menu.el (Buffer-menu--unmark): New function.
172 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
173
174 2013-10-30 Glenn Morris <rgm@gnu.org>
175
176 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
177
178 * emacs-lisp/package.el (lm-homepage): Declare.
179
180 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
181 Fix doc typos.
182
183 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
184
185 * Makefile.in (finder-data, autoloads, update-subdirs)
186 (compile-main, compile-clean, compile-always, bootstrap-clean):
187 Check return value of cd.
188 (compile-calc): Remove.
189
190 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
193
194 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
195 (byte-compile-and-folded): New function.
196 (=, <, >, <=, >=): Use it.
197
198 * dos-w32.el (minibuffer-history-case-insensitive-variables)
199 (path-separator, null-device, buffer-file-coding-system)
200 (lpr-headers-switches): Check system-type before modifying them.
201 (find-buffer-file-type-coding-system): Mark obsolete.
202 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
203 find-file-not-found-set-buffer-file-coding-system.
204 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
205 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
206 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
207 (w32-direct-print-region-helper, w32-direct-print-region-function)
208 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
209 * startup.el (normal-top-level-add-subdirs-to-load-path):
210 * ps-print.el (ps-print-region-function):
211 * lpr.el (print-region-function): Use new name.
212
213 * subr.el (custom-declare-variable-early): Remove function.
214 (custom-declare-variable-list): Remove var.
215 (error, user-error): Remove `while' loop.
216 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
217 (user-emacs-directory-warning, locate-user-emacs-file):
218 Move to files.el.
219 * simple.el (read-quoted-char-radix, read-quoted-char):
220 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
221 Move from subr.el.
222 * custom.el (custom-declare-variable-list): Don't process
223 custom-declare-variable-list.
224
225 * progmodes/python.el (python-shell-get-buffer): New function.
226 (python-shell-get-process): Use it.
227 (python-shell-send-string): Always use utf-8 and add a cookie to tell
228 Python which encoding was used. Don't split-string since we only care
229 about the first line. Return the temp-file, if applicable.
230 (python-shell-send-region): Tell compile.el how to turn locations in
231 the temp-file into locations in the source buffer.
232
233 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * subr.el (undefined): Add missing behavior from the C code for
236 unbound keys.
237
238 * rect.el: Use lexical-binding. Add new rectangular region support.
239 (rectangle-mark): New command.
240 (rectangle--region): New var.
241 (deactivate-mark-hook): Reset rectangle--region.
242 (rectangle--extract-region, rectangle--insert-for-yank)
243 (rectangle--highlight-for-redisplay)
244 (rectangle--unhighlight-for-redisplay): New functions.
245 (region-extract-function, redisplay-unhighlight-region-function)
246 (redisplay-highlight-region-function): Use them to handle
247 rectangular region.
248 * simple.el (region-extract-function): New var.
249 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
250 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
251 (kill-region): Replace obsolete `yank-handler' arg with `region'.
252 (copy-region-as-kill, kill-ring-save): Add `region' argument.
253 (redisplay-unhighlight-region-function)
254 (redisplay-highlight-region-function): New vars.
255 (redisplay--update-region-highlight): New function.
256 (pre-redisplay-function): Use it.
257 (exchange-point-and-mark): Don't deactivate the mark before
258 reactivate-it anyway.
259 * comint.el (comint-kill-region): Remove yank-handler argument.
260 * delsel.el (delete-backward-char, backward-delete-char-untabify)
261 (delete-char): Remove property, since it's now part of their
262 default behavior.
263 (self-insert-iso): Remove property since this command doesn't exist.
264
265 * emacs-lisp/package.el (package--download-one-archive)
266 (describe-package-1): Don't query the user about final newline.
267
268 2013-10-29 Daniel Colascione <dancol@dancol.org>
269
270 * net/tramp.el (tramp-methods): Document new functionality.
271 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
272 tramp-hostname-checker if method provides one instead of scanning
273 argument list for "%h" to decide hostname acceptability.
274
275 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
276
277 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
278 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
279 Handle COPY-CONTENTS. (Bug#15737)
280
281 2013-10-28 Daiki Ueno <ueno@gnu.org>
282
283 * epa-file.el
284 (epa-file-cache-passphrase-for-symmetric-encryption):
285 Document that this option has no effect with GnuPG 2.0 (bug#15552).
286
287 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
288
289 * image.el (defimage):
290 (image-load-path): Doc fixes.
291
292 2013-10-27 Alan Mackenzie <acm@muc.de>
293
294 Indent statements in macros following "##" correctly.
295 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
296 Modify the "#" arm of a cond form to handle "#" and "##" operators.
297
298 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
299
300 * linum.el (linum-update-window): Fix boundary test (bug#13446).
301
302 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
303
304 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
305 after `=' is probably a new expression.
306
307 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
308
309 * man.el (man-imenu-title): New option.
310 (Man-mode-map): Add menu. (Bug#15722)
311 (Man-mode): Add imenu to menu.
312
313 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
314
315 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
316 specific in what the first arg can be: a non-keyword word,
317 string/regexp/percent literal opener, opening paren, or unary
318 operator followed directly by word.
319
320 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
323 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
324 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
325 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
326 Remove vars, they do not apply any more.
327 (prolog-mode-abbrev-table): Remove redundant declaration.
328 (prolog-upper-case-string, prolog-lower-case-string): Remove.
329 (prolog-use-smie): Remove.
330 (prolog-smie-rules): Add indentation rule for the if-then-else layout
331 supported by prolog-electric-if-then-else-flag.
332 (prolog-mode-variables, prolog-menu): Use setq-local.
333 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
334 Remove binding to `Backspace' since this key doesn't exist anyway.
335 Remove bindings for electric self-inserting keys.
336 (prog-mode): Assume it's defined.
337 (prolog-post-self-insert): New function.
338 (prolog-mode): Use it.
339 (prolog-indent-line, prolog-indent-level)
340 (prolog-find-indent-of-matching-paren)
341 (prolog-indentation-level-of-line, prolog-goto-comment-column)
342 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
343 (prolog-goto-next-paren, prolog-in-string-or-comment)
344 (prolog-tokenize, prolog-inside-mline-comment)
345 (prolog-find-start-of-mline-comment): Remove functions.
346 (prolog-find-unmatched-paren, prolog-clause-end)
347 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
348 (prolog-electric--if-then-else): Rename from
349 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
350 (prolog-tokenize-searchkey): Remove const.
351 (prolog-clause-info): Use forward-sexp.
352 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
353 (prolog-electric-if-then-else): Remove commands.
354 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
355 for use in post-self-insert-hook.
356 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
357 for use in post-self-insert-hook.
358 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
359 for use in post-self-insert-hook.
360 (prolog-electric--underscore): Rename from prolog-electric--underscore;
361 adapt it for use in post-self-insert-hook.
362
363 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
364
365 * emacs-lisp/ert.el (ert-run-tests-interactively):
366 Use `completing-read'. (Bug#9756)
367
368 2013-10-25 Eli Zaretskii <eliz@gnu.org>
369
370 * simple.el (line-move): Call line-move-1 instead of
371 line-move-visual when the current window hscroll is zero, but
372 temporary-goal-column indicates we will need to hscroll as result
373 of the movement. (Bug#15712)
374
375 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
376
377 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
378 capitalization. Use :visible instead of :active.
379 Fix `ruby-indent-exp' reference. Add menu items for the generic
380 commands that are used with SMIE.
381 (ruby-do-end-to-brace): Insert space after `{'.
382
383 2013-10-25 John Anthony <john@jo.hnanthony.com>
384
385 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
386
387 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
388
389 2013-10-25 Glenn Morris <rgm@gnu.org>
390
391 * vc/vc.el (vc-print-log): Don't use a working revision unless
392 one was explicitly specified. (Bug#15322)
393
394 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * subr.el (add-to-list): Preserve return value in compiler-macro
397 (bug#15692).
398
399 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
400
401 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
402 result. Ask user to retry using '-all' flag. (Bug#15701)
403
404 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * emacs-lisp/smie.el: New smie-config system.
407 (smie-config): New defcustom.
408 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
409 (smie-config-guess, smie-config-save): New commands.
410 (smie-config--mode-local, smie-config--buffer-local)
411 (smie-config--trace, smie-config--modefuns): New vars.
412 (smie-config--advice, smie-config--mode-hook)
413 (smie-config--setter, smie-config-local, smie-config--get-trace)
414 (smie-config--guess-value, smie-config--guess): New functions.
415 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
416 text properties. Treat "string fence" syntax like string syntax.
417
418 * progmodes/sh-script.el (sh-use-smie): Change default.
419 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
420 (sh-var-value): Simplify by CSE.
421 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
422 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
423 is used.
424 (sh-guess-basic-offset): Use cl-incf.
425 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
426
427 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
428
429 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
430 (bug#15699).
431
432 2013-10-24 Glenn Morris <rgm@gnu.org>
433
434 * Makefile.in (abs_top_srcdir): Remove.
435 (update-subdirs): Use relative path to update-subdirs.
436
437 2013-10-24 Eli Zaretskii <eliz@gnu.org>
438
439 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
440 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
441 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
442 Call unmsys--file-name before expand-file-name, not after it.
443
444 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
445
446 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
447 (ert-test-skipped): New error.
448 (ert-skip, ert-stats-skipped): New defuns.
449 (ert--skip-unless): New macro.
450 (ert-test-skipped): New struct.
451 (ert--run-test-debugger, ert-test-result-type-p)
452 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
453 (ert--stats-set-test-and-result, ert-char-for-test-result)
454 (ert-string-for-test-result, ert-run-tests-batch)
455 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
456 Handle skipped tests. (Bug#9803)
457
458 2013-10-24 Glenn Morris <rgm@gnu.org>
459
460 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
461
462 * Makefile.in (abs_top_srcdir): New, set by configure.
463 (update-subdirs): Correct build-aux location.
464
465 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
466
467 * vc/vc.el (vc-print-root-log): Always set `default-directory'
468 value, whether we could auto-deduce `backend', or not.
469
470 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
471 with parameters" example. Simplify the "is it block or is it
472 hash" check, but also make it more thorough.
473
474 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
475
476 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
477
478 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
481 { if it is hanging.
482
483 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
484 :before ";".
485
486 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
487
488 * progmodes/compile.el (compilation-directory-matcher)
489 (compilation-page-delimiter):
490 Support GNU Make-4.0 directory quoting. (Bug#15678)
491
492 2013-10-23 Leo Liu <sdl.web@gmail.com>
493
494 * ido.el (ido-tidy): Handle read-only text.
495
496 2013-10-23 Glenn Morris <rgm@gnu.org>
497
498 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
499 (emacs, compile, compile-always):
500 Quote entities that might contain whitespace.
501 (custom-deps, finder-data, autoloads): Use abs_lisp.
502 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
503 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
504 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
505
506 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
507
508 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
509 Use `following-char'.
510
511 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
514 * progmodes/ruby-mode.el (ruby-smie-rules):
515 Remove corresponding workaround. Fix indentation rule of ";" so it
516 also applies when ";" is the parent.
517
518 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
519
520 * frame.el (display-screens, display-pixel-height)
521 (display-pixel-width, display-mm-width, display-backing-store)
522 (display-save-under, display-planes, display-color-cells)
523 (display-visual-class, display-monitor-attributes-list):
524 Mention the optional ‘display’ argument in doc strings.
525
526 2013-10-22 Michael Gauland <mikelygee@amuri.net>
527
528 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
529 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
530
531 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
532
533 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
534 TODO. Add "." after " @ ".
535 (ruby-smie--at-dot-call): New function. Checks if point at method
536 call with explicit target.
537 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
538 to the method name tokens when it precedes them.
539 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
540 (ruby-smie-rules): Add rule for indentation before and after "."
541 token.
542
543 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * textmodes/remember.el (remember-diary-extract-entries):
546 Avoid add-to-list.
547
548 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
549 an instruction.
550
551 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
552
553 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
554 (ruby-smie--implicit-semi-p): Add new operator chars.
555
556 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
557 `smie-down-list'.
558 (ruby-smie--args-separator-p): Check that there's no newline
559 between method call and its arguments.
560
561 2013-10-20 Alan Mackenzie <acm@muc.de>
562
563 Allow comma separated lists after Java "implements".
564
565 * progmodes/cc-engine.el (c-backward-over-enum-header):
566 Parse commas.
567 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
568 from a "disallowed" list in enum fontification.
569
570 2013-10-20 Johan Bockgård <bojohan@gnu.org>
571
572 * startup.el (default-frame-background-mode): Remove unused defvar.
573
574 * progmodes/verilog-mode.el (verilog-mode): Don't set
575 comment-indent-function globally.
576
577 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
578
579 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
580 Move Info menu item creation to ns-win.el.
581
582 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
583 in menu bar.
584
585 * menu-bar.el: Move GNUStep specific menus...
586
587 * term/ns-win.el (ns-initialize-window-system): ... to here.
588
589 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * simple.el (newline): Only run post-self-insert-hook when
592 called interactively.
593
594 2013-10-19 Johan Bockgård <bojohan@gnu.org>
595
596 * icomplete.el (icomplete-with-completion-tables): Add :version.
597
598 2013-10-19 Alan Mackenzie <acm@muc.de>
599
600 Fix fontification bugs with constructors and const.
601
602 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
603 CASE 2) Remove the check for the absence of a suffix construct
604 after a function declaration with only types (no identifiers) in
605 the parentheses. Also, accept a function declaration with just a
606 type inside the parentheses, if this type can be positively
607 recognised as such, or if a prefix keyword like "explicit" nails
608 down the construct as a declaration.
609
610 2013-10-19 Eli Zaretskii <eliz@gnu.org>
611
612 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
613 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
614 the problem whereby selecting a menu item that leads to a
615 minibuffer prompt moves the cursor out of the minibuffer window,
616 making it hard to type at the prompt. Suggested by Stefan Monnier
617 <monnier@iro.umontreal.ca>.
618
619 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
620
621 * menu-bar.el: Don't make Services menu.
622
623 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
624
625 * ffap.el: Handle "/usr/include/c++/<version>" directories.
626 (ffap-alist): Use ffap-c++-mode for c++-mode.
627 (ffap-c++-path): New variable.
628 (ffap-c++-mode): New function.
629
630 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
631
632 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
633
634 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
635
636 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
637 introduced on 2013-09-08, which results in an infinite loop
638 requesting a password.
639
640 2013-10-18 Glenn Morris <rgm@gnu.org>
641
642 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
643
644 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
645
646 Sync with upstream verilog-mode revision 1a6ecec7.
647 * progmodes/verilog-mode.el (verilog-mode-version): Update.
648 (verilog-mode-release-date): Remove.
649 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
650 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
651 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
652 (verilog-auto-tieoff-ignore-regexp)
653 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
654 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
655 (verilog-signals-with, verilog-dir-cache-preserving)
656 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
657 Doc fixes.
658 (verilog-case-fold): New option, to control case folding in
659 regexp searches, bug597.
660 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
661 (verilog-string-match-fold, verilog-in-paren-count)
662 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
663 (verilog-at-close-struct-p): New functions.
664 (verilog-beg-block-re-ordered, verilog-extended-case-re)
665 (verilog-forward-sexp, verilog-set-auto-endcomments):
666 (verilog-leap-to-case-head): Handle "unique0" case.
667 (verilog-in-constraint-re): New constant.
668 (verilog-keywords, verilog-type-font-keywords):
669 Add some SystemVerilog 1800-2012 keywords.
670 (verilog-label-be): Remove unimplemented argument, bug669.
671 (verilog-batch-execute-func): When batch expanding clear
672 create-lockfiles to prevent spurious user locks when a file ends
673 up not changing.
674 (verilog-calculate-indent, verilog-calc-1)
675 (verilog-at-close-constraint-p, verilog-at-constraint-p)
676 (verilog-do-indent): Fix indentation of nested constraints
677 and structures.
678 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
679 (verilog-auto-inst-param): Use verilog-string-match-fold.
680 (verilog-read-inst-module-matcher):
681 Fix AUTOINST on gate primitives with #1.
682 (verilog-read-decls): Fix double-declaring user-defined typed signals.
683 Reads all user-defined typed variables.
684 (verilog-read-defines): Fix reading definitions inside comments, bug647.
685 (verilog-signals-matching-regexp)
686 (verilog-signals-not-matching-regexp, verilog-auto):
687 Respect verilog-case-fold.
688 (verilog-diff-report): Fix line count.
689 (verilog-auto-assign-modport): Remove unused local `modi'.
690 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
691 better handle multidimensional arrays.
692 Fix packed array ports misadding bit index in AUTOINST, bug637.
693 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
694 to not double-declare existing outputs and inputs, respectively.
695 (verilog-template-map): Bind U to verilog-sk-uvm-component.
696 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
697 (verilog-sk-uvm-component): New skeleton.
698 (verilog-submit-bug-report): Add verilog-case-fold,
699 remove verilog-mode-release-date.
700
701 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
702
703 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
704 as before.
705
706 2013-10-18 Reuben Thomas <rrt@sc3d.org>
707
708 * textmodes/remember.el (remember): set buffer-offer-save in
709 remember buffers (bug#13566).
710
711 2013-10-18 Daniel Colascione <dancol@dancol.org>
712
713 When evaluating forms in ielm, direct standard output to ielm
714 buffer. Add new ielm-return-for-effect command. Remove trailing
715 whitespace throughout.
716
717 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
718 (ielm-return-for-effect): New command.
719 (ielm-send-input): Accept optional `for-effect' parameter.
720 (ielm-eval-input): Accept optional `for-effect' parameter.
721 Bind `standard-output' to stream we create using
722 `ielm-standard-output-impl'. Suppress printing result when
723 `for-effect'.
724 (ielm-standard-output-impl): New function.
725 (inferior-emacs-lisp-mode): Explain new features in documentation.
726
727 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
728
729 Code cleanup.
730
731 * net/tramp.el (tramp-debug-message): Do not check for connection
732 buffer.
733 (tramp-message): Use "vector" connection property.
734
735 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
736 (tramp-equal-remote, tramp-eshell-directory-change)
737 * net/tramp-adb.el (tramp-adb-handle-copy-file)
738 (tramp-adb-handle-rename-file)
739 * net/tramp-cmds.el (tramp-list-remote-buffers)
740 (tramp-cleanup-connection, tramp-cleanup-this-connection)
741 * net/tramp-compat.el (tramp-compat-process-running-p)
742 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
743 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
744 (tramp-gvfs-handle-rename-file)
745 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
746 (tramp-set-file-uid-gid)
747 * net/tramp-smb.el (tramp-smb-handle-copy-file)
748 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
749 of `file-remote-p'.
750
751 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
752 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
753 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
754 (tramp-gw-open-network-stream): Suppress unrelated traces.
755
756 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
757 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
758 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
759 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
760 connection property.
761
762 * net/tramp-cache.el (top): Suppress traces when reading
763 persistency file.
764
765 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
766 Refactor common code. Improve debug message.
767 (tramp-maybe-open-connection)
768 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
769 connection buffer too early.
770
771 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
772 from `tramp-smb-actions-with-acl'.
773 (tramp-smb-actions-set-acl): New defconst.
774 (tramp-smb-handle-copy-directory)
775 (tramp-smb-action-get-acl): New defun, renamed from
776 `tramp-smb-action-with-acl'.
777 (tramp-smb-action-set-acl): New defun.
778 (tramp-smb-handle-set-file-acl): Rewrite.
779
780 2013-10-17 Glenn Morris <rgm@gnu.org>
781
782 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
783
784 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * skeleton.el (skeleton-newline): Remove.
787 (skeleton-internal-1): Use (insert "\n") instead.
788
789 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
790 let-bindings.
791
792 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
793 forward-sexp-function while we redo its job (bug#15613).
794
795 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
796
797 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
798 represented by lists.
799
800 2013-10-16 Glenn Morris <rgm@gnu.org>
801
802 * tmm.el (tmm--history): New dynamic variable.
803 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
804
805 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
806
807 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
808 (tramp-smb-errors): Add error messages.
809 (tramp-smb-actions-with-acl): New defconst.
810 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
811 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
812 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
813 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
814 (tramp-smb-get-stat-capability): Fix tests.
815
816 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
817
818 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
819 (bug#15580).
820
821 2013-10-16 Glenn Morris <rgm@gnu.org>
822
823 * ansi-color.el (ansi-color-drop-regexp):
824 Add 1J, 1K, 2K. (Bug#15617)
825
826 * files.el (hack-local-variables--warned-lexical): New.
827 (hack-local-variables):
828 Warn about misplaced lexical-binding. (Bug#15616)
829
830 * net/eww.el (eww-render): Always set eww-current-url,
831 and update header line. (Bug#15622)
832 (eww-display-html): ... Rather than just doing it here.
833
834 2013-10-15 Eli Zaretskii <eliz@gnu.org>
835
836 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
837 menu navigations commands.
838
839 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
840
841 * progmodes/subword.el (subword-capitalize): Be careful when
842 the search for [[:alpha:]] fails (bug#15580).
843
844 2013-10-14 Eli Zaretskii <eliz@gnu.org>
845
846 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
847 to commands that scroll the menu.
848
849 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
850
851 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
852 Handle methods ending with `?' and `!'.
853
854 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
855
856 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
857 `japanese-cp932' to `cp932' to fix the problem where saving a
858 source file written in Shift_JIS twice would end up having
859 `coding: japanese-cp932' which Ruby could not recognize.
860 (ruby-mode-set-encoding): Add support for encodings mapped to nil
861 in `ruby-encoding-map'.
862 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
863 doesn't need to be explicitly declared in magic comment.
864 (ruby-encoding-map): Add type declaration for better customize UI.
865
866 2013-10-13 Glenn Morris <rgm@gnu.org>
867
868 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
869 Occur buffers are read-only. http://bugs.debian.org/720775
870
871 * emacs-lisp/authors.el (authors-fixed-entries):
872 Comment out old alpha stuff.
873
874 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
875
876 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
877 to `after-save-hook' instead of `before-save-hook'.
878 (ruby-mode-set-encoding): Use the value of coding system used to
879 write the file. Call `basic-save-buffer-1' after modifying the
880 buffer.
881
882 2013-10-13 Alan Mackenzie <acm@muc.de>
883
884 Fix indentation/fontification of Java enum with
885 "implements"/generic.
886
887 * progmodes/cc-engine.el (c-backward-over-enum-header):
888 Extracted from the three other places and enhanced to handle generics.
889 (c-inside-bracelist-p): Uses new function above.
890 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
891 function above.
892 (c-font-lock-enum-tail): Uses new function above.
893
894 2013-10-13 Kenichi Handa <handa@gnu.org>
895
896 * international/mule-cmds.el (select-safe-coding-system): Remove a
897 superfluous condition in chekcing whether a coding system is safe
898 or not.
899
900 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
901
902 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
903
904 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
905
906 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
907
908 2013-10-13 Glenn Morris <rgm@gnu.org>
909
910 * menu-bar.el (menu-bar-update-buffers):
911 Unify Buffers menu prompt string. (Bug#15576)
912
913 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
914
915 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
916 Add some entries.
917 (authors-fixed-entries): Use accented form of name.
918
919 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
922 method calls (bug#15594).
923 (ruby-smie--args-separator-p): New function.
924 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
925 recognize paren-free method calls.
926
927 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
928 internals of universal-argument.
929
930 2013-10-11 Eli Zaretskii <eliz@gnu.org>
931
932 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
933 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
934 dropped menu on second mouse click on the menu bar.
935
936 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
939 (explicit-shell-file-name): Declare.
940 (sh--vars-before-point, sh--cmd-completion-table): New functions.
941 (sh-completion-at-point-function): New function.
942 (sh-mode): Use it.
943 (sh-smie--keyword-p): Remove unused argument.
944 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
945 vars.
946 (sh-set-shell): Always setup SMIE, even if we use the
947 old indentation code.
948
949 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
950
951 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
952 cases of ? and =.
953 (ruby-smie-rules): Simplify the "do" rule. The cases when the
954 predicate would return nil are almost non-existent.
955 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
956
957 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
958 cache also after commands that modify the buffer but don't move
959 point.
960
961 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * env.el (substitute-env-in-file-name): New function.
964 (substitute-env-vars): Extend the meaning of the optional arg.
965
966 2013-10-10 Eli Zaretskii <eliz@gnu.org>
967
968 * term/w32-win.el (dynamic-library-alist): Define separate lists
969 of GIF DLLs for versions before and after 5.0.0 of giflib.
970 (Bug#15531)
971
972 2013-10-10 João Távora <joaotavora@gmail.com>
973
974 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
975 not locked, use last revision and current source as
976 defaults. (Bug#15569)
977
978 2013-10-10 Masatake YAMATO <yamato@redhat.com>
979
980 * menu-bar.el (menu-bar-open): Don't use popup-menu if
981 menu-bar is hidden.
982
983 2013-10-10 Martin Rudalics <rudalics@gmx.at>
984
985 * window.el (pop-to-buffer-same-window): Fix doc-string.
986 (Bug#15492)
987
988 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
989
990 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
991
992 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
993
994 * calendar/icalendar.el (icalendar-import-file):
995 Fix interactive spec. (Bug#15482)
996
997 2013-10-10 Glenn Morris <rgm@gnu.org>
998
999 * desktop.el (desktop-save): Default to saving in .emacs.d,
1000 since PWD is no longer in desktop-path by default. (Bug#15319)
1001
1002 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1003 now that text mode has a menu with the same entry.
1004 (menu-bar-text-mode-auto-fill): Remove now unused func.
1005 * textmodes/text-mode.el (text-mode-map):
1006 Use auto-fill help text from menu-bar.el.
1007
1008 2013-10-10 John Anthony <john@jo.hnanthony.com>
1009
1010 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1011
1012 2013-10-09 Juri Linkov <juri@jurta.org>
1013
1014 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1015 instead of this-command-keys. Add universal-argument-more and
1016 universal-argument-minus to the list of prefix commands. (Bug#15568)
1017
1018 2013-10-09 Glenn Morris <rgm@gnu.org>
1019
1020 * vc/vc-svn.el (vc-svn-create-repo):
1021 Expand paths in file://... url. (Bug#15446)
1022
1023 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1024 Add some entries.
1025 (authors): Remove unused local variables.
1026
1027 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * profiler.el: Create a more coherent calltree from partial backtraces.
1030 (profiler-format): Hide the tail with `invisible' so that C-s can still
1031 find the hidden elements.
1032 (profiler-calltree-depth): Don't recurse so enthusiastically.
1033 (profiler-function-equal): New hash-table-test.
1034 (profiler-calltree-build-unified): New function.
1035 (profiler-calltree-build): Use it.
1036 (profiler-report-make-name-part): Indent the calltree less.
1037 (profiler-report-mode): Add visibility specs for profiler-format.
1038 (profiler-report-expand-entry, profiler-report-toggle-entry):
1039 Expand the whole subtree when provided with a prefix arg.
1040
1041 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1042
1043 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1044 iuwu-mod token.
1045 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1046 hanging iuwu-mod token.
1047 (ruby-smie--forward-token): Do not include a dot after a token in
1048 that token.
1049 (ruby-smie--backward-token): Likewise.
1050
1051 2013-10-08 Juri Linkov <juri@jurta.org>
1052
1053 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1054 to isearch-other-control-char.
1055 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1056 and isearch-post-command-hook to post-command-hook.
1057 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1058 and isearch-post-command-hook from post-command-hook.
1059 (isearch-unread-key-sequence)
1060 (isearch-reread-key-sequence-naturally)
1061 (isearch-lookup-scroll-key, isearch-other-control-char)
1062 (isearch-other-meta-char): Remove functions.
1063 (isearch-pre-command-hook, isearch-post-command-hook):
1064 New functions based on isearch-other-meta-char rewritten
1065 relying on the new behavior of overriding-terminal-local-map
1066 that does not replace the local keymaps any more. (Bug#15200)
1067
1068 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1069
1070 Support menus on text-mode terminals.
1071 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1072 functionality.
1073
1074 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1075
1076 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1077 Move here from mouse.el.
1078 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1079 and arrow keys.
1080 (tty-menu-navigation-map): New map for TTY menu navigation.
1081
1082 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1083
1084 * frame.el (display-mouse-p): Report text-mode mouse as available
1085 on w32.
1086 (display-popup-menus-p): Report availability if mouse is
1087 available; don't condition on window-system.
1088
1089 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1090 (tty-menu-selected-face): New faces.
1091
1092 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1095 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1096 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1097 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1098 New constants.
1099 (lisp-mode-variables): New `elisp' argument.
1100 (emacs-lisp-mode): Use it.
1101 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1102 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1103
1104 * indent.el: Use lexical-binding.
1105 (indent-region): Add progress reporter.
1106 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1107 last step.
1108 (indent--next-tab-stop): New function to implement this behavior.
1109 (tab-to-tab-stop, move-to-tab-stop): Use it.
1110
1111 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1112
1113 * indent.el (indent-rigidly--current-indentation): New function.
1114 (indent-rigidly-map): New var.
1115 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1116
1117 2013-10-08 Bastien Guerry <bzg@gnu.org>
1118
1119 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1120
1121 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * progmodes/perl-mode.el: Use lexical-binding.
1124 Remove redundant :group args.
1125 (perl-nochange): Change default to be closer to other major modes's
1126 standard behavior.
1127 (perl-indent-line): Don't consider text on current line as a
1128 valid beginning of function from which to indent.
1129
1130 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1131 with more than one argument (bug#15538).
1132
1133 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1134
1135 * vc/pcvs.el: Use lexical-binding.
1136 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1137 environment of `eval'.
1138 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1139 than a list of expressions. Adjust callers.
1140 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1141
1142 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1143
1144 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1145 case of the dot in a chained method call being on the following line.
1146
1147 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * electric.el (electric-indent-inhibit): New var.
1150 (electric-indent-post-self-insert-function): Use it.
1151 * progmodes/python.el (python-mode): Set it.
1152
1153 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1154 open braces.
1155
1156 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1157
1158 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1159 (css-mode): Use electric-indent-chars.
1160
1161 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1162 (font-lock-beg, font-lock-end): Move before first use.
1163 (nxml-mode): Use syntax-propertize-function.
1164 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1165 (nxml-extend-after-change-region): Remove.
1166 * nxml/xmltok.el: Use lexical-binding.
1167 (xmltok-save): Use `declare'.
1168 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1169 * nxml/nxml-util.el: Use lexical-binding.
1170 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1171 Use `declare'.
1172 * nxml/nxml-ns.el: Use lexical-binding.
1173 (nxml-ns-save): Use `declare'.
1174 (nxml-ns-prefixes-for): Avoid add-to-list.
1175 * nxml/rng-match.el: Use lexical-binding.
1176 (rng--ipattern): Use cl-defstruct.
1177 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1178 (rng-cons-group-after, rng-subst-group-after)
1179 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1180 Use closures instead of `(lambda...).
1181
1182 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1183
1184 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1185 of BEG and END.
1186
1187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1188 Use `tramp-handle-insert-file-contents'.
1189 (tramp-gvfs-handle-insert-file-contents): Remove function.
1190
1191 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1192 Use `save-restriction' in order to keep markers.
1193
1194 * net/trampver.el: Update release number.
1195
1196 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * progmodes/compile.el (compilation-parse-errors):
1199 Use compilation--put-prop.
1200 (compilation--ensure-parse): Check compilation-multiline.
1201
1202 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1203
1204 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1205 lexical-binding.
1206
1207 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1208
1209 * progmodes/ruby-mode.el: Fix recently added tests.
1210 (ruby-smie-grammar): Add - and +.
1211 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1212 (ruby-smie--backward-id): New functions.
1213 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1214 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1215 any more.
1216
1217 2013-10-07 Leo Liu <sdl.web@gmail.com>
1218
1219 * register.el (register-preview-delay)
1220 (register-preview-functions): New variables.
1221 (register-read-with-preview, register-preview)
1222 (register-describe-oneline): New functions.
1223 (point-to-register, window-configuration-to-register)
1224 (frame-configuration-to-register, jump-to-register)
1225 (number-to-register, view-register, insert-register)
1226 (copy-to-register, append-to-register, prepend-to-register)
1227 (copy-rectangle-to-register): Use register-read-with-preview to
1228 read register. (Bug#15525)
1229
1230 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1231
1232 * net/network-stream.el (network-stream-open-starttls): Don't add
1233 --insecure if it's already present, because that gnutls-cli
1234 rejects getting that parameter twice.
1235
1236 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1239 keyword, too.
1240
1241 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1242
1243 * newcomment.el (comment-use-global-state): Change default value
1244 to t, mark obsolete (Bug#15251).
1245 (comment-beginning): In addition to `comment-to-syntax', check the
1246 value of `comment-use-global-state'.
1247
1248 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1251 (ruby-comment-column): Follow the global default, by default.
1252 (ruby-smie-grammar): Add assignment syntax.
1253 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1254 open-paren, a comma, or a \.
1255 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1256 and line continuations.
1257 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1258 followed by implicit semi-colons. Add rule for string concatenation
1259 and for indentation at BOB.
1260 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1261
1262 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1263 calling next-sexp, since next-token may have skipped chars which
1264 next-sexp doesn't know should be skipped!
1265
1266 2013-10-05 Leo Liu <sdl.web@gmail.com>
1267
1268 * progmodes/octave.el (octave-send-region):
1269 Call compilation-forget-errors.
1270
1271 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1272
1273 * vc/vc-svn.el (vc-svn-find-admin-dir):
1274 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1275 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1276 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1277 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1278
1279 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1282
1283 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * subr.el (read-passwd): Hide chars even when called within a context
1286 where after-change-functions is disabled (bug#15501).
1287 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1288 until we removed ourself from overriding-terminal-local-map.
1289
1290 2013-10-04 Leo Liu <sdl.web@gmail.com>
1291
1292 * progmodes/octave.el (inferior-octave-mode):
1293 Call compilation-forget-errors.
1294
1295 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1296
1297 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1298
1299 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * net/secrets.el (secrets-create-collection): Add optional
1302 argument ALIAS. Use proper Label keyword. Append ALIAS as
1303 dbus-call-method argument. (Bug#15516)
1304
1305 2013-10-04 Leo Liu <sdl.web@gmail.com>
1306
1307 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1308 (inferior-octave-compilation-font-lock-keywords): New variables.
1309 (compilation-error-regexp-alist)
1310 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1311 (inferior-octave-mode): Use compilation-shell-minor-mode.
1312
1313 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1314
1315 * minibuffer.el (completion--replace): Be careful that `end' might be
1316 a marker.
1317
1318 2013-10-03 Daiki Ueno <ueno@gnu.org>
1319
1320 Add support for package signature checking.
1321 * emacs-lisp/package.el (url-http-file-exists-p)
1322 (epg-make-context, epg-context-set-home-directory)
1323 (epg-verify-string, epg-context-result-for)
1324 (epg-signature-status, epg-signature-to-string)
1325 (epg-check-configuration, epg-configuration)
1326 (epg-import-keys-from-file): Declare.
1327 (package-check-signature): New user option.
1328 (package-unsigned-archives): New user option.
1329 (package-desc): Add `signed' field.
1330 (package-load-descriptor): Set `signed' field if .signed file exists.
1331 (package--archive-file-exists-p): New function.
1332 (package--check-signature): New function.
1333 (package-install-from-archive): Check package signature.
1334 (package--download-one-archive): Check archive signature.
1335 (package-delete): Remove .signed file.
1336 (package-import-keyring): New command.
1337 (package-refresh-contents): Import default keyring.
1338 (package-desc-status): Add "unsigned" status.
1339 (describe-package-1, package-menu--print-info)
1340 (package-menu-mark-delete, package-menu--find-upgrades)
1341 (package-menu--status-predicate): Support "unsigned" status.
1342
1343 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1346 the new compilation scheme using the new byte-codes.
1347
1348 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1349 (byte-pophandler): New byte codes.
1350 (byte-goto-ops): Adjust accordingly.
1351 (byte-compile--use-old-handlers): New var.
1352 (byte-compile-catch): Use new byte codes depending on
1353 byte-compile--use-old-handlers.
1354 (byte-compile-condition-case--old): Rename from
1355 byte-compile-condition-case.
1356 (byte-compile-condition-case--new): New function.
1357 (byte-compile-condition-case): New function that dispatches depending
1358 on byte-compile--use-old-handlers.
1359 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1360 when we can.
1361
1362 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1363 Optimize under `condition-case' and `catch' if
1364 byte-compile--use-old-handlers is nil.
1365 (disassemble-offset): Handle new bytecodes.
1366
1367 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * subr.el (error): Use `declare'.
1370 (decode-char, encode-char): Use advertised-calling-convention instead
1371 of the docstring to discourage use of the `restriction' arg.
1372
1373 2013-10-03 Daiki Ueno <ueno@gnu.org>
1374
1375 * epg.el (epg-verify-file): Add a comment saying that it does not
1376 notify verification error as a return value nor a signal.
1377 (epg-verify-string): Ditto.
1378
1379 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1380
1381 * progmodes/compile.el (compilation-start): Try globbing the arg to
1382 `cd' (bug#15417).
1383
1384 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1385
1386 Sync with Tramp 2.2.8.
1387
1388 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1389 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1390 * net/trampver.el: Update release number.
1391
1392 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1393
1394 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1395 and default-process-coding-system for darwin only.
1396
1397 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1400
1401 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1402
1403 * vc/vc-git.el (vc-git-grep): Disable pager.
1404
1405 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1406
1407 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1408 Use :url instead of :homepage, as per
1409 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1410
1411 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1412 non-nil, use `syntax-ppss' (Bug#15251).
1413
1414 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1415
1416 * progmodes/octave.el (inferior-octave-startup-file):
1417 Prefer ~/.emacs.d/init_octave.m.
1418
1419 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1420
1421 * emacs-lisp/package.el (package-desc-from-define):
1422 Accept additional arguments as plist, convert them to an alist and store
1423 them in the `extras' slot.
1424 (package-generate-description-file): Convert extras alist back to
1425 plist and append to the `define-package' form arguments.
1426 (package--alist-to-plist): New function.
1427 (package--ac-desc): Add `extras' slot.
1428 (package--add-to-archive-contents): Check if the archive-contents
1429 vector is long enough, and if it is, pass its `extras' slot value
1430 to `package-desc-create'.
1431 (package-buffer-info): Call `lm-homepage', pass the returned value
1432 to `package-desc-from-define'.
1433 (describe-package-1): Render the homepage button (Bug#13291).
1434
1435 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1436 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1437
1438 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1439
1440 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1441 and default-process-coding-system to utf-8-unix (Bug#15402).
1442
1443 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1444
1445 * subr.el (looking-back): Do not recommend using looking-back.
1446
1447 2013-09-28 Alan Mackenzie <acm@muc.de>
1448
1449 Fix indentation/fontification of Java enum with "implements".
1450
1451 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1452 regexp which matches "implements", etc., in Java.
1453 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1454 specifier clauses coming after "enum".
1455 * progmodes/cc-fonts.el (c-font-lock-declarations)
1456 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1457 after "enum".
1458
1459 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1460
1461 * faces.el (region): Change ns_selection_color to
1462 ns_selection_fg_color, add ns_selection_bg_color.
1463
1464 2013-09-28 Leo Liu <sdl.web@gmail.com>
1465
1466 * progmodes/octave.el (inferior-octave-completion-table)
1467 (inferior-octave-completion-at-point): Minor tweaks.
1468
1469 * textmodes/ispell.el (ispell-lookup-words): Rename from
1470 lookup-words. (Bug#15460)
1471 (lookup-words): Obsolete.
1472 (ispell-complete-word, ispell-command-loop): All uses changed.
1473
1474 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1475
1476 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1477 (octave-mode-menu): Add octave-send-buffer.
1478 (octave-send-buffer): New function.
1479
1480 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1481
1482 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1483 octave-lookfor.
1484 (octave-mode-menu): Add octave-lookfor.
1485 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1486 octave-lookfor.
1487 (octave-lookfor): New function.
1488
1489 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * emacs-lisp/cl-macs.el:
1492 (cl--loop-destr-temps): Remove.
1493 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1494 its convention.
1495 (cl--loop-set-iterator-function): New function.
1496 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1497 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1498 Bind `it' with `let' instead of substituting it with `cl-subst'.
1499 (cl--unused-var-p): New function.
1500 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1501 Eliminate some unused variable warnings (bug#15326).
1502
1503 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1504
1505 * doc-view.el (doc-view-scale-reset): Rename from
1506 `doc-view-reset-zoom-level'.
1507 (doc-view-scale-adjust): New command.
1508 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1509 `doc-view-scale-adjust'.
1510
1511 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1512
1513 * doc-view.el (doc-view-reset-zoom-level): New command.
1514 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1515 zoom commands (bug#15466).
1516
1517 2013-09-26 Kenichi Handa <handa@gnu.org>
1518
1519 * international/quail.el (quail-help): Make it not a command.
1520
1521 2013-09-26 Leo Liu <sdl.web@gmail.com>
1522
1523 * minibuffer.el (completion-all-sorted-completions): Make args
1524 optional as they are.
1525
1526 2013-09-25 Daniel Colascione <dancol@dancol.org>
1527
1528 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1529 specs are and that they're not evaluated.
1530
1531 2013-09-24 Sam Steingold <sds@gnu.org>
1532
1533 * midnight.el (clean-buffer-list-kill-regexps)
1534 (clean-buffer-list-kill-buffer-names): Update for the new Man
1535 buffer naming which includes the object name.
1536
1537 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1540 (eshell-parse-command, eshell-parse-pipeline): Use it since
1541 eshell-separate-commands requires a dynamic scoped var.
1542 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1543
1544 2013-09-23 Leo Liu <sdl.web@gmail.com>
1545
1546 * autoinsert.el (auto-insert-alist): Make the value of
1547 lexical-binding match its file setting.
1548
1549 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1552
1553 * autoarg.el (autoarg-kp-digit-argument):
1554 * electric.el (Electric-command-loop):
1555 * kmacro.el (kmacro-step-edit-insert):
1556 Do not set universal-argument-num-events.
1557
1558 2013-09-22 Leo Liu <sdl.web@gmail.com>
1559
1560 * files.el (interpreter-mode-alist): Add octave.
1561
1562 2013-09-21 Alan Mackenzie <acm@muc.de>
1563
1564 C++: fontify identifier in declaration following "public:" correctly.
1565 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1566 to match "public", etc.
1567 (c-decl-prefix-re): Add ":" into the C++ value.
1568 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1569 bit. Add a check for a ":" preceded by "public", etc.
1570
1571 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1572
1573 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1574 recognized by GDB 7.5 and later.
1575
1576 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1577
1578 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1579
1580 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * subr.el (internal--call-interactively): New const.
1583 (called-interactively-p): Use it (bug#3984).
1584
1585 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1586
1587 * vc/pcvs.el (cvs-mode-ignore):
1588 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1589 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1590
1591 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1594 (eshell-ls-orig-insert-directory): Remove.
1595 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1596 (eshell-ls-use-in-dired): Use advice-add/remove.
1597 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1598 Add `orig-fun' arg for use in :around advice.
1599 Make it check (redundantly) eshell-ls-use-in-dired.
1600
1601 2013-09-19 Glenn Morris <rgm@gnu.org>
1602
1603 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1604
1605 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1606
1607 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1608
1609 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1612 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1613 (tramp-get-remote-python): New defuns.
1614 (tramp-get-remote-uid-with-perl)
1615 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1616 contributed by yary <not.com@gmail.com> (tiny change).
1617 (tramp-get-remote-uid-with-python)
1618 (tramp-get-remote-gid-with-python): New defuns. Python code
1619 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1620 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1621
1622 2013-09-19 Glenn Morris <rgm@gnu.org>
1623
1624 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1625
1626 * eshell/em-unix.el (eshell-remove-entries):
1627 Rename argument to avoid name-clash with global `top-level'.
1628
1629 * eshell/esh-proc.el (eshell-kill-process-function):
1630 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1631 (eshell-reset-after-proc): Remove unused arg `proc'.
1632
1633 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1634 (directory-files-and-attributes): Mark unused arg.
1635
1636 * eshell/em-unix.el (eshell-remove-entries):
1637 Remove unused arg `path'. Update callers.
1638
1639 * eshell/em-hist.el (eshell-hist-parse-arguments):
1640 Remove unused arg `silent'. Update callers.
1641
1642 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1643 Fix (f)boundp mix-up.
1644
1645 * eshell/em-smart.el (eshell-smart-scroll-window)
1646 (eshell-disable-after-change):
1647 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1648
1649 2013-09-18 Alan Mackenzie <acm@muc.de>
1650
1651 Fix fontification of type when followed by "const".
1652 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1653 "known" types from fontification.
1654
1655 2013-09-18 Glenn Morris <rgm@gnu.org>
1656
1657 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1658 (chart-face-list): Drop Emacsen without display-color-p.
1659
1660 * net/eww.el (libxml-parse-html-region): Declare.
1661 (eww-display-html): Explicit error if no libxml2 support.
1662
1663 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1664
1665 * image.el (image-type-from-buffer, image-multi-frame-p):
1666 Remove --without-x warning/error.
1667
1668 * mouse.el (mouse-yank-primary):
1669 * term.el (term-mouse-paste):
1670 Reorder to silence --without-x compilation.
1671
1672 * mpc.el (doc-view-mode): Silence --without-x compilation.
1673
1674 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1675 Silence --without-x compilation.
1676
1677 * progmodes/gud.el (gud-find-file, gud-mode):
1678 Silence --without-x compilation.
1679 (tooltip-mode): Declare.
1680
1681 * wdired.el (dired-backup-overwrite): Remove declaration.
1682 (wdired-mode-map): Add doc string.
1683
1684 * custom.el (x-get-resource): Declare.
1685
1686 * eshell/em-glob.el (ange-cache):
1687 * eshell/em-unix.el (ange-cache): Declare.
1688
1689 * faces.el (x-display-list, x-open-connection, x-get-resource):
1690 Declare.
1691
1692 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1693 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1694 Declare.
1695
1696 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1697
1698 * net/gnutls.el (gnutls-log-level): Declare.
1699
1700 * net/shr.el (image-size, image-animate): Declare.
1701
1702 * simple.el (font-info): Declare.
1703
1704 * subr.el (x-popup-dialog): Declare.
1705
1706 * term/common-win.el (x-select-enable-primary)
1707 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1708 Declare.
1709
1710 * term/ns-win.el (x-handle-args): Declare.
1711
1712 * term/x-win.el (x-select-enable-clipboard): Declare.
1713
1714 * term/w32-win.el (create-default-fontset): Declare.
1715
1716 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1717 Declare.
1718
1719 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1720 (fit-frame-to-buffer): Explicit error if --without-x.
1721 (mouse-autoselect-window-select): Silence compiler.
1722
1723 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1724
1725 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1726 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1727 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1728 * eshell/esh-util.el (eshell-sublist):
1729 Remove unused local variables.
1730
1731 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1732
1733 * textmodes/two-column.el: Make 2C-split work for --without-x.
1734 (scroll-bar-columns): Autoload.
1735 (top-level): Require fringe when compiling.
1736
1737 2013-09-18 Leo Liu <sdl.web@gmail.com>
1738
1739 * subr.el (add-hook): Robustify to handle closure as well.
1740
1741 2013-09-17 Glenn Morris <rgm@gnu.org>
1742
1743 * simple.el (messages-buffer-mode-map): Unbind "g".
1744
1745 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * help-mode.el (help-mode-finish): Use derived-mode-p.
1748 Remove obsolete highlighting.
1749
1750 * play/life.el (life-mode): Use define-derived-mode. Derive from
1751 special-mode.
1752 (life): Let-bind inhibit-read-only.
1753 (life-setup): Avoid `setq'. Use `life-mode'.
1754
1755 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1756 which should not be needed any more.
1757 (package-menu-refresh, package-menu-describe-package): Use user-error.
1758
1759 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1760 (eshell-post-rewrite-command-hook): Make obsolete.
1761 (eshell-parse-command): Simplify.
1762 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1763 (eshell--cmd): Declare.
1764 (eshell-parse-pipeline): Remove unused var `final-p'.
1765 Pass a dynvar to eshell-post-rewrite-command-hook.
1766 Implement the new eshell-post-rewrite-command-function.
1767 (eshell-invoke-directly): Remove unused arg `input'.
1768 * eshell/esh-io.el (eshell-io-initialize):
1769 Use eshell-post-rewrite-command-function (bug#15399).
1770 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1771 adjust to new calling convention.
1772 (eshell-create-handles): Rename args to avoid clashing with dynvar
1773 `standard-output'.
1774
1775 2013-09-17 Glenn Morris <rgm@gnu.org>
1776
1777 * simple.el (messages-buffer-mode): New major mode.
1778 (messages-buffer): New function.
1779 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1780 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1781 (ert-run-test): Use `messages-buffer' function.
1782 (ert--force-message-log-buffer-truncation): Ignore read-only.
1783 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1784 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1785
1786 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1789
1790 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1791
1792 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * icomplete.el (icomplete-in-buffer): New var.
1795 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1796 vars and replace them with functions.
1797 (icomplete-minibuffer-setup): Adjust accordingly.
1798 (icomplete--completion-table, icomplete--completion-predicate)
1799 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1800 New functions.
1801 (icomplete-forward-completions, icomplete-backward-completions)
1802 (icomplete-simple-completing-p, icomplete-exhibit)
1803 (icomplete-completions): Use them.
1804 (icomplete--in-region-buffer): New var.
1805 (icomplete--in-region-setup): New function.
1806 (icomplete-mode): Use it.
1807
1808 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1809 (bug#15379).
1810 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1811 return args and options.
1812 (eshell-eval-using-options): Use the new return value of
1813 eshell--do-opts to set the options's vars in their scope.
1814 (eshell--set-option): Rename from eshell-set-option.
1815 Add arg `opt-vals'.
1816 (eshell--process-option): Rename from eshell-process-option.
1817 Add arg `opt-vals'.
1818 (eshell--process-args): Use an `opt-vals' alist to store the options's
1819 values during their processing and return them additionally to the
1820 remaining args.
1821
1822 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1823
1824 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1825 continuation character an operator, as far as indentation is
1826 concerned (Bug#15369).
1827
1828 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1829
1830 * window.el (window--state-put-2): Don't process buffer state
1831 when buffer doesn't exist any more (Bug#15382).
1832
1833 2013-09-15 Glenn Morris <rgm@gnu.org>
1834
1835 * eshell/em-unix.el (eshell/rm):
1836 Make -f ignore missing files. (Bug#15373)
1837
1838 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1839 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1840 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1841
1842 2013-09-14 Glenn Morris <rgm@gnu.org>
1843
1844 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1845
1846 2013-09-13 Glenn Morris <rgm@gnu.org>
1847
1848 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1849 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1850
1851 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1852
1853 * frame.el (x-focus-frame): Mark as declared in frame.c.
1854
1855 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * ls-lisp.el: Use advice-add.
1858 (original-insert-directory): Remove.
1859 (ls-lisp--insert-directory): Rename from insert-directory; add
1860 `orig-fun' argument.
1861 (insert-directory): Advise.
1862
1863 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1864
1865 * term.el (term-emulate-terminal): Decode the command string
1866 before passing it to term-command-hook. (Bug#15337)
1867
1868 2013-09-13 Glenn Morris <rgm@gnu.org>
1869
1870 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1871
1872 * eshell/esh-ext.el (eshell-search-path): Declare.
1873
1874 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1875 Otherwise an error occurs if eshell-dirs module not loaded.
1876
1877 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1878
1879 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1882 `tramp-check-proper-host'. Check for a valid method name.
1883
1884 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1885 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1886 * net/tramp-sh.el (tramp-maybe-open-connection):
1887 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1888
1889 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1890 also for hash values.
1891
1892 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * term/ns-win.el (parameters): Don't declare as dynamic.
1895 (before-make-frame-hook): Don't add ineffective function.
1896
1897 * eshell/*.el: Use lexical-binding (bug#15231).
1898
1899 2013-09-12 Kenichi Handa <handa@gnu.org>
1900
1901 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1902
1903 2013-09-12 Glenn Morris <rgm@gnu.org>
1904
1905 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1906 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1907
1908 * subr.el (do-after-load-evaluation): Also give compiler warnings
1909 when obsolete files are used (except by obsolete files).
1910
1911 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1912 in the status output, assume `filename' is the first. (Bug#15322)
1913
1914 * vc/vc.el (vc-deduce-fileset): Doc fix.
1915
1916 * calc/calc-help.el (Info-goto-node):
1917 * progmodes/cperl-mode.el (Info-find-node):
1918 * vc/ediff.el (Info-goto-node): Update declarations.
1919
1920 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1921
1922 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1923 (vc-bzr-pull): Require vc-dispatcher.
1924 * vc/vc-git.el (vc-compilation-mode): Declare.
1925 (vc-git-pull): Require vc-dispatcher.
1926
1927 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1928
1929 * progmodes/octave.el (help-button-action): Declare.
1930
1931 * shell.el (shell-directory-tracker): Output error as a message
1932 rather than just returning it as a string.
1933 (shell-process-pushd): Remove useless use of message.
1934
1935 * dframe.el (dframe-timer-fn):
1936 * files.el (dir-locals-read-from-file):
1937 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1938 (mpc-format):
1939 * reveal.el (reveal-post-command):
1940 * saveplace.el (load-save-place-alist-from-file):
1941 * shell.el (shell-resync-dirs):
1942 * w32-common-fns.el (x-get-selection-value):
1943 * emacs-lisp/copyright.el (copyright-find-copyright):
1944 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1945 * emulation/tpu-edt.el (tpu-copy-keyfile):
1946 * play/bubbles.el (bubbles--mark-neighbourhood):
1947 * progmodes/executable.el
1948 (executable-make-buffer-file-executable-if-script-p):
1949 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1950
1951 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 Cleanup Eshell to rely less on dynamic scoping.
1954 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1955 last-value, and ext-command here. Bind `args' closer to `body'.
1956 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1957 (eshell--args): Declare new dynamic var.
1958 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1959 last-value, and ext-command. Pass `args' to `body'.
1960 (eshell-process-args): Bind eshell--args.
1961 (eshell-set-option): Use eshell--args.
1962 * eshell/eshell.el (eshell): Use derived-mode-p.
1963 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1964 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1965 (eshell-glob-function): Declare.
1966 * eshell/esh-util.el: Require cl-lib.
1967 (eshell-read-hosts-file): Avoid add-to-list.
1968 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1969 `err'.
1970 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1971 Declare.
1972 (eshell/diff): Remove unused var `err'.
1973 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1974 `killflag'.
1975 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1976 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1977 first use.
1978 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1979 Move declaration before first use.
1980 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1981 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1982 rely on cl-return.
1983
1984 2013-09-12 Glenn Morris <rgm@gnu.org>
1985
1986 * term/ns-win.el (global-map): Remove binding for ispell-next,
1987 deleted 1999-05-29. (Bug#15357)
1988
1989 2013-09-11 Glenn Morris <rgm@gnu.org>
1990
1991 * echistory.el (electric-command-history): Remove call to deleted func.
1992
1993 * play/landmark.el (landmark-mode): Fix typos.
1994
1995 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1996 Check cvs-sort-ignore-file is bound.
1997
1998 * savehist.el: No need for cl when compiling on Emacs.
1999
2000 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2003 (bug#15338).
2004 (eshell-self-insert-command, eshell-send-invisible):
2005 Remove unused argument.
2006 (eshell-handle-control-codes): Remove unused var `orig'.
2007 Avoid delete-backward-char.
2008
2009 * files.el (set-auto-mode): Simplify a bit further.
2010
2011 2013-09-11 Glenn Morris <rgm@gnu.org>
2012
2013 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2014 (set-auto-mode): Don't regexp-quote elements.
2015 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2016 * progmodes/cc-mode.el (interpreter-mode-alist):
2017 * progmodes/ruby-mode.el (interpreter-mode-alist):
2018 Revert previous change.
2019
2020 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * play/snake.el (snake-mode):
2023 * play/mpuz.el (mpuz-mode):
2024 * play/landmark.el (lm-mode):
2025 * play/blackbox.el (blackbox-mode):
2026 * play/5x5.el (5x5-mode):
2027 * obsolete/options.el (Edit-options-mode):
2028 * net/quickurl.el (quickurl-list-mode):
2029 * net/newst-treeview.el (newsticker-treeview-mode):
2030 * mail/rmailsum.el (rmail-summary-mode):
2031 * mail/mspools.el (mspools-mode):
2032 * locate.el (locate-mode):
2033 * ibuffer.el (ibuffer-mode):
2034 * emulation/ws-mode.el (wordstar-mode):
2035 * emacs-lisp/debug.el (debugger-mode):
2036 * array.el (array-mode):
2037 * net/eudc.el (eudc-mode): Use define-derived-mode.
2038 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2039 Move initialization into declaration.
2040 (mairix-searches-mode): Use define-derived-mode.
2041 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2042 (eudc-edit-hotlist): Use dolist.
2043 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2044 (Man-mode): Use define-derived-mode.
2045 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2046 (Info-edit-mode): Use define-derived-mode.
2047 (Info-cease-edit): Use Info-mode.
2048 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2049 into declaration.
2050 (eshell-mode): Use define-derived-mode.
2051 * chistory.el (command-history-mode-map): Rename from
2052 command-history-map.
2053 (command-history-mode): Use define-derived-mode.
2054 (Command-history-setup): Remove function.
2055 * calc/calc.el (calc-trail-mode-map): New var.
2056 (calc-trail-mode): Use define-derived-mode.
2057 (calc-trail-buffer): Set calc-main-buffer manually.
2058 * bookmark.el (bookmark-insert-annotation): New function.
2059 (bookmark-edit-annotation): Use it.
2060 (bookmark-edit-annotation-mode): Make it a proper major mode.
2061 (bookmark-send-edited-annotation): Use derived-mode-p.
2062 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2063 closer to its ideal place. Use \' to match EOS.
2064
2065 * profiler.el (profiler-calltree-find): Use function-equal.
2066
2067 2013-09-10 Glenn Morris <rgm@gnu.org>
2068
2069 * files.el (interpreter-mode-alist): Convert to regexps.
2070 (set-auto-mode): Adapt for this. (Bug#15306)
2071 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2072 Comment out unused variable.
2073 * progmodes/cc-mode.el (interpreter-mode-alist):
2074 * progmodes/python.el (interpreter-mode-alist):
2075 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2076 * progmodes/sh-script.el (sh-set-shell):
2077 No longer use interpreter-mode-alist to get list of shells.
2078
2079 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2080
2081 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * simple.el: Use set-temporary-overlay-map for universal-argument.
2084 (universal-argument-map): Don't use default-bindings (bug#15317).
2085 Bind switch-frame explicitly. Replace universal-argument-minus with
2086 a conditional binding.
2087 (universal-argument-num-events, saved-overriding-map): Remove.
2088 (restore-overriding-map): Remove.
2089 (universal-argument--mode): Rename from save&set-overriding-map,
2090 and rewrite.
2091 (universal-argument, universal-argument-more, negative-argument)
2092 (digit-argument): Adjust accordingly.
2093 (universal-argument-minus): Remove.
2094 (universal-argument-other-key): Remove.
2095
2096 * subr.el (with-demoted-errors): Add `format' argument.
2097
2098 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2099
2100 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2101 `tramp-cleanup-connection'.
2102
2103 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2104 parameters KEEP-DEBUG and KEEP-PASSWORD.
2105
2106 * net/tramp.el (tramp-file-name-handler):
2107 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2108 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2109 (tramp-maybe-open-connection):
2110 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2111 Use `tramp-cleanup-connection'.
2112
2113 * net/tramp-sh.el (tramp-maybe-open-connection):
2114 Catch 'uname-changed inside the progress reporter.
2115
2116 2013-09-10 Glenn Morris <rgm@gnu.org>
2117
2118 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2119
2120 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2121 returns "alternate access method" in mode (eg "-rw-r--r--.").
2122
2123 2013-09-08 Glenn Morris <rgm@gnu.org>
2124
2125 * saveplace.el (load-save-place-alist-from-file):
2126 Demote errors. (Bug#15305)
2127
2128 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2129
2130 Improve compatibility with older Emacsen, and XEmacs.
2131
2132 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2133 only if it is bound. It isn't for XEmacs.
2134 (with-tramp-progress-reporter): Do not let-bind `result'.
2135 This yields to scoping errors in XEmacs.
2136 (tramp-handle-make-auto-save-file-name): New function, moved from
2137 tramp-sh.el.
2138
2139 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2140 for `make-auto-save-file-name'.
2141 (tramp-adb--gnu-switches-to-ash):
2142 Use `tramp-compat-replace-regexp-in-string'.
2143
2144 * net/tramp-cache.el (tramp-cache-print): Call
2145 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2146
2147 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2148 bound. It isn't for XEmacs.
2149
2150 * net/tramp-compat.el (tramp-compat-copy-file):
2151 Catch `wrong-number-of-arguments' error.
2152 (tramp-compat-replace-regexp-in-string): New defun.
2153
2154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2155 for `make-auto-save-file-name'.
2156 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2157 `copy-file'.
2158 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2159 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2160 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2161
2162 * net/tramp-gw.el (tramp-gw-open-network-stream):
2163 Use `tramp-compat-replace-regexp-in-string'.
2164
2165 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2166 Call `tramp-handle-make-auto-save-file-name'.
2167 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2168 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2169 (tramp-sh-file-inotifywait-process-filter):
2170 Use `tramp-compat-replace-regexp-in-string'.
2171 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2172
2173 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2174 for `make-auto-save-file-name'.
2175 (tramp-smb-handle-copy-directory):
2176 Call `tramp-compat-replace-regexp-in-string'.
2177 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2178 (tramp-smb-handle-copy-file): Improve error message.
2179 (tramp-smb-handle-rename-file): Rename directly only in case
2180 `newname' does not exist yet. This is a restriction of smbclient.
2181 (tramp-smb-maybe-open-connection): Rerun the function only when
2182 `auth-sources' is non-nil.
2183
2184 2013-09-08 Kenichi Handa <handa@gnu.org>
2185
2186 * international/characters.el: Set category "^" (Combining) for
2187 more characters.
2188
2189 2013-09-07 Alan Mackenzie <acm@muc.de>
2190
2191 Correctly fontify Java class constructors.
2192 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2193 in Java Mode.
2194 (c-recognize-typeless-decls): Set the Java value to t.
2195 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2196 While handling a "(", add a check for, effectively, Java, and handle a
2197 "typeless" declaration there.
2198
2199 2013-09-07 Roland Winkler <winkler@gnu.org>
2200
2201 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2202 field subtitle for entry type book.
2203
2204 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * minibuffer.el: Make minibuffer-complete call completion-in-region
2207 rather than other way around.
2208 (completion--some, completion-pcm--find-all-completions):
2209 Don't delay signals when debugging.
2210 (minibuffer-completion-contents): Beware fields within the
2211 minibuffer contents.
2212 (completion-all-sorted-completions): Use defvar-local.
2213 (completion--do-completion, completion--cache-all-sorted-completions)
2214 (completion-all-sorted-completions, minibuffer-force-complete):
2215 Add args `beg' and `end'.
2216 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2217 (minibuffer-complete): Use completion-in-region.
2218 (completion-complete-and-exit): New fun, extracted from
2219 minibuffer-complete-and-exit.
2220 (minibuffer-complete-and-exit): Use it.
2221 (completion--complete-and-exit): Rename from
2222 minibuffer--complete-and-exit.
2223 (completion-in-region--single-word): New function, extracted from
2224 minibuffer-complete-word.
2225 (minibuffer-complete-word): Use it.
2226 (display-completion-list): Make `common-substring' argument obsolete.
2227 (completion--in-region): Call completion--in-region-1 instead of
2228 minibuffer-complete.
2229 (completion-help-at-point): Pass boundaries to
2230 minibuffer-completion-help as args rather than via an overlay.
2231 (completion-pcm--string->pattern): Use `any-delim'.
2232 (completion-pcm--optimize-pattern): New function.
2233 (completion-pcm--pattern->regex): Handle `any-delim'.
2234 * icomplete.el (icomplete-forward-completions)
2235 (icomplete-backward-completions, icomplete-completions):
2236 Adjust calls to completion-all-sorted-completions and
2237 completion--cache-all-sorted-completions.
2238 (icomplete-with-completion-tables): Default to t.
2239 * emacs-lisp/crm.el (crm--current-element): Rename from
2240 crm--select-current-element. Don't put an overlay but return the
2241 boundaries instead.
2242 (crm--completion-command): Take two new args to bind to the boundaries.
2243 (crm-completion-help): Adjust accordingly.
2244 (crm-complete): Use completion-in-region.
2245 (crm-complete-word): Use completion-in-region--single-word.
2246 (crm-complete-and-exit): Use completion-complete-and-exit.
2247
2248 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2251 than dynamically.
2252
2253 2013-09-06 Juri Linkov <juri@jurta.org>
2254
2255 * info.el (Info-display-images-node): When image file doesn't exist
2256 display text version of the image if it's provided in the Info file.
2257 Otherwise, display the location of missing image from SRC attribute.
2258 Add help-echo text property from ALT attribute. (Bug#15279)
2259
2260 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2263 (edit-abbrevs-mode): Use define-derived-mode.
2264
2265 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2266 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2267 that it's defined.
2268 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2269 Use define-derived-mode.
2270
2271 * epg.el (epg-start-encrypt): Minor CSE simplification.
2272
2273 2013-09-06 William Xu <william.xwl@gmail.com>
2274
2275 * arc-mode.el: Add support for 7za (bug#15264).
2276 (archive-7z-program): New var.
2277 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2278 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2279 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2280
2281 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2282
2283 Remove URL syntax.
2284
2285 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2286 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2287 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2288 (tramp-postfix-host-format, tramp-file-name-regexp)
2289 (tramp-completion-file-name-regexp)
2290 (tramp-completion-dissect-file-name)
2291 (tramp-handle-substitute-in-file-name): Remove 'url case.
2292 (tramp-file-name-regexp-url)
2293 (tramp-completion-file-name-regexp-url): Remove constants.
2294
2295 2013-09-06 Glenn Morris <rgm@gnu.org>
2296
2297 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2298
2299 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2300
2301 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2302 keywords" below "here-doc beginnings" (Bug#15270).
2303
2304 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * subr.el (pop): Use `car-safe'.
2307 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2308 to detect unused `pop' return value.
2309
2310 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2311 var `block-regexp'.
2312 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2313 (python-fill-string): Remove unused var `marker'.
2314 (python-skeleton-add-menu-items): Remove unused var `items'.
2315
2316 * international/mule-cmds.el: Require CL.
2317 (find-coding-systems-for-charsets): Avoid add-to-list.
2318 (sanitize-coding-system-list): New function, extracted from
2319 select-safe-coding-system-interactively.
2320 (select-safe-coding-system-interactively): Use it.
2321 (read-input-method-name): Accept symbols for `default'.
2322
2323 * emacs-lisp/advice.el (defadvice): Add indent rule.
2324
2325 2013-09-05 Daniel Hackney <dan@haxney.org>
2326
2327 * dired-x.el:
2328 * net/ange-ftp.el:
2329 * net/browse-url.el:
2330 * net/dbus.el:
2331 * net/eudc.el:
2332 * net/eudcb-ldap.el:
2333 * net/eww.el:
2334 * net/imap.el:
2335 * printing.el:
2336 * vc/ediff-diff.el:
2337 * vc/ediff-init.el:
2338 * vc/ediff-merg.el:
2339 * vc/ediff-mult.el:
2340 * vc/ediff-util.el:
2341 * vc/ediff-wind.el:
2342 * vc/ediff.el:
2343 * vc/emerge.el:
2344 * vc/pcvs.el:
2345 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2346 byte compiler. Remove some unused let-bound variables.
2347
2348 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2351 a "ref-cell", since it gets better optimized (bug#14883).
2352
2353 2013-09-05 Glenn Morris <rgm@gnu.org>
2354
2355 * progmodes/cc-awk.el (c-forward-sws): Declare.
2356
2357 2013-09-04 Glenn Morris <rgm@gnu.org>
2358
2359 * generic-x.el [rul-generic-mode]: Require cc-mode.
2360 (c++-mode-syntax-table): Declare.
2361 (rul-generic-mode-syntax-table): Init in the defvar.
2362
2363 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2366 (vc-do-command, vc-set-async-update):
2367 * vc/vc-mtn.el (vc-mtn-dir-status):
2368 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2369 (vc-hg-pull, vc-hg-merge-branch):
2370 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2371 (vc-git-merge-branch):
2372 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2373 (vc-cvs-dir-status-files):
2374 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2375 (vc-bzr-dir-status-files):
2376 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2377 * vc/vc-annotate.el: Use lexical-binding.
2378 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2379 (vc-sentinel-movepoint): Declare.
2380 (vc-annotate): Don't use `goto-line'.
2381 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2382 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2383 (vc-sentinel-movepoint): Declare.
2384 * vc/vc-svn.el: Use lexical-binding.
2385 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2386 * vc/vc-sccs.el:
2387 * vc/vc-rcs.el: Use lexical-binding.
2388
2389 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2390 `deleted'. Don't drop errors silently.
2391
2392 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2393
2394 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2395
2396 * vc/vc.el (vc-ignore): Rewrite.
2397 (vc-default-ignore): New function.
2398 (vc-default-ignore-completion-table): Use find-ignore-file.
2399
2400 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2401 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2402 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2403 Remove. Most code moved to vc.el.
2404
2405 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2408 * net/tramp-smb.el (tramp-smb-get-file-entries):
2409 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2410 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2411
2412 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2413 Update call to it.
2414 (eww-change-select): Remove unused var `properties'.
2415 (eww-make-unique-file-name): Remove unused var `base'.
2416
2417 * finder.el (finder-compile-keywords): Don't mess with windows.
2418
2419 * calculator.el (calculator-funcall): Fix typo in last change.
2420
2421 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2422
2423 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2424 <pkg>-autoloads.el file stop us.
2425
2426 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2427 warnings, and factor out common code.
2428
2429 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2430
2431 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2432 two-character operators and whether the character preceding them
2433 changes their meaning (Bug#15208).
2434
2435 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2436
2437 Format code sent to Python shell for robustness.
2438 * progmodes/python.el (python-shell-buffer-substring):
2439 New function.
2440 (python-shell-send-region, python-shell-send-buffer): Use it.
2441
2442 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2443
2444 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2445 * net/tramp.el (tramp-user-error): ... here.
2446 (tramp-find-method, tramp-check-proper-host)
2447 (tramp-dissect-file-name, tramp-debug-message)
2448 (tramp-handle-shell-command):
2449 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2450 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2451
2452 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2453
2454 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2455
2456 * avoid.el (mouse-avoidance-point-position)
2457 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2458 returns nil.
2459
2460 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2461
2462 * progmodes/python.el (python-shell-completion-get-completions):
2463 Drop use of deleted `comint-last-prompt-overlay'.
2464 (python-nav-if-name-main): New command.
2465
2466 2013-09-01 Glenn Morris <rgm@gnu.org>
2467
2468 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2469 Avoid leading space in $wins. Otherwise the sed command used by
2470 eg compile-main ends up containing "/*.el". (Bug#15170)
2471
2472 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2473
2474 2013-08-30 Glenn Morris <rgm@gnu.org>
2475
2476 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2477 Fix is-this-a-directory logic. (Bug#15220)
2478
2479 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * textmodes/css-mode.el: Use SMIE.
2482 (css-smie-grammar): New var.
2483 (css-smie--forward-token, css-smie--backward-token)
2484 (css-smie-rules): New functions.
2485 (css-mode): Use them.
2486 (css-navigation-syntax-table): Remove var.
2487 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2488 (css-indent-calculate, css-indent-line): Remove functions.
2489
2490 Misc changes to reduce use of `(lambda...); and other cleanups.
2491 * cus-edit.el: Use lexical-binding.
2492 (customize-push-and-save, customize-apropos)
2493 (custom-buffer-create-internal): Use closures.
2494 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2495 * progmodes/ada-xref.el: Use setq.
2496 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2497 * dframe.el: Use lexical-binding.
2498 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2499 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2500 * descr-text.el: Use lexical-binding.
2501 (describe-text-widget, describe-text-sexp, describe-property-list):
2502 Use closures.
2503 * comint.el (comint-history-isearch-push-state): Use a closure.
2504 * calculator.el: Use lexical-binding.
2505 (calculator-number-to-string): Make it work with lexical-binding.
2506 (calculator-funcall): Same and use cl-letf.
2507
2508 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2509 (lisp--company-doc-string, lisp--company-location): New functions.
2510 (lisp-completion-at-point): Use them to improve Company support.
2511
2512 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2513 params of lambda expressions.
2514 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2515 (ruby-smie--opening-pipe-p): New function.
2516 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2517 symbols and matched |...| for formal params.
2518 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2519 from being treated as hanging. Handle "rescue".
2520
2521 2013-08-29 Glenn Morris <rgm@gnu.org>
2522
2523 * progmodes/cc-engine.el (c-pull-open-brace):
2524 Move definition before use.
2525
2526 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2529 are immutable. Don't use `unsafe' any more.
2530 (cl--defsubst-expand): Don't substitute at the same time as keeping
2531 a residual unused let-binding. Don't use `unsafe' any more.
2532
2533 2013-08-29 Glenn Morris <rgm@gnu.org>
2534
2535 * calendar/cal-china.el (calendar-chinese-year-cache):
2536 Recenter on 2015.
2537
2538 * nxml/nxml-util.el (nxml-debug-clear-inside):
2539 Use cl-loop rather than loop.
2540
2541 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2542
2543 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2544
2545 2013-08-28 Glenn Morris <rgm@gnu.org>
2546
2547 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2548
2549 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2550
2551 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2552
2553 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * simple.el (repeat-complex-command--called-interactively-skip):
2556 New function.
2557 (repeat-complex-command): Use it (bug#14136).
2558
2559 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2560 (c-define-abbrev-table): Add `doc' argument.
2561 (c-mode-abbrev-table, c++-mode-abbrev-table)
2562 (objc-mode-abbrev-table, java-mode-abbrev-table)
2563 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2564 (awk-mode-abbrev-table): Use it.
2565 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2566 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2567 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2568 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2569 Move initialization into the declaration; and remove any
2570 autoload cookie.
2571
2572 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2573 and dynamic let binding.
2574
2575 * vc/smerge-mode.el: Remove redundant :group args.
2576
2577 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2578 to load-path.
2579
2580 2013-08-28 Juri Linkov <juri@jurta.org>
2581
2582 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2583 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2584 (isearch-other-meta-char): Handle an undefined shifted printing
2585 character by downshifting it. (Bug#15200)
2586
2587 2013-08-28 Juri Linkov <juri@jurta.org>
2588
2589 * isearch.el (isearch-search): Change regexp error message for
2590 non-regexp searches. (Bug#15166)
2591
2592 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2593
2594 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2595 for portability to hosts where /bin/sh has problems.
2596
2597 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2600
2601 2013-08-27 Juri Linkov <juri@jurta.org>
2602
2603 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2604 in the keyboard macro. (Bug#15126)
2605
2606 2013-08-27 Juri Linkov <juri@jurta.org>
2607
2608 * isearch.el (isearch-quote-char): Comment out converting unibyte
2609 to multibyte, thus syncing with its `quoted-insert' counterpart.
2610 (Bug#15166)
2611
2612 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2613
2614 * window.el (display-buffer-use-some-window): Add missing
2615 argument in call of get-largest-window (Bug#15185).
2616 Reported by Stephen Leake.
2617
2618 2013-08-27 Glenn Morris <rgm@gnu.org>
2619
2620 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2621
2622 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2625 from a matcher-function unless there's no more matches (bug#15161).
2626
2627 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2628
2629 * minibuffer.el: Revert change from 2013-08-20.
2630
2631 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2632 with text property `tramp-default', if appropriate.
2633 (tramp-check-proper-host): New defun.
2634 (tramp-dissect-file-name): Do not check hostname. Revert change
2635 of 2013-03-18.
2636 (tramp-backtrace): Make VEC-OR-PROC optional.
2637
2638 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2639 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2640 * net/tramp-sh.el (tramp-maybe-open-connection):
2641 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2642 Apply `tramp-check-proper-host'.
2643
2644 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2645
2646 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2647 lambda expression in order to have `describe-variable' display it.
2648
2649 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2652 BUF can be optional. (Bug#15186)
2653
2654 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2655
2656 * progmodes/flymake.el (flymake-get-real-file-name-function):
2657 Fix broken customization. (Bug#15184)
2658
2659 2013-08-25 Alan Mackenzie <acm@muc.de>
2660
2661 Improve indentation of bracelists defined by macros (without "=").
2662
2663 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2664 expansion begins with "{", regard it as bracelist when it doesn't
2665 contain a ";".
2666
2667 Parse C++ inher-intro when there's a template split over 2 lines.
2668
2669 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2670 rigorously the search for "class" etc. followed by ":".
2671
2672 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2673 random languages a regexp which never matches rather than nil.
2674
2675 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2676
2677 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2678 (c-awk-regexp-one-line-possibly-open-char-list-re)
2679 (c-awk-one-line-possibly-open-regexp-re)
2680 (c-awk-one-line-non-syn-ws*-re): Remove.
2681 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2682 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2683 (c-awk-space*-unclosed-regexp-/-re): New constants.
2684 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2685 aren't regexp delimiters.
2686
2687 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2688 handling for a rare situation in AWK Mode involving unterminated
2689 strings/regexps.
2690
2691 2013-08-23 Glenn Morris <rgm@gnu.org>
2692
2693 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2694
2695 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2696
2697 * files.el (create-file-buffer): If the result would begin with
2698 spaces, prepend a "|" instead of removing them. (Bug#15162)
2699
2700 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2703 text-properties (bug#15155).
2704
2705 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2706 exist any more.
2707 (calc-keypad-redraw): Remove unused var `pad'.
2708 (calc-keypad-press): Remove unused var `menu'.
2709
2710 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2711
2712 * window.el (display-buffer-pop-up-frame):
2713 Call pop-up-frame-function with BUFFER current so `make-frame' will
2714 use it as the new frame's buffer (Bug#15133).
2715
2716 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * calendar/timeclock.el: Minor cleanups.
2719 (timeclock-ask-before-exiting, timeclock-use-display-time):
2720 Use `symbol'.
2721 (timeclock-modeline-display): Define as alias before the
2722 actual definition.
2723 (timeclock-mode-line-display): Use define-minor-mode.
2724 (timeclock-day-list-template): Make it a function, add an argument.
2725 (timeclock-day-list-required, timeclock-day-list-length)
2726 (timeclock-day-list-debt, timeclock-day-list-span)
2727 (timeclock-day-list-break): Adjust calls accordingly.
2728
2729 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2732 Use read--expression so that completion works again.
2733
2734 2013-08-21 Sam Steingold <sds@gnu.org>
2735
2736 Add rudimentary inferior shell interaction
2737 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2738 (sh-set-shell): Reset it.
2739 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2740 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2741
2742 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * align.el: Use lexical-binding.
2745 (align-region): Simplify accordingly.
2746
2747 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2748
2749 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2750
2751 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2752 `non-essential' up.
2753
2754 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2755
2756 * net/tramp.el:
2757 * net/tramp-adb.el:
2758 * net/tramp-cmds.el:
2759 * net/tramp-ftp.el:
2760 * net/tramp-gvfs.el:
2761 * net/tramp-gw.el:
2762 * net/tramp-sh.el: Don't wrap external variable declarations by
2763 `eval-when-compile'.
2764
2765 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2766
2767 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2768 now that Emacs supports ImageMagick animations.
2769
2770 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2771
2772 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2773 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2774
2775 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2776
2777 * window.el (mouse-autoselect-window-select): Do autoselect when
2778 mouse pointer is on margin.
2779
2780 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2781
2782 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2783
2784 2013-08-16 Glenn Morris <rgm@gnu.org>
2785
2786 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2787 Handle "Remote Directory" response of some clients. (Bug#15058)
2788
2789 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2790 Tweak warning. (Bug#14926)
2791
2792 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2793 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2794
2795 * image-mode.el (image-mode-map): Add menu items to reverse,
2796 increase, decrease, reset animation speed.
2797 (image--set-speed, image-increase-speed, image-decrease-speed)
2798 (image-reverse-speed, image-reset-speed): New functions.
2799 (image-mode-map): Add bindings for speed commands.
2800
2801 * image.el (image-animate-get-speed, image-animate-set-speed):
2802 New functions.
2803 (image-animate-timeout): Respect image :speed property.
2804
2805 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2808 previous line (bug#15101).
2809 (debugger-eval-expression, debugger-record-expression):
2810 Use read--expression (bug#15102).
2811
2812 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2813
2814 Remove byte compiler warnings, visible when compiling with
2815 `byte-compile-force-lexical-warnings' set to t.
2816
2817 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2818 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2819 (tramp-handle-unhandled-file-name-directory)
2820 (tramp-handle-file-notify-add-watch, tramp-action-login)
2821 (tramp-action-succeed, tramp-action-permission-denied)
2822 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2823 arguments with "_".
2824
2825 * net/tramp-adb.el (tramp-adb-parse-device-names)
2826 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2827 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2828 (tramp-adb-handle-file-truename): Remove unused arguments.
2829
2830 * net/tramp-cache.el (tramp-flush-directory-property)
2831 (tramp-flush-connection-property, tramp-list-connections)
2832 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2833
2834 * net/tramp-compat.el (tramp-compat-make-temp-file):
2835 Rename FILENAME to F.
2836
2837 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2838 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2839 (tramp-zeroconf-parse-workstation-device-names)
2840 (tramp-zeroconf-parse-webdav-device-names)
2841 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2842
2843 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2844 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2845
2846 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2847 arguments.
2848 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2849 (tramp-sh-handle-insert-file-contents-literally)
2850 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2851 with "_".
2852 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2853 Remove unused variables.
2854
2855 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2856 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2857 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2858
2859 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2860 Make them a defconst.
2861 (tramp-uuencode-region): Remove unused variable.
2862
2863 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2864
2865 * frameset.el (frameset--prop-setter): New function.
2866 (frameset-prop): Add gv-setter declaration.
2867 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2868 parameter was already set in FILTERED. Doc fix.
2869 (frameset--record-minibuffer-relationships): Allow saving a
2870 minibufferless frame without its corresponding minibuffer frame.
2871 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2872 frame, if the frame id matches.
2873 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2874 frames before orphaned ones.
2875 (frameset-restore): Warn about orphaned windows, instead of error out.
2876
2877 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2878
2879 * window.el (window-make-atom): Don't overwrite parameter
2880 already present.
2881 (display-buffer-in-atom-window): Handle special case where we
2882 split an already atomic window.
2883 (window--major-non-side-window, display-buffer-in-side-window)
2884 (window--side-check): Ignore minibuffer window when walking
2885 window tree.
2886 (window-deletable-p): Return 'frame only if no other frame uses
2887 our minibuffer window.
2888 (record-window-buffer): Run buffer-list-update-hook.
2889 (split-window): Make sure window--check-frame won't destroy an
2890 existing atomic window in case the new window gets nested
2891 inside.
2892 (display-buffer-at-bottom): Ignore minibuffer window when
2893 walking window tree. Don't split a side window.
2894 (pop-to-buffer): Don't set-buffer here, the select-window call
2895 should do that.
2896 (mouse-autoselect-window-select): Autoselect only if we are in the
2897 text portion of the window.
2898
2899 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2900
2901 * net/shr.el (shr-parse-image-data): New function to grab both the
2902 data itself and the Content-Type.
2903 (shr-put-image): Use it.
2904
2905 * net/eww.el (eww-display-image): Ditto.
2906
2907 * image.el (image-content-type-suffixes): New variable.
2908
2909 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2910
2911 * progmodes/python.el (python-imenu--build-tree)
2912 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2913
2914 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2915
2916 * simple.el (backward-word): Mention the optional argument.
2917
2918 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * frameset.el (frameset--make): Rename constructor from make-frameset.
2921 (frameset-p, frameset-valid-p): Don't autoload.
2922 (frameset-valid-p): Use normal accessors.
2923
2924 2013-08-13 Glenn Morris <rgm@gnu.org>
2925
2926 * progmodes/compile.el (compile-command): Tweak example in doc.
2927 * obsolete/scribe.el (scribe-mode):
2928 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2929
2930 * mail/feedmail.el (feedmail-confirm-outgoing)
2931 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2932
2933 * cus-start.el (truncate-partial-width-windows): Fix type.
2934
2935 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2936
2937 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2938
2939 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * emacs-lisp/timer.el (timer--time-setter): New function.
2942 (timer--time): Use it as gv-setter.
2943
2944 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2945 setter is not a symbol.
2946
2947 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2948
2949 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2950 if sending fails. This makes debugging easier.
2951
2952 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2953
2954 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2955 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2956 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2957
2958 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2959
2960 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2961
2962 2013-08-12 Glenn Morris <rgm@gnu.org>
2963
2964 * format.el (format-annotate-function):
2965 Handle read-only text properties in the source. (Bug#14887)
2966
2967 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2968
2969 * net/eww.el (eww-display-html): Ignore coding system errors.
2970 One web site uses "utf-8lias" as the coding system.
2971
2972 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2973
2974 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2975
2976 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2977
2978 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2979 (tutorial--detailed-help): Remove unused local variables.
2980 (tutorial--save-tutorial-to): Use ignore-errors.
2981 (help-with-tutorial): Use looking-at-p.
2982
2983 * view.el (view-buffer-other-window, view-buffer-other-frame):
2984 Mark unused arguments.
2985
2986 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2987 (woman-select-symbol-fonts, woman, woman-find-file)
2988 (woman-insert-file-contents, woman-non-underline-faces):
2989 Use string-match-p.
2990 (woman1-unquote): Move declaration.
2991
2992 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2993 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2994 argument. Remove unused local variable.
2995 (xml-parse-elem-type): Use string-match-p.
2996 (xml-substitute-numeric-entities): Use ignore-errors.
2997
2998 * calculator.el (calculator): Mark unused argument.
2999 (calculator-paste, calculator-quit, calculator-integer-p):
3000 Use ignore-errors.
3001 (calculator-string-to-number, calculator-decimal, calculator-exp)
3002 (calculator-op-or-exp): Use string-match-p.
3003
3004 * dired.el (dired-buffer-more-recently-used-p): Declare.
3005 (dired-insert-set-properties, dired-insert-old-subdirs):
3006 Use ignore-errors.
3007
3008 * dired-aux.el (dired-compress): Use ignore-errors.
3009 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3010 (dired-do-async-shell-command, dired-do-shell-command)
3011 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3012 (dired-insert-subdir-validate): Use string-match-p.
3013 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3014 (dired-add-entry): Use string-match-p, looking-at-p.
3015 (dired-insert-subdir-newpos): Remove unused local variable.
3016
3017 * filenotify.el (file-notify-callback): Remove unused local variable.
3018
3019 * filesets.el (filesets-error): Mark unused argument.
3020 (filesets-which-command-p, filesets-filter-dir-names)
3021 (filesets-directory-files, filesets-get-external-viewer)
3022 (filesets-ingroup-get-data): Use string-match-p.
3023
3024 * find-file.el (ff-other-file-name, ff-other-file-name)
3025 (ff-find-the-other-file, ff-cc-hh-converter):
3026 Remove unused local variables.
3027 (ff-get-file-name): Use string-match-p.
3028 (ff-all-dirs-under): Use ignore-errors.
3029
3030 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3031 (follow-select-if-visible): Remove unused local variable.
3032
3033 * forms.el (read-file-filter): Move declaration.
3034 (forms--make-format, forms--make-parser, forms-insert-record):
3035 Quote function with #'.
3036 (forms--update): Use string-match-p. Quote function with #'.
3037
3038 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3039 (help-make-xrefs): Use looking-at-p.
3040 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3041
3042 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3043 (ibuffer-confirm-operation-on): Use string-match-p.
3044
3045 * msb.el (msb-item-handler, msb-dired-item-handler):
3046 Mark unused arguments.
3047
3048 * ses.el (ses-decode-cell-symbol)
3049 (ses-kill-override): Remove unused local variable.
3050 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3051 (ses-load): Use ignore-errors, looking-at-p.
3052 (ses-jump-safe): Use ignore-errors.
3053 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3054
3055 * tabify.el (untabify, tabify): Mark unused arguments.
3056
3057 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3058 Mark unused argument.
3059 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3060 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3061
3062 * emacs-lisp/timer.el (timer--time): Define setter with
3063 gv-define-setter to avoid deprecation warning.
3064
3065 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3066 (*record-cmpl-statistics-p*): Remove (was commented out).
3067 (cmpl-statistics-block): Remove (body was commented out).
3068 All callers changed.
3069 (add-completions-from-buffer, load-completions-from-file):
3070 Remove unused variables.
3071
3072 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3073
3074 * filecache.el (file-cache-delete-file-list):
3075 Print message only when told so.
3076 (file-cache-files-matching): Use #' in mapconcat argument.
3077
3078 * ffap.el (ffap-url-at-point): Fix reference to variable
3079 thing-at-point-default-mail-uri-scheme.
3080
3081 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * subr.el (define-error): New function.
3084 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3085 error-file-not-found and define with define-error.
3086 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3087 and define with define-error.
3088 * userlock.el (file-locked, file-supersession):
3089 * simple.el (mark-inactive):
3090 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3091 * progmodes/ada-mode.el (ada-mode-errors):
3092 * play/life.el (life-extinct):
3093 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3094 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3095 * nxml/rng-util.el (rng-error):
3096 * nxml/rng-uri.el (rng-uri-error):
3097 * nxml/rng-match.el (rng-compile-error):
3098 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3099 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3100 * nxml/nxml-rap.el (nxml-scan-error):
3101 * nxml/nxml-outln.el (nxml-outline-error):
3102 * net/soap-client.el (soap-error):
3103 * net/gnutls.el (gnutls-error):
3104 * net/ange-ftp.el (ftp-error):
3105 * mpc.el (mpc-proc-error):
3106 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3107 (json-number-format, json-string-escape, json-string-format)
3108 (json-key-format, json-object-format):
3109 * jka-compr.el (compression-error):
3110 * international/quail.el (quail-error):
3111 * international/kkc.el (kkc-error):
3112 * emacs-lisp/ert.el (ert-test-failed):
3113 * calc/calc.el (calc-error, inexact-result, math-overflow)
3114 (math-underflow):
3115 * bookmark.el (bookmark-error-no-filename):
3116 * epg.el (epg-error): Define with define-error.
3117
3118 * time.el (display-time-event-handler)
3119 (display-time-next-load-average): Don't call sit-for since it seems
3120 unnecessary (bug#15045).
3121
3122 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3123 Use #' instead of ' to quote functions.
3124 (checkdoc-output-mode): Use setq-local.
3125 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3126 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3127 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3128 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3129 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3130 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3131 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3132 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3133
3134 * ido.el (ido-completion-help): Fix up compiler warning.
3135
3136 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3137
3138 * frameset.el (frameset-p): Add autoload cookie.
3139 (frameset--jump-to-register): New function, based on code moved from
3140 register.el.
3141 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3142
3143 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3144 (frameset-restore, frameset-save, frameset-session-filter-alist):
3145 Remove declarations.
3146 (register-alist): Doc fix.
3147 (frameset-to-register): Move to frameset.el.
3148 (jump-to-register, describe-register-1): Remove frameset-specific code.
3149
3150 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * allout-widgets.el (allout-widgets-pre-command-business)
3153 (allout-widgets-post-command-business)
3154 (allout-widgets-after-change-handler)
3155 (allout-decorate-item-and-context, allout-set-boundary-marker)
3156 (allout-body-modification-handler)
3157 (allout-graphics-modification-handler): Mark ignored arguments.
3158 (allout-widgets-post-command-business)
3159 (allout-widgets-exposure-change-processor)
3160 (allout-widgets-exposure-undo-processor)
3161 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3162 (allout-parse-item-at-point, allout-decorate-item-guides)
3163 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3164 * allout.el (epa-passphrase-callback-function): Declare.
3165 (allout-overlay-insert-in-front-handler)
3166 (allout-overlay-interior-modification-handler)
3167 (allout-isearch-end-handler, allout-chart-siblings)
3168 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3169 (allout-yank-processing, allout-process-exposed)
3170 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3171 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3172 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3173 (lisp-indent-defform): Mark ignored arguments.
3174 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3175 (calculate-lisp-indent): Remove unused variables.
3176 * international/characters.el (indian-2-column, arabic-2-column)
3177 (tibetan): Mark ignored arguments.
3178 (use-cjk-char-width-table): Mark ignored arguments.
3179 Remove unused variables.
3180 * international/fontset.el (build-default-fontset-data)
3181 (x-compose-font-name, create-fontset-from-fontset-spec):
3182 Mark ignored arguments.
3183 (fontset-plain-name): Remove unused variables.
3184 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3185 (keyboard-coding-system): Mark ignored arguments.
3186 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3187 * help.el (resize-temp-buffer-window):
3188 * window.el (display-buffer-in-major-side-window)
3189 (display-buffer-in-side-window, display-buffer-in-previous-window):
3190 Remove unused variables.
3191 * isearch.el (isearch-forward-symbol):
3192 * version.el (emacs-bzr-version-bzr):
3193 * international/mule-cmds.el (current-language-environment):
3194 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3195 (x-handle-display):
3196 * term/pc-win.el (x-list-fonts, x-display-planes)
3197 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3198 (x-server-version, x-display-screens, x-display-mm-height)
3199 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3200 (x-selection-owner-p, x-own-selection-internal)
3201 (x-disown-selection-internal, x-get-selection-internal)
3202 (msdos-initialize-window-system):
3203 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3204 * term/x-win.el (x-handle-no-bitmap-icon):
3205 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3206 (vc-default-find-file-hook, vc-default-extra-menu):
3207 Mark ignored arguments.
3208
3209 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3212 break-condition in the context of the debugged code (bug#12685).
3213
3214 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3215
3216 * comint.el:
3217 Do not use an overlay to highlight the last prompt. (Bug#14744)
3218 (comint-mode): Make comint-last-prompt buffer local.
3219 (comint-last-prompt): New variable.
3220 (comint-last-prompt-overlay): Remove. Superseded by
3221 comint-last-prompt.
3222 (comint-snapshot-last-prompt, comint-output-filter):
3223 Use comint-last-prompt.
3224
3225 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3226
3227 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3228 (frameset-save): Check validity of the resulting frameset.
3229
3230 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3231
3232 * ido.el (ido-record-command): Add doc string.
3233
3234 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * frameset.el (frameset): Do not disable creation of the default
3237 frameset-p predicate. Doc fix.
3238 (frameset-valid-p): New function, copied from the old predicate-p.
3239 Add additional checks.
3240 (frameset-restore): Check with frameset-valid-p.
3241 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3242 (frameset-name, frameset-description, frameset-properties)
3243 (frameset-states): Add docstring.
3244 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3245 (frameset-filter-alist): Doc fixes.
3246
3247 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3248
3249 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3250
3251 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3254 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3255 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3256 (byte-compile-normal-call): Remove obsolescence check.
3257
3258 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * frameset.el (frameset-restore): Doc fix.
3261
3262 * register.el (frameset-frame-id, frameset-frame-with-id)
3263 (frameset-p, frameset-restore, frameset-save): Declare.
3264 (register-alist): Document framesets.
3265 (frameset-session-filter-alist): Declare.
3266 (frameset-to-register): New function.
3267 (jump-to-register): Implement jumping to framesets. Doc fix.
3268 (describe-register-1): Describe framesets.
3269
3270 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3271
3272 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3275 Use lexical-binding.
3276
3277 * frameset.el (frameset): Use type vector, not list (incompatible
3278 change). Do not declare a new constructor, use the default one.
3279 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3280 `name' and `description', respectively, and add read-only slot
3281 `timestamp'. Doc fixes.
3282 (frameset-copy, frameset-persistent-filter-alist)
3283 (frameset-filter-alist, frameset-switch-to-gui-p)
3284 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3285 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3286 (frameset-filter-iconified, frameset-keep-original-display-p):
3287 Doc fixes.
3288 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3289 Rename from frameset-filter-(save|restore)-param. All callers changed.
3290 Doc fix.
3291 (frameset-p): Adapt to change to vector and be more thorough.
3292 Change arg name to OBJECT. Doc fix.
3293 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3294 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3295 All callers changed.
3296 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3297 All callers changed.
3298 (frameset--record-minibuffer-relationships): Rename from
3299 frameset--process-minibuffer-frames. All callers changed.
3300 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3301 Use new default constructor (again). Doc fix.
3302 (frameset--find-frame-if): Rename from `frameset--find-frame.
3303 All callers changed.
3304 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3305 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3306 Doc fix.
3307 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3308 PARAMETERS and WINDOW-STATE, respectively.
3309 (frameset-restore): Add new keyword argument PREDICATE.
3310 Reset frameset--target-display to nil. Doc fix.
3311
3312 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3315 (bat-mode): Use it.
3316 (bat-mode-syntax-table): Mark \n as end-of-comment.
3317 (bat-font-lock-keywords): Remove comment rule.
3318
3319 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3320 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3321
3322 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3323 (byte-compile-callargs-warn): Use `push'.
3324 (byte-compile-arglist-warn): Ignore higher-order "calls".
3325 (byte-compile-file-form-autoload): Use `pcase'.
3326 (byte-compile-function-form): If quoting a symbol, check that it exists.
3327
3328 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3329
3330 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3331 and add a few popular commands found in batch files.
3332 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3333 (dos-mode): Doc fixes.
3334
3335 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3338 (dos-mode): Use setq-local. Add space after "rem".
3339 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3340 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3341
3342 2013-08-07 Arni Magnusson <arnima@hafro.is>
3343
3344 * progmodes/dos.el: New file.
3345 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3346 dos-mode.
3347
3348 2013-08-06 Glenn Morris <rgm@gnu.org>
3349
3350 * calendar/calendar.el: Add new faces, and day-header-array.
3351 (calendar-weekday-header, calendar-weekend-header)
3352 (calendar-month-header): New faces.
3353 (calendar-day-header-construct): New function.
3354 (calendar-day-header-width): Also :set calendar-day-header-array.
3355 (calendar-american-month-header, calendar-european-month-header)
3356 (calendar-iso-month-header): Use calendar- faces.
3357 (calendar-generate-month):
3358 Use calendar-day-header-array for day headers; apply faces to them.
3359 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3360 (calendar-abbrev-construct): Add optional maxlen argument.
3361 (calendar-day-name-array): Doc fix.
3362 (calendar-day-name-array, calendar-abbrev-length)
3363 (calendar-day-abbrev-array):
3364 Also :set calendar-day-header-array, and maybe redraw.
3365 (calendar-day-header-array): New option. (Bug#15007)
3366 (calendar-font-lock-keywords): Set to nil and make obsolete.
3367 (calendar-day-name): Add option to use header array.
3368
3369 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3370
3371 * net/shr.el (shr-render-td): Remove debugging.
3372 (shr-render-td): Make width computation consistent by defaulting
3373 all zero-width columns to 10 characters. This may not be optimal,
3374 but it's at least consistent.
3375 (shr-make-table-1): Redo last change to fix the real problem in
3376 colspan handling.
3377
3378 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3379
3380 * files.el (cache-long-line-scans):
3381 Make obsolete alias to `cache-long-scans'.
3382
3383 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3384
3385 * frameset.el (frameset, frameset-filter-alist)
3386 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3387 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3388 (frameset-compute-pos): Rename from frameset--compute-pos,
3389 and add docstring.
3390 (frameset-move-onscreen): Use frameset-compute-pos.
3391 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3392
3393 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3394 Fix typos in docstrings.
3395
3396 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3397
3398 * frame.el (get-other-frame): Tiny cleanup.
3399
3400 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3401
3402 * vc/vc.el (vc-default-ignore-completion-table):
3403 Silence byte-compiler warning.
3404
3405 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3406 slot , which can indeed be nil.
3407 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3408 Move entry for `left' from persistent to live filter alist.
3409 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3410 Doc fixes.
3411 (frameset-filter-params): When restoring a frame, copy items added to
3412 `filtered', to avoid unwittingly modifying the original parameters.
3413 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3414 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3415
3416 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3417 to use looking-at-p instead of looking-at. (Bug#15028)
3418
3419 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 Revert introduction of isearch-filter-predicates (bug#14714).
3422 Rely on add-function instead.
3423 * isearch.el (isearch-filter-predicates): Rename it back to
3424 isearch-filter-predicate.
3425 (isearch-message-prefix): Use advice-function-mapc and advice
3426 properties to get the isearch-message-prefix.
3427 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3428 instead of run-hook-with-args-until-failure.
3429 (isearch-filter-visible): Not obsolete any more.
3430 * loadup.el: Preload nadvice.
3431 * replace.el (perform-replace): Revert to funcall
3432 instead of run-hook-with-args-until-failure.
3433 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3434 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3435 dired-isearch-filenames-toggle; make it into a proper minor mode.
3436 Use add/remove-function.
3437 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3438 Call the minor-mode rather than add/remove-hook.
3439 (dired-isearch-filter-filenames):
3440 Remove isearch-message-prefix property.
3441 * info.el (Info--search-loop): New function, extracted from Info-search.
3442 Funcall isearch-filter-predicate instead of
3443 run-hook-with-args-until-failure isearch-filter-predicates.
3444 (Info-search): Use it.
3445 (Info-mode): Use isearch-filter-predicate instead of
3446 isearch-filter-predicates.
3447
3448 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3449
3450 Do not call to `selected-window' where it is assumed by default.
3451 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3452 `window-hscroll', `window-width', `window-height', `window-buffer',
3453 `window-frame', `window-start', `window-point', `next-window'
3454 and `window-display-table'.
3455 * abbrev.el (abbrev--default-expand):
3456 * bs.el (bs--show-with-configuration):
3457 * buff-menu.el (Buffer-menu-mouse-select):
3458 * calc/calc.el (calc):
3459 * calendar/calendar.el (calendar-generate-window):
3460 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3461 (diary-make-entry):
3462 * comint.el (send-invisible, comint-dynamic-complete-filename)
3463 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3464 * completion.el (complete):
3465 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3466 * disp-table.el (describe-current-display-table):
3467 * doc-view.el (doc-view-insert-image):
3468 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3469 * ehelp.el (with-electric-help):
3470 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3471 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3472 * emacs-lisp/helper.el (Helper-help-scroller):
3473 * emulation/cua-base.el (cua--post-command-handler-1):
3474 * eshell/esh-mode.el (eshell-output-filter):
3475 * ffap.el (ffap-gnus-wrapper):
3476 * help-macro.el (make-help-screen):
3477 * hilit-chg.el (highlight-compare-buffers):
3478 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3479 * hl-line.el (global-hl-line-highlight):
3480 * icomplete.el (icomplete-simple-completing-p):
3481 * isearch.el (isearch-done):
3482 * jit-lock.el (jit-lock-stealth-fontify):
3483 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3484 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3485 * mpc.el (mpc-tagbrowser, mpc):
3486 * net/rcirc.el (rcirc-any-buffer):
3487 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3488 * play/landmark.el (landmark-max-width, landmark-max-height):
3489 * play/zone.el (zone):
3490 * progmodes/compile.el (compilation-goto-locus):
3491 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3492 * progmodes/etags.el (find-tag-other-window):
3493 * progmodes/fortran.el (fortran-column-ruler):
3494 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3495 * progmodes/verilog-mode.el (verilog-point-text):
3496 * reposition.el (reposition-window):
3497 * rot13.el (toggle-rot13-mode):
3498 * server.el (server-switch-buffer):
3499 * shell.el (shell-dynamic-complete-command)
3500 (shell-dynamic-complete-environment-variable):
3501 * simple.el (insert-buffer, set-selective-display)
3502 (delete-completion-window):
3503 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3504 (speedbar-recenter):
3505 * startup.el (fancy-splash-head):
3506 * textmodes/ispell.el (ispell-command-loop):
3507 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3508 * tutorial.el (help-with-tutorial):
3509 * vc/add-log.el (add-change-log-entry):
3510 * vc/compare-w.el (compare-windows):
3511 * vc/ediff-help.el (ediff-indent-help-message):
3512 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3513 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3514 (ediff-setup-control-frame):
3515 * vc/emerge.el (emerge-position-region):
3516 * vc/pcvs-util.el (cvs-bury-buffer):
3517 * window.el (walk-windows, mouse-autoselect-window-select):
3518 * winner.el (winner-set-conf, winner-undo): Related users changed.
3519
3520 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3521
3522 * frameset.el (frameset--set-id): Doc fix.
3523 (frameset-frame-id, frameset-frame-id-equal-p)
3524 (frameset-locate-frame-id): New functions.
3525 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3526 (frameset-restore): Use them.
3527
3528 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3529
3530 Do not call to `selected-frame' where it is assumed by default.
3531 Affected functions are `raise-frame', `redraw-frame',
3532 `frame-first-window', `frame-terminal' and `delete-frame'.
3533 * calendar/appt.el (appt-disp-window):
3534 * epg.el (epg-wait-for-completion):
3535 * follow.el (follow-delete-other-windows-and-split)
3536 (follow-avoid-tail-recenter):
3537 * international/mule.el (set-terminal-coding-system):
3538 * mail/rmail.el (rmail-mail-return):
3539 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3540 * progmodes/f90.el (f90-add-imenu-menu):
3541 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3542 * server.el (server-switch-buffer):
3543 * simple.el (delete-completion-window):
3544 * talk.el (talk):
3545 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3546 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3547 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3548 * vc/ediff.el (ediff-documentation): Related users changed.
3549 * frame.el (selected-terminal): Remove the leftover.
3550
3551 2013-08-05 Glenn Morris <rgm@gnu.org>
3552
3553 * calendar/calendar.el (calendar-generate-month):
3554 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3555 (calendar-generate-month, calendar-font-lock-keywords):
3556 Fix for calendar-day-header-width > length of any day name.
3557
3558 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3559
3560 * desktop.el (desktop-clear): Use new name of sort predicate.
3561
3562 * frameset.el (frameset): Add docstring. Move :version property to its
3563 own `version' slot.
3564 (frameset-copy): Rename from copy-frameset.
3565 (frameset-p): Check more thoroughly.
3566 (frameset-prop): Do not check for :version, which is no longer a prop.
3567 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3568 Use new :never value instead of t.
3569 (frameset-filter-alist): Expand and clarify docstring.
3570 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3571 (frameset-filter-minibuffer, frameset-filter-save-param)
3572 (frameset-filter-restore-param, frameset-filter-iconified):
3573 Add pointer to docstring of frameset-filter-alist.
3574 (frameset-filter-params): Rename filter values to be more meaningful:
3575 :never instead of t, and reverse the meanings of :save and :restore.
3576 (frameset--process-minibuffer-frames): Clarify error message.
3577 (frameset-save): Avoid unnecessary and confusing call to framep.
3578 Use new BOA constructor for framesets.
3579 (frameset--reuse-list): Doc fix.
3580 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3581 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3582 (frameset-minibufferless-first-p): Doc fix.
3583 Rename from frameset-sort-frames-for-deletion.
3584 (frameset-restore): Doc fixes. Use new function names.
3585 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3586
3587 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3588
3589 * desktop.el (desktop-restore-forces-onscreen)
3590 (desktop-restore-reuses-frames): Document :keyword constant values.
3591 (desktop-filter-parameters-alist): Remove, now identical to
3592 frameset-filter-alist.
3593 (desktop--filter-tty*): Remove, moved to frameset.el.
3594 (desktop-save-frameset, desktop-restore-frameset):
3595 Do not pass :filters argument.
3596
3597 * frameset.el (frameset-live-filter-alist)
3598 (frameset-persistent-filter-alist): New variables.
3599 (frameset-filter-alist): Use them. Add autoload cookie.
3600 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3601 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3602 `frameset--id' (it's supposed to be internal to frameset.el).
3603 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3604 (frameset--initial-params): New function.
3605 (frameset--get-frame): Use it. Doc fix.
3606 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3607 Accept :all, not 'all.
3608 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3609 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3610 with fbound symbols. Fix frame id matching, and remove matching ids if
3611 the frame being restored is deleted. Obey :delete.
3612
3613 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * subr.el (macrop): New function.
3616 (text-clone--maintaining): New var.
3617 (text-clone--maintain): Rename from text-clone-maintain. Use it
3618 instead of inhibit-modification-hooks.
3619
3620 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3621 a proxy, so as handle autoloads and redefinitions of the target.
3622 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3623
3624 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3625 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3626 (pcase--mutually-exclusive-p): New function.
3627 (pcase--split-consp): Use it.
3628 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3629 mutually exclusive with the current predicate.
3630
3631 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3632 (edebug-macrop): Remove. Use `macrop' instead.
3633 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3634 (ad-macro-p):
3635 * eshell/esh-cmd.el (eshell-macrop):
3636 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3637
3638 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3641 (advice-mapc): New function, using it.
3642 (advice-function-member-p): New function.
3643 (advice--normalize): Store the cdr in advice--saved-rewrite since
3644 that's the part that will be changed.
3645 (advice--symbol-function): New function.
3646 (advice-remove): Handle removal before the function is defined.
3647 Adjust to new advice--saved-rewrite.
3648 (advice-member-p): Use advice-function-member-p and
3649 advice--symbol-function.
3650
3651 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3652
3653 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3654 (frameset-filter-minibuffer): Doc fix.
3655 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3656 (frameset--set-id, frameset--process-minibuffer-frames)
3657 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3658 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3659
3660 * desktop.el (desktop-clear): Only delete frames when called
3661 interactively and desktop-restore-frames is non-nil. Doc fix.
3662 (desktop-read): Set desktop-saved-frameset to nil.
3663
3664 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3665
3666 * vc/vc.el (vc-ignore): Rewrite.
3667 (vc-default-ignore-completion-table):
3668 (vc--read-lines):
3669 (vc--add-line, vc--remove-regexp): New functions.
3670
3671 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3672 (vc-svn-ignore-completion-table): New function.
3673
3674 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3675 (vc-hg-ignore-completion-table):
3676 (vc-hg-find-ignore-file): New functions.
3677
3678 * vc/vc-git.el (vc-git-ignore): Rewrite.
3679 (vc-git-ignore-completion-table):
3680 (vc-git-find-ignore-file): New functions.
3681
3682 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3683
3684 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3685 (vc-bzr-ignore-completion-table):
3686 (vc-bzr-find-ignore-file): New functions.
3687
3688 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3689
3690 * frameset.el (frameset-prop): New function and setter.
3691 (frameset-save): Do not modify frame list passed by the caller.
3692
3693 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3696
3697 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3700 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3701
3702 * custom.el (custom-initialize-default, custom-initialize-set)
3703 (custom-initialize-reset, custom-initialize-changed): Affect the
3704 toplevel-default-value (bug#6275, bug#14586).
3705 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3706 for bug#6275.
3707
3708 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3709
3710 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3711 Add cl-def* expressions.
3712
3713 * frameset.el (frameset-filter-params): Fix order of arguments.
3714
3715 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3716
3717 Move code related to saving frames to frameset.el.
3718 * desktop.el: Require frameset.
3719 (desktop-restore-frames): Doc fix.
3720 (desktop-restore-reuses-frames): Rename from
3721 desktop-restoring-reuses-frames.
3722 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3723 (desktop-clear): Clear frames too.
3724 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3725 (desktop--filter-tty*, desktop-save, desktop-read):
3726 Use frameset functions.
3727 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3728 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3729 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3730 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3731 (desktop--process-minibuffer-frames, desktop-save-frames)
3732 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3733 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3734 (desktop--sort-states, desktop-restoring-frames-p)
3735 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3736 (desktop-restoring-frameset-p, desktop-restore-frameset)
3737 (desktop--check-dont-save, desktop-save-frameset): New functions.
3738 (desktop--app-id): New constant.
3739 (desktop-first-buffer, desktop-buffer-ok-count)
3740 (desktop-buffer-fail-count): Move before first use.
3741 * frameset.el: New file.
3742
3743 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * files.el: Use lexical-binding.
3746 (dir-locals-read-from-file): Remove unused `err' variable.
3747 (hack-dir-local-variables--warned-coding): New var.
3748 (hack-dir-local-variables): Use it to avoid repeated warnings.
3749 (make-backup-file-name--default-function): New function.
3750 (make-backup-file-name-function): Use it as default.
3751 (buffer-stale--default-function): New function.
3752 (buffer-stale-function): Use it as default.
3753 (revert-buffer-insert-file-contents--default-function): New function.
3754 (revert-buffer-insert-file-contents-function): Use it as default.
3755 (insert-directory): Avoid add-to-list.
3756
3757 * autorevert.el (auto-revert-handler): Simplify.
3758 Use buffer-stale--default-function.
3759
3760 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3761
3762 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3763
3764 * whitespace.el (whitespace-ensure-local-variables): New function.
3765 (whitespace-cleanup-region): Call it.
3766 (whitespace-turn-on): Call it.
3767
3768 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3769
3770 Complete file name handlers.
3771
3772 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3773 (tramp-handle-verify-visited-file-modtime)
3774 (tramp-handle-file-notify-rm-watch): New functions.
3775 (tramp-call-process): Do not bind `default-directory'.
3776
3777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3778 Order alphabetically.
3779 [access-file, add-name-to-file, dired-call-process]:
3780 [dired-compress-file, file-acl, file-notify-rm-watch]:
3781 [file-ownership-preserved-p, file-selinux-context]:
3782 [make-directory-internal, make-symbolic-link, set-file-acl]:
3783 [set-file-selinux-context, set-visited-file-modtime]:
3784 [verify-visited-file-modtime]: Add handler.
3785 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3786
3787 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3788 [file-notify-add-watch, file-notify-rm-watch]:
3789 [set-file-times, set-visited-file-modtime]:
3790 [verify-visited-file-modtime]: Add handler.
3791 (with-tramp-gvfs-error-message)
3792 (tramp-gvfs-handle-set-visited-file-modtime)
3793 (tramp-gvfs-fuse-file-name): Remove.
3794 (tramp-gvfs-handle-file-notify-add-watch)
3795 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3796 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3797
3798 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3799 Order alphabetically.
3800 [file-notify-rm-watch ]: Use default Tramp handler.
3801 [executable-find]: Remove private handler.
3802 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3803 `default-directory'.
3804 (tramp-sh-handle-executable-find)
3805 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3806 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3807 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3808 Do not use `format' in `tramp-message'.
3809
3810 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3811 [file-notify-rm-watch, set-visited-file-modtime]:
3812 [verify-visited-file-modtime]: Add handler.
3813 (tramp-smb-call-winexe): Do not bind `default-directory'.
3814
3815 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3816
3817 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3818
3819 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3820
3821 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3822 use it.
3823 (log-view-diff-changeset): Same.
3824 (log-view-diff-common): Call backend command `previous-revision'
3825 to find out the previous revision, in both cases. Swap the
3826 variables `to' and `fr', so that `fr' usually refers to the
3827 earlier revision (Bug#14989).
3828
3829 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3830
3831 * ibuf-ext.el (ibuffer-filter-by-filename):
3832 Make it work with dired buffers too.
3833
3834 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3835
3836 * emacs-lisp/re-builder.el (reb-color-display-p):
3837 * files.el (save-buffers-kill-terminal):
3838 * net/browse-url.el (browse-url):
3839 * server.el (server-save-buffers-kill-terminal):
3840 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3841 Prefer nil to selected-frame for the first arg of frame-parameter.
3842
3843 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3844
3845 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3846
3847 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3848
3849 * minibuffer.el (completion--twq-all): Try and preserve each
3850 completion's case choice (bug#14907).
3851
3852 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3853
3854 * net/network-stream.el (open-network-stream): Mention the new
3855 :nogreeting parameter.
3856 (network-stream-open-starttls): Use the :nogreeting parameter
3857 (bug#14938).
3858
3859 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3860
3861 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3862 more natural than popping.
3863
3864 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3865 (shr-urlify): Highlight under mouse.
3866
3867 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3868
3869 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3870
3871 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3872
3873 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3874 buffer for output.
3875
3876 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3877 point-min==1. Fix search string. Fix parentheses missing.
3878
3879 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3880 assume point-min==1. Fix search string. Fix parentheses missing.
3881
3882 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3883
3884 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3885 buffer for output.
3886
3887 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3888
3889 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3890 initial frame is minibuffer-less. (Bug#14841)
3891
3892 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3893
3894 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3895 option.
3896
3897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3898 (tramp-maybe-open-connection): Use it.
3899
3900 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3903 minimal set of parameters passed when creating a frame, because
3904 the minibuffer status of a frame cannot be changed later.
3905
3906 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3907
3908 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3909 replace-regexp-in-string and inadvertent omissions in previous change.
3910 (todo-filter-items): Ensure only file names are comma-separated in
3911 name of filtered items buffer.
3912
3913 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3914
3915 * desktop.el: Optionally force offscreen frames back onscreen.
3916 (desktop-restoring-reuses-frames): New option.
3917 (desktop--compute-pos, desktop--move-onscreen): New functions.
3918 (desktop--make-frame): Use desktop--move-onscreen.
3919
3920 2013-07-27 Alan Mackenzie <acm@muc.de>
3921
3922 Fontify a Java generic method as a function.
3923 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3924 value to t.
3925
3926 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3927
3928 * calendar/todo-mode.el: Add command to rename todo files.
3929 (todo-rename-file): New command.
3930 (todo-key-bindings-t): Add key binding for it. Change the
3931 bindings of todo-filter-regexp-items(-multifile) to use `x'
3932 instead of `r', since the latter is better suited to the new
3933 renaming command.
3934
3935 2013-07-27 Alan Mackenzie <acm@muc.de>
3936
3937 Make Java try-with-resources statement parse properly.
3938 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3939 (c-block-stmt-1-2-key): New language constants/variables.
3940 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3941 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3942 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3943 with c-block-stmt-1-2-key.
3944
3945 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3946
3947 * desktop.el (desktop--make-frame): Apply most frame parameters after
3948 creating the frame to force (partially or totally) offscreen frames to
3949 be restored as such.
3950
3951 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3952
3953 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3954 (Bug#14948)
3955
3956 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3959 `base' arg of backtrace-frame.
3960
3961 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3962
3963 * simple.el (list-processes): Doc fix.
3964
3965 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3966
3967 * desktop.el (desktop--select-frame):
3968 Try harder to reuse existing frames.
3969
3970 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3971
3972 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3973 (edebug-eval): Use backtrace-eval.
3974 (edebug--display, edebug--recursive-edit): Don't let-bind the
3975 edebug-outer-* vars that keep track of variables we locally let-bind.
3976 (edebug-outside-excursion): Don't restore outside values of locally
3977 let-bound vars.
3978 (edebug--display): Use user-error.
3979 (cl-lexical-debug, cl-debug-env): Remove.
3980
3981 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3982
3983 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3984 are restored to be sure that they are visible before deleting any
3985 remaining ones.
3986
3987 2013-07-26 Matthias Meulien <orontee@gmail.com>
3988
3989 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3990 vc-print-root-log. (Bug#14948)
3991
3992 2013-07-26 Richard Stallman <rms@gnu.org>
3993
3994 Add aliases for encrypting mail.
3995 * epa.el (epa-mail-aliases): New option.
3996 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3997 Bind inhibit-read-only so read-only text doesn't ruin everything.
3998 (epa-mail-default-recipients): New subroutine broken out.
3999 Handle epa-mail-aliases.
4000
4001 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 Add support for lexical variables to the debugger's `e' command.
4004 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4005 vars, except for debugger-outer-match-data.
4006 (debugger-frame-number): Move check for "on a function call" from
4007 callers into it. Add `skip-base' argument.
4008 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4009 (debugger-env-macro): Only reset the state stored in non-variables,
4010 i.e. current-buffer and match-data.
4011 (debugger-eval-expression): Rewrite using backtrace-eval.
4012 * subr.el (internal--called-interactively-p--get-frame): Remove.
4013 (called-interactively-p):
4014 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4015 `base' arg of backtrace-frame instead.
4016
4017 2013-07-26 Glenn Morris <rgm@gnu.org>
4018
4019 * align.el (align-regexp): Doc fix. (Bug#14857)
4020 (align-region): Explicit error if subexpression missing/does not match.
4021
4022 * simple.el (global-visual-line-mode):
4023 Do not duplicate the mode lighter. (Bug#14858)
4024
4025 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4026
4027 * window.el (display-buffer): In display-buffer bind
4028 split-window-keep-point to t, bug#14829.
4029
4030 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4031
4032 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4033 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4034 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4035 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4036 Change accordingly.
4037 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4038 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4039
4040 2013-07-25 Glenn Morris <rgm@gnu.org>
4041
4042 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4043
4044 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4045
4046 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4047 parameter to modify-frame-parameters if the value has not changed;
4048 this is a workaround for bug#14949.
4049 (desktop--make-frame): On cl-delete-if call, check parameter name,
4050 not full parameter.
4051
4052 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4053
4054 * vc/vc.el (vc-ignore): New function.
4055
4056 * vc/vc-svn.el (vc-svn-ignore): New function.
4057
4058 * vc/vc-hg.el (vc-hg-ignore): New function.
4059
4060 * vc/vc-git.el (vc-git-ignore): New function.
4061
4062 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4063 (vc-dir-ignore): New function.
4064
4065 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4066 (cvs-append-to-ignore): Move here from pcvs.el.
4067
4068 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4069
4070 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4071
4072 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4073
4074 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4075 (desktop-restore-frames): Warn when deleting an existing frame failed.
4076
4077 2013-07-24 Glenn Morris <rgm@gnu.org>
4078
4079 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4080
4081 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4082
4083 * filenotify.el (file-notify-supported-p):
4084 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4085 Remove functions.
4086
4087 * autorevert.el (auto-revert-use-notify):
4088 (auto-revert-notify-add-watch):
4089 * net/tramp.el (tramp-file-name-for-operation):
4090 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4091 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4092 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4093 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4094 Remove `file-notify-supported-p' entry.
4095
4096 2013-07-24 Glenn Morris <rgm@gnu.org>
4097
4098 * printing.el: Replace all uses of deleted ps-windows-system,
4099 ps-lp-system, ps-flatten-list with lpr- versions.
4100
4101 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4104 checked with memq (bug#14935).
4105
4106 * files.el (revert-buffer-function): Use a non-nil default.
4107 (revert-buffer-preserve-modes): Declare var to
4108 provide access to the `preserve-modes' argument.
4109 (revert-buffer): Let-bind it.
4110 (revert-buffer--default): New function, extracted from revert-buffer.
4111
4112 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * lpr.el: Signal print errors more prominently.
4115 (print-region-function): Don't default to nil.
4116 (lpr-print-region): New function, extracted from print-region-1.
4117 Check lpr's return value and signal an error in case of problem.
4118 (print-region-1): Use it.
4119 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4120 versions instead.
4121 (ps-printer-name): Default to nil.
4122 (ps-printer-name-option): Default to lpr-printer-switch.
4123 (ps-print-region-function): Don't default to nil.
4124 (ps-postscript-code-directory): Simplify default.
4125 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4126 (ps-string-list, ps-eval-switch, ps-flatten-list)
4127 (ps-flatten-list-1): Remove.
4128 (ps-multibyte-buffer): Avoid setq.
4129 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4130 (print-region-function, ps-print-region-function): Don't set them here.
4131
4132 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4133
4134 * ido.el (ido-fractionp):
4135 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4136 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4137 (ido-max-directory-size, ido-max-dir-file-cache)
4138 (ido-decorations): Doc fix.
4139
4140 * ansi-color.el: Fix old URL.
4141
4142 2013-07-23 Michael R. Mauger <michael@mauger.com>
4143
4144 * progmodes/sql.el: Version 3.3
4145 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4146 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4147 (sql-interactive-remove-continuation-prompt): Rewrite, use
4148 functions above. Fix continuation prompt and complete output line
4149 handling.
4150 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4151 redirected output buffer.
4152 (sql-mode): Restore deleted code (Bug#13591).
4153
4154 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4155
4156 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4157
4158 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4161
4162 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4163 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4164 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4165
4166 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4167
4168 * desktop.el (desktop-clear): Simplify; remove useless checks
4169 against invalid buffer names.
4170 (desktop-list*): Use cl-list*.
4171 (desktop-buffer-info, desktop-create-buffer): Simplify.
4172
4173 2013-07-23 Leo Liu <sdl.web@gmail.com>
4174
4175 * bookmark.el (bookmark-make-record): Restore NAME as a default
4176 value. (Bug#14933)
4177
4178 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4181 extracted from autoload--insert-text.
4182 (autoload--insert-text): Remove.
4183 (autoload--print-cookie-text): New function, extracted from
4184 autoload--insert-cookie-text.
4185 (autoload--insert-cookie-text): Remove.
4186 (autoload-generate-file-autoloads): Adjust calls accordingly.
4187
4188 * winner.el (winner-hook-installed-p): Remove.
4189 (winner-mode): Simplify accordingly.
4190
4191 * subr.el (add-to-list): Fix compiler-macro when `append' is
4192 not constant. Don't use `cl-member' for the base case.
4193
4194 * progmodes/subword.el: Fix boundary case (bug#13758).
4195 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4196 own group.
4197 (subword-backward-regexp): Make it a constant.
4198 (subword-forward-internal): Don't treat a trailing capital as the
4199 beginning of a word.
4200
4201 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4202
4203 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4204 global value of tabulated-list-revert-hook (bug#14930).
4205
4206 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4207
4208 * desktop.el: Require 'cl-lib.
4209 (desktop-before-saving-frames-functions): New hook.
4210 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4211 for frames being saved. Rename from desktop--save-minibuffer-frames.
4212 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4213 Do not save frames with non-nil `desktop-dont-save' parameter.
4214 Filter out deleted frames.
4215 (desktop--find-frame): Use cl-find-if.
4216 (desktop--select-frame): Use cl-(first|second|third) to access values
4217 of desktop-mini.
4218 (desktop--make-frame): Use cl-delete-if.
4219 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4220 (desktop-restore-frames): Use cl-(first|second|third) to access values
4221 of desktop-mini. Look for visible frame at the end, not while
4222 restoring frames.
4223
4224 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4225 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4226 Use string-match-p, looking-at-p (bug#14927).
4227
4228 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4229
4230 * desktop.el (desktop-saved-frame-states):
4231 Rename from desktop--saved-states; all users changed.
4232 (desktop-save-frames): Rename from desktop--save-frames.
4233 Do not save state to desktop file.
4234 (desktop-save): Save desktop-saved-frame-states to desktop file
4235 and reset to nil.
4236 (desktop-restoring-frames-p): New function.
4237 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4238 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4239 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4240
4241 * desktop.el: Correctly restore iconified frames.
4242 (desktop--filter-iconified-position): New function.
4243 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4244
4245 2013-07-20 Glenn Morris <rgm@gnu.org>
4246
4247 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4248 Let `message' do the formatting.
4249 (def-gdb-preempt-display-buffer): Add explicit format.
4250
4251 * image-dired.el (image-dired-track-original-file):
4252 Use with-current-buffer.
4253 (image-dired-track-thumbnail): Use with-current-buffer.
4254 Avoid changing point of wrong window.
4255
4256 * image-dired.el (image-dired-track-original-file):
4257 Avoid changing point of wrong window. (Bug#14909)
4258
4259 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4260
4261 * progmodes/gdb-mi.el (gdb-done-or-error):
4262 Guard against "%" in gdb output. (Bug#14127)
4263
4264 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4265
4266 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4267 (Bug#14826)
4268
4269 * international/mule.el (coding-system-iso-2022-flags): Fix last
4270 change.
4271
4272 2013-07-20 Kenichi Handa <handa@gnu.org>
4273
4274 * international/mule.el (coding-system-iso-2022-flags):
4275 Add `8-bit-level-4'. (Bug#8522)
4276
4277 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4278
4279 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4280 (bug#14815).
4281
4282 * net/eww.el (eww-process-text-input): Allow inputting when the
4283 point is at the start of the line, as the properties aren't
4284 front-sticky.
4285
4286 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4287 degenerate widths.
4288
4289 2013-07-19 Richard Stallman <rms@gnu.org>
4290
4291 * epa.el (epa-popup-info-window): Doc fix.
4292
4293 * subr.el (split-string): New arg TRIM.
4294
4295 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4296
4297 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4298 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4299
4300 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4301
4302 * filenotify.el (file-notify--library): Rename from
4303 `file-notify-support'. Do not autoload. Adapt all uses.
4304 (file-notify-supported-p): New defun.
4305
4306 * autorevert.el (auto-revert-use-notify):
4307 Use `file-notify-supported-p' instead of `file-notify-support'.
4308 Adapt docstring.
4309 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4310
4311 * net/tramp.el (tramp-file-name-for-operation):
4312 Add `file-notify-supported-p'.
4313
4314 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4315 New defun.
4316 (tramp-sh-file-name-handler-alist): Add it as handler for
4317 `file-notify-supported-p '.
4318
4319 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4320 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4321 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4322 Add `ignore' as handler for `file-notify-*' functions.
4323
4324 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4325
4326 * simple.el (line-move-partial, line-move): Don't start vscroll or
4327 scroll-up if the current line is not taller than the window.
4328 (Bug#14881)
4329
4330 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4331
4332 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4333 highlight question marks in the method names as strings.
4334 (ruby-block-beg-keywords): Inline.
4335 (ruby-font-lock-keyword-beg-re): Extract from
4336 `ruby-font-lock-keywords'.
4337
4338 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4339
4340 * frame.el (blink-cursor-blinks): New defcustom.
4341 (blink-cursor-blinks-done): New defvar.
4342 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4343 (blink-cursor-timer-function): Check if number of blinks has been
4344 done on X and NS.
4345 (blink-cursor-suspend, blink-cursor-check): New defuns.
4346
4347 2013-07-15 Glenn Morris <rgm@gnu.org>
4348
4349 * edmacro.el (edmacro-format-keys): Fix previous change.
4350
4351 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4352
4353 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4354 The hack didn't work outside English locales anyway.
4355
4356 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4357
4358 * simple.el (define-alternatives): Rename from alternatives-define,
4359 per RMS' suggestion.
4360
4361 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4362
4363 * desktop.el (desktop-restore-frames): Change default to t.
4364 (desktop-restore-in-current-display): Now offer more options.
4365 (desktop-restoring-reuses-frames): New customization option.
4366 (desktop--saved-states): Doc fix.
4367 (desktop-filter-parameters-alist): New variable, renamed and expanded
4368 from desktop--excluded-frame-parameters.
4369 (desktop--target-display): New variable.
4370 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4371 (desktop--filter-tty*, desktop--filter-*-color)
4372 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4373 (desktop--filter-save-desktop-parm)
4374 (desktop-restore-in-original-display-p): New functions.
4375 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4376 (desktop--save-minibuffer-frames): New function, inspired by a similar
4377 function from Martin Rudalics.
4378 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4379 (desktop--restore-in-this-display-p): Remove.
4380 (desktop--find-frame): Rename from desktop--find-frame-in-display
4381 and add predicate argument.
4382 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4383 (desktop--reuse-list): New variable.
4384 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4385 New functions.
4386 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4387
4388 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4391
4392 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4393
4394 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4395 Highlight conversion methods on Kernel.
4396
4397 2013-07-13 Alan Mackenzie <acm@muc.de>
4398
4399 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4400 and comment it out. This out-commenting enables certain C++
4401 declarations to be parsed correctly.
4402
4403 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4404
4405 * international/mule.el (define-coding-system): Doc fix.
4406
4407 * simple.el (default-font-height): Don't call font-info if the
4408 frame's default font didn't change since the frame was created.
4409 (Bug#14838)
4410
4411 2013-07-13 Leo Liu <sdl.web@gmail.com>
4412
4413 * ido.el (ido-read-file-name): Guard against non-symbol value.
4414
4415 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4416
4417 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4418 in nested defuns.
4419
4420 2013-07-13 Leo Liu <sdl.web@gmail.com>
4421
4422 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4423 ido-set-matches call. (Bug#6852)
4424
4425 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4426
4427 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4428 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4429 Ruby 2.0.
4430 (ruby-font-lock-keywords): Distinguish calls to functions with
4431 module-like names from module references. Highlight character
4432 literals.
4433
4434 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4435
4436 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4437 (gdb-send): Handle continued commands. (Bug#14847)
4438
4439 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * desktop.el (desktop--v2s): Remove unused local variable.
4442 (desktop-save-buffer): Make defvar-local; adjust docstring.
4443 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4444 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4445
4446 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4447
4448 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4449
4450 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4451
4452 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4453 (Bug#14842)
4454
4455 2013-07-12 Glenn Morris <rgm@gnu.org>
4456
4457 * doc-view.el: Require cl-lib at runtime too.
4458 (doc-view-remove-if): Remove.
4459 (doc-view-search-next-match, doc-view-search-previous-match):
4460 Use cl-remove-if.
4461
4462 * edmacro.el: Require cl-lib at runtime too.
4463 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4464 (edmacro-mismatch, edmacro-subseq): Remove.
4465
4466 * shadowfile.el: Require cl-lib.
4467 (shadow-remove-if): Remove.
4468 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4469 Use cl-remove-if.
4470
4471 * wid-edit.el: Require cl-lib.
4472 (widget-choose): Use cl-remove-if.
4473 (widget-remove-if): Remove.
4474
4475 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4476 (ebrowse-delete-if-not): Remove.
4477 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4478 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4479 Use cl-delete-if-not.
4480
4481 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4482
4483 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4484 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4485
4486 2013-07-12 Leo Liu <sdl.web@gmail.com>
4487
4488 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4489
4490 2013-07-11 Glenn Morris <rgm@gnu.org>
4491
4492 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4493 (edebug-gensym-index, edebug-gensym):
4494 Remove reimplementation of cl-gensym.
4495 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4496
4497 * thumbs.el: Require cl-lib at run-time too.
4498 (thumbs-gensym-counter, thumbs-gensym):
4499 Remove reimplementation of cl-gensym.
4500 (thumbs-temp-file): Use cl-gensym.
4501
4502 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4503 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4504 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4505 (ert--union, ert--gensym-counter, ert--gensym-counter)
4506 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4507 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4508 (ert-make-test-unbound, ert--expand-should-1)
4509 (ert--expand-should, ert--should-error-handle-error)
4510 (should-error, ert--explain-equal-rec)
4511 (ert--plist-difference-explanation, ert-select-tests)
4512 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4513 Use cl-lib functions rather than reimplementations.
4514
4515 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4516
4517 * net/tramp.el (tramp-methods): Extend docstring.
4518 (tramp-connection-timeout): New defcustom.
4519 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4520 (with-tramp-progress-reporter): Simplify.
4521 (tramp-process-actions): Improve messages.
4522
4523 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4524 * net/tramp-sh.el (tramp-maybe-open-connection):
4525 Use `tramp-connection-timeout'.
4526 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4527 (Bug#14808)
4528
4529 2013-07-11 Leo Liu <sdl.web@gmail.com>
4530
4531 * ido.el (ido-read-file-name): Conform to the requirements of
4532 read-file-name. (Bug#11861)
4533 (ido-read-directory-name): Conform to the requirements of
4534 read-directory-name.
4535
4536 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4537
4538 * subr.el (delay-warning): New function.
4539
4540 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4541
4542 * simple.el (default-line-height): New function.
4543 (line-move-partial, line-move): Use it instead of computing the
4544 line height inline.
4545 (line-move-partial): Always compute ROWH. If the last line is
4546 partially-visible, but its text is completely visible, allow
4547 cursor to enter such a partially-visible line.
4548
4549 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4550
4551 Improve error messages. (Bug#14808)
4552
4553 * net/tramp.el (tramp-current-connection): New defvar, moved from
4554 tramp-sh.el.
4555 (tramp-message-show-progress-reporter-message): Remove, not
4556 needed anymore.
4557 (tramp-error-with-buffer): Show message in minibuffer.
4558 Discard input before waiting. Reset connection timestamp.
4559 (with-tramp-progress-reporter): Improve messages.
4560 (tramp-process-actions): Use progress reporter. Delete process in
4561 case of error. Improve messages.
4562
4563 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4564 Call `tramp-error-with-buffer' with vector and buffer.
4565 (tramp-current-connection): Remove.
4566 (tramp-maybe-open-connection): The car of
4567 `tramp-current-connection' are the first 3 slots of the vector.
4568
4569 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4570
4571 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4572 inside continued strings.
4573
4574 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4575
4576 Timestamp fixes for undo (Bug#14824).
4577 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4578
4579 2013-07-10 Leo Liu <sdl.web@gmail.com>
4580
4581 * files.el (require-final-newline): Allow safe local value.
4582 (Bug#14834)
4583
4584 2013-07-09 Leo Liu <sdl.web@gmail.com>
4585
4586 * ido.el (ido-read-directory-name): Handle fallback.
4587 (ido-read-file-name): Update DIR to ido-current-directory.
4588 (Bug#1516)
4589 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4590
4591 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4592
4593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4594 "autoload". Remove "warn lower camel case" section, previously
4595 commented out. Highlight negation char. Do not highlight the
4596 target in singleton method definitions.
4597
4598 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * faces.el (tty-setup-hook): Declare the hook.
4601
4602 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4603 and detect when a guard/pred depends on local vars (bug#14773).
4604 (pcase--u1): Adjust caller.
4605
4606 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4607
4608 * simple.el (line-move-partial, line-move): Account for
4609 line-spacing.
4610 (line-move-partial): Avoid setting vscroll when the last
4611 partially-visible line in window is of default height.
4612
4613 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4614
4615 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4616 been used a while.
4617
4618 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * subr.el (read-quoted-char): Remove unused local variable `char'.
4621
4622 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4623
4624 * ediff.el (ediff-version): Version update.
4625 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4626 (ediff-merge-with-ancestor-command, ediff-directories-command)
4627 (ediff-directories3-command, ediff-merge-directories-command)
4628 (ediff-merge-directories-with-ancestor-command): New functions.
4629 All are command-line interfaces to ediff: to facilitate calling
4630 Emacs with the appropriate ediff functions invoked.
4631
4632 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4633 (viper-save-kill-buffer): Check if buffer is modified.
4634
4635 * viper.el (viper-version): Version update.
4636 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4637
4638 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4641 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4642 (viper-intercept-ESC-key): Simplify.
4643 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4644 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4645 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4646 (viper-setup-ESC-to-escape): New functions.
4647 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4648 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4649
4650 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4651
4652 * simple.el (default-font-height, window-screen-lines):
4653 New functions.
4654 (line-move, line-move-partial): Use them instead of
4655 frame-char-height and window-text-height. This makes scrolling
4656 text smoother when the buffer's default face uses a font that is
4657 different from the frame's default font.
4658
4659 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4660
4661 * files.el (write-file): Do not display confirm dialog for NS,
4662 it does its own dialog, which can't be cancelled (Bug#14578).
4663
4664 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4665
4666 * simple.el (line-move-partial): Adjust the row returned by
4667 posn-at-point for the current window-vscroll. (Bug#14567)
4668
4669 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4670
4671 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4672 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4673 spaces.
4674
4675 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4676
4677 * window.el (window-state-put-stale-windows): New variable.
4678 (window--state-put-2): Save list of windows without matching buffer.
4679 (window-state-put): Remove "bufferless" windows if possible.
4680
4681 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4682
4683 * simple.el (alternatives-define): Remove leftover :group keyword.
4684 Tweak docstring.
4685
4686 2013-07-06 Leo Liu <sdl.web@gmail.com>
4687
4688 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4689 (ido-enable-virtual-buffers): New variable.
4690 (ido-buffer-internal, ido-toggle-virtual-buffers)
4691 (ido-make-buffer-list): Use it.
4692 (ido-exhibit): Support turning on and off virtual buffers
4693 automatically.
4694
4695 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4696
4697 * simple.el (alternatives-define): New macro.
4698
4699 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * subr.el (read-quoted-char): Use read-key.
4702 (sit-for): Let read-event decode tty input (bug#14782).
4703
4704 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4705
4706 * calendar/todo-mode.el: Add handling of file deletion, both by
4707 mode command and externally. Fix various related bugs.
4708 Clarify Commentary and improve some documentation strings and code.
4709 (todo-delete-file): New command.
4710 (todo-check-file): New function.
4711 (todo-show): Handle external deletion of the file we're trying to
4712 show (bug#14688). Replace called-interactively-p by an optional
4713 prefix argument to avoid problematic interaction with catch form
4714 when byte compiled (bug#14702).
4715 (todo-quit): Handle external deletion of the archive's todo file.
4716 Make sure the buffer that was visiting the archive file is still
4717 live before trying to bury it.
4718 (todo-category-completions): Handle external deletion of any
4719 category completion files.
4720 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4721 of todo files, in case of external deletion.
4722 (todo-add-file): Replace unnecessary setq by let-binding.
4723 (todo-find-archive): Check whether there are any archives.
4724 Replace unnecessary setq by let-binding.
4725 (todo-archive-done-item): Use find-file-noselect to get the
4726 archive buffer whether or not the archive already exists.
4727 Remove superfluous code. Use file size instead of buffer-file-name to
4728 check if the archive is new; if it is, update list of archives.
4729 (todo-default-todo-file): Allow nil to be a valid value for when
4730 there are no todo files.
4731 (todo-reevaluate-default-file-defcustom): Use corrected definition
4732 of todo-default-todo-file.
4733 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4734 (todo-delete-category, todo-show-categories-table)
4735 (todo-category-number): Clarify comment.
4736 (todo-filter-items): Clarify documentation string.
4737 (todo-show-current-file, todo-display-as-todo-file)
4738 (todo-reset-and-enable-done-separator): Tweak documentation string.
4739 (todo-done-separator): Make separator length window-width, since
4740 bug#2749 is now fixed.
4741
4742 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4743
4744 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4745 Support both "gvfs-monitor-dir" and "inotifywait".
4746 (tramp-sh-file-inotifywait-process-filter): Rename from
4747 `tramp-sh-file-notify-process-filter'.
4748 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4749 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4750
4751 2013-07-05 Leo Liu <sdl.web@gmail.com>
4752
4753 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4754
4755 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4756
4757 * frame.el (display-pixel-height, display-pixel-width)
4758 (display-mm-height, display-mm-width): Mention behavior on
4759 multi-monitor setups in docstrings.
4760 (w32-display-monitor-attributes-list): Declare function.
4761 (display-monitor-attributes-list): Use it.
4762
4763 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4764
4765 * filenotify.el: New package.
4766
4767 * autorevert.el (top): Require filenotify.el.
4768 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4769 instead.
4770 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4771 (auto-revert-notify-handler): Use `file-notify-*' functions.
4772
4773 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4774
4775 * net/tramp.el (tramp-file-name-for-operation):
4776 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4777
4778 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4779 for `file-notify-add-watch' and `file-notify-rm-watch'.
4780 (tramp-process-sentinel): Improve trace.
4781 (tramp-sh-handle-file-notify-add-watch)
4782 (tramp-sh-file-notify-process-filter)
4783 (tramp-sh-handle-file-notify-rm-watch)
4784 (tramp-get-remote-inotifywait): New defuns.
4785
4786 2013-07-03 Juri Linkov <juri@jurta.org>
4787
4788 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4789 call of `occur-read-primary-args' to interactive spec.
4790
4791 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4792 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4793
4794 2013-07-03 Matthias Meulien <orontee@gmail.com>
4795
4796 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4797 `Buffer-menu-multi-occur'. Add it to the menu.
4798 (Buffer-menu-mode): Document it in docstring.
4799 (Buffer-menu-multi-occur): New command. (Bug#14673)
4800
4801 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4804 keywords and built-ins.
4805
4806 2013-07-03 Glenn Morris <rgm@gnu.org>
4807
4808 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4809
4810 Make info-xref checks case-sensitive by default
4811 * info.el (Info-find-node, Info-find-in-tag-table)
4812 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4813 Add option for exact case matching of nodes.
4814 * info-xref.el (info-xref): New custom group.
4815 (info-xref-case-fold): New option.
4816 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4817
4818 2013-07-03 Leo Liu <sdl.web@gmail.com>
4819
4820 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4821
4822 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4823
4824 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4825 middle of block statement initially, lower the depth. Remove
4826 FIXME comment, not longer valid. Remove middle of block statement
4827 detection, no need to do that anymore since we've been using
4828 `ruby-parse-region' here.
4829
4830 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4831
4832 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4833
4834 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4835
4836 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4837
4838 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4839
4840 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4841 (desktop-restore-in-current-display): New customization option.
4842 (desktop--excluded-frame-parameters): Add `font'.
4843 (desktop--save-frames): Rename from desktop--save-windows.
4844 (desktop--restore-in-this-display-p): New function.
4845 (desktop--make-full-frame): Remove unwanted width/height from
4846 full(width|height) frames.
4847 (desktop--restore-frames): Rename from desktop--restore-windows.
4848 Obey desktop-restore-current-display. Do not delete old frames or
4849 select a new frame unless we were able to restore at least one frame.
4850
4851 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4852
4853 * files.el (find-file-noselect): Simplify conditional expression.
4854
4855 * remember.el (remember-append-to-file):
4856 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4857
4858 Add `remember-notes' function to store random notes across Emacs
4859 restarts.
4860 * remember.el (remember-data-file): Add :set callback to affect
4861 notes buffer (if any).
4862 (remember-notes): New command.
4863 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4864 New defcustoms for the `remember-notes' function.
4865 (remember-notes-save-and-bury-buffer): New command.
4866 (remember-notes-mode-map): New variable.
4867 (remember-mode): New minor mode.
4868 (remember-notes--kill-buffer-query): New function.
4869 * startup.el (initial-buffer-choice): Add notes to custom type.
4870
4871 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4872
4873 * bindings.el (right-char, left-char): Don't call sit-for, this is
4874 no longer needed. Use arithmetic comparison only for numerical
4875 arguments.
4876
4877 * international/mule-cmds.el (select-safe-coding-system):
4878 Handle the case of FROM being a string correctly. (Bug#14755)
4879
4880 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4881
4882 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4883 progression on degenerate tables.
4884 (shr-rescale-image): ImageMagick animated images currently don't work.
4885
4886 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4887
4888 Some fixes and improvements for desktop frame restoration.
4889 It is still experimental and disabled by default.
4890 * desktop.el (desktop--save-windows): Put the selected frame at
4891 the head of the list.
4892 (desktop--make-full-frame): New function.
4893 (desktop--restore-windows): Try to re-select the frame that was
4894 selected upon saving. Do not abort if some frames fail to restore,
4895 just show an error message and continue. Set up maximized frames
4896 so they have default non-maximized dimensions.
4897
4898 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4899
4900 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4901 Don't start heredoc inside a string or comment.
4902
4903 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4904
4905 * bindings.el (visual-order-cursor-movement): New defcustom.
4906 (right-char, left-char): Provide visual-order cursor motion by
4907 calling move-point-visually. Update the doc strings.
4908
4909 2013-06-28 Kenichi Handa <handa@gnu.org>
4910
4911 * international/mule.el (define-coding-system): New coding system
4912 properties :inhibit-null-byte-detection,
4913 :inhibit-iso-escape-detection, and :prefer-utf-8.
4914 (set-buffer-file-coding-system): If :charset-list property of
4915 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4916 appropriate for setting.
4917
4918 * international/mule-cmds.el (select-safe-coding-system):
4919 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4920 multibyte characters, return utf-8 (or one of its siblings).
4921
4922 * international/mule-conf.el (prefer-utf-8): New coding system.
4923 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4924 files.
4925
4926 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4927
4928 * net/shr.el (shr-render-region): New function.
4929
4930 * net/eww.el: Autoload `eww-browse-url'.
4931
4932 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4933
4934 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4935 Adapt to `package-desc-version' being a list.
4936 Use `package--ac-desc-version' to retrieve version from a package
4937 archive element.
4938
4939 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4940
4941 New experimental feature to save&restore window and frame setup.
4942 * desktop.el (desktop-save-windows): New defcustom.
4943 (desktop--saved-states): New var.
4944 (desktop--excluded-frame-parameters): New defconst.
4945 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4946 (desktop--restore-windows, desktop--save-windows): New functions.
4947 (desktop-save): Call `desktop--save-windows'.
4948 (desktop-read): Call `desktop--restore-windows'.
4949
4950 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4951
4952 * net/shr.el (add-face-text-property): Remove compat definition.
4953
4954 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4955
4956 * info.el (Info-try-follow-nearest-node): Move search for footnote
4957 above search for node name to prevent missing a footnote (bug#14717).
4958
4959 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4960
4961 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4962
4963 2013-06-27 Leo Liu <sdl.web@gmail.com>
4964
4965 * net/eww.el (eww-read-bookmarks): Check file size.
4966
4967 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4970 advice--pending if newdef is nil or an autoload (bug#13820).
4971 (advice-mapc): New function.
4972
4973 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974
4975 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4976 probably.
4977 (eww-mode-map): Add a menu bar.
4978 (eww-add-bookmark): New command.
4979 (eww-bookmark-mode): New mode and commands.
4980 (eww-add-bookmark): Remove newlines from the title.
4981 (eww-bookmark-browse): Don't bug out if it's the only window.
4982
4983 2013-06-26 Glenn Morris <rgm@gnu.org>
4984
4985 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4986 (hfy-size): Handle ttys. (Bug#14668)
4987
4988 * info-xref.el: Update for Texinfo 5 change in *note format.
4989 (info-xref-node-re, info-xref-note-re): New constants.
4990 (info-xref-check-buffer): Use info-xref-note-re.
4991
4992 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4995
4996 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4997 nil terminate the loop (bug#14718).
4998
4999 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5000
5001 * net/eww.el: Rework history traversal. When going forward/back,
5002 put these actions into the history, too, so that they can be
5003 replayed.
5004 (eww-render): Move the history reset to the correct buffer.
5005
5006 2013-06-25 Juri Linkov <juri@jurta.org>
5007
5008 * files-x.el (modify-dir-local-variable): Change the header comment
5009 in the file with directory local variables. (Bug#14692)
5010
5011 * files-x.el (read-file-local-variable-value): Add `default'.
5012 (Bug#14710)
5013
5014 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5015
5016 * net/eww.el (eww-make-unique-file-name): Create a unique file
5017 name before saving to entering `y' accidentally asynchronously.
5018
5019 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5020
5021 * net/eww.el (eww-download): New command and keystroke.
5022
5023 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5024
5025 * net/eww.el (eww-copy-page-url): Change name of command.
5026
5027 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5028 be more consistent with Info and dired.
5029
5030 * net/eww.el (eww-mode-map): Ditto.
5031
5032 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5035 packages from archives.
5036 (package-archive-contents): Change format; include obsolete packages.
5037 (package-desc): Use `dir' to mark builtin packages.
5038 (package--from-builtin): Set the `dir' field to `builtin'.
5039 (generated-autoload-file, version-control): Declare.
5040 (package-compute-transaction): Change first arg and return value to be
5041 lists of package-descs. Adjust to new package-archive-contents format.
5042 (package--add-to-archive-contents): Adjust to new
5043 package-archive-contents format.
5044 (package-download-transaction): Arg is now a list of package-descs.
5045 (package-install): If `pkg' is a package name, pass it as
5046 a requirement, so it is subject to the usual (e.g. disabled) checks.
5047 (describe-package): Accept package-desc as well.
5048 (describe-package-1): Describe a specific package-desc. Add links to
5049 other package-descs for the same package name.
5050 (package-menu-describe-package): Pass the actual package-desc.
5051 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5052 works correctly.
5053 (package-desc-status): New function.
5054 (package-menu--refresh): New function, extracted
5055 from package-menu--generate.
5056 (package-menu--generate): Use it.
5057 (package-delete): Update package-alist.
5058 (package-menu-execute): Don't call package-initialize.
5059
5060 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5061 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5062 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5063 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5064 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5065 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5066
5067 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5068
5069 * window.el (window--state-get-1): Workaround for bug#14527.
5070 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5071
5072 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5073
5074 * net/eww.el (eww-back-url): Implement the history by stashing all
5075 the data into a list.
5076 (eww-forward-url): Allow going forward in the history, too.
5077
5078 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5081 for values and use read--expression for expressions (bug#14710).
5082 (read-file-local-variable): Avoid setq.
5083 (read-file-local-variable-mode): Use minor-mode-list.
5084
5085 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5086
5087 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5088 for DOI URLs.
5089
5090 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5091
5092 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5093 Update imenu-support when dialect changes.
5094
5095 2013-06-25 Leo Liu <sdl.web@gmail.com>
5096
5097 * ido.el (ido-read-internal): Allow forward slash on windows.
5098
5099 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5100
5101 * net/eww.el (eww): Start of strings is \\`, not ^.
5102
5103 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5104
5105 * net/shr.el (shr-browse-url): Fix interactive spec.
5106
5107 * net/eww.el (eww): Add a trailing slash to domain names.
5108
5109 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5110
5111 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5112
5113 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5114
5115 * net/shr.el (shr-browse-url): Use an external browser if given a
5116 prefix.
5117
5118 * net/eww.el (eww-external-browser): Move to shr.
5119
5120 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5121
5122 * net/eww.el (eww): Work more correctly for file: URLs.
5123 (eww-detect-charset): Allow quoted charsets.
5124 (eww-yank-page-url): New command and keystroke.
5125
5126 2013-06-24 Daiki Ueno <ueno@gnu.org>
5127
5128 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5129 file name of gpg executable.
5130 (epg-context-program): New function.
5131 (epg-context-home-directory): New function.
5132 (epg-context-set-program): New function.
5133 (epg-context-set-home-directory): New function.
5134 (epg--start): Use `epg-context-program' instead of
5135 'epg-gpg-program'.
5136 (epg--list-keys-1): Likewise.
5137
5138 2013-06-24 Leo Liu <sdl.web@gmail.com>
5139
5140 * ido.el (ido-read-internal): Fix bug#14620.
5141
5142 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5143
5144 * faces.el (face-documentation): Simplify.
5145 (read-face-attribute, tty-find-type, x-resolve-font-name):
5146 Use `string-match-p'.
5147 (list-faces-display): Use `string-match-p'. Simplify.
5148 (face-spec-recalc): Check face to avoid face alias loops.
5149 (read-color): Use `string-match-p' and non-capturing parenthesis.
5150
5151 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5152
5153 * net/shr.el (shr-rescale-image): Use the new
5154 :max-width/:max-height functionality.
5155
5156 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5157
5158 * net/eww.el (eww-search-prefix): New variable.
5159 (eww): Use it.
5160 (eww-external-browser): New variable.
5161 (eww-mode-map): New keystroke.
5162 (eww-browse-with-external-browser): New command.
5163
5164 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5165
5166 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5169 Don't skip aligning the next header field when padding is 0;
5170 otherwise, field width is not respected unless the title is as
5171 wide as the field.
5172
5173 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/package.el (package-el-version): Remove.
5176 (package-process-define-package): Fix inf-loop.
5177 (package-install): Allow symbols as arguments again.
5178
5179 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5182 add some more keyword-like methods.
5183 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5184
5185 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5186
5187 * bs.el (bs-buffer-show-mark): Make defvar-local.
5188 (bs-mode): Use setq-local.
5189
5190 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5191 (emacs-lock--try-unlocking): Make defvar-local.
5192
5193 2013-06-22 Glenn Morris <rgm@gnu.org>
5194
5195 * play/cookie1.el (cookie-apropos): Minor simplification.
5196
5197 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5198
5199 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5200
5201 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5202 `regexp-opt', it breaks the build during dumping.
5203
5204 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5205
5206 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5207 Highlight keyword-like methods on Kernel and Module with
5208 font-lock-builtin-face.
5209 (auto-mode-alist): Consolidate different entries into one regexp
5210 and add more *file-s.
5211
5212 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5213
5214 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5215
5216 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5217 (diary-entry): Use it in the action of this button type instead of
5218 diary-goto-entry.
5219
5220 * calendar/todo-mode.el: New version.
5221 (todo-add-category): Append new category to end of file and give
5222 it the highest number, instead of putting it at the beginning and
5223 giving it 0. Incorporate noninteractive functionality.
5224 (todo-forward-category): Adapt to 1-based category numbering.
5225 Allow skipping over archived categories.
5226 (todo-backward-category): Derive from todo-forward-category.
5227 (todo-backward-item, todo-forward-item): Make noninteractive and
5228 delegate interactive part to new commands. Make sensitive to done items.
5229 (todo-categories): Make value an alist of category names and
5230 vectors of item counts.
5231 (todo-category-beg): Make a defconst.
5232 (todo-category-number): Use 1 instead of 0 as initial value.
5233 (todo-category-select): Make sensitive to overlays, optional item
5234 highlighting and done items.
5235 (todo-delete-item): Make sensitive to overlays and marked and done items.
5236 (todo-edit-item): Make sensitive to overlays and editing of
5237 date/time header optional. Add format checks.
5238 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5239 no-op if point is not on an item. Advertise using todo-edit-quit.
5240 (todo-edit-mode): Make sensitive to new format, font-locking, and
5241 multiple todo files.
5242 (todo-insert-item, todo-insert-item-here): Derive from
5243 todo-basic-insert-item and extend functionality.
5244 (todo-item-end, todo-item-start): Make sensitive to done items.
5245 (todo-item-string): Don't return text properties. Restore point.
5246 (todo-jump-to-category): Make sensitive to multiple todo files and
5247 todo archives. Use extended category completion.
5248 (todo-lower-item, todo-raise-item): Rename to *-priority and
5249 derive from todo-set-item-priority.
5250 (todo-mode): Derive from special-mode. Make sensitive to new
5251 format, font-locking and multiple todo files. Make read-only.
5252 (todo-mode-map): Don't suppress digit keys, so they can supply
5253 prefix arguments. Add many new key bindings.
5254 (todo-prefix): Insert as an overlay instead of file text.
5255 Change semantics from diary date expression to purely visual mark.
5256 (todo-print): Rename to todo-print-buffer. Make buffer display
5257 features printable. Remove option to restrict number of items
5258 printed. Add option to print to file.
5259 (todo-print-function): Rename to todo-print-buffer-function.
5260 (todo-quit): Extend to handle exiting new todo modes.
5261 (todo-remove-item): Make sensitive to overlays.
5262 (todo-save): Extend to buffers of filtered items.
5263 (todo-show): Make sensitive to done items, multiple todo files and
5264 new todo modes. Offer to convert legacy todo file before creating
5265 first new todo file.
5266 (todo-show-priorities): Rename to todo-top-priorities.
5267 Change semantics of value 0.
5268 (todo-top-priorities): Rename to todo-filter-top-priorities,
5269 derive from todo-filter-items and extend functionality.
5270 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5271 and extend functionality to other types of filtered items.
5272 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5273 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5274 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5275 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5276 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5277 (todo-edit-mode-hook, todo-entry-prefix-function)
5278 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5279 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5280 (todo-initials, todo-insert-threshold, todo-item-string-start)
5281 (todo-line-string, todo-menu, todo-mode-hook)
5282 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5283 (todo-print-priorities, todo-remove-separator)
5284 (todo-save-top-priorities-too, todo-string-count-lines)
5285 (todo-string-multiline-p, todo-time-string-format)
5286 (todo-tmp-buffer-name): Remove.
5287 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5288 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5289 (todo-edit-category-diary-inclusion)
5290 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5291 (todo-edit-file, todo-edit-item-date-day)
5292 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5293 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5294 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5295 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5296 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5297 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5298 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5299 (todo-filter-top-priorities-multifile, todo-find-archive)
5300 (todo-find-filtered-items-file, todo-go-to-source-item)
5301 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5302 (todo-jump-to-archive-category, todo-lower-category)
5303 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5304 (todo-move-category, todo-move-item, todo-next-button)
5305 (todo-next-item, todo-padded-string, todo-powerset)
5306 (todo-previous-button, todo-previous-item)
5307 (todo-print-buffer-to-file, todo-raise-category)
5308 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5309 (todo-set-category-number, todo-set-item-priority)
5310 (todo-set-top-priorities-in-category)
5311 (todo-set-top-priorities-in-file, todo-show-categories-table)
5312 (todo-sort-categories-alphabetically-or-numerically)
5313 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5314 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5315 (todo-toggle-item-header, todo-toggle-item-highlighting)
5316 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5317 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5318 (todo-unarchive-items, todo-unmark-category): New commands.
5319 (todo-absolute-file-name, todo-add-to-buffer-list)
5320 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5321 (todo-basic-insert-item, todo-category-completions)
5322 (todo-category-number, todo-category-string-matcher-1)
5323 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5324 (todo-check-format, todo-clear-matches)
5325 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5326 (todo-current-category, todo-date-string-matcher)
5327 (todo-define-insertion-command, todo-diary-expired-matcher)
5328 (todo-diary-goto-entry, todo-diary-item-p)
5329 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5330 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5331 (todo-done-item-section-p, todo-done-separator)
5332 (todo-done-string-matcher, todo-files, todo-filter-items)
5333 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5334 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5335 (todo-insert-category-line, todo-insert-item-from-calendar)
5336 (todo-insert-sort-button, todo-insert-with-overlays)
5337 (todo-insertion-command-name, todo-insertion-key-bindings)
5338 (todo-label-to-key, todo-longest-category-name-length)
5339 (todo-make-categories-list, todo-mode-external-set)
5340 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5341 (todo-modes-set-3, todo-multiple-filter-files)
5342 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5343 (todo-read-category, todo-read-date, todo-read-dayname)
5344 (todo-read-file-name, todo-read-time)
5345 (todo-reevaluate-category-completions-files-defcustom)
5346 (todo-reevaluate-default-file-defcustom)
5347 (todo-reevaluate-filelist-defcustoms)
5348 (todo-reevaluate-filter-files-defcustom)
5349 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5350 (todo-reset-done-separator, todo-reset-done-separator-string)
5351 (todo-reset-done-string, todo-reset-global-current-todo-file)
5352 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5353 (todo-reset-prefix, todo-set-categories)
5354 (todo-set-date-from-calendar, todo-set-show-current-file)
5355 (todo-set-top-priorities, todo-short-file-name)
5356 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5357 (todo-total-item-counts, todo-update-buffer-list)
5358 (todo-update-categories-display, todo-update-categories-sexp)
5359 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5360 New functions.
5361 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5362 New major modes.
5363 (todo-categories, todo-display, todo-edit, todo-faces)
5364 (todo-filtered): New defgroups.
5365 (todo-archived-only, todo-button, todo-category-string, todo-date)
5366 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5367 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5368 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5369 (todo-add-item-if-new-category, todo-always-add-time-string)
5370 (todo-categories-align, todo-categories-archived-label)
5371 (todo-categories-category-label, todo-categories-diary-label)
5372 (todo-categories-done-label, todo-categories-number-separator)
5373 (todo-categories-todo-label, todo-categories-totals-label)
5374 (todo-category-completions-files, todo-completion-ignore-case)
5375 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5376 (todo-done-separator-string, todo-done-string)
5377 (todo-files-function, todo-filter-done-items, todo-filter-files)
5378 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5379 (todo-initial-category, todo-initial-file, todo-item-mark)
5380 (todo-legacy-date-time-regexp, todo-mode-line-function)
5381 (todo-nondiary-marker, todo-number-prefix)
5382 (todo-print-buffer-function, todo-show-current-file)
5383 (todo-show-done-only, todo-show-first, todo-show-with-done)
5384 (todo-skip-archived-categories, todo-top-priorities-overrides)
5385 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5386 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5387 New defcustoms.
5388 (todo-category-done, todo-date-pattern, todo-date-string-start)
5389 (todo-diary-items-buffer, todo-done-string-start)
5390 (todo-filtered-items-buffer, todo-item-start)
5391 (todo-month-abbrev-array, todo-month-name-array)
5392 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5393 (todo-top-priorities-buffer): New defconsts.
5394 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5395 (todo-categories-with-marks, todo-category-string-face)
5396 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5397 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5398 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5399 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5400 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5401 (todo-font-lock-keywords, todo-global-current-todo-file)
5402 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5403 (todo-insertion-commands-args)
5404 (todo-insertion-commands-args-genlist)
5405 (todo-insertion-commands-names, todo-insertion-map)
5406 (todo-key-bindings-t, todo-key-bindings-t+a)
5407 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5408 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5409 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5410 (todo-visited): New variables.
5411
5412 2013-06-21 Glenn Morris <rgm@gnu.org>
5413
5414 * play/cookie1.el (cookie-apropos): Add optional display argument.
5415 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5416 (psychoanalyze-pinhead): Use cookie-doctor.
5417
5418 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5419
5420 * emacs-lisp/package.el (tar-get-file-descriptor)
5421 (tar--extract): Declare.
5422
5423 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5424
5425 Extend flymake's warning predicate to be a function (bug#14217).
5426 * progmodes/flymake.el (flymake-warning-predicate): New.
5427 (flymake-parse-line): Use it.
5428 (flymake-warning-re): Make obsolete alias to
5429 `flymake-warning-predicate'.
5430
5431 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5434 (package-obsolete-list): Remove.
5435 (package-activate): Remove min-version argument. Add `force' argument.
5436 Adjust to new package-alist format.
5437 (package-mark-obsolete): Remove.
5438 (package-unpack): Force reload of the package's autoloads.
5439 (package-installed-p): Check builtins if the installed package is not
5440 recent enough.
5441 (package-initialize): Don't reset package-obsolete-list.
5442 Don't specify which package version to activate.
5443 (package-process-define-package, describe-package-1)
5444 (package-menu--generate): Adjust to new package-alist format.
5445
5446 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5447
5448 * allout-widgets.el (allout-widgets-mode-off)
5449 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5450 (allout-widgets-post-command-business)
5451 (allout-widgets-after-copy-or-kill-function)
5452 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5453 (allout-decorate-item-and-context)
5454 (allout-graphics-modification-handler): Fix typos in docstrings.
5455 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5456
5457 * cmuscheme.el (scheme-start-file): Doc fix.
5458 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5459 (scheme-input-filter): Use `string-match-p'.
5460
5461 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5462
5463 * dired-x.el: Use Dired consistently in docstrings.
5464
5465 * dired.el: Use Dired consistently in docstrings.
5466 (dired-readin, dired-mode): Use `setq-local'.
5467 (dired-switches-alist): Make defvar-local.
5468 (dired-buffers-for-dir): Use `zerop'.
5469 (dired-safe-switches-p, dired-switches-escape-p)
5470 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5471 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5472 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5473 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5474 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5475 (dired-toggle-marks, dired-mark-files-containing-regexp)
5476 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5477 (dired-flag-auto-save-files, dired-flag-backup-files):
5478 Use `looking-at-p'.
5479 (dired-mark-files-regexp, dired-build-subdir-alist):
5480 Use `string-match-p', `looking-at-p'.
5481
5482 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5483 (direct-print-region-helper): Use `string-match-p'.
5484
5485 2013-06-21 Leo Liu <sdl.web@gmail.com>
5486
5487 * comint.el (comint-redirect-results-list-from-process):
5488 Fix infinite loop.
5489
5490 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5491
5492 * net/eww.el (eww-update-header-line-format): Quote % characters.
5493
5494 2013-06-21 Glenn Morris <rgm@gnu.org>
5495
5496 * play/cookie1.el (cookie): New custom group.
5497 (cookie-file): New option.
5498 (cookie-check-file): New function.
5499 (cookie): Make it interactive. Make start and end messages optional.
5500 Interactively, display the result. Default to cookie-file.
5501 (cookie-insert): Default to cookie-file.
5502 (cookie-snarf): Make start and end messages optional.
5503 Default to cookie-file. Use with-temp-buffer.
5504 (cookie-read): Rename from read-cookie.
5505 Make start and end messages optional. Default to cookie-file.
5506 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5507 Do not autoload it.
5508 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5509 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5510
5511 2013-06-21 Leo Liu <sdl.web@gmail.com>
5512
5513 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5514
5515 2013-06-21 Glenn Morris <rgm@gnu.org>
5516
5517 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5518
5519 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5520 Daniel Hackney <dan@haxney.org>
5521
5522 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5523 Consolidate the single-file vs tarball code.
5524 (package-desc-suffix): New function.
5525 (package-desc-full-name): Don't bother inlining it.
5526 (package-load-descriptor): Return the new package-desc.
5527 (package-mark-obsolete): Remove unused arg `package'.
5528 (package-unpack): Make it work for single files as well.
5529 Make it update package-alist.
5530 (package--make-autoloads-and-stuff): Rename from
5531 package--make-autoloads-and-compile. Don't compile any more.
5532 (package--compile): New function.
5533 (package-generate-description-file): New function, extracted from
5534 package-unpack-single.
5535 (package-unpack-single): Remove.
5536 (package--with-work-buffer): Add indentation and debugging info.
5537 (package-download-single): Remove.
5538 (package-install-from-archive): Rename from package-download-tar, make
5539 it take a pkg-desc, and make it work for single files as well.
5540 (package-download-transaction): Simplify.
5541 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5542 external tar program.
5543 (package-install-from-buffer): Remove `pkg-desc' argument.
5544 Use package-tar-file-info for tar-mode buffers.
5545 (package-install-file): Simplify accordingly.
5546 (package-archive-base): Change to take a pkg-desc.
5547 * tar-mode.el (tar--check-descriptor): New function, extracted from
5548 tar-get-descriptor.
5549 (tar-get-descriptor): Use it.
5550 (tar-get-file-descriptor): New function.
5551 (tar--extract): New function, extracted from tar-extract.
5552 (tar--extract): Use it.
5553 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5554 case the summary uses non-ascii. Adjust to new calling convention of
5555 package-tar-file-info.
5556
5557 2013-06-21 Leo Liu <sdl.web@gmail.com>
5558
5559 * comint.el (comint-redirect-results-list-from-process):
5560 Fix random delay. (Bug#14681)
5561
5562 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5563
5564 * profiler.el (profiler-format-number): Use log, not log10.
5565
5566 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5567
5568 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5569
5570 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5573 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5574 yet available.
5575 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5576 (AUTOGENEL): ... here.
5577 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5578 (cl--defsubst-expand): Use it.
5579
5580 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5581
5582 * subr.el (log10): Move here from C code, and declare as obsolete.
5583 All uses of (log10 X) replaced with (log X 10).
5584
5585 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5588 Declare with `defvar-local'.
5589 (tabulated-list-use-header-line, tabulated-list-entries)
5590 (tabulated-list-padding, tabulated-list-printer)
5591 (tabulated-list-sort-key): Declare with `defvar-local'.
5592 (tabulated-list-init-header, tabulated-list-print-fake-header):
5593 Use `setq-local'.
5594
5595 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5596
5597 * arc-mode.el (archive-mode): Add `archive-write-file' to
5598 `write-contents-functions' also for remote files. (Bug#14652)
5599
5600 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5601
5602 * cus-edit.el (custom-commands): Fix typos.
5603 (custom-display): Fix tooltip text.
5604 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5605 Fix typos in docstrings.
5606 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5607 (custom-unlispify-menu-entry, custom-magic-value-create)
5608 (custom-add-see-also, custom-group-value-create): Use ?\s.
5609 (custom-guess-type, customize-apropos, editable-field)
5610 (custom-face-value-create): Use `string-match-p'.
5611 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5612
5613 * custom.el (custom-load-symbol): Use `string-match-p'.
5614
5615 * ansi-color.el: Convert to lexical binding.
5616 (ansi-colors): Fix URL.
5617 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5618 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5619 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5620
5621 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5622
5623 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5624
5625 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5626
5627 2013-06-19 Tom Tromey <tromey@redhat.com>
5628
5629 * net/eww.el (eww-top-url): Remove.
5630 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5631 (eww-render): Set new variables. Don't set eww-top-url.
5632 (eww-handle-link): Handle "prev", "home", and "contents".
5633 Downcase the rel text.
5634 (eww-top-url): Choose best top URL.
5635
5636 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5637
5638 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5639 relying in widget.el. Using widget.el leads to too many
5640 user interface inconsistencies.
5641 (eww-self-insert): Implement entering commands in text fields.
5642 (eww-process-text-input): New function to make text input field editing
5643 work.
5644 (eww-submit): Rewrite to use the new-style form methods.
5645 (eww-select-display): Display the correct selected item.
5646 (eww-change-select): Implement changing the select value.
5647 (eww-toggle-checkbox): Implement radio/checkboxes.
5648 (eww-update-field): Fix compilation error.
5649 (eww-tag-textarea): Implement <textarea>.
5650
5651 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5652 we don't shadow mode-specific bindings.
5653
5654 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5655 nothing to push.
5656
5657 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5658
5659 2013-06-19 Glenn Morris <rgm@gnu.org>
5660
5661 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5662
5663 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5664
5665 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5666 not needed.
5667
5668 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5669
5670 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5671
5672 * net/browse-url.el (browse-url-browser-function):
5673 `eww-browse-url' has the right calling signature, `eww' does not.
5674
5675 2013-06-19 Glenn Morris <rgm@gnu.org>
5676
5677 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5678 Only eval autoloaded macros.
5679 (byte-compile-autoload): Only give the macro warning for macros.
5680
5681 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5682 (ps-underlined-faces): Declare.
5683
5684 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5685 (speedbar-add-supported-extension): Declare.
5686
5687 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5688 Don't include a date stamp in the header of the generated file;
5689 it leads to needless differences between output files.
5690
5691 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5692
5693 * net/secrets.el (secrets-struct-secret-content-type):
5694 Replace check of introspection data by a test call of "CreateItem".
5695 Some servers do not offer introspection.
5696
5697 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * electric.el (electric-pair-mode): Improve interaction with
5700 electric-layout-mode.
5701 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5702 (electric-pair-syntax): Use text-mode-syntax-table in comments
5703 and strings.
5704 (electric-pair--insert): New function.
5705 (electric-pair-post-self-insert-function): Use it and
5706 electric--after-char-pos.
5707
5708 2013-06-19 Leo Liu <sdl.web@gmail.com>
5709
5710 * progmodes/octave.el (octave-help): Fix regexp.
5711
5712 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5713
5714 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5715 (shr-table-horizontal-line): Allow nil as a value, and change the
5716 default.
5717 (shr-insert-table-ruler): Respect the nil value.
5718
5719 2013-06-18 Tom Tromey <tromey@barimba>
5720
5721 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5722 New defvars.
5723 (eww-open-file): New defun.
5724 (eww-render): Initialize new variables.
5725 (eww-display-html): Handle "link" and "a".
5726 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5727 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5728 (eww-back-url): Rename from eww-previous-url.
5729 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5730 New defuns.
5731
5732 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5733
5734 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5735 Distinguish ternary operator tokens from slash symbol and slash
5736 char literal.
5737
5738 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5739
5740 Convert symbol prettification into minor mode and global minor mode.
5741
5742 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5743 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5744 (prettify-symbols--keywords): Rename from
5745 `prog-prettify-symbols-alist' and make a local defvar.
5746 (prettify-symbols--compose-symbol): Rename from
5747 `prog--prettify-font-lock-compose-symbol'.
5748 (prettify-symbols--make-keywords): Rename from
5749 `prog-prettify-font-lock-symbols-keywords' and simplify.
5750 (prog-prettify-install): Remove.
5751 (prettify-symbols-mode): New minor mode, based on
5752 `prog-prettify-install'.
5753 (turn-on-prettify-symbols-mode): New function.
5754 (global-prettify-symbols-mode): New globalized minor mode.
5755
5756 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5757 * progmodes/cfengine.el (cfengine3-mode):
5758 * progmodes/perl-mode.el (perl-mode): Don't call
5759 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5760
5761 2013-06-18 Juri Linkov <juri@jurta.org>
5762
5763 * files-x.el (modify-file-local-variable-message): New function.
5764 (modify-file-local-variable)
5765 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5766 and call `modify-file-local-variable-message' when it's non-nil.
5767 (add-file-local-variable, delete-file-local-variable)
5768 (add-file-local-variable-prop-line)
5769 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5770 and use it. (Bug#9820)
5771
5772 2013-06-18 Juri Linkov <juri@jurta.org>
5773
5774 * emulation/vi.el (vi-shell-op):
5775 * emulation/vip.el (vip-execute-com, ex-command):
5776 * emulation/viper-cmd.el (viper-exec-bang):
5777 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5778 the call of `shell-command-on-region'. (Bug#14637)
5779
5780 * simple.el (shell-command-on-region): Doc fix.
5781
5782 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5785 (bug#14633).
5786
5787 2013-06-18 Glenn Morris <rgm@gnu.org>
5788
5789 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5790
5791 * newcomment.el (comment-search-forward, comment-search-backward):
5792 Doc fix. (Bug#14376)
5793
5794 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5795
5796 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5797 (buffer-face-mode-invoke): Doc fix.
5798
5799 2013-06-18 Matthias Meulien <orontee@gmail.com>
5800
5801 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5802 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5803
5804 2013-06-18 Glenn Morris <rgm@gnu.org>
5805
5806 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5807 Replace obsolete function generic-make-keywords with its expansion.
5808
5809 * progmodes/python.el (ffap-alist): Declare.
5810
5811 * textmodes/reftex.el (bibtex-mode-map): Declare.
5812
5813 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5816 (package-unpack, package-unpack-single): Return the pkg-dir.
5817 (package-download-transaction): Use it to update package-alist.
5818
5819 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5820
5821 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5822 possible choice.
5823
5824 2013-06-17 Juri Linkov <juri@jurta.org>
5825
5826 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5827
5828 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5829
5830 * emacs-lisp/package.el (package-load-descriptor):
5831 Remove `with-syntax-table' call, `read' doesn't need it.
5832 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5833
5834 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5835
5836 * startup.el (command-line): Expand package name returned by
5837 `package--description-file' (bug#14639).
5838
5839 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5840
5841 * emacs-lisp/package.el (package-load-descriptor): Do not call
5842 `emacs-lisp-mode', just use its syntax table.
5843
5844 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5845
5846 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5847 `font-lock-extra-managed-props' if any prettifying keyword is added.
5848 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5849 (prog-mode): Use `setq-local'.
5850
5851 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * international/characters.el (standard-case-table): Set syntax of ?»
5854 and ?« to punctuation.
5855
5856 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5857
5858 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5859 Save relevant match data before calling `syntax-ppss' (bug#14595).
5860
5861 2013-06-15 Juri Linkov <juri@jurta.org>
5862
5863 * files-x.el (modify-file-local-variable-prop-line): Add local
5864 variables to the end of the existing comment on the first line.
5865 Use `file-auto-mode-skip' to skip interpreter magic line,
5866 and also skip XML declaration.
5867
5868 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * startup.el (package--builtin-versions): New var.
5871 (package-subdirectory-regexp): Remove.
5872 (package--description-file): Hard code its value instead.
5873
5874 * emacs-lisp/package.el: Don't activate packages older than builtin.
5875 (package-obsolete-list): Rename from package-obsolete-alist, and make
5876 it into a simple list of package-desc.
5877 (package-strip-version): Remove.
5878 (package-built-in-p): Use package--builtin-versions.
5879 (package-mark-obsolete): Simplify.
5880 (package-process-define-package): Mark it obsolete if older than the
5881 builtin version.
5882 (package-handle-response): Use line-end-position.
5883 (package-read-archive-contents, package--download-one-archive):
5884 Simplify.
5885 (package--add-to-archive-contents): Skip if older than the builtin or
5886 installed version.
5887 (package-menu-describe-package): Fix last change.
5888 (package-list-unversioned): New var.
5889 (package-menu--generate): Use it.
5890
5891 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5892 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5893 (autoload-builtin-package-versions): New variable.
5894 (autoload-generate-file-autoloads): Use them.
5895 Remove the list of autoloaded functions/macros from the
5896 (autoload...) comments.
5897
5898 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5899
5900 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5901
5902 * simple.el (line-move-partial): Don't jump to the next screen
5903 line as soon as it becomes visible. Instead, continue enlarging
5904 the vscroll until the portion of a tall screen line that's left on
5905 display is about the height of the frame's default font.
5906 (Bug#14567)
5907
5908 2013-06-15 Glenn Morris <rgm@gnu.org>
5909
5910 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5911 compilation-error-regexp-alist void, or local while let-bound.
5912
5913 * progmodes/make-mode.el (makefile-mode-syntax-table):
5914 Treat "=" as punctuation. (Bug#14614)
5915
5916 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5917
5918 * help-fns.el (describe-variable):
5919 Add extra line for permanent-local variables.
5920
5921 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5922
5923 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5924 Add export, import, library. (Bug#9164)
5925 (library): Set indent function.
5926
5927 2013-06-14 Glenn Morris <rgm@gnu.org>
5928
5929 * term/xterm.el (xterm--query):
5930 Stop after first matching handler. (Bug#14615)
5931
5932 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5933
5934 Add support for dired in saveplace.
5935 * dired.el (dired-initial-position-hook): New variable.
5936 (dired-initial-position): Call hook to place cursor position.
5937 * saveplace.el (save-place-to-alist): Add dired position.
5938 (save-place-dired-hook): New function.
5939
5940 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5943 through a symbol rather than letrec.
5944
5945 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5946 (package-desc): Add `dir' field.
5947 (package-desc-full-name): New function.
5948 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5949 (package-maybe-load-descriptor): Remove.
5950 (package-load-all-descriptors): Just call package-load-descriptor.
5951 (package--disabled-p): New function.
5952 (package-desc-vers, package-desc-doc): Remove aliases.
5953 (package--dir): Remove function.
5954 (package-activate): Check if a package is disabled.
5955 (package-process-define-package): New function, extracted from
5956 define-package.
5957 (define-package): Turn into a place holder.
5958 (package-unpack-single, package-tar-file-info):
5959 Use package--description-file.
5960 (package-compute-transaction): Use package--disabled-p.
5961 (package-download-transaction): Don't call
5962 package-maybe-load-descriptor since they're all loaded anyway.
5963 (package-install): Change argument to be a pkg-desc.
5964 (package-delete): Use a single pkg-desc argument.
5965 (describe-package-1): Use package-desc-dir instead of package--dir.
5966 Use package-desc property instead of package-symbol.
5967 (package-install-button-action): Adjust accordingly.
5968 (package--push): Rewrite.
5969 (package-menu--print-info): Adjust accordingly. Change the ID format
5970 to be a pkg-desc.
5971 (package-menu-describe-package, package-menu-get-status)
5972 (package-menu--find-upgrades, package-menu-mark-upgrades)
5973 (package-menu-execute, package-menu--name-predicate):
5974 Adjust accordingly.
5975 * startup.el (package--description-file): New function.
5976 (command-line): Use it.
5977 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5978 Use package-desc-version.
5979
5980 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5981 (byte-compile-preprocess): Use it.
5982 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5983 can't quite recognize.
5984 (byte-compile-add-to-list): Remove.
5985 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5986 (cconv-closure-convert): Add assertion.
5987
5988 * emacs-lisp/map-ynp.el: Use lexical-binding.
5989 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5990 Factor out some repeated code.
5991
5992 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * subr.el (with-eval-after-load): New macro.
5995 (eval-after-load): Allow form to be a function.
5996 take advantage of lexical-binding.
5997 (do-after-load-evaluation): Use dolist and adjust to new format.
5998 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5999
6000 2013-06-13 Juri Linkov <juri@jurta.org>
6001
6002 * replace.el (perform-replace): Display "symbol " and other search
6003 modes from `isearch-message-prefix' in the *Help* buffer.
6004
6005 * isearch.el (isearch-query-replace): Add " symbol" and other
6006 possible search modes from `isearch-message-prefix' to the prompt.
6007 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6008 when reading a regexp to collect.
6009
6010 2013-06-13 Juri Linkov <juri@jurta.org>
6011
6012 * isearch.el (word-search-regexp): Match whitespace if the search
6013 string begins or ends in whitespace. The LAX arg is applied to
6014 both ends of the search string. Use `regexp-quote' and explicit
6015 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6016 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6017 boundaries are replaced with symbol boundaries, and characters
6018 between symbols match non-word non-symbol syntax. (Bug#14602)
6019
6020 2013-06-13 Juri Linkov <juri@jurta.org>
6021
6022 * isearch.el (isearch-del-char): Don't exceed the length of
6023 `isearch-string' by the prefix arg. (Bug#14563)
6024
6025 2013-06-13 Juri Linkov <juri@jurta.org>
6026
6027 * isearch.el (isearch-yank-word, isearch-yank-line)
6028 (isearch-char-by-name, isearch-quote-char)
6029 (isearch-printing-char, isearch-process-search-char):
6030 Add optional count prefix arg. (Bug#14563)
6031
6032 * international/isearch-x.el
6033 (isearch-process-search-multibyte-characters):
6034 Add optional count prefix arg.
6035
6036 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6039 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6040 lexical-binding.
6041
6042 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6043
6044 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6045
6046 2013-06-13 Glenn Morris <rgm@gnu.org>
6047
6048 * startup.el (tty-handle-args):
6049 Don't just discard "--" and anything after. (Bug#14608)
6050
6051 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6052
6053 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6054
6055 Implement changes in Secret Service API. Make it backward compatible.
6056 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6057 (secrets-create-item): Use it. Prefix properties with interface.
6058
6059 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6060
6061 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6062 (term-emulate-terminal): Respect term-suppress-hard-newline.
6063
6064 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6065
6066 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6067 Only remove a `thumb-file' overlay. (Bug#14548)
6068
6069 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6070
6071 * mail/reporter.el (reporter-submit-bug-report):
6072 Handle missing package-name. (Bug#14600)
6073
6074 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6075
6076 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6077 (reftex-citation-prompt, reftex-default-bibliography)
6078 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6079 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6080 (reftex-bib-sort-author, reftex-bib-sort-year)
6081 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6082 (reftex-extract-bib-entries-from-thebibliography)
6083 (reftex-get-bibkey-default, reftex-get-bib-names)
6084 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6085 (reftex-format-bib-entry, reftex-parse-bibitem)
6086 (reftex-format-bibitem, reftex-do-citation)
6087 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6088 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6089 (reftex-insert-bib-matches, reftex-format-citation)
6090 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6091 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6092 existing comments into docstrings.
6093
6094 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6095
6096 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6097
6098 2013-06-12 Andreas Schwab <schwab@suse.de>
6099
6100 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6101 for auto-save files.
6102
6103 2013-06-12 Glenn Morris <rgm@gnu.org>
6104
6105 * ido.el (ido-delete-ignored-files): Remove.
6106 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6107 Go back to calling ido-ignore-item-p directly.
6108
6109 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6110
6111 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6112
6113 * ido.el (ido-delete-ignored-files): New function,
6114 split from ido-make-file-list-1.
6115 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6116 (ido-make-file-list-1): Use ido-delete-ignored-files.
6117
6118 2013-06-12 Leo Liu <sdl.web@gmail.com>
6119
6120 * progmodes/octave.el (inferior-octave-startup)
6121 (inferior-octave-completion-table)
6122 (inferior-octave-track-window-width-change)
6123 (octave-eldoc-function-signatures, octave-help)
6124 (octave-find-definition): Use single quoted strings.
6125 (inferior-octave-startup-args): Change default value.
6126 (inferior-octave-startup): Do not hard code "-i" and
6127 "--no-line-editing".
6128 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6129 (inferior-octave-directory-tracker): Use it.
6130 (octave-goto-function-definition): Robustify.
6131 (octave-help): Support highlighting operators in 'See also'.
6132 (octave-find-definition): Find subfunctions only in Octave mode.
6133
6134 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * help-fns.el (help-fns--compiler-macro): If the handler function is
6137 named, then put a link to it.
6138 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6139 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6140 (cl-typep): Use it.
6141 (cl-eval-when): Simplify debug spec.
6142 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6143 compiler-macro function instead of setting `compiler-macro-file'.
6144
6145 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6146
6147 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6148 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6149
6150 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6151 Daniel Hackney <dan@haxney.org>
6152
6153 First part of Daniel Hackney's patch to package.el.
6154 * emacs-lisp/package.el: Use defstruct.
6155 (package-desc): New, main struct.
6156 (package--bi-desc, package--ac-desc): New structs, used to describe the
6157 format in external files.
6158 (package-desc-vers): Replace with package-desc-version accessor.
6159 (package-desc-doc): Replace with package-desc-summary accessor.
6160 (package-activate-1): Remove `package' arg since the pkg-vec now
6161 includes the name.
6162 (define-package): Use package-desc-from-define.
6163 (package-unpack-single): Change file-name arg to be a symbol.
6164 (package--add-to-archive-contents): Use package-desc-create and new
6165 accessor functions to package--ac-desc.
6166 (package-buffer-info, package-tar-file-info): Return a package-desc.
6167 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6168 arg to be a package-desc.
6169 (package-install-file): Adjust accordingly. Use \' to match EOS.
6170 (package--from-builtin): New function.
6171 (describe-package-1, package-menu--generate): Use it.
6172 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6173 (package-generate-autoloads): Idem and return the name of the file.
6174 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6175 Change pkg-info arg to be a package-desc.
6176 Use package-make-ac-desc.
6177 (package-upload-file): Use \' to match EOS.
6178 * finder.el (finder-compile-keywords): Use package-make-builtin.
6179
6180 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * vc/vc.el (vc-deduce-fileset): Change error message.
6183 (vc-read-backend): New function.
6184 (vc-next-action): Use it.
6185
6186 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6187
6188 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6189 (prolog-font-lock-keywords): Use regexp-opt instead.
6190 Don't manually highlight strings.
6191 (prolog-mode-variables): Simplify comment-start-skip.
6192 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6193
6194 * emacs-lisp/generic.el (generic--normalise-comments)
6195 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6196 (generic-mode-set-comments): Use them.
6197 (generic-bracket-support): Use setq-local.
6198 (generic-make-keywords-list): Declare obsolete.
6199
6200 2013-06-11 Glenn Morris <rgm@gnu.org>
6201
6202 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6203 Prettify after setting font-lock-defaults. (Bug#14574)
6204
6205 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6206
6207 * replace.el (query-replace, occur-read-regexp-defaults-function)
6208 (replace-search):
6209 * subr.el (declare-function, number-sequence, local-set-key)
6210 (substitute-key-definition, locate-user-emacs-file)
6211 (with-silent-modifications, split-string, eval-after-load):
6212 Fix typos, remove unneeded backslashes and reflow some docstrings.
6213
6214 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6217 default for Elisp files.
6218
6219 2013-06-11 Glenn Morris <rgm@gnu.org>
6220
6221 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6222 although define-derived-mode was doing this anyway. (Bug#14583)
6223
6224 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6225
6226 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6227 Fix make-variable-buffer-local call to refer to the correct variable.
6228
6229 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6230
6231 * eshell/em-term.el (eshell-visual-commands)
6232 (eshell-visual-subcommands, eshell-visual-options):
6233 Add summary line to docstrings. Add cross-references.
6234
6235 2013-06-10 Glenn Morris <rgm@gnu.org>
6236
6237 * epa.el (epa-read-file-name): New function. (Bug#14510)
6238 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6239
6240 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6241
6242 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6243 output redirection to be ignored with visual commands.
6244
6245 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6246
6247 * eshell/em-term.el (eshell-visual-command-p): New function.
6248 (eshell-term-initialize): Move long lambda to separate function
6249 eshell-visual-command-p.
6250 * eshell/em-dirs.el (eshell-dirs-initialise):
6251 * eshell/em-script.el (eshell-script-initialize):
6252 Add missing #' to lambda.
6253
6254 2013-06-08 Leo Liu <sdl.web@gmail.com>
6255
6256 * progmodes/octave.el (octave-add-log-current-defun): New function.
6257 (octave-mode): Set add-log-current-defun-function.
6258 (octave-goto-function-definition): Do not move point if not found.
6259 (octave-find-definition): Enhance to try subfunctions first.
6260
6261 2013-06-08 Glenn Morris <rgm@gnu.org>
6262
6263 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6264 (byte-compile-backward-char, byte-compile-backward-word):
6265 Improve previous change, to handle non-explicit nil.
6266
6267 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6270 (smie--opener/closer-at-point): New function.
6271 (smie--matching-block-data): Use it. Don't match from right after an
6272 opener or right before a closer. Obey smie-blink-matching-inners.
6273 Don't signal a mismatch for repeated inners like "switch..case..case".
6274
6275 2013-06-07 Leo Liu <sdl.web@gmail.com>
6276
6277 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6278 to t. (Bug#14303)
6279 (octave-function-header-regexp): Fix. (Bug#14570)
6280 (octave-help-mode-finish-hook, octave-help-mode-finish):
6281 Remove. Just use temp-buffer-show-hook.
6282
6283 * newcomment.el (comment-search-backward): Revert last change.
6284 (Bug#14434)
6285
6286 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6287
6288 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6289
6290 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6291 through xargs, to avoid failure due to MS-Windows limitations on
6292 command-line length.
6293
6294 2013-06-06 Glenn Morris <rgm@gnu.org>
6295
6296 * font-lock.el (lisp-font-lock-keywords-2):
6297 Treat user-error like error.
6298
6299 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6300 (byte-compile-backward-char, byte-compile-backward-word):
6301 Handle explicit nil arguments. (Bug#14565)
6302
6303 2013-06-05 Alan Mackenzie <acm@muc.de>
6304
6305 * isearch.el (isearch-allow-prefix): New user option.
6306 (isearch-other-meta-char): Don't exit isearch when a prefix
6307 argument is typed whilst `isearch-allow-prefix' is non-nil.
6308 (Bug#9706)
6309
6310 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * autorevert.el (auto-revert-notify-handler): Use memq.
6313 Hide assertion failure.
6314
6315 * skeleton.el: Use cl-lib.
6316 (skeleton-further-elements): Use defvar-local.
6317 (skeleton-insert): Use cl-progv.
6318
6319 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6320
6321 * progmodes/prog-mode.el (prog-prettify-symbols)
6322 (prog-prettify-install): Update docstrings.
6323
6324 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * simple.el: Move all the prog-mode code to prog-mode.el.
6327 * progmodes/prog-mode.el: New file.
6328 * loadup.el: Add prog-mode.el.
6329
6330 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6331
6332 * simple.el (prog-prettify-symbols): Add version.
6333 (prog-prettify-install): Add convenience function to prettify symbols.
6334
6335 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6336 (perl--augmented-font-lock-keywords-1)
6337 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6338 variables and use it.
6339
6340 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6341 (cfengine3-mode): Remove unneeded variable and use it.
6342
6343 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6344 (lisp--augmented-font-lock-keywords-1)
6345 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6346 Remove unneeded variables and use it.
6347
6348 2013-06-05 João Távora <joaotavora@gmail.com>
6349
6350 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6351 to point when opening the connection. (Bug#14380)
6352
6353 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * subr.el (load-history-regexp, load-history-filename-element)
6356 (eval-after-load, after-load-functions, do-after-load-evaluation)
6357 (eval-next-after-load, display-delayed-warnings)
6358 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6359 definition of save-match-data.
6360 (overriding-local-map): Remove accidental obsolescence declaration.
6361
6362 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6363
6364 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6365
6366 Generalize symbol prettify support to prog-mode and implement it
6367 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6368 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6369 (prog--prettify-font-lock-compose-symbol)
6370 (prog-prettify-font-lock-symbols-keywords): New variables and
6371 functions to support symbol prettification.
6372 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6373 (lisp--augmented-font-lock-keywords-1)
6374 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6375 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6376 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6377 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6378 Implement prettify of -> => :: strings.
6379 * progmodes/perl-mode.el (perl-prettify-symbols)
6380 (perl--font-lock-compose-symbol)
6381 (perl--font-lock-symbols-keywords): Move to prog-mode.
6382 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6383 (perl-font-lock-keywords-1)
6384 (perl-font-lock-keywords-2): Remove explicit prettify support.
6385 (perl--augmented-font-lock-keywords)
6386 (perl--augmented-font-lock-keywords-1)
6387 (perl--augmented-font-lock-keywords-2, perl-mode):
6388 Implement prettify support.
6389
6390 2013-06-05 Leo Liu <sdl.web@gmail.com>
6391
6392 Re-implement smie matching block highlight using
6393 show-paren-data-function. (Bug#14395)
6394 * emacs-lisp/smie.el (smie-matching-block-highlight)
6395 (smie--highlight-matching-block-overlay)
6396 (smie--highlight-matching-block-lastpos)
6397 (smie-highlight-matching-block)
6398 (smie-highlight-matching-block-mode): Remove.
6399 (smie--matching-block-data-cache): New variable.
6400 (smie--matching-block-data): New function.
6401 (smie-setup): Use smie--matching-block-data for
6402 show-paren-data-function.
6403
6404 * progmodes/octave.el (octave-mode-menu): Fix.
6405 (octave-find-definition): Skip garbage lines.
6406
6407 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 Fix compilation error with simultaneous dynamic+lexical scoping.
6410 Add warning when a defvar appears after the first let-binding.
6411 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6412 (byte-compile-close-variables): Initialize it.
6413 (byte-compile--declare-var): New function.
6414 (byte-compile-file-form-defvar)
6415 (byte-compile-file-form-define-abbrev-table)
6416 (byte-compile-file-form-custom-declare-variable): Use it.
6417 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6418 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6419 (byte-compile-bind): Handle dynamic bindings that shadow
6420 lexical bindings.
6421 (byte-compile-unbind): Make arg non-optional.
6422 (byte-compile-let): Simplify.
6423 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6424 (cconv--analyse-function, cconv-analyse-form): Populate it.
6425 Protect byte-compile-bound-variables to limit the scope of defvars.
6426 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6427 Remove unneeded rule for `declare'.
6428
6429 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6430 so as to avoid depending on cl-adjoin at run-time.
6431 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6432
6433 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6434 (macroexp--warn-and-return): Use it.
6435
6436 2013-06-05 Leo Liu <sdl.web@gmail.com>
6437
6438 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6439
6440 2013-06-04 Leo Liu <sdl.web@gmail.com>
6441
6442 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6443 (compilation-auto-jump): Suppress the "Mark set" message to give
6444 way to exit message.
6445
6446 2013-06-04 Alan Mackenzie <acm@muc.de>
6447
6448 Remove faulty optimisation from indentation calculation.
6449 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6450 search limit based on 2000 characters back from indent-point.
6451
6452 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6453
6454 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6455
6456 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * emacs-lisp/lisp.el: Use lexical-binding.
6459 (lisp--local-variables-1, lisp--local-variables): New functions.
6460 (lisp--local-variables-completion-table): New var.
6461 (lisp-completion-at-point): Use it complete let-bound vars.
6462
6463 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6464 eagerly (bug#14422).
6465
6466 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6467
6468 * autorevert.el (auto-revert-notify-enabled)
6469 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6470 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6471 (auto-revert-notify-handler): Handle also gfilenotify.
6472
6473 * subr.el (file-notify-handle-event): New defun. Replacing ...
6474 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6475 Remove.
6476
6477 2013-06-03 Juri Linkov <juri@jurta.org>
6478
6479 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6480 `M-s h .'. (Bug#14427)
6481
6482 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6483 command `hi-lock-face-symbol-at-point'.
6484 (hi-lock-face-symbol-at-point): New command.
6485 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6486 (hi-lock-menu): Add `highlight-symbol-at-point'.
6487 (hi-lock-mode): Doc fix.
6488
6489 * isearch.el (isearch-forward-symbol-at-point): New command.
6490 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6491 (isearch-highlight-regexp): Add a regexp which matches
6492 words/symbols for word/symbol mode.
6493
6494 * subr.el (find-tag-default-bounds): New function with the body
6495 mostly moved from `find-tag-default'.
6496 (find-tag-default): Move most code to `find-tag-default-bounds',
6497 call it and apply `buffer-substring-no-properties' afterwards.
6498
6499 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6500
6501 * eshell/em-term.el (eshell-term-initialize):
6502 Use `cl-intersection' rather than `intersection'.
6503
6504 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6505
6506 * vc/log-view.el: Doc fix.
6507 (log-view-mode-map): Copy keymap from `special-mode-map'.
6508
6509 2013-06-02 Eric Ludlam <zappo@gnu.org>
6510
6511 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6512 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6513 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6514 (eieio-unbound, eieio-default-superclass)
6515 (eieio--define-field-accessors, method-static, method-before)
6516 (method-primary, method-after, method-num-lists)
6517 (method-generic-before, method-generic-primary)
6518 (method-generic-after, method-num-slots)
6519 (eieio-specialized-key-to-generic-key)
6520 (eieio--check-type, class-v, class-p)
6521 (eieio-class-name, define-obsolete-function-alias)
6522 (eieio-class-parents-fast, eieio-class-children-fast)
6523 (same-class-fast-p, class-constructor, generic-p)
6524 (generic-primary-only-p, generic-primary-only-one-p)
6525 (class-option-assoc, class-option, eieio-object-p)
6526 (class-abstract-p, class-method-invocation-order)
6527 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6528 (eieio-class-un-autoload, eieio-defclass)
6529 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6530 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6531 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6532 (eieio-defgeneric-reset-generic-form)
6533 (eieio-defgeneric-form-primary-only)
6534 (eieio-defgeneric-reset-generic-form-primary-only)
6535 (eieio-defgeneric-form-primary-only-one)
6536 (eieio-defgeneric-reset-generic-form-primary-only-one)
6537 (eieio-unbind-method-implementations)
6538 (eieio--defmethod, eieio--typep)
6539 (eieio-perform-slot-validation, eieio-validate-slot-value)
6540 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6541 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6542 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6543 (eieio-slot-name-index, eieio-class-slot-name-index)
6544 (eieio-set-defaults, eieio-initarg-to-attribute)
6545 (eieio-attribute-to-initarg, eieio-c3-candidate)
6546 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6547 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6548 (eieio-class-precedence-list, eieio-generic-call-methodname)
6549 (eieio-generic-call-arglst, eieio-generic-call-key)
6550 (eieio-generic-call-next-method-list)
6551 (eieio-pre-method-execution-functions, eieio-generic-call)
6552 (eieio-generic-call-primary-only, eieiomt-method-list)
6553 (eieiomt-optimizing-obarray, eieiomt-install)
6554 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6555 (eieio-generic-form, eieio-defmethod, make-obsolete)
6556 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6557 (defclass): Remove `eval-and-compile' from macro.
6558 (call-next-method, shared-initialize): Instead of using
6559 `scoped-class' variable, use new eieio--scoped-class, and
6560 eieio--with-scoped-class.
6561 (initialize-instance): Rename local variable 'scoped-class' to
6562 'this-class' to remove ambiguitity from old global.
6563
6564 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6565 eieio.el.
6566 (eieio--scoped-class-stack): New variable.
6567 (eieio--scoped-class): New fcn.
6568 (eieio--with-scoped-class): New scoping macro.
6569 (eieio-defclass): Use pushnew instead of add-to-list.
6570 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6571 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6572 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6573 `scoped-class' variable, use new eieio--scoped-class, and
6574 eieio--with-scoped-class.
6575
6576 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6577
6578 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6579
6580 * eshell/esh-ext.el (eshell-external-command): Pass args to
6581 `eshell-find-interpreter'.
6582 (eshell-find-interpreter): Add new second parameter ARGS.
6583
6584 * eshell/em-script.el (eshell-script-initialize): Add second arg
6585 to the function added as MATCH to `eshell-interpreter-alist'.
6586
6587 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6588 the function added as MATCH to `eshell-interpreter-alist'.
6589
6590 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6591 (eshell-visual-options): New defcustom.
6592 (eshell-escape-control-x): Adapt docstring.
6593 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6594 `eshell-visual-options' in addition to `eshell-visual-commands'.
6595 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6596
6597 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6598
6599 * progmodes/python.el (python-indent-block-enders): Add break,
6600 continue and raise keywords.
6601
6602 2013-06-01 Glenn Morris <rgm@gnu.org>
6603
6604 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6605
6606 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6607 * progmodes/cc-cmds.el (delete-forward-p):
6608 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6609 * progmodes/cc-engine.el (buffer-syntactic-context):
6610 * progmodes/cc-fonts.el (face-property-instance):
6611 * progmodes/cc-mode.el (set-keymap-parents):
6612 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6613 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6614 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6615 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6616 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6617
6618 * progmodes/cc-vars.el (other): Emacs has this widget since
6619 at least 21.1, so don't (re)define it.
6620
6621 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6622 Replace the obsolete alias pcomplete-arg-quote-list.
6623
6624 2013-06-01 Leo Liu <sdl.web@gmail.com>
6625
6626 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6627 punctuation syntax.
6628 (inferior-octave-minimal-columns)
6629 (inferior-octave-last-column-width): New variables.
6630 (inferior-octave-track-window-width-change): New function.
6631 (inferior-octave-mode): Adjust column width so that Octave output,
6632 for example from 'ls', can fit into the window nicely.
6633
6634 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6635
6636 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6637 Highlight expansions inside regexp literals.
6638
6639 2013-05-31 Glenn Morris <rgm@gnu.org>
6640
6641 * obsolete/sym-comp.el (symbol-complete):
6642 Replace obsolete completion-annotate-function.
6643
6644 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6645
6646 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6647
6648 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6649 New function, checks if point is inside a literal that allows
6650 expression expansion.
6651 (ruby-syntax-propertize-expansion): Use it.
6652 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6653 around the body.
6654
6655 2013-05-30 Juri Linkov <juri@jurta.org>
6656
6657 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6658 to "\M-si".
6659 (isearch-invisible): New variable.
6660 (isearch-forward): Doc fix.
6661 (isearch-mode): Set `isearch-invisible'
6662 to the value of `search-invisible'.
6663 (isearch-toggle-case-fold): Doc fix.
6664 (isearch-toggle-invisible): New command.
6665 (isearch-query-replace): Let-bind `search-invisible'
6666 to the value of `isearch-invisible'.
6667 (isearch-search): Use `isearch-invisible' instead of
6668 `search-invisible'. Let-bind `search-invisible'
6669 to the value of `isearch-invisible'. (Bug#11378)
6670
6671 2013-05-30 Juri Linkov <juri@jurta.org>
6672
6673 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6674 call when `query-flag' is nil and `search-invisible' is non-nil.
6675 (Bug#11746)
6676
6677 2013-05-30 Glenn Morris <rgm@gnu.org>
6678
6679 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6680
6681 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6682 (cc-require): Suppress spurious "noruntime" warnings.
6683 (cc-require-when-compile): Use fboundp, for sake of compiler.
6684
6685 * progmodes/cc-mode.el: Move load of cc-vars before that of
6686 cc-langs (which in turn loads cc-vars), to quieten compiler.
6687
6688 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * paren.el: Simplify the code.
6691 (show-paren-mode): Always start the timer.
6692 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6693 (show-paren--overlay, show-paren--overlay-1): Rename from
6694 show-paren-overlay and show-paren-overlay-1, and initialize to an
6695 overlay rather than to nil.
6696 (show-paren-function): Misc cleanup and simplifications.
6697
6698 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * paren.el (show-paren-data-function): New hook.
6701 (show-paren--default): New function, extracted from show-paren-function.
6702 (show-paren-function): Use show-paren-data-function.
6703
6704 2013-05-30 Glenn Morris <rgm@gnu.org>
6705
6706 * ielm.el (ielm-map, ielm-complete-symbol):
6707 Use completion-at-point rather than obsolete functions.
6708 (inferior-emacs-lisp-mode): Doc fix.
6709 Set completion-at-point-functions, rather than
6710 comint-dynamic-complete-functions.
6711
6712 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6713 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6714 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6715
6716 * image.el (image-animated-p): Tweak definition.
6717
6718 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6719 (rlogin-process-connection-type): Tweak default. Add set-after.
6720 (rlogin-host): Doc fix.
6721 (rlogin): Tweak prompt.
6722 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6723
6724 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6725 * progmodes/tcl.el (inferior-tcl-mode-map):
6726 Use completion-at-point rather than obsolete alias.
6727
6728 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6729
6730 * minibuffer.el (read-file-name-completion-ignore-case):
6731 Move before completion--in-region, for eager macro expansion.
6732
6733 2013-05-29 Juri Linkov <juri@jurta.org>
6734
6735 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6736 for total count of matching lines. Add `global-matches' for total
6737 count of matches. Rename `matches' to `lines' for count of
6738 matching lines. Add `matches' for count of matches.
6739 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6740 to `prev-line' for line number of prev match endpt.
6741 Increment `matches' for every match. Print the number of
6742 matching lines in the header.
6743 (occur-context-lines): Rename `lines' to `curr-line'.
6744 Rename `prev-lines' to `prev-line'. (Bug#14017)
6745
6746 2013-05-29 Juri Linkov <juri@jurta.org>
6747
6748 * replace.el (perform-replace): Add `skip-read-only-count',
6749 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6750 Increment them for corresponding conditions and report the number
6751 of skipped occurrences in the final message. (Bug#11746)
6752 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6753 (replace-string, replace-regexp): Doc fix.
6754
6755 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6758
6759 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6760 prog-mode-map (bug#14504).
6761
6762 2013-05-29 Leo Liu <sdl.web@gmail.com>
6763
6764 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6765 (octave-help): Small simplification.
6766
6767 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6768 off the highlight first.
6769
6770 2013-05-29 Glenn Morris <rgm@gnu.org>
6771
6772 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6773 Handle idlwave-last-system-routine-info-cons-cell being nil.
6774
6775 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6776 (idlwave-write-paths): Simplify via with-temp-buffer.
6777
6778 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6779 * emulation/cua-rect.el: Also load cua-base at run time.
6780
6781 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6782 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6783 (cperl-imenu-on-info): Require imenu.
6784
6785 2013-05-28 Alan Mackenzie <acm@muc.de>
6786
6787 Handle "capitalised keywords" correctly.
6788 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6789
6790 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6791
6792 * eshell/em-unix.el: Add -r option to cp.
6793
6794 2013-05-28 Glenn Morris <rgm@gnu.org>
6795
6796 * vc/vc-arch.el (vc-exec-after): Declare.
6797 (vc-switches): Autoload.
6798 * vc/vc-bzr.el: No need to require vc when compiling.
6799 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6800 (vc-resynch-buffer, vc-dir-refresh): Declare.
6801 (vc-setup-buffer, vc-switches): Autoload.
6802 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6803 (vc-resynch-buffer): Declare.
6804 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6805 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6806 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6807 (grep-read-regexp, grep-read-files, grep-expand-template)
6808 (vc-dir-refresh): Declare.
6809 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6810 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6811 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6812 * vc/vc-mtn.el (vc-exec-after): Declare.
6813 (vc-switches): Autoload.
6814 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6815 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6816 (vc-file-tree-walk): Declare.
6817 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6818 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6819 (vc-tag-precondition, vc-rename-master): Autoload.
6820 * vc/vc-svn.el (vc-exec-after): Declare.
6821 (vc-switches, vc-setup-buffer): Autoload.
6822 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6823 Autoload.
6824 (vc-resynch-buffer): Declare.
6825
6826 * obsolete/fast-lock.el (byte-compile-warnings):
6827 Don't warn about obsolete features in this obsolete file.
6828
6829 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6830 Move definition before use.
6831
6832 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6833 (dun-unix-verbs): Remove dun-zippy.
6834 (dun-zippy): Remove function.
6835
6836 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6837
6838 2013-05-27 Juri Linkov <juri@jurta.org>
6839
6840 * replace.el (replace-search): New function with code moved out
6841 from `perform-replace'.
6842 (replace-highlight, replace-dehighlight): Move function definitions
6843 up closer to `replace-search'. (Bug#11746)
6844
6845 2013-05-27 Juri Linkov <juri@jurta.org>
6846
6847 * replace.el (perform-replace): Ignore invisible matches.
6848 In addition to checking `query-replace-skip-read-only', also
6849 filter out matches by calling `run-hook-with-args-until-failure'
6850 on `isearch-filter-predicates', and also check `search-invisible'
6851 for t or call `isearch-range-invisible'.
6852 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6853
6854 2013-05-27 Juri Linkov <juri@jurta.org>
6855
6856 * isearch.el (isearch-filter-predicates): Rename from
6857 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6858 (isearch-message-prefix): Display text from the property
6859 `isearch-message-prefix' of the currently active filters.
6860 (isearch-search): Don't compare `isearch-filter-predicate' with
6861 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6862 on `isearch-filter-predicates'. Also check `search-invisible' for t
6863 or call `isearch-range-invisible'.
6864 (isearch-filter-visible): Make obsolete.
6865 (isearch-lazy-highlight-search):
6866 Call `run-hook-with-args-until-failure' on
6867 `isearch-filter-predicates' and use `isearch-range-invisible'.
6868
6869 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6870 `isearch-filter-predicates' instead of `funcall'ing
6871 `isearch-filter-predicate'.
6872 (Info-mode): Set `Info-isearch-filter' to
6873 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6874
6875 * dired-aux.el (dired-isearch-filter-predicate-orig):
6876 Remove variable.
6877 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6878 (dired-isearch-filenames-end): Add and remove
6879 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6880 instead of changing the value of `isearch-filter-predicate'.
6881 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6882 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6883 Put property `isearch-message-prefix' to "filename " on
6884 `dired-isearch-filter-filenames'.
6885
6886 * wdired.el (wdired-change-to-wdired-mode):
6887 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6888 locally instead of changing `isearch-filter-predicate'.
6889 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6890
6891 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6892
6893 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6894 return the commit hash (Bug#14459). Also set the
6895 `vc-git-detached' property.
6896 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6897 (vc-git-mode-line-string): Use the same help-echo format whether
6898 in detached mode or not, because we know the actual revision now.
6899 When in detached mode, shorten the revision to 7 chars.
6900
6901 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6902
6903 * emacs-lisp/easy-mmode.el (define-minor-mode):
6904 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6905 mode hook and provide a docstring.
6906
6907 2013-05-27 Alan Mackenzie <acm@muc.de>
6908
6909 Remove spurious syntax-table text properties inserted by C-y.
6910 * progmodes/cc-mode.el (c-after-change): Also clear hard
6911 syntax-table property with value nil.
6912
6913 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6914
6915 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6916 when reading the events; the buffer layout shall not be changed.
6917
6918 2013-05-27 Leo Liu <sdl.web@gmail.com>
6919
6920 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6921 New variable.
6922 (inferior-octave-directory-tracker): Automatically re-sync
6923 default-directory.
6924 (octave-help): Improve handling of 'See also'.
6925
6926 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6927
6928 * doc-view.el: Minor naming convention tweaks.
6929 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6930
6931 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6932 even if there's no `display' property yet (bug#14435).
6933
6934 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6935
6936 * subr.el (unmsys--file-name): Rename from reveal-filename.
6937
6938 * Makefile.in (custom-deps, finder-data, autoloads)
6939 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6940 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6941 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6942
6943 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6946 error-completion on the first 2 args of condition-case (bug#14446).
6947 Don't burp at EOB.
6948
6949 2013-05-25 Leo Liu <sdl.web@gmail.com>
6950
6951 * comint.el (comint-previous-matching-input): Do not flood the
6952 *Messages* buffer with trivial messages.
6953
6954 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * progmodes/flymake.el (flymake-nop): Don't return a string.
6957 (flymake-set-at): Fix typo.
6958
6959 * simple.el (read--expression): New function, extracted from
6960 eval-expression. Set completion-at-point-functions (bug#14465).
6961 (eval-expression, eval-minibuffer): Use it.
6962
6963 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6964
6965 * progmodes/flymake.el (flymake-save-buffer-in-file)
6966 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6967 (flymake-selected-frame, flymake-log, flymake-ins-after)
6968 (flymake-set-at, flymake-get-buildfile-from-cache)
6969 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6970 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6971 Refine the doc string.
6972 (flymake-get-file-name-mode-and-masks): Reformat.
6973 (flymake-get-real-file-name-function): Fix a minor bug.
6974
6975 2013-05-24 Juri Linkov <juri@jurta.org>
6976
6977 * progmodes/grep.el (grep-mode-font-lock-keywords):
6978 Support =linenumber= format used by git-grep for lines with
6979 function names. (Bug#13549)
6980
6981 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6984 0 after a semi-colon; it works better for smie-auto-fill.
6985 (octave--indent-new-comment-line): New function.
6986 (octave-indent-new-comment-line): Use it (indirectly).
6987 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6988 modify comment-line-break-function.
6989
6990 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6991 (smie-setup): Use add-function to set it.
6992
6993 2013-05-24 Sam Steingold <sds@gnu.org>
6994
6995 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6996 argument (before the `interactive' argument).
6997
6998 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * image-mode.el (image-mode-winprops): Add winprops to
7001 image-mode-winprops-alist before running
7002 image-mode-new-window-functions.
7003 * doc-view.el (doc-view-new-window-function): Don't delay
7004 doc-view-goto-page via timers (bug#14435).
7005
7006 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7007
7008 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7009 (doc-view-desktop-save-buffer): New function.
7010 (doc-view-restore-desktop-buffer): New function.
7011 (desktop-buffer-mode-handlers):
7012 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7013 handler.
7014 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7015 `desktop-save-buffer' function.
7016
7017 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7018
7019 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7020 (tramp-gvfs-file-name-handler): Raise a user error when
7021 `tramp-gvfs-enabled' is nil.
7022 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7023 Do not raise a user error when loading package. (Bug#14447)
7024
7025 * net/xesam.el: Move to obsolete/.
7026
7027 2013-05-24 Glenn Morris <rgm@gnu.org>
7028
7029 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7030
7031 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7032
7033 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7034 (Info-find-node, Man-getpage-in-background): Declare.
7035
7036 * mail/unrmail.el (unrmail):
7037 Replace obsolete detect-coding-with-priority.
7038
7039 * net/socks.el (socks-split-string): Use this rather than split-string.
7040 (socks-nslookup-host): Update for above change.
7041 (dynamic-choice, s5-dynamic-choice-match)
7042 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7043 Comment out unused code.
7044
7045 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7046 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7047 (gud-tooltip-echo-area): Make obsolete.
7048 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7049
7050 * progmodes/js.el (js--optimize-arglist): Declare.
7051
7052 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7053
7054 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7055 (ediff-window-C): Declare.
7056
7057 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7058 Tweak requires to silence compiler.
7059
7060 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7061 (he-search-string, he-tried-table, he-expand-list)
7062 (he-init-string, he-string-member, he-substitute-string)
7063 (he-reset-string): Declare.
7064
7065 * obsolete/options.el (list-options): Use custom-variable-p,
7066 rather than obsolete alias.
7067
7068 2013-05-23 Sam Steingold <sds@gnu.org>
7069
7070 * simple.el (shell-command-on-region): Pass the `replace' argument
7071 down to `call-process-region' to comply with the doc as reported on
7072 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7073
7074 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * emacs-lisp/smie.el (smie-indent-forward-token)
7077 (smie-indent-backward-token): Handle string tokens (bug#14381).
7078
7079 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7080
7081 * ielm.el (ielm-menu): New menu.
7082 (inferior-emacs-lisp-mode): Set comment-start.
7083
7084 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7085
7086 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7087 Fix deactivate action.
7088
7089 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7090 Add cleveref macros.
7091
7092 * lisp/textmodes/reftex-parse.el
7093 (reftex-locate-bibliography-files): Accept options for
7094 bibliography commands.
7095 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7096 Add addbibresource. Basic Biblatex support.
7097
7098 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7099
7100 * net/tramp-gvfs.el (top):
7101 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7102 when loading package. (Bug#14447)
7103
7104 2013-05-23 Glenn Morris <rgm@gnu.org>
7105
7106 * progmodes/js.el: No need to load comint when compiling.
7107 (ring-insert, comint-send-string, comint-send-input)
7108 (comint-last-input-end, ido-chop): Declare.
7109
7110 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7111 * vc/ediff-mult.el: Adjust requires.
7112 (ediff-directories-internal, ediff-directory-revisions-internal)
7113 (ediff-patch-file-internal): Declare.
7114 * vc/ediff-ptch.el: Adjust requires.
7115 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7116 (ediff-find-file): Autoload.
7117 * vc/ediff-util.el: No need to load ediff when compiling.
7118 (ediff-regions-internal): Declare.
7119 * vc/ediff-wind.el: Adjust requires.
7120 (ediff-compute-toolbar-width): Define when compiling.
7121 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7122 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7123 (dired-get-filename, dired-get-marked-files)
7124 (ediff-last-dir-patch, ediff-patch-default-directory)
7125 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7126 (ediff-patch-buffer-internal): Declare.
7127
7128 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7129 (ispell-process, ispell-buffer-local-words, lm-summary)
7130 (lm-section-start, lm-section-end): Declare.
7131 (checkdoc-ispell-init): Simplify.
7132
7133 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7134 (he-string-member, he-reset-string, he-substitute-string): Declare.
7135
7136 * eshell/em-ls.el: Adjust requires.
7137 (eshell-glob-regexp): Declare.
7138 * eshell/em-tramp.el: Adjust requires.
7139 (eshell-parse-command): Autoload.
7140 * eshell/em-xtra.el: Adjust requires.
7141 (eshell-parse-command): Autoload.
7142 * eshell/esh-ext.el: Adjust requires.
7143 (eshell-parse-command, eshell-close-handles): Autoload.
7144 * eshell/esh-io.el: Adjust requires.
7145 (eshell-output-filter): Autoload.
7146 * eshell/esh-util.el: No need to load tramp when compiling.
7147 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7148 Declare.
7149 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7150 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7151 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7152 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7153 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7154 * eshell/esh-opt.el, eshell/esh-proc.el:
7155 * eshell/esh-var.el: Adjust requires.
7156 * eshell/eshell.el: Do not require esh-util twice.
7157 (eshell-add-input-to-history): Declare.
7158 (eshell-command): Check history module is active before using it.
7159
7160 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7161
7162 2013-05-22 Leo Liu <sdl.web@gmail.com>
7163
7164 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7165
7166 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7167
7168 * autorevert.el (auto-revert-notify-add-watch)
7169 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7170 it indicates changes in file modification time.
7171
7172 2013-05-22 Glenn Morris <rgm@gnu.org>
7173
7174 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7175 Always delete the autoloaded function from the noruntime and
7176 unresolved functions lists.
7177
7178 * allout.el: No need to load epa, epg, overlay when compiling.
7179 (epg-context-set-passphrase-callback, epg-list-keys)
7180 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7181 (epg-key-user-id-list): Declare.
7182
7183 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7184 (viper-set-parsing-style-toggling-macro)
7185 (viper-set-emacs-state-searchstyle-macros):
7186 Use called-interactively-p on Emacs.
7187 (viper-looking-back): Make it an obsolete alias. Update callers.
7188 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7189 Use looking-back rather than viper-looking-back.
7190 (viper-tmp-insert-at-eob, viper-enlarge-region)
7191 (viper-read-string-with-history, viper-register-to-point)
7192 (viper-append-to-register, viper-change-state-to-vi)
7193 (viper-backward-char-carefully, viper-forward-char-carefully)
7194 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7195 (viper-change-state-to-emacs): Declare.
7196 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7197 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7198 * emulation/viper-mous.el: Do not load viper-cmd.
7199 (viper-backward-char-carefully, viper-forward-char-carefully)
7200 (viper-forward-word, viper-adjust-window): Declare.
7201
7202 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7203
7204 * progmodes/idlw-help.el (idlwave-help-fontify):
7205 Use called-interactively-p.
7206
7207 * term/w32console.el (w32-get-console-codepage)
7208 (w32-get-console-output-codepage): Declare.
7209
7210 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7211 Remove unnecessary declarations.
7212 (dframe-message): Doc fix.
7213
7214 * info.el (dframe-select-attached-frame, dframe-current-frame):
7215 Declare.
7216
7217 * speedbar.el (speedbar-message): Make it an obsolete alias.
7218 Update all callers.
7219 (speedbar-with-attached-buffer)
7220 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7221 (speedbar-with-writable): Use backquote.
7222 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7223 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7224 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7225 rather than speedbar- aliases.
7226 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7227 (speedbar-make-specialized-keymap, speedbar-insert-button)
7228 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7229 (speedbar-do-function-pointer): Declare.
7230 (rmail-speedbar-button, rmail-speedbar-find-file)
7231 (rmail-speedbar-move-message):
7232 Use dframe-with-attached-buffer rather than speedbar- alias.
7233 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7234 (dframe-message, speedbar-make-specialized-keymap)
7235 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7236 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7237 (speedbar-insert-button, dframe-select-attached-frame)
7238 (dframe-maybee-jump-to-attached-frame)
7239 (speedbar-change-initial-expansion-list)
7240 (speedbar-previously-used-expansion-list-name): Declare.
7241 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7242 Use dframe-message, dframe-with-attached-buffer rather than
7243 speedbar- aliases.
7244 (gud-sentinel): Silence compiler.
7245 * progmodes/vhdl-mode.el (speedbar-refresh)
7246 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7247 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7248 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7249 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7250 (speedbar-file-lists, speedbar-make-tag-line)
7251 (speedbar-line-directory, speedbar-goto-this-file)
7252 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7253 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7254 (speedbar-make-button, speedbar-reset-scanners)
7255 (speedbar-files-item-info, speedbar-line-text)
7256 (speedbar-find-file-in-frame, speedbar-set-timer)
7257 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7258 (speedbar-with-writable): Do not (re)define it.
7259 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7260 rather than speedbar- alias.
7261
7262 2013-05-21 Leo Liu <sdl.web@gmail.com>
7263
7264 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7265 menu items.
7266 (octave-mode): Tweak fill-nobreak-predicate.
7267 (inferior-octave-startup): Check process to avoid infinite loop.
7268 (inferior-octave): Pop to buffer first to show abornmal process
7269 exit information.
7270
7271 2013-05-21 Glenn Morris <rgm@gnu.org>
7272
7273 * printing.el (pr-menu-bar): Define when compiling.
7274
7275 2013-05-21 Leo Liu <sdl.web@gmail.com>
7276
7277 * progmodes/octave.el (octave-auto-fill): Remove.
7278 (octave-indent-new-comment-line): Improve.
7279 (octave-mode): Use auto fill mode through
7280 comment-line-break-function and fill-nobreak-predicate.
7281 (octave-goto-function-definition): Support DEFUN_DLD.
7282 (octave-beginning-of-defun): Small tweak.
7283 (octave-help): Show parent directory.
7284
7285 2013-05-21 Glenn Morris <rgm@gnu.org>
7286
7287 * files.el (dired-unmark):
7288 * progmodes/gud.el (gdb-input): Update declarations.
7289
7290 * calculator.el (electric, ehelp): No need to load when compiling.
7291 (Electric-command-loop, electric-describe-mode): Declare.
7292
7293 * doc-view.el (doc-view-current-converter-processes): Move before use.
7294
7295 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7296 Move MODE-set-explicitly definition before use.
7297
7298 * international/mule-diag.el (mule-diag):
7299 Don't use obsolete window-system-version.
7300
7301 * mail/feedmail.el (smtpmail): No need to load when compiling.
7302 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7303
7304 * mail/mail-utils.el (rfc822): No need to load when compiling.
7305 (rfc822-addresses): Autoload it.
7306 (mail-strip-quoted-names): Trivial simplification.
7307
7308 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7309 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7310
7311 * net/snmp-mode.el (tempo): Don't duplicate requires.
7312
7313 * progmodes/prolog.el (info): No need to load when compiling.
7314 (comint): Require before shell requires it.
7315 (Info-goto-node): Autoload it.
7316 (Info-follow-nearest-node): Declare.
7317 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7318
7319 * textmodes/artist.el (picture-mode-exit): Declare.
7320
7321 * textmodes/reftex-parse.el (reftex-parse-from-file):
7322 Trivial rewrite so the compiler can parse it better.
7323
7324 2013-05-20 Leo Liu <sdl.web@gmail.com>
7325
7326 * progmodes/octave.el (octave-help-mode-map)
7327 (octave-help-mode-finish-hook): New variables.
7328 (octave-help-mode, octave-help-mode-finish): New functions.
7329 (octave-help): Use octave-help-mode.
7330
7331 2013-05-20 Glenn Morris <rgm@gnu.org>
7332
7333 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7334
7335 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7336
7337 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7338 start at point, so that expansion starting right after opening
7339 slash in a regexp is recognized.
7340 (ruby-syntax-before-regexp-re): New defvar, extracted from
7341 ruby-syntax-propertize-function. Since the value of this regexp
7342 is looked up at runtime now, we should be able to turn
7343 `ruby-syntax-methods-before-regexp' into a defcustom later.
7344 (ruby-syntax-propertize-function): Split regexp matching into two
7345 parts, for opening and closing slashes. That allows us to skip
7346 over string interpolations and support multiline regexps.
7347 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7348 for them, which calls `ruby-syntax-propertize-expansion'.
7349 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7350 call to `ruby-syntax-propertize-function'.
7351 (ruby-syntax-propertize-expansion): Extracted from
7352 `ruby-syntax-propertize-expansions'. Handles one expansion.
7353 (ruby-syntax-propertize-percent-literal): Leave point right after
7354 the percent symbol, so that the expression expansion rule can
7355 propertize the contents.
7356 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7357 heredoc openers.
7358 (ruby-syntax-propertize-expansions): Remove.
7359
7360 2013-05-18 Juri Linkov <juri@jurta.org>
7361
7362 * man.el (Man-default-man-entry): Remove `-' from the end
7363 of the default value. (Bug#14400)
7364
7365 2013-05-18 Glenn Morris <rgm@gnu.org>
7366
7367 * comint.el (comint-password-prompt-regexp):
7368 Allow "password for XXX" where XXX contains colons (eg https://...).
7369
7370 2013-05-18 Leo Liu <sdl.web@gmail.com>
7371
7372 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7373 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7374 (octave-source-directories): Don't check process.
7375 (octave-source-directories, octave-find-definition): Doc fix.
7376
7377 2013-05-18 Glenn Morris <rgm@gnu.org>
7378
7379 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7380 Remove backspace/delete bindings. (Bug#14392)
7381
7382 * cus-dep.el (custom-make-dependencies): Sort the output.
7383 (custom-versions-load-alist): Convert comment to doc.
7384
7385 2013-05-17 Leo Liu <sdl.web@gmail.com>
7386
7387 * newcomment.el (comment-search-backward): Stricter in finding
7388 comment start. (Bug#14303)
7389
7390 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7391 (octave-comment-start-skip): Properly anchored.
7392
7393 2013-05-17 Leo Liu <sdl.web@gmail.com>
7394
7395 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7396 Clean up when turned off. (Bug#14395)
7397 (smie--highlight-matching-block-overlay): No longer buffer-local.
7398 (smie-highlight-matching-block): Adjust.
7399
7400 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7401
7402 Doc string fix for "nanoseconds" (Bug#14406).
7403 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7404 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7405
7406 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7407
7408 * calc/calc-units.el (math-extract-units): Preserve powers
7409 of units.
7410
7411 2013-05-17 Leo Liu <sdl.web@gmail.com>
7412
7413 * subr.el (delete-consecutive-dups): New function.
7414 * ido.el (ido-set-matches-1): Use it.
7415 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7416 * ido.el (ido-remove-consecutive-dups): Remove.
7417
7418 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7421 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7422 regexp-opt's `words'.
7423
7424 2013-05-16 Leo Liu <sdl.web@gmail.com>
7425
7426 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7427 (smie--highlight-matching-block-overlay)
7428 (smie--highlight-matching-block-lastpos)
7429 (smie--highlight-matching-block-timer): New variables.
7430 (smie-highlight-matching-block): New function.
7431 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7432 (smie-setup): Conditionally enable smie-blink-matching-open.
7433
7434 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7435
7436 Sync with upstream verilog-mode r840.
7437 * progmodes/verilog-mode.el (verilog-mode-version)
7438 (verilog-mode-release-date): Update.
7439 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7440 (verilog-sig-tieoff): Fix string error on
7441 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7442 (verilog-read-decls): Fix parameters confusing
7443 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7444
7445 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7446
7447 * subr.el (reveal-filename): New function.
7448
7449 * loadup.el: Compute Emacs executable versions on MS-Windows,
7450 where executables have the .exe extension. Add a hard link
7451 emacs-XX.YY.ZZ.exe on MS-Windows.
7452
7453 * Makefile.in (XARGS_LIMIT): New variable.
7454 (custom-deps, finder-data, autoloads)
7455 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7456 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7457 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7458 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7459
7460 2013-05-16 Leo Liu <sdl.web@gmail.com>
7461
7462 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7463 (octave-mode-menu, octave-mode-map): Remove its uses.
7464
7465 2013-05-16 Reto Zimmermann <reto@gnu.org>
7466
7467 Sync with upstream vhdl mode v3.34.2.
7468 * progmodes/vhdl-mode.el: Use `push' throughout.
7469 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7470 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7471 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7472 (vhdl-actual-generic-name): New option to derive actual generic name.
7473 (vhdl-port-paste-signals): Replace formal by actual generics.
7474 (vhdl-beautify): New name for old group vhdl-align. Update users.
7475 (vhdl-beautify-options): New option.
7476 (vhdl-last-input-event): New compat alias. Use throughout.
7477 (vhdl-goto-line): Replace user level function `goto-line'.
7478 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7479 vhdl-fix-statement-buffer.
7480 (vhdl-create-mode-menu): Add some entries.
7481 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7482 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7483 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7484 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7485 to force statements on one line.
7486 (vhdl-remove-trailing-spaces-region):
7487 New, split from vhdl-remove-trailing-spaces.
7488 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7489 Respect vhdl-beautify-options.
7490 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7491 (vhdl-update-sensitivity-list): Not add with index if exists without.
7492 Not include array index with signal. Ignore keywords in comments.
7493 (vhdl-get-visible-signals): Regexp tweaks.
7494 (vhdl-template-component-inst): Handle empty library.
7495 (vhdl-template-type): Add template for 'enum' type.
7496 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7497 Use vhdl-replace-string.
7498 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7499 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7500 (vhdl-speedbar-initialize): Update for above name change.
7501 (vhdl-compose-wire-components): Fix in handling of constants.
7502 (vhdl-error-regexp-emacs-alist): New variable.
7503 (vhdl-error-regexp-add-emacs): New function;
7504 adds support for new compile.el (Emacs 22+)
7505 (vhdl-generate-makefile-1): Change target order for single lib. units.
7506 Allow use of absolute file names.
7507
7508 2013-05-16 Leo Liu <sdl.web@gmail.com>
7509
7510 * simple.el (prog-indent-sexp): Indent enclosing defun.
7511
7512 2013-05-15 Glenn Morris <rgm@gnu.org>
7513
7514 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7515 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7516 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7517 (whitespace-highlight): Move to whitespace group.
7518
7519 * comint.el (comint-source):
7520 * pcmpl-linux.el (pcmpl-linux):
7521 * shell.el (shell-faces):
7522 * eshell/esh-opt.el (eshell-opt):
7523 * international/ccl.el (ccl): Remove empty custom groups.
7524
7525 * completion.el (dynamic-completion-mode):
7526 * jit-lock.el (jit-lock-debug-mode):
7527 * minibuffer.el (completion-in-region-mode):
7528 * type-break.el (type-break-mode-line-message-mode)
7529 (type-break-query-mode):
7530 * emulation/tpu-edt.el (tpu-edt-mode):
7531 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7532 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7533 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7534
7535 * term/xterm.el (xterm): Change parent group to terminals.
7536
7537 * master.el (master): Remove empty custom group.
7538 (master-mode): Remove unused :group argument.
7539 * textmodes/refill.el (refill): Remove empty custom group.
7540 (refill-mode): Remove unused :group argument.
7541
7542 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7543
7544 * cus-dep.el: Provide a feature.
7545 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7546 Don't mistakenly ignore files whose basenames match a basename
7547 from preloaded-file-list (eg cedet/ede/simple.el).
7548 Add a fallback method for getting :group.
7549
7550 2013-05-15 Juri Linkov <juri@jurta.org>
7551
7552 * isearch.el (isearch-char-by-name): Rename from
7553 `isearch-insert-char-by-name'. Doc fix.
7554 (isearch-forward): Mention `isearch-char-by-name' in
7555 the docstring. (Bug#13348)
7556
7557 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7558 `exit-minibuffer' instead of
7559 `isearch-nonincremental-exit-minibuffer'.
7560 (isearch-edit-string): Remove mention of
7561 `isearch-nonincremental-exit-minibuffer' from docstring.
7562 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7563 (isearch-forward-exit-minibuffer)
7564 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7565
7566 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * loadup.el: Just use unversioned DOC.
7569
7570 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7571 literals as extending to EOB.
7572 (nxml-last-fontify-end): Remove unused variable.
7573 (nxml-after-change1): Use with-silent-modifications.
7574 (nxml-extend-after-change-region): Simplify.
7575 (nxml-extend-after-change-region1): Remove function.
7576 (nxml-after-change1): Don't adjust for dependent regions.
7577 (nxml-fontify-matcher): Simplify.
7578 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7579 (xmltok-add-dependent): Remove function.
7580 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7581 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7582 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7583 unclosed <[[, <?, comment, and other literals as extending to EOB.
7584 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7585 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7586 Remove functions.
7587 (rng-do-some-validation-1): Don't mark dependent regions.
7588 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7589 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7590 (nxml-clear-dependent-regions): Remove functions.
7591 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7592 (nxml-ensure-scan-up-to-date):
7593 Don't clear&mark dependent regions.
7594
7595 2013-05-15 Leo Liu <sdl.web@gmail.com>
7596
7597 * progmodes/octave.el (octave-goto-function-definition):
7598 Improve and fix callers.
7599
7600 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7603 the setter (bug#14387).
7604
7605 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7606 surrounding group (bug#14402).
7607
7608 2013-05-14 Juri Linkov <juri@jurta.org>
7609
7610 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7611 (Bug#14390)
7612
7613 2013-05-14 Glenn Morris <rgm@gnu.org>
7614
7615 * progmodes/f90.el (f90-imenu-generic-expression):
7616 Fix typo in 2013-05-08 change. (Bug#14402)
7617
7618 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7619
7620 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7621 Remove signals for which replies are never received.
7622
7623 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7624
7625 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7626 (gdb-handler-alist, gdb-handler-number): Remove variables.
7627 (gdb-handler-list): New variable.
7628 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7629 (gdb-pending-handler-p, gdb-handle-reply)
7630 (gdb-remove-all-pending-triggers): New functions.
7631 (gdb-discard-unordered-replies): New defcustom.
7632 (gdb-handler): New defstruct.
7633 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7634 instead of gdb-pending-triggers. Update docstring.
7635 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7636 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7637 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7638 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7639 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7640 (gdb-frame-handler): Pending triggers are now automatically managed.
7641 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7642 Remove argument.
7643 (gdb-input): Automatically handles pending triggers. Update docstring.
7644 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7645 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7646 Update comments.
7647 (gdb-done-or-error): Now use gdb-handle-reply.
7648
7649 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7650
7651 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7652 gdb-debug-log.
7653
7654 2013-05-14 Glenn Morris <rgm@gnu.org>
7655
7656 * subr.el (user-emacs-directory-warning): New option.
7657 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7658
7659 2013-05-14 Leo Liu <sdl.web@gmail.com>
7660
7661 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7662 during redisplay.
7663 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7664 (octave-font-lock-texinfo-comment): Fix invalid search bound
7665 error: wrong side of point.
7666
7667 2013-05-14 Glenn Morris <rgm@gnu.org>
7668
7669 * progmodes/flymake.el (flymake-xml-program): New option.
7670 (flymake-xml-init): Use it.
7671
7672 * term/xterm.el: Provide a feature.
7673
7674 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7675
7676 2013-05-13 Glenn Morris <rgm@gnu.org>
7677
7678 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7679 Add compat aliases as a hack workaround. (Bug#14384)
7680
7681 2013-05-13 Leo Liu <sdl.web@gmail.com>
7682
7683 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7684 ###, and %!.
7685 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7686 C-M-q.
7687 (octave-comment-start-skip): Include %!.
7688 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7689
7690 2013-05-12 Leo Liu <sdl.web@gmail.com>
7691
7692 * progmodes/octave.el (inferior-octave-startup): Store the value
7693 of __octave_srcdir__ for octave-source-directories.
7694 (inferior-octave-check-process): New function refactored out of
7695 inferior-octave-send-list-and-digest.
7696 (octave-source-directories)
7697 (octave-find-definition-filename-function): New variables.
7698 (octave-source-directories)
7699 (octave-find-definition-default-filename): New functions.
7700 (octave-find-definition): Improve to find functions implemented in C++.
7701
7702 2013-05-12 Glenn Morris <rgm@gnu.org>
7703
7704 * calendar/diary-lib.el (diary-outlook-format-1):
7705 Don't include dayname in the output. (Bug#14349)
7706
7707 2013-05-11 Glenn Morris <rgm@gnu.org>
7708
7709 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7710
7711 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7712 Treat cc-provide like provide.
7713
7714 2013-05-11 Kevin Ryde <user42@zip.com.au>
7715
7716 * cus-dep.el (custom-make-dependencies):
7717 Use generated-autoload-load-name for the sake of files such
7718 such cedet/semantic/bovine/c.el, where the base file name
7719 is not in load-path. (Bug#5277)
7720
7721 2013-05-11 Glenn Morris <rgm@gnu.org>
7722
7723 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7724 Provide features.
7725
7726 2013-05-11 Leo Liu <sdl.web@gmail.com>
7727
7728 * progmodes/octave.el (octave-indent-comment): Improve.
7729 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7730 (octave-eldoc-function-signatures, octave-eldoc-function):
7731 New functions.
7732 (octave-mode, inferior-octave-mode): Add eldoc support.
7733
7734 2013-05-11 Richard Stallman <rms@gnu.org>
7735
7736 * epa.el (epa-decrypt-file): Take output file name as argument
7737 and read it using `interactive'.
7738
7739 2013-05-11 Leo Liu <sdl.web@gmail.com>
7740
7741 * progmodes/octave.el (octave-beginning-of-line)
7742 (octave-end-of-line): Check before using up-list because it jumps
7743 out of more syntactic contructs since moving to smie.
7744 (octave-indent-comment): New function.
7745 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7746 (octave-begin-keywords, octave-end-keywords)
7747 (octave-reserved-words, octave-smie-bnf-table)
7748 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7749
7750 2013-05-11 Glenn Morris <rgm@gnu.org>
7751
7752 * faces.el (internal-face-x-get-resource):
7753 * frame.el (ns-display-monitor-attributes-list):
7754 * calc/calc-aent.el (math-to-radians-2):
7755 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7756 Fix declarations.
7757
7758 * calc/calc-menu.el: Make it loadable in isolation.
7759
7760 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7761 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7762 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7763 (eudc-bbdb-query-internal): Require 'bbdb.
7764
7765 * lpr.el (lpr-headers-switches):
7766 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7767
7768 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7769
7770 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7771
7772 * term.el (term-set-escape-char): Make it idempotent.
7773
7774 2013-05-10 Leo Liu <sdl.web@gmail.com>
7775
7776 * progmodes/octave.el (inferior-octave-completion-table):
7777 No longer a function and all uses changed. Use cache to speed up
7778 completion due to bug#11906.
7779 (octave-beginning-of-defun): Re-write to be more general.
7780
7781 2013-05-10 Glenn Morris <rgm@gnu.org>
7782
7783 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7784
7785 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * comint.el (comint-redirect-send-command-to-process): Use :around
7788 rather than :override for comint-redirect-filter.
7789 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7790 Call it instead of comint-redirect-original-filter-function (which
7791 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7792
7793 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7794
7795 * frame.el (display-monitor-attributes-list): Add NS case.
7796 (ns-display-monitor-attributes-list): Declare.
7797
7798 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7799
7800 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7801
7802 2013-05-09 Glenn Morris <rgm@gnu.org>
7803
7804 * international/fontset.el (vertical-centering-font-regexp):
7805 Set standard-value.
7806
7807 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7808
7809 * bookmark.el (bookmark-search-delay):
7810 * cus-start.el (vertical-centering-font-regexp):
7811 * ps-mule.el (ps-mule-font-info-database-default):
7812 * ps-print.el (ps-default-fg, ps-default-bg):
7813 * type-break.el (type-break-good-break-interval):
7814 * whitespace.el (whitespace-indentation-regexp)
7815 (whitespace-space-after-tab-regexp):
7816 * emacs-lisp/testcover.el (testcover-1value-functions)
7817 (testcover-noreturn-functions, testcover-progn-functions)
7818 (testcover-prog1-functions):
7819 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7820 * eshell/em-glob.el (eshell-glob-translate-alist):
7821 * play/tetris.el (tetris-tty-colors):
7822 * progmodes/cpp.el (cpp-face-default-list):
7823 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7824 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7825 (idlwave-help-browser-generic-args):
7826 * progmodes/make-mode.el (makefile-special-targets-list):
7827 * progmodes/python.el (python-shell-virtualenv-path):
7828 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7829 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7830 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7831 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7832 * textmodes/reftex-vars.el (reftex-format-label-function):
7833 * textmodes/remember.el (remember-diary-file): Fix custom types.
7834
7835 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7836 Add :version.
7837
7838 2013-05-09 Leo Liu <sdl.web@gmail.com>
7839
7840 * progmodes/octave.el (inferior-octave-completion-at-point):
7841 Restore file completion. (Bug#14300)
7842 (inferior-octave-startup): Fix incorrect highlighting for the
7843 first prompt.
7844
7845 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * progmodes/ruby-mode.el: First cut at SMIE support.
7848 (ruby-use-smie): New var.
7849 (ruby-smie-grammar): New constant.
7850 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7851 (ruby-smie--forward-token, ruby-smie--backward-token)
7852 (ruby-smie-rules): New functions.
7853 (ruby-mode-variables): Setup SMIE if applicable.
7854
7855 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7856
7857 * simple.el (line-move-visual): Signal beginning/end of buffer
7858 only if vertical-motion moved less than it was requested. Avoids
7859 silly incorrect error messages when there are display strings with
7860 multiple newlines at EOL.
7861
7862 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7863
7864 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7865 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7866 (prolog-char-quote-workaround):
7867 * progmodes/cperl-mode.el (cperl-under-as-char):
7868 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7869 Mark as obsolete.
7870 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7871 their declaration.
7872 (vhdl-mode-syntax-table-init): Remove.
7873
7874 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7875 last change.
7876
7877 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7878 syntax for "_".
7879 (ld-script-font-lock-keywords):
7880 Change regexps to use things like \_< and \_>.
7881
7882 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7883 Change all regexps to use things like \_< and \_>.
7884
7885 * progmodes/autoconf.el (autoconf-definition-regexp)
7886 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7887 Handle a _ with symbol syntax.
7888 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7889
7890 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7891 Consolidate declaration.
7892 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7893 the declaration.
7894 (ada-create-syntax-table): Remove.
7895 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7896 already has the right syntax nowadays.
7897 (ada-goto-next-word): Don't change the syntax of "_".
7898
7899 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7900 with-wrapper-hook.
7901
7902 2013-05-08 Sam Steingold <sds@gnu.org>
7903
7904 * thingatpt.el (thing-at-point): Accept optional second argument
7905 NO-PROPERTIES to strip the text properties from the return value.
7906 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7907 to `thing-at-point' instead of stripping the properties ourselves.
7908 Also, when `thing-at-point' fails to find a url, prepend "http://"
7909 to the filename at point on the assumption that the user is
7910 pointing at something like gnu.org/gnu.
7911
7912 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7913
7914 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7915 * faces.el (crm-separator):
7916 Silence byte-compiler.
7917
7918 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7919 (tool-bar-map): Remove unneeded defvars.
7920
7921 2013-05-08 Leo Liu <sdl.web@gmail.com>
7922
7923 Re-work a fix for bug#10994 based on Le Wang's patch.
7924 * ido.el (ido-remove-consecutive-dups): New helper.
7925 (ido-completing-read): Use it.
7926 (ido-chop): Revert fix for bug#10994.
7927
7928 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7929
7930 * cus-edit.el (custom-save-variables):
7931 Pretty-print long values. (Bug#14187)
7932
7933 2013-05-08 Glenn Morris <rgm@gnu.org>
7934
7935 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7936 (m4-mode-syntax-table): Init in the defvar.
7937 (m4-mode-abbrev-table): Let define-derived-mode define it.
7938
7939 2013-05-08 Tom Tromey <tromey@redhat.com>
7940
7941 * progmodes/m4-mode.el (m4-mode-syntax-table):
7942 Do not treat "_" as word constituent. (Bug#14167)
7943
7944 2013-05-07 Glenn Morris <rgm@gnu.org>
7945
7946 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7947 Remove explicit eshell-isearch-cancel-map.
7948
7949 * progmodes/f90.el (f90-smart-end-names): New option.
7950 (f90-smart-end): Doc fix.
7951 (f90-end-block-optional-name): New constant.
7952 (f90-block-match): Respect f90-smart-end-names.
7953
7954 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7957 about implicit semi-colons (bug#14218).
7958
7959 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7960
7961 * frame.el (display-monitor-attributes-list)
7962 (frame-monitor-attributes): New functions.
7963
7964 2013-05-06 Leo Liu <sdl.web@gmail.com>
7965
7966 * progmodes/octave.el (octave-syntax-propertize-function): Change
7967 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7968 (octave-font-lock-keywords): Use octave-operator-regexp.
7969 (octave-completion-at-point): Rename from
7970 octave-completion-at-point-function.
7971 (inferior-octave-directory-tracker): Robustify.
7972 (octave-text-functions): Remove and fix its uses. No such things
7973 any more.
7974
7975 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * emacs-lisp/trace.el (trace--display-buffer): New function.
7978 (trace-make-advice): Use it.
7979
7980 2013-05-06 Juri Linkov <juri@jurta.org>
7981
7982 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7983 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7984 Doc fix.
7985 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7986 in the help string. (Bug#12985)
7987
7988 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7989
7990 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7991
7992 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7993
7994 * progmodes/perl-mode.el: Add support for here documents.
7995 (perl-syntax-propertize-function): Match here-doc markers.
7996 (perl-syntax-propertize-special-constructs): Find their end.
7997 (perl-imenu-generic-expression): Use [:alnum:].
7998
7999 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8000 (advice--add-function): Refresh the advice if already present
8001 (bug#14317).
8002
8003 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8004
8005 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8006
8007 2013-05-06 Glenn Morris <rgm@gnu.org>
8008
8009 * w32-fns.el (w32-charset-info-alist): Declare.
8010
8011 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8012 of its defcustom properties.
8013 (eshell-cmpl-initialize): No need to load pcomplete.
8014
8015 * generic-x.el: No need to require comint when compiling.
8016
8017 * net/eudc-export.el: Make it loadable without bbdb.
8018 (top-level): Use require rather than load-library.
8019 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8020 (eudc-batch-export-records-to-bbdb)
8021 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8022 Require bbdb.
8023
8024 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8027 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8028 some tweaks, instead.
8029
8030 2013-05-05 Leo Liu <sdl.web@gmail.com>
8031
8032 * progmodes/octave.el (octave-font-lock-keywords)
8033 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8034 (inferior-octave-send-list-and-digest): Improve error message.
8035 (octave-mode, inferior-octave-mode): Use setq-local.
8036 (octave-help): Set info-lookup-mode.
8037
8038 2013-05-05 Richard Stallman <rms@gnu.org>
8039
8040 * vc/compare-w.el (compare-windows-whitespace):
8041 Treat no-break space as whitespace.
8042
8043 * mail/rmailsum.el (rmail-summary-rmail-update):
8044 Detect empty summary and don't change selected message.
8045 (rmail-summary-goto-msg): Likewise.
8046
8047 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8048 Doc fixes, rename args.
8049
8050 2013-05-05 Alan Mackenzie <acm@muc.de>
8051
8052 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8053
8054 2013-05-05 Juri Linkov <juri@jurta.org>
8055
8056 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8057 to not add the length of the summary segment to the return value.
8058 (Bug#14125)
8059
8060 2013-05-05 Leo Liu <sdl.web@gmail.com>
8061
8062 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8063 (inferior-octave-output-filter): Remove.
8064 (octave-send-region, inferior-octave-startup): Fix callers.
8065 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8066 (octave-binary-file-extensions): New user variable.
8067 (octave-find-definition): Confirm if opening binary files.
8068 (octave-help-file): Use octave-find-definition to get the binary
8069 confirmation.
8070 (octave-help): Adjust for octave-help-file change.
8071
8072 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8075 Merge the two entries that handle function definitions.
8076 (pascal--syntax-propertize): New const.
8077 (pascal-mode): Use it. Use setq-local.
8078
8079 2013-05-04 Glenn Morris <rgm@gnu.org>
8080
8081 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8082 (diary-from-outlook): Respect diary-from-outlook-function.
8083
8084 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8087 Move the declaration from C.
8088 (read-minibuffer, eval-minibuffer): Move from C.
8089 (completion-setup-function): Avoid minibuffer-completion-contents.
8090
8091 2013-05-03 Leo Liu <sdl.web@gmail.com>
8092
8093 * progmodes/octave.el (octave-font-lock-keywords): Do not
8094 dehighlight 'end' in comments or strings.
8095 (octave-completing-read, octave-goto-function-definition):
8096 New helpers.
8097 (octave-help-buffer): New user variable.
8098 (octave-help-file, octave-help-function): New button types.
8099 (octave-help): New command and bind it to C-h ;.
8100 (octave-find-definition): New command and bind it to M-.
8101 (user-error): Alias to error if not defined.
8102
8103 2013-05-02 Leo Liu <sdl.web@gmail.com>
8104
8105 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8106 for \. (bug#14332)
8107 (octave-font-lock-keywords): Include [ and {.
8108
8109 2013-05-02 Leo Liu <sdl.web@gmail.com>
8110
8111 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8112 (inferior-octave): Remove calling comint-mode and return the buffer.
8113 (inferior-octave-startup): Cosmetic changes.
8114
8115 2013-05-02 Leo Liu <sdl.web@gmail.com>
8116
8117 * progmodes/octave.el (octave-syntax-propertize-function):
8118 Include the case when ' is at line beginning. (Bug#14336)
8119
8120 2013-05-02 Glenn Morris <rgm@gnu.org>
8121
8122 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8123 * desktop.el (vc-dir-mode): Just autoload it here.
8124
8125 2013-05-02 Alan Mackenzie <acm@muc.de>
8126
8127 Eliminate variable c-standard-font-lock-fontify-region-function.
8128 * progmodes/cc-mode.el
8129 (c-standard-font-lock-fontify-region-function): Remove.
8130 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8131
8132 2013-05-01 Leo Liu <sdl.web@gmail.com>
8133
8134 * progmodes/octave.el: Compatible with older emacs-24 releases.
8135 (inferior-octave-has-built-in-variables): Remove. Built-in
8136 variables were removed from Octave in 2007.
8137 (inferior-octave-startup): Fix uses.
8138 (comint-line-beginning-position): Remove compatibility code for
8139 emacs 21.
8140
8141 2013-05-01 Juri Linkov <juri@jurta.org>
8142
8143 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8144
8145 2013-05-01 Juri Linkov <juri@jurta.org>
8146
8147 * comint.el (comint-previous-matching-input): Don't print message
8148 "History item: %d" when `isearch-mode' is active.
8149 (comint-history-isearch-message): Print message "History item: %d"
8150 when `comint-input-ring-index' is not empty and this function is
8151 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8152
8153 2013-05-01 Leo Liu <sdl.web@gmail.com>
8154
8155 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8156 definitions. Use completion-at-point to insert keywords.
8157 (octave-abbrev-start): Remove.
8158 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8159
8160 2013-04-30 Leo Liu <sdl.web@gmail.com>
8161
8162 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8163 change.
8164
8165 2013-04-30 Alan Mackenzie <acm@muc.de>
8166
8167 Handle arbitrarily long C++ member initialisation lists.
8168 * progmodes/cc-engine.el (c-back-over-member-initializers):
8169 new function.
8170 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8171 (most) member init lists.
8172
8173 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8174
8175 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8176 variable.
8177
8178 2013-04-30 Leo Liu <sdl.web@gmail.com>
8179
8180 * progmodes/octave.el (octave-variables): Remove. No builtin
8181 variables any more. All converted to functions.
8182 (octave-font-lock-keywords, octave-completion-at-point-function):
8183 Fix uses.
8184 (octave-font-lock-texinfo-comment): New user variable.
8185 (octave-texinfo-font-lock-keywords): New variable for texinfo
8186 comment block.
8187 (octave-function-comment-block): New face.
8188 (octave-font-lock-texinfo-comment): New function.
8189 (octave-mode): Font lock texinfo comment block.
8190
8191 2013-04-29 Leo Liu <sdl.web@gmail.com>
8192
8193 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8194 indexing expression.
8195 (octave-continuation-string): Do not use \.
8196 (inferior-octave-complete-impossible): Remove.
8197 (inferior-octave-completion-table)
8198 (inferior-octave-completion-at-point): Remove its uses.
8199 (inferior-octave-startup): completion_matches was introduced to
8200 Octave in 1996 so safe to assume it.
8201 (octave-function-file-comment): Improve to follow how Octave does it.
8202 (octave-update-function-file-comment): Tweak.
8203
8204 2013-04-29 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8207 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8208 (octave-function-file-comment): Fix typo.
8209 (octave-sync-function-file-names): Use read-char-choice.
8210
8211 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8212
8213 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8214 to t for the less important warnings.
8215
8216 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8217
8218 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8219
8220 2013-04-27 Glenn Morris <rgm@gnu.org>
8221
8222 * vc/log-view.el (log-view-current-entry):
8223 Treat "---" separator lines as part of the following rev. (Bug#14169)
8224
8225 2013-04-27 Juri Linkov <juri@jurta.org>
8226
8227 * subr.el (read-number): Doc fix about using it by interactive
8228 code letter `n'. (Bug#14254)
8229
8230 2013-04-27 Juri Linkov <juri@jurta.org>
8231
8232 * desktop.el (desktop-auto-save-timeout): New option.
8233 (desktop-file-checksum): New variable.
8234 (desktop-save): Add optional arg `auto-save' and don't auto-save
8235 if nothing changed.
8236 (desktop-auto-save-timer): New variable.
8237 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8238 (after-init-hook): Call `desktop-auto-save-set-timer'.
8239 Suggested by Reuben Thomas <rrt@sc3d.org> in
8240 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8241
8242 2013-04-27 Leo Liu <sdl.web@gmail.com>
8243
8244 * progmodes/octave.el (octave-function-file-p)
8245 (octave-skip-comment-forward, octave-function-file-comment)
8246 (octave-update-function-file-comment): New functions.
8247 (octave-mode-map): Bind C-c ; to
8248 octave-update-function-file-comment.
8249 (octave-mode-menu): Add octave-update-function-file-comment.
8250 (octave-mode, inferior-octave-mode): Fix doc-string.
8251 (octave-insert-defun): Conform to Octave's coding convention.
8252 (Bug#14285)
8253
8254 * files.el (basic-save-buffer): Don't let errors in
8255 before-save-hook prevent saving buffer.
8256
8257 2013-04-20 Roland Winkler <winkler@gnu.org>
8258
8259 * faces.el (read-face-name): Use completing-read if arg multiple
8260 is nil.
8261
8262 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8263
8264 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8265 displayed, move point to after the totals line.
8266 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8267 for the details.
8268
8269 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8272 Add current dir to the load-path.
8273 (package-generate-autoloads): Don't rely on
8274 autoload-ensure-default-file.
8275
8276 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8277
8278 * textmodes/remember.el (remember-store-in-files): Document that
8279 the file name format is passed to `format-time-string'.
8280
8281 2013-04-26 Leo Liu <sdl.web@gmail.com>
8282
8283 * progmodes/octave.el (octave-sync-function-file-names): New function.
8284 (octave-mode): Use it in before-save-hook.
8285
8286 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8289 (bug#14274).
8290
8291 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8292 \n and comment, even if it's not an implicit ; (bug#14218).
8293
8294 2013-04-26 Glenn Morris <rgm@gnu.org>
8295
8296 * subr.el (read-number): Once more use `read' rather than
8297 `string-to-number', to trap non-numeric input. (Bug#14254)
8298
8299 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8300
8301 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8302 Use `syntax-multiline' text property consistently instead of
8303 `font-lock-multiline'. (Bug#14237)
8304
8305 2013-04-26 Glenn Morris <rgm@gnu.org>
8306
8307 * emacs-lisp/shadow.el (list-load-path-shadows):
8308 No longer necessary to check for duplicate simple.el, since
8309 2012-07-07 change to init_lread to not include installation lisp
8310 directories in load-path when running uninstalled. (Bug#14270)
8311
8312 2013-04-26 Leo Liu <sdl.web@gmail.com>
8313
8314 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8315 (octave-mode, inferior-octave-mode): Use setq-local.
8316 (octave-not-in-string-or-comment-p): Rename to
8317 octave-in-string-or-comment-p.
8318 (octave-in-comment-p, octave-in-string-p)
8319 (octave-in-string-or-comment-p): Replace defsubst with defun.
8320
8321 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8322
8323 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8324
8325 2013-04-25 Bastien Guerry <bzg@gnu.org>
8326
8327 * textmodes/remember.el (remember-data-directory)
8328 (remember-directory-file-name-format): Fix custom types.
8329
8330 2013-04-25 Leo Liu <sdl.web@gmail.com>
8331
8332 * progmodes/octave.el (octave-completion-at-point-function):
8333 Make use of inferior octave process.
8334 (octave-initialize-completions): Remove.
8335 (inferior-octave-completion-table): New function.
8336 (inferior-octave-completion-at-point): Use it.
8337 (octave-completion-alist): Remove.
8338
8339 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8342 (opascal-mode-syntax-table): New var.
8343 (opascal-literal-kind, opascal-is-literal-end)
8344 (opascal-literal-token-at): Rewrite.
8345 (opascal--literal-start-re, opascal-font-lock-keywords)
8346 (opascal--syntax-propertize): New constants.
8347 (opascal-font-lock-defaults): Adjust.
8348 (opascal-mode): Use them. Set comment-<foo> variables as well.
8349 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8350 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8351 (delphi-other-face, opascal-other-face): Remove face variables.
8352 (opascal-save-state): Remove macro.
8353 (opascal-fontifying-progress-step): Remove constant.
8354 (opascal--ignore-changes): Remove var.
8355 (opascal-set-token-property, opascal-parse-next-literal)
8356 (opascal-is-stable-literal, opascal-complete-literal)
8357 (opascal-is-literal-start, opascal-face-of)
8358 (opascal-parse-region, opascal-parse-region-until-stable)
8359 (opascal-fontify-region, opascal-after-change)
8360 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8361 (opascal-debug-parse-region, opascal-debug-parse-window)
8362 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8363 (opascal-debug-fontify-buffer): Remove.
8364 (opascal-debug-mode-map): Adjust accordingly.
8365
8366 2013-04-25 Leo Liu <sdl.web@gmail.com>
8367
8368 Merge octave-mod.el and octave-inf.el into octave.el with some
8369 cleanups.
8370 * progmodes/octave.el: New file renamed from octave-mod.el.
8371 * progmodes/octave-inf.el: Merged into octave.el.
8372 * progmodes/octave-mod.el: Renamed to octave.el.
8373
8374 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8375
8376 * textmodes/reftex-vars.el
8377 (reftex-label-ignored-macros-and-environments): New defcustom.
8378
8379 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8380
8381 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8384 (smie-indent-keyword): Improve the check to ensure that the next
8385 comment is really on the same line.
8386 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8387
8388 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8389 semi-colons if the line is not otherwise empty (bug#14218).
8390
8391 2013-04-25 Glenn Morris <rgm@gnu.org>
8392
8393 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8394
8395 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * progmodes/opascal.el (opascal-set-token-property): Rename from
8398 opascal-set-text-properties and only set `token' (bug#14134).
8399 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8400 (opascal-literal-text-properties): Remove.
8401 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8402 Adjust callers.
8403
8404 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8405
8406 * textmodes/remember.el (remember-handler-functions): Add an
8407 option for a new handler `remember-store-in-files'.
8408 (remember-data-directory, remember-directory-file-name-format):
8409 New options.
8410 (remember-store-in-files): New function to store remember notes
8411 as separate files within a directory.
8412
8413 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8414
8415 * progmodes/compile.el (compilation-next-error-function):
8416 Pass "formats" to compilation-find-file (bug#11777).
8417
8418 2013-04-24 Glenn Morris <rgm@gnu.org>
8419
8420 * vc/vc-bzr.el (vc-bzr-print-log):
8421 * vc/vc-hg.el (vc-hg-print-log):
8422 * vc/vc-svn.el (vc-svn-print-log):
8423 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8424
8425 * vc/vc-bzr.el (vc-bzr-print-log):
8426 * vc/vc-cvs.el (vc-cvs-print-log):
8427 * vc/vc-git.el (vc-git-print-log):
8428 * vc/vc-hg.el (vc-hg-print-log):
8429 * vc/vc-mtn.el (vc-mtn-print-log):
8430 * vc/vc-rcs.el (vc-rcs-print-log):
8431 * vc/vc-sccs.el (vc-sccs-print-log):
8432 * vc/vc-svn.el (vc-svn-print-log):
8433 * vc/vc.el (vc-print-log-internal): Doc fixes.
8434
8435 2013-04-23 Glenn Morris <rgm@gnu.org>
8436
8437 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8438 Remove venerable code attempting to avoid substitute-command-keys.
8439
8440 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8441
8442 * textmodes/reftex-vars.el (reftex-label-regexps):
8443 Call `reftex-compile-variables' after changes to this variable.
8444
8445 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8448 Use lexical-binding.
8449 (jit-lock-force-redisplay): Use markers, check buffer's continued
8450 existence and beware narrowed buffers.
8451 (jit-lock-fontify-now): Adjust call accordingly.
8452
8453 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8456 to avoid misleading the user.
8457
8458 2013-04-22 Leo Liu <sdl.web@gmail.com>
8459
8460 * info-look.el: Prefer latex2e.info. (Bug#14240)
8461
8462 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8463
8464 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8465
8466 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8467 * net/tramp.el (tramp-call-process): ... here.
8468 (tramp-set-completion-function, tramp-parse-putty):
8469 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8470 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8471 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8472 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8473 (tramp-call-local-coding-command): Use `tramp-call-process'
8474 instead of `tramp-compat-call-process'.
8475
8476 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8477 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8478 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8479 (tramp-find-inline-compress): Improve traces.
8480 (tramp-maybe-send-script): Check for Perl binary.
8481 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8482
8483 2013-04-22 Daiki Ueno <ueno@gnu.org>
8484
8485 * epg.el (epg-context-pinentry-mode): New function.
8486 (epg-context-set-pinentry-mode): New function.
8487 (epg--start): Pass --pinentry-mode option to gpg command.
8488
8489 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8490
8491 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8492 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8493 `completion-at-point'. (Bug#13774)
8494
8495 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8496 default key binding for `describe-distribution' has been moved to
8497 `C-h C-o'. (Bug#13970)
8498
8499 2013-04-21 Glenn Morris <rgm@gnu.org>
8500
8501 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8502 Add doc strings.
8503 (vc-print-log): Clarify interactive prompt.
8504
8505 2013-04-20 Glenn Morris <rgm@gnu.org>
8506
8507 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8508 No longer include timestamp etc information.
8509
8510 2013-04-20 Roland Winkler <winkler@gnu.org>
8511
8512 * faces.el (read-face-name): Bug fix, return just one face if arg
8513 multiple is nil. (Bug#14209)
8514
8515 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8518 (remove-function): Autoload.
8519
8520 * comint.el (comint-redirect-original-filter-function): Remove.
8521 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8522 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8523 (vc-cvs-annotate-command):
8524 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8525 * progmodes/prolog.el (prolog-consult-compile):
8526 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8527 Use add/remove-function instead.
8528 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8529 (gud-tooltip-process-output, gud-tooltip-tips):
8530 Use add/remove-function instead.
8531 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8532 (scheme-interaction-mode, exit-scheme-interaction-mode):
8533 Use add/remove-function instead.
8534
8535 * vc/vc-dispatcher.el: Use lexical-binding.
8536 (vc--process-sentinel): Rename from vc-process-sentinel.
8537 Change last arg to be the code to run. Don't use vc-previous-sentinel
8538 and vc-sentinel-commands any more.
8539 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8540 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8541
8542 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8543
8544 * progmodes/sh-script.el (sh-imenu-generic-expression):
8545 Handle function names with a single character. (Bug#14111)
8546
8547 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8548
8549 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8550 for subroutines defined in an eval (bug#14182).
8551
8552 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8553
8554 * bookmark.el (bookmark-completing-read): Improve handling of empty
8555 string (bug#14176).
8556
8557 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8560
8561 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8562
8563 New faster Imenu implementation (bug#14058).
8564 * progmodes/python.el:
8565 (python-imenu-prev-index-position):
8566 (python-imenu-format-item-label-function)
8567 (python-imenu-format-parent-item-label-function)
8568 (python-imenu-format-parent-item-jump-label-function):
8569 New vars.
8570 (python-imenu-format-item-label)
8571 (python-imenu-format-parent-item-label)
8572 (python-imenu-format-parent-item-jump-label)
8573 (python-imenu--put-parent, python-imenu--build-tree)
8574 (python-imenu-create-index, python-imenu-create-flat-index)
8575 (python-util-popn): New functions.
8576 (python-mode): Set imenu-create-index-function to
8577 python-imenu-create-index.
8578
8579 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8581 * winner.el (winner-active-region): Use region-active-p, activate-mark
8582 and deactivate-mark (bug#14225).
8583
8584 * simple.el (deactivate-mark): Don't inline it.
8585
8586 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8587
8588 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8589
8590 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8591
8592 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8593 file extensions from the archive-mode entry in order to prefer
8594 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8595
8596 2013-04-18 Leo Liu <sdl.web@gmail.com>
8597
8598 * bindings.el (help-event-list): Add ?\?.
8599
8600 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * subr.el (with-wrapper-hook): Declare obsolete.
8603 * simple.el (filter-buffer-substring-function): New hook.
8604 (filter-buffer-substring): Use it.
8605 (filter-buffer-substring-functions): Mark obsolete.
8606 * minibuffer.el (completion-in-region-function): New hook.
8607 (completion-in-region): Use it.
8608 (completion-in-region-functions): Mark obsolete.
8609 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8610 * abbrev.el (abbrev-expand-function): New hook.
8611 (expand-abbrev): Use it.
8612 (abbrev-expand-functions): Mark obsolete.
8613 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8614 and :filter-return.
8615
8616 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8617
8618 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8619 and do not care about match data.
8620
8621 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8624 completion tables when completing error conditions and
8625 `declare' arguments.
8626 (lisp-complete-symbol, field-complete): Mark as obsolete.
8627 (check-parens): Unmatched parens are user errors.
8628 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8629
8630 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8631
8632 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8633 command changed buffer (ie. `flyspell-pre-buffer' is not current
8634 buffer), which prevents making decisions based on invalid value of
8635 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8636 cause an error when `flyspell-pre-point' was nil after switching
8637 buffers.
8638 (flyspell-post-command-hook): No longer needs to change buffers when
8639 checking pre-word. While at it remove unnecessary progn.
8640
8641 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8642
8643 * textmodes/ispell.el (ispell-add-per-file-word-list):
8644 Fix `flyspell-correct-word-before-point' error when accepting
8645 words and `coment-padding' is an integer by using
8646 `comment-normalize-vars' (Bug #14214).
8647
8648 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8649
8650 New defun movement commands.
8651 * progmodes/python.el (python-nav--syntactically)
8652 (python-nav--forward-defun, python-nav-backward-defun)
8653 (python-nav-forward-defun): New functions.
8654
8655 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8656
8657 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8658 (python-syntax-context): Use named compiler-macro for backwards
8659 compatibility with Emacs 24.x.
8660
8661 2013-04-17 Leo Liu <sdl.web@gmail.com>
8662
8663 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8664 octave-hide-process-buffer.
8665
8666 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8669 (bug#14216).
8670
8671 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8672
8673 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8674 Fix adjustment of offset when receiving incomplete responses from GDB
8675 (bug#14129).
8676
8677 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8680 python-mode-abbrev-table.
8681 (python-skeleton-define): Adjust accordingly.
8682 (python-mode-abbrev-table): New table that inherits from it so that
8683 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8684
8685 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8686 (abbrev-symbol): Use it.
8687 (abbrev--before-point): Use it since we already handle inheritance.
8688
8689 2013-04-16 Leo Liu <sdl.web@gmail.com>
8690
8691 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8692 binding to info-lookup-symbol.
8693
8694 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * minibuffer.el (completion--twq-all):
8697 * term/ns-win.el (ns-initialize-window-system):
8698 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8699
8700 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8703 global bindings.
8704
8705 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8706
8707 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8708
8709 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8710 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8711 to nil.
8712 (ruby-end-of-defun): Remove the unused arg, change the docstring
8713 to reflect that this function is only used as the value of
8714 `end-of-defun-function'.
8715 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8716 to reflect an earlier change that beginning/end-of-defun functions
8717 jump between methods in a class definition, as well as top-level
8718 functions.
8719
8720 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * minibuffer.el (minibuffer-complete): Don't just scroll
8723 a *Completions* that's been iconified.
8724 (minibuffer-force-complete): Make sure repetitions do cycle when going
8725 through completion-in-region -> minibuffer-complete.
8726
8727 2013-04-15 Alan Mackenzie <acm@muc.de>
8728
8729 Correct the placement of c-cpp-delimiters when there're #s not at
8730 col 0.
8731
8732 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8733 place a submatch around the #.
8734 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8735 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8736 on the #, not BOL.
8737
8738 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8741 (advice--member-p): New arg `name'.
8742 (advice--add-function, advice-member-p): Use it (bug#14202).
8743
8744 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8745
8746 Reformulate java imenu-generic-expression.
8747 The old expression contained ill formed regexps.
8748
8749 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8750 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8751 (cc-imenu-java-method-arg-regexp): New defconsts.
8752 (cc-imenu-java-build-type-args-regex): New defun.
8753 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8754 handling of spaces in the regexp.
8755
8756 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8757
8758 * textmodes/ispell.el (ispell-command-loop): Remove
8759 flyspell highlight of a word when ispell accepts it (bug #14178).
8760
8761 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8762
8763 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8764 uses code from the previous `ange-ftp-run-real-handler'.
8765 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8766 only in case that function exist. This is needed for proper
8767 unloading of Tramp.
8768
8769 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8770
8771 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8772
8773 * textmodes/reftex.el (reftex-compile-variables): Use it.
8774
8775 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * files.el (normal-mode): Only use default major-mode if no other mode
8778 was specified.
8779
8780 * emacs-lisp/trace.el (trace-values): New function.
8781
8782 * files.el: Allow : in local variables (bug#14089).
8783 (hack-local-variable-regexp): New var.
8784 (hack-local-variables-prop-line, hack-local-variables): Use it.
8785
8786 2013-04-13 Roland Winkler <winkler@gnu.org>
8787
8788 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8789 data before it gets modified by bibtex-beginning-of-entry.
8790
8791 2013-04-13 Roland Winkler <winkler@gnu.org>
8792
8793 * textmodes/bibtex.el (bibtex-url): Doc fix.
8794
8795 2013-04-13 Roland Winkler <winkler@gnu.org>
8796
8797 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8798 does not visit a BibTeX file, exclude it from the list of buffers
8799 returned by bibtex-initialize.
8800
8801 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8802
8803 * window.el (split-window): Remove interactive form, since as a
8804 command this function is a special case of split-window-below.
8805 Correct doc string.
8806
8807 2013-04-12 Roland Winkler <winkler@gnu.org>
8808
8809 * faces.el (read-face-name): Do not override value of arg default.
8810 Allow single faces and strings as default values. Remove those
8811 elements from return value that are not faces.
8812 (describe-face): Simplify.
8813 (face-at-point): New optional args thing and multiple so that this
8814 function can provide the same functionality previously provided by
8815 read-face-name.
8816 (make-face-bold, make-face-unbold, make-face-italic)
8817 (make-face-unitalic, make-face-bold-italic, invert-face)
8818 (modify-face, read-face-and-attribute): Use face-at-point.
8819
8820 * cus-edit.el (customize-face, customize-face-other-window)
8821 * cus-theme.el (custom-theme-add-face)
8822 * face-remap.el (buffer-face-set)
8823 * facemenu.el (facemenu-set-face): Use face-at-point.
8824
8825 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8828
8829 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8830
8831 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8832 off leading { and trailing } from field values.
8833
8834 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * emacs-lisp/timer.el (timer--check): New function.
8837 (timer--time, timer-set-function, timer-event-handler): Use it.
8838 (timer-set-idle-time): Simplify.
8839 (timer--activate): CSE.
8840 (timer-event-handler): Give more info in error message.
8841 (internal-timer-start-idle): New function, moved from C.
8842
8843 * mpc.el (mpc-proc): Add `restart' argument.
8844 (mpc-proc-cmd): Use it.
8845 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8846 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8847 less often.
8848
8849 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8850
8851 * progmodes/sh-script.el: Implement `sh-mode' own
8852 `add-log-current-defun-function' (bug#14112).
8853 (sh-current-defun-name): New function.
8854 (sh-mode): Use the function.
8855
8856 2013-04-09 Bastien Guerry <bzg@gnu.org>
8857
8858 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8859
8860 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8863
8864 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8865 timer (bug#14156).
8866
8867 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8868
8869 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8870 declaration.
8871
8872 2013-04-07 Leo Liu <sdl.web@gmail.com>
8873
8874 * pcmpl-x.el: New file.
8875
8876 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8877
8878 Do not set x-display-name until X connection is established.
8879 This is needed to prevent from weird situation described at
8880 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8881 * frame.el (make-frame): Set x-display-name after call to
8882 window system initialization function, not before.
8883 * term/x-win.el (x-initialize-window-system): Add optional
8884 display argument and use it.
8885 * term/w32-win.el (w32-initialize-window-system):
8886 * term/ns-win.el (ns-initialize-window-system):
8887 * term/pc-win.el (msdos-initialize-window-system):
8888 Add compatible optional display argument.
8889
8890 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8891
8892 * files.el (normal-backup-enable-predicate): On MS-Windows and
8893 MS-DOS compare truenames of temporary-file-directory and of the
8894 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8895 don't fail comparison by compare-strings. Also, compare file
8896 names case-insensitively on MS-Windows and MS-DOS.
8897
8898 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8901 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8902
8903 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8904
8905 * whitespace.el (whitespace-color-on, whitespace-color-off):
8906 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8907
8908 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8909
8910 * ispell.el (ispell-set-spellchecker-params):
8911 Really set `ispell-args' for all equivs.
8912
8913 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * ido.el (ido-completions): Use extra elements of ido-decorations
8916 (bug#14143).
8917 (ido-decorations): Update docstring.
8918
8919 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8920
8921 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8922 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8923 nil during initialization, in order not to miss changes since the
8924 file was opened. (Bug#14140)
8925
8926 2013-04-05 Leo Liu <sdl.web@gmail.com>
8927
8928 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8929
8930 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8931
8932 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8933
8934 2013-04-04 Glenn Morris <rgm@gnu.org>
8935
8936 * electric.el (electric-pair-inhibit-predicate): Add :version.
8937
8938 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8941 when a package is required several times (bug#14082).
8942
8943 2013-04-04 Roland Winkler <winkler@gnu.org>
8944
8945 * faces.el (read-face-name): Behave as promised by the docstring.
8946 Assume that arg default is a list of faces.
8947 (describe-face): Call read-face-name with list of default faces.
8948
8949 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8950
8951 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8952 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8953 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8954 the header.
8955 (bookmark-exit-hook-internal): Save even if list is empty.
8956
8957 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8958
8959 * emacs-lisp/package.el (package-pinned-packages): New var.
8960 (package--add-to-archive-contents): Obey it (bug#14118).
8961
8962 2013-04-03 Alan Mackenzie <acm@muc.de>
8963
8964 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8965 Also adapt to the new values of element 7 of a parse state.
8966
8967 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8968 parameter `not-in-delimiter'. Handle being inside comment opener.
8969 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8970 character in case we're typing a '*' after a '/'.
8971 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8972 instead by passing the parameter to c-state-pp-to-literal.
8973
8974 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8975 for elt. 7 of a parse state.
8976
8977 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8978
8979 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8980 * international/latin1-disp.el, international/mule-util.el:
8981 * language/cyril-util.el, language/european.el, language/ind-util.el:
8982 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8983 * language/tibetan.el, language/viet-util.el:
8984 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8985
8986 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8989 (electric-pair-post-self-insert-function): Use it.
8990 (electric-pair-default-inhibit): New function, extracted from
8991 electric-pair-post-self-insert-function.
8992
8993 2013-03-31 Roland Winkler <winkler@gnu.org>
8994
8995 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8996
8997 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9000
9001 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9002
9003 Un-indent after "pass" and "return" statements (Bug#13888)
9004 * progmodes/python.el (python-indent-block-enders): New var.
9005 (python-indent-calculate-indentation): Use it.
9006
9007 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9010 defun. Defining it as defalias could introduce too eager
9011 byte-compiler optimization. (Bug#14030)
9012
9013 2013-03-30 Chong Yidong <cyd@gnu.org>
9014
9015 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9016
9017 2013-03-30 Leo Liu <sdl.web@gmail.com>
9018
9019 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9020 (kmacro-execute-from-register): Pass the keyboard macro to
9021 kmacro-call-macro or repeating won't work correctly.
9022
9023 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9024
9025 * progmodes/subword.el: Back to using `forward-symbol'.
9026
9027 * subr.el (forward-whitespace, forward-symbol)
9028 (forward-same-syntax): Move from thingatpt.el.
9029
9030 2013-03-29 Leo Liu <sdl.web@gmail.com>
9031
9032 * kmacro.el (kmacro-to-register): New command.
9033 (kmacro-execute-from-register): New function.
9034 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9035
9036 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * mpc.el: Use defvar-local and setq-local.
9039 (mpc--proc-connect): Connection failures are not bugs.
9040 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9041 (mpc-volume-map): Bind to the up-events.
9042
9043 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9044
9045 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9046 instead of `forward-symbol'.
9047
9048 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9051 (edebug--recursive-edit): Use it.
9052 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9053 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9054
9055 2013-03-28 Leo Liu <sdl.web@gmail.com>
9056
9057 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9058
9059 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9060
9061 * facemenu.el (list-colors-callback): New defvar.
9062 (list-colors-redisplay): New function.
9063 (list-colors-display): Install list-colors-redisplay as the
9064 revert-buffer-function. (Bug#14063)
9065
9066 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9069 and suffixes don't overlap (bug#14061).
9070
9071 * case-table.el: Use lexical-binding.
9072 (case-table-get-table): New function.
9073 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9074
9075 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9076
9077 * progmodes/subword.el: Add `superword-mode' to do word motion
9078 over symbol_words (parallels and leverages `subword-mode' which
9079 does word motion inside MixedCaseWords).
9080
9081 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9082
9083 * eshell/em-unix.el: Move su and sudo to...
9084 * eshell/em-tramp.el: ...Eshell tramp module.
9085
9086 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9089 Change return value to be a sexp. Delay `get-buffer' to after
9090 restoring the desktop (bug#13951).
9091
9092 2013-03-26 Leo Liu <sdl.web@gmail.com>
9093
9094 * register.el: Move semantic tag handling back to
9095 cedet/semantic/senator.el. (Bug#14052)
9096
9097 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9100 into the prompt either (bug#13963).
9101
9102 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9105 part of "(error-foo)".
9106
9107 2013-03-24 Juri Linkov <juri@jurta.org>
9108
9109 * replace.el (list-matching-lines-prefix-face): New defcustom.
9110 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9111 `occur-engine' if `face-differs-from-default-p' returns t.
9112 (occur-engine): Add `,' inside backquote construct to evaluate
9113 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9114 Pass `prefix-face' to the functions `occur-context-lines' and
9115 `occur-engine-add-prefix'.
9116 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9117 `prefix-face' and propertize the prefix with `prefix-face'.
9118 (Bug#14017)
9119
9120 2013-03-24 Leo Liu <sdl.web@gmail.com>
9121
9122 * nxml/rng-valid.el (rng-validate-while-idle)
9123 (rng-validate-quick-while-idle): Guard against deleted buffer.
9124 (Bug#13999)
9125
9126 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9127 is the last entry in kill-buffer-hook.
9128
9129 * files.el (kill-buffer-hook): Doc fix.
9130
9131 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9132
9133 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9134 Make it safe-local.
9135
9136 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9137
9138 2013-03-23 Leo Liu <sdl.web@gmail.com>
9139
9140 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9141 Remove.
9142
9143 * nxml/rng-valid.el (rng-validate-mode)
9144 (rng-after-change-function, rng-do-some-validation):
9145 * nxml/rng-maint.el (rng-validate-buffer):
9146 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9147 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9148 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9149 (nxml-extend-after-change-region): Use with-silent-modifications.
9150
9151 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9152 timer-idle-list.
9153
9154 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9155 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9156 timer-idle-list. (Bug#13999)
9157
9158 2013-03-23 Juri Linkov <juri@jurta.org>
9159
9160 * info.el (info-index-match): New face.
9161 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9162 main pattern and add text properties with the new face to matches
9163 in index entries relative to the beginning of the index entry.
9164 (Bug#14015)
9165
9166 2013-03-21 Eric Ludlam <zappo@gnu.org>
9167
9168 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9169 Inhibit read only while inserting objects.
9170
9171 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9172
9173 * progmodes/cfengine.el: Update docs to mention
9174 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9175 symbol motion. Remove "_" from the word syntax.
9176
9177 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9178
9179 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9180 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9181
9182 2013-03-20 Juri Linkov <juri@jurta.org>
9183
9184 * info.el (Info-next-reference-or-link)
9185 (Info-prev-reference-or-link): New functions.
9186 (Info-next-reference, Info-prev-reference): Use them.
9187 (Info-try-follow-nearest-node): Handle footnote navigation.
9188 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9189
9190 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9193 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9194
9195 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9196
9197 Suppress unnecessary non-ASCII chatter during build process.
9198 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9199 (batch-skkdic-convert): Suppress most of the chatter.
9200 It's not needed so much now that machines are faster,
9201 and its non-ASCII component was confusing; see Dmitry Gutov in
9202 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9203
9204 2013-03-20 Leo Liu <sdl.web@gmail.com>
9205
9206 * ido.el (ido-chop): Fix bug#10994.
9207
9208 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9209
9210 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9211 Remove vars.
9212 (whitespace-color-on, whitespace-color-off):
9213 Use `font-lock-fontify-buffer' (Bug#13817).
9214
9215 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9218 remapping in mode-line.
9219 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9220
9221 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9222
9223 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9224 value for `whitespace-line' face (Bug#13875).
9225 (whitespace-font-lock-keywords): Change description.
9226 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9227 the constructed keywords instead.
9228 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9229
9230 2013-03-19 Leo Liu <sdl.web@gmail.com>
9231
9232 * progmodes/compile.el (compilation-display-error): New command.
9233 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9234 C-o. (Bug#13992)
9235
9236 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9237
9238 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9239
9240 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9241
9242 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9243
9244 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9245
9246 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9247
9248 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9249 * net/tramp-gvfs.el (top):
9250 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9251 (tramp-handle-shell-command): Use it.
9252 (tramp-dissect-file-name): Raise an error when hostname is a
9253 method name, and neither method nor user is specified.
9254
9255 * net/trampver.el: Update release number.
9256
9257 2013-03-18 Leo Liu <sdl.web@gmail.com>
9258
9259 Make sure eldoc can be turned off properly.
9260 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9261 eldoc-mode.
9262 (eldoc-display-message-p): Revert last change.
9263 (eldoc-display-message-no-interference-p)
9264 (eldoc-print-current-symbol-info): Tweak.
9265
9266 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9267
9268 * doc-view.el (doc-view-new-window-function): Check the new window
9269 overlay's display property instead the char property of the
9270 buffer's first char. Use `with-selected-window' instead of
9271 `save-window-excursion' with `select-window'.
9272 (doc-view-document->bitmap): Check the current doc-view overlay's
9273 display property instead the char property of the buffer's first char.
9274
9275 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9276
9277 Automate the build of ja-dic.el (Bug#13984).
9278 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9279 from the input, rather than assume that it's been done for us by the
9280 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9281 the current date into a ja-dic.el comment, as that complicates
9282 regression testing.
9283
9284 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * whitespace.el: Fix double evaluation.
9287 (whitespace-space, whitespace-hspace, whitespace-tab)
9288 (whitespace-newline, whitespace-trailing, whitespace-line)
9289 (whitespace-space-before-tab, whitespace-indentation)
9290 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9291 obsolete defvars.
9292 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9293 (whitespace-color-on): Use a single font-lock-add-keywords call.
9294 Fix double-evaluation of face variables.
9295
9296 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9297
9298 * net/tramp-adb.el (tramp-adb-parse-device-names):
9299 Use `start-process' instead of `call-process'. Otherwise, the
9300 function might be blocked under MS Windows. (Bug#13299)
9301
9302 2013-03-17 Leo Liu <sdl.web@gmail.com>
9303
9304 Extend eldoc to display info in the mode-line. (Bug#13978)
9305 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9306 (eldoc-mode-line-string): New variable.
9307 (eldoc-minibuffer-message): New function.
9308 (eldoc-message-function): New variable.
9309 (eldoc-message): Use it.
9310 (eldoc-display-message-p)
9311 (eldoc-display-message-no-interference-p):
9312 Support eldoc-post-insert-mode.
9313
9314 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9315 (eval-expression): Run it.
9316
9317 2013-03-17 Roland Winkler <winkler@gnu.org>
9318
9319 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9320 strings in the list of return values.
9321
9322 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9323
9324 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9325 radix before checking for HMS forms.
9326
9327 2013-03-16 Leo Liu <sdl.web@gmail.com>
9328
9329 * progmodes/scheme.el: Add indentation and font-locking for λ.
9330 (Bug#13975)
9331
9332 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9335 token before point (bug#13942).
9336
9337 2013-03-16 Leo Liu <sdl.web@gmail.com>
9338
9339 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9340
9341 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9342
9343 * startup.el (command-line-normalize-file-name): Fix handling of
9344 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9345 <xfq.free@gmail.com> in
9346 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9347
9348 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9349
9350 Sync with Tramp 2.2.7.
9351
9352 * net/trampver.el: Update release number.
9353
9354 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9355
9356 * doc-view.el: Fix bug#13887.
9357 (doc-view-insert-image): Don't modify overlay associated to
9358 non-live windows, and implement horizontal centering of image in
9359 case it's smaller than the window.
9360 (doc-view-new-window-function): Force redisplay of new windows on
9361 doc-view buffers.
9362
9363 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9364
9365 * saveplace.el (save-place-alist-to-file): Don't sort
9366 `save-place-alist', just pretty-print it (bug#13882).
9367
9368 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9369
9370 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9371 Check whether `default-file-name-coding-system' is bound.
9372 It isn't in XEmacs.
9373
9374 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9377 backquotes for `obsolete' (bug#13929).
9378
9379 * international/mule.el (find-auto-coding): Include file name in
9380 obsolescence warning (bug#13922).
9381
9382 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9383
9384 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9385 for CFEngine 3-specific indentation.
9386 (cfengine3-indent-line): Use it. Fix up category regex.
9387 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9388
9389 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * type-break.el (type-break-file-name):
9392 * textmodes/remember.el (remember-data-file):
9393 * strokes.el (strokes-file):
9394 * shadowfile.el (shadow-initialize):
9395 * saveplace.el (save-place-file):
9396 * ps-bdf.el (bdf-cache-file):
9397 * progmodes/idlwave.el (idlwave-config-directory):
9398 * net/quickurl.el (quickurl-url-file):
9399 * international/kkc.el (kkc-init-file-name):
9400 * ido.el (ido-save-directory-list-file):
9401 * emulation/viper.el (viper-custom-file-name):
9402 * emulation/vip.el (vip-startup-file):
9403 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9404 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9405
9406 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9407
9408 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9409 * language/thai-word.el: Switch to UTF-8.
9410
9411 See ChangeLog.16 for earlier changes.
9412
9413 ;; Local Variables:
9414 ;; coding: utf-8
9415 ;; End:
9416
9417 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9418
9419 This file is part of GNU Emacs.
9420
9421 GNU Emacs is free software: you can redistribute it and/or modify
9422 it under the terms of the GNU General Public License as published by
9423 the Free Software Foundation, either version 3 of the License, or
9424 (at your option) any later version.
9425
9426 GNU Emacs is distributed in the hope that it will be useful,
9427 but WITHOUT ANY WARRANTY; without even the implied warranty of
9428 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9429 GNU General Public License for more details.
9430
9431 You should have received a copy of the GNU General Public License
9432 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.