]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* emacs-lisp/package.el (describe-package-1): Add package archive.
[gnu-emacs] / lisp / ChangeLog
1 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * emacs-lisp/package.el (describe-package-1): Add package archive
4 to shown fields.
5
6 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7
8 * ses.el (ses-mode): Doc fix. (Bug#14748)
9
10 2013-11-20 Leo Liu <sdl.web@gmail.com>
11
12 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
13
14 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15
16 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
17 when rebase or bisect are in progress.
18
19 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
20
21 * filenotify.el (file-notify-add-watch): Doc fix.
22
23 2013-11-19 Leo Liu <sdl.web@gmail.com>
24
25 * obsolete/rcompile.el: Mark obsolete.
26
27 * progmodes/compile.el (compilation-start)
28 (compilation-goto-locus, compilation-find-file): Pass
29 no-display-ok and handle nil value from display-buffer.
30 (Bug#13594)
31
32 * window.el (display-buffer-alist, display-buffer): Document the
33 new parameter no-display-ok.
34
35 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * electric.el (electric-indent-mode-map): Remove.
38 (electric-indent-mode): Change the global-map instead (bug#15915).
39
40 * textmodes/text-mode.el (paragraph-indent-minor-mode):
41 Use add-function.
42
43 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * emacs-lisp/nadvice.el (remove-function): Align with
46 add-function's behavior.
47
48 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
49 (gdb--string-regexp): New constant.
50 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
51 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
52 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
53 submatch 1.
54 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
55 Adjust use accordingly.
56 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
57
58 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
59
60 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
61 interpolation curlies (Bug#15914).
62
63 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
64
65 * calc/calc.el (calc-context-sensitive-enter): New variable.
66 (calc-enter): Use `calc-context-sensitive-enter'.
67
68 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
69
70 * progmodes/cfengine.el: Version bump.
71 (cfengine-cf-promises): New defcustom to locate cf-promises.
72 (cfengine3-vartypes): Add new "data" type.
73 (cfengine3--current-word): New function to get current name-like
74 word or its bounds.
75 (cfengine3--current-function): New function to look up a CFEngine
76 function's definition.
77 (cfengine3-format-function-docstring): New function.
78 (cfengine3-make-syntax-cache): New function.
79 (cfengine3-documentation-function): New function: ElDoc glue.
80 (cfengine3-completion-function): New function: completion glue.
81 (cfengine3-mode): Set `compile-command',
82 `eldoc-documentation-function', and add to
83 `completion-at-point-functions'.
84
85 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
86
87 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
88 `tramp-current-connection'.
89
90 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
91
92 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
93 nil/self/true/false with "end of symbol".
94
95 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
96
97 * subr.el (version-regexp-alist): Fix a typo.
98
99 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
100
101 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
102 "en_US.utf8" and "LC_CTYPE" to "".
103 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
104 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
105
106 2013-11-15 Leo Liu <sdl.web@gmail.com>
107
108 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
109
110 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * progmodes/gud.el (ctl-x-map):
113 Remove C-x SPC binding. (Bug#12342)
114 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
115
116 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
117
118 * subr.el (version-regexp-alist):
119 Recognize hg, svn and darcs versions as snapshot versions.
120
121 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
122 Add the ability to always insert an utf-8 encoding comment.
123 Fix and simplify coding comment update logic.
124
125 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
126
127 * net/tramp-gvfs.el (top): Run init code only when
128 `tramp-gvfs-enabled' is not nil.
129 (tramp-gvfs-enabled): Check also :system bus.
130
131 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 Sync with upstream verilog-mode revision 78e66ba.
134 * progmodes/verilog-mode.el (verilog-end-of-defun)
135 (verilog-type-completion, verilog-get-list): Remove unused funcs.
136 (verilog-get-end-of-defun): Remove unused argument.
137 (verilog-comment-depth): Remove unused local `e'.
138 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
139 Don't pass arg to verilog-get-end-of-defun.
140
141 2013-11-14 Glenn Morris <rgm@gnu.org>
142
143 * obsolete/assoc.el (aget): Prefix dynamic variable.
144
145 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
146
147 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * widget.el, hfy-cmap.el: Remove bogus package version number.
150
151 2013-11-13 Glenn Morris <rgm@gnu.org>
152
153 * replace.el (replace-eval-replacement):
154 Try to give more helpful error message. (Bug#15836)
155
156 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
157 (archive-7z-update): Avoid custom type mismatches.
158
159 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
160
161 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
162
163 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
164 address can be empty.
165
166 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
167 Accept nil SWITCHES.
168 (tramp-gvfs-handle-write-region): Implement APPEND.
169
170 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
171
172 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
173 binary "|" operator and closing block args delimiter.
174 Remove FIXME comment referring to Ruby 1.8-only syntax.
175 (ruby-smie--implicit-semi-p): Not after "|" operator.
176 (ruby-smie--closing-pipe-p): New function.
177 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
178 (ruby-smie-rules): Indent after "|".
179
180 2013-11-12 Glenn Morris <rgm@gnu.org>
181
182 * ps-print.el (ps-face-attribute-list):
183 Handle anonymous faces. (Bug#15827)
184
185 2013-11-12 Martin Rudalics <rudalics@gmx.at>
186
187 * window.el (display-buffer-other-frame): Fix doc-string.
188 (Bug#15868)
189
190 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * subr.el (force-mode-line-update): Delete, move to buffer.c.
193
194 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
195
196 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
197 (tramp-sh-handle-file-local-copy): Don't write a message when
198 saving temporary files.
199
200 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
201 both directories are remote.
202 (tramp-smb-handle-directory-files): Do not return double entries.
203 Do not expand full file names.
204 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
205 (tramp-smb-handle-write-region): Implement APPEND.
206 (tramp-smb-get-stat-capability): Fix a stupid bug.
207
208 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
211
212 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
213
214 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
215 throwing error over malformed let/let* (bug#15814).
216
217 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * iswitchb.el (iswitchb-mode): Mark obsolete.
220
221 2013-11-11 Glenn Morris <rgm@gnu.org>
222
223 * international/uni-bidi.el, international/uni-category.el:
224 * international/uni-name.el, international/uni-numeric.el:
225 Regenerate for Unicode 6.3.0.
226
227 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
228
229 * net/tramp.el (tramp-methods):
230 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
231 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
232
233 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
234
235 * progmodes/sh-script.el (sh-font-lock-keywords-var):
236 Force highlighting text after Summary keyword in doc face for rpm.
237
238 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
239
240 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
241 available and the word has no wildcards, append one to the grep pattern.
242 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
243 (ispell-complete-word): Call `ispell-lookup-words' with the value
244 independent of `ispell-look-p'.
245
246 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
247
248 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
249 Not after "||".
250 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
251 their parent.
252
253 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
256 (ruby-font-lock-keywords): Use backquote.
257
258 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
259
260 * progmodes/ruby-mode.el (ruby-smie--forward-token)
261 (ruby-smie--backward-token): Only consider full-string matches.
262
263 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
264
265 * faces.el (describe-face): Add distant-foreground.
266
267 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
268
269 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
270 Use `ruby-encoding-magic-comment-style' to control the
271 style of the auto-inserted encoding comment.
272
273 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
274
275 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
276 Use `smie-backward-sexp' with token argument.
277
278 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
279
280 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
281 Remove instrumentation code.
282
283 2013-11-08 Glenn Morris <rgm@gnu.org>
284
285 * progmodes/autoconf.el (autoconf-mode):
286 Tweak comment-start-skip. (Bug#15822)
287
288 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
291 at bobp (bug#15826).
292 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
293
294 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
295
296 * man.el (Man-start-calling): New macro, extracted from
297 Man-getpage-in-background.
298 (Man-getpage-in-background): Use it.
299 (Man-update-manpage): New command.
300 (Man-mode-map): Bind it.
301
302 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
303
304 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
305 of "and", "or", "&&" and "||".
306 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
307 argument. Prohibit opening curly brace because it could only be a
308 block opener in that position.
309 (ruby-smie--forward-token, ruby-smie--backward-token):
310 Separate "|" from "&" or "*" going after it. That can happen in block
311 arguments.
312 (ruby-smie--indent-to-stmt): New function, seeks the end of
313 previous statement or beginning of buffer.
314 (ruby-smie-rules): Use it.
315 (ruby-smie-rules): Check if there's a ":" before a curly block
316 opener candidate; if there is, it's a hash.
317
318 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
321 (cl--block-wrapper): Fix last accidental change.
322
323 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
324
325 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
326 Instrument, in order to hunt failure on hydra.
327
328 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
329
330 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
331 malformed bindings form (bug#15814).
332
333 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
334
335 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
336 "." compared to " @ ". This incidentally fixes some indentation
337 examples with "do".
338 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
339 (ruby-smie-grammar): New tokens: "and" and "or".
340 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
341 Exclude "and" and "or". Remove "do" in order to work around token
342 priorities.
343 (ruby-smie-rules): Add all infix tokens. Handle the case of
344 beginning-of-buffer.
345
346 2013-11-06 Glenn Morris <rgm@gnu.org>
347
348 * Makefile.in (setwins_almost, setwins_for_subdirs):
349 Avoid accidental matches.
350
351 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * menu-bar.el (popup-menu): Use key-binding.
354
355 2013-11-06 Eli Zaretskii <eliz@gnu.org>
356
357 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
358 menus, support also the menus produced by minor modes.
359 (Bug#15817)
360
361 2013-11-06 Leo Liu <sdl.web@gmail.com>
362
363 * thingatpt.el (thing-at-point-looking-at): Add optional arg
364 DISTANCE to bound the search. All uses changed. (Bug#15808)
365
366 2013-11-06 Glenn Morris <rgm@gnu.org>
367
368 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
369 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
370 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
371
372 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * electric.el (electric-indent-just-newline): New command.
375 (electric-indent-mode-map): New keymap.
376 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
377 Re-add :group which weren't redundant.
378
379 * electric.el (electric-indent-local-mode): New minor mode.
380 (electric-indent-functions-without-reindent): New var.
381 (electric-indent-post-self-insert-function): Use it.
382 * emacs-lisp/gv.el (buffer-local-value): Add setter.
383
384 2013-11-05 Eli Zaretskii <eliz@gnu.org>
385
386 * international/quail.el (quail-help): Be more explicit about the
387 meaning of the labels shown on the keys. (Bug#15800)
388
389 * startup.el (normal-top-level): Load the subdirs.el files before
390 setting the locale environment. (Bug#15805)
391
392 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
395 via arguments so as to get the right ones (bug#15418).
396
397 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
398
399 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
400
401 Fix problems found while writing a test suite.
402
403 * net/tramp-compat.el (tramp-compat-load): New defun.
404 * net/tramp.el (tramp-handle-load): Use it.
405
406 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
407 "(numberp ok-if-already-exists)" correctly.
408
409 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
410
411 * international/characters.el (glyphless-char-display-control):
412 Add usage note.
413
414 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
415
416 * progmodes/python.el (python-mode):
417 * progmodes/scheme.el (scheme-mode):
418 * progmodes/prolog.el (prolog-mode):
419 * progmodes/ruby-mode.el (ruby-mode):
420 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
421 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
422
423 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * rect.el (rectangle--highlight-for-redisplay):
426 * emacs-lisp/smie.el (smie--next-indent-change):
427 Use buffer-chars-modified-tick.
428
429 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
430
431 * electric.el (electric-indent-post-self-insert-function):
432 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
433
434 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
435
436 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
437
438 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
439
440 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
441 (bug#15786).
442
443 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
446
447 * progmodes/python.el: Fix up last change.
448 (python-shell--save-temp-file): New function.
449 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
450 `string' comes from the current buffer.
451 (python-shell-send-string-no-output): Remove `msg' arg.
452 (python--use-fake-loc): New var.
453 (python-shell-buffer-substring): Obey it. Try to compensate for the
454 extra coding line added by python-shell--save-temp-file.
455 (python-shell-send-region): Use python-shell--save-temp-file and
456 python-shell-send-file directly. Add `nomain' argument.
457 (python-shell-send-buffer): Use python-shell-send-region.
458 (python-electric-pair-string-delimiter): New function.
459 (python-mode): Use it.
460
461 2013-11-04 Eli Zaretskii <eliz@gnu.org>
462
463 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
464 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
465 environment and decoding all of the default-directory's to here
466 from command-line.
467 (command-line): Decode also argv[0].
468
469 * loadup.el: Error out if default-directory is a multibyte string
470 when we are dumping.
471
472 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
473
474 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
475
476 * emacs-lisp/package.el (package-menu-mode)
477 (package-menu--print-info, package-menu--archive-predicate):
478 Add Archive column to package list.
479
480 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
481
482 Fix problems found while writing a test suite.
483
484 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
485 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
486 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
487 to nil when running original file name handler. Otherwise,
488 there are problems with constructs like "$$FOO".
489
490 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
491 for `localname'.
492
493 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
494
495 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
496
497 * subr.el (version<, version<=, version=):
498 Update docstrings with information for snapshot versions.
499
500 * helpers.el: New library for misc helper functions.
501 (hash-table-keys): New function returning a list of hash keys.
502 (hash-table-values): New function returning a list of hash values.
503
504 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
505
506 * progmodes/ruby-mode.el (ruby-smie--forward-token)
507 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
508
509 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
510
511 * textmodes/fill.el (fill-single-char-nobreak-p): New function
512 checking whether point is after a 1-letter word.
513
514 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
515
516 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
517 Don't infloop when expanding region over `multiline' syntax-type that
518 begins a line (bug#15778).
519
520 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
523 Make it into a proper minor mode.
524 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
525 (rectangle-mark-mode-map): New keymap.
526 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
527
528 2013-11-04 Glenn Morris <rgm@gnu.org>
529
530 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
531
532 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
535 (ruby-smie-rules): Use smie-rule-parent instead.
536
537 * emacs-lisp/smie.el (smie-rule-parent): Always call
538 smie-indent-virtual rather than only for hanging tokens.
539 (smie--next-indent-change): New helper command.
540
541 2013-11-03 Glenn Morris <rgm@gnu.org>
542
543 * Makefile.in (abs_srcdir): Remove.
544 (emacs): Unset EMACSLOADPATH.
545
546 2013-11-02 Glenn Morris <rgm@gnu.org>
547
548 * Makefile.in (EMACS): Use a relative filename.
549 (abs_top_builddir): Remove.
550 (custom-deps, finder-data, autoloads): Use --chdir.
551
552 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
553
554 Use relative filenames in TAGS files.
555 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
556 (lisptagsfiles4, TAGS): Use relative file names.
557 (TAGS-LISP): Remove.
558 (maintainer-clean): No more TAGS-LISP file.
559
560 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
561 (lisptagsfiles4): Use absolute filenames again.
562 (TAGS, TAGS-LISP): Not everything needs to run in one line.
563 Remove all *loaddefs files, not just the first. Remove esh-groups.
564 (maintainer-clean): Delete TAGS, TAGS-LISP.
565
566 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
567
568 * emacs-lisp/package.el (package-version-join):
569 Recognize snapshot versions.
570
571 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
572
573 * subr.el (version-regexp-alist): Add support for snapshot versions.
574
575 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
576
577 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
578 New function, replacement for `smie-rule-parent' for when we want to
579 skip over our direct parent if it's an assignment token..
580 (ruby-smie-rules): Use it.
581
582 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
583
584 * progmodes/ruby-mode.el Use `syntax-propertize-function'
585 unconditionally. Remove now unnecessary forward declarations.
586 Remove XEmacs-specific setup.
587 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
588 (ruby-font-lock-syntactic-keywords)
589 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
590 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
591 (ruby-here-doc-end-syntax): Remove.
592 (ruby-mode): Don't check whether `syntax-propertize-rules' is
593 defined as function.
594
595 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
596
597 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
598
599 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
600
601 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
602 table and abbrev table, `define-derived-mode' does that for us
603 anyway.
604
605 2013-11-01 Glenn Morris <rgm@gnu.org>
606
607 * Makefile.in: Remove manual mh-e dependencies (writing .elc
608 files is atomic for some time, so no parallel compilation issues).
609
610 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
611
612 * faces.el (face-x-resources): Add :distant-foreground.
613 (region): Use :distant-foreground for gtk and ns.
614
615 2013-11-01 Tassilo Horn <tsdh@gnu.org>
616
617 Allow multiple bibliographies when BibLaTeX is used rather than
618 BibTeX.
619 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
620 (reftex-locate-bibliography-files): Us it.
621
622 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
623
624 * image.el (image-type-header-regexps): Fix the 'pbm' part to
625 allow comments in pbm files.
626
627 * term/w32-win.el (dynamic-library-alist): Support newer versions
628 of libjpeg starting with v7: look only for the DLL from the
629 version against which Emacs was built.
630 Support versions of libpng beyond 1.4.x.
631 Support libtiff v4.x.
632
633 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
634
635 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
636 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
637 Add property :safe.
638 (ruby-deep-arglist): Add property :type.
639
640 2013-10-31 Glenn Morris <rgm@gnu.org>
641
642 * Makefile.in (custom-deps, finder-data): No need to setq the target
643 variables, we are in the right directory and the defaults work fine.
644
645 2013-10-30 Glenn Morris <rgm@gnu.org>
646
647 * Makefile.in (autoloads): Do not use abs_lisp.
648
649 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
650 `newline' does not respect `standard-output', so use `princ'.
651
652 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
653
654 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
655 * buff-menu.el (Buffer-menu--unmark): New function.
656 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
657
658 2013-10-30 Glenn Morris <rgm@gnu.org>
659
660 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
661
662 * emacs-lisp/package.el (lm-homepage): Declare.
663
664 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
665 Fix doc typos.
666
667 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
668
669 * Makefile.in (finder-data, autoloads, update-subdirs)
670 (compile-main, compile-clean, compile-always, bootstrap-clean):
671 Check return value of cd.
672 (compile-calc): Remove.
673
674 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
677
678 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
679 (byte-compile-and-folded): New function.
680 (=, <, >, <=, >=): Use it.
681
682 * dos-w32.el (minibuffer-history-case-insensitive-variables)
683 (path-separator, null-device, buffer-file-coding-system)
684 (lpr-headers-switches): Check system-type before modifying them.
685 (find-buffer-file-type-coding-system): Mark obsolete.
686 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
687 find-file-not-found-set-buffer-file-coding-system.
688 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
689 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
690 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
691 (w32-direct-print-region-helper, w32-direct-print-region-function)
692 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
693 * startup.el (normal-top-level-add-subdirs-to-load-path):
694 * ps-print.el (ps-print-region-function):
695 * lpr.el (print-region-function): Use new name.
696
697 * subr.el (custom-declare-variable-early): Remove function.
698 (custom-declare-variable-list): Remove var.
699 (error, user-error): Remove `while' loop.
700 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
701 (user-emacs-directory-warning, locate-user-emacs-file):
702 Move to files.el.
703 * simple.el (read-quoted-char-radix, read-quoted-char):
704 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
705 Move from subr.el.
706 * custom.el (custom-declare-variable-list): Don't process
707 custom-declare-variable-list.
708
709 * progmodes/python.el (python-shell-get-buffer): New function.
710 (python-shell-get-process): Use it.
711 (python-shell-send-string): Always use utf-8 and add a cookie to tell
712 Python which encoding was used. Don't split-string since we only care
713 about the first line. Return the temp-file, if applicable.
714 (python-shell-send-region): Tell compile.el how to turn locations in
715 the temp-file into locations in the source buffer.
716
717 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * subr.el (undefined): Add missing behavior from the C code for
720 unbound keys.
721
722 * rect.el: Use lexical-binding. Add new rectangular region support.
723 (rectangle-mark): New command.
724 (rectangle--region): New var.
725 (deactivate-mark-hook): Reset rectangle--region.
726 (rectangle--extract-region, rectangle--insert-for-yank)
727 (rectangle--highlight-for-redisplay)
728 (rectangle--unhighlight-for-redisplay): New functions.
729 (region-extract-function, redisplay-unhighlight-region-function)
730 (redisplay-highlight-region-function): Use them to handle
731 rectangular region.
732 * simple.el (region-extract-function): New var.
733 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
734 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
735 (kill-region): Replace obsolete `yank-handler' arg with `region'.
736 (copy-region-as-kill, kill-ring-save): Add `region' argument.
737 (redisplay-unhighlight-region-function)
738 (redisplay-highlight-region-function): New vars.
739 (redisplay--update-region-highlight): New function.
740 (pre-redisplay-function): Use it.
741 (exchange-point-and-mark): Don't deactivate the mark before
742 reactivate-it anyway.
743 * comint.el (comint-kill-region): Remove yank-handler argument.
744 * delsel.el (delete-backward-char, backward-delete-char-untabify)
745 (delete-char): Remove property, since it's now part of their
746 default behavior.
747 (self-insert-iso): Remove property since this command doesn't exist.
748
749 * emacs-lisp/package.el (package--download-one-archive)
750 (describe-package-1): Don't query the user about final newline.
751
752 2013-10-29 Daniel Colascione <dancol@dancol.org>
753
754 * net/tramp.el (tramp-methods): Document new functionality.
755 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
756 tramp-hostname-checker if method provides one instead of scanning
757 argument list for "%h" to decide hostname acceptability.
758
759 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
760
761 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
762 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
763 Handle COPY-CONTENTS. (Bug#15737)
764
765 2013-10-28 Daiki Ueno <ueno@gnu.org>
766
767 * epa-file.el
768 (epa-file-cache-passphrase-for-symmetric-encryption):
769 Document that this option has no effect with GnuPG 2.0 (bug#15552).
770
771 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
772
773 * image.el (defimage):
774 (image-load-path): Doc fixes.
775
776 2013-10-27 Alan Mackenzie <acm@muc.de>
777
778 Indent statements in macros following "##" correctly.
779 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
780 Modify the "#" arm of a cond form to handle "#" and "##" operators.
781
782 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
783
784 * linum.el (linum-update-window): Fix boundary test (bug#13446).
785
786 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
787
788 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
789 after `=' is probably a new expression.
790
791 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
792
793 * man.el (man-imenu-title): New option.
794 (Man-mode-map): Add menu. (Bug#15722)
795 (Man-mode): Add imenu to menu.
796
797 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
798
799 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
800 specific in what the first arg can be: a non-keyword word,
801 string/regexp/percent literal opener, opening paren, or unary
802 operator followed directly by word.
803
804 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
807 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
808 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
809 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
810 Remove vars, they do not apply any more.
811 (prolog-mode-abbrev-table): Remove redundant declaration.
812 (prolog-upper-case-string, prolog-lower-case-string): Remove.
813 (prolog-use-smie): Remove.
814 (prolog-smie-rules): Add indentation rule for the if-then-else layout
815 supported by prolog-electric-if-then-else-flag.
816 (prolog-mode-variables, prolog-menu): Use setq-local.
817 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
818 Remove binding to `Backspace' since this key doesn't exist anyway.
819 Remove bindings for electric self-inserting keys.
820 (prog-mode): Assume it's defined.
821 (prolog-post-self-insert): New function.
822 (prolog-mode): Use it.
823 (prolog-indent-line, prolog-indent-level)
824 (prolog-find-indent-of-matching-paren)
825 (prolog-indentation-level-of-line, prolog-goto-comment-column)
826 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
827 (prolog-goto-next-paren, prolog-in-string-or-comment)
828 (prolog-tokenize, prolog-inside-mline-comment)
829 (prolog-find-start-of-mline-comment): Remove functions.
830 (prolog-find-unmatched-paren, prolog-clause-end)
831 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
832 (prolog-electric--if-then-else): Rename from
833 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
834 (prolog-tokenize-searchkey): Remove const.
835 (prolog-clause-info): Use forward-sexp.
836 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
837 (prolog-electric-if-then-else): Remove commands.
838 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
839 for use in post-self-insert-hook.
840 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
841 for use in post-self-insert-hook.
842 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
843 for use in post-self-insert-hook.
844 (prolog-electric--underscore): Rename from prolog-electric--underscore;
845 adapt it for use in post-self-insert-hook.
846
847 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
848
849 * emacs-lisp/ert.el (ert-run-tests-interactively):
850 Use `completing-read'. (Bug#9756)
851
852 2013-10-25 Eli Zaretskii <eliz@gnu.org>
853
854 * simple.el (line-move): Call line-move-1 instead of
855 line-move-visual when the current window hscroll is zero, but
856 temporary-goal-column indicates we will need to hscroll as result
857 of the movement. (Bug#15712)
858
859 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
860
861 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
862 capitalization. Use :visible instead of :active.
863 Fix `ruby-indent-exp' reference. Add menu items for the generic
864 commands that are used with SMIE.
865 (ruby-do-end-to-brace): Insert space after `{'.
866
867 2013-10-25 John Anthony <john@jo.hnanthony.com>
868
869 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
870
871 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
872
873 2013-10-25 Glenn Morris <rgm@gnu.org>
874
875 * vc/vc.el (vc-print-log): Don't use a working revision unless
876 one was explicitly specified. (Bug#15322)
877
878 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * subr.el (add-to-list): Preserve return value in compiler-macro
881 (bug#15692).
882
883 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
884
885 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
886 result. Ask user to retry using '-all' flag. (Bug#15701)
887
888 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * emacs-lisp/smie.el: New smie-config system.
891 (smie-config): New defcustom.
892 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
893 (smie-config-guess, smie-config-save): New commands.
894 (smie-config--mode-local, smie-config--buffer-local)
895 (smie-config--trace, smie-config--modefuns): New vars.
896 (smie-config--advice, smie-config--mode-hook)
897 (smie-config--setter, smie-config-local, smie-config--get-trace)
898 (smie-config--guess-value, smie-config--guess): New functions.
899 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
900 text properties. Treat "string fence" syntax like string syntax.
901
902 * progmodes/sh-script.el (sh-use-smie): Change default.
903 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
904 (sh-var-value): Simplify by CSE.
905 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
906 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
907 is used.
908 (sh-guess-basic-offset): Use cl-incf.
909 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
910
911 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
912
913 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
914 (bug#15699).
915
916 2013-10-24 Glenn Morris <rgm@gnu.org>
917
918 * Makefile.in (abs_top_srcdir): Remove.
919 (update-subdirs): Use relative path to update-subdirs.
920
921 2013-10-24 Eli Zaretskii <eliz@gnu.org>
922
923 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
924 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
925 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
926 Call unmsys--file-name before expand-file-name, not after it.
927
928 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
929
930 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
931 (ert-test-skipped): New error.
932 (ert-skip, ert-stats-skipped): New defuns.
933 (ert--skip-unless): New macro.
934 (ert-test-skipped): New struct.
935 (ert--run-test-debugger, ert-test-result-type-p)
936 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
937 (ert--stats-set-test-and-result, ert-char-for-test-result)
938 (ert-string-for-test-result, ert-run-tests-batch)
939 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
940 Handle skipped tests. (Bug#9803)
941
942 2013-10-24 Glenn Morris <rgm@gnu.org>
943
944 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
945
946 * Makefile.in (abs_top_srcdir): New, set by configure.
947 (update-subdirs): Correct build-aux location.
948
949 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
950
951 * vc/vc.el (vc-print-root-log): Always set `default-directory'
952 value, whether we could auto-deduce `backend', or not.
953
954 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
955 with parameters" example. Simplify the "is it block or is it
956 hash" check, but also make it more thorough.
957
958 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
959
960 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
961
962 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
965 { if it is hanging.
966
967 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
968 :before ";".
969
970 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
971
972 * progmodes/compile.el (compilation-directory-matcher)
973 (compilation-page-delimiter):
974 Support GNU Make-4.0 directory quoting. (Bug#15678)
975
976 2013-10-23 Leo Liu <sdl.web@gmail.com>
977
978 * ido.el (ido-tidy): Handle read-only text.
979
980 2013-10-23 Glenn Morris <rgm@gnu.org>
981
982 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
983 (emacs, compile, compile-always):
984 Quote entities that might contain whitespace.
985 (custom-deps, finder-data, autoloads): Use abs_lisp.
986 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
987 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
988 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
989
990 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
991
992 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
993 Use `following-char'.
994
995 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
998 * progmodes/ruby-mode.el (ruby-smie-rules):
999 Remove corresponding workaround. Fix indentation rule of ";" so it
1000 also applies when ";" is the parent.
1001
1002 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1003
1004 * frame.el (display-screens, display-pixel-height)
1005 (display-pixel-width, display-mm-width, display-backing-store)
1006 (display-save-under, display-planes, display-color-cells)
1007 (display-visual-class, display-monitor-attributes-list):
1008 Mention the optional ‘display’ argument in doc strings.
1009
1010 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1011
1012 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1013 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1014
1015 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1016
1017 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1018 TODO. Add "." after " @ ".
1019 (ruby-smie--at-dot-call): New function. Checks if point at method
1020 call with explicit target.
1021 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1022 to the method name tokens when it precedes them.
1023 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1024 (ruby-smie-rules): Add rule for indentation before and after "."
1025 token.
1026
1027 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * textmodes/remember.el (remember-diary-extract-entries):
1030 Avoid add-to-list.
1031
1032 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1033 an instruction.
1034
1035 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1036
1037 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1038 (ruby-smie--implicit-semi-p): Add new operator chars.
1039
1040 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1041 `smie-down-list'.
1042 (ruby-smie--args-separator-p): Check that there's no newline
1043 between method call and its arguments.
1044
1045 2013-10-20 Alan Mackenzie <acm@muc.de>
1046
1047 Allow comma separated lists after Java "implements".
1048
1049 * progmodes/cc-engine.el (c-backward-over-enum-header):
1050 Parse commas.
1051 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1052 from a "disallowed" list in enum fontification.
1053
1054 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1055
1056 * startup.el (default-frame-background-mode): Remove unused defvar.
1057
1058 * progmodes/verilog-mode.el (verilog-mode): Don't set
1059 comment-indent-function globally.
1060
1061 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1062
1063 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1064 Move Info menu item creation to ns-win.el.
1065
1066 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1067 in menu bar.
1068
1069 * menu-bar.el: Move GNUStep specific menus...
1070
1071 * term/ns-win.el (ns-initialize-window-system): ... to here.
1072
1073 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * simple.el (newline): Only run post-self-insert-hook when
1076 called interactively.
1077
1078 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1079
1080 * icomplete.el (icomplete-with-completion-tables): Add :version.
1081
1082 2013-10-19 Alan Mackenzie <acm@muc.de>
1083
1084 Fix fontification bugs with constructors and const.
1085
1086 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1087 CASE 2) Remove the check for the absence of a suffix construct
1088 after a function declaration with only types (no identifiers) in
1089 the parentheses. Also, accept a function declaration with just a
1090 type inside the parentheses, if this type can be positively
1091 recognised as such, or if a prefix keyword like "explicit" nails
1092 down the construct as a declaration.
1093
1094 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1095
1096 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1097 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1098 the problem whereby selecting a menu item that leads to a
1099 minibuffer prompt moves the cursor out of the minibuffer window,
1100 making it hard to type at the prompt. Suggested by Stefan Monnier
1101 <monnier@iro.umontreal.ca>.
1102
1103 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1104
1105 * menu-bar.el: Don't make Services menu.
1106
1107 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1108
1109 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1110 (ffap-alist): Use ffap-c++-mode for c++-mode.
1111 (ffap-c++-path): New variable.
1112 (ffap-c++-mode): New function.
1113
1114 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1115
1116 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1117
1118 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1121 introduced on 2013-09-08, which results in an infinite loop
1122 requesting a password.
1123
1124 2013-10-18 Glenn Morris <rgm@gnu.org>
1125
1126 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1127
1128 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1129
1130 Sync with upstream verilog-mode revision 1a6ecec7.
1131 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1132 (verilog-mode-release-date): Remove.
1133 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1134 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1135 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1136 (verilog-auto-tieoff-ignore-regexp)
1137 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1138 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1139 (verilog-signals-with, verilog-dir-cache-preserving)
1140 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1141 Doc fixes.
1142 (verilog-case-fold): New option, to control case folding in
1143 regexp searches, bug597.
1144 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1145 (verilog-string-match-fold, verilog-in-paren-count)
1146 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1147 (verilog-at-close-struct-p): New functions.
1148 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1149 (verilog-forward-sexp, verilog-set-auto-endcomments):
1150 (verilog-leap-to-case-head): Handle "unique0" case.
1151 (verilog-in-constraint-re): New constant.
1152 (verilog-keywords, verilog-type-font-keywords):
1153 Add some SystemVerilog 1800-2012 keywords.
1154 (verilog-label-be): Remove unimplemented argument, bug669.
1155 (verilog-batch-execute-func): When batch expanding clear
1156 create-lockfiles to prevent spurious user locks when a file ends
1157 up not changing.
1158 (verilog-calculate-indent, verilog-calc-1)
1159 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1160 (verilog-do-indent): Fix indentation of nested constraints
1161 and structures.
1162 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1163 (verilog-auto-inst-param): Use verilog-string-match-fold.
1164 (verilog-read-inst-module-matcher):
1165 Fix AUTOINST on gate primitives with #1.
1166 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1167 Reads all user-defined typed variables.
1168 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1169 (verilog-signals-matching-regexp)
1170 (verilog-signals-not-matching-regexp, verilog-auto):
1171 Respect verilog-case-fold.
1172 (verilog-diff-report): Fix line count.
1173 (verilog-auto-assign-modport): Remove unused local `modi'.
1174 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1175 better handle multidimensional arrays.
1176 Fix packed array ports misadding bit index in AUTOINST, bug637.
1177 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1178 to not double-declare existing outputs and inputs, respectively.
1179 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1180 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1181 (verilog-sk-uvm-component): New skeleton.
1182 (verilog-submit-bug-report): Add verilog-case-fold,
1183 remove verilog-mode-release-date.
1184
1185 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1186
1187 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1188 as before.
1189
1190 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1191
1192 * textmodes/remember.el (remember): set buffer-offer-save in
1193 remember buffers (bug#13566).
1194
1195 2013-10-18 Daniel Colascione <dancol@dancol.org>
1196
1197 When evaluating forms in ielm, direct standard output to ielm
1198 buffer. Add new ielm-return-for-effect command. Remove trailing
1199 whitespace throughout.
1200
1201 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1202 (ielm-return-for-effect): New command.
1203 (ielm-send-input): Accept optional `for-effect' parameter.
1204 (ielm-eval-input): Accept optional `for-effect' parameter.
1205 Bind `standard-output' to stream we create using
1206 `ielm-standard-output-impl'. Suppress printing result when
1207 `for-effect'.
1208 (ielm-standard-output-impl): New function.
1209 (inferior-emacs-lisp-mode): Explain new features in documentation.
1210
1211 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1212
1213 Code cleanup.
1214
1215 * net/tramp.el (tramp-debug-message): Do not check for connection
1216 buffer.
1217 (tramp-message): Use "vector" connection property.
1218
1219 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1220 (tramp-equal-remote, tramp-eshell-directory-change)
1221 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1222 (tramp-adb-handle-rename-file)
1223 * net/tramp-cmds.el (tramp-list-remote-buffers)
1224 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1225 * net/tramp-compat.el (tramp-compat-process-running-p)
1226 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1227 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1228 (tramp-gvfs-handle-rename-file)
1229 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1230 (tramp-set-file-uid-gid)
1231 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1232 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1233 of `file-remote-p'.
1234
1235 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1236 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1237 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1238 (tramp-gw-open-network-stream): Suppress unrelated traces.
1239
1240 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1241 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1243 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1244 connection property.
1245
1246 * net/tramp-cache.el (top): Suppress traces when reading
1247 persistency file.
1248
1249 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1250 Refactor common code. Improve debug message.
1251 (tramp-maybe-open-connection)
1252 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1253 connection buffer too early.
1254
1255 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1256 from `tramp-smb-actions-with-acl'.
1257 (tramp-smb-actions-set-acl): New defconst.
1258 (tramp-smb-handle-copy-directory)
1259 (tramp-smb-action-get-acl): New defun, renamed from
1260 `tramp-smb-action-with-acl'.
1261 (tramp-smb-action-set-acl): New defun.
1262 (tramp-smb-handle-set-file-acl): Rewrite.
1263
1264 2013-10-17 Glenn Morris <rgm@gnu.org>
1265
1266 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1267
1268 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * skeleton.el (skeleton-newline): Remove.
1271 (skeleton-internal-1): Use (insert "\n") instead.
1272
1273 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1274 let-bindings.
1275
1276 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1277 forward-sexp-function while we redo its job (bug#15613).
1278
1279 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1280
1281 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1282 represented by lists.
1283
1284 2013-10-16 Glenn Morris <rgm@gnu.org>
1285
1286 * tmm.el (tmm--history): New dynamic variable.
1287 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1288
1289 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1290
1291 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1292 (tramp-smb-errors): Add error messages.
1293 (tramp-smb-actions-with-acl): New defconst.
1294 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1295 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1296 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1297 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1298 (tramp-smb-get-stat-capability): Fix tests.
1299
1300 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1301
1302 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1303 (bug#15580).
1304
1305 2013-10-16 Glenn Morris <rgm@gnu.org>
1306
1307 * ansi-color.el (ansi-color-drop-regexp):
1308 Add 1J, 1K, 2K. (Bug#15617)
1309
1310 * files.el (hack-local-variables--warned-lexical): New.
1311 (hack-local-variables):
1312 Warn about misplaced lexical-binding. (Bug#15616)
1313
1314 * net/eww.el (eww-render): Always set eww-current-url,
1315 and update header line. (Bug#15622)
1316 (eww-display-html): ... Rather than just doing it here.
1317
1318 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1319
1320 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1321 menu navigations commands.
1322
1323 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1324
1325 * progmodes/subword.el (subword-capitalize): Be careful when
1326 the search for [[:alpha:]] fails (bug#15580).
1327
1328 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1329
1330 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1331 to commands that scroll the menu.
1332
1333 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1334
1335 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1336 Handle methods ending with `?' and `!'.
1337
1338 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1339
1340 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1341 `japanese-cp932' to `cp932' to fix the problem where saving a
1342 source file written in Shift_JIS twice would end up having
1343 `coding: japanese-cp932' which Ruby could not recognize.
1344 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1345 in `ruby-encoding-map'.
1346 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1347 doesn't need to be explicitly declared in magic comment.
1348 (ruby-encoding-map): Add type declaration for better customize UI.
1349
1350 2013-10-13 Glenn Morris <rgm@gnu.org>
1351
1352 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1353 Occur buffers are read-only. http://bugs.debian.org/720775
1354
1355 * emacs-lisp/authors.el (authors-fixed-entries):
1356 Comment out old alpha stuff.
1357
1358 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1359
1360 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1361 to `after-save-hook' instead of `before-save-hook'.
1362 (ruby-mode-set-encoding): Use the value of coding system used to
1363 write the file. Call `basic-save-buffer-1' after modifying the
1364 buffer.
1365
1366 2013-10-13 Alan Mackenzie <acm@muc.de>
1367
1368 Fix indentation/fontification of Java enum with
1369 "implements"/generic.
1370
1371 * progmodes/cc-engine.el (c-backward-over-enum-header):
1372 Extracted from the three other places and enhanced to handle generics.
1373 (c-inside-bracelist-p): Uses new function above.
1374 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1375 function above.
1376 (c-font-lock-enum-tail): Uses new function above.
1377
1378 2013-10-13 Kenichi Handa <handa@gnu.org>
1379
1380 * international/mule-cmds.el (select-safe-coding-system): Remove a
1381 superfluous condition in chekcing whether a coding system is safe
1382 or not.
1383
1384 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1385
1386 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1387
1388 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1389
1390 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1391
1392 2013-10-13 Glenn Morris <rgm@gnu.org>
1393
1394 * menu-bar.el (menu-bar-update-buffers):
1395 Unify Buffers menu prompt string. (Bug#15576)
1396
1397 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1398
1399 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1400 Add some entries.
1401 (authors-fixed-entries): Use accented form of name.
1402
1403 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1406 method calls (bug#15594).
1407 (ruby-smie--args-separator-p): New function.
1408 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1409 recognize paren-free method calls.
1410
1411 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1412 internals of universal-argument.
1413
1414 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1415
1416 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1417 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1418 dropped menu on second mouse click on the menu bar.
1419
1420 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1423 (explicit-shell-file-name): Declare.
1424 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1425 (sh-completion-at-point-function): New function.
1426 (sh-mode): Use it.
1427 (sh-smie--keyword-p): Remove unused argument.
1428 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1429 vars.
1430 (sh-set-shell): Always setup SMIE, even if we use the
1431 old indentation code.
1432
1433 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1434
1435 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1436 cases of ? and =.
1437 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1438 predicate would return nil are almost non-existent.
1439 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1440
1441 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1442 cache also after commands that modify the buffer but don't move
1443 point.
1444
1445 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * env.el (substitute-env-in-file-name): New function.
1448 (substitute-env-vars): Extend the meaning of the optional arg.
1449
1450 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1451
1452 * term/w32-win.el (dynamic-library-alist): Define separate lists
1453 of GIF DLLs for versions before and after 5.0.0 of giflib.
1454 (Bug#15531)
1455
1456 2013-10-10 João Távora <joaotavora@gmail.com>
1457
1458 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1459 not locked, use last revision and current source as
1460 defaults. (Bug#15569)
1461
1462 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1463
1464 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1465 menu-bar is hidden.
1466
1467 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1468
1469 * window.el (pop-to-buffer-same-window): Fix doc-string.
1470 (Bug#15492)
1471
1472 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1475
1476 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1477
1478 * calendar/icalendar.el (icalendar-import-file):
1479 Fix interactive spec. (Bug#15482)
1480
1481 2013-10-10 Glenn Morris <rgm@gnu.org>
1482
1483 * desktop.el (desktop-save): Default to saving in .emacs.d,
1484 since PWD is no longer in desktop-path by default. (Bug#15319)
1485
1486 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1487 now that text mode has a menu with the same entry.
1488 (menu-bar-text-mode-auto-fill): Remove now unused func.
1489 * textmodes/text-mode.el (text-mode-map):
1490 Use auto-fill help text from menu-bar.el.
1491
1492 2013-10-10 John Anthony <john@jo.hnanthony.com>
1493
1494 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1495
1496 2013-10-09 Juri Linkov <juri@jurta.org>
1497
1498 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1499 instead of this-command-keys. Add universal-argument-more and
1500 universal-argument-minus to the list of prefix commands. (Bug#15568)
1501
1502 2013-10-09 Glenn Morris <rgm@gnu.org>
1503
1504 * vc/vc-svn.el (vc-svn-create-repo):
1505 Expand paths in file://... url. (Bug#15446)
1506
1507 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1508 Add some entries.
1509 (authors): Remove unused local variables.
1510
1511 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * profiler.el: Create a more coherent calltree from partial backtraces.
1514 (profiler-format): Hide the tail with `invisible' so that C-s can still
1515 find the hidden elements.
1516 (profiler-calltree-depth): Don't recurse so enthusiastically.
1517 (profiler-function-equal): New hash-table-test.
1518 (profiler-calltree-build-unified): New function.
1519 (profiler-calltree-build): Use it.
1520 (profiler-report-make-name-part): Indent the calltree less.
1521 (profiler-report-mode): Add visibility specs for profiler-format.
1522 (profiler-report-expand-entry, profiler-report-toggle-entry):
1523 Expand the whole subtree when provided with a prefix arg.
1524
1525 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1526
1527 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1528 iuwu-mod token.
1529 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1530 hanging iuwu-mod token.
1531 (ruby-smie--forward-token): Do not include a dot after a token in
1532 that token.
1533 (ruby-smie--backward-token): Likewise.
1534
1535 2013-10-08 Juri Linkov <juri@jurta.org>
1536
1537 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1538 to isearch-other-control-char.
1539 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1540 and isearch-post-command-hook to post-command-hook.
1541 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1542 and isearch-post-command-hook from post-command-hook.
1543 (isearch-unread-key-sequence)
1544 (isearch-reread-key-sequence-naturally)
1545 (isearch-lookup-scroll-key, isearch-other-control-char)
1546 (isearch-other-meta-char): Remove functions.
1547 (isearch-pre-command-hook, isearch-post-command-hook):
1548 New functions based on isearch-other-meta-char rewritten
1549 relying on the new behavior of overriding-terminal-local-map
1550 that does not replace the local keymaps any more. (Bug#15200)
1551
1552 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1553
1554 Support menus on text-mode terminals.
1555 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1556 functionality.
1557
1558 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1559
1560 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1561 Move here from mouse.el.
1562 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1563 and arrow keys.
1564 (tty-menu-navigation-map): New map for TTY menu navigation.
1565
1566 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1567
1568 * frame.el (display-mouse-p): Report text-mode mouse as available
1569 on w32.
1570 (display-popup-menus-p): Report availability if mouse is
1571 available; don't condition on window-system.
1572
1573 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1574 (tty-menu-selected-face): New faces.
1575
1576 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1579 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1580 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1581 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1582 New constants.
1583 (lisp-mode-variables): New `elisp' argument.
1584 (emacs-lisp-mode): Use it.
1585 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1586 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1587
1588 * indent.el: Use lexical-binding.
1589 (indent-region): Add progress reporter.
1590 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1591 last step.
1592 (indent--next-tab-stop): New function to implement this behavior.
1593 (tab-to-tab-stop, move-to-tab-stop): Use it.
1594
1595 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1596
1597 * indent.el (indent-rigidly--current-indentation): New function.
1598 (indent-rigidly-map): New var.
1599 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1600
1601 2013-10-08 Bastien Guerry <bzg@gnu.org>
1602
1603 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1604
1605 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * progmodes/perl-mode.el: Use lexical-binding.
1608 Remove redundant :group args.
1609 (perl-nochange): Change default to be closer to other major modes's
1610 standard behavior.
1611 (perl-indent-line): Don't consider text on current line as a
1612 valid beginning of function from which to indent.
1613
1614 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1615 with more than one argument (bug#15538).
1616
1617 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1618
1619 * vc/pcvs.el: Use lexical-binding.
1620 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1621 environment of `eval'.
1622 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1623 than a list of expressions. Adjust callers.
1624 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1625
1626 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1627
1628 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1629 case of the dot in a chained method call being on the following line.
1630
1631 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * electric.el (electric-indent-inhibit): New var.
1634 (electric-indent-post-self-insert-function): Use it.
1635 * progmodes/python.el (python-mode): Set it.
1636
1637 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1638 open braces.
1639
1640 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1641
1642 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1643 (css-mode): Use electric-indent-chars.
1644
1645 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1646 (font-lock-beg, font-lock-end): Move before first use.
1647 (nxml-mode): Use syntax-propertize-function.
1648 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1649 (nxml-extend-after-change-region): Remove.
1650 * nxml/xmltok.el: Use lexical-binding.
1651 (xmltok-save): Use `declare'.
1652 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1653 * nxml/nxml-util.el: Use lexical-binding.
1654 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1655 Use `declare'.
1656 * nxml/nxml-ns.el: Use lexical-binding.
1657 (nxml-ns-save): Use `declare'.
1658 (nxml-ns-prefixes-for): Avoid add-to-list.
1659 * nxml/rng-match.el: Use lexical-binding.
1660 (rng--ipattern): Use cl-defstruct.
1661 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1662 (rng-cons-group-after, rng-subst-group-after)
1663 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1664 Use closures instead of `(lambda...).
1665
1666 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1667
1668 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1669 of BEG and END.
1670
1671 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1672 Use `tramp-handle-insert-file-contents'.
1673 (tramp-gvfs-handle-insert-file-contents): Remove function.
1674
1675 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1676 Use `save-restriction' in order to keep markers.
1677
1678 * net/trampver.el: Update release number.
1679
1680 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * progmodes/compile.el (compilation-parse-errors):
1683 Use compilation--put-prop.
1684 (compilation--ensure-parse): Check compilation-multiline.
1685
1686 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1687
1688 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1689 lexical-binding.
1690
1691 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1692
1693 * progmodes/ruby-mode.el: Fix recently added tests.
1694 (ruby-smie-grammar): Add - and +.
1695 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1696 (ruby-smie--backward-id): New functions.
1697 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1698 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1699 any more.
1700
1701 2013-10-07 Leo Liu <sdl.web@gmail.com>
1702
1703 * register.el (register-preview-delay)
1704 (register-preview-functions): New variables.
1705 (register-read-with-preview, register-preview)
1706 (register-describe-oneline): New functions.
1707 (point-to-register, window-configuration-to-register)
1708 (frame-configuration-to-register, jump-to-register)
1709 (number-to-register, view-register, insert-register)
1710 (copy-to-register, append-to-register, prepend-to-register)
1711 (copy-rectangle-to-register): Use register-read-with-preview to
1712 read register. (Bug#15525)
1713
1714 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1715
1716 * net/network-stream.el (network-stream-open-starttls): Don't add
1717 --insecure if it's already present, because that gnutls-cli
1718 rejects getting that parameter twice.
1719
1720 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1721
1722 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1723 keyword, too.
1724
1725 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1726
1727 * newcomment.el (comment-use-global-state): Change default value
1728 to t, mark obsolete (Bug#15251).
1729 (comment-beginning): In addition to `comment-to-syntax', check the
1730 value of `comment-use-global-state'.
1731
1732 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1735 (ruby-comment-column): Follow the global default, by default.
1736 (ruby-smie-grammar): Add assignment syntax.
1737 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1738 open-paren, a comma, or a \.
1739 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1740 and line continuations.
1741 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1742 followed by implicit semi-colons. Add rule for string concatenation
1743 and for indentation at BOB.
1744 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1745
1746 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1747 calling next-sexp, since next-token may have skipped chars which
1748 next-sexp doesn't know should be skipped!
1749
1750 2013-10-05 Leo Liu <sdl.web@gmail.com>
1751
1752 * progmodes/octave.el (octave-send-region):
1753 Call compilation-forget-errors.
1754
1755 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1756
1757 * vc/vc-svn.el (vc-svn-find-admin-dir):
1758 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1759 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1760 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1761 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1762
1763 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1764
1765 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1766
1767 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * subr.el (read-passwd): Hide chars even when called within a context
1770 where after-change-functions is disabled (bug#15501).
1771 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1772 until we removed ourself from overriding-terminal-local-map.
1773
1774 2013-10-04 Leo Liu <sdl.web@gmail.com>
1775
1776 * progmodes/octave.el (inferior-octave-mode):
1777 Call compilation-forget-errors.
1778
1779 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1780
1781 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1782
1783 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * net/secrets.el (secrets-create-collection): Add optional
1786 argument ALIAS. Use proper Label keyword. Append ALIAS as
1787 dbus-call-method argument. (Bug#15516)
1788
1789 2013-10-04 Leo Liu <sdl.web@gmail.com>
1790
1791 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1792 (inferior-octave-compilation-font-lock-keywords): New variables.
1793 (compilation-error-regexp-alist)
1794 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1795 (inferior-octave-mode): Use compilation-shell-minor-mode.
1796
1797 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1798
1799 * minibuffer.el (completion--replace): Be careful that `end' might be
1800 a marker.
1801
1802 2013-10-03 Daiki Ueno <ueno@gnu.org>
1803
1804 Add support for package signature checking.
1805 * emacs-lisp/package.el (url-http-file-exists-p)
1806 (epg-make-context, epg-context-set-home-directory)
1807 (epg-verify-string, epg-context-result-for)
1808 (epg-signature-status, epg-signature-to-string)
1809 (epg-check-configuration, epg-configuration)
1810 (epg-import-keys-from-file): Declare.
1811 (package-check-signature): New user option.
1812 (package-unsigned-archives): New user option.
1813 (package-desc): Add `signed' field.
1814 (package-load-descriptor): Set `signed' field if .signed file exists.
1815 (package--archive-file-exists-p): New function.
1816 (package--check-signature): New function.
1817 (package-install-from-archive): Check package signature.
1818 (package--download-one-archive): Check archive signature.
1819 (package-delete): Remove .signed file.
1820 (package-import-keyring): New command.
1821 (package-refresh-contents): Import default keyring.
1822 (package-desc-status): Add "unsigned" status.
1823 (describe-package-1, package-menu--print-info)
1824 (package-menu-mark-delete, package-menu--find-upgrades)
1825 (package-menu--status-predicate): Support "unsigned" status.
1826
1827 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1830 the new compilation scheme using the new byte-codes.
1831
1832 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1833 (byte-pophandler): New byte codes.
1834 (byte-goto-ops): Adjust accordingly.
1835 (byte-compile--use-old-handlers): New var.
1836 (byte-compile-catch): Use new byte codes depending on
1837 byte-compile--use-old-handlers.
1838 (byte-compile-condition-case--old): Rename from
1839 byte-compile-condition-case.
1840 (byte-compile-condition-case--new): New function.
1841 (byte-compile-condition-case): New function that dispatches depending
1842 on byte-compile--use-old-handlers.
1843 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1844 when we can.
1845
1846 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1847 Optimize under `condition-case' and `catch' if
1848 byte-compile--use-old-handlers is nil.
1849 (disassemble-offset): Handle new bytecodes.
1850
1851 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * subr.el (error): Use `declare'.
1854 (decode-char, encode-char): Use advertised-calling-convention instead
1855 of the docstring to discourage use of the `restriction' arg.
1856
1857 2013-10-03 Daiki Ueno <ueno@gnu.org>
1858
1859 * epg.el (epg-verify-file): Add a comment saying that it does not
1860 notify verification error as a return value nor a signal.
1861 (epg-verify-string): Ditto.
1862
1863 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1864
1865 * progmodes/compile.el (compilation-start): Try globbing the arg to
1866 `cd' (bug#15417).
1867
1868 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1869
1870 Sync with Tramp 2.2.8.
1871
1872 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1873 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1874 * net/trampver.el: Update release number.
1875
1876 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1877
1878 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1879 and default-process-coding-system for darwin only.
1880
1881 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1884
1885 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1886
1887 * vc/vc-git.el (vc-git-grep): Disable pager.
1888
1889 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1890
1891 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1892 Use :url instead of :homepage, as per
1893 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1894
1895 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1896 non-nil, use `syntax-ppss' (Bug#15251).
1897
1898 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1899
1900 * progmodes/octave.el (inferior-octave-startup-file):
1901 Prefer ~/.emacs.d/init_octave.m.
1902
1903 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1904
1905 * emacs-lisp/package.el (package-desc-from-define):
1906 Accept additional arguments as plist, convert them to an alist and store
1907 them in the `extras' slot.
1908 (package-generate-description-file): Convert extras alist back to
1909 plist and append to the `define-package' form arguments.
1910 (package--alist-to-plist): New function.
1911 (package--ac-desc): Add `extras' slot.
1912 (package--add-to-archive-contents): Check if the archive-contents
1913 vector is long enough, and if it is, pass its `extras' slot value
1914 to `package-desc-create'.
1915 (package-buffer-info): Call `lm-homepage', pass the returned value
1916 to `package-desc-from-define'.
1917 (describe-package-1): Render the homepage button (Bug#13291).
1918
1919 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1920 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1921
1922 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1923
1924 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1925 and default-process-coding-system to utf-8-unix (Bug#15402).
1926
1927 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1928
1929 * subr.el (looking-back): Do not recommend using looking-back.
1930
1931 2013-09-28 Alan Mackenzie <acm@muc.de>
1932
1933 Fix indentation/fontification of Java enum with "implements".
1934
1935 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1936 regexp which matches "implements", etc., in Java.
1937 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1938 specifier clauses coming after "enum".
1939 * progmodes/cc-fonts.el (c-font-lock-declarations)
1940 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1941 after "enum".
1942
1943 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1944
1945 * faces.el (region): Change ns_selection_color to
1946 ns_selection_fg_color, add ns_selection_bg_color.
1947
1948 2013-09-28 Leo Liu <sdl.web@gmail.com>
1949
1950 * progmodes/octave.el (inferior-octave-completion-table)
1951 (inferior-octave-completion-at-point): Minor tweaks.
1952
1953 * textmodes/ispell.el (ispell-lookup-words): Rename from
1954 lookup-words. (Bug#15460)
1955 (lookup-words): Obsolete.
1956 (ispell-complete-word, ispell-command-loop): All uses changed.
1957
1958 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1959
1960 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1961 (octave-mode-menu): Add octave-send-buffer.
1962 (octave-send-buffer): New function.
1963
1964 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1965
1966 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1967 octave-lookfor.
1968 (octave-mode-menu): Add octave-lookfor.
1969 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1970 octave-lookfor.
1971 (octave-lookfor): New function.
1972
1973 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * emacs-lisp/cl-macs.el:
1976 (cl--loop-destr-temps): Remove.
1977 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1978 its convention.
1979 (cl--loop-set-iterator-function): New function.
1980 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1981 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1982 Bind `it' with `let' instead of substituting it with `cl-subst'.
1983 (cl--unused-var-p): New function.
1984 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1985 Eliminate some unused variable warnings (bug#15326).
1986
1987 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1988
1989 * doc-view.el (doc-view-scale-reset): Rename from
1990 `doc-view-reset-zoom-level'.
1991 (doc-view-scale-adjust): New command.
1992 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1993 `doc-view-scale-adjust'.
1994
1995 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1996
1997 * doc-view.el (doc-view-reset-zoom-level): New command.
1998 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1999 zoom commands (bug#15466).
2000
2001 2013-09-26 Kenichi Handa <handa@gnu.org>
2002
2003 * international/quail.el (quail-help): Make it not a command.
2004
2005 2013-09-26 Leo Liu <sdl.web@gmail.com>
2006
2007 * minibuffer.el (completion-all-sorted-completions): Make args
2008 optional as they are.
2009
2010 2013-09-25 Daniel Colascione <dancol@dancol.org>
2011
2012 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2013 specs are and that they're not evaluated.
2014
2015 2013-09-24 Sam Steingold <sds@gnu.org>
2016
2017 * midnight.el (clean-buffer-list-kill-regexps)
2018 (clean-buffer-list-kill-buffer-names): Update for the new Man
2019 buffer naming which includes the object name.
2020
2021 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2024 (eshell-parse-command, eshell-parse-pipeline): Use it since
2025 eshell-separate-commands requires a dynamic scoped var.
2026 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2027
2028 2013-09-23 Leo Liu <sdl.web@gmail.com>
2029
2030 * autoinsert.el (auto-insert-alist): Make the value of
2031 lexical-binding match its file setting.
2032
2033 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2034
2035 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2036
2037 * autoarg.el (autoarg-kp-digit-argument):
2038 * electric.el (Electric-command-loop):
2039 * kmacro.el (kmacro-step-edit-insert):
2040 Do not set universal-argument-num-events.
2041
2042 2013-09-22 Leo Liu <sdl.web@gmail.com>
2043
2044 * files.el (interpreter-mode-alist): Add octave.
2045
2046 2013-09-21 Alan Mackenzie <acm@muc.de>
2047
2048 C++: fontify identifier in declaration following "public:" correctly.
2049 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2050 to match "public", etc.
2051 (c-decl-prefix-re): Add ":" into the C++ value.
2052 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2053 bit. Add a check for a ":" preceded by "public", etc.
2054
2055 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2056
2057 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2058 recognized by GDB 7.5 and later.
2059
2060 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2061
2062 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2063
2064 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * subr.el (internal--call-interactively): New const.
2067 (called-interactively-p): Use it (bug#3984).
2068
2069 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2070
2071 * vc/pcvs.el (cvs-mode-ignore):
2072 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2073 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2074
2075 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2076
2077 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2078 (eshell-ls-orig-insert-directory): Remove.
2079 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2080 (eshell-ls-use-in-dired): Use advice-add/remove.
2081 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2082 Add `orig-fun' arg for use in :around advice.
2083 Make it check (redundantly) eshell-ls-use-in-dired.
2084
2085 2013-09-19 Glenn Morris <rgm@gnu.org>
2086
2087 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2088
2089 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2090
2091 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2092
2093 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2094
2095 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2096 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2097 (tramp-get-remote-python): New defuns.
2098 (tramp-get-remote-uid-with-perl)
2099 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2100 contributed by yary <not.com@gmail.com> (tiny change).
2101 (tramp-get-remote-uid-with-python)
2102 (tramp-get-remote-gid-with-python): New defuns. Python code
2103 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2104 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2105
2106 2013-09-19 Glenn Morris <rgm@gnu.org>
2107
2108 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2109
2110 * eshell/em-unix.el (eshell-remove-entries):
2111 Rename argument to avoid name-clash with global `top-level'.
2112
2113 * eshell/esh-proc.el (eshell-kill-process-function):
2114 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2115 (eshell-reset-after-proc): Remove unused arg `proc'.
2116
2117 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2118 (directory-files-and-attributes): Mark unused arg.
2119
2120 * eshell/em-unix.el (eshell-remove-entries):
2121 Remove unused arg `path'. Update callers.
2122
2123 * eshell/em-hist.el (eshell-hist-parse-arguments):
2124 Remove unused arg `silent'. Update callers.
2125
2126 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2127 Fix (f)boundp mix-up.
2128
2129 * eshell/em-smart.el (eshell-smart-scroll-window)
2130 (eshell-disable-after-change):
2131 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2132
2133 2013-09-18 Alan Mackenzie <acm@muc.de>
2134
2135 Fix fontification of type when followed by "const".
2136 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2137 "known" types from fontification.
2138
2139 2013-09-18 Glenn Morris <rgm@gnu.org>
2140
2141 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2142 (chart-face-list): Drop Emacsen without display-color-p.
2143
2144 * net/eww.el (libxml-parse-html-region): Declare.
2145 (eww-display-html): Explicit error if no libxml2 support.
2146
2147 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2148
2149 * image.el (image-type-from-buffer, image-multi-frame-p):
2150 Remove --without-x warning/error.
2151
2152 * mouse.el (mouse-yank-primary):
2153 * term.el (term-mouse-paste):
2154 Reorder to silence --without-x compilation.
2155
2156 * mpc.el (doc-view-mode): Silence --without-x compilation.
2157
2158 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2159 Silence --without-x compilation.
2160
2161 * progmodes/gud.el (gud-find-file, gud-mode):
2162 Silence --without-x compilation.
2163 (tooltip-mode): Declare.
2164
2165 * wdired.el (dired-backup-overwrite): Remove declaration.
2166 (wdired-mode-map): Add doc string.
2167
2168 * custom.el (x-get-resource): Declare.
2169
2170 * eshell/em-glob.el (ange-cache):
2171 * eshell/em-unix.el (ange-cache): Declare.
2172
2173 * faces.el (x-display-list, x-open-connection, x-get-resource):
2174 Declare.
2175
2176 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2177 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2178 Declare.
2179
2180 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2181
2182 * net/gnutls.el (gnutls-log-level): Declare.
2183
2184 * net/shr.el (image-size, image-animate): Declare.
2185
2186 * simple.el (font-info): Declare.
2187
2188 * subr.el (x-popup-dialog): Declare.
2189
2190 * term/common-win.el (x-select-enable-primary)
2191 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2192 Declare.
2193
2194 * term/ns-win.el (x-handle-args): Declare.
2195
2196 * term/x-win.el (x-select-enable-clipboard): Declare.
2197
2198 * term/w32-win.el (create-default-fontset): Declare.
2199
2200 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2201 Declare.
2202
2203 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2204 (fit-frame-to-buffer): Explicit error if --without-x.
2205 (mouse-autoselect-window-select): Silence compiler.
2206
2207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2208
2209 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2210 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2211 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2212 * eshell/esh-util.el (eshell-sublist):
2213 Remove unused local variables.
2214
2215 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2216
2217 * textmodes/two-column.el: Make 2C-split work for --without-x.
2218 (scroll-bar-columns): Autoload.
2219 (top-level): Require fringe when compiling.
2220
2221 2013-09-18 Leo Liu <sdl.web@gmail.com>
2222
2223 * subr.el (add-hook): Robustify to handle closure as well.
2224
2225 2013-09-17 Glenn Morris <rgm@gnu.org>
2226
2227 * simple.el (messages-buffer-mode-map): Unbind "g".
2228
2229 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * help-mode.el (help-mode-finish): Use derived-mode-p.
2232 Remove obsolete highlighting.
2233
2234 * play/life.el (life-mode): Use define-derived-mode. Derive from
2235 special-mode.
2236 (life): Let-bind inhibit-read-only.
2237 (life-setup): Avoid `setq'. Use `life-mode'.
2238
2239 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2240 which should not be needed any more.
2241 (package-menu-refresh, package-menu-describe-package): Use user-error.
2242
2243 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2244 (eshell-post-rewrite-command-hook): Make obsolete.
2245 (eshell-parse-command): Simplify.
2246 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2247 (eshell--cmd): Declare.
2248 (eshell-parse-pipeline): Remove unused var `final-p'.
2249 Pass a dynvar to eshell-post-rewrite-command-hook.
2250 Implement the new eshell-post-rewrite-command-function.
2251 (eshell-invoke-directly): Remove unused arg `input'.
2252 * eshell/esh-io.el (eshell-io-initialize):
2253 Use eshell-post-rewrite-command-function (bug#15399).
2254 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2255 adjust to new calling convention.
2256 (eshell-create-handles): Rename args to avoid clashing with dynvar
2257 `standard-output'.
2258
2259 2013-09-17 Glenn Morris <rgm@gnu.org>
2260
2261 * simple.el (messages-buffer-mode): New major mode.
2262 (messages-buffer): New function.
2263 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2264 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2265 (ert-run-test): Use `messages-buffer' function.
2266 (ert--force-message-log-buffer-truncation): Ignore read-only.
2267 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2268 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2269
2270 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2273
2274 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2275
2276 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * icomplete.el (icomplete-in-buffer): New var.
2279 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2280 vars and replace them with functions.
2281 (icomplete-minibuffer-setup): Adjust accordingly.
2282 (icomplete--completion-table, icomplete--completion-predicate)
2283 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2284 New functions.
2285 (icomplete-forward-completions, icomplete-backward-completions)
2286 (icomplete-simple-completing-p, icomplete-exhibit)
2287 (icomplete-completions): Use them.
2288 (icomplete--in-region-buffer): New var.
2289 (icomplete--in-region-setup): New function.
2290 (icomplete-mode): Use it.
2291
2292 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2293 (bug#15379).
2294 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2295 return args and options.
2296 (eshell-eval-using-options): Use the new return value of
2297 eshell--do-opts to set the options's vars in their scope.
2298 (eshell--set-option): Rename from eshell-set-option.
2299 Add arg `opt-vals'.
2300 (eshell--process-option): Rename from eshell-process-option.
2301 Add arg `opt-vals'.
2302 (eshell--process-args): Use an `opt-vals' alist to store the options's
2303 values during their processing and return them additionally to the
2304 remaining args.
2305
2306 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2307
2308 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2309 continuation character an operator, as far as indentation is
2310 concerned (Bug#15369).
2311
2312 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2313
2314 * window.el (window--state-put-2): Don't process buffer state
2315 when buffer doesn't exist any more (Bug#15382).
2316
2317 2013-09-15 Glenn Morris <rgm@gnu.org>
2318
2319 * eshell/em-unix.el (eshell/rm):
2320 Make -f ignore missing files. (Bug#15373)
2321
2322 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2323 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2324 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2325
2326 2013-09-14 Glenn Morris <rgm@gnu.org>
2327
2328 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2329
2330 2013-09-13 Glenn Morris <rgm@gnu.org>
2331
2332 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2333 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2334
2335 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2336
2337 * frame.el (x-focus-frame): Mark as declared in frame.c.
2338
2339 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * ls-lisp.el: Use advice-add.
2342 (original-insert-directory): Remove.
2343 (ls-lisp--insert-directory): Rename from insert-directory; add
2344 `orig-fun' argument.
2345 (insert-directory): Advise.
2346
2347 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2348
2349 * term.el (term-emulate-terminal): Decode the command string
2350 before passing it to term-command-hook. (Bug#15337)
2351
2352 2013-09-13 Glenn Morris <rgm@gnu.org>
2353
2354 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2355
2356 * eshell/esh-ext.el (eshell-search-path): Declare.
2357
2358 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2359 Otherwise an error occurs if eshell-dirs module not loaded.
2360
2361 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2362
2363 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2364
2365 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2366 `tramp-check-proper-host'. Check for a valid method name.
2367
2368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2369 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2370 * net/tramp-sh.el (tramp-maybe-open-connection):
2371 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2372
2373 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2374 also for hash values.
2375
2376 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * term/ns-win.el (parameters): Don't declare as dynamic.
2379 (before-make-frame-hook): Don't add ineffective function.
2380
2381 * eshell/*.el: Use lexical-binding (bug#15231).
2382
2383 2013-09-12 Kenichi Handa <handa@gnu.org>
2384
2385 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2386
2387 2013-09-12 Glenn Morris <rgm@gnu.org>
2388
2389 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2390 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2391
2392 * subr.el (do-after-load-evaluation): Also give compiler warnings
2393 when obsolete files are used (except by obsolete files).
2394
2395 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2396 in the status output, assume `filename' is the first. (Bug#15322)
2397
2398 * vc/vc.el (vc-deduce-fileset): Doc fix.
2399
2400 * calc/calc-help.el (Info-goto-node):
2401 * progmodes/cperl-mode.el (Info-find-node):
2402 * vc/ediff.el (Info-goto-node): Update declarations.
2403
2404 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2405
2406 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2407 (vc-bzr-pull): Require vc-dispatcher.
2408 * vc/vc-git.el (vc-compilation-mode): Declare.
2409 (vc-git-pull): Require vc-dispatcher.
2410
2411 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2412
2413 * progmodes/octave.el (help-button-action): Declare.
2414
2415 * shell.el (shell-directory-tracker): Output error as a message
2416 rather than just returning it as a string.
2417 (shell-process-pushd): Remove useless use of message.
2418
2419 * dframe.el (dframe-timer-fn):
2420 * files.el (dir-locals-read-from-file):
2421 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2422 (mpc-format):
2423 * reveal.el (reveal-post-command):
2424 * saveplace.el (load-save-place-alist-from-file):
2425 * shell.el (shell-resync-dirs):
2426 * w32-common-fns.el (x-get-selection-value):
2427 * emacs-lisp/copyright.el (copyright-find-copyright):
2428 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2429 * emulation/tpu-edt.el (tpu-copy-keyfile):
2430 * play/bubbles.el (bubbles--mark-neighbourhood):
2431 * progmodes/executable.el
2432 (executable-make-buffer-file-executable-if-script-p):
2433 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2434
2435 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 Cleanup Eshell to rely less on dynamic scoping.
2438 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2439 last-value, and ext-command here. Bind `args' closer to `body'.
2440 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2441 (eshell--args): Declare new dynamic var.
2442 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2443 last-value, and ext-command. Pass `args' to `body'.
2444 (eshell-process-args): Bind eshell--args.
2445 (eshell-set-option): Use eshell--args.
2446 * eshell/eshell.el (eshell): Use derived-mode-p.
2447 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2448 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2449 (eshell-glob-function): Declare.
2450 * eshell/esh-util.el: Require cl-lib.
2451 (eshell-read-hosts-file): Avoid add-to-list.
2452 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2453 `err'.
2454 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2455 Declare.
2456 (eshell/diff): Remove unused var `err'.
2457 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2458 `killflag'.
2459 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2460 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2461 first use.
2462 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2463 Move declaration before first use.
2464 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2465 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2466 rely on cl-return.
2467
2468 2013-09-12 Glenn Morris <rgm@gnu.org>
2469
2470 * term/ns-win.el (global-map): Remove binding for ispell-next,
2471 deleted 1999-05-29. (Bug#15357)
2472
2473 2013-09-11 Glenn Morris <rgm@gnu.org>
2474
2475 * echistory.el (electric-command-history): Remove call to deleted func.
2476
2477 * play/landmark.el (landmark-mode): Fix typos.
2478
2479 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2480 Check cvs-sort-ignore-file is bound.
2481
2482 * savehist.el: No need for cl when compiling on Emacs.
2483
2484 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2487 (bug#15338).
2488 (eshell-self-insert-command, eshell-send-invisible):
2489 Remove unused argument.
2490 (eshell-handle-control-codes): Remove unused var `orig'.
2491 Avoid delete-backward-char.
2492
2493 * files.el (set-auto-mode): Simplify a bit further.
2494
2495 2013-09-11 Glenn Morris <rgm@gnu.org>
2496
2497 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2498 (set-auto-mode): Don't regexp-quote elements.
2499 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2500 * progmodes/cc-mode.el (interpreter-mode-alist):
2501 * progmodes/ruby-mode.el (interpreter-mode-alist):
2502 Revert previous change.
2503
2504 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * play/snake.el (snake-mode):
2507 * play/mpuz.el (mpuz-mode):
2508 * play/landmark.el (lm-mode):
2509 * play/blackbox.el (blackbox-mode):
2510 * play/5x5.el (5x5-mode):
2511 * obsolete/options.el (Edit-options-mode):
2512 * net/quickurl.el (quickurl-list-mode):
2513 * net/newst-treeview.el (newsticker-treeview-mode):
2514 * mail/rmailsum.el (rmail-summary-mode):
2515 * mail/mspools.el (mspools-mode):
2516 * locate.el (locate-mode):
2517 * ibuffer.el (ibuffer-mode):
2518 * emulation/ws-mode.el (wordstar-mode):
2519 * emacs-lisp/debug.el (debugger-mode):
2520 * array.el (array-mode):
2521 * net/eudc.el (eudc-mode): Use define-derived-mode.
2522 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2523 Move initialization into declaration.
2524 (mairix-searches-mode): Use define-derived-mode.
2525 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2526 (eudc-edit-hotlist): Use dolist.
2527 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2528 (Man-mode): Use define-derived-mode.
2529 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2530 (Info-edit-mode): Use define-derived-mode.
2531 (Info-cease-edit): Use Info-mode.
2532 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2533 into declaration.
2534 (eshell-mode): Use define-derived-mode.
2535 * chistory.el (command-history-mode-map): Rename from
2536 command-history-map.
2537 (command-history-mode): Use define-derived-mode.
2538 (Command-history-setup): Remove function.
2539 * calc/calc.el (calc-trail-mode-map): New var.
2540 (calc-trail-mode): Use define-derived-mode.
2541 (calc-trail-buffer): Set calc-main-buffer manually.
2542 * bookmark.el (bookmark-insert-annotation): New function.
2543 (bookmark-edit-annotation): Use it.
2544 (bookmark-edit-annotation-mode): Make it a proper major mode.
2545 (bookmark-send-edited-annotation): Use derived-mode-p.
2546 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2547 closer to its ideal place. Use \' to match EOS.
2548
2549 * profiler.el (profiler-calltree-find): Use function-equal.
2550
2551 2013-09-10 Glenn Morris <rgm@gnu.org>
2552
2553 * files.el (interpreter-mode-alist): Convert to regexps.
2554 (set-auto-mode): Adapt for this. (Bug#15306)
2555 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2556 Comment out unused variable.
2557 * progmodes/cc-mode.el (interpreter-mode-alist):
2558 * progmodes/python.el (interpreter-mode-alist):
2559 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2560 * progmodes/sh-script.el (sh-set-shell):
2561 No longer use interpreter-mode-alist to get list of shells.
2562
2563 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2564
2565 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * simple.el: Use set-temporary-overlay-map for universal-argument.
2568 (universal-argument-map): Don't use default-bindings (bug#15317).
2569 Bind switch-frame explicitly. Replace universal-argument-minus with
2570 a conditional binding.
2571 (universal-argument-num-events, saved-overriding-map): Remove.
2572 (restore-overriding-map): Remove.
2573 (universal-argument--mode): Rename from save&set-overriding-map,
2574 and rewrite.
2575 (universal-argument, universal-argument-more, negative-argument)
2576 (digit-argument): Adjust accordingly.
2577 (universal-argument-minus): Remove.
2578 (universal-argument-other-key): Remove.
2579
2580 * subr.el (with-demoted-errors): Add `format' argument.
2581
2582 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2583
2584 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2585 `tramp-cleanup-connection'.
2586
2587 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2588 parameters KEEP-DEBUG and KEEP-PASSWORD.
2589
2590 * net/tramp.el (tramp-file-name-handler):
2591 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2592 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2593 (tramp-maybe-open-connection):
2594 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2595 Use `tramp-cleanup-connection'.
2596
2597 * net/tramp-sh.el (tramp-maybe-open-connection):
2598 Catch 'uname-changed inside the progress reporter.
2599
2600 2013-09-10 Glenn Morris <rgm@gnu.org>
2601
2602 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2603
2604 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2605 returns "alternate access method" in mode (eg "-rw-r--r--.").
2606
2607 2013-09-08 Glenn Morris <rgm@gnu.org>
2608
2609 * saveplace.el (load-save-place-alist-from-file):
2610 Demote errors. (Bug#15305)
2611
2612 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2613
2614 Improve compatibility with older Emacsen, and XEmacs.
2615
2616 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2617 only if it is bound. It isn't for XEmacs.
2618 (with-tramp-progress-reporter): Do not let-bind `result'.
2619 This yields to scoping errors in XEmacs.
2620 (tramp-handle-make-auto-save-file-name): New function, moved from
2621 tramp-sh.el.
2622
2623 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2624 for `make-auto-save-file-name'.
2625 (tramp-adb--gnu-switches-to-ash):
2626 Use `tramp-compat-replace-regexp-in-string'.
2627
2628 * net/tramp-cache.el (tramp-cache-print): Call
2629 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2630
2631 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2632 bound. It isn't for XEmacs.
2633
2634 * net/tramp-compat.el (tramp-compat-copy-file):
2635 Catch `wrong-number-of-arguments' error.
2636 (tramp-compat-replace-regexp-in-string): New defun.
2637
2638 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2639 for `make-auto-save-file-name'.
2640 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2641 `copy-file'.
2642 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2643 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2644 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2645
2646 * net/tramp-gw.el (tramp-gw-open-network-stream):
2647 Use `tramp-compat-replace-regexp-in-string'.
2648
2649 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2650 Call `tramp-handle-make-auto-save-file-name'.
2651 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2652 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2653 (tramp-sh-file-inotifywait-process-filter):
2654 Use `tramp-compat-replace-regexp-in-string'.
2655 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2656
2657 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2658 for `make-auto-save-file-name'.
2659 (tramp-smb-handle-copy-directory):
2660 Call `tramp-compat-replace-regexp-in-string'.
2661 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2662 (tramp-smb-handle-copy-file): Improve error message.
2663 (tramp-smb-handle-rename-file): Rename directly only in case
2664 `newname' does not exist yet. This is a restriction of smbclient.
2665 (tramp-smb-maybe-open-connection): Rerun the function only when
2666 `auth-sources' is non-nil.
2667
2668 2013-09-08 Kenichi Handa <handa@gnu.org>
2669
2670 * international/characters.el: Set category "^" (Combining) for
2671 more characters.
2672
2673 2013-09-07 Alan Mackenzie <acm@muc.de>
2674
2675 Correctly fontify Java class constructors.
2676 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2677 in Java Mode.
2678 (c-recognize-typeless-decls): Set the Java value to t.
2679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2680 While handling a "(", add a check for, effectively, Java, and handle a
2681 "typeless" declaration there.
2682
2683 2013-09-07 Roland Winkler <winkler@gnu.org>
2684
2685 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2686 field subtitle for entry type book.
2687
2688 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * minibuffer.el: Make minibuffer-complete call completion-in-region
2691 rather than other way around.
2692 (completion--some, completion-pcm--find-all-completions):
2693 Don't delay signals when debugging.
2694 (minibuffer-completion-contents): Beware fields within the
2695 minibuffer contents.
2696 (completion-all-sorted-completions): Use defvar-local.
2697 (completion--do-completion, completion--cache-all-sorted-completions)
2698 (completion-all-sorted-completions, minibuffer-force-complete):
2699 Add args `beg' and `end'.
2700 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2701 (minibuffer-complete): Use completion-in-region.
2702 (completion-complete-and-exit): New fun, extracted from
2703 minibuffer-complete-and-exit.
2704 (minibuffer-complete-and-exit): Use it.
2705 (completion--complete-and-exit): Rename from
2706 minibuffer--complete-and-exit.
2707 (completion-in-region--single-word): New function, extracted from
2708 minibuffer-complete-word.
2709 (minibuffer-complete-word): Use it.
2710 (display-completion-list): Make `common-substring' argument obsolete.
2711 (completion--in-region): Call completion--in-region-1 instead of
2712 minibuffer-complete.
2713 (completion-help-at-point): Pass boundaries to
2714 minibuffer-completion-help as args rather than via an overlay.
2715 (completion-pcm--string->pattern): Use `any-delim'.
2716 (completion-pcm--optimize-pattern): New function.
2717 (completion-pcm--pattern->regex): Handle `any-delim'.
2718 * icomplete.el (icomplete-forward-completions)
2719 (icomplete-backward-completions, icomplete-completions):
2720 Adjust calls to completion-all-sorted-completions and
2721 completion--cache-all-sorted-completions.
2722 (icomplete-with-completion-tables): Default to t.
2723 * emacs-lisp/crm.el (crm--current-element): Rename from
2724 crm--select-current-element. Don't put an overlay but return the
2725 boundaries instead.
2726 (crm--completion-command): Take two new args to bind to the boundaries.
2727 (crm-completion-help): Adjust accordingly.
2728 (crm-complete): Use completion-in-region.
2729 (crm-complete-word): Use completion-in-region--single-word.
2730 (crm-complete-and-exit): Use completion-complete-and-exit.
2731
2732 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2735 than dynamically.
2736
2737 2013-09-06 Juri Linkov <juri@jurta.org>
2738
2739 * info.el (Info-display-images-node): When image file doesn't exist
2740 display text version of the image if it's provided in the Info file.
2741 Otherwise, display the location of missing image from SRC attribute.
2742 Add help-echo text property from ALT attribute. (Bug#15279)
2743
2744 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2747 (edit-abbrevs-mode): Use define-derived-mode.
2748
2749 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2750 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2751 that it's defined.
2752 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2753 Use define-derived-mode.
2754
2755 * epg.el (epg-start-encrypt): Minor CSE simplification.
2756
2757 2013-09-06 William Xu <william.xwl@gmail.com>
2758
2759 * arc-mode.el: Add support for 7za (bug#15264).
2760 (archive-7z-program): New var.
2761 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2762 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2763 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2764
2765 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2766
2767 Remove URL syntax.
2768
2769 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2770 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2771 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2772 (tramp-postfix-host-format, tramp-file-name-regexp)
2773 (tramp-completion-file-name-regexp)
2774 (tramp-completion-dissect-file-name)
2775 (tramp-handle-substitute-in-file-name): Remove 'url case.
2776 (tramp-file-name-regexp-url)
2777 (tramp-completion-file-name-regexp-url): Remove constants.
2778
2779 2013-09-06 Glenn Morris <rgm@gnu.org>
2780
2781 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2782
2783 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2784
2785 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2786 keywords" below "here-doc beginnings" (Bug#15270).
2787
2788 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * subr.el (pop): Use `car-safe'.
2791 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2792 to detect unused `pop' return value.
2793
2794 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2795 var `block-regexp'.
2796 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2797 (python-fill-string): Remove unused var `marker'.
2798 (python-skeleton-add-menu-items): Remove unused var `items'.
2799
2800 * international/mule-cmds.el: Require CL.
2801 (find-coding-systems-for-charsets): Avoid add-to-list.
2802 (sanitize-coding-system-list): New function, extracted from
2803 select-safe-coding-system-interactively.
2804 (select-safe-coding-system-interactively): Use it.
2805 (read-input-method-name): Accept symbols for `default'.
2806
2807 * emacs-lisp/advice.el (defadvice): Add indent rule.
2808
2809 2013-09-05 Daniel Hackney <dan@haxney.org>
2810
2811 * dired-x.el:
2812 * net/ange-ftp.el:
2813 * net/browse-url.el:
2814 * net/dbus.el:
2815 * net/eudc.el:
2816 * net/eudcb-ldap.el:
2817 * net/eww.el:
2818 * net/imap.el:
2819 * printing.el:
2820 * vc/ediff-diff.el:
2821 * vc/ediff-init.el:
2822 * vc/ediff-merg.el:
2823 * vc/ediff-mult.el:
2824 * vc/ediff-util.el:
2825 * vc/ediff-wind.el:
2826 * vc/ediff.el:
2827 * vc/emerge.el:
2828 * vc/pcvs.el:
2829 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2830 byte compiler. Remove some unused let-bound variables.
2831
2832 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2835 a "ref-cell", since it gets better optimized (bug#14883).
2836
2837 2013-09-05 Glenn Morris <rgm@gnu.org>
2838
2839 * progmodes/cc-awk.el (c-forward-sws): Declare.
2840
2841 2013-09-04 Glenn Morris <rgm@gnu.org>
2842
2843 * generic-x.el [rul-generic-mode]: Require cc-mode.
2844 (c++-mode-syntax-table): Declare.
2845 (rul-generic-mode-syntax-table): Init in the defvar.
2846
2847 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2850 (vc-do-command, vc-set-async-update):
2851 * vc/vc-mtn.el (vc-mtn-dir-status):
2852 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2853 (vc-hg-pull, vc-hg-merge-branch):
2854 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2855 (vc-git-merge-branch):
2856 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2857 (vc-cvs-dir-status-files):
2858 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2859 (vc-bzr-dir-status-files):
2860 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2861 * vc/vc-annotate.el: Use lexical-binding.
2862 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2863 (vc-sentinel-movepoint): Declare.
2864 (vc-annotate): Don't use `goto-line'.
2865 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2866 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2867 (vc-sentinel-movepoint): Declare.
2868 * vc/vc-svn.el: Use lexical-binding.
2869 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2870 * vc/vc-sccs.el:
2871 * vc/vc-rcs.el: Use lexical-binding.
2872
2873 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2874 `deleted'. Don't drop errors silently.
2875
2876 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2877
2878 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2879
2880 * vc/vc.el (vc-ignore): Rewrite.
2881 (vc-default-ignore): New function.
2882 (vc-default-ignore-completion-table): Use find-ignore-file.
2883
2884 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2885 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2886 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2887 Remove. Most code moved to vc.el.
2888
2889 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2892 * net/tramp-smb.el (tramp-smb-get-file-entries):
2893 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2894 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2895
2896 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2897 Update call to it.
2898 (eww-change-select): Remove unused var `properties'.
2899 (eww-make-unique-file-name): Remove unused var `base'.
2900
2901 * finder.el (finder-compile-keywords): Don't mess with windows.
2902
2903 * calculator.el (calculator-funcall): Fix typo in last change.
2904
2905 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2906
2907 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2908 <pkg>-autoloads.el file stop us.
2909
2910 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2911 warnings, and factor out common code.
2912
2913 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2914
2915 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2916 two-character operators and whether the character preceding them
2917 changes their meaning (Bug#15208).
2918
2919 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2920
2921 Format code sent to Python shell for robustness.
2922 * progmodes/python.el (python-shell-buffer-substring):
2923 New function.
2924 (python-shell-send-region, python-shell-send-buffer): Use it.
2925
2926 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2927
2928 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2929 * net/tramp.el (tramp-user-error): ... here.
2930 (tramp-find-method, tramp-check-proper-host)
2931 (tramp-dissect-file-name, tramp-debug-message)
2932 (tramp-handle-shell-command):
2933 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2934 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2935
2936 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2937
2938 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2939
2940 * avoid.el (mouse-avoidance-point-position)
2941 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2942 returns nil.
2943
2944 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2945
2946 * progmodes/python.el (python-shell-completion-get-completions):
2947 Drop use of deleted `comint-last-prompt-overlay'.
2948 (python-nav-if-name-main): New command.
2949
2950 2013-09-01 Glenn Morris <rgm@gnu.org>
2951
2952 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2953 Avoid leading space in $wins. Otherwise the sed command used by
2954 eg compile-main ends up containing "/*.el". (Bug#15170)
2955
2956 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2957
2958 2013-08-30 Glenn Morris <rgm@gnu.org>
2959
2960 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2961 Fix is-this-a-directory logic. (Bug#15220)
2962
2963 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * textmodes/css-mode.el: Use SMIE.
2966 (css-smie-grammar): New var.
2967 (css-smie--forward-token, css-smie--backward-token)
2968 (css-smie-rules): New functions.
2969 (css-mode): Use them.
2970 (css-navigation-syntax-table): Remove var.
2971 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2972 (css-indent-calculate, css-indent-line): Remove functions.
2973
2974 Misc changes to reduce use of `(lambda...); and other cleanups.
2975 * cus-edit.el: Use lexical-binding.
2976 (customize-push-and-save, customize-apropos)
2977 (custom-buffer-create-internal): Use closures.
2978 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2979 * progmodes/ada-xref.el: Use setq.
2980 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2981 * dframe.el: Use lexical-binding.
2982 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2983 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2984 * descr-text.el: Use lexical-binding.
2985 (describe-text-widget, describe-text-sexp, describe-property-list):
2986 Use closures.
2987 * comint.el (comint-history-isearch-push-state): Use a closure.
2988 * calculator.el: Use lexical-binding.
2989 (calculator-number-to-string): Make it work with lexical-binding.
2990 (calculator-funcall): Same and use cl-letf.
2991
2992 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2993 (lisp--company-doc-string, lisp--company-location): New functions.
2994 (lisp-completion-at-point): Use them to improve Company support.
2995
2996 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2997 params of lambda expressions.
2998 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2999 (ruby-smie--opening-pipe-p): New function.
3000 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3001 symbols and matched |...| for formal params.
3002 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3003 from being treated as hanging. Handle "rescue".
3004
3005 2013-08-29 Glenn Morris <rgm@gnu.org>
3006
3007 * progmodes/cc-engine.el (c-pull-open-brace):
3008 Move definition before use.
3009
3010 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3013 are immutable. Don't use `unsafe' any more.
3014 (cl--defsubst-expand): Don't substitute at the same time as keeping
3015 a residual unused let-binding. Don't use `unsafe' any more.
3016
3017 2013-08-29 Glenn Morris <rgm@gnu.org>
3018
3019 * calendar/cal-china.el (calendar-chinese-year-cache):
3020 Recenter on 2015.
3021
3022 * nxml/nxml-util.el (nxml-debug-clear-inside):
3023 Use cl-loop rather than loop.
3024
3025 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3026
3027 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3028
3029 2013-08-28 Glenn Morris <rgm@gnu.org>
3030
3031 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3032
3033 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3034
3035 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3036
3037 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * simple.el (repeat-complex-command--called-interactively-skip):
3040 New function.
3041 (repeat-complex-command): Use it (bug#14136).
3042
3043 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3044 (c-define-abbrev-table): Add `doc' argument.
3045 (c-mode-abbrev-table, c++-mode-abbrev-table)
3046 (objc-mode-abbrev-table, java-mode-abbrev-table)
3047 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3048 (awk-mode-abbrev-table): Use it.
3049 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3050 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3051 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3052 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3053 Move initialization into the declaration; and remove any
3054 autoload cookie.
3055
3056 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3057 and dynamic let binding.
3058
3059 * vc/smerge-mode.el: Remove redundant :group args.
3060
3061 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3062 to load-path.
3063
3064 2013-08-28 Juri Linkov <juri@jurta.org>
3065
3066 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3067 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3068 (isearch-other-meta-char): Handle an undefined shifted printing
3069 character by downshifting it. (Bug#15200)
3070
3071 2013-08-28 Juri Linkov <juri@jurta.org>
3072
3073 * isearch.el (isearch-search): Change regexp error message for
3074 non-regexp searches. (Bug#15166)
3075
3076 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3077
3078 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3079 for portability to hosts where /bin/sh has problems.
3080
3081 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3084
3085 2013-08-27 Juri Linkov <juri@jurta.org>
3086
3087 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3088 in the keyboard macro. (Bug#15126)
3089
3090 2013-08-27 Juri Linkov <juri@jurta.org>
3091
3092 * isearch.el (isearch-quote-char): Comment out converting unibyte
3093 to multibyte, thus syncing with its `quoted-insert' counterpart.
3094 (Bug#15166)
3095
3096 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3097
3098 * window.el (display-buffer-use-some-window): Add missing
3099 argument in call of get-largest-window (Bug#15185).
3100 Reported by Stephen Leake.
3101
3102 2013-08-27 Glenn Morris <rgm@gnu.org>
3103
3104 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3105
3106 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3109 from a matcher-function unless there's no more matches (bug#15161).
3110
3111 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3112
3113 * minibuffer.el: Revert change from 2013-08-20.
3114
3115 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3116 with text property `tramp-default', if appropriate.
3117 (tramp-check-proper-host): New defun.
3118 (tramp-dissect-file-name): Do not check hostname. Revert change
3119 of 2013-03-18.
3120 (tramp-backtrace): Make VEC-OR-PROC optional.
3121
3122 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3123 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3124 * net/tramp-sh.el (tramp-maybe-open-connection):
3125 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3126 Apply `tramp-check-proper-host'.
3127
3128 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3129
3130 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3131 lambda expression in order to have `describe-variable' display it.
3132
3133 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3136 BUF can be optional. (Bug#15186)
3137
3138 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3139
3140 * progmodes/flymake.el (flymake-get-real-file-name-function):
3141 Fix broken customization. (Bug#15184)
3142
3143 2013-08-25 Alan Mackenzie <acm@muc.de>
3144
3145 Improve indentation of bracelists defined by macros (without "=").
3146
3147 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3148 expansion begins with "{", regard it as bracelist when it doesn't
3149 contain a ";".
3150
3151 Parse C++ inher-intro when there's a template split over 2 lines.
3152
3153 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3154 rigorously the search for "class" etc. followed by ":".
3155
3156 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3157 random languages a regexp which never matches rather than nil.
3158
3159 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3160
3161 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3162 (c-awk-regexp-one-line-possibly-open-char-list-re)
3163 (c-awk-one-line-possibly-open-regexp-re)
3164 (c-awk-one-line-non-syn-ws*-re): Remove.
3165 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3166 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3167 (c-awk-space*-unclosed-regexp-/-re): New constants.
3168 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3169 aren't regexp delimiters.
3170
3171 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3172 handling for a rare situation in AWK Mode involving unterminated
3173 strings/regexps.
3174
3175 2013-08-23 Glenn Morris <rgm@gnu.org>
3176
3177 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3178
3179 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3180
3181 * files.el (create-file-buffer): If the result would begin with
3182 spaces, prepend a "|" instead of removing them. (Bug#15162)
3183
3184 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3187 text-properties (bug#15155).
3188
3189 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3190 exist any more.
3191 (calc-keypad-redraw): Remove unused var `pad'.
3192 (calc-keypad-press): Remove unused var `menu'.
3193
3194 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3195
3196 * window.el (display-buffer-pop-up-frame):
3197 Call pop-up-frame-function with BUFFER current so `make-frame' will
3198 use it as the new frame's buffer (Bug#15133).
3199
3200 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * calendar/timeclock.el: Minor cleanups.
3203 (timeclock-ask-before-exiting, timeclock-use-display-time):
3204 Use `symbol'.
3205 (timeclock-modeline-display): Define as alias before the
3206 actual definition.
3207 (timeclock-mode-line-display): Use define-minor-mode.
3208 (timeclock-day-list-template): Make it a function, add an argument.
3209 (timeclock-day-list-required, timeclock-day-list-length)
3210 (timeclock-day-list-debt, timeclock-day-list-span)
3211 (timeclock-day-list-break): Adjust calls accordingly.
3212
3213 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3216 Use read--expression so that completion works again.
3217
3218 2013-08-21 Sam Steingold <sds@gnu.org>
3219
3220 Add rudimentary inferior shell interaction
3221 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3222 (sh-set-shell): Reset it.
3223 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3224 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3225
3226 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * align.el: Use lexical-binding.
3229 (align-region): Simplify accordingly.
3230
3231 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3234
3235 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3236 `non-essential' up.
3237
3238 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3239
3240 * net/tramp.el:
3241 * net/tramp-adb.el:
3242 * net/tramp-cmds.el:
3243 * net/tramp-ftp.el:
3244 * net/tramp-gvfs.el:
3245 * net/tramp-gw.el:
3246 * net/tramp-sh.el: Don't wrap external variable declarations by
3247 `eval-when-compile'.
3248
3249 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3250
3251 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3252 now that Emacs supports ImageMagick animations.
3253
3254 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3257 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3258
3259 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3260
3261 * window.el (mouse-autoselect-window-select): Do autoselect when
3262 mouse pointer is on margin.
3263
3264 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3265
3266 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3267
3268 2013-08-16 Glenn Morris <rgm@gnu.org>
3269
3270 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3271 Handle "Remote Directory" response of some clients. (Bug#15058)
3272
3273 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3274 Tweak warning. (Bug#14926)
3275
3276 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3277 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3278
3279 * image-mode.el (image-mode-map): Add menu items to reverse,
3280 increase, decrease, reset animation speed.
3281 (image--set-speed, image-increase-speed, image-decrease-speed)
3282 (image-reverse-speed, image-reset-speed): New functions.
3283 (image-mode-map): Add bindings for speed commands.
3284
3285 * image.el (image-animate-get-speed, image-animate-set-speed):
3286 New functions.
3287 (image-animate-timeout): Respect image :speed property.
3288
3289 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3292 previous line (bug#15101).
3293 (debugger-eval-expression, debugger-record-expression):
3294 Use read--expression (bug#15102).
3295
3296 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3297
3298 Remove byte compiler warnings, visible when compiling with
3299 `byte-compile-force-lexical-warnings' set to t.
3300
3301 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3302 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3303 (tramp-handle-unhandled-file-name-directory)
3304 (tramp-handle-file-notify-add-watch, tramp-action-login)
3305 (tramp-action-succeed, tramp-action-permission-denied)
3306 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3307 arguments with "_".
3308
3309 * net/tramp-adb.el (tramp-adb-parse-device-names)
3310 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3311 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3312 (tramp-adb-handle-file-truename): Remove unused arguments.
3313
3314 * net/tramp-cache.el (tramp-flush-directory-property)
3315 (tramp-flush-connection-property, tramp-list-connections)
3316 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3317
3318 * net/tramp-compat.el (tramp-compat-make-temp-file):
3319 Rename FILENAME to F.
3320
3321 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3322 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3323 (tramp-zeroconf-parse-workstation-device-names)
3324 (tramp-zeroconf-parse-webdav-device-names)
3325 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3326
3327 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3328 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3329
3330 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3331 arguments.
3332 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3333 (tramp-sh-handle-insert-file-contents-literally)
3334 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3335 with "_".
3336 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3337 Remove unused variables.
3338
3339 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3340 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3341 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3342
3343 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3344 Make them a defconst.
3345 (tramp-uuencode-region): Remove unused variable.
3346
3347 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3348
3349 * frameset.el (frameset--prop-setter): New function.
3350 (frameset-prop): Add gv-setter declaration.
3351 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3352 parameter was already set in FILTERED. Doc fix.
3353 (frameset--record-minibuffer-relationships): Allow saving a
3354 minibufferless frame without its corresponding minibuffer frame.
3355 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3356 frame, if the frame id matches.
3357 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3358 frames before orphaned ones.
3359 (frameset-restore): Warn about orphaned windows, instead of error out.
3360
3361 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3362
3363 * window.el (window-make-atom): Don't overwrite parameter
3364 already present.
3365 (display-buffer-in-atom-window): Handle special case where we
3366 split an already atomic window.
3367 (window--major-non-side-window, display-buffer-in-side-window)
3368 (window--side-check): Ignore minibuffer window when walking
3369 window tree.
3370 (window-deletable-p): Return 'frame only if no other frame uses
3371 our minibuffer window.
3372 (record-window-buffer): Run buffer-list-update-hook.
3373 (split-window): Make sure window--check-frame won't destroy an
3374 existing atomic window in case the new window gets nested
3375 inside.
3376 (display-buffer-at-bottom): Ignore minibuffer window when
3377 walking window tree. Don't split a side window.
3378 (pop-to-buffer): Don't set-buffer here, the select-window call
3379 should do that.
3380 (mouse-autoselect-window-select): Autoselect only if we are in the
3381 text portion of the window.
3382
3383 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3384
3385 * net/shr.el (shr-parse-image-data): New function to grab both the
3386 data itself and the Content-Type.
3387 (shr-put-image): Use it.
3388
3389 * net/eww.el (eww-display-image): Ditto.
3390
3391 * image.el (image-content-type-suffixes): New variable.
3392
3393 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3394
3395 * progmodes/python.el (python-imenu--build-tree)
3396 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3397
3398 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3399
3400 * simple.el (backward-word): Mention the optional argument.
3401
3402 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * frameset.el (frameset--make): Rename constructor from make-frameset.
3405 (frameset-p, frameset-valid-p): Don't autoload.
3406 (frameset-valid-p): Use normal accessors.
3407
3408 2013-08-13 Glenn Morris <rgm@gnu.org>
3409
3410 * progmodes/compile.el (compile-command): Tweak example in doc.
3411 * obsolete/scribe.el (scribe-mode):
3412 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3413
3414 * mail/feedmail.el (feedmail-confirm-outgoing)
3415 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3416
3417 * cus-start.el (truncate-partial-width-windows): Fix type.
3418
3419 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3420
3421 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3422
3423 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * emacs-lisp/timer.el (timer--time-setter): New function.
3426 (timer--time): Use it as gv-setter.
3427
3428 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3429 setter is not a symbol.
3430
3431 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3432
3433 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3434 if sending fails. This makes debugging easier.
3435
3436 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3437
3438 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3439 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3440 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3441
3442 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3443
3444 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3445
3446 2013-08-12 Glenn Morris <rgm@gnu.org>
3447
3448 * format.el (format-annotate-function):
3449 Handle read-only text properties in the source. (Bug#14887)
3450
3451 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3452
3453 * net/eww.el (eww-display-html): Ignore coding system errors.
3454 One web site uses "utf-8lias" as the coding system.
3455
3456 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3457
3458 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3459
3460 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3461
3462 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3463 (tutorial--detailed-help): Remove unused local variables.
3464 (tutorial--save-tutorial-to): Use ignore-errors.
3465 (help-with-tutorial): Use looking-at-p.
3466
3467 * view.el (view-buffer-other-window, view-buffer-other-frame):
3468 Mark unused arguments.
3469
3470 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3471 (woman-select-symbol-fonts, woman, woman-find-file)
3472 (woman-insert-file-contents, woman-non-underline-faces):
3473 Use string-match-p.
3474 (woman1-unquote): Move declaration.
3475
3476 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3477 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3478 argument. Remove unused local variable.
3479 (xml-parse-elem-type): Use string-match-p.
3480 (xml-substitute-numeric-entities): Use ignore-errors.
3481
3482 * calculator.el (calculator): Mark unused argument.
3483 (calculator-paste, calculator-quit, calculator-integer-p):
3484 Use ignore-errors.
3485 (calculator-string-to-number, calculator-decimal, calculator-exp)
3486 (calculator-op-or-exp): Use string-match-p.
3487
3488 * dired.el (dired-buffer-more-recently-used-p): Declare.
3489 (dired-insert-set-properties, dired-insert-old-subdirs):
3490 Use ignore-errors.
3491
3492 * dired-aux.el (dired-compress): Use ignore-errors.
3493 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3494 (dired-do-async-shell-command, dired-do-shell-command)
3495 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3496 (dired-insert-subdir-validate): Use string-match-p.
3497 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3498 (dired-add-entry): Use string-match-p, looking-at-p.
3499 (dired-insert-subdir-newpos): Remove unused local variable.
3500
3501 * filenotify.el (file-notify-callback): Remove unused local variable.
3502
3503 * filesets.el (filesets-error): Mark unused argument.
3504 (filesets-which-command-p, filesets-filter-dir-names)
3505 (filesets-directory-files, filesets-get-external-viewer)
3506 (filesets-ingroup-get-data): Use string-match-p.
3507
3508 * find-file.el (ff-other-file-name, ff-other-file-name)
3509 (ff-find-the-other-file, ff-cc-hh-converter):
3510 Remove unused local variables.
3511 (ff-get-file-name): Use string-match-p.
3512 (ff-all-dirs-under): Use ignore-errors.
3513
3514 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3515 (follow-select-if-visible): Remove unused local variable.
3516
3517 * forms.el (read-file-filter): Move declaration.
3518 (forms--make-format, forms--make-parser, forms-insert-record):
3519 Quote function with #'.
3520 (forms--update): Use string-match-p. Quote function with #'.
3521
3522 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3523 (help-make-xrefs): Use looking-at-p.
3524 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3525
3526 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3527 (ibuffer-confirm-operation-on): Use string-match-p.
3528
3529 * msb.el (msb-item-handler, msb-dired-item-handler):
3530 Mark unused arguments.
3531
3532 * ses.el (ses-decode-cell-symbol)
3533 (ses-kill-override): Remove unused local variable.
3534 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3535 (ses-load): Use ignore-errors, looking-at-p.
3536 (ses-jump-safe): Use ignore-errors.
3537 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3538
3539 * tabify.el (untabify, tabify): Mark unused arguments.
3540
3541 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3542 Mark unused argument.
3543 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3544 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3545
3546 * emacs-lisp/timer.el (timer--time): Define setter with
3547 gv-define-setter to avoid deprecation warning.
3548
3549 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3550 (*record-cmpl-statistics-p*): Remove (was commented out).
3551 (cmpl-statistics-block): Remove (body was commented out).
3552 All callers changed.
3553 (add-completions-from-buffer, load-completions-from-file):
3554 Remove unused variables.
3555
3556 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3557
3558 * filecache.el (file-cache-delete-file-list):
3559 Print message only when told so.
3560 (file-cache-files-matching): Use #' in mapconcat argument.
3561
3562 * ffap.el (ffap-url-at-point): Fix reference to variable
3563 thing-at-point-default-mail-uri-scheme.
3564
3565 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * subr.el (define-error): New function.
3568 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3569 error-file-not-found and define with define-error.
3570 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3571 and define with define-error.
3572 * userlock.el (file-locked, file-supersession):
3573 * simple.el (mark-inactive):
3574 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3575 * progmodes/ada-mode.el (ada-mode-errors):
3576 * play/life.el (life-extinct):
3577 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3578 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3579 * nxml/rng-util.el (rng-error):
3580 * nxml/rng-uri.el (rng-uri-error):
3581 * nxml/rng-match.el (rng-compile-error):
3582 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3583 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3584 * nxml/nxml-rap.el (nxml-scan-error):
3585 * nxml/nxml-outln.el (nxml-outline-error):
3586 * net/soap-client.el (soap-error):
3587 * net/gnutls.el (gnutls-error):
3588 * net/ange-ftp.el (ftp-error):
3589 * mpc.el (mpc-proc-error):
3590 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3591 (json-number-format, json-string-escape, json-string-format)
3592 (json-key-format, json-object-format):
3593 * jka-compr.el (compression-error):
3594 * international/quail.el (quail-error):
3595 * international/kkc.el (kkc-error):
3596 * emacs-lisp/ert.el (ert-test-failed):
3597 * calc/calc.el (calc-error, inexact-result, math-overflow)
3598 (math-underflow):
3599 * bookmark.el (bookmark-error-no-filename):
3600 * epg.el (epg-error): Define with define-error.
3601
3602 * time.el (display-time-event-handler)
3603 (display-time-next-load-average): Don't call sit-for since it seems
3604 unnecessary (bug#15045).
3605
3606 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3607 Use #' instead of ' to quote functions.
3608 (checkdoc-output-mode): Use setq-local.
3609 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3610 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3611 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3612 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3613 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3614 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3615 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3616 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3617
3618 * ido.el (ido-completion-help): Fix up compiler warning.
3619
3620 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3621
3622 * frameset.el (frameset-p): Add autoload cookie.
3623 (frameset--jump-to-register): New function, based on code moved from
3624 register.el.
3625 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3626
3627 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3628 (frameset-restore, frameset-save, frameset-session-filter-alist):
3629 Remove declarations.
3630 (register-alist): Doc fix.
3631 (frameset-to-register): Move to frameset.el.
3632 (jump-to-register, describe-register-1): Remove frameset-specific code.
3633
3634 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3635
3636 * allout-widgets.el (allout-widgets-pre-command-business)
3637 (allout-widgets-post-command-business)
3638 (allout-widgets-after-change-handler)
3639 (allout-decorate-item-and-context, allout-set-boundary-marker)
3640 (allout-body-modification-handler)
3641 (allout-graphics-modification-handler): Mark ignored arguments.
3642 (allout-widgets-post-command-business)
3643 (allout-widgets-exposure-change-processor)
3644 (allout-widgets-exposure-undo-processor)
3645 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3646 (allout-parse-item-at-point, allout-decorate-item-guides)
3647 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3648 * allout.el (epa-passphrase-callback-function): Declare.
3649 (allout-overlay-insert-in-front-handler)
3650 (allout-overlay-interior-modification-handler)
3651 (allout-isearch-end-handler, allout-chart-siblings)
3652 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3653 (allout-yank-processing, allout-process-exposed)
3654 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3655 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3656 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3657 (lisp-indent-defform): Mark ignored arguments.
3658 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3659 (calculate-lisp-indent): Remove unused variables.
3660 * international/characters.el (indian-2-column, arabic-2-column)
3661 (tibetan): Mark ignored arguments.
3662 (use-cjk-char-width-table): Mark ignored arguments.
3663 Remove unused variables.
3664 * international/fontset.el (build-default-fontset-data)
3665 (x-compose-font-name, create-fontset-from-fontset-spec):
3666 Mark ignored arguments.
3667 (fontset-plain-name): Remove unused variables.
3668 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3669 (keyboard-coding-system): Mark ignored arguments.
3670 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3671 * help.el (resize-temp-buffer-window):
3672 * window.el (display-buffer-in-major-side-window)
3673 (display-buffer-in-side-window, display-buffer-in-previous-window):
3674 Remove unused variables.
3675 * isearch.el (isearch-forward-symbol):
3676 * version.el (emacs-bzr-version-bzr):
3677 * international/mule-cmds.el (current-language-environment):
3678 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3679 (x-handle-display):
3680 * term/pc-win.el (x-list-fonts, x-display-planes)
3681 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3682 (x-server-version, x-display-screens, x-display-mm-height)
3683 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3684 (x-selection-owner-p, x-own-selection-internal)
3685 (x-disown-selection-internal, x-get-selection-internal)
3686 (msdos-initialize-window-system):
3687 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3688 * term/x-win.el (x-handle-no-bitmap-icon):
3689 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3690 (vc-default-find-file-hook, vc-default-extra-menu):
3691 Mark ignored arguments.
3692
3693 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3696 break-condition in the context of the debugged code (bug#12685).
3697
3698 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3699
3700 * comint.el:
3701 Do not use an overlay to highlight the last prompt. (Bug#14744)
3702 (comint-mode): Make comint-last-prompt buffer local.
3703 (comint-last-prompt): New variable.
3704 (comint-last-prompt-overlay): Remove. Superseded by
3705 comint-last-prompt.
3706 (comint-snapshot-last-prompt, comint-output-filter):
3707 Use comint-last-prompt.
3708
3709 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3710
3711 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3712 (frameset-save): Check validity of the resulting frameset.
3713
3714 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3715
3716 * ido.el (ido-record-command): Add doc string.
3717
3718 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * frameset.el (frameset): Do not disable creation of the default
3721 frameset-p predicate. Doc fix.
3722 (frameset-valid-p): New function, copied from the old predicate-p.
3723 Add additional checks.
3724 (frameset-restore): Check with frameset-valid-p.
3725 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3726 (frameset-name, frameset-description, frameset-properties)
3727 (frameset-states): Add docstring.
3728 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3729 (frameset-filter-alist): Doc fixes.
3730
3731 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3732
3733 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3734
3735 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3738 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3739 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3740 (byte-compile-normal-call): Remove obsolescence check.
3741
3742 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3743
3744 * frameset.el (frameset-restore): Doc fix.
3745
3746 * register.el (frameset-frame-id, frameset-frame-with-id)
3747 (frameset-p, frameset-restore, frameset-save): Declare.
3748 (register-alist): Document framesets.
3749 (frameset-session-filter-alist): Declare.
3750 (frameset-to-register): New function.
3751 (jump-to-register): Implement jumping to framesets. Doc fix.
3752 (describe-register-1): Describe framesets.
3753
3754 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3755
3756 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3757
3758 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3759 Use lexical-binding.
3760
3761 * frameset.el (frameset): Use type vector, not list (incompatible
3762 change). Do not declare a new constructor, use the default one.
3763 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3764 `name' and `description', respectively, and add read-only slot
3765 `timestamp'. Doc fixes.
3766 (frameset-copy, frameset-persistent-filter-alist)
3767 (frameset-filter-alist, frameset-switch-to-gui-p)
3768 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3769 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3770 (frameset-filter-iconified, frameset-keep-original-display-p):
3771 Doc fixes.
3772 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3773 Rename from frameset-filter-(save|restore)-param. All callers changed.
3774 Doc fix.
3775 (frameset-p): Adapt to change to vector and be more thorough.
3776 Change arg name to OBJECT. Doc fix.
3777 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3778 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3779 All callers changed.
3780 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3781 All callers changed.
3782 (frameset--record-minibuffer-relationships): Rename from
3783 frameset--process-minibuffer-frames. All callers changed.
3784 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3785 Use new default constructor (again). Doc fix.
3786 (frameset--find-frame-if): Rename from `frameset--find-frame.
3787 All callers changed.
3788 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3789 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3790 Doc fix.
3791 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3792 PARAMETERS and WINDOW-STATE, respectively.
3793 (frameset-restore): Add new keyword argument PREDICATE.
3794 Reset frameset--target-display to nil. Doc fix.
3795
3796 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3799 (bat-mode): Use it.
3800 (bat-mode-syntax-table): Mark \n as end-of-comment.
3801 (bat-font-lock-keywords): Remove comment rule.
3802
3803 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3804 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3805
3806 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3807 (byte-compile-callargs-warn): Use `push'.
3808 (byte-compile-arglist-warn): Ignore higher-order "calls".
3809 (byte-compile-file-form-autoload): Use `pcase'.
3810 (byte-compile-function-form): If quoting a symbol, check that it exists.
3811
3812 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3813
3814 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3815 and add a few popular commands found in batch files.
3816 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3817 (dos-mode): Doc fixes.
3818
3819 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3822 (dos-mode): Use setq-local. Add space after "rem".
3823 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3824 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3825
3826 2013-08-07 Arni Magnusson <arnima@hafro.is>
3827
3828 * progmodes/dos.el: New file.
3829 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3830 dos-mode.
3831
3832 2013-08-06 Glenn Morris <rgm@gnu.org>
3833
3834 * calendar/calendar.el: Add new faces, and day-header-array.
3835 (calendar-weekday-header, calendar-weekend-header)
3836 (calendar-month-header): New faces.
3837 (calendar-day-header-construct): New function.
3838 (calendar-day-header-width): Also :set calendar-day-header-array.
3839 (calendar-american-month-header, calendar-european-month-header)
3840 (calendar-iso-month-header): Use calendar- faces.
3841 (calendar-generate-month):
3842 Use calendar-day-header-array for day headers; apply faces to them.
3843 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3844 (calendar-abbrev-construct): Add optional maxlen argument.
3845 (calendar-day-name-array): Doc fix.
3846 (calendar-day-name-array, calendar-abbrev-length)
3847 (calendar-day-abbrev-array):
3848 Also :set calendar-day-header-array, and maybe redraw.
3849 (calendar-day-header-array): New option. (Bug#15007)
3850 (calendar-font-lock-keywords): Set to nil and make obsolete.
3851 (calendar-day-name): Add option to use header array.
3852
3853 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3854
3855 * net/shr.el (shr-render-td): Remove debugging.
3856 (shr-render-td): Make width computation consistent by defaulting
3857 all zero-width columns to 10 characters. This may not be optimal,
3858 but it's at least consistent.
3859 (shr-make-table-1): Redo last change to fix the real problem in
3860 colspan handling.
3861
3862 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3863
3864 * files.el (cache-long-line-scans):
3865 Make obsolete alias to `cache-long-scans'.
3866
3867 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * frameset.el (frameset, frameset-filter-alist)
3870 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3871 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3872 (frameset-compute-pos): Rename from frameset--compute-pos,
3873 and add docstring.
3874 (frameset-move-onscreen): Use frameset-compute-pos.
3875 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3876
3877 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3878 Fix typos in docstrings.
3879
3880 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3881
3882 * frame.el (get-other-frame): Tiny cleanup.
3883
3884 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3885
3886 * vc/vc.el (vc-default-ignore-completion-table):
3887 Silence byte-compiler warning.
3888
3889 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3890 slot , which can indeed be nil.
3891 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3892 Move entry for `left' from persistent to live filter alist.
3893 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3894 Doc fixes.
3895 (frameset-filter-params): When restoring a frame, copy items added to
3896 `filtered', to avoid unwittingly modifying the original parameters.
3897 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3898 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3899
3900 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3901 to use looking-at-p instead of looking-at. (Bug#15028)
3902
3903 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 Revert introduction of isearch-filter-predicates (bug#14714).
3906 Rely on add-function instead.
3907 * isearch.el (isearch-filter-predicates): Rename it back to
3908 isearch-filter-predicate.
3909 (isearch-message-prefix): Use advice-function-mapc and advice
3910 properties to get the isearch-message-prefix.
3911 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3912 instead of run-hook-with-args-until-failure.
3913 (isearch-filter-visible): Not obsolete any more.
3914 * loadup.el: Preload nadvice.
3915 * replace.el (perform-replace): Revert to funcall
3916 instead of run-hook-with-args-until-failure.
3917 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3918 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3919 dired-isearch-filenames-toggle; make it into a proper minor mode.
3920 Use add/remove-function.
3921 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3922 Call the minor-mode rather than add/remove-hook.
3923 (dired-isearch-filter-filenames):
3924 Remove isearch-message-prefix property.
3925 * info.el (Info--search-loop): New function, extracted from Info-search.
3926 Funcall isearch-filter-predicate instead of
3927 run-hook-with-args-until-failure isearch-filter-predicates.
3928 (Info-search): Use it.
3929 (Info-mode): Use isearch-filter-predicate instead of
3930 isearch-filter-predicates.
3931
3932 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3933
3934 Do not call to `selected-window' where it is assumed by default.
3935 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3936 `window-hscroll', `window-width', `window-height', `window-buffer',
3937 `window-frame', `window-start', `window-point', `next-window'
3938 and `window-display-table'.
3939 * abbrev.el (abbrev--default-expand):
3940 * bs.el (bs--show-with-configuration):
3941 * buff-menu.el (Buffer-menu-mouse-select):
3942 * calc/calc.el (calc):
3943 * calendar/calendar.el (calendar-generate-window):
3944 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3945 (diary-make-entry):
3946 * comint.el (send-invisible, comint-dynamic-complete-filename)
3947 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3948 * completion.el (complete):
3949 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3950 * disp-table.el (describe-current-display-table):
3951 * doc-view.el (doc-view-insert-image):
3952 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3953 * ehelp.el (with-electric-help):
3954 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3955 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3956 * emacs-lisp/helper.el (Helper-help-scroller):
3957 * emulation/cua-base.el (cua--post-command-handler-1):
3958 * eshell/esh-mode.el (eshell-output-filter):
3959 * ffap.el (ffap-gnus-wrapper):
3960 * help-macro.el (make-help-screen):
3961 * hilit-chg.el (highlight-compare-buffers):
3962 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3963 * hl-line.el (global-hl-line-highlight):
3964 * icomplete.el (icomplete-simple-completing-p):
3965 * isearch.el (isearch-done):
3966 * jit-lock.el (jit-lock-stealth-fontify):
3967 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3968 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3969 * mpc.el (mpc-tagbrowser, mpc):
3970 * net/rcirc.el (rcirc-any-buffer):
3971 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3972 * play/landmark.el (landmark-max-width, landmark-max-height):
3973 * play/zone.el (zone):
3974 * progmodes/compile.el (compilation-goto-locus):
3975 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3976 * progmodes/etags.el (find-tag-other-window):
3977 * progmodes/fortran.el (fortran-column-ruler):
3978 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3979 * progmodes/verilog-mode.el (verilog-point-text):
3980 * reposition.el (reposition-window):
3981 * rot13.el (toggle-rot13-mode):
3982 * server.el (server-switch-buffer):
3983 * shell.el (shell-dynamic-complete-command)
3984 (shell-dynamic-complete-environment-variable):
3985 * simple.el (insert-buffer, set-selective-display)
3986 (delete-completion-window):
3987 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3988 (speedbar-recenter):
3989 * startup.el (fancy-splash-head):
3990 * textmodes/ispell.el (ispell-command-loop):
3991 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3992 * tutorial.el (help-with-tutorial):
3993 * vc/add-log.el (add-change-log-entry):
3994 * vc/compare-w.el (compare-windows):
3995 * vc/ediff-help.el (ediff-indent-help-message):
3996 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3997 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3998 (ediff-setup-control-frame):
3999 * vc/emerge.el (emerge-position-region):
4000 * vc/pcvs-util.el (cvs-bury-buffer):
4001 * window.el (walk-windows, mouse-autoselect-window-select):
4002 * winner.el (winner-set-conf, winner-undo): Related users changed.
4003
4004 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4005
4006 * frameset.el (frameset--set-id): Doc fix.
4007 (frameset-frame-id, frameset-frame-id-equal-p)
4008 (frameset-locate-frame-id): New functions.
4009 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4010 (frameset-restore): Use them.
4011
4012 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4013
4014 Do not call to `selected-frame' where it is assumed by default.
4015 Affected functions are `raise-frame', `redraw-frame',
4016 `frame-first-window', `frame-terminal' and `delete-frame'.
4017 * calendar/appt.el (appt-disp-window):
4018 * epg.el (epg-wait-for-completion):
4019 * follow.el (follow-delete-other-windows-and-split)
4020 (follow-avoid-tail-recenter):
4021 * international/mule.el (set-terminal-coding-system):
4022 * mail/rmail.el (rmail-mail-return):
4023 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4024 * progmodes/f90.el (f90-add-imenu-menu):
4025 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4026 * server.el (server-switch-buffer):
4027 * simple.el (delete-completion-window):
4028 * talk.el (talk):
4029 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4030 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4031 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4032 * vc/ediff.el (ediff-documentation): Related users changed.
4033 * frame.el (selected-terminal): Remove the leftover.
4034
4035 2013-08-05 Glenn Morris <rgm@gnu.org>
4036
4037 * calendar/calendar.el (calendar-generate-month):
4038 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4039 (calendar-generate-month, calendar-font-lock-keywords):
4040 Fix for calendar-day-header-width > length of any day name.
4041
4042 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4043
4044 * desktop.el (desktop-clear): Use new name of sort predicate.
4045
4046 * frameset.el (frameset): Add docstring. Move :version property to its
4047 own `version' slot.
4048 (frameset-copy): Rename from copy-frameset.
4049 (frameset-p): Check more thoroughly.
4050 (frameset-prop): Do not check for :version, which is no longer a prop.
4051 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4052 Use new :never value instead of t.
4053 (frameset-filter-alist): Expand and clarify docstring.
4054 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4055 (frameset-filter-minibuffer, frameset-filter-save-param)
4056 (frameset-filter-restore-param, frameset-filter-iconified):
4057 Add pointer to docstring of frameset-filter-alist.
4058 (frameset-filter-params): Rename filter values to be more meaningful:
4059 :never instead of t, and reverse the meanings of :save and :restore.
4060 (frameset--process-minibuffer-frames): Clarify error message.
4061 (frameset-save): Avoid unnecessary and confusing call to framep.
4062 Use new BOA constructor for framesets.
4063 (frameset--reuse-list): Doc fix.
4064 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4065 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4066 (frameset-minibufferless-first-p): Doc fix.
4067 Rename from frameset-sort-frames-for-deletion.
4068 (frameset-restore): Doc fixes. Use new function names.
4069 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4070
4071 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * desktop.el (desktop-restore-forces-onscreen)
4074 (desktop-restore-reuses-frames): Document :keyword constant values.
4075 (desktop-filter-parameters-alist): Remove, now identical to
4076 frameset-filter-alist.
4077 (desktop--filter-tty*): Remove, moved to frameset.el.
4078 (desktop-save-frameset, desktop-restore-frameset):
4079 Do not pass :filters argument.
4080
4081 * frameset.el (frameset-live-filter-alist)
4082 (frameset-persistent-filter-alist): New variables.
4083 (frameset-filter-alist): Use them. Add autoload cookie.
4084 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4085 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4086 `frameset--id' (it's supposed to be internal to frameset.el).
4087 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4088 (frameset--initial-params): New function.
4089 (frameset--get-frame): Use it. Doc fix.
4090 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4091 Accept :all, not 'all.
4092 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4093 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4094 with fbound symbols. Fix frame id matching, and remove matching ids if
4095 the frame being restored is deleted. Obey :delete.
4096
4097 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * subr.el (macrop): New function.
4100 (text-clone--maintaining): New var.
4101 (text-clone--maintain): Rename from text-clone-maintain. Use it
4102 instead of inhibit-modification-hooks.
4103
4104 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4105 a proxy, so as handle autoloads and redefinitions of the target.
4106 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4107
4108 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4109 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4110 (pcase--mutually-exclusive-p): New function.
4111 (pcase--split-consp): Use it.
4112 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4113 mutually exclusive with the current predicate.
4114
4115 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4116 (edebug-macrop): Remove. Use `macrop' instead.
4117 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4118 (ad-macro-p):
4119 * eshell/esh-cmd.el (eshell-macrop):
4120 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4121
4122 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4125 (advice-mapc): New function, using it.
4126 (advice-function-member-p): New function.
4127 (advice--normalize): Store the cdr in advice--saved-rewrite since
4128 that's the part that will be changed.
4129 (advice--symbol-function): New function.
4130 (advice-remove): Handle removal before the function is defined.
4131 Adjust to new advice--saved-rewrite.
4132 (advice-member-p): Use advice-function-member-p and
4133 advice--symbol-function.
4134
4135 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4136
4137 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4138 (frameset-filter-minibuffer): Doc fix.
4139 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4140 (frameset--set-id, frameset--process-minibuffer-frames)
4141 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4142 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4143
4144 * desktop.el (desktop-clear): Only delete frames when called
4145 interactively and desktop-restore-frames is non-nil. Doc fix.
4146 (desktop-read): Set desktop-saved-frameset to nil.
4147
4148 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4149
4150 * vc/vc.el (vc-ignore): Rewrite.
4151 (vc-default-ignore-completion-table):
4152 (vc--read-lines):
4153 (vc--add-line, vc--remove-regexp): New functions.
4154
4155 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4156 (vc-svn-ignore-completion-table): New function.
4157
4158 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4159 (vc-hg-ignore-completion-table):
4160 (vc-hg-find-ignore-file): New functions.
4161
4162 * vc/vc-git.el (vc-git-ignore): Rewrite.
4163 (vc-git-ignore-completion-table):
4164 (vc-git-find-ignore-file): New functions.
4165
4166 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4167
4168 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4169 (vc-bzr-ignore-completion-table):
4170 (vc-bzr-find-ignore-file): New functions.
4171
4172 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4173
4174 * frameset.el (frameset-prop): New function and setter.
4175 (frameset-save): Do not modify frame list passed by the caller.
4176
4177 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4180
4181 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4184 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4185
4186 * custom.el (custom-initialize-default, custom-initialize-set)
4187 (custom-initialize-reset, custom-initialize-changed): Affect the
4188 toplevel-default-value (bug#6275, bug#14586).
4189 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4190 for bug#6275.
4191
4192 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4193
4194 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4195 Add cl-def* expressions.
4196
4197 * frameset.el (frameset-filter-params): Fix order of arguments.
4198
4199 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4200
4201 Move code related to saving frames to frameset.el.
4202 * desktop.el: Require frameset.
4203 (desktop-restore-frames): Doc fix.
4204 (desktop-restore-reuses-frames): Rename from
4205 desktop-restoring-reuses-frames.
4206 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4207 (desktop-clear): Clear frames too.
4208 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4209 (desktop--filter-tty*, desktop-save, desktop-read):
4210 Use frameset functions.
4211 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4212 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4213 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4214 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4215 (desktop--process-minibuffer-frames, desktop-save-frames)
4216 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4217 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4218 (desktop--sort-states, desktop-restoring-frames-p)
4219 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4220 (desktop-restoring-frameset-p, desktop-restore-frameset)
4221 (desktop--check-dont-save, desktop-save-frameset): New functions.
4222 (desktop--app-id): New constant.
4223 (desktop-first-buffer, desktop-buffer-ok-count)
4224 (desktop-buffer-fail-count): Move before first use.
4225 * frameset.el: New file.
4226
4227 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * files.el: Use lexical-binding.
4230 (dir-locals-read-from-file): Remove unused `err' variable.
4231 (hack-dir-local-variables--warned-coding): New var.
4232 (hack-dir-local-variables): Use it to avoid repeated warnings.
4233 (make-backup-file-name--default-function): New function.
4234 (make-backup-file-name-function): Use it as default.
4235 (buffer-stale--default-function): New function.
4236 (buffer-stale-function): Use it as default.
4237 (revert-buffer-insert-file-contents--default-function): New function.
4238 (revert-buffer-insert-file-contents-function): Use it as default.
4239 (insert-directory): Avoid add-to-list.
4240
4241 * autorevert.el (auto-revert-handler): Simplify.
4242 Use buffer-stale--default-function.
4243
4244 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4245
4246 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4247
4248 * whitespace.el (whitespace-ensure-local-variables): New function.
4249 (whitespace-cleanup-region): Call it.
4250 (whitespace-turn-on): Call it.
4251
4252 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4253
4254 Complete file name handlers.
4255
4256 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4257 (tramp-handle-verify-visited-file-modtime)
4258 (tramp-handle-file-notify-rm-watch): New functions.
4259 (tramp-call-process): Do not bind `default-directory'.
4260
4261 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4262 Order alphabetically.
4263 [access-file, add-name-to-file, dired-call-process]:
4264 [dired-compress-file, file-acl, file-notify-rm-watch]:
4265 [file-ownership-preserved-p, file-selinux-context]:
4266 [make-directory-internal, make-symbolic-link, set-file-acl]:
4267 [set-file-selinux-context, set-visited-file-modtime]:
4268 [verify-visited-file-modtime]: Add handler.
4269 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4270
4271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4272 [file-notify-add-watch, file-notify-rm-watch]:
4273 [set-file-times, set-visited-file-modtime]:
4274 [verify-visited-file-modtime]: Add handler.
4275 (with-tramp-gvfs-error-message)
4276 (tramp-gvfs-handle-set-visited-file-modtime)
4277 (tramp-gvfs-fuse-file-name): Remove.
4278 (tramp-gvfs-handle-file-notify-add-watch)
4279 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4280 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4281
4282 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4283 Order alphabetically.
4284 [file-notify-rm-watch ]: Use default Tramp handler.
4285 [executable-find]: Remove private handler.
4286 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4287 `default-directory'.
4288 (tramp-sh-handle-executable-find)
4289 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4290 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4291 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4292 Do not use `format' in `tramp-message'.
4293
4294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4295 [file-notify-rm-watch, set-visited-file-modtime]:
4296 [verify-visited-file-modtime]: Add handler.
4297 (tramp-smb-call-winexe): Do not bind `default-directory'.
4298
4299 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4300
4301 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4302
4303 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4304
4305 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4306 use it.
4307 (log-view-diff-changeset): Same.
4308 (log-view-diff-common): Call backend command `previous-revision'
4309 to find out the previous revision, in both cases. Swap the
4310 variables `to' and `fr', so that `fr' usually refers to the
4311 earlier revision (Bug#14989).
4312
4313 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4314
4315 * ibuf-ext.el (ibuffer-filter-by-filename):
4316 Make it work with dired buffers too.
4317
4318 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4319
4320 * emacs-lisp/re-builder.el (reb-color-display-p):
4321 * files.el (save-buffers-kill-terminal):
4322 * net/browse-url.el (browse-url):
4323 * server.el (server-save-buffers-kill-terminal):
4324 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4325 Prefer nil to selected-frame for the first arg of frame-parameter.
4326
4327 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4328
4329 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4330
4331 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4332
4333 * minibuffer.el (completion--twq-all): Try and preserve each
4334 completion's case choice (bug#14907).
4335
4336 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4337
4338 * net/network-stream.el (open-network-stream): Mention the new
4339 :nogreeting parameter.
4340 (network-stream-open-starttls): Use the :nogreeting parameter
4341 (bug#14938).
4342
4343 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4344
4345 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4346 more natural than popping.
4347
4348 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4349 (shr-urlify): Highlight under mouse.
4350
4351 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4352
4353 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4354
4355 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4356
4357 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4358 buffer for output.
4359
4360 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4361 point-min==1. Fix search string. Fix parentheses missing.
4362
4363 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4364 assume point-min==1. Fix search string. Fix parentheses missing.
4365
4366 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4367
4368 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4369 buffer for output.
4370
4371 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4372
4373 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4374 initial frame is minibuffer-less. (Bug#14841)
4375
4376 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4377
4378 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4379 option.
4380
4381 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4382 (tramp-maybe-open-connection): Use it.
4383
4384 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4385
4386 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4387 minimal set of parameters passed when creating a frame, because
4388 the minibuffer status of a frame cannot be changed later.
4389
4390 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4391
4392 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4393 replace-regexp-in-string and inadvertent omissions in previous change.
4394 (todo-filter-items): Ensure only file names are comma-separated in
4395 name of filtered items buffer.
4396
4397 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * desktop.el: Optionally force offscreen frames back onscreen.
4400 (desktop-restoring-reuses-frames): New option.
4401 (desktop--compute-pos, desktop--move-onscreen): New functions.
4402 (desktop--make-frame): Use desktop--move-onscreen.
4403
4404 2013-07-27 Alan Mackenzie <acm@muc.de>
4405
4406 Fontify a Java generic method as a function.
4407 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4408 value to t.
4409
4410 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4411
4412 * calendar/todo-mode.el: Add command to rename todo files.
4413 (todo-rename-file): New command.
4414 (todo-key-bindings-t): Add key binding for it. Change the
4415 bindings of todo-filter-regexp-items(-multifile) to use `x'
4416 instead of `r', since the latter is better suited to the new
4417 renaming command.
4418
4419 2013-07-27 Alan Mackenzie <acm@muc.de>
4420
4421 Make Java try-with-resources statement parse properly.
4422 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4423 (c-block-stmt-1-2-key): New language constants/variables.
4424 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4425 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4426 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4427 with c-block-stmt-1-2-key.
4428
4429 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4430
4431 * desktop.el (desktop--make-frame): Apply most frame parameters after
4432 creating the frame to force (partially or totally) offscreen frames to
4433 be restored as such.
4434
4435 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4436
4437 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4438 (Bug#14948)
4439
4440 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4443 `base' arg of backtrace-frame.
4444
4445 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4446
4447 * simple.el (list-processes): Doc fix.
4448
4449 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * desktop.el (desktop--select-frame):
4452 Try harder to reuse existing frames.
4453
4454 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4457 (edebug-eval): Use backtrace-eval.
4458 (edebug--display, edebug--recursive-edit): Don't let-bind the
4459 edebug-outer-* vars that keep track of variables we locally let-bind.
4460 (edebug-outside-excursion): Don't restore outside values of locally
4461 let-bound vars.
4462 (edebug--display): Use user-error.
4463 (cl-lexical-debug, cl-debug-env): Remove.
4464
4465 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4466
4467 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4468 are restored to be sure that they are visible before deleting any
4469 remaining ones.
4470
4471 2013-07-26 Matthias Meulien <orontee@gmail.com>
4472
4473 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4474 vc-print-root-log. (Bug#14948)
4475
4476 2013-07-26 Richard Stallman <rms@gnu.org>
4477
4478 Add aliases for encrypting mail.
4479 * epa.el (epa-mail-aliases): New option.
4480 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4481 Bind inhibit-read-only so read-only text doesn't ruin everything.
4482 (epa-mail-default-recipients): New subroutine broken out.
4483 Handle epa-mail-aliases.
4484
4485 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 Add support for lexical variables to the debugger's `e' command.
4488 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4489 vars, except for debugger-outer-match-data.
4490 (debugger-frame-number): Move check for "on a function call" from
4491 callers into it. Add `skip-base' argument.
4492 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4493 (debugger-env-macro): Only reset the state stored in non-variables,
4494 i.e. current-buffer and match-data.
4495 (debugger-eval-expression): Rewrite using backtrace-eval.
4496 * subr.el (internal--called-interactively-p--get-frame): Remove.
4497 (called-interactively-p):
4498 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4499 `base' arg of backtrace-frame instead.
4500
4501 2013-07-26 Glenn Morris <rgm@gnu.org>
4502
4503 * align.el (align-regexp): Doc fix. (Bug#14857)
4504 (align-region): Explicit error if subexpression missing/does not match.
4505
4506 * simple.el (global-visual-line-mode):
4507 Do not duplicate the mode lighter. (Bug#14858)
4508
4509 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4510
4511 * window.el (display-buffer): In display-buffer bind
4512 split-window-keep-point to t, bug#14829.
4513
4514 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4515
4516 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4517 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4518 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4519 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4520 Change accordingly.
4521 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4522 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4523
4524 2013-07-25 Glenn Morris <rgm@gnu.org>
4525
4526 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4527
4528 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4529
4530 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4531 parameter to modify-frame-parameters if the value has not changed;
4532 this is a workaround for bug#14949.
4533 (desktop--make-frame): On cl-delete-if call, check parameter name,
4534 not full parameter.
4535
4536 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4537
4538 * vc/vc.el (vc-ignore): New function.
4539
4540 * vc/vc-svn.el (vc-svn-ignore): New function.
4541
4542 * vc/vc-hg.el (vc-hg-ignore): New function.
4543
4544 * vc/vc-git.el (vc-git-ignore): New function.
4545
4546 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4547 (vc-dir-ignore): New function.
4548
4549 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4550 (cvs-append-to-ignore): Move here from pcvs.el.
4551
4552 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4553
4554 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4555
4556 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4559 (desktop-restore-frames): Warn when deleting an existing frame failed.
4560
4561 2013-07-24 Glenn Morris <rgm@gnu.org>
4562
4563 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4564
4565 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4566
4567 * filenotify.el (file-notify-supported-p):
4568 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4569 Remove functions.
4570
4571 * autorevert.el (auto-revert-use-notify):
4572 (auto-revert-notify-add-watch):
4573 * net/tramp.el (tramp-file-name-for-operation):
4574 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4575 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4576 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4577 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4578 Remove `file-notify-supported-p' entry.
4579
4580 2013-07-24 Glenn Morris <rgm@gnu.org>
4581
4582 * printing.el: Replace all uses of deleted ps-windows-system,
4583 ps-lp-system, ps-flatten-list with lpr- versions.
4584
4585 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4588 checked with memq (bug#14935).
4589
4590 * files.el (revert-buffer-function): Use a non-nil default.
4591 (revert-buffer-preserve-modes): Declare var to
4592 provide access to the `preserve-modes' argument.
4593 (revert-buffer): Let-bind it.
4594 (revert-buffer--default): New function, extracted from revert-buffer.
4595
4596 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * lpr.el: Signal print errors more prominently.
4599 (print-region-function): Don't default to nil.
4600 (lpr-print-region): New function, extracted from print-region-1.
4601 Check lpr's return value and signal an error in case of problem.
4602 (print-region-1): Use it.
4603 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4604 versions instead.
4605 (ps-printer-name): Default to nil.
4606 (ps-printer-name-option): Default to lpr-printer-switch.
4607 (ps-print-region-function): Don't default to nil.
4608 (ps-postscript-code-directory): Simplify default.
4609 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4610 (ps-string-list, ps-eval-switch, ps-flatten-list)
4611 (ps-flatten-list-1): Remove.
4612 (ps-multibyte-buffer): Avoid setq.
4613 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4614 (print-region-function, ps-print-region-function): Don't set them here.
4615
4616 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4617
4618 * ido.el (ido-fractionp):
4619 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4620 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4621 (ido-max-directory-size, ido-max-dir-file-cache)
4622 (ido-decorations): Doc fix.
4623
4624 * ansi-color.el: Fix old URL.
4625
4626 2013-07-23 Michael R. Mauger <michael@mauger.com>
4627
4628 * progmodes/sql.el: Version 3.3
4629 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4630 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4631 (sql-interactive-remove-continuation-prompt): Rewrite, use
4632 functions above. Fix continuation prompt and complete output line
4633 handling.
4634 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4635 redirected output buffer.
4636 (sql-mode): Restore deleted code (Bug#13591).
4637
4638 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4639
4640 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4641
4642 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4645
4646 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4647 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4649
4650 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4651
4652 * desktop.el (desktop-clear): Simplify; remove useless checks
4653 against invalid buffer names.
4654 (desktop-list*): Use cl-list*.
4655 (desktop-buffer-info, desktop-create-buffer): Simplify.
4656
4657 2013-07-23 Leo Liu <sdl.web@gmail.com>
4658
4659 * bookmark.el (bookmark-make-record): Restore NAME as a default
4660 value. (Bug#14933)
4661
4662 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4665 extracted from autoload--insert-text.
4666 (autoload--insert-text): Remove.
4667 (autoload--print-cookie-text): New function, extracted from
4668 autoload--insert-cookie-text.
4669 (autoload--insert-cookie-text): Remove.
4670 (autoload-generate-file-autoloads): Adjust calls accordingly.
4671
4672 * winner.el (winner-hook-installed-p): Remove.
4673 (winner-mode): Simplify accordingly.
4674
4675 * subr.el (add-to-list): Fix compiler-macro when `append' is
4676 not constant. Don't use `cl-member' for the base case.
4677
4678 * progmodes/subword.el: Fix boundary case (bug#13758).
4679 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4680 own group.
4681 (subword-backward-regexp): Make it a constant.
4682 (subword-forward-internal): Don't treat a trailing capital as the
4683 beginning of a word.
4684
4685 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4686
4687 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4688 global value of tabulated-list-revert-hook (bug#14930).
4689
4690 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4691
4692 * desktop.el: Require 'cl-lib.
4693 (desktop-before-saving-frames-functions): New hook.
4694 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4695 for frames being saved. Rename from desktop--save-minibuffer-frames.
4696 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4697 Do not save frames with non-nil `desktop-dont-save' parameter.
4698 Filter out deleted frames.
4699 (desktop--find-frame): Use cl-find-if.
4700 (desktop--select-frame): Use cl-(first|second|third) to access values
4701 of desktop-mini.
4702 (desktop--make-frame): Use cl-delete-if.
4703 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4704 (desktop-restore-frames): Use cl-(first|second|third) to access values
4705 of desktop-mini. Look for visible frame at the end, not while
4706 restoring frames.
4707
4708 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4709 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4710 Use string-match-p, looking-at-p (bug#14927).
4711
4712 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4713
4714 * desktop.el (desktop-saved-frame-states):
4715 Rename from desktop--saved-states; all users changed.
4716 (desktop-save-frames): Rename from desktop--save-frames.
4717 Do not save state to desktop file.
4718 (desktop-save): Save desktop-saved-frame-states to desktop file
4719 and reset to nil.
4720 (desktop-restoring-frames-p): New function.
4721 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4722 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4723 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4724
4725 * desktop.el: Correctly restore iconified frames.
4726 (desktop--filter-iconified-position): New function.
4727 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4728
4729 2013-07-20 Glenn Morris <rgm@gnu.org>
4730
4731 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4732 Let `message' do the formatting.
4733 (def-gdb-preempt-display-buffer): Add explicit format.
4734
4735 * image-dired.el (image-dired-track-original-file):
4736 Use with-current-buffer.
4737 (image-dired-track-thumbnail): Use with-current-buffer.
4738 Avoid changing point of wrong window.
4739
4740 * image-dired.el (image-dired-track-original-file):
4741 Avoid changing point of wrong window. (Bug#14909)
4742
4743 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4744
4745 * progmodes/gdb-mi.el (gdb-done-or-error):
4746 Guard against "%" in gdb output. (Bug#14127)
4747
4748 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4749
4750 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4751 (Bug#14826)
4752
4753 * international/mule.el (coding-system-iso-2022-flags): Fix last
4754 change.
4755
4756 2013-07-20 Kenichi Handa <handa@gnu.org>
4757
4758 * international/mule.el (coding-system-iso-2022-flags):
4759 Add `8-bit-level-4'. (Bug#8522)
4760
4761 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4762
4763 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4764 (bug#14815).
4765
4766 * net/eww.el (eww-process-text-input): Allow inputting when the
4767 point is at the start of the line, as the properties aren't
4768 front-sticky.
4769
4770 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4771 degenerate widths.
4772
4773 2013-07-19 Richard Stallman <rms@gnu.org>
4774
4775 * epa.el (epa-popup-info-window): Doc fix.
4776
4777 * subr.el (split-string): New arg TRIM.
4778
4779 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4782 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4783
4784 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * filenotify.el (file-notify--library): Rename from
4787 `file-notify-support'. Do not autoload. Adapt all uses.
4788 (file-notify-supported-p): New defun.
4789
4790 * autorevert.el (auto-revert-use-notify):
4791 Use `file-notify-supported-p' instead of `file-notify-support'.
4792 Adapt docstring.
4793 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4794
4795 * net/tramp.el (tramp-file-name-for-operation):
4796 Add `file-notify-supported-p'.
4797
4798 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4799 New defun.
4800 (tramp-sh-file-name-handler-alist): Add it as handler for
4801 `file-notify-supported-p '.
4802
4803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4805 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4806 Add `ignore' as handler for `file-notify-*' functions.
4807
4808 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4809
4810 * simple.el (line-move-partial, line-move): Don't start vscroll or
4811 scroll-up if the current line is not taller than the window.
4812 (Bug#14881)
4813
4814 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4815
4816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4817 highlight question marks in the method names as strings.
4818 (ruby-block-beg-keywords): Inline.
4819 (ruby-font-lock-keyword-beg-re): Extract from
4820 `ruby-font-lock-keywords'.
4821
4822 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4823
4824 * frame.el (blink-cursor-blinks): New defcustom.
4825 (blink-cursor-blinks-done): New defvar.
4826 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4827 (blink-cursor-timer-function): Check if number of blinks has been
4828 done on X and NS.
4829 (blink-cursor-suspend, blink-cursor-check): New defuns.
4830
4831 2013-07-15 Glenn Morris <rgm@gnu.org>
4832
4833 * edmacro.el (edmacro-format-keys): Fix previous change.
4834
4835 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4836
4837 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4838 The hack didn't work outside English locales anyway.
4839
4840 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4841
4842 * simple.el (define-alternatives): Rename from alternatives-define,
4843 per RMS' suggestion.
4844
4845 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4846
4847 * desktop.el (desktop-restore-frames): Change default to t.
4848 (desktop-restore-in-current-display): Now offer more options.
4849 (desktop-restoring-reuses-frames): New customization option.
4850 (desktop--saved-states): Doc fix.
4851 (desktop-filter-parameters-alist): New variable, renamed and expanded
4852 from desktop--excluded-frame-parameters.
4853 (desktop--target-display): New variable.
4854 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4855 (desktop--filter-tty*, desktop--filter-*-color)
4856 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4857 (desktop--filter-save-desktop-parm)
4858 (desktop-restore-in-original-display-p): New functions.
4859 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4860 (desktop--save-minibuffer-frames): New function, inspired by a similar
4861 function from Martin Rudalics.
4862 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4863 (desktop--restore-in-this-display-p): Remove.
4864 (desktop--find-frame): Rename from desktop--find-frame-in-display
4865 and add predicate argument.
4866 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4867 (desktop--reuse-list): New variable.
4868 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4869 New functions.
4870 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4871
4872 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4873
4874 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4875
4876 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4877
4878 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4879 Highlight conversion methods on Kernel.
4880
4881 2013-07-13 Alan Mackenzie <acm@muc.de>
4882
4883 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4884 and comment it out. This out-commenting enables certain C++
4885 declarations to be parsed correctly.
4886
4887 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4888
4889 * international/mule.el (define-coding-system): Doc fix.
4890
4891 * simple.el (default-font-height): Don't call font-info if the
4892 frame's default font didn't change since the frame was created.
4893 (Bug#14838)
4894
4895 2013-07-13 Leo Liu <sdl.web@gmail.com>
4896
4897 * ido.el (ido-read-file-name): Guard against non-symbol value.
4898
4899 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4900
4901 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4902 in nested defuns.
4903
4904 2013-07-13 Leo Liu <sdl.web@gmail.com>
4905
4906 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4907 ido-set-matches call. (Bug#6852)
4908
4909 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4910
4911 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4912 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4913 Ruby 2.0.
4914 (ruby-font-lock-keywords): Distinguish calls to functions with
4915 module-like names from module references. Highlight character
4916 literals.
4917
4918 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4919
4920 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4921 (gdb-send): Handle continued commands. (Bug#14847)
4922
4923 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4924
4925 * desktop.el (desktop--v2s): Remove unused local variable.
4926 (desktop-save-buffer): Make defvar-local; adjust docstring.
4927 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4928 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4929
4930 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4931
4932 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4933
4934 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4935
4936 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4937 (Bug#14842)
4938
4939 2013-07-12 Glenn Morris <rgm@gnu.org>
4940
4941 * doc-view.el: Require cl-lib at runtime too.
4942 (doc-view-remove-if): Remove.
4943 (doc-view-search-next-match, doc-view-search-previous-match):
4944 Use cl-remove-if.
4945
4946 * edmacro.el: Require cl-lib at runtime too.
4947 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4948 (edmacro-mismatch, edmacro-subseq): Remove.
4949
4950 * shadowfile.el: Require cl-lib.
4951 (shadow-remove-if): Remove.
4952 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4953 Use cl-remove-if.
4954
4955 * wid-edit.el: Require cl-lib.
4956 (widget-choose): Use cl-remove-if.
4957 (widget-remove-if): Remove.
4958
4959 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4960 (ebrowse-delete-if-not): Remove.
4961 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4962 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4963 Use cl-delete-if-not.
4964
4965 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4966
4967 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4968 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4969
4970 2013-07-12 Leo Liu <sdl.web@gmail.com>
4971
4972 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4973
4974 2013-07-11 Glenn Morris <rgm@gnu.org>
4975
4976 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4977 (edebug-gensym-index, edebug-gensym):
4978 Remove reimplementation of cl-gensym.
4979 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4980
4981 * thumbs.el: Require cl-lib at run-time too.
4982 (thumbs-gensym-counter, thumbs-gensym):
4983 Remove reimplementation of cl-gensym.
4984 (thumbs-temp-file): Use cl-gensym.
4985
4986 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4987 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4988 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4989 (ert--union, ert--gensym-counter, ert--gensym-counter)
4990 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4991 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4992 (ert-make-test-unbound, ert--expand-should-1)
4993 (ert--expand-should, ert--should-error-handle-error)
4994 (should-error, ert--explain-equal-rec)
4995 (ert--plist-difference-explanation, ert-select-tests)
4996 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4997 Use cl-lib functions rather than reimplementations.
4998
4999 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5000
5001 * net/tramp.el (tramp-methods): Extend docstring.
5002 (tramp-connection-timeout): New defcustom.
5003 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5004 (with-tramp-progress-reporter): Simplify.
5005 (tramp-process-actions): Improve messages.
5006
5007 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5008 * net/tramp-sh.el (tramp-maybe-open-connection):
5009 Use `tramp-connection-timeout'.
5010 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5011 (Bug#14808)
5012
5013 2013-07-11 Leo Liu <sdl.web@gmail.com>
5014
5015 * ido.el (ido-read-file-name): Conform to the requirements of
5016 read-file-name. (Bug#11861)
5017 (ido-read-directory-name): Conform to the requirements of
5018 read-directory-name.
5019
5020 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5021
5022 * subr.el (delay-warning): New function.
5023
5024 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5025
5026 * simple.el (default-line-height): New function.
5027 (line-move-partial, line-move): Use it instead of computing the
5028 line height inline.
5029 (line-move-partial): Always compute ROWH. If the last line is
5030 partially-visible, but its text is completely visible, allow
5031 cursor to enter such a partially-visible line.
5032
5033 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5034
5035 Improve error messages. (Bug#14808)
5036
5037 * net/tramp.el (tramp-current-connection): New defvar, moved from
5038 tramp-sh.el.
5039 (tramp-message-show-progress-reporter-message): Remove, not
5040 needed anymore.
5041 (tramp-error-with-buffer): Show message in minibuffer.
5042 Discard input before waiting. Reset connection timestamp.
5043 (with-tramp-progress-reporter): Improve messages.
5044 (tramp-process-actions): Use progress reporter. Delete process in
5045 case of error. Improve messages.
5046
5047 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5048 Call `tramp-error-with-buffer' with vector and buffer.
5049 (tramp-current-connection): Remove.
5050 (tramp-maybe-open-connection): The car of
5051 `tramp-current-connection' are the first 3 slots of the vector.
5052
5053 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5054
5055 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5056 inside continued strings.
5057
5058 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5059
5060 Timestamp fixes for undo (Bug#14824).
5061 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5062
5063 2013-07-10 Leo Liu <sdl.web@gmail.com>
5064
5065 * files.el (require-final-newline): Allow safe local value.
5066 (Bug#14834)
5067
5068 2013-07-09 Leo Liu <sdl.web@gmail.com>
5069
5070 * ido.el (ido-read-directory-name): Handle fallback.
5071 (ido-read-file-name): Update DIR to ido-current-directory.
5072 (Bug#1516)
5073 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5074
5075 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5076
5077 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5078 "autoload". Remove "warn lower camel case" section, previously
5079 commented out. Highlight negation char. Do not highlight the
5080 target in singleton method definitions.
5081
5082 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * faces.el (tty-setup-hook): Declare the hook.
5085
5086 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5087 and detect when a guard/pred depends on local vars (bug#14773).
5088 (pcase--u1): Adjust caller.
5089
5090 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5091
5092 * simple.el (line-move-partial, line-move): Account for
5093 line-spacing.
5094 (line-move-partial): Avoid setting vscroll when the last
5095 partially-visible line in window is of default height.
5096
5097 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5098
5099 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5100 been used a while.
5101
5102 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * subr.el (read-quoted-char): Remove unused local variable `char'.
5105
5106 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5107
5108 * ediff.el (ediff-version): Version update.
5109 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5110 (ediff-merge-with-ancestor-command, ediff-directories-command)
5111 (ediff-directories3-command, ediff-merge-directories-command)
5112 (ediff-merge-directories-with-ancestor-command): New functions.
5113 All are command-line interfaces to ediff: to facilitate calling
5114 Emacs with the appropriate ediff functions invoked.
5115
5116 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5117 (viper-save-kill-buffer): Check if buffer is modified.
5118
5119 * viper.el (viper-version): Version update.
5120 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5121
5122 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5125 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5126 (viper-intercept-ESC-key): Simplify.
5127 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5128 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5129 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5130 (viper-setup-ESC-to-escape): New functions.
5131 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5132 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5133
5134 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5135
5136 * simple.el (default-font-height, window-screen-lines):
5137 New functions.
5138 (line-move, line-move-partial): Use them instead of
5139 frame-char-height and window-text-height. This makes scrolling
5140 text smoother when the buffer's default face uses a font that is
5141 different from the frame's default font.
5142
5143 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5144
5145 * files.el (write-file): Do not display confirm dialog for NS,
5146 it does its own dialog, which can't be cancelled (Bug#14578).
5147
5148 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5149
5150 * simple.el (line-move-partial): Adjust the row returned by
5151 posn-at-point for the current window-vscroll. (Bug#14567)
5152
5153 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5154
5155 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5156 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5157 spaces.
5158
5159 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5160
5161 * window.el (window-state-put-stale-windows): New variable.
5162 (window--state-put-2): Save list of windows without matching buffer.
5163 (window-state-put): Remove "bufferless" windows if possible.
5164
5165 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5166
5167 * simple.el (alternatives-define): Remove leftover :group keyword.
5168 Tweak docstring.
5169
5170 2013-07-06 Leo Liu <sdl.web@gmail.com>
5171
5172 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5173 (ido-enable-virtual-buffers): New variable.
5174 (ido-buffer-internal, ido-toggle-virtual-buffers)
5175 (ido-make-buffer-list): Use it.
5176 (ido-exhibit): Support turning on and off virtual buffers
5177 automatically.
5178
5179 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5180
5181 * simple.el (alternatives-define): New macro.
5182
5183 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * subr.el (read-quoted-char): Use read-key.
5186 (sit-for): Let read-event decode tty input (bug#14782).
5187
5188 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5189
5190 * calendar/todo-mode.el: Add handling of file deletion, both by
5191 mode command and externally. Fix various related bugs.
5192 Clarify Commentary and improve some documentation strings and code.
5193 (todo-delete-file): New command.
5194 (todo-check-file): New function.
5195 (todo-show): Handle external deletion of the file we're trying to
5196 show (bug#14688). Replace called-interactively-p by an optional
5197 prefix argument to avoid problematic interaction with catch form
5198 when byte compiled (bug#14702).
5199 (todo-quit): Handle external deletion of the archive's todo file.
5200 Make sure the buffer that was visiting the archive file is still
5201 live before trying to bury it.
5202 (todo-category-completions): Handle external deletion of any
5203 category completion files.
5204 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5205 of todo files, in case of external deletion.
5206 (todo-add-file): Replace unnecessary setq by let-binding.
5207 (todo-find-archive): Check whether there are any archives.
5208 Replace unnecessary setq by let-binding.
5209 (todo-archive-done-item): Use find-file-noselect to get the
5210 archive buffer whether or not the archive already exists.
5211 Remove superfluous code. Use file size instead of buffer-file-name to
5212 check if the archive is new; if it is, update list of archives.
5213 (todo-default-todo-file): Allow nil to be a valid value for when
5214 there are no todo files.
5215 (todo-reevaluate-default-file-defcustom): Use corrected definition
5216 of todo-default-todo-file.
5217 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5218 (todo-delete-category, todo-show-categories-table)
5219 (todo-category-number): Clarify comment.
5220 (todo-filter-items): Clarify documentation string.
5221 (todo-show-current-file, todo-display-as-todo-file)
5222 (todo-reset-and-enable-done-separator): Tweak documentation string.
5223 (todo-done-separator): Make separator length window-width, since
5224 bug#2749 is now fixed.
5225
5226 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5227
5228 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5229 Support both "gvfs-monitor-dir" and "inotifywait".
5230 (tramp-sh-file-inotifywait-process-filter): Rename from
5231 `tramp-sh-file-notify-process-filter'.
5232 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5233 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5234
5235 2013-07-05 Leo Liu <sdl.web@gmail.com>
5236
5237 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5238
5239 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5240
5241 * frame.el (display-pixel-height, display-pixel-width)
5242 (display-mm-height, display-mm-width): Mention behavior on
5243 multi-monitor setups in docstrings.
5244 (w32-display-monitor-attributes-list): Declare function.
5245 (display-monitor-attributes-list): Use it.
5246
5247 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5248
5249 * filenotify.el: New package.
5250
5251 * autorevert.el (top): Require filenotify.el.
5252 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5253 instead.
5254 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5255 (auto-revert-notify-handler): Use `file-notify-*' functions.
5256
5257 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5258
5259 * net/tramp.el (tramp-file-name-for-operation):
5260 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5261
5262 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5263 for `file-notify-add-watch' and `file-notify-rm-watch'.
5264 (tramp-process-sentinel): Improve trace.
5265 (tramp-sh-handle-file-notify-add-watch)
5266 (tramp-sh-file-notify-process-filter)
5267 (tramp-sh-handle-file-notify-rm-watch)
5268 (tramp-get-remote-inotifywait): New defuns.
5269
5270 2013-07-03 Juri Linkov <juri@jurta.org>
5271
5272 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5273 call of `occur-read-primary-args' to interactive spec.
5274
5275 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5276 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5277
5278 2013-07-03 Matthias Meulien <orontee@gmail.com>
5279
5280 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5281 `Buffer-menu-multi-occur'. Add it to the menu.
5282 (Buffer-menu-mode): Document it in docstring.
5283 (Buffer-menu-multi-occur): New command. (Bug#14673)
5284
5285 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5286
5287 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5288 keywords and built-ins.
5289
5290 2013-07-03 Glenn Morris <rgm@gnu.org>
5291
5292 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5293
5294 Make info-xref checks case-sensitive by default
5295 * info.el (Info-find-node, Info-find-in-tag-table)
5296 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5297 Add option for exact case matching of nodes.
5298 * info-xref.el (info-xref): New custom group.
5299 (info-xref-case-fold): New option.
5300 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5301
5302 2013-07-03 Leo Liu <sdl.web@gmail.com>
5303
5304 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5305
5306 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5307
5308 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5309 middle of block statement initially, lower the depth. Remove
5310 FIXME comment, not longer valid. Remove middle of block statement
5311 detection, no need to do that anymore since we've been using
5312 `ruby-parse-region' here.
5313
5314 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5315
5316 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5317
5318 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5319
5320 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5321
5322 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5323
5324 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5325 (desktop-restore-in-current-display): New customization option.
5326 (desktop--excluded-frame-parameters): Add `font'.
5327 (desktop--save-frames): Rename from desktop--save-windows.
5328 (desktop--restore-in-this-display-p): New function.
5329 (desktop--make-full-frame): Remove unwanted width/height from
5330 full(width|height) frames.
5331 (desktop--restore-frames): Rename from desktop--restore-windows.
5332 Obey desktop-restore-current-display. Do not delete old frames or
5333 select a new frame unless we were able to restore at least one frame.
5334
5335 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5336
5337 * files.el (find-file-noselect): Simplify conditional expression.
5338
5339 * remember.el (remember-append-to-file):
5340 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5341
5342 Add `remember-notes' function to store random notes across Emacs
5343 restarts.
5344 * remember.el (remember-data-file): Add :set callback to affect
5345 notes buffer (if any).
5346 (remember-notes): New command.
5347 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5348 New defcustoms for the `remember-notes' function.
5349 (remember-notes-save-and-bury-buffer): New command.
5350 (remember-notes-mode-map): New variable.
5351 (remember-mode): New minor mode.
5352 (remember-notes--kill-buffer-query): New function.
5353 * startup.el (initial-buffer-choice): Add notes to custom type.
5354
5355 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5356
5357 * bindings.el (right-char, left-char): Don't call sit-for, this is
5358 no longer needed. Use arithmetic comparison only for numerical
5359 arguments.
5360
5361 * international/mule-cmds.el (select-safe-coding-system):
5362 Handle the case of FROM being a string correctly. (Bug#14755)
5363
5364 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5365
5366 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5367 progression on degenerate tables.
5368 (shr-rescale-image): ImageMagick animated images currently don't work.
5369
5370 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5371
5372 Some fixes and improvements for desktop frame restoration.
5373 It is still experimental and disabled by default.
5374 * desktop.el (desktop--save-windows): Put the selected frame at
5375 the head of the list.
5376 (desktop--make-full-frame): New function.
5377 (desktop--restore-windows): Try to re-select the frame that was
5378 selected upon saving. Do not abort if some frames fail to restore,
5379 just show an error message and continue. Set up maximized frames
5380 so they have default non-maximized dimensions.
5381
5382 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5383
5384 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5385 Don't start heredoc inside a string or comment.
5386
5387 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5388
5389 * bindings.el (visual-order-cursor-movement): New defcustom.
5390 (right-char, left-char): Provide visual-order cursor motion by
5391 calling move-point-visually. Update the doc strings.
5392
5393 2013-06-28 Kenichi Handa <handa@gnu.org>
5394
5395 * international/mule.el (define-coding-system): New coding system
5396 properties :inhibit-null-byte-detection,
5397 :inhibit-iso-escape-detection, and :prefer-utf-8.
5398 (set-buffer-file-coding-system): If :charset-list property of
5399 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5400 appropriate for setting.
5401
5402 * international/mule-cmds.el (select-safe-coding-system):
5403 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5404 multibyte characters, return utf-8 (or one of its siblings).
5405
5406 * international/mule-conf.el (prefer-utf-8): New coding system.
5407 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5408 files.
5409
5410 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5411
5412 * net/shr.el (shr-render-region): New function.
5413
5414 * net/eww.el: Autoload `eww-browse-url'.
5415
5416 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5417
5418 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5419 Adapt to `package-desc-version' being a list.
5420 Use `package--ac-desc-version' to retrieve version from a package
5421 archive element.
5422
5423 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5424
5425 New experimental feature to save&restore window and frame setup.
5426 * desktop.el (desktop-save-windows): New defcustom.
5427 (desktop--saved-states): New var.
5428 (desktop--excluded-frame-parameters): New defconst.
5429 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5430 (desktop--restore-windows, desktop--save-windows): New functions.
5431 (desktop-save): Call `desktop--save-windows'.
5432 (desktop-read): Call `desktop--restore-windows'.
5433
5434 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5435
5436 * net/shr.el (add-face-text-property): Remove compat definition.
5437
5438 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5439
5440 * info.el (Info-try-follow-nearest-node): Move search for footnote
5441 above search for node name to prevent missing a footnote (bug#14717).
5442
5443 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5444
5445 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5446
5447 2013-06-27 Leo Liu <sdl.web@gmail.com>
5448
5449 * net/eww.el (eww-read-bookmarks): Check file size.
5450
5451 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5454 advice--pending if newdef is nil or an autoload (bug#13820).
5455 (advice-mapc): New function.
5456
5457 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5458
5459 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5460 probably.
5461 (eww-mode-map): Add a menu bar.
5462 (eww-add-bookmark): New command.
5463 (eww-bookmark-mode): New mode and commands.
5464 (eww-add-bookmark): Remove newlines from the title.
5465 (eww-bookmark-browse): Don't bug out if it's the only window.
5466
5467 2013-06-26 Glenn Morris <rgm@gnu.org>
5468
5469 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5470 (hfy-size): Handle ttys. (Bug#14668)
5471
5472 * info-xref.el: Update for Texinfo 5 change in *note format.
5473 (info-xref-node-re, info-xref-note-re): New constants.
5474 (info-xref-check-buffer): Use info-xref-note-re.
5475
5476 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5479
5480 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5481 nil terminate the loop (bug#14718).
5482
5483 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5484
5485 * net/eww.el: Rework history traversal. When going forward/back,
5486 put these actions into the history, too, so that they can be
5487 replayed.
5488 (eww-render): Move the history reset to the correct buffer.
5489
5490 2013-06-25 Juri Linkov <juri@jurta.org>
5491
5492 * files-x.el (modify-dir-local-variable): Change the header comment
5493 in the file with directory local variables. (Bug#14692)
5494
5495 * files-x.el (read-file-local-variable-value): Add `default'.
5496 (Bug#14710)
5497
5498 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5499
5500 * net/eww.el (eww-make-unique-file-name): Create a unique file
5501 name before saving to entering `y' accidentally asynchronously.
5502
5503 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5504
5505 * net/eww.el (eww-download): New command and keystroke.
5506
5507 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5508
5509 * net/eww.el (eww-copy-page-url): Change name of command.
5510
5511 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5512 be more consistent with Info and dired.
5513
5514 * net/eww.el (eww-mode-map): Ditto.
5515
5516 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5519 packages from archives.
5520 (package-archive-contents): Change format; include obsolete packages.
5521 (package-desc): Use `dir' to mark builtin packages.
5522 (package--from-builtin): Set the `dir' field to `builtin'.
5523 (generated-autoload-file, version-control): Declare.
5524 (package-compute-transaction): Change first arg and return value to be
5525 lists of package-descs. Adjust to new package-archive-contents format.
5526 (package--add-to-archive-contents): Adjust to new
5527 package-archive-contents format.
5528 (package-download-transaction): Arg is now a list of package-descs.
5529 (package-install): If `pkg' is a package name, pass it as
5530 a requirement, so it is subject to the usual (e.g. disabled) checks.
5531 (describe-package): Accept package-desc as well.
5532 (describe-package-1): Describe a specific package-desc. Add links to
5533 other package-descs for the same package name.
5534 (package-menu-describe-package): Pass the actual package-desc.
5535 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5536 works correctly.
5537 (package-desc-status): New function.
5538 (package-menu--refresh): New function, extracted
5539 from package-menu--generate.
5540 (package-menu--generate): Use it.
5541 (package-delete): Update package-alist.
5542 (package-menu-execute): Don't call package-initialize.
5543
5544 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5545 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5546 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5547 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5548 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5549 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5550
5551 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5552
5553 * window.el (window--state-get-1): Workaround for bug#14527.
5554 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5555
5556 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5557
5558 * net/eww.el (eww-back-url): Implement the history by stashing all
5559 the data into a list.
5560 (eww-forward-url): Allow going forward in the history, too.
5561
5562 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5565 for values and use read--expression for expressions (bug#14710).
5566 (read-file-local-variable): Avoid setq.
5567 (read-file-local-variable-mode): Use minor-mode-list.
5568
5569 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5570
5571 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5572 for DOI URLs.
5573
5574 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5575
5576 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5577 Update imenu-support when dialect changes.
5578
5579 2013-06-25 Leo Liu <sdl.web@gmail.com>
5580
5581 * ido.el (ido-read-internal): Allow forward slash on windows.
5582
5583 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5584
5585 * net/eww.el (eww): Start of strings is \\`, not ^.
5586
5587 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5588
5589 * net/shr.el (shr-browse-url): Fix interactive spec.
5590
5591 * net/eww.el (eww): Add a trailing slash to domain names.
5592
5593 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5594
5595 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5596
5597 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * net/shr.el (shr-browse-url): Use an external browser if given a
5600 prefix.
5601
5602 * net/eww.el (eww-external-browser): Move to shr.
5603
5604 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5605
5606 * net/eww.el (eww): Work more correctly for file: URLs.
5607 (eww-detect-charset): Allow quoted charsets.
5608 (eww-yank-page-url): New command and keystroke.
5609
5610 2013-06-24 Daiki Ueno <ueno@gnu.org>
5611
5612 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5613 file name of gpg executable.
5614 (epg-context-program): New function.
5615 (epg-context-home-directory): New function.
5616 (epg-context-set-program): New function.
5617 (epg-context-set-home-directory): New function.
5618 (epg--start): Use `epg-context-program' instead of
5619 'epg-gpg-program'.
5620 (epg--list-keys-1): Likewise.
5621
5622 2013-06-24 Leo Liu <sdl.web@gmail.com>
5623
5624 * ido.el (ido-read-internal): Fix bug#14620.
5625
5626 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5627
5628 * faces.el (face-documentation): Simplify.
5629 (read-face-attribute, tty-find-type, x-resolve-font-name):
5630 Use `string-match-p'.
5631 (list-faces-display): Use `string-match-p'. Simplify.
5632 (face-spec-recalc): Check face to avoid face alias loops.
5633 (read-color): Use `string-match-p' and non-capturing parenthesis.
5634
5635 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5636
5637 * net/shr.el (shr-rescale-image): Use the new
5638 :max-width/:max-height functionality.
5639
5640 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5641
5642 * net/eww.el (eww-search-prefix): New variable.
5643 (eww): Use it.
5644 (eww-external-browser): New variable.
5645 (eww-mode-map): New keystroke.
5646 (eww-browse-with-external-browser): New command.
5647
5648 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5649
5650 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5651
5652 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5653 Don't skip aligning the next header field when padding is 0;
5654 otherwise, field width is not respected unless the title is as
5655 wide as the field.
5656
5657 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/package.el (package-el-version): Remove.
5660 (package-process-define-package): Fix inf-loop.
5661 (package-install): Allow symbols as arguments again.
5662
5663 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5664
5665 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5666 add some more keyword-like methods.
5667 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5668
5669 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5670
5671 * bs.el (bs-buffer-show-mark): Make defvar-local.
5672 (bs-mode): Use setq-local.
5673
5674 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5675 (emacs-lock--try-unlocking): Make defvar-local.
5676
5677 2013-06-22 Glenn Morris <rgm@gnu.org>
5678
5679 * play/cookie1.el (cookie-apropos): Minor simplification.
5680
5681 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5682
5683 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5684
5685 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5686 `regexp-opt', it breaks the build during dumping.
5687
5688 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5689
5690 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5691 Highlight keyword-like methods on Kernel and Module with
5692 font-lock-builtin-face.
5693 (auto-mode-alist): Consolidate different entries into one regexp
5694 and add more *file-s.
5695
5696 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5697
5698 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5699
5700 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5701 (diary-entry): Use it in the action of this button type instead of
5702 diary-goto-entry.
5703
5704 * calendar/todo-mode.el: New version.
5705 (todo-add-category): Append new category to end of file and give
5706 it the highest number, instead of putting it at the beginning and
5707 giving it 0. Incorporate noninteractive functionality.
5708 (todo-forward-category): Adapt to 1-based category numbering.
5709 Allow skipping over archived categories.
5710 (todo-backward-category): Derive from todo-forward-category.
5711 (todo-backward-item, todo-forward-item): Make noninteractive and
5712 delegate interactive part to new commands. Make sensitive to done items.
5713 (todo-categories): Make value an alist of category names and
5714 vectors of item counts.
5715 (todo-category-beg): Make a defconst.
5716 (todo-category-number): Use 1 instead of 0 as initial value.
5717 (todo-category-select): Make sensitive to overlays, optional item
5718 highlighting and done items.
5719 (todo-delete-item): Make sensitive to overlays and marked and done items.
5720 (todo-edit-item): Make sensitive to overlays and editing of
5721 date/time header optional. Add format checks.
5722 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5723 no-op if point is not on an item. Advertise using todo-edit-quit.
5724 (todo-edit-mode): Make sensitive to new format, font-locking, and
5725 multiple todo files.
5726 (todo-insert-item, todo-insert-item-here): Derive from
5727 todo-basic-insert-item and extend functionality.
5728 (todo-item-end, todo-item-start): Make sensitive to done items.
5729 (todo-item-string): Don't return text properties. Restore point.
5730 (todo-jump-to-category): Make sensitive to multiple todo files and
5731 todo archives. Use extended category completion.
5732 (todo-lower-item, todo-raise-item): Rename to *-priority and
5733 derive from todo-set-item-priority.
5734 (todo-mode): Derive from special-mode. Make sensitive to new
5735 format, font-locking and multiple todo files. Make read-only.
5736 (todo-mode-map): Don't suppress digit keys, so they can supply
5737 prefix arguments. Add many new key bindings.
5738 (todo-prefix): Insert as an overlay instead of file text.
5739 Change semantics from diary date expression to purely visual mark.
5740 (todo-print): Rename to todo-print-buffer. Make buffer display
5741 features printable. Remove option to restrict number of items
5742 printed. Add option to print to file.
5743 (todo-print-function): Rename to todo-print-buffer-function.
5744 (todo-quit): Extend to handle exiting new todo modes.
5745 (todo-remove-item): Make sensitive to overlays.
5746 (todo-save): Extend to buffers of filtered items.
5747 (todo-show): Make sensitive to done items, multiple todo files and
5748 new todo modes. Offer to convert legacy todo file before creating
5749 first new todo file.
5750 (todo-show-priorities): Rename to todo-top-priorities.
5751 Change semantics of value 0.
5752 (todo-top-priorities): Rename to todo-filter-top-priorities,
5753 derive from todo-filter-items and extend functionality.
5754 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5755 and extend functionality to other types of filtered items.
5756 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5757 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5758 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5759 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5760 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5761 (todo-edit-mode-hook, todo-entry-prefix-function)
5762 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5763 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5764 (todo-initials, todo-insert-threshold, todo-item-string-start)
5765 (todo-line-string, todo-menu, todo-mode-hook)
5766 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5767 (todo-print-priorities, todo-remove-separator)
5768 (todo-save-top-priorities-too, todo-string-count-lines)
5769 (todo-string-multiline-p, todo-time-string-format)
5770 (todo-tmp-buffer-name): Remove.
5771 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5772 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5773 (todo-edit-category-diary-inclusion)
5774 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5775 (todo-edit-file, todo-edit-item-date-day)
5776 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5777 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5778 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5779 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5780 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5781 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5782 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5783 (todo-filter-top-priorities-multifile, todo-find-archive)
5784 (todo-find-filtered-items-file, todo-go-to-source-item)
5785 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5786 (todo-jump-to-archive-category, todo-lower-category)
5787 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5788 (todo-move-category, todo-move-item, todo-next-button)
5789 (todo-next-item, todo-padded-string, todo-powerset)
5790 (todo-previous-button, todo-previous-item)
5791 (todo-print-buffer-to-file, todo-raise-category)
5792 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5793 (todo-set-category-number, todo-set-item-priority)
5794 (todo-set-top-priorities-in-category)
5795 (todo-set-top-priorities-in-file, todo-show-categories-table)
5796 (todo-sort-categories-alphabetically-or-numerically)
5797 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5798 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5799 (todo-toggle-item-header, todo-toggle-item-highlighting)
5800 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5801 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5802 (todo-unarchive-items, todo-unmark-category): New commands.
5803 (todo-absolute-file-name, todo-add-to-buffer-list)
5804 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5805 (todo-basic-insert-item, todo-category-completions)
5806 (todo-category-number, todo-category-string-matcher-1)
5807 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5808 (todo-check-format, todo-clear-matches)
5809 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5810 (todo-current-category, todo-date-string-matcher)
5811 (todo-define-insertion-command, todo-diary-expired-matcher)
5812 (todo-diary-goto-entry, todo-diary-item-p)
5813 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5814 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5815 (todo-done-item-section-p, todo-done-separator)
5816 (todo-done-string-matcher, todo-files, todo-filter-items)
5817 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5818 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5819 (todo-insert-category-line, todo-insert-item-from-calendar)
5820 (todo-insert-sort-button, todo-insert-with-overlays)
5821 (todo-insertion-command-name, todo-insertion-key-bindings)
5822 (todo-label-to-key, todo-longest-category-name-length)
5823 (todo-make-categories-list, todo-mode-external-set)
5824 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5825 (todo-modes-set-3, todo-multiple-filter-files)
5826 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5827 (todo-read-category, todo-read-date, todo-read-dayname)
5828 (todo-read-file-name, todo-read-time)
5829 (todo-reevaluate-category-completions-files-defcustom)
5830 (todo-reevaluate-default-file-defcustom)
5831 (todo-reevaluate-filelist-defcustoms)
5832 (todo-reevaluate-filter-files-defcustom)
5833 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5834 (todo-reset-done-separator, todo-reset-done-separator-string)
5835 (todo-reset-done-string, todo-reset-global-current-todo-file)
5836 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5837 (todo-reset-prefix, todo-set-categories)
5838 (todo-set-date-from-calendar, todo-set-show-current-file)
5839 (todo-set-top-priorities, todo-short-file-name)
5840 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5841 (todo-total-item-counts, todo-update-buffer-list)
5842 (todo-update-categories-display, todo-update-categories-sexp)
5843 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5844 New functions.
5845 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5846 New major modes.
5847 (todo-categories, todo-display, todo-edit, todo-faces)
5848 (todo-filtered): New defgroups.
5849 (todo-archived-only, todo-button, todo-category-string, todo-date)
5850 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5851 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5852 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5853 (todo-add-item-if-new-category, todo-always-add-time-string)
5854 (todo-categories-align, todo-categories-archived-label)
5855 (todo-categories-category-label, todo-categories-diary-label)
5856 (todo-categories-done-label, todo-categories-number-separator)
5857 (todo-categories-todo-label, todo-categories-totals-label)
5858 (todo-category-completions-files, todo-completion-ignore-case)
5859 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5860 (todo-done-separator-string, todo-done-string)
5861 (todo-files-function, todo-filter-done-items, todo-filter-files)
5862 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5863 (todo-initial-category, todo-initial-file, todo-item-mark)
5864 (todo-legacy-date-time-regexp, todo-mode-line-function)
5865 (todo-nondiary-marker, todo-number-prefix)
5866 (todo-print-buffer-function, todo-show-current-file)
5867 (todo-show-done-only, todo-show-first, todo-show-with-done)
5868 (todo-skip-archived-categories, todo-top-priorities-overrides)
5869 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5870 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5871 New defcustoms.
5872 (todo-category-done, todo-date-pattern, todo-date-string-start)
5873 (todo-diary-items-buffer, todo-done-string-start)
5874 (todo-filtered-items-buffer, todo-item-start)
5875 (todo-month-abbrev-array, todo-month-name-array)
5876 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5877 (todo-top-priorities-buffer): New defconsts.
5878 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5879 (todo-categories-with-marks, todo-category-string-face)
5880 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5881 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5882 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5883 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5884 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5885 (todo-font-lock-keywords, todo-global-current-todo-file)
5886 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5887 (todo-insertion-commands-args)
5888 (todo-insertion-commands-args-genlist)
5889 (todo-insertion-commands-names, todo-insertion-map)
5890 (todo-key-bindings-t, todo-key-bindings-t+a)
5891 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5892 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5893 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5894 (todo-visited): New variables.
5895
5896 2013-06-21 Glenn Morris <rgm@gnu.org>
5897
5898 * play/cookie1.el (cookie-apropos): Add optional display argument.
5899 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5900 (psychoanalyze-pinhead): Use cookie-doctor.
5901
5902 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * emacs-lisp/package.el (tar-get-file-descriptor)
5905 (tar--extract): Declare.
5906
5907 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5908
5909 Extend flymake's warning predicate to be a function (bug#14217).
5910 * progmodes/flymake.el (flymake-warning-predicate): New.
5911 (flymake-parse-line): Use it.
5912 (flymake-warning-re): Make obsolete alias to
5913 `flymake-warning-predicate'.
5914
5915 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5918 (package-obsolete-list): Remove.
5919 (package-activate): Remove min-version argument. Add `force' argument.
5920 Adjust to new package-alist format.
5921 (package-mark-obsolete): Remove.
5922 (package-unpack): Force reload of the package's autoloads.
5923 (package-installed-p): Check builtins if the installed package is not
5924 recent enough.
5925 (package-initialize): Don't reset package-obsolete-list.
5926 Don't specify which package version to activate.
5927 (package-process-define-package, describe-package-1)
5928 (package-menu--generate): Adjust to new package-alist format.
5929
5930 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * allout-widgets.el (allout-widgets-mode-off)
5933 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5934 (allout-widgets-post-command-business)
5935 (allout-widgets-after-copy-or-kill-function)
5936 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5937 (allout-decorate-item-and-context)
5938 (allout-graphics-modification-handler): Fix typos in docstrings.
5939 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5940
5941 * cmuscheme.el (scheme-start-file): Doc fix.
5942 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5943 (scheme-input-filter): Use `string-match-p'.
5944
5945 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5946
5947 * dired-x.el: Use Dired consistently in docstrings.
5948
5949 * dired.el: Use Dired consistently in docstrings.
5950 (dired-readin, dired-mode): Use `setq-local'.
5951 (dired-switches-alist): Make defvar-local.
5952 (dired-buffers-for-dir): Use `zerop'.
5953 (dired-safe-switches-p, dired-switches-escape-p)
5954 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5955 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5956 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5957 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5958 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5959 (dired-toggle-marks, dired-mark-files-containing-regexp)
5960 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5961 (dired-flag-auto-save-files, dired-flag-backup-files):
5962 Use `looking-at-p'.
5963 (dired-mark-files-regexp, dired-build-subdir-alist):
5964 Use `string-match-p', `looking-at-p'.
5965
5966 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5967 (direct-print-region-helper): Use `string-match-p'.
5968
5969 2013-06-21 Leo Liu <sdl.web@gmail.com>
5970
5971 * comint.el (comint-redirect-results-list-from-process):
5972 Fix infinite loop.
5973
5974 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5975
5976 * net/eww.el (eww-update-header-line-format): Quote % characters.
5977
5978 2013-06-21 Glenn Morris <rgm@gnu.org>
5979
5980 * play/cookie1.el (cookie): New custom group.
5981 (cookie-file): New option.
5982 (cookie-check-file): New function.
5983 (cookie): Make it interactive. Make start and end messages optional.
5984 Interactively, display the result. Default to cookie-file.
5985 (cookie-insert): Default to cookie-file.
5986 (cookie-snarf): Make start and end messages optional.
5987 Default to cookie-file. Use with-temp-buffer.
5988 (cookie-read): Rename from read-cookie.
5989 Make start and end messages optional. Default to cookie-file.
5990 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5991 Do not autoload it.
5992 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5993 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5994
5995 2013-06-21 Leo Liu <sdl.web@gmail.com>
5996
5997 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5998
5999 2013-06-21 Glenn Morris <rgm@gnu.org>
6000
6001 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6002
6003 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6004 Daniel Hackney <dan@haxney.org>
6005
6006 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6007 Consolidate the single-file vs tarball code.
6008 (package-desc-suffix): New function.
6009 (package-desc-full-name): Don't bother inlining it.
6010 (package-load-descriptor): Return the new package-desc.
6011 (package-mark-obsolete): Remove unused arg `package'.
6012 (package-unpack): Make it work for single files as well.
6013 Make it update package-alist.
6014 (package--make-autoloads-and-stuff): Rename from
6015 package--make-autoloads-and-compile. Don't compile any more.
6016 (package--compile): New function.
6017 (package-generate-description-file): New function, extracted from
6018 package-unpack-single.
6019 (package-unpack-single): Remove.
6020 (package--with-work-buffer): Add indentation and debugging info.
6021 (package-download-single): Remove.
6022 (package-install-from-archive): Rename from package-download-tar, make
6023 it take a pkg-desc, and make it work for single files as well.
6024 (package-download-transaction): Simplify.
6025 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6026 external tar program.
6027 (package-install-from-buffer): Remove `pkg-desc' argument.
6028 Use package-tar-file-info for tar-mode buffers.
6029 (package-install-file): Simplify accordingly.
6030 (package-archive-base): Change to take a pkg-desc.
6031 * tar-mode.el (tar--check-descriptor): New function, extracted from
6032 tar-get-descriptor.
6033 (tar-get-descriptor): Use it.
6034 (tar-get-file-descriptor): New function.
6035 (tar--extract): New function, extracted from tar-extract.
6036 (tar--extract): Use it.
6037 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6038 case the summary uses non-ascii. Adjust to new calling convention of
6039 package-tar-file-info.
6040
6041 2013-06-21 Leo Liu <sdl.web@gmail.com>
6042
6043 * comint.el (comint-redirect-results-list-from-process):
6044 Fix random delay. (Bug#14681)
6045
6046 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6047
6048 * profiler.el (profiler-format-number): Use log, not log10.
6049
6050 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6051
6052 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6053
6054 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6057 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6058 yet available.
6059 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6060 (AUTOGENEL): ... here.
6061 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6062 (cl--defsubst-expand): Use it.
6063
6064 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6065
6066 * subr.el (log10): Move here from C code, and declare as obsolete.
6067 All uses of (log10 X) replaced with (log X 10).
6068
6069 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6070
6071 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6072 Declare with `defvar-local'.
6073 (tabulated-list-use-header-line, tabulated-list-entries)
6074 (tabulated-list-padding, tabulated-list-printer)
6075 (tabulated-list-sort-key): Declare with `defvar-local'.
6076 (tabulated-list-init-header, tabulated-list-print-fake-header):
6077 Use `setq-local'.
6078
6079 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6080
6081 * arc-mode.el (archive-mode): Add `archive-write-file' to
6082 `write-contents-functions' also for remote files. (Bug#14652)
6083
6084 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6085
6086 * cus-edit.el (custom-commands): Fix typos.
6087 (custom-display): Fix tooltip text.
6088 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6089 Fix typos in docstrings.
6090 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6091 (custom-unlispify-menu-entry, custom-magic-value-create)
6092 (custom-add-see-also, custom-group-value-create): Use ?\s.
6093 (custom-guess-type, customize-apropos, editable-field)
6094 (custom-face-value-create): Use `string-match-p'.
6095 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6096
6097 * custom.el (custom-load-symbol): Use `string-match-p'.
6098
6099 * ansi-color.el: Convert to lexical binding.
6100 (ansi-colors): Fix URL.
6101 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6102 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6103 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6104
6105 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6106
6107 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6108
6109 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6110
6111 2013-06-19 Tom Tromey <tromey@redhat.com>
6112
6113 * net/eww.el (eww-top-url): Remove.
6114 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6115 (eww-render): Set new variables. Don't set eww-top-url.
6116 (eww-handle-link): Handle "prev", "home", and "contents".
6117 Downcase the rel text.
6118 (eww-top-url): Choose best top URL.
6119
6120 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6121
6122 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6123 relying in widget.el. Using widget.el leads to too many
6124 user interface inconsistencies.
6125 (eww-self-insert): Implement entering commands in text fields.
6126 (eww-process-text-input): New function to make text input field editing
6127 work.
6128 (eww-submit): Rewrite to use the new-style form methods.
6129 (eww-select-display): Display the correct selected item.
6130 (eww-change-select): Implement changing the select value.
6131 (eww-toggle-checkbox): Implement radio/checkboxes.
6132 (eww-update-field): Fix compilation error.
6133 (eww-tag-textarea): Implement <textarea>.
6134
6135 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6136 we don't shadow mode-specific bindings.
6137
6138 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6139 nothing to push.
6140
6141 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6142
6143 2013-06-19 Glenn Morris <rgm@gnu.org>
6144
6145 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6146
6147 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6148
6149 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6150 not needed.
6151
6152 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6153
6154 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6155
6156 * net/browse-url.el (browse-url-browser-function):
6157 `eww-browse-url' has the right calling signature, `eww' does not.
6158
6159 2013-06-19 Glenn Morris <rgm@gnu.org>
6160
6161 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6162 Only eval autoloaded macros.
6163 (byte-compile-autoload): Only give the macro warning for macros.
6164
6165 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6166 (ps-underlined-faces): Declare.
6167
6168 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6169 (speedbar-add-supported-extension): Declare.
6170
6171 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6172 Don't include a date stamp in the header of the generated file;
6173 it leads to needless differences between output files.
6174
6175 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/secrets.el (secrets-struct-secret-content-type):
6178 Replace check of introspection data by a test call of "CreateItem".
6179 Some servers do not offer introspection.
6180
6181 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * electric.el (electric-pair-mode): Improve interaction with
6184 electric-layout-mode.
6185 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6186 (electric-pair-syntax): Use text-mode-syntax-table in comments
6187 and strings.
6188 (electric-pair--insert): New function.
6189 (electric-pair-post-self-insert-function): Use it and
6190 electric--after-char-pos.
6191
6192 2013-06-19 Leo Liu <sdl.web@gmail.com>
6193
6194 * progmodes/octave.el (octave-help): Fix regexp.
6195
6196 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6197
6198 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6199 (shr-table-horizontal-line): Allow nil as a value, and change the
6200 default.
6201 (shr-insert-table-ruler): Respect the nil value.
6202
6203 2013-06-18 Tom Tromey <tromey@barimba>
6204
6205 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6206 New defvars.
6207 (eww-open-file): New defun.
6208 (eww-render): Initialize new variables.
6209 (eww-display-html): Handle "link" and "a".
6210 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6211 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6212 (eww-back-url): Rename from eww-previous-url.
6213 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6214 New defuns.
6215
6216 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6217
6218 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6219 Distinguish ternary operator tokens from slash symbol and slash
6220 char literal.
6221
6222 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6223
6224 Convert symbol prettification into minor mode and global minor mode.
6225
6226 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6227 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6228 (prettify-symbols--keywords): Rename from
6229 `prog-prettify-symbols-alist' and make a local defvar.
6230 (prettify-symbols--compose-symbol): Rename from
6231 `prog--prettify-font-lock-compose-symbol'.
6232 (prettify-symbols--make-keywords): Rename from
6233 `prog-prettify-font-lock-symbols-keywords' and simplify.
6234 (prog-prettify-install): Remove.
6235 (prettify-symbols-mode): New minor mode, based on
6236 `prog-prettify-install'.
6237 (turn-on-prettify-symbols-mode): New function.
6238 (global-prettify-symbols-mode): New globalized minor mode.
6239
6240 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6241 * progmodes/cfengine.el (cfengine3-mode):
6242 * progmodes/perl-mode.el (perl-mode): Don't call
6243 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6244
6245 2013-06-18 Juri Linkov <juri@jurta.org>
6246
6247 * files-x.el (modify-file-local-variable-message): New function.
6248 (modify-file-local-variable)
6249 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6250 and call `modify-file-local-variable-message' when it's non-nil.
6251 (add-file-local-variable, delete-file-local-variable)
6252 (add-file-local-variable-prop-line)
6253 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6254 and use it. (Bug#9820)
6255
6256 2013-06-18 Juri Linkov <juri@jurta.org>
6257
6258 * emulation/vi.el (vi-shell-op):
6259 * emulation/vip.el (vip-execute-com, ex-command):
6260 * emulation/viper-cmd.el (viper-exec-bang):
6261 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6262 the call of `shell-command-on-region'. (Bug#14637)
6263
6264 * simple.el (shell-command-on-region): Doc fix.
6265
6266 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6269 (bug#14633).
6270
6271 2013-06-18 Glenn Morris <rgm@gnu.org>
6272
6273 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6274
6275 * newcomment.el (comment-search-forward, comment-search-backward):
6276 Doc fix. (Bug#14376)
6277
6278 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6279
6280 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6281 (buffer-face-mode-invoke): Doc fix.
6282
6283 2013-06-18 Matthias Meulien <orontee@gmail.com>
6284
6285 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6286 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6287
6288 2013-06-18 Glenn Morris <rgm@gnu.org>
6289
6290 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6291 Replace obsolete function generic-make-keywords with its expansion.
6292
6293 * progmodes/python.el (ffap-alist): Declare.
6294
6295 * textmodes/reftex.el (bibtex-mode-map): Declare.
6296
6297 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6300 (package-unpack, package-unpack-single): Return the pkg-dir.
6301 (package-download-transaction): Use it to update package-alist.
6302
6303 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6304
6305 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6306 possible choice.
6307
6308 2013-06-17 Juri Linkov <juri@jurta.org>
6309
6310 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6311
6312 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6313
6314 * emacs-lisp/package.el (package-load-descriptor):
6315 Remove `with-syntax-table' call, `read' doesn't need it.
6316 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6317
6318 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6319
6320 * startup.el (command-line): Expand package name returned by
6321 `package--description-file' (bug#14639).
6322
6323 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6324
6325 * emacs-lisp/package.el (package-load-descriptor): Do not call
6326 `emacs-lisp-mode', just use its syntax table.
6327
6328 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6329
6330 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6331 `font-lock-extra-managed-props' if any prettifying keyword is added.
6332 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6333 (prog-mode): Use `setq-local'.
6334
6335 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * international/characters.el (standard-case-table): Set syntax of ?»
6338 and ?« to punctuation.
6339
6340 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6341
6342 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6343 Save relevant match data before calling `syntax-ppss' (bug#14595).
6344
6345 2013-06-15 Juri Linkov <juri@jurta.org>
6346
6347 * files-x.el (modify-file-local-variable-prop-line): Add local
6348 variables to the end of the existing comment on the first line.
6349 Use `file-auto-mode-skip' to skip interpreter magic line,
6350 and also skip XML declaration.
6351
6352 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * startup.el (package--builtin-versions): New var.
6355 (package-subdirectory-regexp): Remove.
6356 (package--description-file): Hard code its value instead.
6357
6358 * emacs-lisp/package.el: Don't activate packages older than builtin.
6359 (package-obsolete-list): Rename from package-obsolete-alist, and make
6360 it into a simple list of package-desc.
6361 (package-strip-version): Remove.
6362 (package-built-in-p): Use package--builtin-versions.
6363 (package-mark-obsolete): Simplify.
6364 (package-process-define-package): Mark it obsolete if older than the
6365 builtin version.
6366 (package-handle-response): Use line-end-position.
6367 (package-read-archive-contents, package--download-one-archive):
6368 Simplify.
6369 (package--add-to-archive-contents): Skip if older than the builtin or
6370 installed version.
6371 (package-menu-describe-package): Fix last change.
6372 (package-list-unversioned): New var.
6373 (package-menu--generate): Use it.
6374
6375 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6376 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6377 (autoload-builtin-package-versions): New variable.
6378 (autoload-generate-file-autoloads): Use them.
6379 Remove the list of autoloaded functions/macros from the
6380 (autoload...) comments.
6381
6382 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6383
6384 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6385
6386 * simple.el (line-move-partial): Don't jump to the next screen
6387 line as soon as it becomes visible. Instead, continue enlarging
6388 the vscroll until the portion of a tall screen line that's left on
6389 display is about the height of the frame's default font.
6390 (Bug#14567)
6391
6392 2013-06-15 Glenn Morris <rgm@gnu.org>
6393
6394 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6395 compilation-error-regexp-alist void, or local while let-bound.
6396
6397 * progmodes/make-mode.el (makefile-mode-syntax-table):
6398 Treat "=" as punctuation. (Bug#14614)
6399
6400 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6401
6402 * help-fns.el (describe-variable):
6403 Add extra line for permanent-local variables.
6404
6405 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6406
6407 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6408 Add export, import, library. (Bug#9164)
6409 (library): Set indent function.
6410
6411 2013-06-14 Glenn Morris <rgm@gnu.org>
6412
6413 * term/xterm.el (xterm--query):
6414 Stop after first matching handler. (Bug#14615)
6415
6416 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6417
6418 Add support for dired in saveplace.
6419 * dired.el (dired-initial-position-hook): New variable.
6420 (dired-initial-position): Call hook to place cursor position.
6421 * saveplace.el (save-place-to-alist): Add dired position.
6422 (save-place-dired-hook): New function.
6423
6424 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6427 through a symbol rather than letrec.
6428
6429 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6430 (package-desc): Add `dir' field.
6431 (package-desc-full-name): New function.
6432 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6433 (package-maybe-load-descriptor): Remove.
6434 (package-load-all-descriptors): Just call package-load-descriptor.
6435 (package--disabled-p): New function.
6436 (package-desc-vers, package-desc-doc): Remove aliases.
6437 (package--dir): Remove function.
6438 (package-activate): Check if a package is disabled.
6439 (package-process-define-package): New function, extracted from
6440 define-package.
6441 (define-package): Turn into a place holder.
6442 (package-unpack-single, package-tar-file-info):
6443 Use package--description-file.
6444 (package-compute-transaction): Use package--disabled-p.
6445 (package-download-transaction): Don't call
6446 package-maybe-load-descriptor since they're all loaded anyway.
6447 (package-install): Change argument to be a pkg-desc.
6448 (package-delete): Use a single pkg-desc argument.
6449 (describe-package-1): Use package-desc-dir instead of package--dir.
6450 Use package-desc property instead of package-symbol.
6451 (package-install-button-action): Adjust accordingly.
6452 (package--push): Rewrite.
6453 (package-menu--print-info): Adjust accordingly. Change the ID format
6454 to be a pkg-desc.
6455 (package-menu-describe-package, package-menu-get-status)
6456 (package-menu--find-upgrades, package-menu-mark-upgrades)
6457 (package-menu-execute, package-menu--name-predicate):
6458 Adjust accordingly.
6459 * startup.el (package--description-file): New function.
6460 (command-line): Use it.
6461 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6462 Use package-desc-version.
6463
6464 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6465 (byte-compile-preprocess): Use it.
6466 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6467 can't quite recognize.
6468 (byte-compile-add-to-list): Remove.
6469 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6470 (cconv-closure-convert): Add assertion.
6471
6472 * emacs-lisp/map-ynp.el: Use lexical-binding.
6473 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6474 Factor out some repeated code.
6475
6476 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * subr.el (with-eval-after-load): New macro.
6479 (eval-after-load): Allow form to be a function.
6480 take advantage of lexical-binding.
6481 (do-after-load-evaluation): Use dolist and adjust to new format.
6482 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6483
6484 2013-06-13 Juri Linkov <juri@jurta.org>
6485
6486 * replace.el (perform-replace): Display "symbol " and other search
6487 modes from `isearch-message-prefix' in the *Help* buffer.
6488
6489 * isearch.el (isearch-query-replace): Add " symbol" and other
6490 possible search modes from `isearch-message-prefix' to the prompt.
6491 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6492 when reading a regexp to collect.
6493
6494 2013-06-13 Juri Linkov <juri@jurta.org>
6495
6496 * isearch.el (word-search-regexp): Match whitespace if the search
6497 string begins or ends in whitespace. The LAX arg is applied to
6498 both ends of the search string. Use `regexp-quote' and explicit
6499 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6500 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6501 boundaries are replaced with symbol boundaries, and characters
6502 between symbols match non-word non-symbol syntax. (Bug#14602)
6503
6504 2013-06-13 Juri Linkov <juri@jurta.org>
6505
6506 * isearch.el (isearch-del-char): Don't exceed the length of
6507 `isearch-string' by the prefix arg. (Bug#14563)
6508
6509 2013-06-13 Juri Linkov <juri@jurta.org>
6510
6511 * isearch.el (isearch-yank-word, isearch-yank-line)
6512 (isearch-char-by-name, isearch-quote-char)
6513 (isearch-printing-char, isearch-process-search-char):
6514 Add optional count prefix arg. (Bug#14563)
6515
6516 * international/isearch-x.el
6517 (isearch-process-search-multibyte-characters):
6518 Add optional count prefix arg.
6519
6520 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6523 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6524 lexical-binding.
6525
6526 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6527
6528 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6529
6530 2013-06-13 Glenn Morris <rgm@gnu.org>
6531
6532 * startup.el (tty-handle-args):
6533 Don't just discard "--" and anything after. (Bug#14608)
6534
6535 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6536
6537 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6538
6539 Implement changes in Secret Service API. Make it backward compatible.
6540 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6541 (secrets-create-item): Use it. Prefix properties with interface.
6542
6543 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6544
6545 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6546 (term-emulate-terminal): Respect term-suppress-hard-newline.
6547
6548 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6549
6550 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6551 Only remove a `thumb-file' overlay. (Bug#14548)
6552
6553 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6554
6555 * mail/reporter.el (reporter-submit-bug-report):
6556 Handle missing package-name. (Bug#14600)
6557
6558 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6559
6560 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6561 (reftex-citation-prompt, reftex-default-bibliography)
6562 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6563 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6564 (reftex-bib-sort-author, reftex-bib-sort-year)
6565 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6566 (reftex-extract-bib-entries-from-thebibliography)
6567 (reftex-get-bibkey-default, reftex-get-bib-names)
6568 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6569 (reftex-format-bib-entry, reftex-parse-bibitem)
6570 (reftex-format-bibitem, reftex-do-citation)
6571 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6572 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6573 (reftex-insert-bib-matches, reftex-format-citation)
6574 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6575 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6576 existing comments into docstrings.
6577
6578 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6579
6580 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6581
6582 2013-06-12 Andreas Schwab <schwab@suse.de>
6583
6584 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6585 for auto-save files.
6586
6587 2013-06-12 Glenn Morris <rgm@gnu.org>
6588
6589 * ido.el (ido-delete-ignored-files): Remove.
6590 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6591 Go back to calling ido-ignore-item-p directly.
6592
6593 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6594
6595 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6596
6597 * ido.el (ido-delete-ignored-files): New function,
6598 split from ido-make-file-list-1.
6599 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6600 (ido-make-file-list-1): Use ido-delete-ignored-files.
6601
6602 2013-06-12 Leo Liu <sdl.web@gmail.com>
6603
6604 * progmodes/octave.el (inferior-octave-startup)
6605 (inferior-octave-completion-table)
6606 (inferior-octave-track-window-width-change)
6607 (octave-eldoc-function-signatures, octave-help)
6608 (octave-find-definition): Use single quoted strings.
6609 (inferior-octave-startup-args): Change default value.
6610 (inferior-octave-startup): Do not hard code "-i" and
6611 "--no-line-editing".
6612 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6613 (inferior-octave-directory-tracker): Use it.
6614 (octave-goto-function-definition): Robustify.
6615 (octave-help): Support highlighting operators in 'See also'.
6616 (octave-find-definition): Find subfunctions only in Octave mode.
6617
6618 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * help-fns.el (help-fns--compiler-macro): If the handler function is
6621 named, then put a link to it.
6622 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6623 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6624 (cl-typep): Use it.
6625 (cl-eval-when): Simplify debug spec.
6626 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6627 compiler-macro function instead of setting `compiler-macro-file'.
6628
6629 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6630
6631 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6632 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6633
6634 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6635 Daniel Hackney <dan@haxney.org>
6636
6637 First part of Daniel Hackney's patch to package.el.
6638 * emacs-lisp/package.el: Use defstruct.
6639 (package-desc): New, main struct.
6640 (package--bi-desc, package--ac-desc): New structs, used to describe the
6641 format in external files.
6642 (package-desc-vers): Replace with package-desc-version accessor.
6643 (package-desc-doc): Replace with package-desc-summary accessor.
6644 (package-activate-1): Remove `package' arg since the pkg-vec now
6645 includes the name.
6646 (define-package): Use package-desc-from-define.
6647 (package-unpack-single): Change file-name arg to be a symbol.
6648 (package--add-to-archive-contents): Use package-desc-create and new
6649 accessor functions to package--ac-desc.
6650 (package-buffer-info, package-tar-file-info): Return a package-desc.
6651 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6652 arg to be a package-desc.
6653 (package-install-file): Adjust accordingly. Use \' to match EOS.
6654 (package--from-builtin): New function.
6655 (describe-package-1, package-menu--generate): Use it.
6656 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6657 (package-generate-autoloads): Idem and return the name of the file.
6658 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6659 Change pkg-info arg to be a package-desc.
6660 Use package-make-ac-desc.
6661 (package-upload-file): Use \' to match EOS.
6662 * finder.el (finder-compile-keywords): Use package-make-builtin.
6663
6664 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * vc/vc.el (vc-deduce-fileset): Change error message.
6667 (vc-read-backend): New function.
6668 (vc-next-action): Use it.
6669
6670 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6671
6672 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6673 (prolog-font-lock-keywords): Use regexp-opt instead.
6674 Don't manually highlight strings.
6675 (prolog-mode-variables): Simplify comment-start-skip.
6676 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6677
6678 * emacs-lisp/generic.el (generic--normalise-comments)
6679 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6680 (generic-mode-set-comments): Use them.
6681 (generic-bracket-support): Use setq-local.
6682 (generic-make-keywords-list): Declare obsolete.
6683
6684 2013-06-11 Glenn Morris <rgm@gnu.org>
6685
6686 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6687 Prettify after setting font-lock-defaults. (Bug#14574)
6688
6689 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6690
6691 * replace.el (query-replace, occur-read-regexp-defaults-function)
6692 (replace-search):
6693 * subr.el (declare-function, number-sequence, local-set-key)
6694 (substitute-key-definition, locate-user-emacs-file)
6695 (with-silent-modifications, split-string, eval-after-load):
6696 Fix typos, remove unneeded backslashes and reflow some docstrings.
6697
6698 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6701 default for Elisp files.
6702
6703 2013-06-11 Glenn Morris <rgm@gnu.org>
6704
6705 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6706 although define-derived-mode was doing this anyway. (Bug#14583)
6707
6708 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6711 Fix make-variable-buffer-local call to refer to the correct variable.
6712
6713 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6714
6715 * eshell/em-term.el (eshell-visual-commands)
6716 (eshell-visual-subcommands, eshell-visual-options):
6717 Add summary line to docstrings. Add cross-references.
6718
6719 2013-06-10 Glenn Morris <rgm@gnu.org>
6720
6721 * epa.el (epa-read-file-name): New function. (Bug#14510)
6722 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6723
6724 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6725
6726 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6727 output redirection to be ignored with visual commands.
6728
6729 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6730
6731 * eshell/em-term.el (eshell-visual-command-p): New function.
6732 (eshell-term-initialize): Move long lambda to separate function
6733 eshell-visual-command-p.
6734 * eshell/em-dirs.el (eshell-dirs-initialise):
6735 * eshell/em-script.el (eshell-script-initialize):
6736 Add missing #' to lambda.
6737
6738 2013-06-08 Leo Liu <sdl.web@gmail.com>
6739
6740 * progmodes/octave.el (octave-add-log-current-defun): New function.
6741 (octave-mode): Set add-log-current-defun-function.
6742 (octave-goto-function-definition): Do not move point if not found.
6743 (octave-find-definition): Enhance to try subfunctions first.
6744
6745 2013-06-08 Glenn Morris <rgm@gnu.org>
6746
6747 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6748 (byte-compile-backward-char, byte-compile-backward-word):
6749 Improve previous change, to handle non-explicit nil.
6750
6751 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6754 (smie--opener/closer-at-point): New function.
6755 (smie--matching-block-data): Use it. Don't match from right after an
6756 opener or right before a closer. Obey smie-blink-matching-inners.
6757 Don't signal a mismatch for repeated inners like "switch..case..case".
6758
6759 2013-06-07 Leo Liu <sdl.web@gmail.com>
6760
6761 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6762 to t. (Bug#14303)
6763 (octave-function-header-regexp): Fix. (Bug#14570)
6764 (octave-help-mode-finish-hook, octave-help-mode-finish):
6765 Remove. Just use temp-buffer-show-hook.
6766
6767 * newcomment.el (comment-search-backward): Revert last change.
6768 (Bug#14434)
6769
6770 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6771
6772 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6773
6774 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6775 through xargs, to avoid failure due to MS-Windows limitations on
6776 command-line length.
6777
6778 2013-06-06 Glenn Morris <rgm@gnu.org>
6779
6780 * font-lock.el (lisp-font-lock-keywords-2):
6781 Treat user-error like error.
6782
6783 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6784 (byte-compile-backward-char, byte-compile-backward-word):
6785 Handle explicit nil arguments. (Bug#14565)
6786
6787 2013-06-05 Alan Mackenzie <acm@muc.de>
6788
6789 * isearch.el (isearch-allow-prefix): New user option.
6790 (isearch-other-meta-char): Don't exit isearch when a prefix
6791 argument is typed whilst `isearch-allow-prefix' is non-nil.
6792 (Bug#9706)
6793
6794 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * autorevert.el (auto-revert-notify-handler): Use memq.
6797 Hide assertion failure.
6798
6799 * skeleton.el: Use cl-lib.
6800 (skeleton-further-elements): Use defvar-local.
6801 (skeleton-insert): Use cl-progv.
6802
6803 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6804
6805 * progmodes/prog-mode.el (prog-prettify-symbols)
6806 (prog-prettify-install): Update docstrings.
6807
6808 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * simple.el: Move all the prog-mode code to prog-mode.el.
6811 * progmodes/prog-mode.el: New file.
6812 * loadup.el: Add prog-mode.el.
6813
6814 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6815
6816 * simple.el (prog-prettify-symbols): Add version.
6817 (prog-prettify-install): Add convenience function to prettify symbols.
6818
6819 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6820 (perl--augmented-font-lock-keywords-1)
6821 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6822 variables and use it.
6823
6824 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6825 (cfengine3-mode): Remove unneeded variable and use it.
6826
6827 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6828 (lisp--augmented-font-lock-keywords-1)
6829 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6830 Remove unneeded variables and use it.
6831
6832 2013-06-05 João Távora <joaotavora@gmail.com>
6833
6834 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6835 to point when opening the connection. (Bug#14380)
6836
6837 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * subr.el (load-history-regexp, load-history-filename-element)
6840 (eval-after-load, after-load-functions, do-after-load-evaluation)
6841 (eval-next-after-load, display-delayed-warnings)
6842 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6843 definition of save-match-data.
6844 (overriding-local-map): Remove accidental obsolescence declaration.
6845
6846 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6847
6848 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6849
6850 Generalize symbol prettify support to prog-mode and implement it
6851 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6852 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6853 (prog--prettify-font-lock-compose-symbol)
6854 (prog-prettify-font-lock-symbols-keywords): New variables and
6855 functions to support symbol prettification.
6856 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6857 (lisp--augmented-font-lock-keywords-1)
6858 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6859 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6860 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6861 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6862 Implement prettify of -> => :: strings.
6863 * progmodes/perl-mode.el (perl-prettify-symbols)
6864 (perl--font-lock-compose-symbol)
6865 (perl--font-lock-symbols-keywords): Move to prog-mode.
6866 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6867 (perl-font-lock-keywords-1)
6868 (perl-font-lock-keywords-2): Remove explicit prettify support.
6869 (perl--augmented-font-lock-keywords)
6870 (perl--augmented-font-lock-keywords-1)
6871 (perl--augmented-font-lock-keywords-2, perl-mode):
6872 Implement prettify support.
6873
6874 2013-06-05 Leo Liu <sdl.web@gmail.com>
6875
6876 Re-implement smie matching block highlight using
6877 show-paren-data-function. (Bug#14395)
6878 * emacs-lisp/smie.el (smie-matching-block-highlight)
6879 (smie--highlight-matching-block-overlay)
6880 (smie--highlight-matching-block-lastpos)
6881 (smie-highlight-matching-block)
6882 (smie-highlight-matching-block-mode): Remove.
6883 (smie--matching-block-data-cache): New variable.
6884 (smie--matching-block-data): New function.
6885 (smie-setup): Use smie--matching-block-data for
6886 show-paren-data-function.
6887
6888 * progmodes/octave.el (octave-mode-menu): Fix.
6889 (octave-find-definition): Skip garbage lines.
6890
6891 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 Fix compilation error with simultaneous dynamic+lexical scoping.
6894 Add warning when a defvar appears after the first let-binding.
6895 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6896 (byte-compile-close-variables): Initialize it.
6897 (byte-compile--declare-var): New function.
6898 (byte-compile-file-form-defvar)
6899 (byte-compile-file-form-define-abbrev-table)
6900 (byte-compile-file-form-custom-declare-variable): Use it.
6901 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6902 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6903 (byte-compile-bind): Handle dynamic bindings that shadow
6904 lexical bindings.
6905 (byte-compile-unbind): Make arg non-optional.
6906 (byte-compile-let): Simplify.
6907 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6908 (cconv--analyse-function, cconv-analyse-form): Populate it.
6909 Protect byte-compile-bound-variables to limit the scope of defvars.
6910 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6911 Remove unneeded rule for `declare'.
6912
6913 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6914 so as to avoid depending on cl-adjoin at run-time.
6915 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6916
6917 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6918 (macroexp--warn-and-return): Use it.
6919
6920 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * lisp/subr.el: Convert to lexical binding.
6923 (overriding-local-map): Make obsolete.
6924 (add-to-list): Doc fix. Add compiler macro.
6925 (read-key): Swap values of local maps.
6926
6927 2013-06-05 Leo Liu <sdl.web@gmail.com>
6928
6929 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6930
6931 2013-06-04 Leo Liu <sdl.web@gmail.com>
6932
6933 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6934 (compilation-auto-jump): Suppress the "Mark set" message to give
6935 way to exit message.
6936
6937 2013-06-04 Alan Mackenzie <acm@muc.de>
6938
6939 Remove faulty optimisation from indentation calculation.
6940 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6941 search limit based on 2000 characters back from indent-point.
6942
6943 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6944
6945 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6946
6947 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * emacs-lisp/lisp.el: Use lexical-binding.
6950 (lisp--local-variables-1, lisp--local-variables): New functions.
6951 (lisp--local-variables-completion-table): New var.
6952 (lisp-completion-at-point): Use it complete let-bound vars.
6953
6954 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6955 eagerly (bug#14422).
6956
6957 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6958
6959 * autorevert.el (auto-revert-notify-enabled)
6960 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6961 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6962 (auto-revert-notify-handler): Handle also gfilenotify.
6963
6964 * subr.el (file-notify-handle-event): New defun. Replacing ...
6965 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6966 Remove.
6967
6968 2013-06-03 Juri Linkov <juri@jurta.org>
6969
6970 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6971 `M-s h .'. (Bug#14427)
6972
6973 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6974 command `hi-lock-face-symbol-at-point'.
6975 (hi-lock-face-symbol-at-point): New command.
6976 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6977 (hi-lock-menu): Add `highlight-symbol-at-point'.
6978 (hi-lock-mode): Doc fix.
6979
6980 * isearch.el (isearch-forward-symbol-at-point): New command.
6981 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6982 (isearch-highlight-regexp): Add a regexp which matches
6983 words/symbols for word/symbol mode.
6984
6985 * subr.el (find-tag-default-bounds): New function with the body
6986 mostly moved from `find-tag-default'.
6987 (find-tag-default): Move most code to `find-tag-default-bounds',
6988 call it and apply `buffer-substring-no-properties' afterwards.
6989
6990 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6991
6992 * eshell/em-term.el (eshell-term-initialize):
6993 Use `cl-intersection' rather than `intersection'.
6994
6995 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6996
6997 * vc/log-view.el: Doc fix.
6998 (log-view-mode-map): Copy keymap from `special-mode-map'.
6999
7000 2013-06-02 Eric Ludlam <zappo@gnu.org>
7001
7002 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7003 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7004 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7005 (eieio-unbound, eieio-default-superclass)
7006 (eieio--define-field-accessors, method-static, method-before)
7007 (method-primary, method-after, method-num-lists)
7008 (method-generic-before, method-generic-primary)
7009 (method-generic-after, method-num-slots)
7010 (eieio-specialized-key-to-generic-key)
7011 (eieio--check-type, class-v, class-p)
7012 (eieio-class-name, define-obsolete-function-alias)
7013 (eieio-class-parents-fast, eieio-class-children-fast)
7014 (same-class-fast-p, class-constructor, generic-p)
7015 (generic-primary-only-p, generic-primary-only-one-p)
7016 (class-option-assoc, class-option, eieio-object-p)
7017 (class-abstract-p, class-method-invocation-order)
7018 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7019 (eieio-class-un-autoload, eieio-defclass)
7020 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7021 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7022 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7023 (eieio-defgeneric-reset-generic-form)
7024 (eieio-defgeneric-form-primary-only)
7025 (eieio-defgeneric-reset-generic-form-primary-only)
7026 (eieio-defgeneric-form-primary-only-one)
7027 (eieio-defgeneric-reset-generic-form-primary-only-one)
7028 (eieio-unbind-method-implementations)
7029 (eieio--defmethod, eieio--typep)
7030 (eieio-perform-slot-validation, eieio-validate-slot-value)
7031 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7032 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7033 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7034 (eieio-slot-name-index, eieio-class-slot-name-index)
7035 (eieio-set-defaults, eieio-initarg-to-attribute)
7036 (eieio-attribute-to-initarg, eieio-c3-candidate)
7037 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7038 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7039 (eieio-class-precedence-list, eieio-generic-call-methodname)
7040 (eieio-generic-call-arglst, eieio-generic-call-key)
7041 (eieio-generic-call-next-method-list)
7042 (eieio-pre-method-execution-functions, eieio-generic-call)
7043 (eieio-generic-call-primary-only, eieiomt-method-list)
7044 (eieiomt-optimizing-obarray, eieiomt-install)
7045 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7046 (eieio-generic-form, eieio-defmethod, make-obsolete)
7047 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7048 (defclass): Remove `eval-and-compile' from macro.
7049 (call-next-method, shared-initialize): Instead of using
7050 `scoped-class' variable, use new eieio--scoped-class, and
7051 eieio--with-scoped-class.
7052 (initialize-instance): Rename local variable 'scoped-class' to
7053 'this-class' to remove ambiguitity from old global.
7054
7055 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7056 eieio.el.
7057 (eieio--scoped-class-stack): New variable.
7058 (eieio--scoped-class): New fcn.
7059 (eieio--with-scoped-class): New scoping macro.
7060 (eieio-defclass): Use pushnew instead of add-to-list.
7061 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7062 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7063 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7064 `scoped-class' variable, use new eieio--scoped-class, and
7065 eieio--with-scoped-class.
7066
7067 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7068
7069 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7070
7071 * eshell/esh-ext.el (eshell-external-command): Pass args to
7072 `eshell-find-interpreter'.
7073 (eshell-find-interpreter): Add new second parameter ARGS.
7074
7075 * eshell/em-script.el (eshell-script-initialize): Add second arg
7076 to the function added as MATCH to `eshell-interpreter-alist'.
7077
7078 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7079 the function added as MATCH to `eshell-interpreter-alist'.
7080
7081 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7082 (eshell-visual-options): New defcustom.
7083 (eshell-escape-control-x): Adapt docstring.
7084 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7085 `eshell-visual-options' in addition to `eshell-visual-commands'.
7086 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7087
7088 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7089
7090 * progmodes/python.el (python-indent-block-enders): Add break,
7091 continue and raise keywords.
7092
7093 2013-06-01 Glenn Morris <rgm@gnu.org>
7094
7095 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7096
7097 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7098 * progmodes/cc-cmds.el (delete-forward-p):
7099 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7100 * progmodes/cc-engine.el (buffer-syntactic-context):
7101 * progmodes/cc-fonts.el (face-property-instance):
7102 * progmodes/cc-mode.el (set-keymap-parents):
7103 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7104 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7105 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7106 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7107 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7108
7109 * progmodes/cc-vars.el (other): Emacs has this widget since
7110 at least 21.1, so don't (re)define it.
7111
7112 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7113 Replace the obsolete alias pcomplete-arg-quote-list.
7114
7115 2013-06-01 Leo Liu <sdl.web@gmail.com>
7116
7117 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7118 punctuation syntax.
7119 (inferior-octave-minimal-columns)
7120 (inferior-octave-last-column-width): New variables.
7121 (inferior-octave-track-window-width-change): New function.
7122 (inferior-octave-mode): Adjust column width so that Octave output,
7123 for example from 'ls', can fit into the window nicely.
7124
7125 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7126
7127 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7128 Highlight expansions inside regexp literals.
7129
7130 2013-05-31 Glenn Morris <rgm@gnu.org>
7131
7132 * obsolete/sym-comp.el (symbol-complete):
7133 Replace obsolete completion-annotate-function.
7134
7135 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7136
7137 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7138
7139 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7140 New function, checks if point is inside a literal that allows
7141 expression expansion.
7142 (ruby-syntax-propertize-expansion): Use it.
7143 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7144 around the body.
7145
7146 2013-05-30 Juri Linkov <juri@jurta.org>
7147
7148 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7149 to "\M-si".
7150 (isearch-invisible): New variable.
7151 (isearch-forward): Doc fix.
7152 (isearch-mode): Set `isearch-invisible'
7153 to the value of `search-invisible'.
7154 (isearch-toggle-case-fold): Doc fix.
7155 (isearch-toggle-invisible): New command.
7156 (isearch-query-replace): Let-bind `search-invisible'
7157 to the value of `isearch-invisible'.
7158 (isearch-search): Use `isearch-invisible' instead of
7159 `search-invisible'. Let-bind `search-invisible'
7160 to the value of `isearch-invisible'. (Bug#11378)
7161
7162 2013-05-30 Juri Linkov <juri@jurta.org>
7163
7164 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7165 call when `query-flag' is nil and `search-invisible' is non-nil.
7166 (Bug#11746)
7167
7168 2013-05-30 Glenn Morris <rgm@gnu.org>
7169
7170 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7171
7172 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7173 (cc-require): Suppress spurious "noruntime" warnings.
7174 (cc-require-when-compile): Use fboundp, for sake of compiler.
7175
7176 * progmodes/cc-mode.el: Move load of cc-vars before that of
7177 cc-langs (which in turn loads cc-vars), to quieten compiler.
7178
7179 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * paren.el: Simplify the code.
7182 (show-paren-mode): Always start the timer.
7183 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7184 (show-paren--overlay, show-paren--overlay-1): Rename from
7185 show-paren-overlay and show-paren-overlay-1, and initialize to an
7186 overlay rather than to nil.
7187 (show-paren-function): Misc cleanup and simplifications.
7188
7189 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * paren.el (show-paren-data-function): New hook.
7192 (show-paren--default): New function, extracted from show-paren-function.
7193 (show-paren-function): Use show-paren-data-function.
7194
7195 2013-05-30 Glenn Morris <rgm@gnu.org>
7196
7197 * ielm.el (ielm-map, ielm-complete-symbol):
7198 Use completion-at-point rather than obsolete functions.
7199 (inferior-emacs-lisp-mode): Doc fix.
7200 Set completion-at-point-functions, rather than
7201 comint-dynamic-complete-functions.
7202
7203 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7204 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7205 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7206
7207 * image.el (image-animated-p): Tweak definition.
7208
7209 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7210 (rlogin-process-connection-type): Tweak default. Add set-after.
7211 (rlogin-host): Doc fix.
7212 (rlogin): Tweak prompt.
7213 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7214
7215 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7216 * progmodes/tcl.el (inferior-tcl-mode-map):
7217 Use completion-at-point rather than obsolete alias.
7218
7219 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7220
7221 * minibuffer.el (read-file-name-completion-ignore-case):
7222 Move before completion--in-region, for eager macro expansion.
7223
7224 2013-05-29 Juri Linkov <juri@jurta.org>
7225
7226 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7227 for total count of matching lines. Add `global-matches' for total
7228 count of matches. Rename `matches' to `lines' for count of
7229 matching lines. Add `matches' for count of matches.
7230 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7231 to `prev-line' for line number of prev match endpt.
7232 Increment `matches' for every match. Print the number of
7233 matching lines in the header.
7234 (occur-context-lines): Rename `lines' to `curr-line'.
7235 Rename `prev-lines' to `prev-line'. (Bug#14017)
7236
7237 2013-05-29 Juri Linkov <juri@jurta.org>
7238
7239 * replace.el (perform-replace): Add `skip-read-only-count',
7240 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7241 Increment them for corresponding conditions and report the number
7242 of skipped occurrences in the final message. (Bug#11746)
7243 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7244 (replace-string, replace-regexp): Doc fix.
7245
7246 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7249
7250 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7251 prog-mode-map (bug#14504).
7252
7253 2013-05-29 Leo Liu <sdl.web@gmail.com>
7254
7255 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7256 (octave-help): Small simplification.
7257
7258 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7259 off the highlight first.
7260
7261 2013-05-29 Glenn Morris <rgm@gnu.org>
7262
7263 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7264 Handle idlwave-last-system-routine-info-cons-cell being nil.
7265
7266 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7267 (idlwave-write-paths): Simplify via with-temp-buffer.
7268
7269 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7270 * emulation/cua-rect.el: Also load cua-base at run time.
7271
7272 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7273 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7274 (cperl-imenu-on-info): Require imenu.
7275
7276 2013-05-28 Alan Mackenzie <acm@muc.de>
7277
7278 Handle "capitalised keywords" correctly.
7279 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7280
7281 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7282
7283 * eshell/em-unix.el: Add -r option to cp.
7284
7285 2013-05-28 Glenn Morris <rgm@gnu.org>
7286
7287 * vc/vc-arch.el (vc-exec-after): Declare.
7288 (vc-switches): Autoload.
7289 * vc/vc-bzr.el: No need to require vc when compiling.
7290 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7291 (vc-resynch-buffer, vc-dir-refresh): Declare.
7292 (vc-setup-buffer, vc-switches): Autoload.
7293 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7294 (vc-resynch-buffer): Declare.
7295 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7296 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7297 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7298 (grep-read-regexp, grep-read-files, grep-expand-template)
7299 (vc-dir-refresh): Declare.
7300 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7301 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7302 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7303 * vc/vc-mtn.el (vc-exec-after): Declare.
7304 (vc-switches): Autoload.
7305 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7306 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7307 (vc-file-tree-walk): Declare.
7308 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7309 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7310 (vc-tag-precondition, vc-rename-master): Autoload.
7311 * vc/vc-svn.el (vc-exec-after): Declare.
7312 (vc-switches, vc-setup-buffer): Autoload.
7313 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7314 Autoload.
7315 (vc-resynch-buffer): Declare.
7316
7317 * obsolete/fast-lock.el (byte-compile-warnings):
7318 Don't warn about obsolete features in this obsolete file.
7319
7320 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7321 Move definition before use.
7322
7323 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7324 (dun-unix-verbs): Remove dun-zippy.
7325 (dun-zippy): Remove function.
7326
7327 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7328
7329 2013-05-27 Juri Linkov <juri@jurta.org>
7330
7331 * replace.el (replace-search): New function with code moved out
7332 from `perform-replace'.
7333 (replace-highlight, replace-dehighlight): Move function definitions
7334 up closer to `replace-search'. (Bug#11746)
7335
7336 2013-05-27 Juri Linkov <juri@jurta.org>
7337
7338 * replace.el (perform-replace): Ignore invisible matches.
7339 In addition to checking `query-replace-skip-read-only', also
7340 filter out matches by calling `run-hook-with-args-until-failure'
7341 on `isearch-filter-predicates', and also check `search-invisible'
7342 for t or call `isearch-range-invisible'.
7343 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7344
7345 2013-05-27 Juri Linkov <juri@jurta.org>
7346
7347 * isearch.el (isearch-filter-predicates): Rename from
7348 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7349 (isearch-message-prefix): Display text from the property
7350 `isearch-message-prefix' of the currently active filters.
7351 (isearch-search): Don't compare `isearch-filter-predicate' with
7352 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7353 on `isearch-filter-predicates'. Also check `search-invisible' for t
7354 or call `isearch-range-invisible'.
7355 (isearch-filter-visible): Make obsolete.
7356 (isearch-lazy-highlight-search):
7357 Call `run-hook-with-args-until-failure' on
7358 `isearch-filter-predicates' and use `isearch-range-invisible'.
7359
7360 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7361 `isearch-filter-predicates' instead of `funcall'ing
7362 `isearch-filter-predicate'.
7363 (Info-mode): Set `Info-isearch-filter' to
7364 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7365
7366 * dired-aux.el (dired-isearch-filter-predicate-orig):
7367 Remove variable.
7368 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7369 (dired-isearch-filenames-end): Add and remove
7370 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7371 instead of changing the value of `isearch-filter-predicate'.
7372 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7373 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7374 Put property `isearch-message-prefix' to "filename " on
7375 `dired-isearch-filter-filenames'.
7376
7377 * wdired.el (wdired-change-to-wdired-mode):
7378 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7379 locally instead of changing `isearch-filter-predicate'.
7380 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7381
7382 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7383
7384 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7385 return the commit hash (Bug#14459). Also set the
7386 `vc-git-detached' property.
7387 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7388 (vc-git-mode-line-string): Use the same help-echo format whether
7389 in detached mode or not, because we know the actual revision now.
7390 When in detached mode, shorten the revision to 7 chars.
7391
7392 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * emacs-lisp/easy-mmode.el (define-minor-mode):
7395 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7396 mode hook and provide a docstring.
7397
7398 2013-05-27 Alan Mackenzie <acm@muc.de>
7399
7400 Remove spurious syntax-table text properties inserted by C-y.
7401 * progmodes/cc-mode.el (c-after-change): Also clear hard
7402 syntax-table property with value nil.
7403
7404 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7405
7406 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7407 when reading the events; the buffer layout shall not be changed.
7408
7409 2013-05-27 Leo Liu <sdl.web@gmail.com>
7410
7411 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7412 New variable.
7413 (inferior-octave-directory-tracker): Automatically re-sync
7414 default-directory.
7415 (octave-help): Improve handling of 'See also'.
7416
7417 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * doc-view.el: Minor naming convention tweaks.
7420 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7421
7422 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7423 even if there's no `display' property yet (bug#14435).
7424
7425 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7426
7427 * subr.el (unmsys--file-name): Rename from reveal-filename.
7428
7429 * Makefile.in (custom-deps, finder-data, autoloads)
7430 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7431 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7432 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7433
7434 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7437 error-completion on the first 2 args of condition-case (bug#14446).
7438 Don't burp at EOB.
7439
7440 2013-05-25 Leo Liu <sdl.web@gmail.com>
7441
7442 * comint.el (comint-previous-matching-input): Do not flood the
7443 *Messages* buffer with trivial messages.
7444
7445 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * progmodes/flymake.el (flymake-nop): Don't return a string.
7448 (flymake-set-at): Fix typo.
7449
7450 * simple.el (read--expression): New function, extracted from
7451 eval-expression. Set completion-at-point-functions (bug#14465).
7452 (eval-expression, eval-minibuffer): Use it.
7453
7454 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7455
7456 * progmodes/flymake.el (flymake-save-buffer-in-file)
7457 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7458 (flymake-selected-frame, flymake-log, flymake-ins-after)
7459 (flymake-set-at, flymake-get-buildfile-from-cache)
7460 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7461 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7462 Refine the doc string.
7463 (flymake-get-file-name-mode-and-masks): Reformat.
7464 (flymake-get-real-file-name-function): Fix a minor bug.
7465
7466 2013-05-24 Juri Linkov <juri@jurta.org>
7467
7468 * progmodes/grep.el (grep-mode-font-lock-keywords):
7469 Support =linenumber= format used by git-grep for lines with
7470 function names. (Bug#13549)
7471
7472 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7475 0 after a semi-colon; it works better for smie-auto-fill.
7476 (octave--indent-new-comment-line): New function.
7477 (octave-indent-new-comment-line): Use it (indirectly).
7478 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7479 modify comment-line-break-function.
7480
7481 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7482 (smie-setup): Use add-function to set it.
7483
7484 2013-05-24 Sam Steingold <sds@gnu.org>
7485
7486 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7487 argument (before the `interactive' argument).
7488
7489 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * image-mode.el (image-mode-winprops): Add winprops to
7492 image-mode-winprops-alist before running
7493 image-mode-new-window-functions.
7494 * doc-view.el (doc-view-new-window-function): Don't delay
7495 doc-view-goto-page via timers (bug#14435).
7496
7497 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7498
7499 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7500 (doc-view-desktop-save-buffer): New function.
7501 (doc-view-restore-desktop-buffer): New function.
7502 (desktop-buffer-mode-handlers):
7503 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7504 handler.
7505 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7506 `desktop-save-buffer' function.
7507
7508 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7511 (tramp-gvfs-file-name-handler): Raise a user error when
7512 `tramp-gvfs-enabled' is nil.
7513 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7514 Do not raise a user error when loading package. (Bug#14447)
7515
7516 * net/xesam.el: Move to obsolete/.
7517
7518 2013-05-24 Glenn Morris <rgm@gnu.org>
7519
7520 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7521
7522 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7523
7524 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7525 (Info-find-node, Man-getpage-in-background): Declare.
7526
7527 * mail/unrmail.el (unrmail):
7528 Replace obsolete detect-coding-with-priority.
7529
7530 * net/socks.el (socks-split-string): Use this rather than split-string.
7531 (socks-nslookup-host): Update for above change.
7532 (dynamic-choice, s5-dynamic-choice-match)
7533 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7534 Comment out unused code.
7535
7536 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7537 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7538 (gud-tooltip-echo-area): Make obsolete.
7539 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7540
7541 * progmodes/js.el (js--optimize-arglist): Declare.
7542
7543 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7544
7545 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7546 (ediff-window-C): Declare.
7547
7548 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7549 Tweak requires to silence compiler.
7550
7551 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7552 (he-search-string, he-tried-table, he-expand-list)
7553 (he-init-string, he-string-member, he-substitute-string)
7554 (he-reset-string): Declare.
7555
7556 * obsolete/options.el (list-options): Use custom-variable-p,
7557 rather than obsolete alias.
7558
7559 2013-05-23 Sam Steingold <sds@gnu.org>
7560
7561 * simple.el (shell-command-on-region): Pass the `replace' argument
7562 down to `call-process-region' to comply with the doc as reported on
7563 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7564
7565 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * emacs-lisp/smie.el (smie-indent-forward-token)
7568 (smie-indent-backward-token): Handle string tokens (bug#14381).
7569
7570 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7571
7572 * ielm.el (ielm-menu): New menu.
7573 (inferior-emacs-lisp-mode): Set comment-start.
7574
7575 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7576
7577 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7578 Fix deactivate action.
7579
7580 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7581 Add cleveref macros.
7582
7583 * lisp/textmodes/reftex-parse.el
7584 (reftex-locate-bibliography-files): Accept options for
7585 bibliography commands.
7586 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7587 Add addbibresource. Basic Biblatex support.
7588
7589 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7590
7591 * net/tramp-gvfs.el (top):
7592 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7593 when loading package. (Bug#14447)
7594
7595 2013-05-23 Glenn Morris <rgm@gnu.org>
7596
7597 * progmodes/js.el: No need to load comint when compiling.
7598 (ring-insert, comint-send-string, comint-send-input)
7599 (comint-last-input-end, ido-chop): Declare.
7600
7601 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7602 * vc/ediff-mult.el: Adjust requires.
7603 (ediff-directories-internal, ediff-directory-revisions-internal)
7604 (ediff-patch-file-internal): Declare.
7605 * vc/ediff-ptch.el: Adjust requires.
7606 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7607 (ediff-find-file): Autoload.
7608 * vc/ediff-util.el: No need to load ediff when compiling.
7609 (ediff-regions-internal): Declare.
7610 * vc/ediff-wind.el: Adjust requires.
7611 (ediff-compute-toolbar-width): Define when compiling.
7612 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7613 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7614 (dired-get-filename, dired-get-marked-files)
7615 (ediff-last-dir-patch, ediff-patch-default-directory)
7616 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7617 (ediff-patch-buffer-internal): Declare.
7618
7619 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7620 (ispell-process, ispell-buffer-local-words, lm-summary)
7621 (lm-section-start, lm-section-end): Declare.
7622 (checkdoc-ispell-init): Simplify.
7623
7624 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7625 (he-string-member, he-reset-string, he-substitute-string): Declare.
7626
7627 * eshell/em-ls.el: Adjust requires.
7628 (eshell-glob-regexp): Declare.
7629 * eshell/em-tramp.el: Adjust requires.
7630 (eshell-parse-command): Autoload.
7631 * eshell/em-xtra.el: Adjust requires.
7632 (eshell-parse-command): Autoload.
7633 * eshell/esh-ext.el: Adjust requires.
7634 (eshell-parse-command, eshell-close-handles): Autoload.
7635 * eshell/esh-io.el: Adjust requires.
7636 (eshell-output-filter): Autoload.
7637 * eshell/esh-util.el: No need to load tramp when compiling.
7638 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7639 Declare.
7640 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7641 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7642 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7643 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7644 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7645 * eshell/esh-opt.el, eshell/esh-proc.el:
7646 * eshell/esh-var.el: Adjust requires.
7647 * eshell/eshell.el: Do not require esh-util twice.
7648 (eshell-add-input-to-history): Declare.
7649 (eshell-command): Check history module is active before using it.
7650
7651 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7652
7653 2013-05-22 Leo Liu <sdl.web@gmail.com>
7654
7655 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7656
7657 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * autorevert.el (auto-revert-notify-add-watch)
7660 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7661 it indicates changes in file modification time.
7662
7663 2013-05-22 Glenn Morris <rgm@gnu.org>
7664
7665 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7666 Always delete the autoloaded function from the noruntime and
7667 unresolved functions lists.
7668
7669 * allout.el: No need to load epa, epg, overlay when compiling.
7670 (epg-context-set-passphrase-callback, epg-list-keys)
7671 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7672 (epg-key-user-id-list): Declare.
7673
7674 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7675 (viper-set-parsing-style-toggling-macro)
7676 (viper-set-emacs-state-searchstyle-macros):
7677 Use called-interactively-p on Emacs.
7678 (viper-looking-back): Make it an obsolete alias. Update callers.
7679 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7680 Use looking-back rather than viper-looking-back.
7681 (viper-tmp-insert-at-eob, viper-enlarge-region)
7682 (viper-read-string-with-history, viper-register-to-point)
7683 (viper-append-to-register, viper-change-state-to-vi)
7684 (viper-backward-char-carefully, viper-forward-char-carefully)
7685 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7686 (viper-change-state-to-emacs): Declare.
7687 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7688 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7689 * emulation/viper-mous.el: Do not load viper-cmd.
7690 (viper-backward-char-carefully, viper-forward-char-carefully)
7691 (viper-forward-word, viper-adjust-window): Declare.
7692
7693 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7694
7695 * progmodes/idlw-help.el (idlwave-help-fontify):
7696 Use called-interactively-p.
7697
7698 * term/w32console.el (w32-get-console-codepage)
7699 (w32-get-console-output-codepage): Declare.
7700
7701 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7702 Remove unnecessary declarations.
7703 (dframe-message): Doc fix.
7704
7705 * info.el (dframe-select-attached-frame, dframe-current-frame):
7706 Declare.
7707
7708 * speedbar.el (speedbar-message): Make it an obsolete alias.
7709 Update all callers.
7710 (speedbar-with-attached-buffer)
7711 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7712 (speedbar-with-writable): Use backquote.
7713 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7714 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7715 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7716 rather than speedbar- aliases.
7717 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7718 (speedbar-make-specialized-keymap, speedbar-insert-button)
7719 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7720 (speedbar-do-function-pointer): Declare.
7721 (rmail-speedbar-button, rmail-speedbar-find-file)
7722 (rmail-speedbar-move-message):
7723 Use dframe-with-attached-buffer rather than speedbar- alias.
7724 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7725 (dframe-message, speedbar-make-specialized-keymap)
7726 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7727 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7728 (speedbar-insert-button, dframe-select-attached-frame)
7729 (dframe-maybee-jump-to-attached-frame)
7730 (speedbar-change-initial-expansion-list)
7731 (speedbar-previously-used-expansion-list-name): Declare.
7732 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7733 Use dframe-message, dframe-with-attached-buffer rather than
7734 speedbar- aliases.
7735 (gud-sentinel): Silence compiler.
7736 * progmodes/vhdl-mode.el (speedbar-refresh)
7737 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7738 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7739 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7740 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7741 (speedbar-file-lists, speedbar-make-tag-line)
7742 (speedbar-line-directory, speedbar-goto-this-file)
7743 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7744 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7745 (speedbar-make-button, speedbar-reset-scanners)
7746 (speedbar-files-item-info, speedbar-line-text)
7747 (speedbar-find-file-in-frame, speedbar-set-timer)
7748 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7749 (speedbar-with-writable): Do not (re)define it.
7750 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7751 rather than speedbar- alias.
7752
7753 2013-05-21 Leo Liu <sdl.web@gmail.com>
7754
7755 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7756 menu items.
7757 (octave-mode): Tweak fill-nobreak-predicate.
7758 (inferior-octave-startup): Check process to avoid infinite loop.
7759 (inferior-octave): Pop to buffer first to show abornmal process
7760 exit information.
7761
7762 2013-05-21 Glenn Morris <rgm@gnu.org>
7763
7764 * printing.el (pr-menu-bar): Define when compiling.
7765
7766 2013-05-21 Leo Liu <sdl.web@gmail.com>
7767
7768 * progmodes/octave.el (octave-auto-fill): Remove.
7769 (octave-indent-new-comment-line): Improve.
7770 (octave-mode): Use auto fill mode through
7771 comment-line-break-function and fill-nobreak-predicate.
7772 (octave-goto-function-definition): Support DEFUN_DLD.
7773 (octave-beginning-of-defun): Small tweak.
7774 (octave-help): Show parent directory.
7775
7776 2013-05-21 Glenn Morris <rgm@gnu.org>
7777
7778 * files.el (dired-unmark):
7779 * progmodes/gud.el (gdb-input): Update declarations.
7780
7781 * calculator.el (electric, ehelp): No need to load when compiling.
7782 (Electric-command-loop, electric-describe-mode): Declare.
7783
7784 * doc-view.el (doc-view-current-converter-processes): Move before use.
7785
7786 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7787 Move MODE-set-explicitly definition before use.
7788
7789 * international/mule-diag.el (mule-diag):
7790 Don't use obsolete window-system-version.
7791
7792 * mail/feedmail.el (smtpmail): No need to load when compiling.
7793 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7794
7795 * mail/mail-utils.el (rfc822): No need to load when compiling.
7796 (rfc822-addresses): Autoload it.
7797 (mail-strip-quoted-names): Trivial simplification.
7798
7799 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7800 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7801
7802 * net/snmp-mode.el (tempo): Don't duplicate requires.
7803
7804 * progmodes/prolog.el (info): No need to load when compiling.
7805 (comint): Require before shell requires it.
7806 (Info-goto-node): Autoload it.
7807 (Info-follow-nearest-node): Declare.
7808 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7809
7810 * textmodes/artist.el (picture-mode-exit): Declare.
7811
7812 * textmodes/reftex-parse.el (reftex-parse-from-file):
7813 Trivial rewrite so the compiler can parse it better.
7814
7815 2013-05-20 Leo Liu <sdl.web@gmail.com>
7816
7817 * progmodes/octave.el (octave-help-mode-map)
7818 (octave-help-mode-finish-hook): New variables.
7819 (octave-help-mode, octave-help-mode-finish): New functions.
7820 (octave-help): Use octave-help-mode.
7821
7822 2013-05-20 Glenn Morris <rgm@gnu.org>
7823
7824 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7825
7826 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7827
7828 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7829 start at point, so that expansion starting right after opening
7830 slash in a regexp is recognized.
7831 (ruby-syntax-before-regexp-re): New defvar, extracted from
7832 ruby-syntax-propertize-function. Since the value of this regexp
7833 is looked up at runtime now, we should be able to turn
7834 `ruby-syntax-methods-before-regexp' into a defcustom later.
7835 (ruby-syntax-propertize-function): Split regexp matching into two
7836 parts, for opening and closing slashes. That allows us to skip
7837 over string interpolations and support multiline regexps.
7838 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7839 for them, which calls `ruby-syntax-propertize-expansion'.
7840 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7841 call to `ruby-syntax-propertize-function'.
7842 (ruby-syntax-propertize-expansion): Extracted from
7843 `ruby-syntax-propertize-expansions'. Handles one expansion.
7844 (ruby-syntax-propertize-percent-literal): Leave point right after
7845 the percent symbol, so that the expression expansion rule can
7846 propertize the contents.
7847 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7848 heredoc openers.
7849 (ruby-syntax-propertize-expansions): Remove.
7850
7851 2013-05-18 Juri Linkov <juri@jurta.org>
7852
7853 * man.el (Man-default-man-entry): Remove `-' from the end
7854 of the default value. (Bug#14400)
7855
7856 2013-05-18 Glenn Morris <rgm@gnu.org>
7857
7858 * comint.el (comint-password-prompt-regexp):
7859 Allow "password for XXX" where XXX contains colons (eg https://...).
7860
7861 2013-05-18 Leo Liu <sdl.web@gmail.com>
7862
7863 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7864 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7865 (octave-source-directories): Don't check process.
7866 (octave-source-directories, octave-find-definition): Doc fix.
7867
7868 2013-05-18 Glenn Morris <rgm@gnu.org>
7869
7870 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7871 Remove backspace/delete bindings. (Bug#14392)
7872
7873 * cus-dep.el (custom-make-dependencies): Sort the output.
7874 (custom-versions-load-alist): Convert comment to doc.
7875
7876 2013-05-17 Leo Liu <sdl.web@gmail.com>
7877
7878 * newcomment.el (comment-search-backward): Stricter in finding
7879 comment start. (Bug#14303)
7880
7881 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7882 (octave-comment-start-skip): Properly anchored.
7883
7884 2013-05-17 Leo Liu <sdl.web@gmail.com>
7885
7886 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7887 Clean up when turned off. (Bug#14395)
7888 (smie--highlight-matching-block-overlay): No longer buffer-local.
7889 (smie-highlight-matching-block): Adjust.
7890
7891 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7892
7893 Doc string fix for "nanoseconds" (Bug#14406).
7894 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7895 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7896
7897 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7898
7899 * calc/calc-units.el (math-extract-units): Preserve powers
7900 of units.
7901
7902 2013-05-17 Leo Liu <sdl.web@gmail.com>
7903
7904 * subr.el (delete-consecutive-dups): New function.
7905 * ido.el (ido-set-matches-1): Use it.
7906 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7907 * ido.el (ido-remove-consecutive-dups): Remove.
7908
7909 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7912 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7913 regexp-opt's `words'.
7914
7915 2013-05-16 Leo Liu <sdl.web@gmail.com>
7916
7917 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7918 (smie--highlight-matching-block-overlay)
7919 (smie--highlight-matching-block-lastpos)
7920 (smie--highlight-matching-block-timer): New variables.
7921 (smie-highlight-matching-block): New function.
7922 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7923 (smie-setup): Conditionally enable smie-blink-matching-open.
7924
7925 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7926
7927 Sync with upstream verilog-mode r840.
7928 * progmodes/verilog-mode.el (verilog-mode-version)
7929 (verilog-mode-release-date): Update.
7930 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7931 (verilog-sig-tieoff): Fix string error on
7932 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7933 (verilog-read-decls): Fix parameters confusing
7934 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7935
7936 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7937
7938 * subr.el (reveal-filename): New function.
7939
7940 * loadup.el: Compute Emacs executable versions on MS-Windows,
7941 where executables have the .exe extension. Add a hard link
7942 emacs-XX.YY.ZZ.exe on MS-Windows.
7943
7944 * Makefile.in (XARGS_LIMIT): New variable.
7945 (custom-deps, finder-data, autoloads)
7946 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7947 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7948 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7949 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7950
7951 2013-05-16 Leo Liu <sdl.web@gmail.com>
7952
7953 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7954 (octave-mode-menu, octave-mode-map): Remove its uses.
7955
7956 2013-05-16 Reto Zimmermann <reto@gnu.org>
7957
7958 Sync with upstream vhdl mode v3.34.2.
7959 * progmodes/vhdl-mode.el: Use `push' throughout.
7960 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7961 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7962 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7963 (vhdl-actual-generic-name): New option to derive actual generic name.
7964 (vhdl-port-paste-signals): Replace formal by actual generics.
7965 (vhdl-beautify): New name for old group vhdl-align. Update users.
7966 (vhdl-beautify-options): New option.
7967 (vhdl-last-input-event): New compat alias. Use throughout.
7968 (vhdl-goto-line): Replace user level function `goto-line'.
7969 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7970 vhdl-fix-statement-buffer.
7971 (vhdl-create-mode-menu): Add some entries.
7972 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7973 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7974 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7975 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7976 to force statements on one line.
7977 (vhdl-remove-trailing-spaces-region):
7978 New, split from vhdl-remove-trailing-spaces.
7979 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7980 Respect vhdl-beautify-options.
7981 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7982 (vhdl-update-sensitivity-list): Not add with index if exists without.
7983 Not include array index with signal. Ignore keywords in comments.
7984 (vhdl-get-visible-signals): Regexp tweaks.
7985 (vhdl-template-component-inst): Handle empty library.
7986 (vhdl-template-type): Add template for 'enum' type.
7987 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7988 Use vhdl-replace-string.
7989 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7990 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7991 (vhdl-speedbar-initialize): Update for above name change.
7992 (vhdl-compose-wire-components): Fix in handling of constants.
7993 (vhdl-error-regexp-emacs-alist): New variable.
7994 (vhdl-error-regexp-add-emacs): New function;
7995 adds support for new compile.el (Emacs 22+)
7996 (vhdl-generate-makefile-1): Change target order for single lib. units.
7997 Allow use of absolute file names.
7998
7999 2013-05-16 Leo Liu <sdl.web@gmail.com>
8000
8001 * simple.el (prog-indent-sexp): Indent enclosing defun.
8002
8003 2013-05-15 Glenn Morris <rgm@gnu.org>
8004
8005 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8006 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8007 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8008 (whitespace-highlight): Move to whitespace group.
8009
8010 * comint.el (comint-source):
8011 * pcmpl-linux.el (pcmpl-linux):
8012 * shell.el (shell-faces):
8013 * eshell/esh-opt.el (eshell-opt):
8014 * international/ccl.el (ccl): Remove empty custom groups.
8015
8016 * completion.el (dynamic-completion-mode):
8017 * jit-lock.el (jit-lock-debug-mode):
8018 * minibuffer.el (completion-in-region-mode):
8019 * type-break.el (type-break-mode-line-message-mode)
8020 (type-break-query-mode):
8021 * emulation/tpu-edt.el (tpu-edt-mode):
8022 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8023 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8024 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8025
8026 * term/xterm.el (xterm): Change parent group to terminals.
8027
8028 * master.el (master): Remove empty custom group.
8029 (master-mode): Remove unused :group argument.
8030 * textmodes/refill.el (refill): Remove empty custom group.
8031 (refill-mode): Remove unused :group argument.
8032
8033 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8034
8035 * cus-dep.el: Provide a feature.
8036 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8037 Don't mistakenly ignore files whose basenames match a basename
8038 from preloaded-file-list (eg cedet/ede/simple.el).
8039 Add a fallback method for getting :group.
8040
8041 2013-05-15 Juri Linkov <juri@jurta.org>
8042
8043 * isearch.el (isearch-char-by-name): Rename from
8044 `isearch-insert-char-by-name'. Doc fix.
8045 (isearch-forward): Mention `isearch-char-by-name' in
8046 the docstring. (Bug#13348)
8047
8048 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8049 `exit-minibuffer' instead of
8050 `isearch-nonincremental-exit-minibuffer'.
8051 (isearch-edit-string): Remove mention of
8052 `isearch-nonincremental-exit-minibuffer' from docstring.
8053 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8054 (isearch-forward-exit-minibuffer)
8055 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8056
8057 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * loadup.el: Just use unversioned DOC.
8060
8061 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8062 literals as extending to EOB.
8063 (nxml-last-fontify-end): Remove unused variable.
8064 (nxml-after-change1): Use with-silent-modifications.
8065 (nxml-extend-after-change-region): Simplify.
8066 (nxml-extend-after-change-region1): Remove function.
8067 (nxml-after-change1): Don't adjust for dependent regions.
8068 (nxml-fontify-matcher): Simplify.
8069 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8070 (xmltok-add-dependent): Remove function.
8071 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8072 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8073 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8074 unclosed <[[, <?, comment, and other literals as extending to EOB.
8075 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8076 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8077 Remove functions.
8078 (rng-do-some-validation-1): Don't mark dependent regions.
8079 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8080 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8081 (nxml-clear-dependent-regions): Remove functions.
8082 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8083 (nxml-ensure-scan-up-to-date):
8084 Don't clear&mark dependent regions.
8085
8086 2013-05-15 Leo Liu <sdl.web@gmail.com>
8087
8088 * progmodes/octave.el (octave-goto-function-definition):
8089 Improve and fix callers.
8090
8091 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8094 the setter (bug#14387).
8095
8096 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8097 surrounding group (bug#14402).
8098
8099 2013-05-14 Juri Linkov <juri@jurta.org>
8100
8101 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8102 (Bug#14390)
8103
8104 2013-05-14 Glenn Morris <rgm@gnu.org>
8105
8106 * progmodes/f90.el (f90-imenu-generic-expression):
8107 Fix typo in 2013-05-08 change. (Bug#14402)
8108
8109 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8110
8111 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8112 Remove signals for which replies are never received.
8113
8114 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8115
8116 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8117 (gdb-handler-alist, gdb-handler-number): Remove variables.
8118 (gdb-handler-list): New variable.
8119 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8120 (gdb-pending-handler-p, gdb-handle-reply)
8121 (gdb-remove-all-pending-triggers): New functions.
8122 (gdb-discard-unordered-replies): New defcustom.
8123 (gdb-handler): New defstruct.
8124 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8125 instead of gdb-pending-triggers. Update docstring.
8126 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8127 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8128 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8129 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8130 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8131 (gdb-frame-handler): Pending triggers are now automatically managed.
8132 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8133 Remove argument.
8134 (gdb-input): Automatically handles pending triggers. Update docstring.
8135 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8136 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8137 Update comments.
8138 (gdb-done-or-error): Now use gdb-handle-reply.
8139
8140 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8141
8142 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8143 gdb-debug-log.
8144
8145 2013-05-14 Glenn Morris <rgm@gnu.org>
8146
8147 * subr.el (user-emacs-directory-warning): New option.
8148 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8149
8150 2013-05-14 Leo Liu <sdl.web@gmail.com>
8151
8152 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8153 during redisplay.
8154 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8155 (octave-font-lock-texinfo-comment): Fix invalid search bound
8156 error: wrong side of point.
8157
8158 2013-05-14 Glenn Morris <rgm@gnu.org>
8159
8160 * progmodes/flymake.el (flymake-xml-program): New option.
8161 (flymake-xml-init): Use it.
8162
8163 * term/xterm.el: Provide a feature.
8164
8165 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8166
8167 2013-05-13 Glenn Morris <rgm@gnu.org>
8168
8169 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8170 Add compat aliases as a hack workaround. (Bug#14384)
8171
8172 2013-05-13 Leo Liu <sdl.web@gmail.com>
8173
8174 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8175 ###, and %!.
8176 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8177 C-M-q.
8178 (octave-comment-start-skip): Include %!.
8179 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8180
8181 2013-05-12 Leo Liu <sdl.web@gmail.com>
8182
8183 * progmodes/octave.el (inferior-octave-startup): Store the value
8184 of __octave_srcdir__ for octave-source-directories.
8185 (inferior-octave-check-process): New function refactored out of
8186 inferior-octave-send-list-and-digest.
8187 (octave-source-directories)
8188 (octave-find-definition-filename-function): New variables.
8189 (octave-source-directories)
8190 (octave-find-definition-default-filename): New functions.
8191 (octave-find-definition): Improve to find functions implemented in C++.
8192
8193 2013-05-12 Glenn Morris <rgm@gnu.org>
8194
8195 * calendar/diary-lib.el (diary-outlook-format-1):
8196 Don't include dayname in the output. (Bug#14349)
8197
8198 2013-05-11 Glenn Morris <rgm@gnu.org>
8199
8200 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8201
8202 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8203 Treat cc-provide like provide.
8204
8205 2013-05-11 Kevin Ryde <user42@zip.com.au>
8206
8207 * cus-dep.el (custom-make-dependencies):
8208 Use generated-autoload-load-name for the sake of files such
8209 such cedet/semantic/bovine/c.el, where the base file name
8210 is not in load-path. (Bug#5277)
8211
8212 2013-05-11 Glenn Morris <rgm@gnu.org>
8213
8214 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8215 Provide features.
8216
8217 2013-05-11 Leo Liu <sdl.web@gmail.com>
8218
8219 * progmodes/octave.el (octave-indent-comment): Improve.
8220 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8221 (octave-eldoc-function-signatures, octave-eldoc-function):
8222 New functions.
8223 (octave-mode, inferior-octave-mode): Add eldoc support.
8224
8225 2013-05-11 Richard Stallman <rms@gnu.org>
8226
8227 * epa.el (epa-decrypt-file): Take output file name as argument
8228 and read it using `interactive'.
8229
8230 2013-05-11 Leo Liu <sdl.web@gmail.com>
8231
8232 * progmodes/octave.el (octave-beginning-of-line)
8233 (octave-end-of-line): Check before using up-list because it jumps
8234 out of more syntactic contructs since moving to smie.
8235 (octave-indent-comment): New function.
8236 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8237 (octave-begin-keywords, octave-end-keywords)
8238 (octave-reserved-words, octave-smie-bnf-table)
8239 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8240
8241 2013-05-11 Glenn Morris <rgm@gnu.org>
8242
8243 * faces.el (internal-face-x-get-resource):
8244 * frame.el (ns-display-monitor-attributes-list):
8245 * calc/calc-aent.el (math-to-radians-2):
8246 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8247 Fix declarations.
8248
8249 * calc/calc-menu.el: Make it loadable in isolation.
8250
8251 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8252 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8253 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8254 (eudc-bbdb-query-internal): Require 'bbdb.
8255
8256 * lpr.el (lpr-headers-switches):
8257 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8258
8259 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8260
8261 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8262
8263 * term.el (term-set-escape-char): Make it idempotent.
8264
8265 2013-05-10 Leo Liu <sdl.web@gmail.com>
8266
8267 * progmodes/octave.el (inferior-octave-completion-table):
8268 No longer a function and all uses changed. Use cache to speed up
8269 completion due to bug#11906.
8270 (octave-beginning-of-defun): Re-write to be more general.
8271
8272 2013-05-10 Glenn Morris <rgm@gnu.org>
8273
8274 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8275
8276 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * comint.el (comint-redirect-send-command-to-process): Use :around
8279 rather than :override for comint-redirect-filter.
8280 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8281 Call it instead of comint-redirect-original-filter-function (which
8282 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8283
8284 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8285
8286 * frame.el (display-monitor-attributes-list): Add NS case.
8287 (ns-display-monitor-attributes-list): Declare.
8288
8289 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8290
8291 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8292
8293 2013-05-09 Glenn Morris <rgm@gnu.org>
8294
8295 * international/fontset.el (vertical-centering-font-regexp):
8296 Set standard-value.
8297
8298 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8299
8300 * bookmark.el (bookmark-search-delay):
8301 * cus-start.el (vertical-centering-font-regexp):
8302 * ps-mule.el (ps-mule-font-info-database-default):
8303 * ps-print.el (ps-default-fg, ps-default-bg):
8304 * type-break.el (type-break-good-break-interval):
8305 * whitespace.el (whitespace-indentation-regexp)
8306 (whitespace-space-after-tab-regexp):
8307 * emacs-lisp/testcover.el (testcover-1value-functions)
8308 (testcover-noreturn-functions, testcover-progn-functions)
8309 (testcover-prog1-functions):
8310 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8311 * eshell/em-glob.el (eshell-glob-translate-alist):
8312 * play/tetris.el (tetris-tty-colors):
8313 * progmodes/cpp.el (cpp-face-default-list):
8314 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8315 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8316 (idlwave-help-browser-generic-args):
8317 * progmodes/make-mode.el (makefile-special-targets-list):
8318 * progmodes/python.el (python-shell-virtualenv-path):
8319 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8320 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8321 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8322 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8323 * textmodes/reftex-vars.el (reftex-format-label-function):
8324 * textmodes/remember.el (remember-diary-file): Fix custom types.
8325
8326 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8327 Add :version.
8328
8329 2013-05-09 Leo Liu <sdl.web@gmail.com>
8330
8331 * progmodes/octave.el (inferior-octave-completion-at-point):
8332 Restore file completion. (Bug#14300)
8333 (inferior-octave-startup): Fix incorrect highlighting for the
8334 first prompt.
8335
8336 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * progmodes/ruby-mode.el: First cut at SMIE support.
8339 (ruby-use-smie): New var.
8340 (ruby-smie-grammar): New constant.
8341 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8342 (ruby-smie--forward-token, ruby-smie--backward-token)
8343 (ruby-smie-rules): New functions.
8344 (ruby-mode-variables): Setup SMIE if applicable.
8345
8346 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8347
8348 * simple.el (line-move-visual): Signal beginning/end of buffer
8349 only if vertical-motion moved less than it was requested. Avoids
8350 silly incorrect error messages when there are display strings with
8351 multiple newlines at EOL.
8352
8353 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8356 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8357 (prolog-char-quote-workaround):
8358 * progmodes/cperl-mode.el (cperl-under-as-char):
8359 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8360 Mark as obsolete.
8361 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8362 their declaration.
8363 (vhdl-mode-syntax-table-init): Remove.
8364
8365 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8366 last change.
8367
8368 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8369 syntax for "_".
8370 (ld-script-font-lock-keywords):
8371 Change regexps to use things like \_< and \_>.
8372
8373 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8374 Change all regexps to use things like \_< and \_>.
8375
8376 * progmodes/autoconf.el (autoconf-definition-regexp)
8377 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8378 Handle a _ with symbol syntax.
8379 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8380
8381 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8382 Consolidate declaration.
8383 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8384 the declaration.
8385 (ada-create-syntax-table): Remove.
8386 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8387 already has the right syntax nowadays.
8388 (ada-goto-next-word): Don't change the syntax of "_".
8389
8390 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8391 with-wrapper-hook.
8392
8393 2013-05-08 Sam Steingold <sds@gnu.org>
8394
8395 * thingatpt.el (thing-at-point): Accept optional second argument
8396 NO-PROPERTIES to strip the text properties from the return value.
8397 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8398 to `thing-at-point' instead of stripping the properties ourselves.
8399 Also, when `thing-at-point' fails to find a url, prepend "http://"
8400 to the filename at point on the assumption that the user is
8401 pointing at something like gnu.org/gnu.
8402
8403 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8404
8405 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8406 * faces.el (crm-separator):
8407 Silence byte-compiler.
8408
8409 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8410 (tool-bar-map): Remove unneeded defvars.
8411
8412 2013-05-08 Leo Liu <sdl.web@gmail.com>
8413
8414 Re-work a fix for bug#10994 based on Le Wang's patch.
8415 * ido.el (ido-remove-consecutive-dups): New helper.
8416 (ido-completing-read): Use it.
8417 (ido-chop): Revert fix for bug#10994.
8418
8419 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8420
8421 * cus-edit.el (custom-save-variables):
8422 Pretty-print long values. (Bug#14187)
8423
8424 2013-05-08 Glenn Morris <rgm@gnu.org>
8425
8426 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8427 (m4-mode-syntax-table): Init in the defvar.
8428 (m4-mode-abbrev-table): Let define-derived-mode define it.
8429
8430 2013-05-08 Tom Tromey <tromey@redhat.com>
8431
8432 * progmodes/m4-mode.el (m4-mode-syntax-table):
8433 Do not treat "_" as word constituent. (Bug#14167)
8434
8435 2013-05-07 Glenn Morris <rgm@gnu.org>
8436
8437 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8438 Remove explicit eshell-isearch-cancel-map.
8439
8440 * progmodes/f90.el (f90-smart-end-names): New option.
8441 (f90-smart-end): Doc fix.
8442 (f90-end-block-optional-name): New constant.
8443 (f90-block-match): Respect f90-smart-end-names.
8444
8445 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8448 about implicit semi-colons (bug#14218).
8449
8450 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8451
8452 * frame.el (display-monitor-attributes-list)
8453 (frame-monitor-attributes): New functions.
8454
8455 2013-05-06 Leo Liu <sdl.web@gmail.com>
8456
8457 * progmodes/octave.el (octave-syntax-propertize-function): Change
8458 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8459 (octave-font-lock-keywords): Use octave-operator-regexp.
8460 (octave-completion-at-point): Rename from
8461 octave-completion-at-point-function.
8462 (inferior-octave-directory-tracker): Robustify.
8463 (octave-text-functions): Remove and fix its uses. No such things
8464 any more.
8465
8466 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * emacs-lisp/trace.el (trace--display-buffer): New function.
8469 (trace-make-advice): Use it.
8470
8471 2013-05-06 Juri Linkov <juri@jurta.org>
8472
8473 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8474 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8475 Doc fix.
8476 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8477 in the help string. (Bug#12985)
8478
8479 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8480
8481 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8482
8483 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * progmodes/perl-mode.el: Add support for here documents.
8486 (perl-syntax-propertize-function): Match here-doc markers.
8487 (perl-syntax-propertize-special-constructs): Find their end.
8488 (perl-imenu-generic-expression): Use [:alnum:].
8489
8490 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8491 (advice--add-function): Refresh the advice if already present
8492 (bug#14317).
8493
8494 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8495
8496 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8497
8498 2013-05-06 Glenn Morris <rgm@gnu.org>
8499
8500 * w32-fns.el (w32-charset-info-alist): Declare.
8501
8502 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8503 of its defcustom properties.
8504 (eshell-cmpl-initialize): No need to load pcomplete.
8505
8506 * generic-x.el: No need to require comint when compiling.
8507
8508 * net/eudc-export.el: Make it loadable without bbdb.
8509 (top-level): Use require rather than load-library.
8510 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8511 (eudc-batch-export-records-to-bbdb)
8512 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8513 Require bbdb.
8514
8515 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8518 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8519 some tweaks, instead.
8520
8521 2013-05-05 Leo Liu <sdl.web@gmail.com>
8522
8523 * progmodes/octave.el (octave-font-lock-keywords)
8524 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8525 (inferior-octave-send-list-and-digest): Improve error message.
8526 (octave-mode, inferior-octave-mode): Use setq-local.
8527 (octave-help): Set info-lookup-mode.
8528
8529 2013-05-05 Richard Stallman <rms@gnu.org>
8530
8531 * vc/compare-w.el (compare-windows-whitespace):
8532 Treat no-break space as whitespace.
8533
8534 * mail/rmailsum.el (rmail-summary-rmail-update):
8535 Detect empty summary and don't change selected message.
8536 (rmail-summary-goto-msg): Likewise.
8537
8538 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8539 Doc fixes, rename args.
8540
8541 2013-05-05 Alan Mackenzie <acm@muc.de>
8542
8543 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8544
8545 2013-05-05 Juri Linkov <juri@jurta.org>
8546
8547 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8548 to not add the length of the summary segment to the return value.
8549 (Bug#14125)
8550
8551 2013-05-05 Leo Liu <sdl.web@gmail.com>
8552
8553 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8554 (inferior-octave-output-filter): Remove.
8555 (octave-send-region, inferior-octave-startup): Fix callers.
8556 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8557 (octave-binary-file-extensions): New user variable.
8558 (octave-find-definition): Confirm if opening binary files.
8559 (octave-help-file): Use octave-find-definition to get the binary
8560 confirmation.
8561 (octave-help): Adjust for octave-help-file change.
8562
8563 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8566 Merge the two entries that handle function definitions.
8567 (pascal--syntax-propertize): New const.
8568 (pascal-mode): Use it. Use setq-local.
8569
8570 2013-05-04 Glenn Morris <rgm@gnu.org>
8571
8572 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8573 (diary-from-outlook): Respect diary-from-outlook-function.
8574
8575 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8578 Move the declaration from C.
8579 (read-minibuffer, eval-minibuffer): Move from C.
8580 (completion-setup-function): Avoid minibuffer-completion-contents.
8581
8582 2013-05-03 Leo Liu <sdl.web@gmail.com>
8583
8584 * progmodes/octave.el (octave-font-lock-keywords): Do not
8585 dehighlight 'end' in comments or strings.
8586 (octave-completing-read, octave-goto-function-definition):
8587 New helpers.
8588 (octave-help-buffer): New user variable.
8589 (octave-help-file, octave-help-function): New button types.
8590 (octave-help): New command and bind it to C-h ;.
8591 (octave-find-definition): New command and bind it to M-.
8592 (user-error): Alias to error if not defined.
8593
8594 2013-05-02 Leo Liu <sdl.web@gmail.com>
8595
8596 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8597 for \. (bug#14332)
8598 (octave-font-lock-keywords): Include [ and {.
8599
8600 2013-05-02 Leo Liu <sdl.web@gmail.com>
8601
8602 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8603 (inferior-octave): Remove calling comint-mode and return the buffer.
8604 (inferior-octave-startup): Cosmetic changes.
8605
8606 2013-05-02 Leo Liu <sdl.web@gmail.com>
8607
8608 * progmodes/octave.el (octave-syntax-propertize-function):
8609 Include the case when ' is at line beginning. (Bug#14336)
8610
8611 2013-05-02 Glenn Morris <rgm@gnu.org>
8612
8613 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8614 * desktop.el (vc-dir-mode): Just autoload it here.
8615
8616 2013-05-02 Alan Mackenzie <acm@muc.de>
8617
8618 Eliminate variable c-standard-font-lock-fontify-region-function.
8619 * progmodes/cc-mode.el
8620 (c-standard-font-lock-fontify-region-function): Remove.
8621 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8622
8623 2013-05-01 Leo Liu <sdl.web@gmail.com>
8624
8625 * progmodes/octave.el: Compatible with older emacs-24 releases.
8626 (inferior-octave-has-built-in-variables): Remove. Built-in
8627 variables were removed from Octave in 2007.
8628 (inferior-octave-startup): Fix uses.
8629 (comint-line-beginning-position): Remove compatibility code for
8630 emacs 21.
8631
8632 2013-05-01 Juri Linkov <juri@jurta.org>
8633
8634 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8635
8636 2013-05-01 Juri Linkov <juri@jurta.org>
8637
8638 * comint.el (comint-previous-matching-input): Don't print message
8639 "History item: %d" when `isearch-mode' is active.
8640 (comint-history-isearch-message): Print message "History item: %d"
8641 when `comint-input-ring-index' is not empty and this function is
8642 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8643
8644 2013-05-01 Leo Liu <sdl.web@gmail.com>
8645
8646 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8647 definitions. Use completion-at-point to insert keywords.
8648 (octave-abbrev-start): Remove.
8649 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8650
8651 2013-04-30 Leo Liu <sdl.web@gmail.com>
8652
8653 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8654 change.
8655
8656 2013-04-30 Alan Mackenzie <acm@muc.de>
8657
8658 Handle arbitrarily long C++ member initialisation lists.
8659 * progmodes/cc-engine.el (c-back-over-member-initializers):
8660 new function.
8661 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8662 (most) member init lists.
8663
8664 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8665
8666 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8667 variable.
8668
8669 2013-04-30 Leo Liu <sdl.web@gmail.com>
8670
8671 * progmodes/octave.el (octave-variables): Remove. No builtin
8672 variables any more. All converted to functions.
8673 (octave-font-lock-keywords, octave-completion-at-point-function):
8674 Fix uses.
8675 (octave-font-lock-texinfo-comment): New user variable.
8676 (octave-texinfo-font-lock-keywords): New variable for texinfo
8677 comment block.
8678 (octave-function-comment-block): New face.
8679 (octave-font-lock-texinfo-comment): New function.
8680 (octave-mode): Font lock texinfo comment block.
8681
8682 2013-04-29 Leo Liu <sdl.web@gmail.com>
8683
8684 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8685 indexing expression.
8686 (octave-continuation-string): Do not use \.
8687 (inferior-octave-complete-impossible): Remove.
8688 (inferior-octave-completion-table)
8689 (inferior-octave-completion-at-point): Remove its uses.
8690 (inferior-octave-startup): completion_matches was introduced to
8691 Octave in 1996 so safe to assume it.
8692 (octave-function-file-comment): Improve to follow how Octave does it.
8693 (octave-update-function-file-comment): Tweak.
8694
8695 2013-04-29 Leo Liu <sdl.web@gmail.com>
8696
8697 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8698 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8699 (octave-function-file-comment): Fix typo.
8700 (octave-sync-function-file-names): Use read-char-choice.
8701
8702 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8703
8704 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8705 to t for the less important warnings.
8706
8707 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8708
8709 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8710
8711 2013-04-27 Glenn Morris <rgm@gnu.org>
8712
8713 * vc/log-view.el (log-view-current-entry):
8714 Treat "---" separator lines as part of the following rev. (Bug#14169)
8715
8716 2013-04-27 Juri Linkov <juri@jurta.org>
8717
8718 * subr.el (read-number): Doc fix about using it by interactive
8719 code letter `n'. (Bug#14254)
8720
8721 2013-04-27 Juri Linkov <juri@jurta.org>
8722
8723 * desktop.el (desktop-auto-save-timeout): New option.
8724 (desktop-file-checksum): New variable.
8725 (desktop-save): Add optional arg `auto-save' and don't auto-save
8726 if nothing changed.
8727 (desktop-auto-save-timer): New variable.
8728 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8729 (after-init-hook): Call `desktop-auto-save-set-timer'.
8730 Suggested by Reuben Thomas <rrt@sc3d.org> in
8731 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8732
8733 2013-04-27 Leo Liu <sdl.web@gmail.com>
8734
8735 * progmodes/octave.el (octave-function-file-p)
8736 (octave-skip-comment-forward, octave-function-file-comment)
8737 (octave-update-function-file-comment): New functions.
8738 (octave-mode-map): Bind C-c ; to
8739 octave-update-function-file-comment.
8740 (octave-mode-menu): Add octave-update-function-file-comment.
8741 (octave-mode, inferior-octave-mode): Fix doc-string.
8742 (octave-insert-defun): Conform to Octave's coding convention.
8743 (Bug#14285)
8744
8745 * files.el (basic-save-buffer): Don't let errors in
8746 before-save-hook prevent saving buffer.
8747
8748 2013-04-20 Roland Winkler <winkler@gnu.org>
8749
8750 * faces.el (read-face-name): Use completing-read if arg multiple
8751 is nil.
8752
8753 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8754
8755 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8756 displayed, move point to after the totals line.
8757 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8758 for the details.
8759
8760 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8763 Add current dir to the load-path.
8764 (package-generate-autoloads): Don't rely on
8765 autoload-ensure-default-file.
8766
8767 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8768
8769 * textmodes/remember.el (remember-store-in-files): Document that
8770 the file name format is passed to `format-time-string'.
8771
8772 2013-04-26 Leo Liu <sdl.web@gmail.com>
8773
8774 * progmodes/octave.el (octave-sync-function-file-names): New function.
8775 (octave-mode): Use it in before-save-hook.
8776
8777 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8780 (bug#14274).
8781
8782 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8783 \n and comment, even if it's not an implicit ; (bug#14218).
8784
8785 2013-04-26 Glenn Morris <rgm@gnu.org>
8786
8787 * subr.el (read-number): Once more use `read' rather than
8788 `string-to-number', to trap non-numeric input. (Bug#14254)
8789
8790 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8791
8792 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8793 Use `syntax-multiline' text property consistently instead of
8794 `font-lock-multiline'. (Bug#14237)
8795
8796 2013-04-26 Glenn Morris <rgm@gnu.org>
8797
8798 * emacs-lisp/shadow.el (list-load-path-shadows):
8799 No longer necessary to check for duplicate simple.el, since
8800 2012-07-07 change to init_lread to not include installation lisp
8801 directories in load-path when running uninstalled. (Bug#14270)
8802
8803 2013-04-26 Leo Liu <sdl.web@gmail.com>
8804
8805 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8806 (octave-mode, inferior-octave-mode): Use setq-local.
8807 (octave-not-in-string-or-comment-p): Rename to
8808 octave-in-string-or-comment-p.
8809 (octave-in-comment-p, octave-in-string-p)
8810 (octave-in-string-or-comment-p): Replace defsubst with defun.
8811
8812 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8813
8814 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8815
8816 2013-04-25 Bastien Guerry <bzg@gnu.org>
8817
8818 * textmodes/remember.el (remember-data-directory)
8819 (remember-directory-file-name-format): Fix custom types.
8820
8821 2013-04-25 Leo Liu <sdl.web@gmail.com>
8822
8823 * progmodes/octave.el (octave-completion-at-point-function):
8824 Make use of inferior octave process.
8825 (octave-initialize-completions): Remove.
8826 (inferior-octave-completion-table): New function.
8827 (inferior-octave-completion-at-point): Use it.
8828 (octave-completion-alist): Remove.
8829
8830 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8833 (opascal-mode-syntax-table): New var.
8834 (opascal-literal-kind, opascal-is-literal-end)
8835 (opascal-literal-token-at): Rewrite.
8836 (opascal--literal-start-re, opascal-font-lock-keywords)
8837 (opascal--syntax-propertize): New constants.
8838 (opascal-font-lock-defaults): Adjust.
8839 (opascal-mode): Use them. Set comment-<foo> variables as well.
8840 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8841 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8842 (delphi-other-face, opascal-other-face): Remove face variables.
8843 (opascal-save-state): Remove macro.
8844 (opascal-fontifying-progress-step): Remove constant.
8845 (opascal--ignore-changes): Remove var.
8846 (opascal-set-token-property, opascal-parse-next-literal)
8847 (opascal-is-stable-literal, opascal-complete-literal)
8848 (opascal-is-literal-start, opascal-face-of)
8849 (opascal-parse-region, opascal-parse-region-until-stable)
8850 (opascal-fontify-region, opascal-after-change)
8851 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8852 (opascal-debug-parse-region, opascal-debug-parse-window)
8853 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8854 (opascal-debug-fontify-buffer): Remove.
8855 (opascal-debug-mode-map): Adjust accordingly.
8856
8857 2013-04-25 Leo Liu <sdl.web@gmail.com>
8858
8859 Merge octave-mod.el and octave-inf.el into octave.el with some
8860 cleanups.
8861 * progmodes/octave.el: New file renamed from octave-mod.el.
8862 * progmodes/octave-inf.el: Merged into octave.el.
8863 * progmodes/octave-mod.el: Renamed to octave.el.
8864
8865 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8866
8867 * textmodes/reftex-vars.el
8868 (reftex-label-ignored-macros-and-environments): New defcustom.
8869
8870 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8871
8872 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8875 (smie-indent-keyword): Improve the check to ensure that the next
8876 comment is really on the same line.
8877 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8878
8879 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8880 semi-colons if the line is not otherwise empty (bug#14218).
8881
8882 2013-04-25 Glenn Morris <rgm@gnu.org>
8883
8884 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8885
8886 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * progmodes/opascal.el (opascal-set-token-property): Rename from
8889 opascal-set-text-properties and only set `token' (bug#14134).
8890 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8891 (opascal-literal-text-properties): Remove.
8892 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8893 Adjust callers.
8894
8895 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8896
8897 * textmodes/remember.el (remember-handler-functions): Add an
8898 option for a new handler `remember-store-in-files'.
8899 (remember-data-directory, remember-directory-file-name-format):
8900 New options.
8901 (remember-store-in-files): New function to store remember notes
8902 as separate files within a directory.
8903
8904 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8905
8906 * progmodes/compile.el (compilation-next-error-function):
8907 Pass "formats" to compilation-find-file (bug#11777).
8908
8909 2013-04-24 Glenn Morris <rgm@gnu.org>
8910
8911 * vc/vc-bzr.el (vc-bzr-print-log):
8912 * vc/vc-hg.el (vc-hg-print-log):
8913 * vc/vc-svn.el (vc-svn-print-log):
8914 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8915
8916 * vc/vc-bzr.el (vc-bzr-print-log):
8917 * vc/vc-cvs.el (vc-cvs-print-log):
8918 * vc/vc-git.el (vc-git-print-log):
8919 * vc/vc-hg.el (vc-hg-print-log):
8920 * vc/vc-mtn.el (vc-mtn-print-log):
8921 * vc/vc-rcs.el (vc-rcs-print-log):
8922 * vc/vc-sccs.el (vc-sccs-print-log):
8923 * vc/vc-svn.el (vc-svn-print-log):
8924 * vc/vc.el (vc-print-log-internal): Doc fixes.
8925
8926 2013-04-23 Glenn Morris <rgm@gnu.org>
8927
8928 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8929 Remove venerable code attempting to avoid substitute-command-keys.
8930
8931 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8932
8933 * textmodes/reftex-vars.el (reftex-label-regexps):
8934 Call `reftex-compile-variables' after changes to this variable.
8935
8936 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8939 Use lexical-binding.
8940 (jit-lock-force-redisplay): Use markers, check buffer's continued
8941 existence and beware narrowed buffers.
8942 (jit-lock-fontify-now): Adjust call accordingly.
8943
8944 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8947 to avoid misleading the user.
8948
8949 2013-04-22 Leo Liu <sdl.web@gmail.com>
8950
8951 * info-look.el: Prefer latex2e.info. (Bug#14240)
8952
8953 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8954
8955 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8956
8957 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8958 * net/tramp.el (tramp-call-process): ... here.
8959 (tramp-set-completion-function, tramp-parse-putty):
8960 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8961 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8962 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8963 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8964 (tramp-call-local-coding-command): Use `tramp-call-process'
8965 instead of `tramp-compat-call-process'.
8966
8967 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8968 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8969 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8970 (tramp-find-inline-compress): Improve traces.
8971 (tramp-maybe-send-script): Check for Perl binary.
8972 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8973
8974 2013-04-22 Daiki Ueno <ueno@gnu.org>
8975
8976 * epg.el (epg-context-pinentry-mode): New function.
8977 (epg-context-set-pinentry-mode): New function.
8978 (epg--start): Pass --pinentry-mode option to gpg command.
8979
8980 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8981
8982 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8983 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8984 `completion-at-point'. (Bug#13774)
8985
8986 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8987 default key binding for `describe-distribution' has been moved to
8988 `C-h C-o'. (Bug#13970)
8989
8990 2013-04-21 Glenn Morris <rgm@gnu.org>
8991
8992 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8993 Add doc strings.
8994 (vc-print-log): Clarify interactive prompt.
8995
8996 2013-04-20 Glenn Morris <rgm@gnu.org>
8997
8998 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8999 No longer include timestamp etc information.
9000
9001 2013-04-20 Roland Winkler <winkler@gnu.org>
9002
9003 * faces.el (read-face-name): Bug fix, return just one face if arg
9004 multiple is nil. (Bug#14209)
9005
9006 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9009 (remove-function): Autoload.
9010
9011 * comint.el (comint-redirect-original-filter-function): Remove.
9012 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9013 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9014 (vc-cvs-annotate-command):
9015 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9016 * progmodes/prolog.el (prolog-consult-compile):
9017 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9018 Use add/remove-function instead.
9019 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9020 (gud-tooltip-process-output, gud-tooltip-tips):
9021 Use add/remove-function instead.
9022 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9023 (scheme-interaction-mode, exit-scheme-interaction-mode):
9024 Use add/remove-function instead.
9025
9026 * vc/vc-dispatcher.el: Use lexical-binding.
9027 (vc--process-sentinel): Rename from vc-process-sentinel.
9028 Change last arg to be the code to run. Don't use vc-previous-sentinel
9029 and vc-sentinel-commands any more.
9030 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9031 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9032
9033 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9034
9035 * progmodes/sh-script.el (sh-imenu-generic-expression):
9036 Handle function names with a single character. (Bug#14111)
9037
9038 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9039
9040 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9041 for subroutines defined in an eval (bug#14182).
9042
9043 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9044
9045 * bookmark.el (bookmark-completing-read): Improve handling of empty
9046 string (bug#14176).
9047
9048 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9051
9052 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9053
9054 New faster Imenu implementation (bug#14058).
9055 * progmodes/python.el:
9056 (python-imenu-prev-index-position):
9057 (python-imenu-format-item-label-function)
9058 (python-imenu-format-parent-item-label-function)
9059 (python-imenu-format-parent-item-jump-label-function):
9060 New vars.
9061 (python-imenu-format-item-label)
9062 (python-imenu-format-parent-item-label)
9063 (python-imenu-format-parent-item-jump-label)
9064 (python-imenu--put-parent, python-imenu--build-tree)
9065 (python-imenu-create-index, python-imenu-create-flat-index)
9066 (python-util-popn): New functions.
9067 (python-mode): Set imenu-create-index-function to
9068 python-imenu-create-index.
9069
9070 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * winner.el (winner-active-region): Use region-active-p, activate-mark
9073 and deactivate-mark (bug#14225).
9074
9075 * simple.el (deactivate-mark): Don't inline it.
9076
9077 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9080
9081 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9082
9083 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9084 file extensions from the archive-mode entry in order to prefer
9085 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9086
9087 2013-04-18 Leo Liu <sdl.web@gmail.com>
9088
9089 * bindings.el (help-event-list): Add ?\?.
9090
9091 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * subr.el (with-wrapper-hook): Declare obsolete.
9094 * simple.el (filter-buffer-substring-function): New hook.
9095 (filter-buffer-substring): Use it.
9096 (filter-buffer-substring-functions): Mark obsolete.
9097 * minibuffer.el (completion-in-region-function): New hook.
9098 (completion-in-region): Use it.
9099 (completion-in-region-functions): Mark obsolete.
9100 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9101 * abbrev.el (abbrev-expand-function): New hook.
9102 (expand-abbrev): Use it.
9103 (abbrev-expand-functions): Mark obsolete.
9104 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9105 and :filter-return.
9106
9107 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9108
9109 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9110 and do not care about match data.
9111
9112 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9115 completion tables when completing error conditions and
9116 `declare' arguments.
9117 (lisp-complete-symbol, field-complete): Mark as obsolete.
9118 (check-parens): Unmatched parens are user errors.
9119 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9120
9121 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9122
9123 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9124 command changed buffer (ie. `flyspell-pre-buffer' is not current
9125 buffer), which prevents making decisions based on invalid value of
9126 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9127 cause an error when `flyspell-pre-point' was nil after switching
9128 buffers.
9129 (flyspell-post-command-hook): No longer needs to change buffers when
9130 checking pre-word. While at it remove unnecessary progn.
9131
9132 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9133
9134 * textmodes/ispell.el (ispell-add-per-file-word-list):
9135 Fix `flyspell-correct-word-before-point' error when accepting
9136 words and `coment-padding' is an integer by using
9137 `comment-normalize-vars' (Bug #14214).
9138
9139 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9140
9141 New defun movement commands.
9142 * progmodes/python.el (python-nav--syntactically)
9143 (python-nav--forward-defun, python-nav-backward-defun)
9144 (python-nav-forward-defun): New functions.
9145
9146 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9147
9148 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9149 (python-syntax-context): Use named compiler-macro for backwards
9150 compatibility with Emacs 24.x.
9151
9152 2013-04-17 Leo Liu <sdl.web@gmail.com>
9153
9154 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9155 octave-hide-process-buffer.
9156
9157 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9160 (bug#14216).
9161
9162 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9163
9164 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9165 Fix adjustment of offset when receiving incomplete responses from GDB
9166 (bug#14129).
9167
9168 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9171 python-mode-abbrev-table.
9172 (python-skeleton-define): Adjust accordingly.
9173 (python-mode-abbrev-table): New table that inherits from it so that
9174 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9175
9176 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9177 (abbrev-symbol): Use it.
9178 (abbrev--before-point): Use it since we already handle inheritance.
9179
9180 2013-04-16 Leo Liu <sdl.web@gmail.com>
9181
9182 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9183 binding to info-lookup-symbol.
9184
9185 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9186
9187 * minibuffer.el (completion--twq-all):
9188 * term/ns-win.el (ns-initialize-window-system):
9189 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9190
9191 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9194 global bindings.
9195
9196 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9197
9198 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9199
9200 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9201 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9202 to nil.
9203 (ruby-end-of-defun): Remove the unused arg, change the docstring
9204 to reflect that this function is only used as the value of
9205 `end-of-defun-function'.
9206 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9207 to reflect an earlier change that beginning/end-of-defun functions
9208 jump between methods in a class definition, as well as top-level
9209 functions.
9210
9211 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * minibuffer.el (minibuffer-complete): Don't just scroll
9214 a *Completions* that's been iconified.
9215 (minibuffer-force-complete): Make sure repetitions do cycle when going
9216 through completion-in-region -> minibuffer-complete.
9217
9218 2013-04-15 Alan Mackenzie <acm@muc.de>
9219
9220 Correct the placement of c-cpp-delimiters when there're #s not at
9221 col 0.
9222
9223 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9224 place a submatch around the #.
9225 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9226 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9227 on the #, not BOL.
9228
9229 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9232 (advice--member-p): New arg `name'.
9233 (advice--add-function, advice-member-p): Use it (bug#14202).
9234
9235 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9236
9237 Reformulate java imenu-generic-expression.
9238 The old expression contained ill formed regexps.
9239
9240 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9241 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9242 (cc-imenu-java-method-arg-regexp): New defconsts.
9243 (cc-imenu-java-build-type-args-regex): New defun.
9244 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9245 handling of spaces in the regexp.
9246
9247 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9248
9249 * textmodes/ispell.el (ispell-command-loop): Remove
9250 flyspell highlight of a word when ispell accepts it (bug #14178).
9251
9252 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9253
9254 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9255 uses code from the previous `ange-ftp-run-real-handler'.
9256 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9257 only in case that function exist. This is needed for proper
9258 unloading of Tramp.
9259
9260 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9261
9262 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9263
9264 * textmodes/reftex.el (reftex-compile-variables): Use it.
9265
9266 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * files.el (normal-mode): Only use default major-mode if no other mode
9269 was specified.
9270
9271 * emacs-lisp/trace.el (trace-values): New function.
9272
9273 * files.el: Allow : in local variables (bug#14089).
9274 (hack-local-variable-regexp): New var.
9275 (hack-local-variables-prop-line, hack-local-variables): Use it.
9276
9277 2013-04-13 Roland Winkler <winkler@gnu.org>
9278
9279 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9280 data before it gets modified by bibtex-beginning-of-entry.
9281
9282 2013-04-13 Roland Winkler <winkler@gnu.org>
9283
9284 * textmodes/bibtex.el (bibtex-url): Doc fix.
9285
9286 2013-04-13 Roland Winkler <winkler@gnu.org>
9287
9288 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9289 does not visit a BibTeX file, exclude it from the list of buffers
9290 returned by bibtex-initialize.
9291
9292 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9293
9294 * window.el (split-window): Remove interactive form, since as a
9295 command this function is a special case of split-window-below.
9296 Correct doc string.
9297
9298 2013-04-12 Roland Winkler <winkler@gnu.org>
9299
9300 * faces.el (read-face-name): Do not override value of arg default.
9301 Allow single faces and strings as default values. Remove those
9302 elements from return value that are not faces.
9303 (describe-face): Simplify.
9304 (face-at-point): New optional args thing and multiple so that this
9305 function can provide the same functionality previously provided by
9306 read-face-name.
9307 (make-face-bold, make-face-unbold, make-face-italic)
9308 (make-face-unitalic, make-face-bold-italic, invert-face)
9309 (modify-face, read-face-and-attribute): Use face-at-point.
9310
9311 * cus-edit.el (customize-face, customize-face-other-window)
9312 * cus-theme.el (custom-theme-add-face)
9313 * face-remap.el (buffer-face-set)
9314 * facemenu.el (facemenu-set-face): Use face-at-point.
9315
9316 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9317
9318 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9319
9320 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9321
9322 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9323 off leading { and trailing } from field values.
9324
9325 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * emacs-lisp/timer.el (timer--check): New function.
9328 (timer--time, timer-set-function, timer-event-handler): Use it.
9329 (timer-set-idle-time): Simplify.
9330 (timer--activate): CSE.
9331 (timer-event-handler): Give more info in error message.
9332 (internal-timer-start-idle): New function, moved from C.
9333
9334 * mpc.el (mpc-proc): Add `restart' argument.
9335 (mpc-proc-cmd): Use it.
9336 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9337 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9338 less often.
9339
9340 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9341
9342 * progmodes/sh-script.el: Implement `sh-mode' own
9343 `add-log-current-defun-function' (bug#14112).
9344 (sh-current-defun-name): New function.
9345 (sh-mode): Use the function.
9346
9347 2013-04-09 Bastien Guerry <bzg@gnu.org>
9348
9349 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9350
9351 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9352
9353 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9354
9355 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9356 timer (bug#14156).
9357
9358 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9359
9360 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9361 declaration.
9362
9363 2013-04-07 Leo Liu <sdl.web@gmail.com>
9364
9365 * pcmpl-x.el: New file.
9366
9367 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9368
9369 Do not set x-display-name until X connection is established.
9370 This is needed to prevent from weird situation described at
9371 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9372 * frame.el (make-frame): Set x-display-name after call to
9373 window system initialization function, not before.
9374 * term/x-win.el (x-initialize-window-system): Add optional
9375 display argument and use it.
9376 * term/w32-win.el (w32-initialize-window-system):
9377 * term/ns-win.el (ns-initialize-window-system):
9378 * term/pc-win.el (msdos-initialize-window-system):
9379 Add compatible optional display argument.
9380
9381 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9382
9383 * files.el (normal-backup-enable-predicate): On MS-Windows and
9384 MS-DOS compare truenames of temporary-file-directory and of the
9385 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9386 don't fail comparison by compare-strings. Also, compare file
9387 names case-insensitively on MS-Windows and MS-DOS.
9388
9389 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9392 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9393
9394 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9395
9396 * whitespace.el (whitespace-color-on, whitespace-color-off):
9397 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9398
9399 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9400
9401 * ispell.el (ispell-set-spellchecker-params):
9402 Really set `ispell-args' for all equivs.
9403
9404 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * ido.el (ido-completions): Use extra elements of ido-decorations
9407 (bug#14143).
9408 (ido-decorations): Update docstring.
9409
9410 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9411
9412 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9413 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9414 nil during initialization, in order not to miss changes since the
9415 file was opened. (Bug#14140)
9416
9417 2013-04-05 Leo Liu <sdl.web@gmail.com>
9418
9419 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9420
9421 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9422
9423 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9424
9425 2013-04-04 Glenn Morris <rgm@gnu.org>
9426
9427 * electric.el (electric-pair-inhibit-predicate): Add :version.
9428
9429 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9432 when a package is required several times (bug#14082).
9433
9434 2013-04-04 Roland Winkler <winkler@gnu.org>
9435
9436 * faces.el (read-face-name): Behave as promised by the docstring.
9437 Assume that arg default is a list of faces.
9438 (describe-face): Call read-face-name with list of default faces.
9439
9440 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9441
9442 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9443 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9444 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9445 the header.
9446 (bookmark-exit-hook-internal): Save even if list is empty.
9447
9448 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9449
9450 * emacs-lisp/package.el (package-pinned-packages): New var.
9451 (package--add-to-archive-contents): Obey it (bug#14118).
9452
9453 2013-04-03 Alan Mackenzie <acm@muc.de>
9454
9455 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9456 Also adapt to the new values of element 7 of a parse state.
9457
9458 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9459 parameter `not-in-delimiter'. Handle being inside comment opener.
9460 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9461 character in case we're typing a '*' after a '/'.
9462 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9463 instead by passing the parameter to c-state-pp-to-literal.
9464
9465 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9466 for elt. 7 of a parse state.
9467
9468 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9469
9470 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9471 * international/latin1-disp.el, international/mule-util.el:
9472 * language/cyril-util.el, language/european.el, language/ind-util.el:
9473 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9474 * language/tibetan.el, language/viet-util.el:
9475 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9476
9477 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9480 (electric-pair-post-self-insert-function): Use it.
9481 (electric-pair-default-inhibit): New function, extracted from
9482 electric-pair-post-self-insert-function.
9483
9484 2013-03-31 Roland Winkler <winkler@gnu.org>
9485
9486 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9487
9488 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9491
9492 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9493
9494 Un-indent after "pass" and "return" statements (Bug#13888)
9495 * progmodes/python.el (python-indent-block-enders): New var.
9496 (python-indent-calculate-indentation): Use it.
9497
9498 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9499
9500 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9501 defun. Defining it as defalias could introduce too eager
9502 byte-compiler optimization. (Bug#14030)
9503
9504 2013-03-30 Chong Yidong <cyd@gnu.org>
9505
9506 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9507
9508 2013-03-30 Leo Liu <sdl.web@gmail.com>
9509
9510 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9511 (kmacro-execute-from-register): Pass the keyboard macro to
9512 kmacro-call-macro or repeating won't work correctly.
9513
9514 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9515
9516 * progmodes/subword.el: Back to using `forward-symbol'.
9517
9518 * subr.el (forward-whitespace, forward-symbol)
9519 (forward-same-syntax): Move from thingatpt.el.
9520
9521 2013-03-29 Leo Liu <sdl.web@gmail.com>
9522
9523 * kmacro.el (kmacro-to-register): New command.
9524 (kmacro-execute-from-register): New function.
9525 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9526
9527 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * mpc.el: Use defvar-local and setq-local.
9530 (mpc--proc-connect): Connection failures are not bugs.
9531 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9532 (mpc-volume-map): Bind to the up-events.
9533
9534 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9535
9536 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9537 instead of `forward-symbol'.
9538
9539 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9542 (edebug--recursive-edit): Use it.
9543 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9544 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9545
9546 2013-03-28 Leo Liu <sdl.web@gmail.com>
9547
9548 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9549
9550 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9551
9552 * facemenu.el (list-colors-callback): New defvar.
9553 (list-colors-redisplay): New function.
9554 (list-colors-display): Install list-colors-redisplay as the
9555 revert-buffer-function. (Bug#14063)
9556
9557 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9558
9559 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9560 and suffixes don't overlap (bug#14061).
9561
9562 * case-table.el: Use lexical-binding.
9563 (case-table-get-table): New function.
9564 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9565
9566 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9567
9568 * progmodes/subword.el: Add `superword-mode' to do word motion
9569 over symbol_words (parallels and leverages `subword-mode' which
9570 does word motion inside MixedCaseWords).
9571
9572 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9573
9574 * eshell/em-unix.el: Move su and sudo to...
9575 * eshell/em-tramp.el: ...Eshell tramp module.
9576
9577 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9580 Change return value to be a sexp. Delay `get-buffer' to after
9581 restoring the desktop (bug#13951).
9582
9583 2013-03-26 Leo Liu <sdl.web@gmail.com>
9584
9585 * register.el: Move semantic tag handling back to
9586 cedet/semantic/senator.el. (Bug#14052)
9587
9588 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9591 into the prompt either (bug#13963).
9592
9593 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9596 part of "(error-foo)".
9597
9598 2013-03-24 Juri Linkov <juri@jurta.org>
9599
9600 * replace.el (list-matching-lines-prefix-face): New defcustom.
9601 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9602 `occur-engine' if `face-differs-from-default-p' returns t.
9603 (occur-engine): Add `,' inside backquote construct to evaluate
9604 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9605 Pass `prefix-face' to the functions `occur-context-lines' and
9606 `occur-engine-add-prefix'.
9607 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9608 `prefix-face' and propertize the prefix with `prefix-face'.
9609 (Bug#14017)
9610
9611 2013-03-24 Leo Liu <sdl.web@gmail.com>
9612
9613 * nxml/rng-valid.el (rng-validate-while-idle)
9614 (rng-validate-quick-while-idle): Guard against deleted buffer.
9615 (Bug#13999)
9616
9617 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9618 is the last entry in kill-buffer-hook.
9619
9620 * files.el (kill-buffer-hook): Doc fix.
9621
9622 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9623
9624 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9625 Make it safe-local.
9626
9627 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9628
9629 2013-03-23 Leo Liu <sdl.web@gmail.com>
9630
9631 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9632 Remove.
9633
9634 * nxml/rng-valid.el (rng-validate-mode)
9635 (rng-after-change-function, rng-do-some-validation):
9636 * nxml/rng-maint.el (rng-validate-buffer):
9637 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9638 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9639 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9640 (nxml-extend-after-change-region): Use with-silent-modifications.
9641
9642 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9643 timer-idle-list.
9644
9645 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9646 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9647 timer-idle-list. (Bug#13999)
9648
9649 2013-03-23 Juri Linkov <juri@jurta.org>
9650
9651 * info.el (info-index-match): New face.
9652 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9653 main pattern and add text properties with the new face to matches
9654 in index entries relative to the beginning of the index entry.
9655 (Bug#14015)
9656
9657 2013-03-21 Eric Ludlam <zappo@gnu.org>
9658
9659 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9660 Inhibit read only while inserting objects.
9661
9662 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9663
9664 * progmodes/cfengine.el: Update docs to mention
9665 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9666 symbol motion. Remove "_" from the word syntax.
9667
9668 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9669
9670 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9671 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9672
9673 2013-03-20 Juri Linkov <juri@jurta.org>
9674
9675 * info.el (Info-next-reference-or-link)
9676 (Info-prev-reference-or-link): New functions.
9677 (Info-next-reference, Info-prev-reference): Use them.
9678 (Info-try-follow-nearest-node): Handle footnote navigation.
9679 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9680
9681 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9684 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9685
9686 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9687
9688 Suppress unnecessary non-ASCII chatter during build process.
9689 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9690 (batch-skkdic-convert): Suppress most of the chatter.
9691 It's not needed so much now that machines are faster,
9692 and its non-ASCII component was confusing; see Dmitry Gutov in
9693 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9694
9695 2013-03-20 Leo Liu <sdl.web@gmail.com>
9696
9697 * ido.el (ido-chop): Fix bug#10994.
9698
9699 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9700
9701 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9702 Remove vars.
9703 (whitespace-color-on, whitespace-color-off):
9704 Use `font-lock-fontify-buffer' (Bug#13817).
9705
9706 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9709 remapping in mode-line.
9710 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9711
9712 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9715 value for `whitespace-line' face (Bug#13875).
9716 (whitespace-font-lock-keywords): Change description.
9717 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9718 the constructed keywords instead.
9719 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9720
9721 2013-03-19 Leo Liu <sdl.web@gmail.com>
9722
9723 * progmodes/compile.el (compilation-display-error): New command.
9724 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9725 C-o. (Bug#13992)
9726
9727 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9728
9729 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9730
9731 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9732
9733 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9734
9735 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9736
9737 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9738
9739 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9740 * net/tramp-gvfs.el (top):
9741 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9742 (tramp-handle-shell-command): Use it.
9743 (tramp-dissect-file-name): Raise an error when hostname is a
9744 method name, and neither method nor user is specified.
9745
9746 * net/trampver.el: Update release number.
9747
9748 2013-03-18 Leo Liu <sdl.web@gmail.com>
9749
9750 Make sure eldoc can be turned off properly.
9751 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9752 eldoc-mode.
9753 (eldoc-display-message-p): Revert last change.
9754 (eldoc-display-message-no-interference-p)
9755 (eldoc-print-current-symbol-info): Tweak.
9756
9757 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9758
9759 * doc-view.el (doc-view-new-window-function): Check the new window
9760 overlay's display property instead the char property of the
9761 buffer's first char. Use `with-selected-window' instead of
9762 `save-window-excursion' with `select-window'.
9763 (doc-view-document->bitmap): Check the current doc-view overlay's
9764 display property instead the char property of the buffer's first char.
9765
9766 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9767
9768 Automate the build of ja-dic.el (Bug#13984).
9769 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9770 from the input, rather than assume that it's been done for us by the
9771 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9772 the current date into a ja-dic.el comment, as that complicates
9773 regression testing.
9774
9775 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9776
9777 * whitespace.el: Fix double evaluation.
9778 (whitespace-space, whitespace-hspace, whitespace-tab)
9779 (whitespace-newline, whitespace-trailing, whitespace-line)
9780 (whitespace-space-before-tab, whitespace-indentation)
9781 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9782 obsolete defvars.
9783 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9784 (whitespace-color-on): Use a single font-lock-add-keywords call.
9785 Fix double-evaluation of face variables.
9786
9787 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9788
9789 * net/tramp-adb.el (tramp-adb-parse-device-names):
9790 Use `start-process' instead of `call-process'. Otherwise, the
9791 function might be blocked under MS Windows. (Bug#13299)
9792
9793 2013-03-17 Leo Liu <sdl.web@gmail.com>
9794
9795 Extend eldoc to display info in the mode-line. (Bug#13978)
9796 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9797 (eldoc-mode-line-string): New variable.
9798 (eldoc-minibuffer-message): New function.
9799 (eldoc-message-function): New variable.
9800 (eldoc-message): Use it.
9801 (eldoc-display-message-p)
9802 (eldoc-display-message-no-interference-p):
9803 Support eldoc-post-insert-mode.
9804
9805 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9806 (eval-expression): Run it.
9807
9808 2013-03-17 Roland Winkler <winkler@gnu.org>
9809
9810 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9811 strings in the list of return values.
9812
9813 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9814
9815 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9816 radix before checking for HMS forms.
9817
9818 2013-03-16 Leo Liu <sdl.web@gmail.com>
9819
9820 * progmodes/scheme.el: Add indentation and font-locking for λ.
9821 (Bug#13975)
9822
9823 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9826 token before point (bug#13942).
9827
9828 2013-03-16 Leo Liu <sdl.web@gmail.com>
9829
9830 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9831
9832 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9833
9834 * startup.el (command-line-normalize-file-name): Fix handling of
9835 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9836 <xfq.free@gmail.com> in
9837 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9838
9839 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9840
9841 Sync with Tramp 2.2.7.
9842
9843 * net/trampver.el: Update release number.
9844
9845 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9846
9847 * doc-view.el: Fix bug#13887.
9848 (doc-view-insert-image): Don't modify overlay associated to
9849 non-live windows, and implement horizontal centering of image in
9850 case it's smaller than the window.
9851 (doc-view-new-window-function): Force redisplay of new windows on
9852 doc-view buffers.
9853
9854 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9855
9856 * saveplace.el (save-place-alist-to-file): Don't sort
9857 `save-place-alist', just pretty-print it (bug#13882).
9858
9859 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9860
9861 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9862 Check whether `default-file-name-coding-system' is bound.
9863 It isn't in XEmacs.
9864
9865 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9868 backquotes for `obsolete' (bug#13929).
9869
9870 * international/mule.el (find-auto-coding): Include file name in
9871 obsolescence warning (bug#13922).
9872
9873 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9874
9875 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9876 for CFEngine 3-specific indentation.
9877 (cfengine3-indent-line): Use it. Fix up category regex.
9878 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9879
9880 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * type-break.el (type-break-file-name):
9883 * textmodes/remember.el (remember-data-file):
9884 * strokes.el (strokes-file):
9885 * shadowfile.el (shadow-initialize):
9886 * saveplace.el (save-place-file):
9887 * ps-bdf.el (bdf-cache-file):
9888 * progmodes/idlwave.el (idlwave-config-directory):
9889 * net/quickurl.el (quickurl-url-file):
9890 * international/kkc.el (kkc-init-file-name):
9891 * ido.el (ido-save-directory-list-file):
9892 * emulation/viper.el (viper-custom-file-name):
9893 * emulation/vip.el (vip-startup-file):
9894 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9895 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9896
9897 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9898
9899 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9900 * language/thai-word.el: Switch to UTF-8.
9901
9902 See ChangeLog.16 for earlier changes.
9903
9904 ;; Local Variables:
9905 ;; coding: utf-8
9906 ;; End:
9907
9908 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9909
9910 This file is part of GNU Emacs.
9911
9912 GNU Emacs is free software: you can redistribute it and/or modify
9913 it under the terms of the GNU General Public License as published by
9914 the Free Software Foundation, either version 3 of the License, or
9915 (at your option) any later version.
9916
9917 GNU Emacs is distributed in the hope that it will be useful,
9918 but WITHOUT ANY WARRANTY; without even the implied warranty of
9919 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9920 GNU General Public License for more details.
9921
9922 You should have received a copy of the GNU General Public License
9923 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.